/* ── Reset & Base ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1e293b;
  line-height: 1.6;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; }

/* ── Container ───────────────────────────────────── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; }

/* ── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-block; font-weight: 600; border-radius: 8px;
  cursor: pointer; transition: all 0.2s; border: 2px solid transparent;
  text-align: center; font-size: 15px; padding: 10px 24px;
}
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-lg { padding: 14px 32px; font-size: 17px; }
.btn-primary { background: #f4821f; color: #fff; border-color: #f4821f; font-weight: 700; }
.btn-primary:hover { background: #e07318; border-color: #e07318; transform: translateY(-1px); }
.btn-outline { background: transparent; color: #004e6e; border-color: #004e6e; }
.btn-outline:hover { background: #004e6e; color: #fff; }
.btn-white { background: #fff; color: #004e6e; border-color: #fff; }
.btn-white:hover { background: #f0f0ff; }
.btn-block { display: block; width: 100%; }
.btn-ghost { background: transparent; color: #666; border-color: #ddd; }
.btn-ghost:hover { border-color: #004e6e; color: #004e6e; }

/* ── Nav ─────────────────────────────────────────── */
.nav {
  background: rgba(255,255,255,0.95);
  border-bottom: 1px solid #eee; padding: 12px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 20px; font-weight: 800; color: #004e6e; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 14px; font-weight: 500; color: #555; transition: color 0.2s; }
.nav-links a:hover { color: #004e6e; }
.mobile-menu-btn {
  display: none; background: none; border: none; font-size: 24px; cursor: pointer;
}
.mobile-menu {
  display: none; flex-direction: column; padding: 16px 24px; gap: 12px;
  border-top: 1px solid #eee;
}
.mobile-menu a { font-size: 15px; color: #333; padding: 8px 0; }
.hidden { display: none !important; }

/* ── Hero ────────────────────────────────────────── */
.hero {
  padding: 140px 0 80px; text-align: center;
  background: linear-gradient(180deg, #e6f3f8 0%, #fff 100%);
}
.hero-badge {
  display: inline-block; background: #eef2ff; color: #004e6e;
  padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 600;
  margin-bottom: 24px;
}
.hero h1 { font-size: 52px; font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.gradient-text {
  background: linear-gradient(135deg, #004e6e, #003d58);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 19px; color: #555; max-width: 620px; margin: 0 auto 32px; line-height: 1.6;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; margin-bottom: 48px; }
.hero-stats { display: flex; justify-content: center; gap: 0; }
.stat { text-align: center; padding: 0 32px; }
.stat strong { display: block; font-size: 22px; font-weight: 700; color: #004e6e; }
.stat span { font-size: 13px; color: #888; }
.stat-divider { width: 1px; background: #ddd; }

/* ── Sections ────────────────────────────────────── */
.section { padding: 80px 0; }
.bg-light { background: #e6f3f8; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 36px; font-weight: 800; margin-bottom: 12px; }
.section-header p { font-size: 18px; color: #666; }

/* ── Problem / Solution ──────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.col {
  background: #fff; padding: 36px; border-radius: 12px;
  border: 1px solid #eee;
}
.col-icon { font-size: 36px; margin-bottom: 16px; }
.col h3 { font-size: 22px; font-weight: 700; margin-bottom: 16px; }
.col ul { display: flex; flex-direction: column; gap: 10px; }
.col li { font-size: 15px; color: #555; padding-left: 8px; }
.problem { border-top: 3px solid #ef4444; }
.problem li::before { content: "✗ "; color: #ef4444; font-weight: 700; }
.solution { border-top: 3px solid #22c55e; }
.solution li::before { content: "✓ "; color: #22c55e; font-weight: 700; }

/* ── Features Grid ───────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: #fff; padding: 32px; border-radius: 12px;
  border: 1px solid #eee; transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,78,110,0.08); }
.feature-icon { font-size: 32px; margin-bottom: 16px; }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: #666; line-height: 1.6; }

/* ── Steps ───────────────────────────────────────── */
.steps { display: flex; align-items: flex-start; justify-content: center; gap: 12px; }
.step {
  flex: 1; max-width: 280px; text-align: center; padding: 32px 24px;
  background: #fff; border-radius: 12px; border: 1px solid #eee;
}
.step-number {
  width: 48px; height: 48px; border-radius: 50%; background: #004e6e; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700; margin: 0 auto 16px;
}
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; color: #666; }
.step-arrow { font-size: 28px; color: #ccc; padding-top: 50px; }

/* ── Pricing ─────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 960px; margin: 0 auto; }
.pricing-card {
  background: #fff; border: 2px solid #eee; border-radius: 16px;
  padding: 36px 28px; text-align: center; position: relative; transition: transform 0.2s;
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card.popular { border-color: #004e6e; box-shadow: 0 8px 32px rgba(0,78,110,0.12); }
.popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: #004e6e; color: #fff; padding: 4px 20px; border-radius: 20px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
}
.pricing-name { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.pricing-price { margin-bottom: 8px; }
.price-amount { font-size: 48px; font-weight: 800; color: #1e293b; }
.price-period { font-size: 18px; color: #888; font-weight: 500; }
.pricing-desc { font-size: 14px; color: #888; margin-bottom: 24px; }
.pricing-features { margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.pricing-features li { font-size: 14px; color: #444; text-align: left; }
.pricing-note { font-size: 12px; color: #999; margin-top: 12px; }
.pricing-enterprise { text-align: center; margin-top: 32px; font-size: 16px; color: #666; }
.pricing-enterprise a { color: #004e6e; font-weight: 600; }

/* ── FAQ ─────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item { border: 1px solid #eee; border-radius: 10px; overflow: hidden; }
.faq-q {
  width: 100%; padding: 18px 20px; background: #fff; border: none;
  font-size: 15px; font-weight: 600; text-align: left; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  color: #1e293b; transition: background 0.2s;
}
.faq-q:hover { background: #e6f3f8; }
.faq-arrow { font-size: 20px; color: #999; transition: transform 0.2s; }
.faq-item.open .faq-arrow { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 20px 18px; }
.faq-item.open .faq-a { display: block; }
.faq-a p { font-size: 14px; color: #666; line-height: 1.7; }
.faq-a a { color: #004e6e; }

/* ── CTA Section ─────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, #1e293b, #003d58);
  color: #fff;
}
.cta-section h2 { font-size: 36px; font-weight: 800; }

/* ── Footer ──────────────────────────────────────── */
.footer { background: #1e293b; color: #aaa; padding: 48px 0 24px; }
.footer-inner { display: flex; justify-content: space-between; gap: 48px; margin-bottom: 32px; }
.footer-brand p { margin-top: 8px; font-size: 13px; }
.footer-links { display: flex; gap: 64px; }
.footer-links h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.footer-links a { display: block; font-size: 13px; color: #888; margin-bottom: 8px; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #2a2a4a; padding-top: 16px; font-size: 12px; color: #666; }

/* ── Auth Pages ──────────────────────────────────── */
.auth-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #e6f3f8 0%, #fff 100%);
  padding: 24px;
}
.auth-card {
  background: #fff; padding: 40px; border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06); width: 100%; max-width: 420px;
}
.auth-card h1 { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.auth-card .subtitle { color: #888; font-size: 14px; margin-bottom: 28px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: #444; margin-bottom: 6px; }
.form-group input, .form-group select {
  width: 100%; padding: 11px 14px; border: 1.5px solid #ddd; border-radius: 8px;
  font-size: 14px; transition: border-color 0.2s; font-family: inherit;
}
.form-group input:focus, .form-group select:focus { outline: none; border-color: #004e6e; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-error { color: #ef4444; font-size: 13px; margin-top: 4px; display: none; }
.form-footer { text-align: center; margin-top: 20px; font-size: 13px; color: #888; }
.form-footer a { color: #004e6e; font-weight: 600; }
.alert { padding: 12px 16px; border-radius: 8px; font-size: 13px; margin-bottom: 16px; display: none; }
.alert-error { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.alert-success { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }

/* ── Success Page ────────────────────────────────── */
.success-page { text-align: center; padding: 120px 24px 60px; }
.success-icon { font-size: 64px; margin-bottom: 20px; }
.success-page h1 { font-size: 32px; margin-bottom: 12px; }
.success-page p { color: #666; max-width: 500px; margin: 0 auto 24px; }
.key-display {
  background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 8px;
  padding: 16px; font-family: monospace; font-size: 14px; word-break: break-all;
  margin: 20px auto; max-width: 500px; position: relative;
}
.key-display .copy-btn {
  position: absolute; top: 8px; right: 8px; background: #004e6e; color: #fff;
  border: none; padding: 4px 12px; border-radius: 6px; cursor: pointer; font-size: 12px;
}

/* ── Account Page ────────────────────────────────── */
.account-page { padding: 100px 24px 60px; }
.account-header { margin-bottom: 32px; }
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.account-card {
  background: #fff; padding: 28px; border-radius: 12px;
  border: 1px solid #eee;
}
.account-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 16px; }

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .mobile-menu:not(.hidden) { display: flex; }
  .hero { padding: 110px 0 60px; }
  .hero h1 { font-size: 32px; }
  .hero-sub { font-size: 16px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .stat-divider { display: none; }
  .two-col, .features-grid, .pricing-grid, .account-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); padding: 0; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-links { gap: 32px; flex-wrap: wrap; }
  .form-row { grid-template-columns: 1fr; }
}
