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

:root {
  --primary: #0070CC;
  --primary-dark: #004688;
  --primary-light: #D4E8FF;
  --bg: #F8FAFE;
  --surface: #FFFFFF;
  --text: #1A1C1E;
  --text-secondary: #44474E;
  --text-muted: #526070;
  --outline: #B0B8C4;
  --outline-light: #D8DDE6;
  --error: #BA1A1A;
  --success: #2E7D32;
  --success-bg: #E8F5E9;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Nav */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 254, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--outline-light);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.nav-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

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

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

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

.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 10px;
  font-weight: 600;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: var(--primary-dark);
}

/* Hero */
.hero {
  max-width: 1080px;
  margin: 0 auto;
  padding: 80px 24px 60px;
  text-align: center;
}

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--primary), #3BA0FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 20px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 600;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  text-decoration: none;
  color: #fff;
}

.btn-outline {
  background: var(--surface);
  color: var(--text);
  border: 1.5px solid var(--outline-light);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  text-decoration: none;
}

/* Features */
.features {
  max-width: 1080px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.features h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
}

.features > p {
  text-align: center;
  color: var(--text-muted);
  font-size: 18px;
  margin-bottom: 48px;
}

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--outline-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(0, 112, 204, 0.08);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}

.feature-icon.blue { background: #E3F0FF; }
.feature-icon.green { background: #E8F5E9; }
.feature-icon.orange { background: #FFF3E0; }
.feature-icon.purple { background: #F3E5F5; }
.feature-icon.teal { background: #E0F7FA; }
.feature-icon.red { background: #FCE4EC; }

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

.feature-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.5;
}

/* Pricing */
.pricing {
  max-width: 1080px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.pricing h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
}

.pricing > p {
  text-align: center;
  color: var(--text-muted);
  font-size: 18px;
  margin-bottom: 48px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.pricing-card {
  background: var(--surface);
  border: 1.5px solid var(--outline-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pricing-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(0, 112, 204, 0.08);
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(0, 112, 204, 0.12);
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.pricing-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.pricing-price {
  font-size: 40px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-price span {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-period {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 24px;
}

.pricing-features li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-features li::before {
  content: "✓";
  color: var(--success);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
  padding: 12px 20px;
  font-size: 15px;
}

/* Rates */
.rates {
  background: var(--surface);
  border: 1px solid var(--outline-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 720px;
  margin: 0 auto;
}

.rates h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
}

.rates > p {
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 24px;
}

.rates-table {
  width: 100%;
  border-collapse: collapse;
}

.rates-table th {
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--outline-light);
}

.rates-table td {
  font-size: 14px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--outline-light);
  color: var(--text-secondary);
}

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

.rates-table .rate {
  font-weight: 600;
  color: var(--text);
}

/* How it works */
.how-it-works {
  max-width: 1080px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.how-it-works h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 48px;
}

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

.step {
  text-align: center;
  padding: 24px;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 20px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  color: var(--text-muted);
  font-size: 15px;
}

/* CTA */
.cta-section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 60px 24px 80px;
  text-align: center;
}

.cta-box {
  background: linear-gradient(135deg, var(--primary), #3BA0FF);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  color: #fff;
}

.cta-box h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-box p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 28px;
}

.cta-box .btn {
  background: #fff;
  color: var(--primary);
}

.cta-box .btn:hover {
  background: var(--primary-light);
  text-decoration: none;
}

/* Footer */
footer {
  border-top: 1px solid var(--outline-light);
  padding: 40px 24px;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-inner p {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

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

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

/* Privacy page */
.privacy {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.privacy h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 8px;
}

.privacy .updated {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 40px;
}

.privacy h2 {
  font-size: 22px;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 12px;
}

.privacy p {
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.privacy ul {
  margin: 0 0 16px 20px;
  color: var(--text-secondary);
}

.privacy li {
  margin-bottom: 8px;
}

/* FAQ */
.faq {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.faq h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 40px;
  text-align: center;
}

.faq-section {
  margin-bottom: 36px;
}

.faq-section h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--outline-light);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  transition: border-color 0.2s;
}

.faq-item[open] {
  border-color: var(--primary);
}

.faq-item summary {
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--text-muted);
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item p {
  padding: 0 20px 16px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

.faq-item a {
  color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 17px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 480px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-box {
    padding: 40px 24px;
  }
}
