/* ===== CSS Reset & Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-navy: #0a1628;
  --color-navy-light: #0f2240;
  --color-slate: #1e293b;
  --color-slate-light: #334155;
  --color-accent: #2563eb;
  --color-accent-bright: #3b82f6;
  --color-accent-pale: #dbeafe;
  --color-teal: #0d9488;
  --color-teal-light: #14b8a6;
  --color-white: #ffffff;
  --color-off-white: #f8fafc;
  --color-gray-50: #f1f5f9;
  --color-gray-100: #e2e8f0;
  --color-gray-200: #cbd5e1;
  --color-gray-300: #94a3b8;
  --color-gray-500: #64748b;
  --color-gray-700: #334155;
  --color-gray-800: #1e293b;
  --font-sans: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-mono: JetBrains Mono, Fira Code, Consolas, monospace;
  --shadow-sm: 0 1px 2px rgba(10, 22, 40, 0.06);
  --shadow-md: 0 4px 6px rgba(10, 22, 40, 0.07), 0 2px 4px rgba(10, 22, 40, 0.06);
  --shadow-lg: 0 10px 15px rgba(10, 22, 40, 0.08), 0 4px 6px rgba(10, 22, 40, 0.05);
  --shadow-xl: 0 20px 25px rgba(10, 22, 40, 0.1), 0 8px 10px rgba(10, 22, 40, 0.06);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-slate);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-accent-bright);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-navy);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.5rem); }

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

.container-sm {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Button Styles ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-sans);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  line-height: 1.2;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: var(--color-white);
}

.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.btn-outline:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-navy);
  border-color: var(--color-white);
}

.btn-white:hover {
  background: var(--color-gray-100);
  border-color: var(--color-gray-100);
  color: var(--color-navy);
}

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.nav-brand-icon {
  width: 36px;
  height: 36px;
  background: var(--color-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

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

.nav-links a {
  color: var(--color-gray-200);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--color-navy);
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(37, 99, 235, 0.15), transparent),
    radial-gradient(ellipse 60% 70% at 80% 80%, rgba(13, 148, 136, 0.1), transparent),
    radial-gradient(ellipse 50% 50% at 50% 20%, rgba(59, 130, 246, 0.08), transparent);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(255,255,255,0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.3) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 720px;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: 100px;
  color: var(--color-accent-bright);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  color: var(--color-white);
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--color-accent-bright), var(--color-teal-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  color: var(--color-gray-300);
  font-size: 1.125rem;
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-visual {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  height: 520px;
  opacity: 0.08;
  pointer-events: none;
}

.hero-visual-inner {
  width: 100%;
  height: 100%;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual-ring {
  width: 68%;
  height: 68%;
  border: 2px solid rgba(37, 99, 235, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual-core {
  width: 40%;
  height: 40%;
  background: rgba(37, 99, 235, 0.15);
  border: 2px solid rgba(37, 99, 235, 0.5);
  border-radius: 50%;
}

/* ===== Section Common ===== */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--color-navy);
  color: var(--color-gray-200);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--color-white);
}

.section-gray {
  background: var(--color-off-white);
}

.section-label {
  display: inline-block;
  padding: 4px 14px;
  background: var(--color-accent-pale);
  color: var(--color-accent);
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  color: var(--color-gray-500);
  font-size: 1.0625rem;
}

/* ===== Grids & Cards ===== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

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

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

.card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--color-accent-pale);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 20px;
}

.card-icon-teal {
  background: #ccfbf1;
  color: var(--color-teal);
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.125rem;
}

.card p {
  color: var(--color-gray-500);
  font-size: 0.9375rem;
}

/* ===== Stats Row ===== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 56px 0;
}

.stat-item {
  text-align: center;
  padding: 32px 16px;
}

.stat-number {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--color-accent);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--color-gray-500);
  font-size: 0.9375rem;
  font-weight: 500;
}

/* ===== Process / Steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--color-gray-100);
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 16px;
}

.step-badge {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--color-white);
  border: 2px solid var(--color-gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-accent);
  margin: 0 auto 20px;
  transition: all 0.3s ease;
}

.step:hover .step-badge {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 8px var(--color-accent-pale);
}

.step h4 {
  font-size: 1.0625rem;
  margin-bottom: 6px;
}

.step p {
  color: var(--color-gray-500);
  font-size: 0.875rem;
}

/* ===== Services List ===== */
.service-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--color-gray-100);
}

.service-item:first-child {
  padding-top: 0;
}

.service-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.service-marker {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: var(--radius-sm);
  background: var(--color-accent-pale);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9375rem;
}

.service-info h3 {
  font-size: 1.0625rem;
  margin-bottom: 4px;
}

.service-info p {
  color: var(--color-gray-500);
  font-size: 0.9375rem;
}

/* ===== CTA Section ===== */
.cta-section {
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-light));
  text-align: center;
  padding: 96px 0;
}

.cta-section h2 {
  color: var(--color-white);
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--color-gray-300);
  max-width: 560px;
  margin: 0 auto 36px;
  font-size: 1.0625rem;
}

/* ===== Footer ===== */
.site-footer {
  background: #060e1a;
  color: var(--color-gray-300);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--color-gray-300);
  font-size: 0.9375rem;
  transition: color 0.2s ease;
}

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

.footer-brand-text {
  font-size: 0.9375rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--color-gray-500);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--color-gray-500);
}

.footer-bottom a {
  color: var(--color-gray-400);
}

/* ===== Page Header (subpages) ===== */
.page-header {
  background: var(--color-navy);
  padding: 140px 0 64px;
  text-align: center;
}

.page-header h1 {
  color: var(--color-white);
  margin-bottom: 12px;
}

.page-header p {
  color: var(--color-gray-300);
  font-size: 1.0625rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ===== Policy / Terms Content ===== */
.policy-content {
  padding: 80px 0;
}

.policy-content h2 {
  font-size: 1.5rem;
  margin-top: 48px;
  margin-bottom: 16px;
  padding-top: 24px;
  border-top: 2px solid var(--color-gray-100);
}

.policy-content h2:first-of-type {
  margin-top: 0;
  border-top: none;
  padding-top: 0;
}

.policy-content h3 {
  font-size: 1.125rem;
  margin-top: 28px;
  margin-bottom: 10px;
}

.policy-content p {
  margin-bottom: 16px;
  color: var(--color-gray-700);
}

.policy-content ul,
.policy-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
  color: var(--color-gray-700);
}

.policy-content li {
  margin-bottom: 8px;
}

.policy-content .highlight-box {
  background: var(--color-off-white);
  border-left: 4px solid var(--color-accent);
  padding: 20px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 24px;
}

.policy-content .last-updated {
  color: var(--color-gray-500);
  font-size: 0.9375rem;
  margin-bottom: 40px;
  font-style: italic;
}

/* ===== Contact Row ===== */
.contact-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.contact-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-lg);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-accent-pale);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin: 0 auto 16px;
}

.contact-card h4 {
  margin-bottom: 6px;
  font-size: 1rem;
}

.contact-card p {
  color: var(--color-gray-500);
  font-size: 0.9375rem;
}

/* ===== 404 Page ===== */
.not-found-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-navy);
  text-align: center;
  padding: 40px 24px;
}

.not-found-content {
  max-width: 540px;
}

.not-found-code {
  font-size: clamp(6rem, 15vw, 10rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--color-accent-bright), var(--color-teal-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.not-found-content h1 {
  color: var(--color-white);
  margin-bottom: 12px;
}

.not-found-content p {
  color: var(--color-gray-300);
  font-size: 1.0625rem;
  margin-bottom: 36px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
  .steps::before { display: none; }
}

@media (max-width: 768px) {
  .grid-3,
  .grid-2,
  .contact-row { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .nav-links { display: none; }
  .hero-visual { display: none; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .section { padding: 64px 0; }
  .hero { padding: 100px 0 60px; }
}

@media (max-width: 480px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
