/* ===========================
   FLUENCE AI — STYLES
   =========================== */

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

:root {
  --bg:       #04040a;
  --bg-card:  #0d0d18;
  --bg-card2: #111122;
  --border:   rgba(255,255,255,0.07);
  --border2:  rgba(255,255,255,0.12);

  --text:     #f0f0ff;
  --muted:    #8888aa;
  --subtle:   #555570;

  --accent:   #6c63ff;
  --accent2:  #a78bfa;
  --highlight:#22d3ee;
  --green:    #34d399;
  --red:      #f87171;
  --orange:   #fb923c;

  --radius:   14px;
  --radius-sm: 8px;
  --shadow:   0 4px 32px rgba(108,99,255,0.15);
  --font:     'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================
   TYPOGRAPHY
   =========================== */
.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--highlight) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  white-space: nowrap;
}
.btn-sm  { font-size: 13px; padding: 7px 16px; }
.btn-lg  { font-size: 16px; padding: 14px 28px; }
.btn-full { width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #8b5cf6);
  color: #fff;
  box-shadow: 0 4px 20px rgba(108,99,255,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(108,99,255,0.5);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border2);
}
.btn-outline:hover {
  border-color: var(--accent2);
  color: var(--accent2);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--text); border-color: var(--border2); }

/* ===========================
   BADGE / TAG
   =========================== */
.badge {
  display: inline-block;
  background: rgba(108,99,255,0.12);
  color: var(--accent2);
  border: 1px solid rgba(108,99,255,0.3);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.section-tag {
  display: inline-block;
  background: rgba(108,99,255,0.1);
  color: var(--accent2);
  border: 1px solid rgba(108,99,255,0.25);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

/* ===========================
   NAV
   =========================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  background: rgba(4,4,10,0.85);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.logo-text { font-size: 17px; font-weight: 700; }
.logo-ai { color: var(--accent2); }

/* ===========================
   HERO
   =========================== */
.hero {
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(ellipse, rgba(108,99,255,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner { position: relative; }

.hero-title {
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto 36px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.hero-note {
  font-size: 13px;
  color: var(--subtle);
  margin-bottom: 64px;
}

/* MOCKUP */
.hero-mockup {
  max-width: 820px;
  margin: 0 auto;
}
.mockup-window {
  background: var(--bg-card);
  border: 1px solid var(--border2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 80px rgba(108,99,255,0.12), 0 40px 80px rgba(0,0,0,0.6);
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red    { background: #f87171; }
.dot.yellow { background: #fbbf24; }
.dot.green  { background: #34d399; }
.mockup-title { flex: 1; text-align: center; font-size: 12px; color: var(--subtle); margin-right: 26px; }

.mockup-body { padding: 20px; }

.mockup-stats {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 12px;
  margin-bottom: 20px;
}
@media (max-width: 640px) { .mockup-stats { grid-template-columns: repeat(2,1fr); } }

.stat-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  text-align: left;
}
.stat-label { font-size: 11px; color: var(--muted); margin-bottom: 6px; }
.stat-value { font-size: 24px; font-weight: 800; }
.stat-value.accent    { color: var(--accent2); }
.stat-value.highlight { color: var(--highlight); }
.stat-delta { font-size: 11px; margin-top: 4px; }
.stat-delta.up { color: var(--green); }

.mockup-feed { }
.feed-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--subtle); margin-bottom: 10px; }
.feed-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}
.feed-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #8b5cf6);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.feed-info { flex: 1; text-align: left; min-width: 0; }
.feed-name { font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed-title { font-weight: 400; color: var(--muted); }
.feed-msg { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed-tag { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 100px; text-transform: uppercase; flex-shrink: 0; }
.feed-tag.hot  { background: rgba(248,113,113,0.15); color: var(--red); }
.feed-tag.warm { background: rgba(251,146,60,0.15);  color: var(--orange); }

/* ===========================
   SOCIAL PROOF
   =========================== */
.social-proof {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.sp-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--subtle); margin-bottom: 24px; }
.sp-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.sp-num { padding: 0 40px; text-align: center; }
.sp-big { display: block; font-size: 42px; font-weight: 900; color: var(--accent2); line-height: 1; }
.sp-desc { font-size: 13px; color: var(--muted); margin-top: 6px; }
.sp-divider { width: 1px; height: 50px; background: var(--border2); }

/* ===========================
   SECTION HEADER
   =========================== */
.section-header { text-align: center; margin-bottom: 56px; }
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-sub { font-size: 17px; color: var(--muted); max-width: 540px; margin: 0 auto; }

/* ===========================
   HOW IT WORKS
   =========================== */
.how-it-works { padding: 100px 0; }

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}
@media (max-width: 860px) {
  .steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); align-self: center; }
}

.step {
  flex: 1;
  text-align: center;
  padding: 32px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}
.step:hover { border-color: rgba(108,99,255,0.35); }

.step-num {
  font-size: 11px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.step-icon { font-size: 32px; margin-bottom: 14px; }
.step-title { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.step-desc { font-size: 14px; color: var(--muted); line-height: 1.6; }

.step-arrow {
  flex-shrink: 0;
  font-size: 22px;
  color: var(--subtle);
  padding: 0 10px;
  margin-top: 60px;
}

/* ===========================
   FEATURES
   =========================== */
.features { padding: 100px 0; background: rgba(255,255,255,0.015); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 860px) { .features-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: rgba(108,99,255,0.3);
  transform: translateY(-3px);
}
.feature-icon { font-size: 28px; margin-bottom: 14px; }
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ===========================
   BOOK A CALL
   =========================== */
.book-call {
  padding: 100px 0;
  background: rgba(108,99,255,0.04);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.calendly-wrap {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border2);
  box-shadow: var(--shadow);
}

/* ===========================
   TESTIMONIALS
   =========================== */
.testimonials { padding: 100px 0; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  align-items: start;
}
@media (max-width: 860px) { .testimonials-grid { grid-template-columns: 1fr; } }

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.testimonial-card.featured {
  border-color: rgba(108,99,255,0.4);
  background: linear-gradient(135deg, rgba(108,99,255,0.08), rgba(34,211,238,0.04));
  transform: scale(1.03);
}
.stars { color: #fbbf24; font-size: 14px; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-text { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #8b5cf6);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.author-name { font-size: 14px; font-weight: 700; }
.author-role { font-size: 12px; color: var(--muted); }

/* ===========================
   WAITLIST
   =========================== */
.waitlist {
  padding: 100px 0;
  background: rgba(108,99,255,0.04);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.waitlist-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 860px) { .waitlist-inner { grid-template-columns: 1fr; gap: 40px; } }

.waitlist-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.15;
}
.waitlist-sub { font-size: 16px; color: var(--muted); margin-bottom: 28px; line-height: 1.6; }
.waitlist-perks { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.waitlist-perks li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(52,211,153,0.15);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; flex-shrink: 0;
}

/* FORM */
.waitlist-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-title { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.form-sub { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.form-sub span { color: var(--accent2); font-weight: 700; }

.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.form-group input,
.form-group select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 15px;
  font-family: var(--font);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}
.form-group select { cursor: pointer; }
.form-group select option { background: #1a1a2e; color: var(--text); }
.form-group input::placeholder { color: var(--subtle); }
.form-group input:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(108,99,255,0.15);
}
.form-privacy { font-size: 11px; color: var(--subtle); text-align: center; margin-top: 12px; }

/* SUCCESS */
.waitlist-success { text-align: center; padding: 20px 0; }
.success-icon { font-size: 52px; margin-bottom: 16px; }
.waitlist-success h3 { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.waitlist-success p { font-size: 15px; color: var(--muted); }
.success-note { font-size: 13px; margin-top: 8px; }

/* ===========================
   FAQ
   =========================== */
.faq { padding: 100px 0; }
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item:has(.faq-q[aria-expanded="true"]) { border-color: rgba(108,99,255,0.3); }

.faq-q {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font);
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q::after {
  content: '+';
  font-size: 20px;
  color: var(--accent2);
  font-weight: 300;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.faq-q[aria-expanded="true"]::after { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  padding: 0 24px;
}
.faq-a.open { max-height: 300px; padding: 0 24px 20px; }

/* ===========================
   FOOTER CTA
   =========================== */
.footer-cta {
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.footer-cta::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(108,99,255,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.footer-cta-inner { position: relative; }
.footer-cta h2 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.footer-cta p { font-size: 18px; color: var(--muted); margin-bottom: 32px; }

/* ===========================
   FOOTER
   =========================== */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  text-align: center;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.footer-logo { display: flex; align-items: center; gap: 8px; }
.footer-tagline { font-size: 13px; color: var(--muted); }
.footer-copy { font-size: 12px; color: var(--subtle); }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 640px) {
  .sp-divider { display: none; }
  .sp-num { width: 50%; padding: 16px; }
  .testimonial-card.featured { transform: none; }
  .step-arrow { display: none; }
}
