/* =============================================
   NAVSATECH LABS — Main Stylesheet
   Brand: Navy · Teal · Gold
   Font: Cinzel (display) + Outfit (body) + JetBrains Mono
   ============================================= */

:root {
  --navy:      #0B1C3A;
  --navy-mid:  #142850;
  --navy-light:#1E3A6E;
  --teal:      #00B8A9;
  --teal-dark: #008F84;
  --teal-glow: rgba(0,184,169,0.15);
  --gold:      #C9A84C;
  --gold-light:#E8C97A;
  --white:     #F4F7FF;
  --grey:      #8A9BBD;
  --border:    rgba(255,255,255,0.08);
  --card-bg:   rgba(255,255,255,0.04);
  --shadow:    0 8px 40px rgba(0,0,0,0.35);
  --radius:    12px;
  --transition:0.3s cubic-bezier(0.4,0,0.2,1);
}

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

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

body {
  background: var(--navy);
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── LOGO IMAGE ── */
.nav-logo-img {
  width: 72px; height: 72px;
  object-fit: contain;
  border-radius: 8px;
  background: #000;
  flex-shrink: 0;
}
.footer-logo-img {
  width: 80px; height: 80px;
  object-fit: contain;
  border-radius: 10px;
  background: #000;
  flex-shrink: 0;
}

/* ── Typography ── */
h1, h2, h3 { font-family: 'Cinzel', serif; line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
p  { color: rgba(244,247,255,0.8); }
a  { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
code, .mono { font-family: 'JetBrains Mono', monospace; font-size: 0.85em; }

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(11,28,58,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 80px;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.75rem;
  color: var(--white) !important; font-family: 'Cinzel', serif;
}
.logo-mark {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--teal), var(--navy-light));
  border: 2px solid var(--gold);
  border-radius: 8px;
  display: grid; place-items: center;
  font-family: 'Cinzel', serif; font-weight: 700; font-size: 1.1rem;
  color: var(--gold);
  flex-shrink: 0;
}
.logo-text { font-size: 1rem; font-weight: 600; letter-spacing: 0.03em; }
.logo-text em { color: var(--teal); font-style: normal; }

.nav-links {
  display: flex; list-style: none; gap: 0.25rem; align-items: center;
}
.nav-links a {
  color: rgba(244,247,255,0.75); padding: 0.4rem 0.85rem;
  border-radius: 6px; font-size: 0.9rem; font-weight: 500;
  transition: all var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); background: var(--teal-glow); }
.nav-links a.active { color: var(--teal); }
.nav-cta {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal)) !important;
  color: var(--navy) !important; font-weight: 600 !important;
  padding: 0.45rem 1.2rem !important; border-radius: 8px !important;
}
.nav-cta:hover { background: linear-gradient(135deg, var(--gold), var(--gold-light)) !important; color: var(--navy) !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all var(--transition); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: 80px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 20%, rgba(0,184,169,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(201,168,76,0.07) 0%, transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,184,169,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,184,169,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.hero-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.hero-eyebrow::before { content: ''; display: inline-block; width: 32px; height: 2px; background: var(--teal); }
.hero h1 { margin-bottom: 1.25rem; }
.hero h1 span { color: var(--teal); }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-sub { font-size: 1.1rem; margin-bottom: 2rem; color: rgba(244,247,255,0.7); max-width: 480px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
}
.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative; overflow: hidden;
}
.stat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--teal), transparent);
}
.stat-num {
  font-family: 'Cinzel', serif; font-size: 2.2rem; font-weight: 700;
  color: var(--gold); line-height: 1;
}
.stat-label { font-size: 0.82rem; color: var(--grey); margin-top: 0.4rem; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem; border-radius: 8px;
  font-weight: 600; font-size: 0.95rem; cursor: pointer;
  transition: all var(--transition); border: none;
  font-family: 'Outfit', sans-serif;
}
.btn-primary {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  color: var(--navy);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,184,169,0.4); color: var(--navy); }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--navy); transform: translateY(-2px); }
.btn-ghost {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--white);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }

/* ── SECTION HEADERS ── */
.section-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 0.75rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.section-tag::before { content: '//'; opacity: 0.5; }
.section-title { margin-bottom: 0.75rem; }
.section-title span { color: var(--teal); }
.section-title em { color: var(--gold); font-style: normal; }
.section-sub { color: var(--grey); font-size: 1.05rem; max-width: 560px; }
.section-header { margin-bottom: 3.5rem; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }
.section-header.center .section-tag { justify-content: center; }

/* ── CARDS ── */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
  position: relative; overflow: hidden;
}
.card:hover {
  border-color: rgba(0,184,169,0.35);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 0 32px rgba(0,184,169,0.08);
}
.card-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(0,184,169,0.15), rgba(0,184,169,0.05));
  border: 1px solid rgba(0,184,169,0.25);
  border-radius: 10px;
  display: grid; place-items: center;
  margin-bottom: 1.25rem; font-size: 1.5rem;
}
.card h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.card p  { font-size: 0.9rem; }

/* ── GRID LAYOUTS ── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

/* ── BADGES / TAGS ── */
.badge {
  display: inline-flex; align-items: center;
  padding: 0.25rem 0.75rem; border-radius: 100px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.05em;
  font-family: 'JetBrains Mono', monospace;
  background: rgba(0,184,169,0.12); border: 1px solid rgba(0,184,169,0.3);
  color: var(--teal);
}
.badge-gold { background: rgba(201,168,76,0.12); border-color: rgba(201,168,76,0.3); color: var(--gold); }
.badge-navy { background: rgba(30,58,110,0.5); border-color: var(--border); color: var(--grey); }

/* ── DIVIDERS ── */
.divider {
  height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 4rem 0;
}

/* ── PAGE HERO (sub-pages) ── */
.page-hero {
  padding: 8rem 0 4rem; position: relative; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, var(--navy-mid) 0%, var(--navy) 100%);
}
.page-hero-glow {
  position: absolute; top: -100px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,184,169,0.12) 0%, transparent 70%);
}
.page-hero-inner { position: relative; z-index: 1; }

/* ── FEATURE LIST ── */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 0.95rem; color: rgba(244,247,255,0.8);
}
.feature-list li::before {
  content: '→'; color: var(--teal); font-weight: 700; flex-shrink: 0; margin-top: 0.05rem;
}

/* ── TABLE ── */
.styled-table {
  width: 100%; border-collapse: collapse;
  font-size: 0.9rem;
}
.styled-table th {
  background: rgba(0,184,169,0.1); border-bottom: 1px solid rgba(0,184,169,0.3);
  padding: 0.85rem 1.25rem; text-align: left;
  font-family: 'Cinzel', serif; font-size: 0.8rem; letter-spacing: 0.05em;
  color: var(--teal);
}
.styled-table td {
  padding: 0.85rem 1.25rem; border-bottom: 1px solid var(--border);
  color: rgba(244,247,255,0.8);
}
.styled-table tr:hover td { background: rgba(255,255,255,0.03); }

/* ── PROCESS STEPS ── */
.steps { display: flex; flex-direction: column; gap: 2rem; }
.step { display: flex; gap: 1.5rem; align-items: flex-start; }
.step-num {
  width: 44px; height: 44px; flex-shrink: 0;
  border: 2px solid var(--gold);
  border-radius: 50%; display: grid; place-items: center;
  font-family: 'Cinzel', serif; font-weight: 700; color: var(--gold);
  font-size: 0.95rem;
}
.step-content h4 { font-size: 1rem; margin-bottom: 0.3rem; font-family: 'Outfit', sans-serif; font-weight: 600; }
.step-content p  { font-size: 0.9rem; }

/* ── CONTACT FORM ── */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--grey); letter-spacing: 0.04em; }
.form-control {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 8px; padding: 0.85rem 1.1rem;
  color: var(--white); font-family: 'Outfit', sans-serif; font-size: 0.95rem;
  transition: border-color var(--transition);
  width: 100%;
}
.form-control:focus { outline: none; border-color: var(--teal); background: rgba(0,184,169,0.05); }
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control option { background: var(--navy); }

/* ── FOOTER ── */
.footer {
  background: rgba(0,0,0,0.3);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.footer-brand .footer-logo-img { align-self: flex-start; }
.footer-name { font-family: 'Cinzel', serif; font-weight: 700; font-size: 0.95rem; }
.footer-tag  { font-size: 0.8rem; color: var(--teal); margin-top: -0.5rem; }
.footer-desc { font-size: 0.85rem; color: var(--grey); line-height: 1.6; }
.footer-links h4 { font-family: 'Cinzel', serif; font-size: 0.85rem; color: var(--gold); margin-bottom: 1rem; letter-spacing: 0.06em; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { font-size: 0.88rem; color: var(--grey); }
.footer-links a:hover { color: var(--teal); }
.footer-contact h4 { font-family: 'Cinzel', serif; font-size: 0.85rem; color: var(--gold); margin-bottom: 1rem; letter-spacing: 0.06em; }
.footer-contact p { font-size: 0.88rem; color: var(--grey); margin-bottom: 0.4rem; }
.footer-contact a { color: var(--teal); }
.footer-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 1.5rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
  font-size: 0.8rem; color: var(--grey);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}
.anim-fade-up   { animation: fadeUp 0.7s ease both; }
.anim-delay-1   { animation-delay: 0.1s; }
.anim-delay-2   { animation-delay: 0.2s; }
.anim-delay-3   { animation-delay: 0.3s; }
.anim-delay-4   { animation-delay: 0.4s; }
.anim-delay-5   { animation-delay: 0.5s; }
.anim-float     { animation: float 4s ease-in-out infinite; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-stats { max-width: 420px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--navy-mid); border-bottom: 1px solid var(--border); padding: 1rem 1.5rem 1.5rem; gap: 0.25rem; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
}

/* ── UTILS ── */
.text-teal  { color: var(--teal); }
.text-gold  { color: var(--gold); }
.text-grey  { color: var(--grey); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.flex { display: flex; }
.gap-1 { gap: 1rem; }
.items-center { align-items: center; }
.flex-wrap { flex-wrap: wrap; }