@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Space+Grotesk:wght@300;400;500;600;700&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300;1,400&display=swap');

:root {
  --bg-light: #FAF5F0;
  --bg-white: #FFFFFF;
  --bg-dark: #141414;
  --bg-dark-card: #1e1e1e;

  --text-dark: #1a1a1a;
  --text-body: #3d3d3d;
  --text-secondary: #6b6b6b;
  --text-muted: #9ca3af;
  --text-light: #f5f5f5;
  --text-light-muted: #888;

  --accent: #EA580C;
  --accent-hover: #F97316;
  --accent-light: #FFF3EB;
  --accent-glow: rgba(234,88,12,0.12);

  --border: rgba(0,0,0,0.08);
  --border-dark: rgba(255,255,255,0.1);

  --green: #16a34a;
  --green-bg: #dcfce7;
  --red: #dc2626;
  --red-bg: #fee2e2;
}

*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  background: var(--bg-light);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3 { color: var(--text-dark); line-height: 1.15; }
a { color: inherit; text-decoration: none; }

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

/* ============ NAV ============ */
.nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,245,240,0.65);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav-wrapper.scrolled {
  background: rgba(250,245,240,0.85);
  box-shadow: 0 1px 12px rgba(0,0,0,0.04);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 1.4rem; color: var(--text-dark);
  display: flex; align-items: center; gap: 0.5rem;
}

.beta-badge {
  font-size: 0.6rem; font-weight: 700;
  background: var(--accent); color: #fff;
  padding: 0.2rem 0.5rem; border-radius: 4px;
  text-transform: uppercase; letter-spacing: 0.08em;
}

.nav-tagline {
  font-family: 'DM Serif Display', serif;
  font-style: italic; font-size: 0.9rem; color: var(--text-secondary);
}

.btn-nav {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 0.85rem;
  padding: 0.6rem 1.4rem;
  background: var(--text-dark); color: #fff;
  border: none; border-radius: 6px; cursor: pointer;
  transition: background 0.2s;
}
.btn-nav:hover { background: #333; }

/* ============ LIVE BAR ============ */
.live-bar {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text-secondary); padding: 2.5rem 0 0;
}

.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red); display: inline-block;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(220,38,38,0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 4px rgba(220,38,38,0); }
}

/* ============ HERO ============ */
.hero { padding: 1rem 0 4rem; }

.hero-pretitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.15rem; color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  font-weight: 400; letter-spacing: -0.02em;
  margin-bottom: 0.25rem; line-height: 1.05;
}

.hero h1 .accent-italic {
  color: var(--accent);
  font-style: italic;
  display: block;
}

.hero-desc {
  font-size: 1.1rem; color: var(--text-secondary);
  max-width: 500px; margin: 1.5rem 0 2.5rem; line-height: 1.65;
}

/* Inline email form */
.inline-form {
  display: flex; gap: 0; max-width: 560px;
}

.inline-form input {
  flex: 1;
  padding: 1rem 1.2rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.95rem;
  border: 1px solid var(--border); border-right: none;
  border-radius: 8px 0 0 8px; background: var(--bg-white);
  color: var(--text-dark);
}
.inline-form input::placeholder { color: var(--text-muted); }
.inline-form input:focus { outline: none; border-color: var(--accent); }

.btn-cta {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 0.95rem;
  padding: 1rem 1.8rem; white-space: nowrap;
  background: var(--accent); color: #fff;
  border: none; border-radius: 0 8px 8px 0; cursor: pointer;
  transition: background 0.2s;
}
.btn-cta:hover { background: var(--accent-hover); }

.form-trust {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.78rem; color: var(--text-muted);
  margin-top: 0.75rem;
  font-family: 'Space Grotesk', sans-serif;
}

/* Stats Row */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2rem; padding: 4rem 0; margin-top: 2rem;
  border-top: 1px solid var(--border);
}

.stat-item { text-align: center; }

.stat-number {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-dark); font-weight: 400;
}

.stat-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.65rem; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--text-muted); margin-top: 0.25rem;
}

/* ============ PROBLEMS SECTION ============ */
.section-light { background: var(--bg-light); padding: 6rem 0; }
.section-dark { background: var(--bg-dark); padding: 6rem 0; color: var(--text-light); }

.section-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--accent); display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 1rem;
}

.section-label .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.section-title-serif {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400; margin-bottom: 0.75rem;
}

.section-sub {
  font-size: 1rem; color: var(--text-secondary); margin-bottom: 3rem;
}

/* Problem Cards */
.problems-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.problem-card {
  background: var(--bg-white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 2rem 2.25rem;
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow:
    0 1px 2px rgba(0,0,0,0.03),
    0 4px 16px rgba(0,0,0,0.02);
  position: relative;
  overflow: hidden;
}

/* Subtle left accent on hover */
.problem-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 0 3px 3px 0;
}

.problem-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 8px 24px rgba(0,0,0,0.05),
    0 20px 48px rgba(0,0,0,0.04);
  border-color: rgba(234,88,12,0.15);
}

.problem-card:hover::before {
  opacity: 1;
}

.problem-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.problem-id {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem; color: var(--text-muted);
  letter-spacing: 0.06em;
  font-weight: 500;
}

.trend-badge {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.68rem; font-weight: 600;
  padding: 0.3rem 0.75rem; border-radius: 100px;
  display: inline-flex; align-items: center; gap: 0.35rem;
}
.trend-badge.up { background: var(--green-bg); color: var(--green); }
.trend-badge.critical { background: var(--red-bg); color: var(--red); }

.reported-by {
  font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 1rem;
}
.reported-by strong { color: var(--text-dark); font-weight: 600; }

.problem-quote {
  font-family: 'DM Serif Display', serif;
  font-size: 1.05rem; color: var(--text-dark);
  line-height: 1.55; margin-bottom: 1.5rem;
  font-weight: 400;
}

.problem-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(0,0,0,0.04);
}

.tag-group { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.tag {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.68rem; font-weight: 500;
  padding: 0.3rem 0.75rem;
  background: var(--bg-light);
  border: 1px solid rgba(0,0,0,0.06); border-radius: 6px;
  color: var(--text-secondary);
}

.urgency-badge {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.68rem; font-weight: 600;
  padding: 0.3rem 0.75rem; border-radius: 100px;
  display: inline-flex; align-items: center; gap: 0.35rem;
}
.urgency-badge.high { background: var(--green-bg); color: var(--green); }
.urgency-badge.very-high { background: var(--red-bg); color: var(--red); }

/* ============ HOW IT WORKS (DARK) ============ */
.how-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 3rem; gap: 4rem;
}
.how-header h2 { color: var(--text-light); max-width: 500px; }
.how-header p { color: var(--text-light-muted); max-width: 300px; text-align: right; font-size: 0.95rem; }

.how-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.how-card {
  background: var(--bg-white);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  color: var(--text-dark);
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(0,0,0,0.04),
    0 4px 16px rgba(0,0,0,0.03);
}

.how-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.how-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 12px 32px rgba(0,0,0,0.08),
    0 24px 56px rgba(0,0,0,0.06);
}

.how-card:hover::before { opacity: 1; }

.how-step {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem; color: var(--text-muted); margin-bottom: 1.5rem;
  font-weight: 500; letter-spacing: 0.05em;
}

.how-icon {
  font-size: 1.5rem; margin-bottom: 1rem; color: var(--accent);
}

.how-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem; font-weight: 400; margin-bottom: 0.75rem;
}

.how-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.55; }

/* ============ COMPARISON TABLE (DARK) ============ */
.comparison-table {
  width: 100%; border-collapse: collapse; margin-top: 3rem;
}
.comparison-table th, .comparison-table td {
  text-align: left; padding: 1rem 1.5rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
  border-bottom: 1px solid var(--border-dark);
}
.comparison-table th {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 0.85rem;
  color: var(--text-light-muted);
}
.comparison-table th:first-child { color: transparent; }

.comparison-table .gripr-col {
  background: rgba(234,88,12,0.08);
  color: var(--text-light); font-weight: 500;
}
.comparison-table .gripr-header {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; color: var(--accent); font-size: 1rem;
  border-bottom: 2px solid var(--accent);
}
.comparison-table .other-col { color: var(--text-light-muted); }
.comparison-table .row-label {
  color: var(--text-light-muted); font-size: 0.85rem;
}

/* ============ EARLY ACCESS (SPLIT) ============ */
.early-access-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: start; padding: 6rem 0;
}

.ea-left h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400; margin-bottom: 0.25rem;
}
.ea-left .accent-italic {
  font-family: 'DM Serif Display', serif;
  font-style: italic; color: var(--accent);
  font-size: clamp(2rem, 4vw, 2.8rem); display: block; margin-bottom: 1.5rem;
}

.ea-left p { color: var(--text-secondary); margin-bottom: 1.5rem; line-height: 1.6; }

.ea-urgency {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem; font-weight: 600; color: var(--accent);
  margin-bottom: 2rem;
}

.ea-features { list-style: none; }
.ea-features li {
  font-size: 0.95rem; padding: 0.4rem 0;
  display: flex; align-items: center; gap: 0.75rem;
  color: var(--text-body);
}

/* Right form card */
.ea-form-card {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: 16px; padding: 2rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}

.ea-progress-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 0.5rem;
}
.ea-progress-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-muted);
}
.ea-progress-count {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem; font-weight: 700; color: var(--accent);
}
.ea-progress-bar {
  height: 4px; background: #eee; border-radius: 100px;
  overflow: hidden; margin-bottom: 0.4rem;
}
.ea-progress-fill { height: 100%; width: 68%; background: var(--accent); border-radius: 100px; }
.ea-progress-sub {
  font-size: 0.7rem; color: var(--text-muted); margin-bottom: 1.5rem;
}

.ea-form-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem; font-weight: 700; margin-bottom: 0.3rem;
  color: var(--text-dark);
}
.ea-form-card .form-sub { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 1.25rem; }

.ea-form-card input[type="email"] {
  width: 100%; padding: 0.9rem 1rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
  border: 1px solid var(--border); border-radius: 8px;
  background: var(--bg-white); color: var(--text-dark);
  margin-bottom: 0.75rem;
}
.ea-form-card input:focus { outline: none; border-color: var(--accent); }

.btn-cta-full {
  width: 100%; padding: 0.9rem;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: 0.95rem; background: var(--accent); color: #fff;
  border: none; border-radius: 8px; cursor: pointer;
  transition: background 0.2s;
}
.btn-cta-full:hover { background: var(--accent-hover); }

.ea-form-trust {
  display: flex; gap: 1rem; margin-top: 0.75rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem; color: var(--text-muted);
}

/* ============ FINAL CTA (DARK) ============ */
.final-cta {
  text-align: center; padding: 6rem 2rem;
}
.final-cta h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--text-light); font-weight: 400; margin-bottom: 0.25rem;
}
.final-cta .accent-italic {
  font-family: 'DM Serif Display', serif;
  font-style: italic; color: var(--accent);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  display: block; margin-bottom: 2rem;
}
.final-cta p { color: var(--text-light-muted); max-width: 500px; margin: 0 auto 2.5rem; font-size: 0.95rem; }

.btn-cta-round {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: 1rem; padding: 1rem 2.5rem;
  background: var(--accent); color: #fff;
  border: none; border-radius: 8px; cursor: pointer;
  display: inline-block; transition: background 0.2s;
}
.btn-cta-round:hover { background: var(--accent-hover); }

.final-trust {
  font-size: 0.75rem; color: var(--text-light-muted);
  margin-top: 1rem;
  font-family: 'Space Grotesk', sans-serif;
}

/* ============ FOOTER ============ */
footer {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 4rem 0; border-top: 1px solid rgba(255,255,255,0.06);
  font-family: 'Space Grotesk', sans-serif; font-size: 0.85rem;
}
.footer-left { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-right { text-align: right; display: flex; flex-direction: column; gap: 1rem; }

footer .footer-logo { font-weight: 700; font-size: 1.4rem; color: var(--text-light); }
footer .footer-tagline { font-family: 'DM Serif Display', serif; font-style: italic; color: var(--text-light-muted); font-size: 1rem; }
.copyright { color: var(--text-light-muted); font-size: 0.75rem; margin-top: 1rem; }

.footer-links { display: flex; gap: 1.5rem; justify-content: flex-end; }
.footer-links a { color: var(--text-light-muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
footer .footer-location { color: var(--text-light-muted); font-weight: 500; }

/* ============ ANIMATIONS ============ */
.fade-in {
  opacity: 0; transform: translateY(25px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */

/* Tablet & Small Laptop */
@media (max-width: 1024px) {
  .container { padding: 0 1.5rem; }
  .how-header { gap: 2rem; }
  .early-access-split { gap: 2.5rem; }
}

/* Mobile */
@media (max-width: 768px) {
  .container { padding: 0 1.5rem; }

  /* Nav */
  .nav-tagline { display: none; }
  nav { padding: 0.75rem 1.5rem; }
  .nav-logo { font-size: 1.2rem; }
  .btn-nav { font-size: 0.75rem; padding: 0.5rem 1rem; }

  /* Hero */
  .hero { padding: 2.5rem 0 2rem; text-align: center; }
  .hero h1 { font-size: 2.6rem; margin-bottom: 1rem; }
  .hero h1 .accent-italic { font-size: 2.6rem; display: block; }
  .hero-pretitle { font-size: 0.95rem; margin: 0 auto; }
  .hero-desc { font-size: 0.95rem; margin: 1rem auto 1.5rem; line-height: 1.5; }

  .live-bar { font-size: 0.62rem; margin-bottom: 1.25rem; justify-content: center; width: 100%; }

  /* Sleeker Hero Form on Mobile */
  .inline-form {
    flex-direction: column;
    gap: 0.5rem;
    background: transparent;
    border: none;
    padding: 0;
  }
  .inline-form input {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    text-align: center;
  }
  .btn-cta {
    border-radius: 8px;
    padding: 0.6rem;
    font-size: 0.95rem;
  }

  .form-trust {
    flex-direction: column;
    gap: 0.4rem;
    align-items: center;
    font-size: 0.75rem;
    margin-top: 1.25rem;
  }

  /* Stats */
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1rem;
    padding: 3rem 0;
  }
  .stat-number { font-size: 2.2rem; }

  /* Section spacing */
  .section-light, .section-dark { padding: 5rem 0; }
  .section-title-serif { font-size: 2rem; }

  /* Problem cards */
  .problems-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .problem-card { padding: 1.75rem; }
  .problem-quote { font-size: 1.1rem; }
  .problem-footer { flex-direction: column; align-items: flex-start; gap: 0.75rem; }

  /* How It Works */
  .how-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .how-header {
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
  }
  .how-header h2 { font-size: 2.2rem; }
  .how-header p { text-align: left; max-width: 100%; }

  /* Comparison Table */
  .comparison-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    border-radius: 12px;
  }

  /* Early Access */
  .early-access-split {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 5rem 0;
  }
  .ea-left h2, .ea-left .accent-italic { font-size: 2.2rem; }
  .ea-form-card { padding: 2rem 1.5rem; }

  /* Final CTA */
  .final-cta h2, .final-cta .accent-italic { font-size: 2.2rem; }

  /* Footer */
  footer {
    flex-direction: column;
    gap: 2.5rem;
    text-align: left;
    padding: 4rem 0;
  }
  .footer-right { text-align: left; }
  .footer-links { justify-content: flex-start; }
}

/* Small phones */
@media (max-width: 480px) {
  .hero h1 { font-size: 2.4rem; }
  .hero h1 .accent-italic { font-size: 2.4rem; }
  .stat-number { font-size: 1.8rem; }
  .btn-cta-round { width: 100%; text-align: center; }
}