﻿/* ============================================================
   VALUE GestÃ£o Empresarial â€” Design System
   Palette: Deep Blue + White + Teal Accent
   Typography: Outfit for display + Manrope for interface and reading
   ============================================================ */

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

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, video { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* --- TOKENS --- */
:root {
  /* Palette */
  --bg-deep:     #07111F;
  --bg-primary:  #0C1728;
  --bg-secondary:#112038;
  --bg-card:     rgba(13,24,41,0.78);
  --bg-glass:    rgba(255,255,255,0.03);
  --bg-glass-md: rgba(255,255,255,0.055);
  --bg-glass-lg: rgba(255,255,255,0.08);
  --bg-light:    #F4F8F7;

  --white:        #FFFFFF;
  --text:         #F5FAF9;
  --text-2:       rgba(245,250,249,0.72);
  --text-3:       rgba(245,250,249,0.42);
  --text-dark:    #1C2430;
  --text-dark-2:  #606A77;

  --blue:         #20A99B;
  --blue-light:   #8ADFD4;
  --blue-glow:    rgba(32,169,155,0.20);
  --blue-soft:    rgba(32,169,155,0.10);
  --accent:       #20A99B;
  --brand-blue:   #2A6495;
  --brand-teal:   #20A99B;
  --brand-accent: #20A99B;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.12);
  --shadow-md:  0 8px 32px rgba(0,0,0,0.2);
  --shadow-lg:  0 24px 64px rgba(0,0,0,0.35);
  --shadow-3d:  0 20px 50px rgba(3,8,15,0.36), 0 0 30px rgba(32,169,155,0.08);
  --shadow-card-hover: 0 16px 48px rgba(3,8,15,0.34), 0 0 24px rgba(32,169,155,0.08);

  /* Borders */
  --border:      rgba(255,255,255,0.06);
  --border-hover:rgba(255,255,255,0.12);
  --border-blue: rgba(32,169,155,0.30);

  /* Radius */
  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   20px;
  --r-xl:   28px;
  --r-full: 9999px;

  /* Typography */
  --font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Outfit', 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 0.25s;
  --t-med:  0.45s;
  --t-slow: 0.7s;
}

/* --- BASE --- */
body {
  font-family: var(--font);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.65;
  font-weight: 300;
  overflow-x: hidden;
  letter-spacing: -0.01em;
}

/* Noise overlay */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 9998;
  pointer-events: none; opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* Scrollbar */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: rgba(32,169,155,0.28); border-radius: 2px; }

/* --- LAYOUT --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px)  { .container { padding: 0 40px; } }
@media (min-width: 1280px) { .container { padding: 0; } }

.section { padding: 88px 0; position: relative; }
@media (min-width: 768px) { .section { padding: 120px 0; } }

/* --- TYPOGRAPHY --- */
.eyebrow {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blue-light);
  display: inline-block;
  margin-bottom: 18px;
}
.section-title {
  font-size: clamp(1.8rem, 4.2vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--white);
  margin-bottom: 14px;
}
.section-title .thin { font-weight: 200; color: var(--text-2); }
.section-subtitle {
  font-size: clamp(0.9rem, 1.6vw, 1.02rem);
  color: var(--text-2);
  max-width: 520px;
  line-height: 1.8;
  font-weight: 300;
}

h1, h2, h3, h4, h5, h6 { font-weight: 500; line-height: 1.15; }

/* --- TOP LINE --- */
.top-line {
  position: fixed; top: 0; left: 0; right: 0; height: 1px; z-index: 100;
  background: linear-gradient(90deg, transparent 5%, rgba(32,169,155,0.34) 50%, transparent 95%);
}

/* --- NAVBAR --- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  padding: 20px 0;
  transition: all 0.5s var(--ease);
}
.navbar.scrolled {
  background: rgba(6,14,26,0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 13px 0;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }

.nav-logo { display: flex; align-items: center; gap: 11px; }
.nav-logo img { width: 30px; height: 30px; object-fit: contain; filter: brightness(1.1); }
.nav-logo-text {
  font-weight: 500; font-size: 0.95rem; color: var(--white);
  letter-spacing: 0.12em;
}

.nav-links { display: none; align-items: center; gap: 32px; }
@media (min-width: 1024px) { .nav-links { display: flex; } }
.nav-links a {
  color: var(--text-3); font-size: 0.8rem; font-weight: 400;
  letter-spacing: 0.02em; transition: color 0.3s; position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1px; background: var(--blue); transform: scaleX(0);
  transform-origin: center; transition: transform 0.3s var(--ease);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--white); }
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta { display: none; }
@media (min-width: 640px) { .nav-cta { display: flex; } }

.mobile-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: var(--r-full);
  border: 1px solid var(--border); background: transparent; color: var(--white);
  transition: border-color 0.3s;
}
.mobile-toggle:hover { border-color: var(--border-hover); }
@media (min-width: 1024px) { .mobile-toggle { display: none; } }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 85;
  background: rgba(6,14,26,0.96); backdrop-filter: blur(32px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px;
  opacity: 0; pointer-events: none; transition: opacity 0.4s;
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu[aria-hidden="true"] { visibility: hidden; }
.mobile-menu[aria-hidden="false"] { visibility: visible; }
.mobile-menu a {
  color: var(--text-2); font-size: 1.2rem; font-weight: 400;
  letter-spacing: -0.01em; transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--white); }
.mobile-menu .mob-close {
  position: absolute; top: 20px; right: 20px;
  width: 38px; height: 38px; border-radius: var(--r-full);
  border: 1px solid var(--border); background: transparent; color: var(--white);
  display: flex; align-items: center; justify-content: center;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.84rem; font-weight: 500; border: none;
  border-radius: var(--r-full); transition: all 0.4s var(--ease);
  letter-spacing: -0.005em; cursor: pointer;
}
.btn-primary {
  padding: 12px 28px;
  background: var(--white); color: var(--bg-primary);
  box-shadow: 0 4px 20px rgba(255,255,255,0.08);
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 36px rgba(255,255,255,0.14);
}
.btn-outline {
  padding: 12px 24px;
  background: transparent; color: var(--text-2);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--border-hover); color: var(--white); }
.btn-blue {
  padding: 13px 30px;
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(0,50,255,0.20);
}
body.menu-open { overflow: hidden; }
.btn-blue:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(0,50,255,0.28); }
.btn-sm { padding: 8px 18px; font-size: 0.78rem; }
.btn-arrow { transition: transform 0.3s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* --- CARDS --- */
.card {
  padding: 30px 26px; border-radius: var(--r-lg);
  background: var(--bg-card); border: 1px solid var(--border);
  transition: all 0.5s var(--ease); position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 1.5px; background: linear-gradient(90deg, var(--blue), transparent);
  opacity: 0; transition: opacity 0.4s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-hover);
}
.card:hover::before { opacity: 1; }
.card-icon { font-size: 1.5rem; margin-bottom: 16px; display: block; }
.card h3 { font-weight: 500; font-size: 1rem; color: var(--white); margin-bottom: 8px; letter-spacing: -0.02em; }
.card p { font-size: 0.86rem; color: var(--text-2); line-height: 1.7; font-weight: 300; }

/* --- GLASS PANEL --- */
.glass {
  background: var(--bg-glass-md);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border); border-radius: var(--r-lg);
}

/* --- TAGS / PILLS --- */
.pill {
  display: inline-flex; align-items: center;
  padding: 5px 13px; border-radius: var(--r-full);
  font-size: 0.73rem; font-weight: 400;
  border: 1px solid var(--border); color: var(--text-2);
}
.pill-blue { background: var(--blue-soft); color: var(--blue-light); border-color: var(--border-blue); }

/* --- MARQUEE --- */
.marquee-band { padding: 36px 0; position: relative; overflow: hidden; }
.marquee-band.light { background: var(--bg-light); }
.marquee-band::before, .marquee-band::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 3; pointer-events: none;
}
.marquee-band.light::before { left: 0; background: linear-gradient(90deg, var(--bg-light), transparent); }
.marquee-band.light::after { right: 0; background: linear-gradient(270deg, var(--bg-light), transparent); }
.marquee-band.dark::before { left: 0; background: linear-gradient(90deg, var(--bg-deep), transparent); }
.marquee-band.dark::after { right: 0; background: linear-gradient(270deg, var(--bg-deep), transparent); }
.marquee-track {
  display: flex; gap: 16px; width: max-content;
  animation: marquee 50s linear infinite;
}
.marquee-track.rev { animation: marquee-rev 55s linear infinite; }
@keyframes marquee     { 0%{transform:translateX(0)}100%{transform:translateX(-50%)} }
@keyframes marquee-rev { 0%{transform:translateX(-50%)}100%{transform:translateX(0)} }

.cl-item {
  display: flex; align-items: center; justify-content: center;
  min-width: 140px; height: 52px; padding: 8px 20px;
  border-radius: var(--r-sm); flex-shrink: 0; transition: all 0.3s;
}
.cl-item.on-light {
  background: #fff; border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.cl-item.on-light:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.07); transform: translateY(-2px); }
.cl-item.on-dark {
  background: var(--bg-glass); border: 1px solid var(--border);
}
.cl-item.on-dark:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.cl-text {
  font-weight: 500; font-size: 0.78rem; white-space: nowrap;
  letter-spacing: -0.01em;
}
.cl-item.on-light .cl-text { color: var(--text-dark); }
.cl-item.on-dark .cl-text  { color: var(--text-2); }
.cl-item img { max-height: 32px; max-width: 110px; object-fit: contain; }

/* --- HERO --- */
.hero {
  position: relative; min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 16%;
  filter: brightness(0.36) contrast(1.16) saturate(0.9);
  transform: scale(1.06); transition: transform 14s ease-out;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(6,14,26,0.15) 0%, rgba(6,14,26,0.40) 30%,
    rgba(6,14,26,0.80) 65%, var(--bg-deep) 100%
  );
}
.hero-glow {
  position: absolute; right: -10%; top: 25%;
  width: 50vw; height: 50vw; max-width: 550px; max-height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(32,169,155,0.09), transparent 60%);
  filter: blur(80px); z-index: 1;
}
.hero-content {
  position: relative; z-index: 2; max-width: 640px;
  padding-top: 130px; padding-bottom: 50px;
}
@media (min-width: 768px) { .hero-content { padding-top: 0; padding-bottom: 0; } }
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700; line-height: 1.06; letter-spacing: -0.04em;
  margin-bottom: 22px;
  animation: fadeInUp 0.8s var(--ease) 0.3s both;
}
.hero-desc {
  font-size: clamp(0.92rem, 1.8vw, 1.05rem);
  color: var(--text-2); line-height: 1.8; max-width: 480px;
  margin-bottom: 32px; font-weight: 300;
  animation: fadeInUp 0.8s var(--ease) 0.5s both;
}
.hero-actions {
  display: flex; flex-direction: column; gap: 12px;
  animation: fadeInUp 0.8s var(--ease) 0.65s both;
}
@media (min-width: 640px) { .hero-actions { flex-direction: row; gap: 12px; } }
.hero-metrics {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  margin-top: 60px; background: var(--border); border-radius: var(--r-lg);
  overflow: hidden; border: 1px solid var(--border);
  animation: fadeInUp 0.8s var(--ease) 0.85s both;
}
@media (min-width: 768px) { .hero-metrics { grid-template-columns: repeat(4, 1fr); } }
.hero-metric {
  padding: 22px 18px; background: rgba(6,14,26,0.5);
  backdrop-filter: blur(8px);
}
.hero-metric-val {
  font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700;
  color: var(--white); line-height: 1; margin-bottom: 5px; letter-spacing: -0.03em;
}
.hero-metric-label { font-size: 0.72rem; color: var(--text-3); font-weight: 400; }

/* Scroll indicator */
.scroll-ind {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px;
  animation: fadeInUp 0.8s var(--ease) 1.1s both;
}
.scroll-ind span { font-size: 0.6rem; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-3); }
.scroll-bar { width: 1px; height: 32px; background: linear-gradient(180deg, var(--blue), transparent); animation: pulse 2.5s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scaleY(1)} 50%{opacity:0.25;transform:scaleY(0.5)} }

/* --- PAGE HERO (inner pages) --- */
.page-hero {
  padding: 160px 0 80px; position: relative;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-deep) 100%);
}
@media (min-width: 768px) { .page-hero { padding: 180px 0 100px; } }
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 0%, rgba(32,169,155,0.08), transparent 55%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }

/* --- GRID BACKGROUNDS --- */
.grid-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden;
}
.grid-bg::before {
  content: ''; position: absolute; inset: -1px;
  background-image:
    linear-gradient(rgba(32,169,155,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32,169,155,0.045) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 70%);
}

/* --- FOOTER --- */
.footer { padding: 56px 0 24px; border-top: 1px solid var(--border); background: var(--bg-deep); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; } }
.footer-brand p { max-width: 260px; font-size: 0.82rem; color: var(--text-3); line-height: 1.6; margin-top: 14px; font-weight: 300; }
.footer-col h4 { font-size: 0.62rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.footer-col a, .footer-col p { display: flex; align-items: center; gap: 7px; font-size: 0.82rem; color: var(--text-2); margin-bottom: 8px; font-weight: 300; transition: color 0.3s; }
.footer-col a:hover { color: var(--blue-light); }
.footer-col svg { flex-shrink: 0; opacity: 0.35; }
.footer-bottom {
  margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center;
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-bottom p { font-size: 0.72rem; color: var(--text-3); font-weight: 300; }
.footer-socials { display: flex; gap: 6px; }
.footer-socials a {
  width: 32px; height: 32px; border-radius: var(--r-full);
  background: var(--bg-glass); display: flex; align-items: center; justify-content: center;
  color: var(--text-3); transition: all 0.3s; border: 1px solid var(--border);
}
.footer-socials a:hover { background: var(--blue-soft); color: var(--blue-light); border-color: var(--border-blue); }

/* --- WHATSAPP FAB --- */
.wa-fab {
  position: fixed; bottom: 22px; right: 22px; z-index: 80;
  width: 48px; height: 48px; border-radius: var(--r-full);
  background: var(--brand-teal); display: flex; align-items: center; justify-content: center;
  color: #fff; box-shadow: 0 4px 18px rgba(32,169,155,0.28);
  transition: all 0.3s;
}
.wa-fab:hover { transform: scale(1.08); box-shadow: 0 6px 24px rgba(32,169,155,0.4); }

/* --- FORM --- */
.form-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, 1fr); } }
.form-field { display: flex; flex-direction: column; gap: 5px; }
.form-field label { font-size: 0.75rem; font-weight: 400; color: var(--text-2); }
.form-field .req { color: var(--blue-light); }
.form-field input, .form-field select {
  padding: 10px 13px; border-radius: var(--r-sm);
  background: var(--bg-glass); border: 1px solid var(--border);
  color: var(--text); font-size: 0.86rem; font-weight: 300;
  transition: all 0.3s; outline: none;
}
.form-field input::placeholder { color: var(--text-3); }
.form-field input:focus, .form-field select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-glow); }
.form-field select option { background: var(--bg-secondary); color: var(--text); }

/* --- ANIMATIONS --- */
@keyframes fadeInUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }
.reveal { --reveal-delay: 0ms; opacity: 1; transform: none; }
.reveal.visible { animation: fadeInUp 0.8s var(--ease) var(--reveal-delay) both; }
.reveal-d1 { --reveal-delay: 70ms; }
.reveal-d2 { --reveal-delay: 140ms; }
.reveal-d3 { --reveal-delay: 210ms; }
.reveal-d4 { --reveal-delay: 280ms; }
.reveal-d5 { --reveal-delay: 350ms; }

/* --- 3D TILT --- */
.tilt-3d {
  transition: transform 0.15s ease-out, box-shadow 0.4s var(--ease);
  transform-style: preserve-3d;
}
.tilt-3d:hover { box-shadow: var(--shadow-3d); }

/* Card shine / reflection sweep on hover */
.card-shine { position: relative; overflow: hidden; }
.card-shine::after {
  content: ''; position: absolute; top: -50%; left: -60%; width: 40%; height: 200%;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.03) 45%, rgba(255,255,255,0.07) 50%, rgba(255,255,255,0.03) 55%, transparent 60%);
  transform: translateX(-100%); transition: none; pointer-events: none;
}
.card-shine:hover::after { animation: cardSweep 0.7s ease-out forwards; }
@keyframes cardSweep { 0%{transform:translateX(-100%)} 100%{transform:translateX(250%)} }

/* Card inner glow */
.card-glow::before {
  content: ''; position: absolute; top: -1px; left: 20%; right: 20%; height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--blue-light), transparent);
  opacity: 0; transition: opacity 0.5s, left 0.5s, right 0.5s;
}
.card-glow:hover::before { opacity: 0.6; left: 5%; right: 5%; }

/* Deep card â€” enhanced 3D depth */
.card-deep {
  background: linear-gradient(145deg, rgba(14,31,58,0.7) 0%, rgba(6,14,26,0.9) 100%);
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.03);
  transform-style: preserve-3d;
}
.card-deep:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,0.35), 0 0 40px rgba(32,169,155,0.08), inset 0 1px 0 rgba(255,255,255,0.06);
}

/* 3D lifted content inside cards */
.card-inner-3d {
  transform: translateZ(30px);
  transform-style: preserve-3d;
}

/* --- 3D CANVAS BACKGROUND --- */
#meshCanvas {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  z-index: -1; pointer-events: none; opacity: 0.45;
}

/* --- FLOATING 3D SHAPES --- */
.float-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }

.shape {
  position: absolute; border-radius: 50%;
  animation-timing-function: ease-in-out; animation-iteration-count: infinite;
  animation-direction: alternate;
}
.shape-1 {
  width: 320px; height: 320px; top: -8%; right: -6%;
  background: radial-gradient(circle, rgba(32,169,155,0.08) 0%, transparent 65%);
  filter: blur(60px); animation: float1 12s infinite;
}
.shape-2 {
  width: 220px; height: 220px; bottom: 15%; left: -4%;
  background: radial-gradient(circle, rgba(32,169,155,0.05) 0%, transparent 65%);
  filter: blur(50px); animation: float2 16s infinite;
}
.shape-3 {
  width: 140px; height: 140px; top: 40%; right: 12%;
  background: radial-gradient(circle, rgba(32,169,155,0.05) 0%, transparent 65%);
  filter: blur(40px); animation: float3 10s infinite;
}
/* Geometric wireframe shapes */
.shape-geo {
  border-radius: 0; border: 1px solid rgba(32,169,155,0.10);
  background: transparent;
}
.shape-geo-1 {
  width: 80px; height: 80px; top: 18%; right: 20%;
  transform: rotate(45deg); animation: geoFloat 20s linear infinite;
}
.shape-geo-2 {
  width: 50px; height: 50px; bottom: 28%; left: 14%;
  transform: rotate(20deg); animation: geoFloat 15s linear infinite reverse;
}
.shape-geo-3 {
  width: 120px; height: 120px; top: 55%; right: 35%;
  border-radius: 50%; animation: geoFloat 25s linear infinite;
}

@keyframes float1 { 0%{transform:translateY(0) scale(1)} 100%{transform:translateY(-35px) scale(1.08)} }
@keyframes float2 { 0%{transform:translateY(0) rotate(0deg)} 100%{transform:translateY(25px) rotate(6deg)} }
@keyframes float3 { 0%{transform:translateY(0) translateX(0)} 100%{transform:translateY(-20px) translateX(15px)} }
@keyframes geoFloat { 0%{transform:rotate(0deg)} 100%{transform:rotate(360deg)} }

/* --- GLOWING ORBS --- */
.orb {
  position: absolute; border-radius: 50%; pointer-events: none;
  filter: blur(80px); animation-timing-function: ease-in-out;
  animation-iteration-count: infinite; animation-direction: alternate;
}
.orb-blue-1 {
  width: 400px; height: 400px; top: -10%; right: -8%;
  background: rgba(32,169,155,0.05);
  animation: orbPulse 8s infinite;
}
.orb-blue-2 {
  width: 300px; height: 300px; bottom: -5%; left: -5%;
  background: rgba(32,169,155,0.04);
  animation: orbPulse 12s infinite 2s;
}
@keyframes orbPulse { 0%{opacity:0.5;transform:scale(1)} 100%{opacity:1;transform:scale(1.15)} }

/* --- PERSPECTIVE CONTAINER --- */
.perspective-wrap {
  perspective: 1200px;
  perspective-origin: center;
}

/* --- PARALLAX LAYER SYSTEM --- */
.parallax-layer {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* --- ANIMATED GRID (enhanced) --- */
.grid-bg-animated {
  position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden;
}
.grid-bg-animated::before {
  content: ''; position: absolute; inset: -1px;
  background-image:
    linear-gradient(rgba(32,169,155,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32,169,155,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 65%);
  animation: gridShift 30s linear infinite;
}
@keyframes gridShift { 0%{transform:translate(0,0)} 100%{transform:translate(60px,60px)} }

/* --- 3D STAT COUNTER --- */
.stat-3d {
  transform-style: preserve-3d; perspective: 600px;
  transition: transform 0.5s var(--ease);
}
.stat-3d:hover {
  transform: rotateX(-5deg) rotateY(5deg) translateY(-6px);
}
.stat-3d .stat-val {
  text-shadow: 0 0 40px rgba(32,169,155,0.16), 0 2px 6px rgba(0,0,0,0.3);
}

/* --- HERO 3D DEPTH LAYERS --- */
.hero-depth-1 { transform: translateZ(0px); }
.hero-depth-2 { transform: translateZ(20px); }
.hero-depth-3 { transform: translateZ(40px); }

/* --- SECTION SEPARATOR 3D --- */
.sep-3d {
  position: relative; height: 120px; margin: -60px 0;
  background: transparent; z-index: 5; pointer-events: none;
}
.sep-3d::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0%, var(--bg-deep) 40%, var(--bg-primary) 60%, transparent 100%);
}
.sep-3d .sep-line {
  position: absolute; top: 50%; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(32,169,155,0.14), transparent);
}

/* --- MOUSE GLOW CURSOR --- */
.cursor-glow {
  position: fixed; width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(32,169,155,0.05) 0%, transparent 60%);
  pointer-events: none; z-index: 9997;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  filter: blur(2px);
}

/* --- DIVIDER --- */
.divider { height: 1px; background: var(--border); margin: 0; border: none; }

/* --- SECTION BACKGROUND VARIANTS --- */
.bg-primary { background: var(--bg-primary); }
.bg-deep    { background: var(--bg-deep); }
.bg-secondary { background: var(--bg-secondary); }

/* --- RESPONSIVE UTILITIES --- */
@media (max-width: 639px) {
  .hide-mobile { display: none !important; }
  .shape, .shape-geo, .orb, .cursor-glow { display: none !important; }
}
@media (min-width: 640px) { .show-mobile-only { display: none !important; } }


/* --- PAGE EXTENSIONS --- */
.hero-layout { display:grid; gap:28px; align-items:end; position:relative; z-index:2; }
@media (min-width:1024px) { .hero-layout { grid-template-columns:minmax(0,1.2fr) minmax(320px,0.8fr); } }
.hero-premium .hero-content { max-width:720px; }
.hero-panel { padding:28px; margin-bottom:28px; background:linear-gradient(180deg, rgba(9,18,31,0.76), rgba(9,18,31,0.92)); box-shadow:0 24px 70px rgba(4,8,16,0.35); }
.hero-panel-head { display:flex; flex-direction:column; gap:14px; padding-bottom:18px; border-bottom:1px solid var(--border); }
.hero-panel-head p, .hero-note p, .metric-item span, .cta-actions p, .article-card p, .featured-article-copy p, .insight-card p, .process-step p, .service-card p, .trust-item p, .blog-topic-list li { color:var(--text-2); font-size:0.92rem; line-height:1.7; }
.metric-stack { display:grid; gap:18px; margin:22px 0; }
.metric-item { display:grid; gap:6px; }
.metric-item strong { color:var(--white); font-size:1rem; font-weight:500; letter-spacing:-0.02em; }
.hero-note { border-top:1px solid var(--border); padding-top:18px; }
.section-heading { display:grid; gap:10px; margin-bottom:34px; }
.section-actions { margin-top:28px; }
.section-trust { background:linear-gradient(180deg, rgba(7,17,31,1) 0%, rgba(10,19,34,1) 100%); }
.trust-grid, .process-layout, .blog-hero-grid, .featured-article, .cta-panel { display:grid; gap:28px; }
@media (min-width:960px) { .trust-grid, .process-layout, .blog-hero-grid, .featured-article, .cta-panel { grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:start; } }
.trust-list, .process-steps, .article-grid, .insight-grid { display:grid; gap:18px; }
.trust-item, .process-step, .insight-card, .article-card, .service-card, .featured-article-card, .blog-hero-panel { border:1px solid var(--border); background:rgba(255,255,255,0.03); border-radius:var(--r-lg); padding:24px; box-shadow:inset 0 1px 0 rgba(255,255,255,0.04); }
.trust-item h3, .process-step h3, .insight-card h3, .article-card h3, .service-card h3, .featured-article-copy h2 { color:var(--white); letter-spacing:-0.03em; }
.trust-item h3, .process-step h3, .service-card h3, .article-card h3, .insight-card h3 { margin-bottom:10px; font-size:1.08rem; }
.service-grid { display:grid; gap:18px; }
@media (min-width:960px) { .service-grid { grid-template-columns:repeat(12, 1fr); } .service-card-large { grid-column:span 6; } .service-grid .service-card:not(.service-card-large) { grid-column:span 3; } }
.service-kicker, .insight-meta, .process-step span { display:inline-block; margin-bottom:14px; color:var(--blue-light); font-size:0.75rem; letter-spacing:0.08em; text-transform:uppercase; }
.service-points { display:grid; gap:10px; margin-top:18px; }
.service-points li, .blog-topic-list li { position:relative; padding-left:18px; }
.service-points li::before, .blog-topic-list li::before { content:''; position:absolute; left:0; top:10px; width:7px; height:7px; border-radius:50%; background:var(--blue); }
.process-step span { font-size:0.9rem; }
.page-hero-blog { background:linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%); }
.blog-hero-panel, .featured-article-card { background:linear-gradient(180deg, rgba(14,25,42,0.92), rgba(10,18,31,0.94)); }
.blog-topic-list { display:grid; gap:14px; margin-top:20px; }
.featured-article-copy { display:grid; gap:14px; }
.featured-article-copy h2 { font-size:clamp(1.6rem, 3.5vw, 2.6rem); line-height:1.08; }
.article-grid { grid-template-columns:1fr; }
@media (min-width:768px) { .article-grid, .insight-grid { grid-template-columns:repeat(2, minmax(0,1fr)); } }
@media (min-width:1100px) { .article-grid { grid-template-columns:repeat(3, minmax(0,1fr)); } .insight-grid { grid-template-columns:repeat(3, minmax(0,1fr)); } }
.insight-card, .article-card { min-height:100%; display:grid; align-content:start; gap:10px; }
.text-link { color:var(--blue-light); font-size:0.86rem; font-weight:500; }
.marquee-intro { margin-bottom:18px; }
.section-cta { background:radial-gradient(circle at top left, rgba(32,169,155,0.08), transparent 38%), var(--bg-deep); }
.cta-panel { padding:30px; border:1px solid var(--border); border-radius:var(--r-xl); background:linear-gradient(135deg, rgba(16,27,43,0.96), rgba(10,18,31,0.96)); }
.cta-actions { display:grid; gap:18px; align-content:start; }
@media (max-width:1023px) { .hero-panel { margin-bottom:0; } }

.hero-content h1 { text-wrap: balance; max-width: 10.5ch; }
@media (max-width: 767px) { .hero-content h1 { max-width: 12ch; } .hero-desc { max-width: 34ch; } .hero-panel { padding: 22px; } .service-grid .service-card:not(.service-card-large) { min-height: 0; } }
