/* ============================================================
   Navtara Inc. — marketing site styles
   ============================================================ */

:root {
  --navy-900: #0a1633;
  --navy-800: #10224d;
  --navy-700: #16305f;
  --blue-500: #2f6bff;
  --blue-400: #4c86ff;
  --cyan-400: #35d0e0;
  --ink: #0f1a2e;
  --slate-600: #4a5a75;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --bg: #ffffff;
  --bg-soft: #f4f7fc;
  --line: #e5ebf5;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(16, 34, 77, 0.06);
  --shadow-md: 0 12px 32px rgba(16, 34, 77, 0.12);
  --shadow-lg: 0 24px 60px rgba(16, 34, 77, 0.18);
  --maxw: 1140px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue-500);
  margin-bottom: 14px;
}
.eyebrow.light { color: var(--cyan-400); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
    background 0.18s var(--ease), color 0.18s var(--ease);
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-400));
  color: #fff;
  box-shadow: 0 10px 24px rgba(47, 107, 255, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(47, 107, 255, 0.45); }
.btn-ghost {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--blue-400); color: var(--blue-500); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.28rem; }
.brand-mark-img { width: 40px; height: 40px; display: block; }
.footer-mark-img { width: 42px; height: 42px; display: block; flex: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: linear-gradient(140deg, var(--blue-500), var(--cyan-400));
  color: #fff;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(47, 107, 255, 0.4);
}
.brand-text { color: var(--navy-900); letter-spacing: -0.03em; }
.brand-dot { color: var(--cyan-400); }

.nav { display: flex; align-items: center; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0; padding: 0;
  font-weight: 500;
  font-size: 0.98rem;
}
.nav-menu a { color: var(--slate-600); transition: color 0.16s; }
.nav-menu a:hover { color: var(--navy-800); }
.nav-cta {
  padding: 9px 20px;
  border-radius: 999px;
  background: var(--navy-900);
  color: #fff !important;
}
.nav-cta:hover { background: var(--blue-500); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--navy-800); border-radius: 2px; transition: 0.25s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(53, 208, 224, 0.12), transparent 60%),
    radial-gradient(900px 500px at 0% 0%, rgba(47, 107, 255, 0.10), transparent 55%),
    var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding-block: 88px 96px;
}
.hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 20px;
}
.lede { font-size: 1.16rem; color: var(--slate-600); max-width: 34ch; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 34px;
  list-style: none;
  padding: 0;
  margin: 44px 0 0;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.25rem; color: var(--navy-900); font-weight: 800; }
.hero-stats span { font-size: 0.86rem; color: var(--slate-500); }

/* hero visual */
.hero-visual { position: relative; min-height: 360px; }
.orb { position: absolute; border-radius: 50%; filter: blur(6px); opacity: 0.7; }
.orb-a {
  width: 220px; height: 220px; top: -20px; right: 10px;
  background: radial-gradient(circle at 30% 30%, var(--cyan-400), transparent 70%);
  animation: float 7s ease-in-out infinite;
}
.orb-b {
  width: 260px; height: 260px; bottom: -30px; left: -10px;
  background: radial-gradient(circle at 40% 40%, var(--blue-400), transparent 70%);
  animation: float 9s ease-in-out infinite reverse;
}
.glass-card {
  position: relative;
  z-index: 2;
  margin: 40px auto 0;
  max-width: 380px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--shadow-lg);
}
.glass-row {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.95rem; font-weight: 500; color: var(--navy-800);
  padding: 9px 0;
}
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dot.g { background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,0.15); }
.dot.a { background: #f59e0b; box-shadow: 0 0 0 4px rgba(245,158,11,0.15); }
.glass-bar { height: 8px; background: #e6edf9; border-radius: 999px; overflow: hidden; margin: 8px 0 18px; }
.glass-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue-500), var(--cyan-400)); border-radius: 999px; }
.glass-foot { font-size: 0.78rem; color: var(--slate-500); border-top: 1px solid var(--line); padding-top: 14px; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

/* ---------- Trust strip ---------- */
.trust { background: var(--navy-900); color: #fff; }
.trust-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-block: 22px;
  flex-wrap: wrap;
}
.trust-inner > span { font-size: 0.82rem; letter-spacing: 0.04em; color: #9db0d6; text-transform: uppercase; font-weight: 600; }
.trust-inner ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0; padding: 0;
  flex-wrap: wrap;
}
.trust-inner li { font-weight: 600; color: #dbe6ff; font-size: 0.98rem; }

/* ---------- Sections ---------- */
.section { padding-block: 88px; }
.section-alt { background: var(--bg-soft); }
.section-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); color: var(--navy-900); font-weight: 800; }
.section-sub { color: var(--slate-600); font-size: 1.08rem; margin-top: 14px; }

/* ---------- Service cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #d5e0f5; }
.card-icon {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 13px;
  font-size: 1.5rem;
  background: linear-gradient(140deg, rgba(47,107,255,0.12), rgba(53,208,224,0.12));
  margin-bottom: 18px;
}
.card h3 { font-size: 1.2rem; color: var(--navy-900); margin-bottom: 10px; }
.card p { color: var(--slate-600); font-size: 0.98rem; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  list-style: none;
  padding: 0; margin: 0;
  counter-reset: step;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.step-num {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-400));
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 11px;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.12rem; color: var(--navy-900); margin-bottom: 8px; }
.step p { color: var(--slate-600); font-size: 0.95rem; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 52px; align-items: center; }
.about-copy h2 { margin-bottom: 20px; }
.about-copy p { color: var(--slate-600); margin-bottom: 16px; font-size: 1.05rem; }
.checklist { list-style: none; padding: 0; margin: 22px 0 0; }
.checklist li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  color: var(--navy-800);
  font-weight: 500;
}
.checklist li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  background: rgba(47,107,255,0.12);
  color: var(--blue-500);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 800;
}
.about-panel {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
  border-radius: var(--radius);
  padding: 36px 32px;
  color: #fff;
  box-shadow: var(--shadow-md);
}
.about-panel .stat { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.about-panel .stat:last-child { border-bottom: none; }
.about-panel .stat strong { font-size: 1.9rem; font-weight: 800; display: block; }
.about-panel .stat span { color: #a9bce0; font-size: 0.95rem; }

/* ---------- Contact ---------- */
.contact {
  background:
    radial-gradient(900px 400px at 90% 0%, rgba(53,208,224,0.10), transparent 60%),
    var(--navy-900);
  color: #fff;
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.contact-copy h2 { color: #fff; margin-bottom: 16px; }
.contact-copy > p { color: #b8c7e6; font-size: 1.06rem; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; }
.contact-list li {
  display: flex; align-items: baseline; gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.contact-list span { width: 78px; color: #8ba0c9; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; }
.contact-list a:hover { color: var(--cyan-400); }
.tiny { margin-top: 16px; font-size: 0.8rem; color: #7f93bd; }

.contact-form {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 30px;
  backdrop-filter: blur(8px);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.86rem; font-weight: 600; color: #cdd9f0; margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.04);
  color: #fff;
  font: inherit;
  transition: border-color 0.16s, background 0.16s;
}
.field input::placeholder, .field textarea::placeholder { color: #7f93bd; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--cyan-400);
  background: rgba(255,255,255,0.08);
}
.field input.invalid, .field textarea.invalid { border-color: #ff6b7a; }
.form-note { margin-top: 14px; font-size: 0.9rem; min-height: 1.2em; }
.form-note.ok { color: #6ee7b7; }
.form-note.err { color: #ff9aa5; }

/* ---------- Footer ---------- */
.site-footer { background: #060f24; color: #b8c7e6; padding-block: 44px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 28px;
  align-items: center;
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand strong { color: #fff; font-size: 1.1rem; }
.footer-brand p { font-size: 0.9rem; color: #8ba0c9; margin-top: 2px; }
.footer-nav { display: flex; gap: 24px; }
.footer-nav a { color: #b8c7e6; font-size: 0.95rem; }
.footer-nav a:hover { color: #fff; }
.footer-legal { font-size: 0.85rem; color: #7f93bd; text-align: right; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-block: 64px 72px; }
  .hero-visual { min-height: 320px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-inner { grid-template-columns: 1fr; text-align: left; gap: 20px; }
  .footer-legal { text-align: left; }
}

@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 8px 24px 20px;
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu li { padding: 6px 0; }
  .nav-cta { text-align: center; margin-top: 8px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; }
  .section { padding-block: 60px; }
}
