/* ═══════════════════════════════════════════
   CYVERNA Enterprise Solutions – Global CSS
   Accenture/enterprise premium style
   ═══════════════════════════════════════════ */

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

:root {
  --navy:       #0A2540;
  --navy-deep:  #061830;
  --navy-mid:   #0d3060;
  --teal:       #00C4A0;
  --teal-light: #00e8be;
  --teal-dark:  #009e80;
  --gold:       #F5C518;
  --gold-dark:  #d4a800;
  --white:      #ffffff;
  --off-white:  #f6f8fb;
  --gray-50:    #f8fafc;
  --gray-100:   #f1f5f9;
  --gray-200:   #e2e8f0;
  --gray-400:   #94a3b8;
  --gray-600:   #475569;
  --gray-800:   #1e293b;
  --text-dark:  #0f172a;
  --text-mid:   #334155;
  --text-muted: #64748b;
  --border:     rgba(0,0,0,0.08);
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:  0 8px 30px rgba(0,0,0,0.10);
  --shadow-lg:  0 20px 60px rgba(0,0,0,0.14);
  --radius:     12px;
  --radius-lg:  20px;
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
html { overflow-x: hidden; }
body { font-family: 'Inter', sans-serif; color: var(--text-dark); background: #fff; overflow-x: hidden; max-width: 100vw; }
h1,h2,h3,h4,h5,h6 { font-family: 'Poppins', sans-serif; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 3px; }
::selection { background: var(--teal); color: white; }

/* ══════════════════ PROGRESS BAR ══════════════════ */
#progress-bar {
  position: fixed; top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  z-index: 99999;
  transition: width 0.1s linear;
}

/* ══════════════════ NAVBAR ══════════════════ */
#mainNav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
}
#mainNav.scrolled, #mainNav.solid {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
#mainNav.dark-nav { background: var(--navy-deep); }
#mainNav.dark-nav.scrolled { background: rgba(6,24,48,0.97); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255,255,255,0.08); }

.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  transition: padding 0.3s;
}
#mainNav.scrolled .nav-inner, #mainNav.solid .nav-inner { padding: 10px 0; }

.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 46px; width: auto; object-fit: contain; }
.nav-logo-text { line-height: 1.1; }
.nav-logo-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem; font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--navy);
  transition: color 0.3s;
}
.nav-logo-tag {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.58rem; color: var(--teal);
  letter-spacing: 3px; text-transform: uppercase;
}

/* Dark nav overrides */
#mainNav.dark-nav .nav-logo-name,
#mainNav.dark-nav .nav-link-item { color: rgba(255,255,255,0.9) !important; }
#mainNav.dark-nav .nav-logo-name { color: white !important; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-link-item {
  font-family: 'Poppins', sans-serif;
  font-size: 0.855rem; font-weight: 500;
  color: var(--text-dark);
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
  display: flex; align-items: center; gap: 5px;
  cursor: pointer;
}
.nav-link-item:hover { color: var(--teal); background: rgba(0,196,160,0.07); }
.nav-link-item.active { color: var(--teal); }

/* Dropdown */
.nav-dd { position: relative; cursor: pointer; }
.nav-dd-menu {
  position: fixed;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  min-width: 320px; padding: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  opacity: 0; visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 999999;
}
.nav-dd.dd-open .nav-dd-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
}
.dd-item {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px; border-radius: 8px;
  color: var(--text-mid); font-size: 0.85rem; font-weight: 500;
  transition: var(--transition);
}
.dd-item:hover { background: var(--gray-50); color: var(--teal); }
.dd-icon {
  width: 38px; height: 38px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; flex-shrink: 0;
}
.dd-sep { height: 1px; background: var(--gray-200); margin: 6px 0; }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.btn-nav-ghost {
  font-family: 'Poppins', sans-serif; font-size: 0.82rem; font-weight: 600;
  color: var(--text-dark); padding: 8px 18px; border-radius: 8px;
  border: 1.5px solid var(--gray-200); transition: var(--transition);
}
.btn-nav-ghost:hover { border-color: var(--teal); color: var(--teal); }
#mainNav.dark-nav .btn-nav-ghost { color: white; border-color: rgba(255,255,255,0.2); }

.btn-nav-cta {
  font-family: 'Poppins', sans-serif; font-size: 0.82rem; font-weight: 700;
  background: var(--teal); color: white !important;
  padding: 9px 22px; border-radius: 8px;
  transition: var(--transition);
  display: flex; align-items: center; gap: 7px;
}
.btn-nav-cta:hover { background: var(--teal-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,196,160,0.35); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text-dark); border-radius: 2px; transition: all 0.3s; }
#mainNav.dark-nav .hamburger span { background: white; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-drawer {
  display: block; position: fixed; top: 0; left: 0; bottom: 0;
  width: min(300px, 85vw); background: white;
  box-shadow: 4px 0 30px rgba(0,0,0,0.15); z-index: 9999;
  padding: 80px 24px 40px;
  overflow-y: auto;
  transform: translateX(-110%);
  transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
  -webkit-transform: translateX(-110%);
  -webkit-transition: -webkit-transform 0.32s cubic-bezier(0.4,0,0.2,1);
}
.mobile-drawer.open {
  transform: translateX(0);
  -webkit-transform: translateX(0);
}
.drawer-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.5); z-index: 9998;
}
.drawer-overlay.open { display: block; }
.mobile-drawer a {
  display: block; padding: 13px 16px; border-radius: 8px;
  font-family: 'Poppins', sans-serif; font-size: 0.9rem; font-weight: 500;
  color: var(--text-dark); transition: var(--transition);
}
.mobile-drawer a:hover { background: var(--gray-50); color: var(--teal); }
.drawer-divider { height: 1px; background: var(--gray-200); margin: 12px 0; }
.drawer-cta {
  margin-top: 20px;
  background: var(--teal); color: white !important;
  text-align: center; border-radius: 8px;
  font-weight: 700 !important;
}

/* ══════════════════ SECTIONS ══════════════════ */
.section-dark { background: var(--navy-deep); }
.section-navy { background: var(--navy); }
.section-navy-mid { background: var(--navy-mid); }
.section-light { background: var(--gray-50); }
.section-white { background: white; }

.section-pad { padding: 100px 0; }
.section-pad-sm { padding: 70px 0; }
.section-pad-lg { padding: 130px 0; }

/* ── BADGES ── */
.badge-teal {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,196,160,0.1); border: 1px solid rgba(0,196,160,0.25);
  color: var(--teal-dark); font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; padding: 6px 16px; border-radius: 30px;
  margin-bottom: 20px;
}
.badge-teal .dot { width: 6px; height: 6px; background: var(--teal); border-radius: 50%; animation: pulse 2s infinite; }
.badge-white {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
  color: white; font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; padding: 6px 16px; border-radius: 30px;
  margin-bottom: 20px;
}
.badge-gold {
  background: rgba(245,197,24,0.1); border: 1px solid rgba(245,197,24,0.3);
  color: var(--gold-dark); font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; padding: 6px 16px; border-radius: 30px;
  margin-bottom: 20px; display: inline-block;
}

@keyframes pulse { 0%,100%{box-shadow:0 0 0 0 rgba(0,196,160,0.4)} 50%{box-shadow:0 0 0 8px rgba(0,196,160,0)} }

/* ── HEADINGS ── */
.heading-xl {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 900; line-height: 1.08;
  letter-spacing: -1.5px;
  color: var(--text-dark);
}
.heading-lg {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800; line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--text-dark);
}
.heading-md {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700; line-height: 1.25;
  color: var(--text-dark);
}
.heading-white { color: white !important; }
.heading-teal { color: var(--teal) !important; }
.heading-gold { color: var(--gold) !important; }
.accent-teal { color: var(--teal); }
.accent-gold { color: var(--gold); }
.text-gradient {
  background: linear-gradient(135deg, var(--teal), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lead-text {
  font-size: 1.1rem; line-height: 1.8; color: var(--text-mid);
  max-width: 600px;
}
.lead-text-white { color: rgba(255,255,255,0.8); }

.divider { width: 56px; height: 4px; background: linear-gradient(90deg, var(--teal), var(--gold)); border-radius: 2px; margin: 20px 0 28px; }

/* ── BUTTONS ── */
.btn-primary-cyverna {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal); color: white !important;
  font-family: 'Poppins', sans-serif; font-size: 0.9rem; font-weight: 700;
  padding: 14px 32px; border-radius: 8px; border: none;
  transition: var(--transition); position: relative; overflow: hidden;
  cursor: pointer;
}
.btn-primary-cyverna::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.btn-primary-cyverna:hover::after { opacity: 1; }
.btn-primary-cyverna:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,196,160,0.4); }

.btn-secondary-cyverna {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text-dark) !important;
  font-family: 'Poppins', sans-serif; font-size: 0.9rem; font-weight: 600;
  padding: 13px 31px; border-radius: 8px;
  border: 2px solid var(--gray-200); transition: var(--transition); cursor: pointer;
}
.btn-secondary-cyverna:hover { border-color: var(--teal); color: var(--teal) !important; transform: translateY(-2px); }

.btn-white-cyverna {
  display: inline-flex; align-items: center; gap: 8px;
  background: white; color: var(--navy) !important;
  font-family: 'Poppins', sans-serif; font-size: 0.9rem; font-weight: 700;
  padding: 14px 32px; border-radius: 8px; border: none;
  transition: var(--transition); cursor: pointer;
}
.btn-white-cyverna:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255,255,255,0.2); }

.btn-outline-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: white !important;
  font-family: 'Poppins', sans-serif; font-size: 0.9rem; font-weight: 600;
  padding: 13px 31px; border-radius: 8px;
  border: 2px solid rgba(255,255,255,0.35); transition: var(--transition); cursor: pointer;
}
.btn-outline-white:hover { border-color: white; background: rgba(255,255,255,0.08); transform: translateY(-2px); }

.btn-wa {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25d366; color: white !important;
  font-family: 'Poppins', sans-serif; font-size: 0.88rem; font-weight: 700;
  padding: 12px 26px; border-radius: 8px; transition: var(--transition); cursor: pointer;
}
.btn-wa:hover { background: #128c7e; transform: translateY(-2px); }

/* ══════════════════ CARDS ══════════════════ */
.card-cyverna {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}
.card-cyverna::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--teal), var(--gold));
  transform: scaleX(0); transition: transform 0.35s ease;
}
.card-cyverna:hover::before { transform: scaleX(1); }
.card-cyverna:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); border-color: rgba(0,196,160,0.2); }

.card-dark {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: var(--transition);
}
.card-dark:hover { background: rgba(0,196,160,0.06); border-color: rgba(0,196,160,0.2); transform: translateY(-4px); }

/* Icon box */
.icon-box {
  width: 60px; height: 60px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 24px; flex-shrink: 0;
}
.icon-box-teal { background: rgba(0,196,160,0.1); color: var(--teal); }
.icon-box-gold { background: rgba(245,197,24,0.1); color: var(--gold-dark); }
.icon-box-navy { background: rgba(10,37,64,0.08); color: var(--navy); }
.icon-box-white { background: rgba(255,255,255,0.12); color: white; }

.card-title { font-family: 'Poppins', sans-serif; font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; color: var(--text-dark); }
.card-desc { font-size: 0.875rem; line-height: 1.7; color: var(--text-muted); }

/* ══════════════════ STATS ══════════════════ */
.stat-block { text-align: center; }
.stat-num {
  font-family: 'Poppins', sans-serif; font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 900; line-height: 1; margin-bottom: 8px;
  color: var(--teal);
}
.stat-label { font-family: 'Poppins', sans-serif; font-size: 0.9rem; font-weight: 600; color: var(--text-mid); }
.stat-sub { font-size: 0.75rem; color: var(--text-muted); margin-top: 3px; }
.stat-block.on-dark .stat-label { color: rgba(255,255,255,0.8); }
.stat-block.on-dark .stat-sub { color: rgba(255,255,255,0.45); }

/* ══════════════════ IMAGE COMPONENTS ══════════════════ */
.img-cover {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--radius);
  display: block;
}
.img-rounded { border-radius: var(--radius-lg); overflow: hidden; }
.img-shadow { box-shadow: var(--shadow-lg); }

.hero-img-stack {
  position: relative;
}
.hero-img-main {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3; object-fit: cover;
}
.hero-img-badge {
  position: absolute;
  background: white; border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
}

/* ══════════════════ TICKER ══════════════════ */
.ticker-bar {
  background: var(--navy);
  padding: 14px 0; overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.ticker-track { display: flex; animation: ticker 35s linear infinite; width: max-content; gap: 0; }
.ticker-item {
  display: flex; align-items: center; gap: 10px;
  padding: 0 36px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem; font-weight: 600;
  color: rgba(255,255,255,0.6); letter-spacing: 1.5px; text-transform: uppercase; white-space: nowrap;
}
.ticker-dot { width: 4px; height: 4px; background: var(--teal); border-radius: 50%; }
@keyframes ticker { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ══════════════════ IMPACT BOX ══════════════════ */
.impact-box {
  background: linear-gradient(135deg, rgba(0,196,160,0.06), rgba(0,196,160,0.02));
  border: 1px solid rgba(0,196,160,0.2);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius); padding: 24px 28px;
}
.impact-box p { font-size: 0.92rem; line-height: 1.75; color: var(--text-mid); margin: 0; }

/* ══════════════════ TESTIMONIALS ══════════════════ */
.testi-card {
  background: white; border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 32px;
  transition: var(--transition);
}
.testi-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.testi-stars { color: var(--gold); font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 14px; }
.testi-quote { font-size: 0.9rem; line-height: 1.75; color: var(--text-mid); font-style: italic; margin-bottom: 24px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-photo { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gray-200); }
.testi-name { font-family: 'Poppins', sans-serif; font-size: 0.88rem; font-weight: 700; color: var(--text-dark); }
.testi-role { font-size: 0.75rem; color: var(--teal); }

/* ══════════════════ STICKY FLOAT ══════════════════ */
.sticky-float {
  position: fixed; bottom: 28px; right: 22px;
  display: flex; flex-direction: column; gap: 10px; z-index: 9990;
}
.float-btn {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: var(--transition); position: relative; cursor: pointer;
  text-decoration: none;
}
.float-btn:hover { transform: scale(1.1); }
.float-wa { background: #25d366; color: white !important; }
.float-expert { background: #1a56db; color: white !important; }
.float-call { background: #1a56db; color: white !important; }
.float-top { background: white; color: var(--navy) !important; border: 1.5px solid var(--gray-200); display: none; }
.float-tooltip {
  position: absolute; right: 62px;
  background: var(--text-dark); color: white;
  font-size: 0.72rem; font-family: 'Poppins', sans-serif;
  padding: 5px 12px; border-radius: 6px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.float-btn:hover .float-tooltip { opacity: 1; }

/* ══════════════════ FOOTER ══════════════════ */
footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.75);
}
.footer-top { padding: 80px 0 50px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.footer-logo-row { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-logo-img { height: 48px; width: auto; }
.footer-logo-name { font-family: 'Poppins', sans-serif; font-size: 1.3rem; font-weight: 800; color: white; }
.footer-logo-tag { font-family: 'Space Grotesk', sans-serif; font-size: 0.58rem; color: var(--teal); letter-spacing: 3px; text-transform: uppercase; }
.footer-desc { font-size: 0.85rem; line-height: 1.7; color: rgba(255,255,255,0.55); margin-bottom: 24px; max-width: 280px; }
.footer-socials { display: flex; gap: 8px; }
.footer-social {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); font-size: 0.85rem; transition: var(--transition);
}
.footer-social:hover { background: var(--teal); color: white; border-color: var(--teal); }
.footer-heading { font-family: 'Poppins', sans-serif; font-size: 0.78rem; font-weight: 700; color: white; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 18px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { font-size: 0.84rem; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-links a:hover { color: var(--teal); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 0.82rem; color: rgba(255,255,255,0.6); }
.footer-contact-item i { color: var(--teal); margin-top: 2px; font-size: 0.85rem; flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-contact-item a:hover { color: var(--teal); }
.footer-bottom { padding: 22px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.4); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 0.76rem; color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-legal a:hover { color: var(--teal); }

/* ══════════════════ SERVICE PAGE HERO ══════════════════ */
.service-hero {
  min-height: 500px; padding: 140px 0 80px;
  position: relative; overflow: hidden;
  display: flex; align-items: center;
}
.service-hero-dark { background: var(--navy-deep); color: white; }
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(0,196,160,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(0,196,160,0.05) 1px, transparent 1px);
  background-size: 55px 55px;
}
.hero-glow {
  position: absolute; top: -150px; right: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,196,160,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

/* ══════════════════ PAGE HERO (Light) ══════════════════ */
.page-hero-light {
  background: linear-gradient(135deg, var(--gray-50) 0%, white 100%);
  padding: 140px 0 80px;
  border-bottom: 1px solid var(--gray-200);
  position: relative; overflow: hidden;
}
.page-hero-light::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,196,160,0.07) 0%, transparent 70%);
  border-radius: 50%;
}

/* ══════════════════ PROCESS STEPS ══════════════════ */
.process-step { display: flex; gap: 24px; margin-bottom: 36px; }
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--teal); color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif; font-size: 1rem; font-weight: 800;
  flex-shrink: 0; margin-top: 2px;
}
.step-content .step-title { font-family: 'Poppins', sans-serif; font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
.step-content .step-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }

/* ══════════════════ FEATURE LIST ══════════════════ */
.feature-list { list-style: none; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--gray-100);
  font-size: 0.88rem; color: var(--text-mid); line-height: 1.6;
}
.feature-list li:last-child { border: none; }
.feature-list li::before {
  content: ''; width: 8px; height: 8px;
  background: var(--teal); border-radius: 50%;
  flex-shrink: 0; margin-top: 6px;
}

/* ══════════════════ DETAIL TABLE ══════════════════ */
.detail-table { width: 100%; border-collapse: collapse; }
.detail-table tr { border-bottom: 1px solid var(--gray-100); }
.detail-table td { padding: 14px 12px; font-size: 0.875rem; vertical-align: top; }
.detail-table td:first-child { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--teal); width: 180px; white-space: nowrap; }
.detail-table td:last-child { color: var(--text-mid); line-height: 1.65; }

/* ══════════════════ MISC ══════════════════ */
.separator { height: 1px; background: var(--gray-200); margin: 0; }
.tag-pill {
  display: inline-block; background: var(--gray-100); color: var(--text-mid);
  font-size: 0.72rem; font-weight: 600; padding: 4px 12px; border-radius: 20px;
  font-family: 'Space Grotesk', sans-serif; letter-spacing: 0.5px;
}
.tag-pill-teal { background: rgba(0,196,160,0.1); color: var(--teal-dark); }

/* CTA Banner */
.cta-band {
  background: var(--navy);
  padding: 80px 0;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,196,160,0.08) 0%, transparent 60%);
}

/* ══════════════════ ANIMATIONS ══════════════════ */
/* AOS handles its own opacity — do not override */

/* ══════════════════ RESPONSIVE ══════════════════ */
@media (max-width: 991px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }
  .section-pad { padding: 70px 0; }
  .section-pad-lg { padding: 80px 0; }
}
@media (max-width: 767px) {
  .heading-xl { font-size: 2.2rem; }
  .heading-lg { font-size: 1.7rem; }
  .section-pad { padding: 55px 0; }
}
@media (max-width: 575px) {
  .card-cyverna { padding: 24px 20px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ══════════════════ WHITE NAV (default) ══════════════════ */
#mainNav {
  background: white !important;
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
#mainNav.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}
#mainNav .nav-logo-name { color: var(--navy) !important; }
#mainNav .nav-link-item { color: var(--text-dark) !important; }
#mainNav .btn-nav-ghost { color: var(--text-dark) !important; border-color: var(--gray-200) !important; }

/* ══════════════════ NEW HERO – Secure.Automate.Amplify style ══════════════════ */
#hero-v2 {
  min-height: 100vh;
  background: var(--navy-deep);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: 80px;
}
.hero-word-line { display: block; font-family: 'Poppins', sans-serif; font-weight: 900; line-height: 1.05; letter-spacing: -2px; }
.hero-word-line .w-white { color: white; }
.hero-word-line .w-teal  { color: var(--teal); }
.hero-word-line .w-gold  { color: var(--gold); }
.hero-tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 36px; }
.hero-tag { display: flex; align-items: center; gap: 6px; border: 1px solid rgba(255,255,255,0.18); color: rgba(255,255,255,0.75); font-family: 'Space Grotesk', sans-serif; font-size: 0.72rem; letter-spacing: 1.5px; padding: 7px 14px; border-radius: 6px; text-transform: uppercase; }
.hero-tag i { color: var(--teal); font-size: 0.7rem; }

/* Orbit animation */
.orbit-container { position: relative; width: 480px; height: 480px; flex-shrink: 0; }
.orbit-logo { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 5; }
.orbit-logo img { width: 160px; height: 160px; object-fit: contain; filter: drop-shadow(0 0 30px rgba(0,196,160,0.3)); }
.orbit-ring {
  position: absolute; border-radius: 50%; border: 1px solid rgba(0,196,160,0.15);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.orbit-ring-1 { width: 260px; height: 260px; animation: spin1 20s linear infinite; }
.orbit-ring-2 { width: 380px; height: 380px; animation: spin1 32s linear infinite reverse; }
.orbit-ring-3 { width: 480px; height: 480px; animation: spin1 45s linear infinite; }
@keyframes spin1 { to { transform: translate(-50%, -50%) rotate(360deg); } }

.orbit-badge {
  position: absolute; background: rgba(10,37,64,0.92);
  border: 1px solid rgba(0,196,160,0.3); border-radius: 10px;
  padding: 9px 14px; display: flex; align-items: center; gap: 9px;
  white-space: nowrap; backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  animation: float 4s ease-in-out infinite;
}
.orbit-badge i { color: var(--teal); font-size: 0.85rem; }
.orbit-badge span { font-family: 'Space Grotesk', sans-serif; font-size: 0.72rem; color: rgba(255,255,255,0.9); font-weight: 600; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

/* ══════════════════ WHY CYVERNA DEEP SECTION ══════════════════ */
.why-pillar { border-left: 3px solid var(--teal); padding-left: 24px; margin-bottom: 40px; }
.why-pillar h3 { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.15rem; color: var(--text-dark); margin-bottom: 10px; }
.why-pillar p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.8; }
.why-diff-card { background: white; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); }
.why-diff-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.why-diff-head { background: var(--navy); padding: 20px 24px; }
.why-diff-head h4 { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 0.95rem; color: white; margin: 0; }
.why-diff-head span { font-size: 0.72rem; color: var(--teal); letter-spacing: 1px; }
.why-diff-body { padding: 24px; }
.why-diff-body p { font-size: 0.875rem; color: var(--text-mid); line-height: 1.75; margin: 0; }

/* ══════════════════ PRICING ══════════════════ */
.pricing-card {
  background: white; border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: var(--transition); height: 100%;
  position: relative;
}
.pricing-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.pricing-card.featured { border-color: var(--teal); }
.pricing-card.featured::before { content: 'Most Popular'; position: absolute; top: 18px; right: -32px; background: var(--teal); color: white; font-family: 'Space Grotesk', sans-serif; font-size: 0.65rem; font-weight: 700; letter-spacing: 1.5px; padding: 4px 40px; transform: rotate(45deg); }
.pc-head { padding: 32px 28px 24px; border-bottom: 1px solid var(--gray-200); }
.pc-tier { font-family: 'Space Grotesk', sans-serif; font-size: 0.68rem; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px; }
.pc-name { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.3rem; color: var(--text-dark); margin-bottom: 4px; }
.pc-desc { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }
.pc-price { margin-top: 20px; display: flex; align-items: baseline; gap: 4px; }
.pc-currency { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1rem; color: var(--text-mid); }
.pc-amount { font-family: 'Poppins', sans-serif; font-weight: 900; font-size: 2.2rem; color: var(--text-dark); line-height: 1; }
.pc-period { font-size: 0.78rem; color: var(--text-muted); }
.pc-body { padding: 24px 28px 28px; }
.pc-features { list-style: none; margin-bottom: 24px; }
.pc-features li { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; font-size: 0.84rem; color: var(--text-mid); border-bottom: 1px solid var(--gray-100); line-height: 1.5; }
.pc-features li:last-child { border: none; }
.pc-features li i { color: var(--teal); flex-shrink: 0; margin-top: 2px; font-size: 0.8rem; }
.pc-features li.pc-no i { color: var(--gray-400); }
.pc-features li.pc-no { opacity: 0.55; }

/* ══════════════════ TERMS / PRIVACY PAGE ══════════════════ */
.legal-section { margin-bottom: 40px; }
.legal-section h3 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--navy); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--gray-200); }
.legal-section p, .legal-section li { font-size: 0.875rem; color: var(--text-mid); line-height: 1.8; }
.legal-section ul { padding-left: 20px; margin-bottom: 12px; }
.legal-section ul li { margin-bottom: 6px; }

/* Testimonial grid */
.testi-grid { columns: 3; column-gap: 24px; }
.testi-grid .testi-card { break-inside: avoid; margin-bottom: 24px; }
@media(max-width:991px){ .testi-grid{columns:2} }
@media(max-width:575px){ .testi-grid{columns:1} }

/* ══════════════════ COMM AI PAGE ══════════════════ */
.comm-feature-strip {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 12px;
  display: flex; align-items: flex-start; gap: 24px;
  transition: var(--transition);
}
.comm-feature-strip:hover { background: var(--navy-mid); }
.comm-feature-strip .cfs-icon { width: 56px; height: 56px; border-radius: 12px; background: rgba(0,196,160,0.12); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: var(--teal); flex-shrink: 0; }

/* ─── General page section animations ─── */
@keyframes pulse{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(1.4);opacity:.6}}
.dot{display:inline-block;width:7px;height:7px;background:var(--teal);border-radius:50%;margin-right:7px;animation:pulse 2s infinite}

/* ─── Floating orbit badges ─── */
@keyframes floatA{0%,100%{transform:translateY(0)}50%{transform:translateY(-9px)}}
@keyframes floatB{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
.ob:nth-child(4){animation:floatA 3.8s ease-in-out infinite !important}
.ob:nth-child(5){animation:floatB 4.5s ease-in-out infinite .6s !important}
.ob:nth-child(6){animation:floatA 5s ease-in-out infinite 1.2s !important}
.ob:nth-child(7){animation:floatB 4.2s ease-in-out infinite .3s !important}
.ob:nth-child(8){animation:floatA 3.6s ease-in-out infinite .9s !important}
.ob:nth-child(9){animation:floatB 4.8s ease-in-out infinite 1.5s !important}

/* ─── Hero Dashboard Visual ─── */
.hero-dashboard {
  position: relative;
  width: 420px;
  max-width: 100%;
}
.hd-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  padding: 20px 22px;
  animation: hdCardIn 0.8s ease-out both;
}
@keyframes hdCardIn { from { opacity:0; transform:translateY(20px) scale(0.97); } to { opacity:1; transform:translateY(0) scale(1); } }
.hd-main { animation-delay: 0.4s; }
.hd-card-header { display: flex; align-items: center; gap: 5px; margin-bottom: 18px; }
.hd-dot { width: 9px; height: 9px; border-radius: 50%; }
.hd-metrics { display: flex; gap: 0; margin-bottom: 18px; }
.hd-metric { flex: 1; text-align: center; padding: 10px 0; border-right: 1px solid rgba(255,255,255,.06); }
.hd-metric:last-child { border-right: none; }
.hd-metric-val { font-family: Poppins, sans-serif; font-weight: 900; font-size: 1.25rem; line-height: 1; }
.hd-metric-lbl { font-family: Space Grotesk, sans-serif; font-size: .58rem; color: rgba(255,255,255,.35); letter-spacing: 1px; text-transform: uppercase; margin-top: 4px; }
.hd-bars { margin-bottom: 4px; }
.hd-bar-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-family: Space Grotesk, sans-serif; font-size: .6rem; color: rgba(255,255,255,.4); }
.hd-bar-row span:first-child { width: 64px; flex-shrink: 0; }
.hd-bar-row span:last-child { width: 30px; text-align: right; flex-shrink: 0; }
.hd-bar-track { flex: 1; height: 5px; background: rgba(255,255,255,.06); border-radius: 3px; overflow: hidden; }
.hd-bar-fill { height: 100%; border-radius: 3px; width: 0; animation: barGrow 1.4s ease-out both; animation-delay: 0.9s; }
@keyframes barGrow { from { width: 0; } }
/* Floating mini cards */
.hd-float {
  position: absolute;
  background: rgba(10,37,64,0.95);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 10px 14px;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  white-space: nowrap;
  animation: hdCardIn 0.8s ease-out both;
}
.hd-float-1 { top: -24px; right: -28px; animation-delay: 1s; animation: hdCardIn .8s ease-out 1s both, floatA 4s ease-in-out 1.8s infinite; }
.hd-float-2 { bottom: -22px; right: -20px; animation: hdCardIn .8s ease-out 1.2s both, floatB 4.5s ease-in-out 2s infinite; }
.hd-float-3 { top: 38%; left: -30px; animation: hdCardIn .8s ease-out 0.8s both, floatA 3.8s ease-in-out 1.6s infinite; }
.hd-float-4 { bottom: 22%; right: -32px; animation: hdCardIn .8s ease-out 1.4s both, floatB 5s ease-in-out 2.2s infinite; }
@keyframes floatA { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
@keyframes floatB { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }

/* ─── Testimonial 3-box carousel ─── */
.tc-wrapper {
  overflow: hidden;
  position: relative;
}
.tc-track {
  display: flex;
  gap: 24px;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.tc-slide {
  flex: 0 0 calc(33.333% - 16px);
  min-width: calc(33.333% - 16px);
}
.tc-box {
  background: white;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
  position: relative;
}
.tc-box:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.10);
  transform: translateY(-4px);
  border-color: rgba(0,196,160,0.3);
}
.tc-box::before {
  content: '❝';
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 2.5rem;
  color: rgba(0,196,160,0.1);
  line-height: 1;
  font-family: Georgia, serif;
}
.tc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.tc-product-tag {
  font-family: Space Grotesk, sans-serif;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 5px;
}
.tc-stars {
  color: var(--gold-dark);
  font-size: .85rem;
  letter-spacing: 2px;
}
.tc-quote {
  font-size: .875rem;
  color: var(--text-mid);
  line-height: 1.85;
  flex: 1;
  margin: 0 0 22px;
  font-style: italic;
}
.tc-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--gray-100);
}
.tc-photo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(0,196,160,0.2);
  flex-shrink: 0;
}
.tc-name {
  font-family: Poppins, sans-serif;
  font-weight: 700;
  font-size: .85rem;
  color: var(--text-dark);
}
.tc-role {
  font-size: .73rem;
  color: var(--text-muted);
  margin-top: 2px;
}
@media (max-width: 992px) {
  .tc-slide { flex: 0 0 calc(50% - 12px); min-width: calc(50% - 12px); }
}
@media (max-width: 576px) {
  .tc-slide { flex: 0 0 100%; min-width: 100%; }
}

/* ─── Hero dashboard mobile responsive ─── */
@media (max-width: 991px) {
  .hero-dashboard {
    width: 100%;
    max-width: 420px;
    margin: 32px auto 0;
  }
  .hd-float-1, .hd-float-2, .hd-float-3, .hd-float-4 {
    display: none;
  }
  .hd-metrics {
    gap: 0;
  }
}
@media (max-width: 575px) {
  .hero-dashboard {
    max-width: 100%;
  }
  .hd-card {
    padding: 16px 16px;
  }
  .hd-metric-val {
    font-size: 1.05rem;
  }
}


/* Prevent hero dashboard floating cards from causing horizontal scroll */
#hero-v2 { overflow: hidden; }
.hero-dashboard { overflow: visible; }

/* Ensure nav-placeholder doesn't create stacking context that traps drawer */
#nav-placeholder {
  position: relative;
  z-index: auto;
}

/* ─── Nav overflow fix — logo never gets clipped ─── */
#mainNav { max-width: 100vw; }
.nav-inner { min-width: 0; overflow: visible; }
.nav-logo { min-width: 0; flex-shrink: 1; overflow: hidden; }
.nav-logo img { flex-shrink: 0; }
.nav-logo-text, .nav-logo-name, .nav-logo-tag { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Hamburger always in top-right on mobile — never clipped */
@media (max-width: 991px) {
  .nav-inner { flex-wrap: nowrap; gap: 8px; }
  .nav-logo-name { font-size: 1rem !important; }
  .hamburger {
    display: flex !important;
    flex-shrink: 0;
    margin-left: auto;
    position: relative;
    z-index: 1001;
  }
  .nav-actions { display: none !important; }
  .nav-links { display: none !important; }
}

/* Hero col full width on mobile, no orphan right space */
@media (max-width: 991px) {
  #hero-v2 .row { flex-direction: column; }
  #hero-v2 .col-lg-7,
  #hero-v2 .col-lg-5 { width: 100%; max-width: 100%; flex: 0 0 100%; }
}
