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

:root {
  --primary-dark: #060d1a;
  --primary: #0a1628;
  --primary-light: #111d35;
  --secondary: #162840;
  --accent: #0ea5e9;
  --accent-bright: #38bdf8;
  --accent-glow: rgba(14, 165, 233, 0.18);
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: #1e3a5f;
  --border-light: #2a4a75;
  --success: #10b981;
  --warning: #f59e0b;
  --gradient-1: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
  --gradient-2: linear-gradient(135deg, #0a1628 0%, #111d35 50%, #162840 100%);
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 10px 30px -10px rgba(0, 0, 0, 0.4);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--primary-dark);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--gradient-1);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 6px 28px rgba(14, 165, 233, 0.5);
  transform: translateY(-2px);
  color: #ffffff;
}

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

.btn-outline:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(6, 13, 26, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}

nav.scrolled {
  background: rgba(6, 13, 26, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

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

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--primary-dark);
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 60px 0;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: var(--primary-light);
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--accent-bright);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 28px;
  letter-spacing: 0.03em;
}

.hero h1 {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.hero h1 .gradient-text {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.hero-stat h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-bright);
  letter-spacing: -0.02em;
  line-height: 1;
}

.hero-stat p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 6px;
  margin-bottom: 0;
  letter-spacing: 0.02em;
}

.hero-visual {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
  width: 480px;
}

.hero-grid-dot {
  width: 100%;
  aspect-ratio: 1;
  background: var(--primary-light);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.hero-grid-dot.active {
  background: var(--accent);
  border-color: var(--accent-bright);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  padding: 6px 16px;
  background: var(--primary-light);
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--accent-bright);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section-header h2 {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.services {
  padding: 120px 0;
  background: var(--primary);
  position: relative;
}

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

.service-card {
  background: var(--primary-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-1);
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
  color: var(--accent-bright);
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.about {
  padding: 120px 0;
  background: var(--primary-dark);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
  background: var(--primary-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
}

.about-visual-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-stat-box {
  background: var(--primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  text-align: center;
}

.about-stat-box .number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-bright);
  display: block;
}

.about-stat-box .label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.about-content h2 {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.about-content p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-features {
  margin-top: 32px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.about-feature:last-child {
  border-bottom: none;
}

.about-feature-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--secondary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--accent-bright);
}

.about-feature-text h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.about-feature-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.cta {
  padding: 120px 0;
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle at center, rgba(14, 165, 233, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.cta-card {
  background: var(--primary-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 60px 48px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-card h2 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.cta-card p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 540px;
  margin: 0 auto 36px;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--accent-bright);
}

.contact-item span {
  font-size: 0.95rem;
}

footer {
  background: var(--primary-dark);
  border-top: 1px solid var(--border);
  padding: 48px 0;
}

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

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 16px;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 6px 0;
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 48px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

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

.footer-bottom-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.page-header {
  padding: 160px 0 80px;
  background: var(--primary-dark);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.page-header p {
  color: var(--text-secondary);
  margin-top: 12px;
  font-size: 1rem;
}

.policy-content {
  padding: 80px 0;
  background: var(--primary);
  min-height: 60vh;
}

.policy-paper {
  background: var(--primary-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  max-width: 860px;
  margin: 0 auto;
}

.policy-paper h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 40px;
  margin-bottom: 16px;
}

.policy-paper h2:first-child {
  margin-top: 0;
}

.policy-paper p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.policy-paper ul {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 16px;
  padding-left: 24px;
}

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

@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-visual {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(6, 13, 26, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero {
    padding-top: 100px;
    min-height: auto;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-stats {
    gap: 32px;
    flex-wrap: wrap;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .about-content h2 {
    font-size: 2rem;
  }

  .cta-card {
    padding: 40px 24px;
  }

  .cta-card h2 {
    font-size: 1.8rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .policy-paper {
    padding: 32px 24px;
  }

  .page-header h1 {
    font-size: 2.2rem;
  }
}
