/* ============================================================
   ACTIV — Shared Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,600;1,700;1,800;1,900&display=swap');

/* ---- Root Variables ---- */
:root {
  --bg:          #0b0e0b;
  --bg-alt:      #0e120e;
  --bg-card:     #141914;
  --bg-card2:    #1b201b;
  --accent:      #c5f135;
  --accent-dim:  rgba(197, 241, 53, 0.12);
  --accent-bdr:  rgba(197, 241, 53, 0.22);
  --white:       #ffffff;
  --gray:        #9ba49b;
  --muted:       #535c53;
  --border:      #1f241f;
  --border2:     #282e28;
  --r-sm:   6px;
  --r-md:   10px;
  --r-lg:   14px;
  --r-xl:   20px;
  --r-pill: 100px;
  --font:   'Inter', system-ui, -apple-system, sans-serif;
  --max-w:  1120px;
}

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }
img, svg { display: block; }
button { font-family: var(--font); cursor: pointer; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  background: rgba(11, 14, 11, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.4px;
}
.nav-logo .a { color: var(--accent); }
.nav-logo .tm {
  font-size: 9px;
  font-weight: 400;
  color: var(--muted);
  margin-left: 1px;
  vertical-align: super;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}
.nav-links a {
  font-size: 13.5px;
  color: var(--gray);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }

.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-cta {
  background: var(--accent);
  color: #080c08;
  padding: 8px 18px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 600;
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.88; }

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.label-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-bdr);
  color: var(--accent);
  padding: 5px 14px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #080c08;
  padding: 13px 24px;
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font);
}
.btn-primary:hover { background: #d3f845; transform: translateY(-1px); }
.btn-primary .icon-circle {
  width: 26px;
  height: 26px;
  background: rgba(0,0,0,0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  padding: 12px 22px;
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--border2);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(100vh - 62px);
  display: flex;
  align-items: center;
  padding: 90px 60px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 700px 700px at 85% 10%, rgba(130,160,30,.18) 0%, transparent 65%),
    radial-gradient(ellipse 400px 400px at 60% 80%, rgba(80,110,10,.09) 0%, transparent 60%),
    linear-gradient(160deg, #0b0f0b 0%, #0c100c 60%, #0f140a 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-bdr);
  color: var(--accent);
  padding: 6px 14px 6px 10px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 28px;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.hero h1 {
  font-size: 82px;
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -3px;
  margin-bottom: 24px;
}
.hero h1 .line1 { display: block; }
.hero h1 .line2 { display: block; }
.hero h1 .accent-italic { color: var(--accent); font-style: italic; }
.hero-sub {
  font-size: 16px;
  color: var(--gray);
  max-width: 450px;
  line-height: 1.75;
  margin-bottom: 40px;
}

/* ============================================================
   WHAT WE DO
   ============================================================ */
.section-what {
  padding: 100px 60px;
  text-align: center;
}
.section-header { margin-bottom: 60px; }
.section-header h2 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  margin: 16px 0 16px;
}
.section-header p {
  font-size: 15px;
  color: var(--gray);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.75;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.feat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 20px;
  text-align: left;
  transition: border-color 0.25s, transform 0.25s;
}
.feat-card:hover {
  border-color: var(--border2);
  transform: translateY(-2px);
}
.feat-icon {
  width: 44px; height: 44px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-bdr);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--accent);
}
.feat-card h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
}
.feat-card p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.65;
}

/* ============================================================
   STEP SECTIONS
   ============================================================ */
.steps-wrap { padding: 0 0 20px; }
.step-section {
  padding: 80px 60px;
}
.step-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.step-inner.rev { direction: rtl; }
.step-inner.rev > * { direction: ltr; }

.step-content .label-pill { margin-bottom: 18px; }
.step-content h2 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 18px;
}
.step-content p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 420px;
}
.step-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 30px;
}
.step-num {
  position: absolute;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--accent-bdr);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  z-index: 4;
  letter-spacing: 0.5px;
}
.step-section:nth-child(even) { background: var(--bg-alt); }

/* ============================================================
   ARCH SVG GRAPHICS
   ============================================================ */
.arch-svg { width: 280px; height: 280px; }

/* ============================================================
   USER APP SECTION
   ============================================================ */
.user-app-section {
  background: var(--bg-alt);
  padding: 100px 60px;
}
.user-app-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.uapp-left .label-pill { margin-bottom: 20px; }
.uapp-left h2 {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}
.uapp-left p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 440px;
}
.stats-row {
  display: flex;
  gap: 44px;
  margin-bottom: 40px;
}
.stat-val {
  display: block;
  font-size: 30px;
  font-weight: 700;
}
.stat-lbl {
  font-size: 11px;
  color: var(--muted);
}
.app-feats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.af-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px;
}
.af-icon {
  width: 34px; height: 34px;
  background: var(--accent-dim);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  color: var(--accent);
}
.af-card h4 { font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.af-card p { font-size: 12px; color: var(--muted); line-height: 1.6; }

/* ============================================================
   DEMO / STILL NOT SURE SECTION
   ============================================================ */
.demo-section { padding: 100px 60px; }
.demo-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.demo-text h2 {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}
.demo-text p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.75;
  max-width: 400px;
}
.demo-card {
  background: var(--bg-card);
  border: 1px solid rgba(197,241,53,.18);
  border-radius: var(--r-xl);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.demo-field {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  height: 46px;
}
.demo-field.tall { height: 90px; }
.demo-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 4px;
}
.demo-card-footer span {
  font-size: 11.5px;
  color: var(--muted);
}

/* ============================================================
   DOWNLOAD CTA
   ============================================================ */
.download-section {
  position: relative;
  padding: 110px 60px 120px;
  text-align: center;
  overflow: hidden;
}
.download-section::before {
  content: '';
  position: absolute;
  bottom: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 600px;
  background: radial-gradient(ellipse at 50% 90%,
    rgba(120,155,20,.38) 0%,
    rgba(80,110,10,.14) 35%,
    transparent 65%);
  pointer-events: none;
}
.download-section h2 {
  font-size: 62px;
  font-weight: 800;
  letter-spacing: -2.5px;
  margin-bottom: 10px;
  position: relative;
}
.download-tagline {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 44px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.download-tagline::before,
.download-tagline::after {
  content: '';
  width: 60px;
  height: 1px;
  background: var(--border2);
}
.dl-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  position: relative;
}
.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card2);
  border: 1px solid var(--border2);
  color: var(--white);
  padding: 13px 24px;
  border-radius: var(--r-md);
  font-size: 13.5px;
  font-weight: 500;
  font-family: var(--font);
  transition: all 0.2s;
  cursor: pointer;
}
.dl-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  border-top: 1px solid var(--border);
  padding: 64px 60px 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.f-brand .f-logo {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}
.f-brand .f-logo .a { color: var(--accent); }
.f-brand .f-logo .tm {
  font-size: 9px;
  font-weight: 400;
  vertical-align: super;
  color: var(--muted);
}
.f-brand .f-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 270px;
  margin-bottom: 22px;
}
.f-brand .f-contact-lbl {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}
.f-brand .f-email {
  font-size: 13px;
  color: var(--accent);
  transition: opacity 0.2s;
}
.f-brand .f-email:hover { opacity: 0.8; }
.f-col h5 {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}
.f-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.f-col ul li a {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.2s;
}
.f-col ul li a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.f-copy { font-size: 12px; color: var(--muted); }
.socials { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  transition: all 0.2s;
}
.social-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ============================================================
   SUPPORT PAGE
   ============================================================ */
.support-hero {
  padding: 80px 60px 60px;
  text-align: center;
  position: relative;
}
.support-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(100,140,20,.12) 0%, transparent 65%);
  pointer-events: none;
}
.support-hero h1 {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
}
.support-hero p {
  font-size: 15px;
  color: var(--gray);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.75;
  position: relative;
}

/* FAQ Section */
.faq-section { padding: 60px 60px 80px; }
.faq-section h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 32px;
}
.faq-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}
.faq-group-label {
  display: inline-flex;
  background: var(--accent-dim);
  border: 1px solid var(--accent-bdr);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 16px;
}
.accordion { display: flex; flex-direction: column; gap: 6px; }
.acc-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}
.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 13.5px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  gap: 12px;
  transition: background 0.15s;
  font-family: var(--font);
}
.acc-trigger:hover { background: var(--bg-card2); }
.acc-trigger .chevron {
  flex-shrink: 0;
  transition: transform 0.25s;
  color: var(--gray);
}
.acc-trigger.open .chevron { transform: rotate(180deg); }
.acc-body {
  display: none;
  padding: 0 18px 16px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}
.acc-body.open { display: block; }

.faq-bottom-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

/* Contact Section */
.contact-section {
  padding: 80px 60px 100px;
  background: var(--bg-alt);
}
.contact-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.contact-text h2 {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
}
.contact-text h2 .accent-italic {
  color: var(--accent);
  font-style: italic;
}
.contact-text p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.75;
  max-width: 360px;
}
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid rgba(197,241,53,.16);
  border-radius: var(--r-xl);
  padding: 32px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.form-field {
  display: flex;
  flex-direction: column;
}
.form-field input,
.form-field textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 13px 16px;
  color: var(--white);
  font-size: 13.5px;
  font-family: var(--font);
  transition: border-color 0.2s;
  outline: none;
  resize: none;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--muted); }
.form-field input:focus,
.form-field textarea:focus { border-color: var(--border2); }
.form-field.full { margin-bottom: 12px; }
.form-field textarea { min-height: 110px; }
.form-footer {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.form-privacy {
  font-size: 11.5px;
  color: var(--muted);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .step-inner { grid-template-columns: 1fr; gap: 40px; }
  .step-inner.rev { direction: ltr; }
  .user-app-inner,
  .demo-inner,
  .contact-inner { grid-template-columns: 1fr; }
  .faq-cols,
  .faq-bottom-cols { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .navbar { padding: 0 20px; }
  .nav-links { display: none; }
  .hero { padding: 60px 20px; }
  .hero h1 { font-size: 52px; letter-spacing: -2px; }
  .section-what,
  .step-section,
  .user-app-section,
  .demo-section,
  .download-section,
  .faq-section,
  .contact-section,
  .support-hero { padding-left: 20px; padding-right: 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-header h2,
  .step-content h2,
  .uapp-left h2,
  .demo-text h2 { font-size: 34px; }
  .download-section h2 { font-size: 42px; }
  .support-hero h1 { font-size: 38px; }
  .contact-text h2 { font-size: 34px; }
}
