/* Storefront AI — variant marketing site sharing Gazellia's brand palette */

:root {
  --gold: #E8B931;
  --gold-bright: #F2C31C;
  --gold-dim: #C49B1A;
  --gold-subtle: rgba(232, 185, 49, 0.08);
  --gold-glow: rgba(232, 185, 49, 0.15);
  --green: #34d399;
  --green-dim: rgba(52, 211, 153, 0.15);
  --blue: #60a5fa;
  --blue-dim: rgba(96, 165, 250, 0.15);
  --red: #ef4444;

  --bg: #08080A;
  --bg-elev: #0C0C0F;
  --bg-card: #0F1018;
  --border: #1F1F25;
  --border-bright: #2A2A33;
  --text: #F4F4EE;
  --text-secondary: #C9C9BC;
  --text-muted: #8B8B7E;
  --text-dim: #5A5A50;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv01";
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-bright); }

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.accent { color: var(--gold); }

/* ---- Nav ---- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8, 8, 10, 0.7);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: all 0.25s ease;
}
.nav.scrolled {
  background: rgba(12, 12, 15, 0.92);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 14px 28px;
  display: flex; justify-content: space-between; align-items: center;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 28px; height: 28px; }
.brand-text {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800; font-size: 15px; letter-spacing: 2.5px; color: var(--gold);
}
.brand-sub {
  display: inline-block; margin-left: 4px;
  font-size: 10px; letter-spacing: 1.5px;
  color: var(--text); font-weight: 700;
  padding: 2px 6px;
  background: var(--gold-subtle);
  border: 1px solid var(--gold-glow);
  border-radius: 3px;
}
.nav-links {
  display: flex; align-items: center; gap: 28px;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  color: var(--text-secondary);
  font-size: 14px; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: var(--gold); color: var(--bg) !important;
  padding: 9px 16px; border-radius: 8px;
  font-weight: 700 !important;
}
.nav-cta:hover { background: var(--gold-bright); }
.nav-toggle {
  display: none; background: none; border: none;
  flex-direction: column; gap: 4px; cursor: pointer; padding: 8px;
}
.nav-toggle span {
  width: 22px; height: 2px; background: var(--text); display: block;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  padding: 80px 28px 100px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(232, 185, 49, 0.08), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(96, 165, 250, 0.04), transparent 50%);
  z-index: 0;
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: 1100px; margin: 0 auto;
  text-align: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-subtle);
  border: 1px solid var(--gold-glow);
  padding: 6px 14px; border-radius: 999px;
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 12px var(--green); animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-title {
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin: 0 0 24px;
}
.hero-sub {
  max-width: 760px; margin: 0 auto 36px;
  font-size: 18px; line-height: 1.65;
  color: var(--text-secondary);
}
.hero-ctas { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.hero-ticker {
  margin-top: 70px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  overflow: hidden;
}
.ticker-track {
  display: flex; gap: 60px;
  animation: ticker 40s linear infinite;
  white-space: nowrap;
}
.ticker-item {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; color: var(--text-muted);
  letter-spacing: 0.5px;
}
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 22px; border-radius: 10px;
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer; border: 1px solid transparent;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-primary { background: var(--gold); color: var(--bg); }
.btn-primary:hover { background: var(--gold-bright); transform: translateY(-1px); color: var(--bg); }
.btn-ghost {
  background: transparent; color: var(--text);
  border-color: var(--border-bright);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-block { width: 100%; padding: 16px 24px; font-size: 15px; }

/* ---- Section heads ---- */
.section-head { text-align: center; margin-bottom: 50px; }
.section-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -1px;
  margin: 0 0 14px;
}
.section-sub {
  max-width: 640px; margin: 0 auto;
  font-size: 16px; color: var(--text-secondary);
}

/* ---- Program (3 steps) ---- */
.program { padding: 90px 0; background: var(--bg-elev); }
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 26px 28px;
  position: relative;
  transition: all 0.25s;
}
.step:hover { border-color: var(--gold-glow); transform: translateY(-2px); }
.step-num {
  position: absolute; top: -16px; left: 24px;
  width: 36px; height: 36px;
  background: var(--gold); color: var(--bg);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800; font-size: 16px;
}
.step h3 { margin: 12px 0 10px; font-size: 19px; font-weight: 700; }
.step p { color: var(--text-secondary); margin: 0 0 16px; line-height: 1.6; font-size: 14.5px; }
.step-pill {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; letter-spacing: 1.2px; font-weight: 700;
  padding: 4px 9px; border-radius: 4px;
  background: var(--gold-subtle); color: var(--gold);
  border: 1px solid var(--gold-glow);
}
.step-pill.free { background: var(--green-dim); color: var(--green); border-color: rgba(52, 211, 153, 0.3); }

/* ---- Templates ---- */
.templates { padding: 90px 0; }
.template-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.template-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 22px;
  transition: all 0.25s;
}
.template-card:hover { border-color: var(--gold-glow); }
.template-card.custom { border-style: dashed; border-color: var(--gold); }
.template-icon { font-size: 28px; margin-bottom: 10px; }
.template-card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; }
.template-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.55; margin: 0 0 12px; }
.template-fit {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; color: var(--text-muted); letter-spacing: 0.5px;
  display: block;
}

/* ---- How it works (timeline) ---- */
.how-it-works { padding: 90px 0; background: var(--bg-elev); }
.timeline { max-width: 760px; margin: 0 auto; }
.timeline-row {
  display: flex; gap: 28px; padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.timeline-row:last-child { border-bottom: none; }
.timeline-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px; font-weight: 700;
  color: var(--gold);
  min-width: 110px; flex-shrink: 0;
  padding-top: 2px;
}
.timeline-event h4 { margin: 0 0 6px; font-size: 16px; font-weight: 700; }
.timeline-event p { margin: 0; color: var(--text-secondary); line-height: 1.6; font-size: 14px; }

/* ---- Pricing ---- */
.pricing { padding: 90px 0; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  max-width: 1000px; margin: 0 auto;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px 26px;
  display: flex; flex-direction: column;
  transition: all 0.25s;
}
.pricing-card:hover { border-color: var(--gold-glow); }
.pricing-card.featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(232, 185, 49, 0.05), var(--bg-card) 30%);
  position: relative;
}
.pricing-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute; top: -10px; left: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px; letter-spacing: 1.2px; font-weight: 800;
  background: var(--gold); color: var(--bg);
  padding: 3px 9px; border-radius: 4px;
}
.pricing-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; letter-spacing: 1.5px;
  color: var(--text-muted); margin-bottom: 8px;
}
.pricing-amount {
  font-size: 32px; font-weight: 800;
  color: var(--gold); line-height: 1.1;
  letter-spacing: -1px;
}
.pricing-amount.free { color: var(--green); font-size: 36px; }
.pricing-amount .month {
  font-size: 14px; opacity: 0.7; font-weight: 500; margin-left: 2px;
}
.pricing-period {
  font-size: 12px; color: var(--text-muted); margin-top: 4px; margin-bottom: 18px;
}
.pricing-list {
  list-style: none; padding: 0; margin: 0 0 22px;
  flex: 1;
}
.pricing-list li {
  font-size: 13.5px; color: var(--text-secondary);
  padding: 6px 0 6px 22px;
  position: relative; line-height: 1.45;
  border-bottom: 1px solid rgba(31, 31, 37, 0.5);
}
.pricing-list li:last-child { border-bottom: none; }
.pricing-list li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--green); font-weight: 700;
}
.pricing-fine {
  text-align: center;
  margin: 32px auto 0;
  max-width: 700px;
  font-size: 13px; color: var(--text-muted);
  line-height: 1.6;
}

/* ---- Why us ---- */
.why { padding: 90px 0; background: var(--bg-elev); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}
.why-item {
  padding: 24px 26px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  border-left: 3px solid var(--gold);
}
.why-item h3 { margin: 0 0 10px; font-size: 16px; font-weight: 700; color: var(--gold); }
.why-item p { margin: 0; color: var(--text-secondary); font-size: 14px; line-height: 1.65; }

/* ---- FAQ ---- */
.faq { padding: 90px 0; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.faq-item summary {
  cursor: pointer;
  font-size: 16px; font-weight: 600;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  color: var(--gold); font-size: 22px; font-weight: 400;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin: 14px 0 0;
  color: var(--text-secondary);
  font-size: 14.5px; line-height: 1.65;
}

/* ---- CTA ---- */
.cta { padding: 90px 0; background: var(--bg-elev); }
.cta-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-glow);
  border-radius: 18px;
  padding: 50px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 0% 0%, var(--gold-glow), transparent 50%);
  pointer-events: none;
}
.cta-left { position: relative; z-index: 1; }
.cta-left h2 {
  font-size: 38px; font-weight: 800;
  line-height: 1.1; margin: 8px 0 18px;
  letter-spacing: -1px;
}
.cta-left p {
  color: var(--text-secondary);
  font-size: 15px; line-height: 1.6;
  margin: 0 0 22px;
}
.cta-trust {
  display: grid; gap: 8px; grid-template-columns: 1fr 1fr;
  margin-bottom: 22px;
}
.trust-item { font-size: 13px; color: var(--text-secondary); }
.cta-direct {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; color: var(--text-muted); letter-spacing: 0.3px;
}
.cta-direct a { color: var(--gold); }
.contact-form {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 14px;
}
.form-row { width: 100%; }
.form-row label { display: block; }
.form-row span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--text-muted);
  display: block; margin-bottom: 5px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg);
  border: 1px solid var(--border-bright);
  border-radius: 8px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  transition: border-color 0.15s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none; border-color: var(--gold);
}
.form-row textarea { resize: vertical; min-height: 80px; }
.form-note {
  font-size: 11px; color: var(--text-muted);
  text-align: center; margin: 4px 0 0;
}

/* ---- Footer ---- */
.footer {
  padding: 40px 0 28px;
  border-top: 1px solid var(--border);
}
.footer-row {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 20px; margin-bottom: 20px;
}
.footer-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800; font-size: 13px; letter-spacing: 2px; color: var(--gold);
}
.footer-logo { width: 24px; height: 24px; }
.footer-sub {
  margin-left: 4px; color: var(--text); font-weight: 700;
  font-size: 10px; padding: 2px 5px; border: 1px solid var(--gold-glow); border-radius: 3px;
}
.footer-links {
  display: flex; gap: 22px;
  list-style: none; padding: 0; margin: 0;
}
.footer-links a {
  color: var(--text-muted); font-size: 13px;
}
.footer-links a:hover { color: var(--gold); }
.footer-fine {
  text-align: center;
  font-size: 11px; color: var(--text-dim);
  letter-spacing: 0.5px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .cta-card { grid-template-columns: 1fr; padding: 32px; gap: 32px; }
  .cta-left h2 { font-size: 28px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-elev);
    flex-direction: column; gap: 0;
    padding: 16px 28px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; padding: 8px 0; }

  .hero { padding: 50px 28px 70px; }
  .program, .templates, .how-it-works, .pricing, .why, .faq, .cta { padding: 60px 0; }

  .timeline-row { flex-direction: column; gap: 8px; }
  .timeline-time { min-width: 0; }

  .cta-trust { grid-template-columns: 1fr; }
}
