/* ===================================
   Orchestrate Digital — Shared Styles
   =================================== */

:root {
  --primary: #1A9E8A;
  --primary-dark: #137A6A;
  --primary-light: #0A2723;
  --accent: #FF8243;
  --accent-dark: #E86A2A;
  /* Harmonics palette */
  --h-gold: #FFD580;
  --h-blue: #9BE8FF;
  --h-mint: #7FDDCC;
  --bg: #091412;
  --white: #0D1F1C;
  --text-dark: #E4F2F0;
  --text-medium: #7AADA8;
  --text-light: #4D7A76;
  --border: #1A3330;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.32);
  --shadow-md: 0 6px 24px rgba(0,0,0,0.46);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.58);
  --shadow-card: 0 4px 20px rgba(26,158,138,0.22);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --transition: 0.25s ease;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--text-dark);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  line-height: 1.3;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ===================================
   ANIMATIONS
   =================================== */

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
@keyframes float2 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes dash {
  to { stroke-dashoffset: -20; }
}
@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.6; }
  100% { transform: scale(1.4); opacity: 0; }
}
@keyframes count-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes wave-drift {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}
@keyframes wave-drift-slow {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}
@keyframes harmonic-draw {
  from { stroke-dashoffset: 600; }
  to   { stroke-dashoffset: 0; }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.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; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===================================
   NAVIGATION
   =================================== */

header {
  background: rgba(7,16,14,0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(26,158,138,0.18), 0 2px 20px rgba(0,0,0,0.4);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
}

.logo-icon {
  width: 52px; height: 32px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(26,158,138,0.3);
}

/* ===================================
   HARMONICS WAVE DECORATIONS
   =================================== */

/* Animated wave overlay used in dark sections */
.harmonics-waves {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.harmonics-waves-inner {
  /* doubled width for seamless loop */
  width: 200%;
  height: 100%;
  display: flex;
  align-items: center;
  animation: wave-drift 28s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.harmonics-waves-inner.slow {
  animation-duration: 42s;
  animation-direction: reverse;
}
.harmonics-waves svg {
  width: 50%;
  height: 100%;
  flex-shrink: 0;
}

/* Hero wave layer (light sections) */
.hero-harmonics {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.hero-harmonics-inner {
  width: 300%;
  display: flex;
  animation: hero-wave-drift 32s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.hero-harmonics-inner svg {
  width: 33.333%;
  flex-shrink: 0;
}
@keyframes hero-wave-drift {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-33.333%, 0, 0); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-medium);
  font-weight: 500;
  font-size: 0.93rem;
  transition: var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--primary); background: var(--primary-light); }

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 12px rgba(26,158,138,0.25) !important;
}
.nav-cta:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: 0 4px 18px rgba(26,158,138,0.35) !important; }
.nav-cta.active { background: linear-gradient(135deg, var(--primary-dark), #0B5E52) !important; }

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

/* ===================================
   BUTTONS
   =================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  box-shadow: 0 3px 14px rgba(26,158,138,0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(26,158,138,0.38);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover { background: rgba(26,158,138,0.12); transform: translateY(-1px); }

.btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
.btn-white:hover { background: #f0fdf9; transform: translateY(-1px); box-shadow: 0 4px 18px rgba(0,0,0,0.13); }

.btn-group { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===================================
   GRADIENT TEXT
   =================================== */

.gradient-text {
  background: linear-gradient(135deg, #2DCFB4 0%, #7FDDCC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===================================
   PAGE HERO (inner pages)
   =================================== */

.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #0B6E60 100%);
  color: white;
  padding: 80px 0 96px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 { color: white; font-size: 2.5rem; margin-bottom: 14px; position: relative; z-index: 2; }
.page-hero p { font-size: 1.1rem; opacity: 0.88; max-width: 600px; margin: 0 auto; position: relative; z-index: 2; }
.page-hero .section-label { position: relative; z-index: 2; }
.page-hero .harmonics-waves { opacity: 0.18; }

/* Wave separator */
.wave-bottom {
  margin-top: -2px;
  line-height: 0;
  overflow: hidden;
}
.wave-bottom svg { display: block; width: 100%; }

/* ===================================
   SECTIONS
   =================================== */

section { padding: 88px 0; }

.section-label {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.section-title { font-size: 2.1rem; margin-bottom: 16px; }
.section-subtitle { font-size: 1.05rem; color: var(--text-medium); max-width: 580px; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .section-subtitle { margin: 0 auto; }

/* Dot pattern decoration */
.dot-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--primary) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.04;
  pointer-events: none;
}

/* ===================================
   CARDS
   =================================== */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #0096A6);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.card:hover { box-shadow: var(--shadow-card); transform: translateY(-5px); }
.card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  position: relative;
}
.card-icon.teal { background: var(--primary-light); }
.card-icon.orange { background: rgba(255,130,67,0.12); }
.card-icon.blue { background: rgba(155,232,255,0.10); }
.card-icon.yellow { background: rgba(255,213,128,0.12); }

.card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.card p { color: var(--text-medium); font-size: 0.93rem; line-height: 1.7; }

/* ===================================
   STATS STRIP
   =================================== */

.stats-strip {
  background: #060E0D;
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.stats-strip::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(26,158,138,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
  position: relative;
  z-index: 2;
}
.stats-strip .harmonics-waves { opacity: 0.12; }
.stat-item-dark {
  padding: 20px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item-dark:last-child { border-right: none; }
.stat-big {
  font-family: 'Poppins', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-desc { font-size: 0.85rem; color: rgba(255,255,255,0.6); line-height: 1.5; }

/* ===================================
   CTA BANNER
   =================================== */

.cta-banner {
  background: linear-gradient(135deg, #1A9E8A 0%, #0B6E60 50%, #0E4A43 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255,130,67,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 { color: white; font-size: 2.1rem; margin-bottom: 14px; position: relative; z-index: 2; }
.cta-banner p {
  font-size: 1.1rem; opacity: 0.88;
  margin-bottom: 36px;
  max-width: 540px;
  margin-left: auto; margin-right: auto;
  position: relative; z-index: 2;
}
.cta-banner .btn-group { position: relative; z-index: 2; }
.cta-banner .harmonics-waves { opacity: 0.15; }

/* ===================================
   FOOTER
   =================================== */

footer {
  background: #060E0D;
  color: rgba(255,255,255,0.6);
  padding: 64px 0 28px;
  position: relative;
}
footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(26,158,138,0.4), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 48px;
}
.footer-brand p { font-size: 0.88rem; line-height: 1.8; max-width: 300px; }
.footer-links h4 {
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.55); font-size: 0.88rem; transition: var(--transition); }
.footer-links a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 10px;
}

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item-dark { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat-item-dark:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.08); }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: #0D1F1C;
    flex-direction: column;
    padding: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.55);
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .section-title { font-size: 1.75rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .page-hero h1 { font-size: 1.95rem; }
  section { padding: 60px 0; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item-dark { border-right: none; }
}
