@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@200;300;400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

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

:root {
  --navy: #091f44;
  --navy-light: #0f2650;
  --navy-deep: #06152f;

  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;
  --white:     #ffffff;

  --font-display: 'Urbanist', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--slate-600);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: color 0.2s var(--ease-out-quad); }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.container--narrow { max-width: 740px; }

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(226,232,240,0.6);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--navy);
  letter-spacing: 0.01em;
}
.nav__logo-mark { flex-shrink: 0; width: 34px; height: 34px; border-radius: 8px; object-fit: cover; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-500);
  padding: 6px 14px;
  border-radius: 8px;
  transition: all 0.2s var(--ease-out-quad);
}
.nav__links a:hover { color: var(--navy); background: var(--slate-50); }
.nav__links a.active { color: var(--navy); background: var(--slate-100); }

.nav__toggle {
  display: none;
  background: none;
  border: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.nav__toggle:hover { background: var(--slate-100); }
.nav__toggle-line {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--navy);
  margin: 4px auto;
  border-radius: 1px;
}

/* ===== HERO ===== */
.hero {
  padding: 160px 0 120px;
  position: relative;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero__gradient {
  position: absolute;
  top: -180px; right: -120px;
  width: 800px; height: 800px;
  background: radial-gradient(circle at center, rgba(13,27,46,0.05) 0%, rgba(13,27,46,0.02) 40%, transparent 70%);
  border-radius: 50%;
}
.hero__gradient--secondary {
  top: auto; bottom: -300px;
  right: auto; left: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle at center, rgba(13,27,46,0.03) 0%, transparent 60%);
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(226,232,240,0.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(226,232,240,0.25) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, black 20%, transparent 100%);
}

.hero__content { position: relative; z-index: 2; max-width: 680px; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13,27,46,0.04);
  border: 1px solid rgba(13,27,46,0.08);
  padding: 6px 16px 6px 8px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}
.hero__badge-dot {
  width: 8px; height: 8px;
  background: var(--navy);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--navy);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero__title span {
  color: var(--slate-400);
  font-weight: 300;
}
.hero__description {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--slate-500);
  max-width: 520px;
  margin-bottom: 40px;
}
.hero__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.925rem;
  padding: 13px 26px;
  border-radius: 12px;
  border: none;
  transition: all 0.25s var(--ease-out-expo);
  letter-spacing: 0.005em;
}
.btn--primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 1px 2px rgba(0,0,0,0.08), 0 4px 12px rgba(13,27,46,0.18);
}
.btn--primary:hover {
  background: var(--navy-deep);
  box-shadow: 0 1px 2px rgba(0,0,0,0.1), 0 8px 24px rgba(13,27,46,0.25);
  transform: translateY(-1px);
}
.btn--secondary {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}
.btn--secondary:hover {
  background: var(--slate-50);
  border-color: var(--slate-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.btn__arrow { transition: transform 0.25s var(--ease-out-expo); }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ===== LOGOS ===== */
.logos {
  padding: 64px 0;
  border-top: 1px solid var(--slate-100);
  border-bottom: 1px solid var(--slate-100);
  background: var(--slate-50);
}
.logos__label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--slate-400);
  margin-bottom: 28px;
}
.logos__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}
.logos__item {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--slate-300);
  transition: color 0.3s var(--ease-out-quad);
  user-select: none;
  letter-spacing: -0.01em;
}
.logos__item:hover { color: var(--slate-500); }

/* ===== SECTION COMMON ===== */
.section { padding: 120px 0; }
.section__header { text-align: center; margin-bottom: 72px; }
.section__label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--navy);
  margin-bottom: 16px;
  opacity: 0.5;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.section__description {
  font-size: 1.05rem;
  color: var(--slate-500);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== SERVICE CARDS ===== */
.service {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 120px;
}
.service:last-child { margin-bottom: 0; }
.service--reverse { direction: rtl; }
.service--reverse > * { direction: ltr; }

.service__visual {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 5/4;
  background: linear-gradient(145deg, var(--slate-50) 0%, var(--white) 100%);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-lg);
}
.service__visual-inner {
  position: absolute; inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.service__icon {
  width: 48px; height: 48px;
  background: rgba(13,27,46,0.04);
  border: 1px solid rgba(13,27,46,0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.service__icon svg { width: 22px; height: 22px; color: var(--navy); }
.service__title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.2;
}
.service__text {
  font-size: 1rem;
  color: var(--slate-500);
  margin-bottom: 28px;
  line-height: 1.75;
}
.service__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.service__tag {
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-display);
  background: var(--slate-100);
  color: var(--slate-600);
  border: 1px solid var(--slate-200);
  transition: all 0.2s var(--ease-out-quad);
}
.service__tag:hover {
  background: rgba(13,27,46,0.06);
  color: var(--navy);
  border-color: rgba(13,27,46,0.12);
}

/* ===== STATS ===== */
.stats {
  padding: 100px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.stat__number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1;
}
.stat__label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.4);
  font-weight: 400;
}

/* ===== CTA ===== */
.cta {
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta__bg {
  position: absolute; inset: 0;
  background-image: radial-gradient(ellipse 50% 80% at 50% 50%, rgba(13,27,46,0.03) 0%, transparent 100%);
  pointer-events: none;
}
.cta__content { position: relative; z-index: 1; }
.cta__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  line-height: 1.1;
}
.cta__text {
  font-size: 1.05rem;
  color: var(--slate-500);
  margin-bottom: 36px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== FOOTER ===== */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--slate-200);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer__brand-text {
  font-size: 0.9rem;
  color: var(--slate-400);
  margin-top: 16px;
  max-width: 280px;
  line-height: 1.7;
}
.footer__heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.footer__link {
  display: block;
  font-size: 0.875rem;
  color: var(--slate-500);
  margin-bottom: 12px;
  transition: color 0.2s;
}
.footer__link:hover { color: var(--navy); }
.footer__contact-label {
  font-size: 0.8rem;
  color: var(--slate-400);
  margin-bottom: 8px;
}
.footer__contact-item {
  font-size: 0.875rem;
  color: var(--slate-500);
  line-height: 1.6;
  margin: 16px 0 0;
}
.footer__bottom {
  border-top: 1px solid var(--slate-100);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--slate-400);
}

/* ===== LEGAL PAGES ===== */
.legal { padding: 140px 0 100px; }
.legal__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.legal__updated {
  font-size: 0.85rem;
  color: var(--slate-400);
  margin-bottom: 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--slate-200);
}
.legal__heading {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  margin-top: 48px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.legal__text {
  font-size: 0.95rem;
  color: var(--slate-500);
  margin-bottom: 16px;
  line-height: 1.85;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .service { grid-template-columns: 1fr; gap: 40px; margin-bottom: 80px; }
  .service--reverse { direction: ltr; }
  .service__visual { aspect-ratio: 16/10; }
  .stats__grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav__links { display: none; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 20px 24px;
    border-bottom: 1px solid var(--slate-200);
    gap: 4px;
    box-shadow: var(--shadow-xl);
  }
  .nav__links.open a { padding: 12px 16px; border-radius: 10px; font-size: 0.95rem; }
  .nav__toggle { display: flex; }
  .hero { padding: 120px 0 80px; }
  .hero__description { font-size: 1rem; }
  .hero__actions { gap: 12px; }
  .btn { width: 100%; justify-content: center; }
  .logos__row { gap: 32px; }
  .logos__item { font-size: 1rem; }
  .section { padding: 80px 0; }
  .section__header { margin-bottom: 48px; }
  .stats { padding: 72px 0; }
  .cta { padding: 80px 0; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
  .legal { padding: 110px 0 80px; }
}

@media (max-width: 480px) {
  .hero__badge { font-size: 0.75rem; }
  .logos__row { gap: 20px; }
  .logos__item { font-size: 0.9rem; }
}

/* ===== CONTACT EMAIL FALLBACKS ===== */
.hero__contact-note {
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--slate-500);
}
.hero__contact-note a,
.cta__email a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cta__email {
  margin-top: 20px;
  font-size: 0.95rem;
  color: var(--slate-500);
}
