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

:root {
  --navy-950: #091527;
  --navy-900: #0D1F33;
  --navy-800: #122840;
  --navy-700: #1C3553;
  --navy-600: #234268;
  --teal-700: #1A5470;
  --teal-600: #2A6E93;
  --teal-500: #3A86AC;
  --teal-400: #5BA3C0;
  --teal-300: #7DC4DC;
  --teal-200: #A8DAEA;
  --white: #FFFFFF;
  --text-primary: #E8EDF2;
  --text-secondary: #96AABB;
  --text-muted: #4E6070;
  --border: rgba(91,163,192,0.12);
  --border-hover: rgba(91,163,192,0.3);
  --card-bg: rgba(255,255,255,0.025);
  --card-hover: rgba(255,255,255,0.05);
  --radius: 14px;
  --radius-sm: 9px;
  --ease: 0.22s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--navy-900);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy-950); }
::-webkit-scrollbar-thumb { background: var(--navy-600); border-radius: 3px; }

/* ══════════════════════════════════════════════
   NAV
══════════════════════════════════════════════ */
#navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  background: rgba(9,21,39,0.80);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background var(--ease);
}

.nav-inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 28px;
  height: 66px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  flex-shrink: 0;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 36px;
  width: auto;
  /* Invert the white-background logo to a clean white monochrome for the dark nav */
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  flex: 1;
}

.nav-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  transition: color var(--ease);
}

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

.nav-end {
  margin-left: auto;
  flex-shrink: 0;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  margin-left: auto;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--ease);
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 8px 28px 24px;
  gap: 2px;
  border-top: 1px solid var(--border);
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: color var(--ease);
}

.nav-mobile a:hover { color: var(--teal-300); }

.nav-mobile .btn { margin-top: 12px; width: 100%; justify-content: center; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
  color: var(--white);
  box-shadow: 0 2px 16px rgba(42,110,147,0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--teal-400), var(--teal-600));
  box-shadow: 0 4px 24px rgba(42,110,147,0.55);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--teal-300);
  border: 1.5px solid rgba(91,163,192,0.45);
}

.btn-outline:hover {
  background: rgba(58,134,172,0.1);
  border-color: var(--teal-400);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 13px 30px;
  font-size: 15px;
  border-radius: var(--radius);
}

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 28px 88px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 55% at 50% -10%, rgba(42,110,147,0.28) 0%, transparent 70%),
    radial-gradient(ellipse 45% 45% at 85% 75%, rgba(26,84,112,0.16) 0%, transparent 60%),
    linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 70%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(58,134,172,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58,134,172,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 85% 80% at 50% 40%, black 30%, transparent 100%);
}

.hero-inner {
  position: relative;
  max-width: 1220px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 16px 6px 12px;
  border-radius: 999px;
  background: rgba(58,134,172,0.1);
  border: 1px solid rgba(91,163,192,0.25);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--teal-300);
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-400);
  animation: badgePulse 2s infinite;
  flex-shrink: 0;
}

@keyframes badgePulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}

.hero h1 {
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--teal-300) 0%, var(--teal-200) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 44px;
}

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

/* Hero right-side preview cards */
.hero-visual { position: relative; }

.hero-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.hero-mini-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
  transition: all 0.3s ease;
  cursor: default;
}

.hero-mini-card:hover {
  background: var(--card-hover);
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.hmc-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(58,134,172,0.2), rgba(26,84,112,0.12));
  border: 1px solid rgba(91,163,192,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--teal-300);
}

.hmc-icon svg { width: 18px; height: 18px; }

.hero-mini-card h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 5px;
}

.hero-mini-card p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.hero-mini-card .pill {
  display: inline-block;
  margin-top: 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--teal-400);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ══════════════════════════════════════════════
   SECTIONS
══════════════════════════════════════════════ */
.section {
  padding: 100px 28px;
}

.section-inner {
  max-width: 1220px;
  margin: 0 auto;
}

.section-alt {
  background: var(--navy-800);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-label {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-400);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.14;
  color: var(--white);
  margin-bottom: 14px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 580px;
  line-height: 1.75;
  margin-bottom: 56px;
}

/* ══════════════════════════════════════════════
   PRODUCT CARDS
══════════════════════════════════════════════ */
.cards-grid {
  display: grid;
  gap: 22px;
}

.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.product-card {
  position: relative;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px 28px;
  transition: all 0.28s ease;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal-600), transparent);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.product-card:hover {
  background: var(--card-hover);
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

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

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(42,110,147,0.22), rgba(26,84,112,0.12));
  border: 1px solid rgba(91,163,192,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--teal-300);
}

.card-icon svg { width: 24px; height: 24px; }

.product-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.3;
}

.product-card > p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.72;
}

.feature-list {
  list-style: none;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-list li {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.feature-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal-500);
  flex-shrink: 0;
  margin-top: 6px;
}

.card-tag {
  display: inline-block;
  margin-top: 22px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  color: var(--teal-500);
  text-transform: uppercase;
}

/* ══════════════════════════════════════════════
   WHY SECTION
══════════════════════════════════════════════ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.why-card {
  padding: 40px 28px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  border-radius: var(--radius);
  transition: all 0.28s ease;
  text-align: center;
}

.why-card:hover {
  background: var(--card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.why-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(42,110,147,0.25), rgba(28,53,83,0.4));
  border: 1px solid rgba(91,163,192,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--teal-300);
}

.why-icon svg { width: 26px; height: 26px; }

.why-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.why-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.72;
}

/* ══════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════ */
.contact-box {
  position: relative;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 72px 48px;
  text-align: center;
}

.contact-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 55%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal-500), transparent);
}

.contact-box::after {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42,110,147,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.contact-box h2 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 14px;
  position: relative;
}

.contact-box .lead {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.75;
  position: relative;
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 700;
  color: var(--teal-300);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color var(--ease);
  margin-bottom: 52px;
  position: relative;
}

.email-link:hover { color: var(--white); }
.email-link svg { width: 22px; height: 22px; flex-shrink: 0; }

.contact-details {
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  position: relative;
}

.cd-block { text-align: left; }

.cd-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.cd-value {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.cd-value a {
  color: var(--teal-400);
  text-decoration: none;
  transition: color var(--ease);
}

.cd-value a:hover { color: var(--teal-300); }

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
footer {
  background: var(--navy-950);
  border-top: 1px solid var(--border);
  padding: 36px 28px;
}

.footer-inner {
  max-width: 1220px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo img {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.5;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

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

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--ease);
}

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

/* ══════════════════════════════════════════════
   SCROLL REVEAL
══════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 820px) {
  .nav-links, .nav-end { display: none; }
  .nav-hamburger { display: flex; }

  .hero { min-height: auto; padding: 96px 28px 56px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero h1 { font-size: clamp(30px, 7vw, 44px); }

  .section { padding: 72px 28px; }

  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }

  .contact-box { padding: 44px 24px; }
  .contact-details { flex-direction: column; align-items: center; text-align: center; }
  .cd-block { text-align: center; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 540px) {
  .why-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn-lg { width: 100%; justify-content: center; }
  .contact-box { padding: 36px 16px; }
}
