/* =========================================================
   WebSants — Landing Page Premium v2
   Design System & Styles
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --purple: #7C3AED;
  --purple-dark: #5B21B6;
  --blue: #2563EB;
  --bg: #050505;
  --bg-alt: #0a0a0f;
  --card: #111827;
  --card-2: #0f1626;
  --text: #FFFFFF;
  --text-dim: #9CA3AF;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 20px;
  --radius-lg: 24px;
  --radius-sm: 14px;
  --grad: linear-gradient(135deg, var(--purple) 0%, var(--blue) 100%);
  --grad-soft: linear-gradient(135deg, rgba(124,58,237,0.18), rgba(37,99,235,0.18));
  --shadow-glow: 0 0 60px rgba(124, 58, 237, 0.25);
  --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.5);
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-head: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-weight: 400; line-height: 1.6;
  overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; }
.section { padding: 120px 0; position: relative; }
.section-alt { background: var(--bg-alt); }

/* =========================================================
   Seções — combinações variadas de roxo/azul/preto/branco
   (cada seção tem uma personalidade visual distinta)
   ========================================================= */

/* ---- 1. PROBLEMA/SOLUÇÃO (#por-que) - preto + colunas de cor ----
   Duas colunas, cada uma com sua cor forte: azul (problema) e roxo (solução).
   Fundo preto neutro faz as duas cores conversarem com clareza. */
.section--purple { background: var(--bg); position: relative; }
.section--purple::after { content: ""; position: absolute; width: 620px; height: 620px; border-radius: 50%;
  pointer-events: none; z-index: 0; top: -220px; left: -220px;
  background: radial-gradient(circle, rgba(124,58,237,0.16), transparent 70%); }
.section--purple > .container { border-top: 1px solid rgba(124,58,237,0.16); padding-top: 70px; }

/* Cada coluna vira um painel com sua própria cor (duas metades que conversam) */
.section--purple .problem-col {
  background: linear-gradient(160deg, rgba(37,99,235,0.12), rgba(37,99,235,0.02));
  border: 1px solid rgba(37,99,235,0.30);
  border-radius: var(--radius-lg); padding: 36px;
}
.section--purple .solution-col {
  background: linear-gradient(160deg, rgba(124,58,237,0.14), rgba(124,58,237,0.03));
  border: 1px solid rgba(124,58,237,0.30);
  border-radius: var(--radius-lg); padding: 36px; border-left-width: 1px;
}

/* ---- 2. SERVIÇOS (#servicos) - preto puro + rede sutil ----
   Sem tint forte; os cards coloridos carregam a cor. Destaque vem do conteúdo. */
.section--blue { background: var(--bg-alt); position: relative; }
.section--blue::after { content: ""; position: absolute; width: 640px; height: 640px; border-radius: 50%;
  pointer-events: none; z-index: 0; top: -240px; right: -240px;
  background: radial-gradient(circle, rgba(37,99,235,0.10), transparent 70%); }
.section--blue > .container { border-top: 1px solid rgba(37,99,235,0.14); padding-top: 70px; }

/* ---- 3. PORTFÓLIO (#portfolio) - carta preta com moldura colorida ----
   Cards com borda de cor (purple/azul) e hover que acende a cor da tag correspondente. */
.section--portfolio { background: #07070d; position: relative; }

/* ---- 4. CASES (#cases) - gradiente azul→preto, acento roxo ----
   Bloco de case em gradiente sutil com os destaques em roxo. */
.section--cases { background: linear-gradient(180deg, #060a14 0%, var(--bg-alt) 100%); }

/* ---- 5. POR QUE NÓS (#por-que-nos) - cards texturizados ----
   Grid 2x2: cards roxos mais escuros, cards azuis levemente claros. */
.section--why { }

/* ---- 6. CTA (#contact) - fundo branco/preto com gradiente forte ----
   Destaque final: o block CTA carrega o gradiente roxo→azul bem visível. */
.section--cta { background: var(--bg); }
.section--cta::before { background-image: none; }

/* =========================================================
   SEÇÃO CLARA (branca) — contraste forte nas seções
   #servicos e #por-que-nos
   ========================================================= */
.section--light {
  background: #FFFFFF;
  color: #111827;
  position: relative;
}
.section--light::before {
  background-image:
    linear-gradient(rgba(17,24,39,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,24,39,0.04) 1px, transparent 1px);
}
.section--light .section-title { color: #0b1220; }
.section--light .section-desc,
.section--light .service-card p,
.section--light .why-card p { color: #4B5563; }
.section--light .eyebrow { color: var(--purple); }
.section--light .eyebrow--blue { color: var(--blue); }
.section--light .btn-ghost {
  background: rgba(17,24,39,0.05); border-color: rgba(17,24,39,0.15); color: #111827;
}
.section--light .btn-ghost:hover { border-color: rgba(124,58,237,0.4); background: rgba(124,58,237,0.08); }

/* Serviços em branco: cards claros com acento roxo/azul */
.section--light .service-card {
  background: #F7F8FC;
  border: 1px solid rgba(17,24,39,0.08);
  box-shadow: 0 14px 36px rgba(17,24,39,0.08);
}
.section--light .service-card--purple:hover { border-color: rgba(124,58,237,0.45); box-shadow: 0 20px 44px rgba(124,58,237,0.2); }
.section--light .service-card--blue:hover { border-color: rgba(37,99,235,0.45); box-shadow: 0 20px 44px rgba(37,99,235,0.2); }
.section--light .service-card-visual { border: 1px solid rgba(17,24,39,0.08); }
.section--light .icon-box--purple { background: rgba(124,58,237,0.12); border-color: rgba(124,58,237,0.3); color: var(--purple); box-shadow: none; }
.section--light .icon-box--blue { background: rgba(37,99,235,0.12); border-color: rgba(37,99,235,0.3); color: var(--blue); box-shadow: none; }

/* Por que nós em branco: cards texturizados roxo/azul suaves */
.section--light .why-grid { grid-template-columns: repeat(4, 1fr); }
.section--light .why-card {
  background: #F7F8FC; border: 1px solid rgba(17,24,39,0.08);
  box-shadow: 0 14px 36px rgba(17,24,39,0.07);
}
.section--light .why-card h3 { color: #0b1220; }
.section--light .why-card--purple:hover { border-color: rgba(124,58,237,0.4); box-shadow: 0 20px 40px rgba(124,58,237,0.18); }
.section--light .why-card--blue:hover { border-color: rgba(37,99,235,0.4); box-shadow: 0 20px 40px rgba(37,99,235,0.18); }

/* Por que um site (claro): dois painéis — azul (problema) e roxo (solução) */
.section--solutions .problem-grid { gap: 28px; }
.section--solutions .problem-col {
  background: linear-gradient(160deg, rgba(37,99,235,0.10), rgba(37,99,235,0.02));
  border: 1px solid rgba(37,99,235,0.30);
  border-radius: var(--radius-lg); padding: 32px;
}
.section--solutions .solution-col {
  background: linear-gradient(160deg, rgba(124,58,237,0.12), rgba(124,58,237,0.02));
  border: 1px solid rgba(124,58,237,0.30);
  border-radius: var(--radius-lg); padding: 32px; border-left-width: 1px;
}
.section--solutions .problem-col h2, .section--solutions .solution-col h2 { color: #0b1220; }
.section--solutions .btn-primary:hover { transform: translateY(-2px); }

/* Trabalhos (claro): cards de portfólio claros com moldura colorida */
.section--works .port-card {
  background: #F7F8FC; border: 1px solid rgba(17,24,39,0.08);
  box-shadow: 0 14px 36px rgba(17,24,39,0.07);
}
.section--works .port-card h3 { color: #0b1220; }
.section--works .port-info p { color: #374151; line-height: 1.55; }
.section--works .tag--blue { background: rgba(37,99,235,0.12); border-color: rgba(37,99,235,0.35); color: #1d4ed8; }
.section--works .tag--purple { background: rgba(124,58,237,0.12); border-color: rgba(124,58,237,0.35); color: #6d28d9; }
.section--works .port-screen { border: 1px solid rgba(17,24,39,0.10); }
.section--works .port-card:nth-child(odd) { box-shadow: inset 0 0 0 1px rgba(124,58,237,0.35), 0 14px 36px rgba(17,24,39,0.07); }
.section--works .port-card:nth-child(even) { box-shadow: inset 0 0 0 1px rgba(37,99,235,0.35), 0 14px 36px rgba(17,24,39,0.07); }
.section--works .port-card:hover { border-color: rgba(124,58,237,0.4); box-shadow: inset 0 0 0 1px rgba(124,58,237,0.4), 0 20px 44px rgba(124,58,237,0.18); }
.section--works .link-arrow { color: var(--purple); }

/* Decorações específicas por personalidade */

/* PORTFÓLIO — moldura de cor em cada card alternando purple/azul,
   com hover que acende a cor da tag correspondente */
.section--portfolio { background-image:
  radial-gradient(circle at 85% 10%, rgba(124,58,237,0.12), transparent 45%),
  radial-gradient(circle at 10% 90%, rgba(37,99,235,0.12), transparent 45%); }
.section--portfolio .port-card { border-color: transparent; background: linear-gradient(150deg,#101726,#0b0f1a); }
.section--portfolio .port-card:nth-child(odd) { box-shadow: inset 0 0 0 1px rgba(124,58,237,0.35); }
.section--portfolio .port-card:nth-child(even) { box-shadow: inset 0 0 0 1px rgba(37,99,235,0.35); }
.section--portfolio .port-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-card), 0 0 34px rgba(124,58,237,0.25); }

/* CASES — painel em gradiente sutil azul→roxo com acento roxo nos checks */
.section--cases .case-block { background: linear-gradient(135deg, rgba(37,99,235,0.10) 0%, #0d0b1c 45%, rgba(124,58,237,0.10) 100%); }
.section--cases .case-block::after { content: ""; position: absolute; inset: 0; border: 1px solid transparent;
  border-radius: var(--radius-lg); background: linear-gradient(90deg,var(--blue),var(--purple)) border-box; -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }

/* POR QUE NÓS — grid 2x2 alternando cards roxos mais escuros e azuis mais claros */
.section--why { }
.section--why .why-grid { grid-template-columns: repeat(4, 1fr); }
.section--why .why-card--purple { background: #140d26; border-color: rgba(124,58,237,0.4); }
.section--why .why-card--blue { background: #0a1224; border-color: rgba(37,99,235,0.4); }

/* CTA — bloco em preto premium com brilho de gradiente e botão destacado */
.section--cta .cta-block { background: linear-gradient(160deg,#0b0b13,#050505 55%); border-color: transparent; }
.section--cta .cta-glow { opacity: 1; }
.section--cta .cta-block::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); pointer-events: none;
  background: linear-gradient(45deg, rgba(124,58,237,0.5), rgba(37,99,235,0.5)) border-box; -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: glowBorder 6s ease-in-out infinite; padding: 1px; }
@keyframes glowBorder { 0%,100% { opacity: 0.55; } 50% { opacity: 1; } }

/* faint grid backdrop (todas as seções) */
.section::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none; z-index: 0;
}
.section > .container { position: relative; z-index: 1; }
[id] { scroll-margin-top: 90px; }

/* ---------- Typography ---------- */
.gradient-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-block; font-family: var(--font-head);
  font-size: 13px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--purple); margin-bottom: 16px; }
.eyebrow--blue { color: var(--blue); }
.eyebrow--purple { color: var(--purple); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-title { font-size: clamp(28px, 4vw, 46px); }
.section-desc { color: var(--text-dim); margin-top: 18px; font-size: 18px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600;
  border-radius: 999px; padding: 14px 26px; font-size: 15px;
  border: 1px solid transparent; transition: all 0.35s var(--ease);
  position: relative; white-space: nowrap; will-change: transform; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 17px 34px; font-size: 16px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 30px rgba(124, 58, 237, 0.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 44px rgba(124, 58, 237, 0.6), 0 0 0 1px rgba(255,255,255,0.1) inset; }
.btn-ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--border); color: var(--text); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: rgba(124, 58, 237, 0.35); background: var(--grad-soft); transform: translateY(-2px); }

/* ---------- Navbar ---------- */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: all 0.4s var(--ease); padding: 18px 0; }
.navbar.scrolled { background: rgba(5, 5, 5, 0.7); backdrop-filter: blur(18px); border-bottom: 1px solid var(--border); padding: 12px 0; }

/* Header claro quando sobre uma seção branca */
.navbar.navbar--light { background: rgba(255, 255, 255, 0.85); border-bottom: 1px solid rgba(17,24,39,0.08); backdrop-filter: blur(18px); }
.navbar.navbar--light .nav-links a { color: #4B5563; }
.navbar.navbar--light .nav-links a:hover { color: var(--purple); }
.navbar.navbar--light .nav-toggle span { background: #111827; }
.navbar.navbar--light.menu-open .nav-links { background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid rgba(17,24,39,0.08); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 19px; }
.brand-logo { height: 32px; width: auto; max-width: 160px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(124,58,237,0.4)); transition: filter 0.3s; }
.brand:hover .brand-logo { filter: drop-shadow(0 0 16px rgba(124,58,237,0.7)); }
.nav-links { display: flex; gap: 30px; }
.nav-links a { color: var(--text-dim); font-size: 15px; font-weight: 500; transition: color 0.25s; }
.nav-links a:hover { color: var(--text); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden; padding: 120px 0 80px; }
.hero-glow { position: absolute; width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.35) 0%, rgba(37,99,235,0.18) 35%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -55%); filter: blur(60px); pointer-events: none;
  animation: glowPulse 8s ease-in-out infinite; }
@keyframes glowPulse { 0%,100% { opacity: 0.8; transform: translate(-50%, -55%) scale(1); } 50% { opacity: 1; transform: translate(-50%, -55%) scale(1.08); } }
.hero-particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-inner { position: relative; z-index: 2; max-width: 880px; }
.badge { display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border); backdrop-filter: blur(10px);
  font-size: 14px; font-weight: 500; margin-bottom: 28px; }
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--purple); box-shadow: 0 0 12px var(--purple); animation: blink 2s infinite; }
@keyframes blink { 50% { opacity: 0.3; } }
.hero-title { font-size: clamp(34px, 6vw, 64px); font-weight: 700; letter-spacing: -0.03em; }
.hero-subtitle { color: var(--text-dim); font-size: clamp(16px, 2vw, 20px); max-width: 680px; margin: 24px auto 0; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 38px; }
.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 24px; height: 40px;
  border: 1px solid var(--border); border-radius: 14px; z-index: 2; }
.scroll-hint span { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px;
  border-radius: 4px; background: var(--purple); animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; top: 8px; } 40% { opacity: 1; } 80% { opacity: 0; top: 22px; } 100% { opacity: 0; } }

/* ---------- Icon box ---------- */
.icon-box { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px; }
.icon-box--purple { background: rgba(124,58,237,0.15); border: 1px solid rgba(124,58,237,0.3); color: #c4b5fd; box-shadow: inset 0 0 20px rgba(124,58,237,0.15); }
.icon-box--blue { background: rgba(37,99,235,0.15); border: 1px solid rgba(37,99,235,0.3); color: #93c5fd; box-shadow: inset 0 0 20px rgba(37,99,235,0.15); }

/* ---------- Problem / Solution ---------- */
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.problem-col, .solution-col { padding: 40px 0; }
.solution-col { padding-left: 40px; border-left: 2px solid var(--border); }
.problem-col .section-desc, .solution-col .section-desc { font-size: 17px; }

/* ---------- Services Grid ---------- */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s; position: relative; overflow: hidden; }
/* barra de acento de cor no topo do card */
.service-card::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.service-card--purple::after { background: linear-gradient(90deg, var(--purple), var(--blue)); }
.service-card--blue::after { background: linear-gradient(90deg, var(--blue), var(--purple)); }
.service-card::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s; }
.service-card--purple::before { background: radial-gradient(circle at 50% 0%, rgba(124,58,237,0.14), transparent 60%); }
.service-card--blue::before { background: radial-gradient(circle at 50% 0%, rgba(37,99,235,0.14), transparent 60%); }
.service-card:hover { transform: translateY(-8px); }
.service-card--purple:hover { border-color: rgba(124,58,237,0.45); box-shadow: var(--shadow-card), 0 0 40px rgba(124,58,237,0.18); }
.service-card--blue:hover { border-color: rgba(37,99,235,0.45); box-shadow: var(--shadow-card), 0 0 40px rgba(37,99,235,0.18); }
.service-card:hover::before { opacity: 1; }
.service-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; position: relative; }
.service-card-visual { width: 150px; height: 100px; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); flex-shrink: 0; }
.service-card-img { width: 100%; height: 100%; object-fit: cover; }
.service-card h3 { font-size: 22px; margin-bottom: 10px; position: relative; }
.service-card p { color: var(--text-dim); font-size: 16px; line-height: 1.6; position: relative; }

/* ---------- Portfolio ---------- */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.port-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 22px; transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s; }
.port-card:hover { transform: translateY(-8px); border-color: var(--border); box-shadow: var(--shadow-card), var(--shadow-glow); }
.port-screen { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: linear-gradient(160deg,#0b0f1a,#0e1422); aspect-ratio: 16/11; position: relative; }
.port-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.port-card:hover .port-img { transform: scale(1.05); }
.port-info { padding-top: 20px; }
.port-info h3 { font-size: 20px; margin-bottom: 8px; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; }
.tag--purple { background: rgba(124,58,237,0.15); border: 1px solid rgba(124,58,237,0.35); color: #c4b5fd; }
.tag--blue { background: rgba(37,99,235,0.15); border: 1px solid rgba(37,99,235,0.35); color: #93c5fd; }
.port-info p { color: var(--text-dim); font-size: 15px; margin-bottom: 16px; }
.link-arrow { color: #c4b5fd; font-weight: 600; font-size: 15px; display: inline-flex; gap: 8px; transition: gap 0.3s; }
.link-arrow:hover { gap: 14px; }

/* ---------- Cases ---------- */
.case-block { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 48px; position: relative; overflow: hidden; }
.media-img { width: 100%; aspect-ratio: 16/11; object-fit: cover; border-radius: var(--radius-lg);
  border: 1px solid var(--border); box-shadow: var(--shadow-card), var(--shadow-glow); transition: transform 0.5s var(--ease); }
.case-visual:hover .media-img, .cta-visual:hover .media-img { transform: scale(1.02); }
.case-content h2 { font-size: clamp(26px,3.4vw,40px); margin-bottom: 16px; }
.case-content p { color: var(--text-dim); font-size: 17px; margin-bottom: 24px; }
.result-list { display: grid; gap: 14px; }
.result-list li { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.check { font-weight: 700; }
.check--purple { color: var(--purple); }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.why-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s; position: relative; overflow: hidden; }
.why-card h3 { font-size: 20px; margin-bottom: 10px; }
.why-card p { color: var(--text-dim); font-size: 15px; }
.why-card--purple:hover { transform: translateY(-6px); border-color: rgba(124,58,237,0.4); box-shadow: var(--shadow-card); }
.why-card--blue:hover { transform: translateY(-6px); border-color: rgba(37,99,235,0.4); box-shadow: var(--shadow-card); }

/* ---------- CTA ---------- */
.cta-block { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
  background: var(--card-2); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 56px; position: relative; overflow: hidden; }
.cta-glow { position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.4), rgba(37,99,235,0.2) 40%, transparent 70%);
  top: -40%; left: -10%; filter: blur(50px); animation: glowPulse 7s infinite; }
.cta-content { position: relative; z-index: 2; }
.cta-title { font-size: clamp(26px,3.4vw,40px); margin-bottom: 16px; }
.cta-content p { color: var(--text-dim); font-size: 18px; margin-bottom: 30px; max-width: 460px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 70px 0 30px; background: var(--bg); }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand p { color: var(--text-dim); font-size: 15px; margin-top: 16px; max-width: 360px; }
.footer-col h4 { font-size: 15px; margin-bottom: 18px; color: var(--text); }
.footer-col a { display: block; color: var(--text-dim); font-size: 15px; margin-bottom: 12px; transition: color 0.25s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 24px; color: var(--text-dim); font-size: 14px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-reveal="left"] { transform: translateX(-40px); }
.reveal[data-reveal="right"] { transform: translateX(40px); }
.reveal[data-reveal="scale"] { transform: scale(0.94); }
.reveal.in[data-reveal="left"], .reveal.in[data-reveal="right"] { transform: none; }
.reveal.in[data-reveal="scale"] { transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200;
  background: var(--grad); transform: scaleX(0); transform-origin: left; box-shadow: 0 0 12px rgba(124, 58, 237, 0.6); }

/* ---------- Cursor glow ---------- */
.cursor-glow { position: fixed; top: 0; left: 0; width: 28px; height: 28px; margin: -14px 0 0 -14px;
  border-radius: 50%; pointer-events: none; z-index: 9999;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.55), rgba(37, 99, 235, 0.25) 45%, transparent 70%);
  mix-blend-mode: screen; opacity: 0; transition: opacity 0.3s; }
.cursor-glow.visible { opacity: 1; }
@media (pointer: coarse) { .cursor-glow { display: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .cards-grid, .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .problem-grid { grid-template-columns: 1fr; gap: 0; }
  .solution-col { padding-left: 0; border-left: 0; border-top: 2px solid var(--border); padding-top: 40px; margin-top: 10px; }
  .case-block, .cta-block { grid-template-columns: 1fr; padding: 36px; }
  .cta-visual { order: -1; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .services-grid, .why-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .section { padding: 80px 0; }
  .nav-links, .navbar .btn { display: none; }
  .nav-toggle { display: flex; }
  .navbar.menu-open .nav-links { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0;
    background: rgba(5,5,5,0.96); backdrop-filter: blur(18px); padding: 24px; gap: 20px; border-bottom: 1px solid var(--border); }
  .portfolio-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .cta-block { padding: 32px 24px; }
  .service-card-top { flex-direction: column; gap: 16px; }
  .service-card-visual { width: 100%; height: 160px; }
}
