/* Clean simple layout for all pages */
:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --primary: #4b5dff;
  --primary-dark: #3646d3;
  --accent: #ff9f43;
  --border: #e5e7eb;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.06);
  --max-width: 1180px;
  --gap: 18px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(246, 247, 251, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo img {
  height: 44px;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  font-size: 15px;
}

.main-nav a {
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  transition: all 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(75, 93, 255, 0.12);
  color: var(--primary);
}

.nav-toggle {
  display: none;
}

/* Hero */
.hero {
  padding: 68px 0 48px;
}

.hero .hero-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  display: grid;
  gap: 14px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(75, 93, 255, 0.08);
  color: var(--primary);
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.2;
  font-weight: 800;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--muted);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Sections */
.section {
  padding: 48px 0;
}

.section-light {
  padding: 48px 0;
  background: #f1f3f8;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 10px;
}

.section-subtitle {
  color: var(--muted);
  margin-bottom: 22px;
}

/* Grid helpers */
.grid {
  display: grid;
  gap: var(--gap);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 10px;
}

.card-title {
  font-size: 17px;
  font-weight: 700;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  background: var(--surface);
}

.faq-question {
  font-weight: 700;
  margin-bottom: 6px;
}

.faq-answer {
  color: var(--muted);
}

/* Lists */
.list-check {
  list-style: none;
  display: grid;
  gap: 10px;
}

.list-check li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
}

.list-check li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 800;
}

ol.list-check {
  padding-left: 0;
}

ol.list-check li {
  list-style: none;
}

/* Tables */
.table-container {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

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

table th,
table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

table th {
  background: #f4f6fb;
  font-weight: 700;
  color: #374151;
}

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

table tr:nth-child(even) td {
  background: #fafbff;
}

.table-striped tbody tr:nth-child(odd) {
  background: #fafbff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 15px;
}

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

.btn-secondary {
  background: #fff;
  color: var(--primary);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--primary);
}

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

/* CTA */
.cta-section {
  background: linear-gradient(120deg, #4b5dff, #6e8bff);
  color: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  text-align: center;
}

.cta-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}

/* Footer */
.footer {
  padding: 32px 0 24px;
  background: #0f172a;
  color: #e5e7ef;
  margin-top: 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.footer-title {
  font-weight: 800;
  margin-bottom: 10px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: #cbd2e0;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 14px;
  text-align: center;
  color: #aeb7c8;
  font-size: 14px;
}

.footer .logo img {
  height: 38px;
}

/* Alerts */
.alert {
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #f6f8ff;
  color: var(--text);
}

.alert-info {
  border-color: #c7d2fe;
  background: #eef2ff;
}

.alert-warning {
  border-color: #ffe4c7;
  background: #fff7ed;
  color: #8b4b06;
}

.alert-success {
  border-color: #c8f7dc;
  background: #ecfdf3;
  color: #146c3f;
}

/* Misc spacing */
.mb-0 { margin-bottom: 0 !important; }
.mb-4 { margin-bottom: 16px !important; }
.mt-2 { margin-top: 8px !important; }
.mt-3 { margin-top: 12px !important; }
.mt-4 { margin-top: 16px !important; }
.mt-lg { margin-top: 20px !important; }
.mt-xl { margin-top: 28px !important; }

/* Responsive nav */
@media (max-width: 900px) {
  .site-header .header-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
    padding: 14px;
  }

  .main-nav {
    position: static;
    width: auto;
    max-width: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
  }

  .main-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
  }

  .nav-toggle {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero .hero-content {
    padding: 24px;
  }

  .btn-group {
    flex-direction: column;
  }
}