/* ============================================================
   V-MOVES BLUE DESIGN SYSTEM — Dark + Light · Blue & White
   ============================================================ */

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

/* ── DARK MODE (default) ── */
:root {
  --bg:         #05101f;
  --bg-deep:    #030c17;
  --surface:    #091929;
  --card:       #0d2035;
  --border:     rgba(59,130,246,0.15);
  --border-lt:  rgba(59,130,246,0.08);
  --text:       #b8ccde;
  --muted:      #5d7d9a;
  --heading:    #deeaf8;
  --blue:       #3b82f6;
  --blue-lt:    #60a5fa;
  --blue-dk:    #1d4ed8;
  --accent:     #0ea5e9;
  --white:      #eef5ff;
  --invert-txt: #05101f;
  --header-bg:  rgba(5,16,31,0.94);
  --nav-mobile: #091929;
  --shadow:     rgba(59,130,246,0.22);
  --ease:       cubic-bezier(0.23,1,0.32,1);
  --ease2:      cubic-bezier(0.16,1,0.3,1);
  --f-display:  'DM Serif Display', serif;
  --f-head:     'Syne', sans-serif;
  --f-body:     'DM Sans', sans-serif;
}

/* ── LIGHT MODE ── */
[data-theme="light"] {
  --bg:         #f0f6ff;
  --bg-deep:    #e2eeff;
  --surface:    #e8f1fd;
  --card:       #ffffff;
  --border:     rgba(37,99,235,0.16);
  --border-lt:  rgba(37,99,235,0.09);
  --text:       #1e3a5f;
  --muted:      #4a6d94;
  --heading:    #0d2240;
  --blue:       #2563eb;
  --blue-lt:    #3b82f6;
  --blue-dk:    #1d4ed8;
  --accent:     #0284c7;
  --white:      #ffffff;
  --invert-txt: #ffffff;
  --header-bg:  rgba(240,246,255,0.95);
  --nav-mobile: #e8f1fd;
  --shadow:     rgba(37,99,235,0.18);
}

/* ── RESET ── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}

/* Subtle grain overlay */
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9999;
  opacity: 0.016;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 128px;
}

.container { width: 90%; max-width: 1280px; margin: 0 auto; }

/* ── TYPOGRAPHY ── */
h1, h2 {
  font-family: var(--f-display);
  font-weight: 400;
  color: var(--heading);
  transition: color 0.4s ease;
}
h3 {
  font-family: var(--f-head);
  font-weight: 700;
  color: var(--heading);
  transition: color 0.4s ease;
}
h1 { font-size: clamp(2.8rem, 7vw, 7.5rem); line-height: 0.95; }
h2 { font-size: clamp(2rem, 4vw, 4rem); line-height: 1.05; }
h3 { font-size: 1.1rem; }
p  { font-size: 1rem; color: var(--muted); line-height: 1.78; transition: color 0.4s ease; }
a  { text-decoration: none; color: inherit; }

.label {
  font-family: var(--f-head);
  font-size: 0.67rem; font-weight: 700;
  letter-spacing: 0.36em; text-transform: uppercase;
  color: var(--blue); display: block; margin-bottom: 1rem;
  transition: color 0.4s ease;
}
.divider {
  width: 44px; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--accent));
  margin: 1.4rem 0; border-radius: 2px;
}
.divider.center { margin: 1.4rem auto; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.85em 2em;
  font-family: var(--f-head); font-size: 0.76rem;
  font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  cursor: pointer; border: none;
  transition: all 0.32s var(--ease);
  position: relative; overflow: hidden;
  border-radius: 3px;
}
.btn-primary {
  background: var(--blue); color: #fff;
  box-shadow: 0 6px 28px var(--shadow);
}
.btn-primary:hover {
  background: var(--blue-lt); transform: translateY(-2px);
  box-shadow: 0 14px 44px var(--shadow);
}
.btn-outline {
  background: transparent; color: var(--heading);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn-ghost {
  background: rgba(59,130,246,0.07); color: var(--blue);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { background: var(--blue); color: #fff; }

/* ── HEADER ── */
header {
  position: fixed; top: 0; width: 100%;
  z-index: 1000; padding: 1.15rem 0;
  background: var(--header-bg);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--border);
  transition: all 0.4s var(--ease);
}
header.scrolled {
  padding: 0.8rem 0;
  box-shadow: 0 4px 36px rgba(59,130,246,0.1);
  border-bottom-color: rgba(59,130,246,0.22);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.logo {
  font-family: var(--f-head);
  font-size: 1.55rem; font-weight: 800;
  letter-spacing: 0.03em; color: var(--heading);
  transition: color 0.3s ease; flex-shrink: 0;
}
.logo em { font-style: normal; color: var(--blue); }

nav ul { display: flex; list-style: none; gap: 2rem; }
nav ul li a {
  font-family: var(--f-head);
  font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); position: relative;
  transition: color 0.25s ease;
}
nav ul li a::after {
  content: ''; position: absolute;
  bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--blue);
  transition: width 0.3s var(--ease); border-radius: 2px;
}
nav ul li a:hover, nav ul li a.active { color: var(--heading); }
nav ul li a:hover::after, nav ul li a.active::after { width: 100%; }

.header-controls { display: flex; align-items: center; gap: 0.55rem; flex-shrink: 0; }

.lang-btn {
  background: none; border: 1.5px solid var(--border);
  color: var(--muted); font-family: var(--f-head);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.42em 0.88em; cursor: pointer; border-radius: 3px;
  transition: all 0.3s ease;
}
.lang-btn:hover { border-color: var(--blue); color: var(--blue); }

.theme-btn {
  background: none; border: 1.5px solid var(--border);
  color: var(--muted); width: 34px; height: 34px;
  border-radius: 3px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; position: relative; overflow: hidden;
  transition: all 0.3s ease;
}
.theme-btn:hover { border-color: var(--blue); color: var(--blue); }
.icon-sun { display: none; }
.icon-moon { display: block; }
[data-theme="light"] .icon-sun  { display: block; }
[data-theme="light"] .icon-moon { display: none; }

.mobile-menu-btn {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
}
.mobile-menu-btn span {
  display: block; width: 22px; height: 2px;
  background: var(--heading); border-radius: 2px;
  transition: all 0.3s ease;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  height: 60vh; min-height: 420px;
  display: flex; align-items: flex-end;
  position: relative; overflow: hidden;
  padding-bottom: 5rem;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.04);
  transition: transform 8s var(--ease);
}
.page-hero:hover .page-hero-bg { transform: scale(1.0); }
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(5,16,31,0.97) 0%,
    rgba(5,16,31,0.70) 45%,
    rgba(5,16,31,0.30) 100%
  );
}
/* Blue tint at bottom */
.page-hero-overlay::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(29,78,216,0.18) 0%, transparent 60%);
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero .eyebrow {
  font-family: var(--f-head); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--blue); display: block; margin-bottom: 1rem;
}
.page-hero h1 { color: var(--white) !important; line-height: 0.93; }
.page-hero h1 em { font-style: italic; color: var(--blue-lt); }

/* ── SECTIONS ── */
section { padding: 7rem 0; }

/* ── STATS ── */
.stat-number {
  font-family: var(--f-display); font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 400; color: var(--blue); line-height: 1; display: block;
  transition: color 0.4s ease;
}
.stat-label {
  font-family: var(--f-head); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); display: block; margin-top: 0.5rem;
  transition: color 0.4s ease;
}

/* ── FOOTER ── */
footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: 5rem 0 2.5rem;
  transition: background 0.4s ease;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem; margin-bottom: 4rem;
}
.footer-brand .logo { font-size: 1.7rem; margin-bottom: 1.2rem; display: block; }
.footer-brand p { font-size: 0.88rem; line-height: 1.8; max-width: 260px; }
.footer-col h4 {
  font-family: var(--f-head); font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.5rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col ul li, .footer-col ul li a { font-size: 0.9rem; color: var(--muted); transition: color 0.3s ease; }
.footer-col ul li a:hover { color: var(--blue); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 2rem;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 0.8rem; margin: 0; }

/* ── STICKY CTA ── */
.sticky-cta { position: fixed; bottom: 2rem; right: 2rem; z-index: 999; }
.sticky-cta a {
  display: flex; align-items: center; gap: 0.5em;
  background: var(--blue); color: #fff;
  font-family: var(--f-head); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 1em 1.8em; border-radius: 3px;
  box-shadow: 0 8px 30px var(--shadow);
  transition: all 0.3s var(--ease);
}
.sticky-cta a:hover { background: var(--blue-lt); transform: translateY(-3px); box-shadow: 0 16px 44px var(--shadow); }

/* ── MARQUEE ── */
.marquee-strip {
  background: linear-gradient(90deg, var(--blue-dk), var(--blue), var(--accent));
  overflow: hidden; padding: 0.75rem 0;
}
.marquee-track {
  display: inline-flex;
  animation: marquee 28s linear infinite;
}
.marquee-track span {
  font-family: var(--f-head); font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: rgba(255,255,255,0.92); padding: 0 2rem;
}
.marquee-track span::before { content: '◆'; margin-right: 2rem; opacity: 0.55; }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.8s var(--ease2), transform 0.8s var(--ease2);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }

/* ── FORMS ── */
.form-group { margin-bottom: 1.4rem; }
.form-group label {
  display: block; font-family: var(--f-head); font-size: 0.66rem;
  font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.5rem;
}
.form-control {
  width: 100%; background: var(--surface);
  border: 1.5px solid var(--border); border-radius: 3px;
  padding: 0.85rem 1.1rem; color: var(--heading);
  font-family: var(--f-body); font-size: 0.95rem;
  transition: border-color 0.3s ease, background 0.4s ease, color 0.4s ease;
}
.form-control:focus { outline: none; border-color: var(--blue); background: var(--card); }
.form-control::placeholder { color: var(--muted); opacity: 0.6; }
textarea.form-control { min-height: 130px; resize: vertical; }
select.form-control option { background: var(--card); color: var(--heading); }

[data-theme="light"] .form-control { background: var(--card); border-color: var(--border); }
[data-theme="light"] .form-control:focus { background: #fff; }

/* ── MOBILE ── */
@media (max-width: 900px) {
  .mobile-menu-btn { display: flex; }
  nav {
    position: fixed; top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: var(--nav-mobile);
    border-left: 1px solid var(--border);
    display: flex; flex-direction: column; justify-content: center;
    padding: 3rem;
    transition: right 0.5s var(--ease), background 0.4s ease;
    z-index: 999;
  }
  nav.open { right: 0; }
  nav ul { flex-direction: column; gap: 1.8rem; }
  nav ul li a { font-size: 1.05rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
