/* ===== DESIGN TOKENS ===== */
:root {
  --green: #00C860;
  --green-glow: rgba(0, 200, 96, 0.35);
  --green-dim: rgba(0, 200, 96, 0.12);
  --purple: #7B5CF7;
  --purple-glow: rgba(123, 92, 247, 0.35);
  --purple-dim: rgba(123, 92, 247, 0.12);
  --cyan: #00D4FF;
  --bg: #0A0C12;
  --bg2: #0F1219;
  --card: rgba(255,255,255,0.05);
  --card-border: rgba(255,255,255,0.09);
  --text: #EAECF0;
  --muted: #6E7A91;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { line-height: 1.1; letter-spacing: -0.02em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}

/* ===== NOISE TEXTURE ===== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* ===== GLOW ORBS ===== */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: float 8s ease-in-out infinite;
}
.orb-green { background: var(--green-glow); }
.orb-purple { background: var(--purple-glow); }
.orb-cyan { background: rgba(0, 212, 255, 0.2); }

@keyframes float {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-24px) scale(1.04); }
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 6vw;
  min-height: 68px;
  background: rgba(10, 12, 18, 0.72);
  border-bottom: 1px solid var(--card-border);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.brand {
  font-size: 18px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

nav { display: flex; align-items: center; gap: 24px; }

nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
nav a:hover { color: var(--white); }

.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), #00A8FF);
  color: #000;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-nav:hover { transform: translateY(-1px); box-shadow: 0 4px 20px var(--green-glow); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 100px 6vw 80px;
  overflow: hidden;
}

.hero-orb-1 { width: 700px; height: 700px; top: -200px; right: -200px; animation-delay: 0s; }
.hero-orb-2 { width: 500px; height: 500px; bottom: -150px; left: -150px; animation-delay: -4s; }

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-content { max-width: 580px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--green-dim);
  border: 1px solid rgba(0, 200, 96, 0.25);
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 28px;
}
.hero-badge svg { width: 14px; height: 14px; }

.hero h1 {
  font-size: clamp(44px, 6vw, 78px);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 24px;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--green), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--green), #00A8FF);
  color: #000;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 0 0 0 var(--green-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--green-glow);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  background: var(--card);
  border: 1px solid var(--card-border);
  color: var(--text);
  transition: border-color 0.25s, background 0.25s;
}
.btn-secondary:hover {
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-size: 13px;
  color: var(--muted);
}
.hero-trust svg { color: var(--green); flex-shrink: 0; }

/* ===== PHONE MOCKUP ===== */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-frame {
  position: relative;
  width: 280px;
  border-radius: 44px;
  background: #141720;
  border: 2px solid rgba(255,255,255,0.12);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.5),
    0 40px 100px rgba(0,0,0,0.7),
    0 0 60px var(--purple-glow),
    inset 0 1px 0 rgba(255,255,255,0.08);
  overflow: hidden;
  animation: phoneBob 6s ease-in-out infinite;
}

@keyframes phoneBob {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

.phone-screen img {
  width: 100%;
  display: block;
}

.phone-glow {
  position: absolute;
  inset: -40px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--purple-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* Screen carousel */
.screen-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: block;
}
.screen-slide.active { opacity: 1; position: relative; }
.phone-screen { position: relative; overflow: hidden; }

/* ===== STATS STRIP ===== */
.stats-strip {
  position: relative;
  z-index: 1;
  padding: 48px 6vw;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  background: var(--card);
  backdrop-filter: blur(8px);
}

.stats-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px 80px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.stat-item h3 {
  font-size: 44px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-item p { font-size: 14px; color: var(--muted); }

/* ===== HOW IT WORKS ===== */
.section {
  position: relative;
  padding: 100px 6vw;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
}
.section-header p { font-size: 18px; color: var(--muted); max-width: 560px; margin: 0 auto; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  position: relative;
  padding: 36px 28px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--card-border);
  transition: border-color 0.3s, transform 0.3s;
  overflow: hidden;
}
.step-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--green-dim), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: inherit;
}
.step-card:hover { border-color: rgba(0,200,96,0.3); transform: translateY(-4px); }
.step-card:hover::before { opacity: 1; }

.step-number {
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, rgba(0,200,96,0.15), rgba(0,200,96,0.04));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.step-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
  background: linear-gradient(135deg, var(--green-dim), var(--purple-dim));
  border: 1px solid rgba(0,200,96,0.2);
}

.step-card h3 { font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.step-card p { font-size: 15px; color: var(--muted); line-height: 1.65; }

/* ===== FEATURES BENTO ===== */
.features-section {
  position: relative;
  padding: 0 6vw 100px;
  max-width: 1200px;
  margin: 0 auto;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 20px;
}

.bento-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 36px;
  overflow: hidden;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
}
.bento-card:hover {
  border-color: rgba(123, 92, 247, 0.3);
  transform: translateY(-3px);
}

.bento-card.wide  { grid-column: span 7; }
.bento-card.narrow { grid-column: span 5; }
.bento-card.half  { grid-column: span 6; }
.bento-card.full  { grid-column: span 12; }
.bento-card.third { grid-column: span 4; }

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}
.icon-green { background: var(--green-dim); border: 1px solid rgba(0,200,96,0.25); }
.icon-purple { background: var(--purple-dim); border: 1px solid rgba(123,92,247,0.25); }
.icon-cyan { background: rgba(0,212,255,0.1); border: 1px solid rgba(0,212,255,0.25); }
.icon-orange { background: rgba(255,149,0,0.1); border: 1px solid rgba(255,149,0,0.25); }

.bento-card h3 { font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.bento-card p { font-size: 15px; color: var(--muted); line-height: 1.65; max-width: 340px; }

.bento-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  filter: blur(60px);
  bottom: -60px;
  right: -60px;
  pointer-events: none;
}

/* ===== INTEGRATION LOGOS ===== */
.integrations-section {
  position: relative;
  padding: 0 6vw 100px;
  text-align: center;
}

.integration-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 48px;
}

.integration-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 28px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--card-border);
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.3s, transform 0.3s;
}
.integration-pill:hover {
  border-color: rgba(0,200,96,0.4);
  transform: scale(1.03);
}
.integration-pill .logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.logo-sheets { background: #0F9D58; }
.logo-notion { background: #fff; color: #000; }

/* ===== CTA SECTION ===== */
.cta-section {
  position: relative;
  margin: 0 6vw 100px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(0,200,96,0.1), rgba(123,92,247,0.1));
  border: 1px solid rgba(0,200,96,0.2);
  padding: 80px 60px;
  text-align: center;
  overflow: hidden;
}

.cta-section .orb { position: absolute; pointer-events: none; }
.cta-orb-1 { width: 400px; height: 400px; top: -150px; right: -100px; }
.cta-orb-2 { width: 300px; height: 300px; bottom: -100px; left: -80px; animation-delay: -3s; }

.cta-section h2 {
  position: relative;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
}
.cta-section p {
  position: relative;
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  position: relative;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* ===== FOOTER ===== */
footer {
  border-top: 1px solid var(--card-border);
  padding: 40px 6vw;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-brand {
  font-size: 16px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 14px; color: var(--muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }

.footer-copy { font-size: 13px; color: var(--muted); }

/* ===== PRIVACY / SUPPORT PAGES ===== */
.page {
  max-width: 760px;
  padding: 80px 6vw;
  margin: 0 auto;
}
.page h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
}
.page .lead {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 40px;
  line-height: 1.65;
}
.page h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin: 40px 0 12px;
}
.page p { color: var(--muted); line-height: 1.75; margin-bottom: 12px; }
.page ul { color: var(--muted); padding-left: 20px; line-height: 1.75; margin-bottom: 12px; }
.updated { font-size: 13px; color: rgba(110,122,145,0.6); margin-top: 40px; }

.support-box {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 20px;
  transition: border-color 0.3s;
}
.support-box:hover { border-color: rgba(0,200,96,0.3); }
.support-box strong { display: block; color: var(--white); font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.support-box a { color: var(--green); font-size: 15px; }
.support-box p { color: var(--muted); font-size: 15px; margin: 6px 0 0; }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-up { animation: fadeUp 0.6s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .phone-frame { width: 220px; }
  .steps-grid { grid-template-columns: 1fr; }
  .bento-card.wide, .bento-card.narrow, .bento-card.half, .bento-card.third { grid-column: span 12; }
  .cta-section { padding: 56px 32px; margin: 0 4vw 80px; }
}

@media (max-width: 600px) {
  .site-header { padding: 0 4vw; }
  .hero { padding: 80px 4vw 60px; }
  nav .btn-nav { display: none; }
  .stats-inner { gap: 32px 48px; }
  .stat-item h3 { font-size: 36px; }
  footer { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
