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

:root {
  --navy-deep: #070e1a;
  --navy-dark: #0b1628;
  --navy-mid: #152240;
  --navy-light: #1e3056;
  --teal: #00c9a7;
  --teal-glow: #00e6be;
  --teal-dark: #009b80;
  --indigo: #6366f1;
  --indigo-light: #818cf8;
  --white: #ffffff;
  --off-white: #f5f7fa;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --text-body: #334155;
  --text-heading: #0f172a;
  --text-light: #e8ecf1;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
  color: var(--teal);
}

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

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

/* NAVIGATION */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
}

.nav-logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--teal), var(--indigo));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

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

.nav-links a {
  color: var(--gray-300);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.2px;
  position: relative;
  padding: 4px 0;
}

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

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

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

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

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: var(--transition);
}

/* HERO */
.hero {
  position: relative;
  background: var(--navy-dark);
  overflow: hidden;
  min-height: 620px;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 70%;
  height: 180%;
  background: radial-gradient(ellipse at center, rgba(0,201,167,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--teal), var(--indigo));
}

.hero-geo {
  position: absolute;
  top: 15%;
  right: 8%;
  width: 420px;
  height: 420px;
  border: 2px solid rgba(99,102,241,0.15);
  border-radius: 50%;
  pointer-events: none;
}

.hero-geo::before {
  content: '';
  position: absolute;
  top: 15%;
  left: 15%;
  width: 70%;
  height: 70%;
  border: 1px solid rgba(0,201,167,0.12);
  border-radius: 50%;
}

.hero-geo::after {
  content: '';
  position: absolute;
  top: 30%;
  left: 30%;
  width: 40%;
  height: 40%;
  background: rgba(0,201,167,0.04);
  border-radius: 50%;
}

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

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
}

.hero-badge {
  display: inline-block;
  background: rgba(0,201,167,0.12);
  color: var(--teal-glow);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  border: 1px solid rgba(0,201,167,0.2);
}

.hero h1 {
  font-size: 3rem;
  color: var(--white);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

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

.hero p {
  font-size: 1.15rem;
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}

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

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

.btn-primary {
  background: var(--teal);
  color: var(--navy-deep);
}

.btn-primary:hover {
  background: var(--teal-glow);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0,201,167,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.25);
}

.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-stack {
  position: relative;
  width: 320px;
  height: 360px;
}

.hero-card {
  position: absolute;
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 28px;
  color: var(--white);
}

.hero-card:nth-child(1) {
  top: 0;
  left: 0;
  width: 280px;
  z-index: 3;
}

.hero-card:nth-child(2) {
  top: 40px;
  left: 30px;
  width: 260px;
  z-index: 2;
  opacity: 0.85;
}

.hero-card:nth-child(3) {
  top: 80px;
  left: 60px;
  width: 240px;
  z-index: 1;
  opacity: 0.6;
}

.hero-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.hero-card-icon.teal { background: rgba(0,201,167,0.15); }
.hero-card-icon.indigo { background: rgba(99,102,241,0.15); }
.hero-card-icon.amber { background: rgba(245,158,11,0.15); }

.hero-card h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.hero-card p {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-bottom: 0;
}

.hero-stat {
  position: absolute;
  bottom: -20px;
  right: 10px;
  background: var(--white);
  color: var(--text-heading);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  box-shadow: var(--shadow-lg);
  z-index: 4;
  text-align: center;
}

.hero-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--teal-dark);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 4px;
}

/* SECTION COMMON */
.section {
  padding: 90px 0;
}

.section-dark {
  background: var(--navy-dark);
  color: var(--text-light);
}

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

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

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 12px;
}

.section-dark .section-label {
  color: var(--teal-glow);
}

.section-header h2 {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 620px;
  margin: 0 auto;
}

.section-dark .section-header p {
  color: var(--gray-400);
}

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

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 48px;
  border-radius: 0 4px 4px 0;
  transition: height var(--transition);
}

.service-card:nth-child(1)::before { background: var(--teal); }
.service-card:nth-child(2)::before { background: var(--indigo); }
.service-card:nth-child(3)::before { background: #f59e0b; }
.service-card:nth-child(4)::before { background: #ef4444; }
.service-card:nth-child(5)::before { background: #8b5cf6; }
.service-card:nth-child(6)::before { background: #06b6d4; }

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

.service-card:hover::before {
  height: 100%;
  width: 5px;
  opacity: 0.08;
  border-radius: 0;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

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

.service-card p {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ABOUT - SPLIT */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-shape {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.about-shape::after {
  content: '';
  position: absolute;
  top: 8%;
  right: 8%;
  width: 40%;
  height: 40%;
  border: 2px solid rgba(0,201,167,0.2);
  border-radius: 16px;
}

.about-float {
  position: absolute;
  bottom: -28px;
  left: -28px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 28px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
}

.about-float-icon {
  width: 48px;
  height: 48px;
  background: rgba(0,201,167,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.about-float strong {
  display: block;
  font-size: 1.4rem;
  color: var(--teal-dark);
}

.about-float span {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.about-text p {
  color: var(--gray-600);
  margin-bottom: 16px;
}

.about-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--gray-700);
}

.about-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

/* TECH STACK */
.tech-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.tech-badge {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 40px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-700);
  transition: all var(--transition);
  cursor: default;
}

.tech-badge:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
  box-shadow: var(--shadow-sm);
}

.section-dark .tech-badge {
  background: var(--navy-mid);
  border-color: rgba(255,255,255,0.08);
  color: var(--gray-300);
}

.section-dark .tech-badge:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* PROCESS */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  width: 75%;
  height: 2px;
  background: var(--gray-200);
  z-index: 0;
}

.section-dark .process-timeline::before {
  background: rgba(255,255,255,0.1);
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 auto 18px;
  background: var(--white);
  border: 2px solid var(--gray-200);
  color: var(--gray-600);
}

.process-step:nth-child(1) .process-num { border-color: var(--teal); color: var(--teal-dark); background: rgba(0,201,167,0.06); }
.process-step:nth-child(2) .process-num { border-color: var(--indigo); color: var(--indigo); background: rgba(99,102,241,0.06); }
.process-step:nth-child(3) .process-num { border-color: #f59e0b; color: #d97706; background: rgba(245,158,11,0.06); }
.process-step:nth-child(4) .process-num { border-color: #06b6d4; color: #0891b2; background: rgba(6,182,212,0.06); }

.process-step h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

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

.section-dark .process-step p {
  color: var(--gray-400);
}

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

.stat-item {
  text-align: center;
  padding: 32px 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.stat-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--teal-dark);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item:nth-child(2) .stat-number { color: var(--indigo); }
.stat-item:nth-child(3) .stat-number { color: #f59e0b; }
.stat-item:nth-child(4) .stat-number { color: #06b6d4; }

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

/* CTA */
.cta {
  position: relative;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-mid));
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(0,201,167,0.06) 0%, transparent 60%);
}

.cta-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 40px 40px;
}

.cta .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta h2 {
  font-size: 2.4rem;
  color: var(--white);
  margin-bottom: 16px;
}

.cta p {
  font-size: 1.1rem;
  color: var(--gray-400);
  max-width: 560px;
  margin: 0 auto 32px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* FOOTER */
.footer {
  background: var(--navy-deep);
  color: var(--gray-400);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 16px;
  color: var(--gray-500);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

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

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

.footer-col a {
  color: var(--gray-500);
  font-size: 0.9rem;
  transition: color var(--transition);
}

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

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  color: var(--gray-400);
}

.footer-contact-icon {
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--gray-500);
}

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

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

.footer-bottom-links a:hover {
  color: var(--teal);
}

/* LEGAL PAGES */
.legal-hero {
  background: var(--navy-dark);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.legal-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--indigo));
}

.legal-hero h1 {
  color: var(--white);
  font-size: 2.6rem;
  margin-bottom: 12px;
}

.legal-hero p {
  color: var(--gray-400);
  font-size: 1rem;
}

.legal-content {
  padding: 60px 0 80px;
}

.legal-content .container {
  max-width: 820px;
}

.legal-block {
  margin-bottom: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--gray-200);
}

.legal-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.legal-block h2 {
  font-size: 1.4rem;
  color: var(--navy-dark);
  margin-bottom: 14px;
  padding-left: 16px;
  border-left: 4px solid var(--teal);
}

.legal-block p {
  margin-bottom: 12px;
  color: var(--text-body);
  line-height: 1.75;
}

.legal-block ul {
  list-style: none;
  margin-bottom: 12px;
  padding-left: 4px;
}

.legal-block ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: var(--text-body);
  line-height: 1.7;
}

.legal-block ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.legal-updated {
  background: var(--gray-50);
  border-left: 4px solid var(--indigo);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 32px;
  font-size: 0.9rem;
  color: var(--gray-600);
}

/* MOBILE NAV */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--navy-deep);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    border-top: 1px solid rgba(255,255,255,0.06);
  }
  .nav-links.active { display: flex; }
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .hero h1 { font-size: 2.2rem; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .about-split { grid-template-columns: 1fr; }
  .process-timeline { grid-template-columns: 1fr 1fr; gap: 32px; }
  .process-timeline::before { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .section { padding: 60px 0; }
  .section-header h2 { font-size: 1.8rem; }
  .services-grid { grid-template-columns: 1fr; }
  .process-timeline { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hero h1 { font-size: 1.8rem; }
  .hero-stat { display: none; }
  .about-float { position: static; margin-top: 20px; }
  .legal-hero h1 { font-size: 2rem; }
}
