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

:root {
  --bg: #0a0f0d;
  --bg-card: #141a17;
  --accent: #00e094;
  --accent-dim: rgba(0, 224, 148, 0.15);
  --text: #f0f0f0;
  --text-secondary: #9ca3af;
  --border: #1f2937;
  --max-width: 1100px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.8;
}

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

/* ===== Nav ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 15, 13, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.nav-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  background: var(--accent);
  color: var(--bg) !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 600 !important;
}

.nav-cta:hover {
  opacity: 0.9 !important;
}

/* ===== Hero ===== */
.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 120px 24px 80px;
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-content {
  flex: 1;
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.badge-link {
  display: inline-flex;
  align-items: center;
}

.badge-img {
  height: 44px;
}

.badge-coming-soon {
  opacity: 0.5;
  pointer-events: none;
}

.badge-placeholder {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

.hero-screenshots {
  flex-shrink: 0;
  position: relative;
  width: 280px;
  height: 500px;
}

.phone-frame {
  position: absolute;
  width: 240px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 2px solid var(--border);
  z-index: 2;
}

.phone-frame-back {
  top: 40px;
  left: 60px;
  z-index: 1;
  opacity: 0.7;
  transform: scale(0.95);
}

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

/* ===== Features ===== */
.features {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px;
}

.features h2 {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: -1px;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.2s;
}

.feature-card:hover {
  border-color: var(--accent);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== States ===== */
.states {
  padding: 80px 24px;
  text-align: center;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.states h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -1px;
}

.states-subtitle {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 32px;
}

.winter-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 480px;
  margin: 24px 0 0;
  padding: 14px 18px;
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.3);
  border-radius: 12px;
  text-align: left;
}

.winter-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.winter-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.winter-text strong {
  font-size: 15px;
  color: #00b4d8;
}

.winter-text span {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.states-table-wrap {
  max-width: 560px;
  margin: 0 auto 24px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.states-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.states-table thead {
  background: rgba(0, 224, 148, 0.1);
}

.states-table th {
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent);
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.states-table th:not(:first-child) {
  text-align: center;
}

.states-table td {
  padding: 10px 16px;
  border-bottom: 1px solid rgba(31, 41, 55, 0.5);
}

.states-table td:not(:first-child) {
  text-align: center;
}

.states-table tbody tr:last-child td {
  border-bottom: none;
}

.state-active {
  background: rgba(0, 224, 148, 0.05);
}

.state-active td:first-child {
  font-weight: 600;
  color: var(--text);
}

.state-soon td:first-child {
  color: var(--text-secondary);
}

td.check {
  color: var(--accent);
  font-size: 18px;
  font-weight: 700;
}

td.soon {
  color: var(--text-secondary);
  font-size: 12px;
  opacity: 0.5;
}

.states-coming {
  color: var(--text-secondary);
  font-size: 14px;
  font-style: italic;
}

/* ===== Pricing ===== */
.pricing {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}

.pricing h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -1px;
}

.pricing-subtitle {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 40px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.pricing-card-featured {
  border-color: var(--accent);
  box-shadow: 0 0 24px rgba(0, 224, 148, 0.12);
}

.pricing-card-soon {
  opacity: 0.7;
}

.pricing-card-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
}

.pricing-card-header h3 {
  font-size: 20px;
  font-weight: 700;
}

.pricing-card-featured .pricing-card-header h3 {
  color: var(--accent);
}

.pricing-amount {
  font-size: 22px;
  font-weight: 700;
}

.pricing-card-featured .pricing-amount {
  color: var(--accent);
}

.pricing-period {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
}

.pricing-trial {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  margin-top: -10px;
  margin-bottom: 14px;
}

.pricing-badge-soon {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 3px 10px;
  border-radius: 8px;
}

.pricing-features {
  list-style: none;
  flex: 1;
}

.pricing-features li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 5px 0;
  padding-left: 20px;
  position: relative;
}

.pricing-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
}

.pricing-card-soon .pricing-features li::before {
  content: '\2013';
  color: var(--text-secondary);
}

.pricing-lock {
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
  margin-top: 16px;
  text-align: center;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* ===== Download CTA ===== */
.download {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}

.download h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.download p {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 32px;
}

.download .hero-badges {
  justify-content: center;
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 24px 32px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer-tagline {
  font-size: 16px;
  color: var(--text-secondary);
  font-style: italic;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.footer-social a {
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-social a:hover {
  color: var(--accent);
}

.footer-legal {
  font-size: 12px;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 12px;
  opacity: 0.7;
}

.footer-copyright {
  font-size: 12px;
  color: var(--text-secondary);
  opacity: 0.5;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    padding: 100px 20px 60px;
    text-align: center;
    gap: 40px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
    max-width: 100%;
  }

  .hero-badges {
    justify-content: center;
  }

  .winter-banner {
    margin: 24px auto 0;
  }

  .hero-screenshots {
    width: 220px;
    height: 400px;
  }

  .phone-frame {
    width: 190px;
  }

  .phone-frame-back {
    left: 50px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .features h2,
  .states h2,
  .download h2,
  .pricing h2 {
    font-size: 28px;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
  }

  .hero-screenshots {
    width: 180px;
    height: 340px;
  }

  .phone-frame {
    width: 160px;
  }

  .phone-frame-back {
    left: 40px;
  }
}
