:root {
  --bg: #f6f7fb;
  --bg-2: #ffffff;
  --ink: #0f172a;
  --muted: #5b6475;
  --accent: #7c3aed;
  --accent-2: #06b6d4;
  --accent-3: #f59e0b;
  --glass: rgba(255, 255, 255, 0.65);
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
  --radius: 20px;
  --radius-sm: 14px;
  --border: rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--ink);
  background: radial-gradient(1200px 600px at 10% -10%, #e0e7ff 0%, transparent 55%),
              radial-gradient(900px 450px at 100% 0%, #cffafe 0%, transparent 50%),
              var(--bg);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 40px 0;
}


.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.12);
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.35);
}

.btn.ghost {
  background: rgba(15, 23, 42, 0.03);
  color: var(--ink);
  border-color: rgba(15, 23, 42, 0.1);
}

.btn.call {
  background: #22c55e;
  color: #0f172a;
  border-color: transparent;
  box-shadow: 0 12px 24px rgba(34, 197, 94, 0.25);
}

.btn.call:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 16px 30px rgba(34, 197, 94, 0.35);
}

.btn:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.2);
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(246, 247, 251, 0.8);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.3px;
}

.nav-links {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: var(--muted);
}

.hero {
  padding: 72px 0 48px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.hero h1 {
  font-size: clamp(32px, 4.1vw, 54px);
  margin: 14px 0 10px;
  letter-spacing: -0.6px;
}

.hero p {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.6;
}

section h2 {
  font-size: clamp(22px, 2.4vw, 32px);
  margin: 0 0 12px;
  letter-spacing: -0.3px;
}

section h3 {
  font-size: 18px;
  margin: 0 0 10px;
  letter-spacing: -0.2px;
}

.nowrap { white-space: nowrap; }

.hero-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-name {
  margin-bottom: 14px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--ink);
  text-align: center;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.16), rgba(6, 182, 212, 0.16));
  opacity: 0.6;
  pointer-events: none;
}

.hero-photo {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-photo img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.stat {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.stat .value {
  font-size: 22px;
  font-weight: 700;
}

.stat .label {
  color: var(--muted);
  font-size: 13px;
}

.about-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.feature-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 24px;
  box-shadow: var(--shadow);
}

.section-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 24px;
  box-shadow: var(--shadow);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 20px;
}

.service {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border 0.25s ease;
}

.service::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(6, 182, 212, 0.12));
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.service:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
  border-color: rgba(124, 58, 237, 0.4);
}

.service:hover::before {
  opacity: 1;
}

.service .meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.service .icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(124, 58, 237, 0.12);
  color: var(--accent);
  font-weight: 700;
}

.service .title {
  font-weight: 600;
}

.service .desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.results {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
}

.results .stat {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.results-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: center;
}

.donut-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
}

.donut-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
}

.donut-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.35);
  border-color: rgba(167, 139, 250, 0.45);
}

.donut-card:hover .donut {
  transform: scale(1.02);
}

.donut {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: conic-gradient(#a78bfa 0 22.68deg, #6366f1 22.68deg 360deg);
  position: relative;
  transition: transform 0.2s ease;
}

.donut::after {
  content: "";
  position: absolute;
  inset: 14px;
  background: #0f172a;
  border-radius: 50%;
}

.donut-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  z-index: 1;
}

.donut-label {
  font-size: 13px;
  color: #cbd5f5;
}

.donut-value {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}

.donut-legend {
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: #cbd5f5;
  text-align: center;
}

.legend-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
}

.dot-a { background: #a78bfa; }
.dot-b { background: #6366f1; }

.legend-val {
  color: #fff;
  font-weight: 600;
}

.bar {
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  margin-top: 10px;
}

.bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #22d3ee, #a78bfa);
  width: 0;
  transition: width 1.2s ease;
}

.portfolio-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.portfolio-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: #111827;
  color: #fff;
  min-height: 200px;
}

.portfolio-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio-card .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 18px;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.1));
  opacity: 0.92;
  transition: opacity 0.3s ease;
}

.portfolio-card:hover img {
  transform: scale(1.08);
}

.portfolio-card:hover .overlay {
  opacity: 1;
}

.embed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.embed-card {
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  padding: 16px;
  box-shadow: var(--shadow);
  min-height: 240px;
  position: relative;
}

.embed-card iframe {
  width: 100%;
  min-height: 430px;
  border: none;
  overflow: hidden;
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #111827;
  color: #fff;
  padding: 16px 22px;
  border-radius: 16px;
  display: flex;
  gap: 16px;
  align-items: center;
  z-index: 50;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.3);
}

.cookie-banner button {
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 600;
  cursor: pointer;
}

.cookie-banner .accept {
  background: #22c55e;
  color: #0f172a;
}

.cookie-banner .decline {
  background: #ef4444;
  color: #fff;
}

.tools-scroll {
  display: flex;
  gap: 20px;
  overflow: hidden;
  position: relative;
}

.tools-track {
  display: flex;
  gap: 20px;
  align-items: center;
  animation: marquee 30s linear infinite;
}

.tool {
  flex: 0 0 auto;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 12px 16px;
  min-width: 160px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease;
}

.tool img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.tool:hover {
  transform: scale(1.05);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  align-items: center;
}

form {
  display: grid;
  gap: 14px;
}

input, textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  font-family: inherit;
  font-size: 14px;
}

textarea { min-height: 130px; resize: vertical; }

footer {
  background: #0f172a;
  color: #fff;
  padding: 50px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  align-items: center;
  text-align: center;
}

.floating-whatsapp {
  position: fixed;
  bottom: 26px;
  right: 26px;
  background: #25d366;
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.35);
  font-size: 24px;
  z-index: 40;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .services-grid { grid-template-columns: repeat(2, minmax(220px, 1fr)); }
  .donut-grid { grid-template-columns: repeat(2, minmax(220px, 1fr)); }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .donut-grid { grid-template-columns: 1fr; }
  .nowrap { white-space: normal; }
  .service {
    cursor: pointer;
  }
  .service .desc {
    display: none;
  }
  .service.active .desc {
    display: block;
    margin-top: 6px;
  }
}
