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

:root {
  --primary: #0052cc;
  --primary-hover: #0041a8;
  --bg: #f4f5f7;
  --surface: #fff;
  --text: #172b4d;
  --text-muted: #6b778c;
  --border: #dfe1e6;
  --radius: 8px;
  --teal: #00d2cb;
  --amber: #fbc101;
  --purple: #8d48f4;
  --grad: linear-gradient(135deg, #1e4060 0%, #3d2e90 100%);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}

/* ── Nav ── */

.site-nav {
  background: var(--grad);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo img {
  height: 52px;
  width: auto;
  display: block;
}

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

.nav-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s;
}

.nav-links a:hover { color: #fff; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-nav {
  background: rgba(255,255,255,0.18);
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
  display: inline-block;
}

.btn-nav:hover { background: rgba(255,255,255,0.3); }

/* ── Buttons ── */

.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.btn-primary:hover { background: var(--primary-hover); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--primary);
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

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

/* ── Hero ── */

.hero {
  text-align: center;
  padding: 96px 24px 80px;
  background: linear-gradient(180deg, #f0f4ff 0%, #fff 100%);
}

.hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 20px;
}

.hero h1 span { color: var(--primary); }

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

.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Section wrapper ── */

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 24px;
}

.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 48px;
}

/* ── Features grid ── */

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.feature-icon--teal  { background: color-mix(in srgb, var(--teal) 14%, #fff); }
.feature-icon--amber { background: color-mix(in srgb, var(--amber) 14%, #fff); }
.feature-icon--purple { background: color-mix(in srgb, var(--purple) 14%, #fff); }

.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 15px; color: var(--text-muted); line-height: 1.6; }

/* ── CTA banner ── */

.cta-banner {
  background: var(--grad);
  color: #fff;
  text-align: center;
  padding: 72px 24px;
}

.cta-banner h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.cta-banner p {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
}

.btn-white {
  display: inline-block;
  background: #fff;
  color: #1e4060;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
}

.btn-white:hover { opacity: 0.9; }

/* ── Pricing grid ── */

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

.plan-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px;
  position: relative;
  transition: box-shadow 0.2s;
}

.plan-card.featured {
  border-color: var(--amber);
  box-shadow: 0 12px 40px rgba(251,193,1,0.2);
  transform: scale(1.03);
}

.plan-badge {
  display: inline-block;
  background: var(--amber);
  color: #7d5200;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.plan-accent-bar {
  height: 4px;
  border-radius: 4px;
  margin-bottom: 24px;
}

.plan-name {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}

.plan-price .amount {
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px;
}

.plan-price .currency {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-muted);
  align-self: flex-start;
  margin-top: 10px;
}

.plan-price .period {
  font-size: 14px;
  color: var(--text-muted);
}

.plan-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  min-height: 40px;
}

.plan-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin-bottom: 24px;
}

.plan-features {
  list-style: none;
  margin-bottom: 32px;
}

.plan-features li {
  font-size: 14px;
  padding: 7px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.plan-features li::before {
  content: '✓';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.plan-card--free .plan-features li::before   { background: color-mix(in srgb, var(--teal) 15%, #fff);   color: #007a76; }
.plan-card--plus .plan-features li::before   { background: color-mix(in srgb, var(--amber) 15%, #fff);  color: #7d5200; }
.plan-card--smart .plan-features li::before  { background: color-mix(in srgb, var(--purple) 15%, #fff); color: #5a2ab5; }

.plan-cta {
  display: block;
  text-align: center;
  padding: 13px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.15s, background 0.15s;
}

.plan-card--free .plan-cta  { background: color-mix(in srgb, var(--teal) 12%, #fff); color: #007a76; border: 2px solid var(--teal); }
.plan-card--plus .plan-cta  { background: var(--primary); color: #fff; border: 2px solid var(--primary); }
.plan-card--smart .plan-cta { background: var(--purple); color: #fff; border: 2px solid var(--purple); }

.plan-cta:hover { opacity: 0.85; }

/* ── About page ── */

.about-hero {
  background: var(--grad);
  color: #fff;
  padding: 80px 24px 64px;
  text-align: center;
}

.about-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.about-hero p {
  font-size: 19px;
  color: rgba(255,255,255,0.82);
  max-width: 540px;
  margin: 0 auto;
}

.about-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 24px;
}

.about-body h2 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}

.about-body p {
  font-size: 16px;
  color: #374151;
  line-height: 1.8;
  margin-bottom: 36px;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.value-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 20px;
}

.value-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ── Footer ── */

.site-footer {
  background: #0f1923;
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 32px 24px;
  font-size: 14px;
}

.site-footer a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.15s;
}

.site-footer a:hover { color: #fff; }

.footer-links { margin-bottom: 8px; }

/* ── Responsive ── */

@media (max-width: 768px) {
  .features-grid,
  .pricing-grid,
  .about-values {
    grid-template-columns: 1fr;
  }

  .plan-card.featured { transform: none; }

  .site-nav { padding: 0 16px; }
  .nav-links { display: none; }

  .hero { padding: 64px 16px 56px; }
  .section { padding: 48px 16px; }
}
