/* ============================================
   AIgency — Dark Edition (aigency.co.in vibe)
   ============================================ */

:root {
  --bg: #09090b;
  --bg-2: #0f0f14;
  --bg-3: #18181f;
  --line: rgba(255,255,255,0.07);
  --line-2: rgba(255,255,255,0.13);
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --dim: #71717a;
  --accent: #818cf8;        /* indigo-violet */
  --accent-2: #c084fc;      /* secondary purple */
  --accent-soft: rgba(129,140,248,0.12);
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  word-break: keep-all;
  overflow-x: hidden;
  line-height: 1.6;
  position: relative;
}

/* Particle Canvas Background */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Ensure all content sits above canvas */
#site-nav { z-index: 50; }
main, footer, .modal-overlay { position: relative; z-index: 1; }

/* film grain overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.9'/></svg>");
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

::selection { background: var(--accent); color: #000; }

/* ============================================
   BRAND LOGO — Varino-style condensed display
   (Varino is a paid font; using Big Shoulders Display
    as a free alternative with the same condensed,
    geometric, heavy-weight character.)
   ============================================ */
.brand-logo {
  font-family: 'Varino', 'Big Shoulders Display', 'Bebas Neue', 'Impact', sans-serif;
  font-weight: normal;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}
.brand-logo span {
  font-family: inherit !important;
  font-style: normal !important;
  font-weight: normal !important;
}
.footer-logo.brand-logo {
  font-size: 2rem;
  letter-spacing: 0.04em;
}

/* ============================================
   NAV
   ============================================ */
#site-nav {
  background: rgba(10,10,10,0.6);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
#site-nav.scrolled {
  background: rgba(10,10,10,0.85);
  border-bottom-color: var(--line);
}

.nav-link {
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color .2s;
  position: relative;
}
.nav-link:hover { color: var(--text); }
.nav-link.active { color: var(--text); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.nav-cta {
  background: var(--accent);
  color: #000;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.5rem 1.125rem;
  border-radius: 999px;
  transition: transform .15s ease, box-shadow .2s ease;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(129,140,248,0.4);
}

#mobile-menu {
  background: rgba(10,10,10,0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px);
}
.mobile-nav-link {
  color: var(--muted) !important;
}
.mobile-nav-link:hover {
  color: var(--text) !important;
  background: rgba(255,255,255,0.04) !important;
}
body.menu-open { overflow: hidden; }

#menu-toggle {
  background: rgba(255,255,255,0.04) !important;
  border-color: var(--line) !important;
  color: var(--text) !important;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(129,140,248,0.25);
  padding: 0.4rem 0.875rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.eyebrow-num {
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  font-size: 0.75rem;
  color: var(--dim);
  letter-spacing: 0.05em;
}

h2.display, .h2-display {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--text);
}

/* ============================================
   HERO
   ============================================ */
#hero {
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute;
  top: 20%; left: 50%;
  width: 800px; height: 800px;
  transform: translate(-50%, -30%);
  background: radial-gradient(circle, rgba(129,140,248,0.10) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
#hero > * { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(129,140,248,0.25);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 2rem;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero-h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: var(--text);
}
.hero-h1 .accent {
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
  font-family: inherit;
}
.hero-h1 .outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--text);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  color: var(--muted);
  line-height: 1.65;
  max-width: 520px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #000;
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 1rem 1.75rem;
  border-radius: 999px;
  transition: transform .2s ease, box-shadow .2s ease;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(129,140,248,0.5);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  padding: 1rem 1.5rem;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  transition: gap .2s ease, border-color .2s, background .2s;
}
.btn-ghost:hover {
  gap: 0.875rem;
  border-color: var(--text);
  background: rgba(255,255,255,0.04);
}

.trust-line {
  font-size: 0.8125rem;
  color: var(--dim);
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-wrap: wrap;
}
.trust-line span + span::before {
  content: '·';
  margin-right: 0.625rem;
  color: #3f3f46;
}

/* Hero visual card — terminal */
.hero-visual {
  background: linear-gradient(180deg, #141414 0%, #0d0d0d 100%);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.02) inset;
}
.hero-visual::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(129,140,248,0.18) 0%, transparent 65%);
  pointer-events: none;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.terminal-dot { width: 11px; height: 11px; border-radius: 50%; }

.terminal-code {
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  font-size: 0.75rem;
  line-height: 1.85;
  color: #9ca3af;
}
.terminal-code .t-green { color: #84cc16; }
.terminal-code .t-orange { color: var(--accent); }
.terminal-code .t-blue { color: #60a5fa; }
.terminal-code .t-white { color: #f1f5f9; }
.terminal-code .t-comment { color: #52525b; }

.terminal-cursor {
  display: inline-block;
  width: 8px; height: 14px;
  background: var(--accent);
  border-radius: 1px;
  animation: blink 1.1s step-end infinite;
  vertical-align: text-bottom;
}
@keyframes blink {
  0%,100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
  margin-top: 1.25rem;
}
.hero-metric-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 0.875rem;
  padding: 0.875rem 1rem;
}
.hero-metric-val {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
}
.hero-metric-val .accent { color: var(--accent); }
.hero-metric-label {
  font-size: 0.6875rem;
  color: var(--dim);
  margin-top: 0.375rem;
  letter-spacing: 0.02em;
}

/* ============================================
   MARQUEE STRIP — clients/tech logos placeholder
   ============================================ */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.5rem 0;
  overflow: hidden;
  position: relative;
  background: var(--bg-2);
}
.marquee-track {
  display: flex;
  gap: 4rem;
  animation: marquee 40s linear infinite;
  width: max-content;
}
.marquee-item {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--dim);
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}
.marquee-item iconify-icon { color: var(--accent); font-size: 1.25rem; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   METRICS BAR
   ============================================ */
#metrics-bar {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.metric-num {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.04em;
  line-height: 1;
  font-family: inherit;
}
.metric-num .accent { color: var(--accent); }
.metric-label {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 0.5rem;
  letter-spacing: 0.01em;
}
.metric-divider {
  width: 1px; height: 50px;
  background: var(--line);
}

/* ============================================
   SERVICES — Bento
   ============================================ */
.service-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  padding: 2rem;
  transition: border-color .3s ease, transform .3s ease, background .3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mx,50%) var(--my,0%), rgba(129,140,248,0.06), transparent 40%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.service-card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.service-card:hover::after { opacity: 1; }

.service-card-icon {
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
  color: var(--text);
}

.service-card.featured {
  background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
  border-color: rgba(129,140,248,0.2);
}
.service-card.featured .service-card-icon {
  background: var(--accent-soft);
  border-color: rgba(129,140,248,0.3);
  color: var(--accent);
}
.service-card.featured .service-problem { color: var(--accent); }

.service-problem {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.service-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.875rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.service-card.featured .service-title { font-size: 1.625rem; }

.service-desc {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
}
.service-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  color: var(--muted);
}
.service-card.featured .service-tag {
  border-color: rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}
.bento-tall { grid-row: span 2; }

@media (max-width: 1024px) {
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .bento-tall { grid-row: span 1; }
}
@media (max-width: 640px) {
  .bento-grid { grid-template-columns: 1fr; }
}

/* ============================================
   PROCESS
   ============================================ */
#process { background: var(--bg); }

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 1024px) {
  .process-steps-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .process-steps-grid { grid-template-columns: 1fr 1fr; }
}

.process-step {
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--line);
  transition: background .3s ease;
}
.process-step:last-child { border-right: none; }
.process-step:hover { background: rgba(255,255,255,0.02); }

@media (max-width: 1024px) {
  .process-step:nth-child(3n) { border-right: none; }
  .process-step:not(:nth-last-child(-n+3)) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .process-step:nth-child(3n) { border-right: 1px solid var(--line); }
  .process-step:nth-child(2n) { border-right: none; }
}

.process-number {
  font-family: inherit;
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 1rem;
  font-style: italic;
}

.process-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.875rem;
  letter-spacing: -0.01em;
}

.process-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.process-bullets li {
  font-size: 0.8125rem;
  color: var(--muted);
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}
.process-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.5rem;
  width: 8px; height: 1px;
  background: var(--dim);
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
#comparison { background: var(--bg-2); }

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--line);
}

.comparison-table thead th {
  padding: 1.25rem 1.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--bg-3);
}
.comparison-table thead th:first-child { color: var(--dim); text-align: left; }
.comparison-table thead th.col-others { color: var(--dim); text-align: center; }
.comparison-table thead th.col-us {
  background: var(--accent);
  color: #000;
  text-align: center;
}

.comparison-table tbody td {
  padding: 1.125rem 1.5rem;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--muted);
}
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table tbody td:first-child {
  font-weight: 600;
  color: var(--text);
}
.comparison-table tbody td.col-others-cell {
  text-align: center;
  color: var(--dim);
}
.comparison-table tbody td.col-us-cell {
  text-align: center;
  color: var(--text);
  font-weight: 500;
  background: rgba(129,140,248,0.03);
}

.check-icon { color: var(--accent); font-size: 1.375rem; }
.x-icon { color: #3f3f46; font-size: 1.375rem; }

/* ============================================
   TECH STACK
   ============================================ */
#techstack { background: var(--bg); }

.tech-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}
.tech-row:last-child { border-bottom: none; }
.tech-row:first-child { border-top: 1px solid var(--line); }

.tech-group-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  white-space: nowrap;
  padding-top: 0.5rem;
}

.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tech-pill {
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.4rem 0.875rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--text);
  transition: all .2s ease;
  cursor: default;
  white-space: nowrap;
}
.tech-pill:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #000;
  transform: translateY(-1px);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
#testimonials { background: var(--bg-2); }

/* Marquee infinite scroll */
.marquee-track {
  display: flex;
  gap: 1.25rem;
  animation: marquee-scroll 40s linear infinite;
  width: max-content;
}
.marquee-track:hover {
  animation-play-state: paused;
}
@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.75rem;
  width: 360px;
  min-width: 360px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  transition: border-color .25s ease;
}
.marquee-card:hover {
  border-color: var(--line-2);
}

.marquee-card-footer {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.marquee-stars {
  display: flex;
  gap: 2px;
}

@media (max-width: 640px) {
  .marquee-card {
    width: 300px;
    min-width: 300px;
  }
}

.testimonial-quote-mark {
  font-size: 3.5rem;
  line-height: 0.4;
  color: var(--accent);
  font-family: inherit;
  margin-bottom: 1.25rem;
  display: block;
}

.testimonial-text {
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
/* .testimonial-card.tall removed — using marquee layout */

.testimonial-metric {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(129,140,248,0.2);
  padding: 0.4rem 0.875rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}
.testimonial-metric .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}
.testimonial-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}
.testimonial-role {
  font-size: 0.75rem;
  color: var(--dim);
  margin-top: 0.125rem;
}

/* ============================================
   FAQ
   ============================================ */
#faq { background: var(--bg); }

.faq-item {
  border-bottom: 1px solid var(--line);
  transition: background .3s ease;
}
.faq-item:hover { background: rgba(255,255,255,0.01); }
.faq-item:last-child { border-bottom: none; }

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: inherit;
}

.faq-question {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.faq-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: all .3s ease;
}
.faq-icon iconify-icon {
  color: var(--accent) !important;
}
.faq-item.open .faq-icon {
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(45deg);
}
.faq-item.open .faq-icon svg {
  color: #000 !important;
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-body.open { max-height: 320px; }

.faq-answer {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.75;
  padding-bottom: 1.5rem;
  padding-right: 3rem;
}

/* ============================================
   CTA — Big type aigency-style
   ============================================ */
#cta-section {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
#cta-section::before {
  content: '';
  position: absolute;
  top: -150px; left: 50%;
  width: 800px; height: 800px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(129,140,248,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.cta-bigtype {
  font-size: clamp(3rem, 11vw, 9rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: var(--text);
  text-align: center;
}
.cta-bigtype .accent {
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
  font-family: inherit;
}
.cta-bigtype .outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--text);
}

.btn-cta-orange {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background: var(--accent);
  color: #000;
  font-size: 1.0625rem;
  font-weight: 700;
  padding: 1.125rem 2.5rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
  position: relative;
  z-index: 1;
  letter-spacing: -0.01em;
}
.btn-cta-orange:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 48px rgba(129,140,248,0.5);
}

.cta-trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}
.cta-trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--muted);
}
.cta-trust-badge iconify-icon { color: var(--accent); font-size: 1rem; }

/* ============================================
   FOOTER
   ============================================ */
#site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
}
.footer-logo span { color: var(--accent); font-style: italic; font-family: inherit; font-weight: 400; }
.footer-tagline {
  font-size: 0.8125rem;
  color: var(--dim);
  margin-top: 0.375rem;
}
.footer-link {
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}
.footer-link:hover { color: var(--text); }
.footer-divider {
  height: 1px;
  background: var(--line);
  margin: 2rem 0;
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(0.16, 1, 0.3, 1), transform .7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

.reveal-scale {
  opacity: 0;
  transform: scale(0.96) translateY(20px);
  transition: opacity .7s cubic-bezier(0.16, 1, 0.3, 1), transform .7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* ============================================
   UTILITIES
   ============================================ */
iconify-icon {
  display: inline-block;
  vertical-align: middle;
}

@media (max-width: 768px) {
  .hero-h1 { font-size: 2.75rem; }
  .metric-num { font-size: 2rem; }
  .cta-bigtype { font-size: 3rem; }
}

/* ============================================
   CONTACT MODAL
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay.hidden { display: none; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: modalFadeIn 0.25s ease;
}

.modal-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  max-height: 90dvh;
  overflow-y: auto;
  animation: modalSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-content {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  padding: 2rem;
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.modal-close-btn {
  color: var(--dim);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  transition: color 0.2s;
}
.modal-close-btn:hover { color: var(--text); }

/* Form Elements */
.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  color: var(--text);
  font-size: 0.9375rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200, 255, 0, 0.1);
}
.form-input::placeholder { color: var(--dim); font-size: 0.875rem; }

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2371717a' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-select option { background: var(--bg-3); color: var(--text); }

.form-textarea { resize: vertical; min-height: 100px; }

/* Radio Cards */
.radio-card {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0.875rem;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  cursor: pointer;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.radio-card:hover { border-color: var(--line-2); color: var(--text); }

.radio-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid var(--line-2);
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.radio-card.selected {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--text);
}
.radio-card.selected .radio-dot {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: inset 0 0 0 2.5px var(--bg-2);
}

/* Submit Button */
.modal-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem;
  background: var(--accent);
  color: #000;
  font-size: 0.9375rem;
  font-weight: 700;
  border: none;
  border-radius: 0.875rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.modal-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(200, 255, 0, 0.4);
}

/* Success State */
.modal-success {
  text-align: center;
  padding: 2rem 1rem;
}
.modal-success.hidden { display: none; }

/* Field error */
.field-error {
  font-size: 0.6875rem;
  color: #ef4444;
  margin-top: 0.375rem;
}
.form-input.input-error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Animations */
@keyframes modalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Scrollbar inside modal */
.modal-container::-webkit-scrollbar { width: 4px; }
.modal-container::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 2px; }
