/* ═══════════════════════════════════════════
   NAVODAY – SHARED STYLES
   Primary: #2e45ef  |  BG: #08080f
   RE-DESIGN: Light Mode Professional
 ═══════════════════════════════════════════ */

:root {
  --blue: #2e45ef;
  --blue-dark: #1a2cc4;
  --blue-light: #5b75ff;
  --blue-glow: rgba(46, 69, 239, 0.15);
  --white: #ffffff;
  --bg: #ffffff;
  --surface: #f8faff;
  --text: #0f172a;
  --text-muted: #475569;
  --glass: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(46, 69, 239, 0.12);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  overflow-x: hidden;
}

/* ── NAV ────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 28px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.5s, padding 0.5s, backdrop-filter 0.5s;
}

nav.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(28px);
  padding: 16px 60px;
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-mark {
  width: 34px;
  height: 34px;
  background: var(--blue);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  transform: rotate(-4deg);
  transition: transform 0.35s, background 0.3s;
}

.nav-logo:hover .nav-logo-mark {
  transform: rotate(0deg) scale(1.1);
}

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

.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--blue);
  transition: width 0.3s;
}

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

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

.nav-links a.active {
  color: var(--blue);
}

.nav-cta {
  background: var(--blue) !important;
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 4px;
  font-size: 0.79rem !important;
  letter-spacing: 0.1em;
  transition: background 0.3s, transform 0.2s !important;
}

.nav-cta:hover {
  background: var(--blue-dark) !important;
  transform: translateY(-1px);
}

.nav-cta::after {
  display: none !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
}

/* ── SECTIONS ───────────────────────────── */
section {
  padding: 50px 60px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--blue);
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.08;
  margin-bottom: 24px;
}

.section-title em {
  font-style: italic;
  color: var(--blue);
}

/* ── BUTTONS ────────────────────────────── */
.btn-primary {
  background: var(--blue);
  color: #fff;
  padding: 15px 38px;
  border: none;
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  display: inline-block;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s;
}

.btn-primary:hover::before {
  transform: translateX(100%);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(46, 69, 239, 0.42);
}

.btn-outline {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  padding: 15px 38px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
}

.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(46, 69, 239, 0.05);
  transform: translateY(-2px);
}

/* ── SCROLL REVEAL ──────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* ── PAGE HERO (inner pages) ─────────────── */
.page-hero {
  min-height: 55vh;
  display: flex;
  align-items: flex-end;
  padding: 140px 60px 80px;
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 40% 50%, rgba(46, 69, 239, 0.1), transparent 65%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 100%);
}

.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(46, 69, 239, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 69, 239, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
}

.page-hero h1 em {
  font-style: italic;
  color: var(--blue);
}

.page-hero p {
  max-width: 540px;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-top: 20px;
}

/* ── FOOTER ─────────────────────────────── */
footer {
  background: var(--surface);
  border-top: 1px solid var(--glass-border);
  padding: 50px 60px 40px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 60px;
  margin-bottom: 60px;
}

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

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.fl-col h5 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.7;
  margin-bottom: 20px;
}

.fl-col a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.3s;
}

.fl-col a:hover {
  color: var(--blue);
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-muted);
  opacity: 0.8;
}

.footer-disclaimer {
  font-style: italic;
}

/* ── FORM STYLES ────────────────────────── */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  padding: 14px 18px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select option {
  background: var(--surface);
  color: #fff;
}

/* ── RESPONSIVE ─────────────────────────── */
@media(max-width:768px) {
  section {
    padding: 50px 24px;
  }

  nav {
    padding: 20px 24px;
  }

  nav.scrolled {
    padding: 14px 24px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    z-index: 999;
    align-items: center;
    justify-content: center;
    gap: 28px;
  }

  .nav-links.open a {
    font-size: 1.4rem;
  }

  .page-hero {
    padding: 120px 24px 60px;
  }

  footer {
    padding: 60px 24px 32px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ── CARD SPOTLIGHT ──────────────────────── */
.port-card,
.vc,
.who-card,
.exp-card,
.ptc,
.icard {
  position: relative;
}

.port-card::before,
.vc::before,
.who-card::before,
.exp-card::before,
.ptc::before,
.icard::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(46, 69, 239, 0.08), transparent 80%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 10;
}

.port-card:hover::before,
.vc:hover::before,
.who-card:hover::before,
.exp-card:hover::before,
.ptc:hover::before,
.icard:hover::before {
  opacity: 1;
}

/* ── PAGE TRANSITION ─────────────────────── */
#page-transition {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 99999;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.4s ease-in-out;
}

#page-transition.fade-out {
  opacity: 0;
}

/* ── MARQUEE STRIP ───────────────────────── */
.marquee-strip {
  background: var(--blue);
  color: #fff;
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.marquee-content {
  display: flex;
  gap: 20px;
  animation: marquee 40s linear infinite;
  padding-left: 100%;
  /* Start from off-screen */
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

.marquee-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.marquee-item::after {
  content: '·';
  margin-left: 20px;
  opacity: 0.5;
}

/* ── SECTION DIVIDER ─────────────────────── */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--blue), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.5s cubic-bezier(0.22, 1, 0.36, 1);
  margin: 40px 0;
}

.section-divider.visible {
  transform: scaleX(1);
}