/* ==========================================================================
   RANKWITHNIVI — LUXURIOUS DARK EMERALD GLASS DESIGN SYSTEM
   ========================================================================== */

:root {
  /* Core Color Palette */
  --bg-black: #040806;
  --bg-deep: #060e0a;
  --bg-surface: #0a1711;
  --bg-surface-elevated: #0f2219;
  
  /* Emerald Palette */
  --emerald-900: #062416;
  --emerald-800: #0b3d26;
  --emerald-700: #0d5435;
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-400: #34d399;
  --emerald-300: #6ee7b7;
  --emerald-200: #a7f3d0;
  --emerald-100: #d1fae5;
  --emerald-glow: rgba(52, 211, 153, 0.28);
  --emerald-glow-strong: rgba(16, 185, 129, 0.45);

  /* Glassmorphism Specs */
  --glass-bg: rgba(9, 23, 16, 0.65);
  --glass-bg-hover: rgba(14, 34, 24, 0.8);
  --glass-border: rgba(52, 211, 153, 0.16);
  --glass-border-hover: rgba(52, 211, 153, 0.38);
  --glass-highlight: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 12px 36px 0 rgba(0, 0, 0, 0.55), inset 0 1px 0 0 var(--glass-highlight);
  --glass-shadow-hover: 0 18px 48px 0 rgba(6, 36, 22, 0.45), 0 0 20px 2px rgba(52, 211, 153, 0.2), inset 0 1px 0 0 rgba(255, 255, 255, 0.15);

  /* Text & Accents */
  --text-primary: #f0fdf4;
  --text-secondary: #94a39b;
  --text-muted: #64746c;
  --text-emerald: #34d399;

  /* Typography */
  --font-heading: 'Syne', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Transitions & Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  background-color: var(--bg-black);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Selection */
::selection {
  background: var(--emerald-500);
  color: var(--bg-black);
}

/* Ambient Background Glows */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.glow-top {
  top: -150px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.28) 0%, rgba(6, 36, 22, 0.05) 70%, transparent 100%);
}

.glow-center {
  top: 40%;
  left: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(5, 150, 105, 0.18) 0%, rgba(4, 8, 6, 0) 70%);
}

.glow-bottom {
  bottom: 0;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.15) 0%, rgba(4, 8, 6, 0) 70%);
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 1;
}

.max-w-640 { max-width: 640px; }
.max-w-680 { max-width: 680px; }
.max-w-780 { max-width: 780px; }
.max-w-860 { max-width: 860px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.w-full { width: 100%; }
.text-emerald { color: var(--emerald-400); }

/* Typography */
h1, h2, h3, h4, .brand-text {
  font-family: var(--font-heading);
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--text-primary);
}

.section-padding {
  padding: 100px 0;
}

/* Header & Sticky Glass Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition-smooth);
  padding: 18px 0;
}

.site-header.scrolled {
  padding: 12px 0;
  background: rgba(4, 12, 8, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(52, 211, 153, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.header-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 1.35rem;
  font-weight: 700;
}

.logo-symbol {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0b3d26 0%, #06190f 100%);
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: 10px;
  box-shadow: 0 0 16px rgba(52, 211, 153, 0.25);
  color: var(--emerald-400);
}

.logo-symbol svg {
  width: 20px;
  height: 20px;
}

.desktop-nav .nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.935rem;
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--emerald-300);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--emerald-400), var(--emerald-500));
  border-radius: 2px;
  transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Glass Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1.05rem;
}

.btn-arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #03120a;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  font-weight: 700;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  box-shadow: 0 6px 30px rgba(52, 211, 153, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(10, 26, 18, 0.7);
  color: var(--text-primary);
  border: 1px solid rgba(52, 211, 153, 0.25);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(16, 42, 29, 0.9);
  border-color: rgba(52, 211, 153, 0.5);
  color: var(--emerald-300);
  transform: translateY(-2px);
}

.btn-emerald-glass {
  background: rgba(6, 36, 22, 0.6);
  color: var(--emerald-300);
  border: 1px solid rgba(52, 211, 153, 0.3);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(6, 36, 22, 0.5);
}

.btn-emerald-glass:hover {
  background: rgba(11, 54, 34, 0.85);
  border-color: rgba(52, 211, 153, 0.6);
  color: #ffffff;
  box-shadow: 0 6px 28px rgba(16, 185, 129, 0.35);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25d366;
  color: #03200e;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: #2ee672;
  box-shadow: 0 6px 26px rgba(37, 211, 102, 0.5);
  transform: translateY(-2px);
}

.wa-icon {
  width: 20px;
  height: 20px;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.mobile-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.mobile-toggle.active .bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.mobile-toggle.active .bar:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active .bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Menu Slideout */
.mobile-menu {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(4, 10, 7, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  z-index: 999;
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-link {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-fast);
  display: block;
}

.mobile-link:hover {
  color: var(--emerald-400);
  padding-left: 6px;
}

.mobile-contact-info {
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.9;
}

.mobile-contact-info a {
  color: var(--emerald-400);
  text-decoration: none;
}

/* Glass Panels & Cards */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.glass-panel:hover {
  border-color: var(--glass-border-hover);
  box-shadow: var(--glass-shadow-hover);
}

/* SECTION HEADER STYLING */
.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.28);
  color: var(--emerald-300);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.section-heading {
  font-size: 2.5rem;
  line-height: 1.22;
  margin-bottom: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #c4dbd0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtext {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   HERO SECTION WITH SMOOTH SCROLLING IMAGE SEQUENCE
   ========================================================================== */
.hero-sequence-section {
  position: relative;
  width: 100%;
}

.hero-scroll-track {
  height: 240vh;
  position: relative;
  width: 100%;
}

.hero-sticky-stage {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #040806;
  z-index: 2;
}

.hero-canvas-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

#hero-sequence-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.canvas-gradient-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 160px;
  background: linear-gradient(180deg, rgba(4, 8, 6, 0.94) 0%, rgba(4, 8, 6, 0.4) 60%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

.canvas-gradient-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(0deg, rgba(4, 8, 6, 0.98) 0%, rgba(4, 8, 6, 0.5) 60%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

.canvas-gradient-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 40%, rgba(4, 8, 6, 0.55) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Hero Stage Content Layers */
.hero-stage-container {
  position: relative;
  z-index: 5;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 110px;
  padding-bottom: 30px;
  pointer-events: none;
}

.hero-content-block {
  pointer-events: auto;
}

.hero-stage-intro {
  max-width: 650px;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  background: rgba(4, 14, 9, 0.58);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(52, 211, 153, 0.25);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  transition: opacity 0.25s ease, transform 0.25s ease;
  will-change: opacity, transform;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px;
  border-radius: var(--radius-full);
  background: rgba(6, 36, 22, 0.6);
  border: 1px solid rgba(52, 211, 153, 0.35);
  box-shadow: 0 0 25px rgba(52, 211, 153, 0.15);
  margin-bottom: 18px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #34d399;
  box-shadow: 0 0 10px #34d399;
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.eyebrow-text {
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--emerald-300);
}

.badge-separator {
  color: rgba(52, 211, 153, 0.4);
}

.badge-sub {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.hero-title {
  font-size: 3.1rem;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 18px;
  background: linear-gradient(145deg, #ffffff 30%, #a7f3d0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.hero-trust-bar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid rgba(52, 211, 153, 0.12);
  padding-top: 20px;
}

.trust-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.check-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Stage 2: Monoliths Overlay */
.hero-stage-monoliths {
  position: absolute;
  bottom: 80px;
  left: 24px;
  right: 24px;
  max-width: 1140px;
  margin: 0 auto;
  text-align: center;
  pointer-events: auto;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.monoliths-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: var(--emerald-300);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.monoliths-title {
  font-size: 1.85rem;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 22px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.7);
}

.monoliths-labels-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 26px;
}

.monolith-label-chip {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: rgba(5, 18, 12, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(52, 211, 153, 0.35);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 16px rgba(52, 211, 153, 0.2);
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  transition: var(--transition-fast);
}

.monolith-label-chip:hover {
  border-color: var(--emerald-400);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(6, 36, 22, 0.7), 0 0 24px rgba(52, 211, 153, 0.35);
}

.chip-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-400);
  box-shadow: 0 0 8px var(--emerald-400);
  flex-shrink: 0;
}

.chip-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.94rem;
  color: var(--text-primary);
  line-height: 1.25;
}

.chip-text span {
  font-size: 0.76rem;
  color: var(--text-secondary);
}

.monoliths-actions-row {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* Scroll Scrub Controls */
.hero-scroll-controls {
  position: absolute;
  bottom: 24px;
  right: 24px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 14px;
  pointer-events: auto;
  background: rgba(4, 14, 9, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(52, 211, 153, 0.28);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.scroll-scrub-bar {
  width: 110px;
  height: 5px;
  background: rgba(52, 211, 153, 0.2);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.scroll-scrub-progress {
  height: 100%;
  width: 2.5%;
  background: linear-gradient(90deg, var(--emerald-400), #a7f3d0);
  border-radius: 4px;
  transition: width 0.05s linear;
}

.scroll-prompt-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.mouse-icon {
  width: 14px;
  height: 22px;
  border: 1.5px solid var(--emerald-400);
  border-radius: 10px;
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}

.mouse-wheel {
  width: 2px;
  height: 5px;
  background: var(--emerald-400);
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 1px;
  animation: mouseWheelScroll 1.6s infinite;
}

@keyframes mouseWheelScroll {
  0% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 6px); opacity: 0; }
}

.frame-counter {
  font-family: monospace;
  font-size: 0.76rem;
  color: var(--emerald-300);
  font-weight: 700;
  margin-left: 4px;
}

@keyframes floatOne {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

@keyframes floatTwo {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(-1.5deg); }
}

@keyframes floatThree {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

@keyframes floatFour {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(-1deg); }
}

@keyframes floatFive {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-11px) rotate(1.5deg); }
}

/* ==========================================================================
   VALUE PROPOSITION & MARQUEE
   ========================================================================== */
.value-section {
  background: linear-gradient(180deg, rgba(4, 8, 6, 0) 0%, rgba(6, 20, 13, 0.5) 50%, rgba(4, 8, 6, 0) 100%);
  position: relative;
}

.marquee-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  margin-top: 50px;
  padding: 16px 0;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-right: 20px;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 26px;
  border-radius: var(--radius-full);
  background: rgba(10, 28, 19, 0.7);
  border: 1px solid rgba(52, 211, 153, 0.22);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
  backdrop-filter: blur(10px);
  transition: var(--transition-fast);
}

.category-chip:hover {
  border-color: var(--emerald-400);
  background: rgba(16, 44, 30, 0.85);
  box-shadow: 0 0 20px rgba(52, 211, 153, 0.25);
  transform: translateY(-2px);
}

.chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-400);
  box-shadow: 0 0 8px var(--emerald-400);
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   CORE SERVICES SECTION
   ========================================================================== */
.services-section {
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.service-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
  background: linear-gradient(135deg, rgba(8, 24, 16, 0.7) 0%, rgba(4, 12, 8, 0.6) 100%);
}

.service-glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.service-card:hover .service-glow {
  transform: scale(1.4);
  background: radial-gradient(circle, rgba(52, 211, 153, 0.3) 0%, transparent 70%);
}

.service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.service-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-400);
}

.service-icon-wrap svg {
  width: 26px;
  height: 26px;
}

.service-number {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: rgba(52, 211, 153, 0.35);
}

.service-title {
  font-size: 1.6rem;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.service-desc {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}

.service-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 30px;
}

.service-highlights li {
  font-size: 0.9rem;
  color: #b3c5bc;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-highlights li::before {
  content: '▸';
  color: var(--emerald-400);
  font-size: 1.1rem;
}

.service-footer {
  padding-top: 18px;
  border-top: 1px solid rgba(52, 211, 153, 0.1);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--emerald-400);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.service-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}

.service-link:hover {
  color: var(--emerald-200);
}

.service-link:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
   TICKER SECTION
   ========================================================================== */
.ticker-section {
  padding: 10px 0 30px;
  position: relative;
}

/* ==========================================================================
   ABOUT & WHY RANKWITHNIVI SECTION
   ========================================================================== */
.about-section {
  position: relative;
  background: radial-gradient(circle at 50% 25%, rgba(6, 32, 20, 0.45) 0%, rgba(4, 8, 6, 0) 70%);
}

.section-anchor {
  display: block;
  position: relative;
  top: -80px;
  visibility: hidden;
}

/* About Hero Grid (Portrait + Vision Narrative) */
.about-hero-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 50px;
  align-items: center;
  padding: 44px;
  background: linear-gradient(135deg, rgba(8, 26, 17, 0.85) 0%, rgba(5, 14, 10, 0.8) 100%);
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  margin-bottom: 70px;
}

.about-visual-col {
  position: relative;
}

.about-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(52, 211, 153, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 35px rgba(16, 185, 129, 0.25);
  background: rgba(4, 14, 9, 0.95);
}

.about-portrait-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-img-frame:hover .about-portrait-img {
  transform: scale(1.03);
}

.about-img-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  background: rgba(4, 14, 9, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(52, 211, 153, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--emerald-400);
  box-shadow: 0 0 10px var(--emerald-400);
  flex-shrink: 0;
  animation: pulseGlow 2s infinite;
}

.badge-text {
  display: flex;
  flex-direction: column;
}

.badge-text strong {
  font-family: var(--font-heading);
  font-size: 0.96rem;
  color: var(--text-primary);
  line-height: 1.2;
}

.badge-text span {
  font-size: 0.78rem;
  color: var(--emerald-300);
}

/* About Narrative Column */
.about-content-col {
  display: flex;
  flex-direction: column;
}

.about-heading {
  font-size: 2.25rem;
  line-height: 1.22;
  margin-bottom: 20px;
}

.about-lead-text {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 26px;
}

.about-perks-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
}

.about-perk-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.perk-bullet {
  color: var(--emerald-400);
  font-size: 1.1rem;
  line-height: 1.4;
  flex-shrink: 0;
}

.perk-content {
  font-size: 0.95rem;
  color: #b9ccc2;
  line-height: 1.55;
}

.perk-content strong {
  color: var(--text-primary);
}

.about-cta-row {
  display: flex;
}

/* Pillars Subheader */
.about-pillars-subhead {
  margin-bottom: 36px;
}

.pillars-section-title {
  font-size: 2rem;
  line-height: 1.25;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.pillars-section-desc {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Compact Pillars Grid (Smaller cards aligned underneath About) */
.compact-why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.compact-why-card {
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(8, 24, 16, 0.7) 0%, rgba(4, 12, 8, 0.6) 100%);
  border: 1px solid rgba(52, 211, 153, 0.2);
  transition: var(--transition-smooth);
}

.compact-why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(52, 211, 153, 0.5);
  box-shadow: 0 14px 30px rgba(6, 36, 22, 0.45), 0 0 20px rgba(52, 211, 153, 0.2);
}

.compact-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.compact-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-400);
}

.compact-icon-wrap svg {
  width: 18px;
  height: 18px;
}

.compact-badge-num {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: rgba(52, 211, 153, 0.3);
}

.compact-why-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
  line-height: 1.3;
}

.compact-why-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   BRAND STATEMENT (FULL WIDTH VISUAL BREAK)
   ========================================================================== */
.statement-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.statement-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(6, 36, 22, 0.7) 0%, rgba(3, 14, 9, 0.9) 100%);
  border-top: 1px solid rgba(52, 211, 153, 0.2);
  border-bottom: 1px solid rgba(52, 211, 153, 0.2);
  z-index: 0;
}

.statement-card {
  position: relative;
  z-index: 1;
  padding: 60px 48px;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
  background: rgba(8, 28, 19, 0.75);
  border: 1px solid rgba(52, 211, 153, 0.35);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(52, 211, 153, 0.15);
}

.statement-sparkle {
  color: var(--emerald-400);
  font-size: 2rem;
  margin-bottom: 16px;
}

.statement-quote {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  line-height: 1.35;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 24px;
  letter-spacing: -0.015em;
}

.statement-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 28px;
}

.author-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--emerald-300);
}

.author-title {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.statement-action {
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   CAPABILITIES SECTION
   ========================================================================== */
.capabilities-section {
  position: relative;
}

.capabilities-matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.capability-item {
  padding: 28px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  position: relative;
}

.capability-item-wide {
  grid-column: span 2;
}

.cap-number {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--emerald-400);
  background: rgba(16, 185, 129, 0.12);
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid rgba(52, 211, 153, 0.25);
  flex-shrink: 0;
}

.cap-content {
  flex: 1;
}

.cap-title {
  font-size: 1.22rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.cap-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.cap-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--emerald-300);
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.18);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  align-self: flex-start;
  white-space: nowrap;
}

/* ==========================================================================
   LEAD FORM & DIRECT CONTACT
   ========================================================================== */
.contact-section {
  position: relative;
  background: linear-gradient(180deg, rgba(4, 8, 6, 0) 0%, rgba(6, 24, 15, 0.45) 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 50px;
  align-items: flex-start;
}

.contact-main-title {
  font-size: 2.3rem;
  line-height: 1.2;
  margin-bottom: 18px;
  background: linear-gradient(145deg, #ffffff 30%, #a7f3d0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-intro {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.65;
}

.direct-contact-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-tile {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 24px;
  text-decoration: none;
  color: var(--text-primary);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.contact-tile:hover {
  transform: translateX(6px);
  border-color: rgba(52, 211, 153, 0.45);
}

.tile-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-400);
  flex-shrink: 0;
}

.tile-icon svg {
  width: 22px;
  height: 22px;
}

.tile-info {
  display: flex;
  flex-direction: column;
}

.tile-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tile-val {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-card {
  padding: 40px;
  background: rgba(8, 24, 16, 0.75);
  border: 1px solid rgba(52, 211, 153, 0.28);
}

.form-header {
  margin-bottom: 28px;
}

.form-title {
  font-size: 1.8rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.form-supporting-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.form-group {
  margin-bottom: 22px;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.required-star {
  color: #f87171;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(4, 14, 9, 0.8);
  border: 1px solid rgba(52, 211, 153, 0.2);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
  outline: none;
}

.form-input:focus {
  border-color: var(--emerald-400);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.2);
  background: rgba(6, 20, 13, 0.9);
}

.form-input::placeholder {
  color: rgba(148, 163, 155, 0.5);
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

.field-error {
  display: block;
  font-size: 0.8rem;
  color: #f87171;
  margin-top: 5px;
  min-height: 16px;
}

.form-input.invalid {
  border-color: #f87171;
  box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.2);
}

.form-status {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: #6ee7b7;
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

/* ==========================================================================
   FAQ SECTION (ACCORDION)
   ========================================================================== */
.faq-section {
  position: relative;
}

.faq-accordion {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  gap: 16px;
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--emerald-400);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  line-height: 1;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-content {
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-inner {
  padding: 0 28px 24px 28px;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #020504;
  border-top: 1px solid rgba(52, 211, 153, 0.15);
  padding: 80px 0 30px;
  position: relative;
  z-index: 10;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand-col {
  max-width: 320px;
}

.footer-logo {
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.footer-pos {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-col-title {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.footer-links-list,
.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list a,
.footer-links-list span,
.footer-contact-list a,
.footer-contact-list span {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-links-list a:hover,
.footer-contact-list a:hover {
  color: var(--emerald-300);
  padding-left: 4px;
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-icon {
  font-size: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(52, 211, 153, 0.1);
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.copyright {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.designed-by {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--emerald-400);
}

/* ==========================================================================
   REVEAL / SCROLL ANIMATION SYSTEM
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .eyebrow-badge,
  .hero-cta-group {
    justify-content: center;
  }

  .hero-trust-bar {
    align-items: center;
  }

  .hero-visual {
    max-width: 580px;
    margin: 0 auto;
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 1180px) {
  .compact-why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .about-hero-grid {
    grid-template-columns: 340px 1fr;
    gap: 36px;
    padding: 34px;
  }
  .monoliths-labels-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 860px) {
  .section-padding {
    padding: 70px 0;
  }

  .hero-scroll-track {
    height: 200vh;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .hero-description {
    font-size: 1.05rem;
  }

  .hero-stage-intro {
    padding: 20px 22px;
    max-width: 100%;
    text-align: center;
  }

  .eyebrow-badge,
  .hero-cta-group,
  .hero-trust-bar {
    justify-content: center;
    align-items: center;
  }

  .hero-stage-monoliths {
    bottom: 50px;
    left: 16px;
    right: 16px;
  }

  .monoliths-title {
    font-size: 1.45rem;
    margin-bottom: 14px;
  }

  .monoliths-labels-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .hero-scroll-controls {
    bottom: 12px;
    right: 16px;
    padding: 6px 14px;
  }

  .scroll-scrub-bar {
    width: 80px;
  }

  .section-heading {
    font-size: 2.1rem;
  }

  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 26px;
  }

  .about-portrait-img {
    height: 380px;
  }

  .compact-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid,
  .why-grid,
  .capabilities-matrix,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .why-card-wide,
  .capability-item-wide {
    grid-column: span 1;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .header-actions .consultation-trigger {
    display: none;
  }

  .statement-card {
    padding: 40px 24px;
  }

  .statement-quote {
    font-size: 1.6rem;
  }
}

@media (max-width: 520px) {
  .hero-title {
    font-size: 1.95rem;
  }

  .hero-description {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .hero-stage-intro {
    padding: 16px 18px;
  }

  .about-heading {
    font-size: 1.75rem;
  }

  .about-portrait-img {
    height: 310px;
  }

  .about-hero-grid {
    padding: 20px;
  }

  .compact-why-grid {
    grid-template-columns: 1fr;
  }

  .monoliths-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
  }

  .monoliths-labels-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .monolith-label-chip {
    padding: 10px 14px;
  }

  .monoliths-actions-row {
    flex-direction: column;
    gap: 10px;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .hero-scroll-controls .prompt-text {
    display: none;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
