/* ================================================
   FINITION MARINE & PLUS INC. — Shared Stylesheet
   Couleurs: #3DA8E5 (cyan) · #B61E68 (pink) · #05080F (bg)
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Syne:wght@600;700;800&display=swap');

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

:root {
  --bg:        #05080F;
  --bg2:       #080D18;
  --bg3:       #0C1525;
  --bg4:       #111D30;
  --primary:   #3DA8E5;
  --primary2:  #5BBDEE;
  --pglow:     rgba(61, 168, 229, 0.25);
  --pglows:    rgba(61, 168, 229, 0.1);
  --accent:    #B61E68;
  --accent2:   #D4267A;
  --aglow:     rgba(182, 30, 104, 0.25);
  --white:     #F0F6FF;
  --gray:      #6B80A0;
  --gray2:     #8A9FBF;
  --border:    rgba(255,255,255,0.07);
  --glass:     rgba(255,255,255,0.04);
  --glassh:    rgba(255,255,255,0.08);
  --glassborder: rgba(255,255,255,0.10);
  --radius:    16px;
  --radius-sm: 10px;
  --ease:      cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

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

/* ── BACKGROUND ORBS (shared) ────────────────── */
.orbs {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; overflow: hidden;
}
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(100px); opacity: 0.55;
  animation: orbFloat 25s ease-in-out infinite alternate;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(61,168,229,0.22), transparent 70%);
  top: -150px; left: -150px; animation-delay: 0s;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(182,30,104,0.18), transparent 70%);
  bottom: -100px; right: -100px; animation-delay: -12s;
}
.orb-3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(61,168,229,0.12), transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  animation-delay: -6s;
}
@keyframes orbFloat {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(60px, -40px) scale(1.08); }
  66%  { transform: translate(-30px, 60px) scale(0.95); }
  100% { transform: translate(40px, 30px) scale(1.05); }
}

/* ── DOT GRID ─────────────────────────────────── */
.dot-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(61,168,229,0.18) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.4;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

/* ── NOISE OVERLAY ────────────────────────────── */
.noise {
  position: fixed; inset: 0; z-index: 1;
  pointer-events: none; opacity: 0.025;
  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");
}

/* ── NAVBAR ───────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 60px; height: 76px;
  display: flex; align-items: center; justify-content: space-between;
  transition: all 0.4s var(--ease);
}
.navbar.scrolled {
  background: rgba(5, 8, 15, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  height: 64px;
}

.nav-logo {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: 26px; letter-spacing: 0.5px;
  color: var(--white); z-index: 1;
}
.nav-logo-icon {
  width: 57px; height: 57px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; flex-shrink: 0;
  box-shadow: 0 0 16px var(--pglow);
}
.nav-logo span { color: var(--primary); }

.nav-links {
  display: flex; align-items: center; gap: 8px;
  list-style: none; z-index: 1;
}
.nav-links a {
  padding: 8px 16px; border-radius: 8px;
  font-size: 14px; font-weight: 500;
  color: rgba(240,246,255,0.65);
  transition: all 0.3s;
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: var(--glass);
}
.nav-links a.active::after {
  content: ''; position: absolute;
  bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--primary);
}

.nav-cta {
  background: var(--primary); color: #05080F !important;
  padding: 10px 24px !important; border-radius: 10px !important;
  font-weight: 700 !important; font-size: 13px !important;
  letter-spacing: 0.3px;
  box-shadow: 0 0 24px var(--pglow);
  transition: all 0.3s var(--ease) !important;
}
.nav-cta:hover {
  background: var(--primary2) !important;
  box-shadow: 0 0 40px var(--pglow) !important;
  transform: translateY(-1px) !important;
}
.nav-cta.active {
  background: var(--primary2) !important;
  box-shadow: 0 0 32px var(--pglow), inset 0 0 0 2px rgba(255,255,255,0.18) !important;
  filter: brightness(0.88) !important;
  transform: none !important;
  cursor: default !important;
}
.nav-cta::after { display: none !important; }

/* Mobile nav toggle */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; z-index: 1001; padding: 8px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: all 0.3s;
}

/* ── PAGE WRAPPER ─────────────────────────────── */
.page-wrap { position: relative; z-index: 2; }

/* ── SECTION HEADERS ──────────────────────────── */
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: var(--primary);
  margin-bottom: 16px;
}
.section-eyebrow::before {
  content: ''; width: 24px; height: 2px;
  background: var(--primary); border-radius: 1px;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -1px;
}
.section-title .grad {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-title .primary { color: var(--primary); }
.section-title .accent  { color: var(--accent); }

.section-sub {
  font-size: 16px; font-weight: 300;
  color: var(--gray2); line-height: 1.8;
  max-width: 580px;
}

/* ── BUTTONS ──────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px; border-radius: 12px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.3px;
  transition: all 0.3s var(--ease);
  cursor: pointer; border: none; outline: none;
  text-decoration: none;
}
.btn-primary {
  background: var(--primary); color: #05080F;
  box-shadow: 0 0 24px var(--pglow);
}
.btn-primary:hover {
  background: var(--primary2);
  box-shadow: 0 0 48px var(--pglow), 0 8px 24px rgba(0,0,0,0.3);
  transform: translateY(-2px);
}
.btn-accent {
  background: var(--accent); color: white;
  box-shadow: 0 0 24px var(--aglow);
}
.btn-accent:hover {
  background: var(--accent2);
  box-shadow: 0 0 48px var(--aglow), 0 8px 24px rgba(0,0,0,0.3);
  transform: translateY(-2px);
}
.btn-glass {
  background: var(--glass); color: var(--white);
  border: 1px solid var(--glassborder);
  backdrop-filter: blur(10px);
}
.btn-glass:hover {
  background: var(--glassh); border-color: var(--primary);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent; color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover {
  background: rgba(61,168,229,0.1);
  box-shadow: 0 0 20px var(--pglow);
  transform: translateY(-2px);
}
.btn svg, .btn .btn-icon { transition: transform 0.3s; }
.btn:hover .btn-icon { transform: translateX(4px); }
.btn-lg { padding: 16px 36px; font-size: 15px; border-radius: 14px; }
.btn-sm { padding: 10px 20px; font-size: 13px; border-radius: 8px; }

/* ── GLASS CARDS ──────────────────────────────── */
.glass-card {
  background: var(--glass);
  border: 1px solid var(--glassborder);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.4s var(--ease);
  position: relative; overflow: hidden;
}
.glass-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(61,168,229,0.4), transparent);
  opacity: 0; transition: opacity 0.4s;
}
.glass-card:hover {
  background: var(--glassh);
  border-color: rgba(61,168,229,0.25);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px var(--pglows);
}
.glass-card:hover::before { opacity: 1; }

/* ── MARQUEE STRIP ────────────────────────────── */
.marquee-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0; overflow: hidden;
  background: rgba(8,13,24,0.8);
}
.marquee-track {
  display: flex; width: max-content;
  animation: marqueeMove 28s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: flex; align-items: center; gap: 48px;
  white-space: nowrap; padding: 0 24px;
  font-size: 12px; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gray);
}
.marquee-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--primary); flex-shrink: 0;
}
.marquee-item .accent-word { color: var(--primary); }
@keyframes marqueeMove {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── PAGE HERO (inner pages) ──────────────────── */
.page-hero {
  padding: 160px 60px 100px;
  text-align: center; position: relative;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(61,168,229,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(52px, 6vw, 80px);
  font-weight: 800; letter-spacing: -2px;
  line-height: 1.0; margin-bottom: 20px;
}
.page-hero p {
  font-size: 18px; font-weight: 300;
  color: var(--gray2); max-width: 560px;
  margin: 0 auto;
}

/* ── STATS ROW ────────────────────────────────── */
.stats-row {
  display: grid; grid-template-columns: repeat(4,1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-cell {
  padding: 48px 40px; text-align: center;
  border-right: 1px solid var(--border);
  position: relative; overflow: hidden;
  transition: background 0.3s;
}
.stat-cell:last-child { border-right: none; }
.stat-cell:hover { background: var(--glass); }
.stat-cell::before {
  content: ''; position: absolute;
  inset: 0; opacity: 0;
  background: radial-gradient(circle at 50% 50%, var(--pglows), transparent 70%);
  transition: opacity 0.4s;
}
.stat-cell:hover::before { opacity: 1; }
.stat-number {
  font-family: 'Syne', sans-serif;
  font-size: clamp(40px, 4vw, 56px); font-weight: 800;
  line-height: 1; margin-bottom: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 12px; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase; color: var(--gray);
}

/* ── FOOTER ───────────────────────────────────── */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 72px 60px 40px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px; margin-bottom: 60px;
}
.footer-brand h3 {
  font-family: 'Syne', sans-serif; font-size: 20px;
  font-weight: 700; margin-bottom: 16px;
}
.footer-brand h3 span { color: var(--primary); }
.footer-brand p {
  font-size: 14px; color: var(--gray); line-height: 1.8;
  margin-bottom: 24px; max-width: 280px;
}
.footer-socials { display: flex; gap: 12px; }
.footer-social {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--glass); border: 1px solid var(--glassborder);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; transition: all 0.3s;
}
.footer-social:hover {
  background: var(--primary); border-color: var(--primary);
  transform: translateY(-2px);
}
.footer-col h4 {
  font-size: 13px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gray);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 14px; color: rgba(240,246,255,0.6);
  transition: color 0.3s;
}
.footer-col ul li a:hover { color: var(--primary); }
.footer-contact-item {
  display: flex; gap: 12px; align-items: flex-start;
  margin-bottom: 14px;
}
.footer-contact-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--glass); border: 1px solid var(--glassborder);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
}
.footer-contact-text { font-size: 13px; color: var(--gray2); line-height: 1.5; }
.footer-contact-text strong { color: var(--white); display: block; font-size: 12px; margin-bottom: 2px; }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 13px; color: var(--gray); }
.footer-bottom a { color: var(--primary); }

/* ── SCROLL REVEAL ────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-reveal="up"]    { transform: translateY(40px); }
[data-reveal="left"]  { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="scale"] { transform: scale(0.92); }
[data-reveal="fade"]  { transform: none; }
[data-reveal].revealed {
  opacity: 1; transform: none;
}

/* ── GLOW LINE ────────────────────────────────── */
.glow-line {
  width: 60px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  margin: 20px 0;
}
.glow-line.center { margin: 20px auto; }

/* ── PILL TAG ─────────────────────────────────── */
.pill-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(61,168,229,0.1); border: 1px solid rgba(61,168,229,0.2);
  color: var(--primary); padding: 6px 16px; border-radius: 50px;
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: 20px;
}
.pill-tag-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

/* ── DIVIDER ──────────────────────────────────── */
.section-divider {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0;
}

/* ── CTA SECTION ──────────────────────────────── */
.cta-section {
  padding: 100px 60px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(61,168,229,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(40px, 4vw, 60px);
  font-weight: 800; margin-bottom: 16px;
  letter-spacing: -1.5px;
}
.cta-section p {
  font-size: 17px; color: var(--gray2); margin-bottom: 44px;
  max-width: 500px; margin-left: auto; margin-right: auto; font-weight: 300;
}
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── RESPONSIVE ───────────────────────────────── */
@media (max-width: 1024px) {
  .navbar { padding: 0 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .stat-cell:nth-child(2) { border-right: none; }
}

@media (max-width: 768px) {
  .navbar { padding: 0 24px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bg2); padding: 100px 32px 40px;
    gap: 4px; z-index: 999;
  }
  .nav-links.open .nav-cta { display: flex; margin-top: 16px; }
  .page-hero { padding: 130px 24px 70px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .cta-section { padding: 70px 24px; }
  .footer { padding: 60px 24px 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
