
:root {
  /* Dark palette (hero, header, footer) */
  --dark-bg: #0a0e1a;
  --dark-bg-soft: #111827;
  --dark-card: rgba(17, 24, 39, 0.92);
  --dark-text: #f1f5f9;
  --dark-muted: #94a3b8;

  /* Light palette (content sections) */
  --light-bg: #ffffff;
  --light-bg-alt: #f8fafc;
  --light-card: #ffffff;
  --light-text: #0f172a;
  --light-muted: #64748b;
  --light-border: #e2e8f0;

  /* Accent */
  --accent: #2563eb;
  --accent-light: #3b82f6;
  --accent-dark: #1d4ed8;
  --accent-bg: #eff6ff;
  --accent-glow: rgba(37, 99, 235, 0.15);
  --success: #10b981;
  --success-bg: #ecfdf5;
  --warning: #f59e0b;

  /* Layout */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --container: 1200px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 6px rgba(0,0,0,0.04), 0 10px 15px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.06), 0 20px 48px rgba(0,0,0,0.08);
  --shadow-dark: 0 10px 40px rgba(0,0,0,0.3);
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--light-text);
  background: var(--light-bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { line-height: 1.2; font-weight: 700; }
ul, ol { list-style: none; }

/* ─── Container ─── */
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }

/* ─── HEADER ─── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 72px;
}
.logo {
  display: flex; align-items: center; gap: 12px;
  font-weight: 700; font-size: 17px; color: #fff;
  white-space: nowrap;
}
.logo-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #60a5fa);
  display: grid; place-items: center;
  box-shadow: 0 0 20px rgba(37,99,235,0.3);
}
.logo-icon svg { width: 22px; height: 22px; }
.nav-toggle {
  display: none; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1); color: #fff;
  border-radius: 10px; padding: 8px 14px; cursor: pointer;
  font: inherit; font-size: 14px;
}
.main-nav ul {
  display: flex; align-items: center; gap: 6px;
}
.main-nav a {
  color: var(--dark-muted); font-size: 14px; font-weight: 500;
  padding: 8px 14px; border-radius: 8px;
  transition: all 0.2s;
}
.main-nav a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.main-nav a.active { color: #fff; background: rgba(37,99,235,0.2); }
.header-cta .btn { font-size: 14px; padding: 10px 18px; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 12px;
  font: inherit; font-weight: 600; font-size: 15px;
  cursor: pointer; border: none;
  transition: all 0.25s ease;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  box-shadow: 0 8px 24px rgba(37,99,235,0.25);
}
.btn-primary:hover { box-shadow: 0 12px 32px rgba(37,99,235,0.35); }
.btn-white {
  background: #fff; color: var(--accent-dark);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.btn-white:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.btn-outline {
  background: transparent; color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-outline-white {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }
.btn-dark {
  background: var(--dark-bg); color: #fff;
}
.btn-sm { padding: 10px 20px; font-size: 14px; border-radius: 10px; }
.btn-lg { padding: 18px 36px; font-size: 17px; border-radius: 14px; }

/* ─── HERO (Dark) ─── */
.hero {
  background: linear-gradient(135deg, #0a0e1a 0%, #111827 50%, #0f1729 100%);
  position: relative; overflow: hidden;
  padding: 100px 0 80px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(37,99,235,0.15), transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(96,165,250,0.1), transparent 40%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(37,99,235,0.15);
  border: 1px solid rgba(37,99,235,0.25);
  color: #60a5fa; font-size: 13px; font-weight: 600;
  padding: 8px 16px; border-radius: 999px;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.hero-badge::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: #60a5fa;
  box-shadow: 0 0 12px rgba(96,165,250,0.6);
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; } 50% { opacity: 0.4; }
}
.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  color: #fff; line-height: 1.1;
  margin-bottom: 20px;
}
.hero h1 span { color: #60a5fa; }
.hero .lead {
  font-size: 18px; color: var(--dark-muted);
  line-height: 1.7; max-width: 540px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-top: 40px;
}
.hero-metric {
  padding: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  text-align: center;
}
.hero-metric strong {
  display: block; font-size: 28px; color: #fff;
  margin-bottom: 4px;
}
.hero-metric span { font-size: 13px; color: var(--dark-muted); }
.hero-image {
  position: relative; border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.hero-image img {
  width: 100%; height: 480px;
  object-fit: cover;
}
.hero-image-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
}
.hero-image-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(16,185,129,0.2);
  border: 1px solid rgba(16,185,129,0.3);
  color: #6ee7b7; font-size: 13px; font-weight: 600;
  padding: 6px 14px; border-radius: 999px;
}

/* ─── PAGE HERO (Dark, shorter) ─── */
.page-hero {
  background: linear-gradient(135deg, #0a0e1a 0%, #111827 100%);
  padding: 60px 0 50px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(37,99,235,0.1), transparent 50%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumbs {
  font-size: 14px; color: var(--dark-muted);
  margin-bottom: 16px;
}
.breadcrumbs a { color: var(--dark-muted); transition: color 0.2s; }
.breadcrumbs a:hover { color: #fff; }
.page-hero h1 {
  font-size: clamp(30px, 4.5vw, 48px); color: #fff;
  margin-bottom: 16px; max-width: 800px;
}
.page-hero .lead {
  font-size: 17px; color: var(--dark-muted);
  max-width: 700px; line-height: 1.7;
}
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tag {
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--dark-muted); font-size: 13px; font-weight: 500;
}

/* ─── LIGHT SECTIONS ─── */
.section { padding: 80px 0; }
.section-alt { background: var(--light-bg-alt); }
.section-dark {
  background: linear-gradient(135deg, #0a0e1a, #111827);
  color: #fff;
}
.section-accent { background: var(--accent-bg); }

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent); font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.section-label::before {
  content: ""; width: 32px; height: 3px;
  background: var(--accent); border-radius: 2px;
}
.section h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  margin-bottom: 16px; max-width: 700px;
}
.section .section-desc {
  font-size: 17px; color: var(--light-muted);
  max-width: 600px; margin-bottom: 48px;
}

/* ─── GRIDS ─── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ─── CARDS (Light) ─── */
.card {
  background: var(--light-card);
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(37,99,235,0.2);
}
.card-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 20px;
  background: var(--accent-bg);
  color: var(--accent);
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--light-muted); font-size: 15px; line-height: 1.7; }
.card .btn { margin-top: 20px; }

/* ─── FEATURE ROW ─── */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-image {
  border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.feature-image img {
  width: 100%; height: 400px; object-fit: cover;
}
.feature-content .section-label { margin-bottom: 12px; }
.feature-content h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 16px;
}
.feature-content p {
  color: var(--light-muted); font-size: 16px;
  line-height: 1.7; margin-bottom: 24px;
}

/* ─── CHECK LIST ─── */
.check-list li {
  padding: 10px 0 10px 32px; position: relative;
  color: var(--light-muted); font-size: 15px;
  border-bottom: 1px solid var(--light-border);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 14px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--success-bg);
  border: 2px solid var(--success);
}
.check-list li::after {
  content: "";
  position: absolute; left: 5px; top: 20px;
  width: 10px; height: 5px;
  border-left: 2px solid var(--success);
  border-bottom: 2px solid var(--success);
  transform: rotate(-45deg);
}
/* Dark variant */
.section-dark .check-list li { color: var(--dark-muted); border-color: rgba(255,255,255,0.1); }
.section-dark .check-list li::before { background: rgba(16,185,129,0.15); }

/* ─── STATS BAR ─── */
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; text-align: center;
}
.stat-item strong {
  display: block; font-size: 40px; font-weight: 800;
  background: linear-gradient(135deg, var(--accent), #60a5fa);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}
.stat-item span { color: var(--light-muted); font-size: 14px; }

/* ─── PROCESS STEPS ─── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step {
  text-align: center; position: relative;
  counter-increment: step;
}
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent-bg); color: var(--accent);
  font-size: 22px; font-weight: 800;
  display: grid; place-items: center;
  margin: 0 auto 16px;
  border: 2px solid rgba(37,99,235,0.2);
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { color: var(--light-muted); font-size: 14px; }

/* ─── CTA BAND ─── */
.cta-band {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  border-radius: var(--radius-lg); padding: 60px;
  display: flex; justify-content: space-between;
  align-items: center; gap: 32px;
  color: #fff; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute;
  top: -50%; right: -10%; width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.cta-band h2 { font-size: 32px; margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,0.8); font-size: 16px; max-width: 500px; }
.cta-band .btn { flex-shrink: 0; }

/* ─── TESTIMONIALS ─── */
.testimonial {
  background: var(--light-card); border: 1px solid var(--light-border);
  border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow-sm);
}
.testimonial-text {
  font-size: 16px; color: var(--light-text); line-height: 1.7;
  margin-bottom: 20px; font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent-bg); color: var(--accent);
  display: grid; place-items: center;
  font-weight: 700; font-size: 16px;
}
.testimonial-name { font-weight: 600; font-size: 15px; }
.testimonial-role { color: var(--light-muted); font-size: 13px; }

/* ─── TABLE ─── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td {
  text-align: left; padding: 16px 14px;
  border-bottom: 1px solid var(--light-border);
  font-size: 15px;
}
th { font-weight: 600; color: var(--light-text); background: var(--light-bg-alt); }
td { color: var(--light-muted); }
.section-dark th { color: #fff; background: rgba(255,255,255,0.05); }
.section-dark td { color: var(--dark-muted); border-color: rgba(255,255,255,0.08); }

/* ─── CONTACT ─── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px;
}
.contact-card {
  background: var(--light-card); border: 1px solid var(--light-border);
  border-radius: var(--radius-lg); padding: 40px;
  box-shadow: var(--shadow);
}
.contact-card dt { color: var(--light-muted); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.contact-card dd { font-size: 17px; margin: 0 0 20px; }
.contact-card dd a { color: var(--accent); }
.form { display: grid; gap: 14px; }
.input, .textarea {
  width: 100%; padding: 14px 18px;
  border: 1px solid var(--light-border);
  border-radius: 12px; font: inherit;
  font-size: 15px; background: var(--light-bg-alt);
  transition: border-color 0.2s;
}
.input:focus, .textarea:focus { outline: none; border-color: var(--accent); }
.textarea { min-height: 120px; resize: vertical; }

/* ─── ARTICLE ─── */
.article-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px;
}
.article-content {
  background: var(--light-card); border: 1px solid var(--light-border);
  border-radius: var(--radius-lg); padding: 40px;
  box-shadow: var(--shadow);
}
.article-content h2 { font-size: 28px; margin-top: 32px; margin-bottom: 14px; }
.article-content h3 { font-size: 22px; margin-top: 24px; margin-bottom: 10px; }
.article-content p { color: var(--light-muted); margin-bottom: 16px; }
.article-content ol { counter-reset: ol-counter; }
.article-content ol li {
  counter-increment: ol-counter; padding-left: 32px;
  position: relative; color: var(--light-muted);
  margin-bottom: 12px;
}
.article-content ol li::before {
  content: counter(ol-counter);
  position: absolute; left: 0; top: 0;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent-bg); color: var(--accent);
  font-weight: 700; font-size: 13px;
  display: grid; place-items: center;
}
.sidebar-box {
  background: var(--light-card); border: 1px solid var(--light-border);
  border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-sm);
}
.sidebar-box + .sidebar-box { margin-top: 20px; }
.sidebar-box h3 { font-size: 18px; margin-bottom: 12px; }
.sidebar-box p { color: var(--light-muted); font-size: 14px; }
.highlight-box {
  padding: 24px; border-radius: 14px;
  background: var(--accent-bg);
  border-left: 4px solid var(--accent);
  margin: 24px 0;
}
.highlight-box strong { display: block; margin-bottom: 6px; color: var(--accent-dark); }
.highlight-box p { margin: 0; }

/* ─── FOOTER ─── */
.site-footer {
  background: var(--dark-bg); color: var(--dark-muted);
  padding: 60px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  gap: 40px;
}
.footer-grid h3 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-grid a { color: var(--dark-muted); font-size: 14px; transition: color 0.2s; display: block; margin-bottom: 8px; }
.footer-grid a:hover { color: #fff; }
.footer-grid p { font-size: 14px; line-height: 1.7; }
.footer-bottom {
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px;
}

/* ─── NOTICE ─── */
.notice {
  padding: 14px 18px; border-radius: 12px;
  background: var(--success-bg); border: 1px solid rgba(16,185,129,0.2);
  color: #065f46; display: none; font-size: 14px;
}
.notice.show { display: block; }

/* ─── ANIMATIONS ─── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hero-grid, .feature-row, .feature-row.reverse,
  .contact-grid, .article-layout { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4, .stats-bar, .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-metrics { grid-template-columns: repeat(3, 1fr); }
  .cta-band { flex-direction: column; text-align: center; padding: 40px 28px; }
  .feature-row.reverse { direction: ltr; }
}
@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute; left: 16px; right: 16px; top: 72px;
    background: rgba(10,14,26,0.98);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px; padding: 16px; display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { display: block; padding: 12px 16px; }
  .header-cta { display: none; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 50px; }
  .hero-metrics { grid-template-columns: 1fr; }
  .stats-bar, .steps { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  .card, .contact-card, .article-content { padding: 24px; }
  .cta-band { padding: 32px 20px; }
}
