/* ── Reset & Base ─────────────────────────────────────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #0f172a;
  background: #ffffff;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Header ───────────────────────────────────────────────────────────────── */
header {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 #e2e8f0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: #1d4ed8;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.logo-text {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
}

.logo-text span { color: #1d4ed8; }

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

.nav-links a {
  color: #475569;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover { color: #1d4ed8; }
.nav-links a.active {
  color: #1d4ed8;
  border-bottom-color: #1d4ed8;
  font-weight: 700;
}

.btn-nav {
  background: #1d4ed8 !important;
  color: white !important;
  padding: 10px 22px;
  border-radius: 10px;
  font-weight: 700 !important;
  border-bottom: none !important;
  transition: all 0.2s !important;
}

.btn-nav:hover {
  background: #1e40af !important;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #0f172a;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 8px 0;
  border-top: 1px solid #e2e8f0;
  margin-top: 12px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  padding: 14px 0;
  color: #475569;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  border-bottom: 1px solid #f1f5f9;
}

/* ── Hero (Home) ──────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #1d4ed8 0%, #4f46e5 50%, #7c3aed 100%);
  padding: 100px 0 80px;
  text-align: center;
  color: white;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 28px;
  letter-spacing: 0.3px;
}

.hero h1 {
  font-size: 60px;
  font-weight: 900;
  margin-bottom: 24px;
  line-height: 1.1;
  letter-spacing: -1px;
}

.hero h1 span {
  background: linear-gradient(90deg, #fbbf24, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 20px;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.btn-primary {
  background: white;
  color: #1d4ed8;
  padding: 16px 36px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 17px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.2);
}

.btn-secondary {
  background: rgba(255,255,255,0.12);
  color: white;
  padding: 16px 36px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.3);
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.22);
}

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  padding: 20px 40px;
  display: inline-flex;
}

.stat { text-align: center; padding: 0 32px; }
.stat strong { display: block; font-size: 28px; font-weight: 900; color: white; }
.stat span { font-size: 13px; color: rgba(255,255,255,0.7); font-weight: 500; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.2); }

/* ── Section Header ───────────────────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 44px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-header p {
  font-size: 18px;
  color: #64748b;
  max-width: 500px;
  margin: 0 auto;
}

/* ── Features ─────────────────────────────────────────────────────────────── */
.features {
  padding: 96px 0;
  background: #f8fafc;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.feature-card {
  background: white;
  padding: 36px;
  border-radius: 18px;
  border: 2px solid #e2e8f0;
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: #1d4ed8;
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(29,78,216,0.12);
}

.feature-icon {
  font-size: 44px;
  margin-bottom: 20px;
  display: block;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #0f172a;
}

.feature-card p {
  color: #475569;
  font-size: 15px;
  line-height: 1.75;
}

/* ── How It Works ─────────────────────────────────────────────────────────── */
.how-it-works {
  padding: 96px 0;
  background: white;
}

.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.step {
  text-align: center;
  padding: 40px 32px;
  max-width: 260px;
}

.step-number {
  width: 56px;
  height: 56px;
  background: #1d4ed8;
  color: white;
  border-radius: 50%;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #0f172a;
}

.step p { color: #64748b; font-size: 15px; }

.step-arrow {
  font-size: 32px;
  color: #cbd5e1;
  font-weight: 300;
  padding: 0 8px;
}

/* ── Download ─────────────────────────────────────────────────────────────── */
.download {
  background: linear-gradient(135deg, #1d4ed8 0%, #4f46e5 100%);
  padding: 80px 0;
  text-align: center;
  color: white;
}

.download h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 16px;
}

.download p {
  font-size: 18px;
  opacity: 0.85;
}

/* ── Page Hero (inner pages) ──────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, #1d4ed8 0%, #4f46e5 100%);
  padding: 64px 0;
  text-align: center;
  color: white;
}

.page-hero-icon {
  font-size: 52px;
  margin-bottom: 16px;
}

.page-hero h1 {
  font-size: 44px;
  font-weight: 900;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

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

/* ── Legal Content ────────────────────────────────────────────────────────── */
.legal-content {
  padding: 64px 0;
  background: #f8fafc;
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
}

.legal-intro {
  background: #eff6ff;
  border-left: 4px solid #1d4ed8;
  padding: 20px 24px;
  border-radius: 0 10px 10px 0;
  margin-bottom: 40px;
}

.legal-intro p {
  color: #1e40af;
  font-size: 16px;
  line-height: 1.7;
}

.legal-section {
  background: white;
  border-radius: 16px;
  padding: 36px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(29,78,216,0.06);
  border: 1px solid #e2e8f0;
}

.legal-section h2 {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f1f5f9;
}

.legal-section p {
  color: #475569;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-list {
  margin-left: 20px;
  color: #475569;
  font-size: 15px;
  line-height: 1.8;
}

.legal-list li {
  margin-bottom: 8px;
  padding-left: 4px;
}

.info-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}

.info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #f8fafc;
  padding: 16px 20px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

.info-icon { font-size: 24px; flex-shrink: 0; }

.info-card strong {
  display: block;
  font-size: 15px;
  color: #0f172a;
  margin-bottom: 4px;
}

.info-card p {
  font-size: 14px;
  color: #64748b;
  margin: 0;
}

.third-party-table {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 16px;
}

.tp-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  padding: 14px 20px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 15px;
  color: #475569;
}

.tp-row:last-child { border-bottom: none; }

.tp-header {
  background: #f1f5f9;
  font-weight: 700;
  color: #334155;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.warning-box {
  background: #fffbeb;
  border: 2px solid #fde68a;
  border-radius: 10px;
  padding: 20px;
}

.warning-box strong {
  display: block;
  font-size: 16px;
  color: #92400e;
  margin-bottom: 8px;
}

.warning-box p {
  color: #78350f;
  margin: 0;
}

.contact-box {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 10px;
  padding: 20px 24px;
  margin-top: 16px;
}

.contact-box p {
  margin-bottom: 8px;
  font-size: 15px;
  color: #0369a1;
}

.contact-box a {
  color: #1d4ed8;
  font-weight: 600;
  text-decoration: none;
}

/* ── Contact Page ─────────────────────────────────────────────────────────── */
.form-section {
  padding: 64px 0;
  background: #f8fafc;
}

.form-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.contact-card {
  background: white;
  padding: 28px;
  border-radius: 16px;
  text-align: center;
  border: 2px solid #e2e8f0;
  transition: all 0.3s;
}

.contact-card:hover {
  border-color: #1d4ed8;
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(29,78,216,0.1);
}

.contact-card-icon {
  font-size: 36px;
  margin-bottom: 14px;
}

.contact-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

.contact-card p {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 12px;
}

.contact-card a {
  color: #1d4ed8;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  word-break: break-all;
}

.form-container {
  background: white;
  padding: 48px;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(29,78,216,0.1);
  border: 1px solid #e2e8f0;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 700;
  color: #334155;
  margin-bottom: 8px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.2s;
  background: #f8fafc;
  color: #0f172a;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #1d4ed8;
  background: white;
  box-shadow: 0 0 0 3px rgba(29,78,216,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-notice {
  background: #fffbeb;
  border: 1.5px solid #fde68a;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 24px;
}

.form-notice strong {
  display: block;
  font-size: 14px;
  color: #92400e;
  margin-bottom: 6px;
}

.form-notice p {
  font-size: 14px;
  color: #78350f;
  line-height: 1.6;
}

.btn-submit {
  width: 100%;
  background: #1d4ed8;
  color: white;
  padding: 16px;
  border: none;
  border-radius: 12px;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.3px;
}

.btn-submit:hover {
  background: #1e40af;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(29,78,216,0.3);
}

/* ── Footer ───────────────────────────────────────────────────────────────── */
footer {
  background: #0f172a;
  color: white;
  padding: 64px 0 32px;
}

.footer-content {
  display: flex;
  gap: 64px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.footer-brand {
  flex: 1;
  min-width: 220px;
}

.footer-logo {
  font-size: 22px;
  font-weight: 800;
  color: white;
  margin-bottom: 14px;
}

.footer-logo span { color: #60a5fa; }

.footer-brand p {
  color: #94a3b8;
  font-size: 15px;
  line-height: 1.7;
  max-width: 280px;
}

.footer-links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 140px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}

.footer-col a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s;
}

.footer-col a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  color: #64748b;
  font-size: 14px;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: #64748b;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-bottom-links a:hover { color: white; }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero h1 { font-size: 38px; }
  .hero p { font-size: 17px; }
  .nav-links { display: none; }
  .hamburger { display: block; }
  .features-grid { grid-template-columns: 1fr; }
  .form-container { padding: 28px 20px; }
  .hero-stats { padding: 16px 20px; }
  .stat { padding: 0 16px; }
  .stat strong { font-size: 22px; }
  .steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .footer-content { flex-direction: column; gap: 40px; }
  .footer-links { gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section-header h2 { font-size: 32px; }
  .page-hero h1 { font-size: 32px; }
  .legal-section { padding: 24px 20px; }
  .tp-row { grid-template-columns: 1fr; gap: 4px; }
  .tp-header { display: none; }
}
