/* ==========================================================================
   Mikrosystem ISP Management Platform - Modern Space Grotesk Theme
   Rich iOS Frosted Glass, FontAwesome 7.1 Pro Duotone/Light,
   Harmonic Particle Starfield, Hero 3-Slide Zoom Showcase,
   Left WhatsApp Widget & Right Scroll-to-Top Button
   ========================================================================== */

:root {
  --font-main: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Fira Code', 'Geist Mono', 'JetBrains Mono', monospace;

  /* Color Palette - Dark Mode (Default) */
  --bg-body: #060911;
  --bg-surface: #0b1120;
  --bg-card: rgba(15, 23, 42, 0.72);
  --bg-card-hover: rgba(24, 36, 64, 0.88);
  --bg-muted: rgba(30, 41, 59, 0.65);
  --bg-glass: rgba(11, 17, 32, 0.85);
  --bg-topbar: rgba(8, 13, 24, 0.8);

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-inverse: #0f172a;

  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-focus: rgba(56, 189, 248, 0.6);
  --border-card: rgba(255, 255, 255, 0.12);

  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-foreground: #ffffff;
  --primary-glow: rgba(2, 132, 199, 0.4);

  /* Deep Intense Electric Blue Gradients */
  --gradient-brand: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #1d4ed8 100%);
  --gradient-text: linear-gradient(135deg, #38bdf8 0%, #0284c7 45%, #1d4ed8 100%);
  --gradient-olt: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #6366f1 100%);

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.5), 0 4px 10px -4px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 45px -5px rgba(56, 189, 248, 0.4);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  /* Duotone icon defaults */
  --fa-primary-color: #38bdf8;
  --fa-secondary-color: #94a3b8;
  --fa-secondary-opacity: 0.45;
}

/* Light Theme Variables */
html.light {
  --bg-body: #f1f5f9;
  --bg-surface: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: #ffffff;
  --bg-muted: rgba(241, 245, 249, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.88);
  --bg-topbar: rgba(248, 250, 252, 0.9);

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-inverse: #ffffff;

  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-focus: rgba(2, 132, 199, 0.5);
  --border-card: rgba(0, 0, 0, 0.08);

  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-foreground: #ffffff;
  --primary-glow: rgba(2, 132, 199, 0.15);

  --gradient-brand: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #7c3aed 100%);
  --gradient-text: linear-gradient(135deg, #0369a1 0%, #2563eb 50%, #1d4ed8 100%);

  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 10px -4px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 35px -5px rgba(2, 132, 199, 0.2);

  --fa-primary-color: #0284c7;
  --fa-secondary-color: #64748b;
  --fa-secondary-opacity: 0.35;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  color-scheme: dark;
}

html.light {
  color-scheme: light;
}

body {
  background-color: var(--bg-body);
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

/* Canvas Particle Layer */
.fiber-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

/* iOS Frosted Glass Layer (Refined: Soft, Luminous & Translucent) */
.frosted-glass-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  background: radial-gradient(ellipse 90% 65% at 50% 15%, rgba(255, 255, 255, 0.015) 0%, rgba(6, 9, 17, 0.35) 60%, rgba(6, 9, 17, 0.75) 100%);
  transition: background var(--transition-normal);
}

html.light .frosted-glass-overlay {
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  background: radial-gradient(ellipse 90% 65% at 50% 15%, rgba(255, 255, 255, 0.2) 0%, rgba(241, 245, 249, 0.45) 60%, rgba(241, 245, 249, 0.8) 100%);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-body);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-muted);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Utility Containers */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 3;
}

/* Typography Helpers - Deep Intense Electric Blue */
.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  filter: drop-shadow(0 0 25px rgba(2, 132, 199, 0.5));
}

.text-gradient-olt {
  background: var(--gradient-olt);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
}

.section-tag .dot {
  width: 6px;
  height: 6px;
  background-color: #38bdf8;
  border-radius: 50%;
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.4; }
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 50px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Unified Fixed Site Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(6, 9, 17, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--transition-normal), border-color var(--transition-normal);
}

html.light .site-header {
  background: rgba(248, 250, 252, 0.78);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.top-bar {
  display: none;
  background: var(--bg-topbar);
  border-bottom: 1px solid var(--border-subtle);
  padding: 6px 0;
  font-size: 0.78rem;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .top-bar {
    display: block;
  }
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-social-links, .top-nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.top-link {
  color: var(--text-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.top-link i {
  font-size: 0.88rem;
}

.top-link:hover {
  color: #38bdf8;
}

html.light .top-bar {
  background: rgba(248, 250, 252, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

html.light .top-link {
  color: #475569;
  font-weight: 600;
}

html.light .top-link strong {
  color: #0f172a;
}

html.light .top-link:hover {
  color: #0284c7;
}

/* Main Navbar */
.main-navbar {
  width: 100%;
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
}

.navbar-logo img {
  height: 38px;
  width: auto;
  object-fit: contain;
  transition: filter var(--transition-fast);
}

html.dark .navbar-logo img,
:root:not(.light) .navbar-logo img {
  filter: brightness(0) invert(1);
}

.navbar-menu {
  display: none;
  align-items: center;
  gap: 24px;
}

@media (min-width: 890px) {
  .navbar-menu {
    display: flex;
  }
}

.nav-item {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.nav-item i {
  font-size: 0.95rem;
  transition: transform var(--transition-fast);
}

.nav-item:hover {
  color: #38bdf8;
  background: linear-gradient(135deg, #7dd3fc 0%, #0284c7 50%, #1d4ed8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-item:hover i {
  -webkit-text-fill-color: initial;
  transform: translateY(-1px);
}

.nav-item:hover {
  color: #38bdf8;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-icon-toggle {
  background: var(--bg-muted);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  padding: 7px 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: var(--font-heading);
  transition: all var(--transition-fast);
  backdrop-filter: blur(8px);
}

.btn-icon-toggle:hover {
  color: var(--text-primary);
  background: var(--bg-card-hover);
  border-color: var(--border-focus);
}

.btn-account {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
  border: none;
  cursor: pointer;
}

.btn-account:hover {
  background: linear-gradient(135deg, #0369a1 0%, #1d4ed8 100%);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.55);
  transform: translateY(-1px);
}

.btn-mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text-primary);
  padding: 6px;
  cursor: pointer;
}

@media (min-width: 890px) {
  .btn-mobile-toggle {
    display: none;
  }
}

/* Mobile Drawer Menu (Scrollable with Hidden Scrollbar) */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 290px;
  height: 100vh;
  max-height: 100vh;
  background: var(--bg-surface);
  box-shadow: var(--shadow-lg);
  z-index: 100;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: right var(--transition-normal);
  border-left: 1px solid var(--border-subtle);
  backdrop-filter: blur(20px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.mobile-drawer::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
  width: 0;
  height: 0;
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-nav-link:hover {
  color: #38bdf8;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 130px 0 50px;
  position: relative;
  text-align: center;
}

@media (max-width: 768px) {
  .hero-section {
  padding: 130px 0 50px;
  position: relative;
  text-align: center;
}
}

.hero-glow-bg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1100px;
  height: 480px;
  background: radial-gradient(ellipse 60% 50% at 50% 20%, rgba(56, 189, 248, 0.22), transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(14, 165, 233, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.35);
  font-size: 0.82rem;
  font-weight: 700;
  color: #38bdf8;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero-badge .pulse {
  width: 8px;
  height: 8px;
  background-color: #38bdf8;
  border-radius: 50%;
  box-shadow: 0 0 10px #38bdf8;
}

.hero-title {
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 900px;
  margin-bottom: 22px;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  color: var(--text-secondary);
  max-width: 720px;
  line-height: 1.6;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 42px;
}

.btn-primary-cta {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #ffffff;
  padding: 13px 30px;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.45);
  transition: all var(--transition-normal);
  border: none;
  cursor: pointer;
}

.btn-primary-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(2, 132, 199, 0.6);
}

.btn-secondary-cta {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-primary);
  padding: 13px 26px;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(14px);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.btn-secondary-cta:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-focus);
  transform: translateY(-2px);
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 44px;
}

.highlight-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(12px);
}

.highlight-item i {
  font-size: 1.05rem;
}

/* ==========================================================================
   Hero 3-Slide Interactive Showcase with Ken Burns Zoom (Admin Login Style)
   ========================================================================== */
.hero-slider-showcase {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
}

.hero-slider-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.65), 0 0 0 1px var(--border-card);
  background: var(--bg-surface);
  aspect-ratio: 16 / 9;
  max-height: 580px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  overflow: hidden;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 6.5s cubic-bezier(0.1, 0.2, 0.3, 1);
}

.hero-slide.active .hero-slide-img {
  transform: scale(1.08);
}

/* Slide Caption Overlay Card (Always Crisp White on Dark Glass) */
.hero-slide-caption {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(11, 17, 32, 0.88);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: slideUpCaption 0.6s ease forwards;
}

@keyframes slideUpCaption {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-slide-caption-info h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff !important;
  margin-bottom: 2px;
}

.hero-slide-caption-info p {
  font-size: 0.84rem;
  color: #cbd5e1 !important;
  line-height: 1.4;
}

.hero-slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #38bdf8 !important;
  margin-bottom: 4px;
}

/* Slider Controls */
.hero-slider-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.hero-nav-chip {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
  backdrop-filter: blur(10px);
}

.hero-nav-chip:hover {
  color: var(--text-primary);
  border-color: var(--border-focus);
}

.hero-nav-chip.active {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%) !important;
  border-color: #0284c7 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
}

html.light .hero-nav-chip {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #475569;
}

html.light .hero-nav-chip:hover {
  color: #0284c7;
  border-color: #0284c7;
}

html.light .hero-nav-chip.active {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%) !important;
  border-color: #0284c7 !important;
  color: #ffffff !important;
}

.video-overlay-btn {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  outline: none;
  z-index: 10;
}

.video-play-disc {
  width: 68px;
  height: 68px;
  background: rgba(14, 165, 233, 0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 0 35px rgba(14, 165, 233, 0.8);
  transition: all var(--transition-fast);
}

.video-play-disc:hover {
  transform: scale(1.1);
  background: #0284c7;
}

.scroll-down-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: 32px;
  transition: color var(--transition-fast);
}

.scroll-down-hint:hover {
  color: #38bdf8;
}

/* ==========================================================================
   Unified Direct Installation Section (UN SOLO MARCO / TARJETA INTEGRADA)
   ========================================================================== */
.install-section {
  padding: 60px 0;
  position: relative;
}

.install-master-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 40px;
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.install-master-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 34px;
}

.install-master-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.install-main-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.25) 0%, rgba(16, 185, 129, 0.25) 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: #38bdf8;
  shrink: 0;
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.2);
}

.install-master-header h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.install-master-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.install-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

.install-status-pill .online-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
}

/* Interior Split */
.install-split-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  position: relative;
}

@media (max-width: 960px) {
  .install-split-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

.install-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.install-col-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.install-col-title i {
  font-size: 1.25rem;
}

.install-col-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Download ISO Buttons */
.download-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 6px 0 10px;
}

@media (max-width: 500px) {
  .download-links-grid {
    grid-template-columns: 1fr;
  }
}

.btn-download-iso {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition-fast);
  border: 1px solid var(--border-subtle);
  background: var(--bg-muted);
  color: var(--text-primary);
}

.btn-download-iso.mega {
  border-color: rgba(220, 38, 38, 0.35);
}

.btn-download-iso.mega:hover {
  background: rgba(220, 38, 38, 0.15);
  border-color: #ef4444;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.3);
}

.btn-download-iso.mediafire {
  border-color: rgba(37, 99, 235, 0.35);
}

.btn-download-iso.mediafire:hover {
  background: rgba(37, 99, 235, 0.15);
  border-color: #3b82f6;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

.download-icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 900;
  shrink: 0;
}

.download-icon-circle.mega-bg {
  background: #dc2626;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4);
}

.download-icon-circle.mf-bg {
  background: #0070f3;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 112, 243, 0.4);
}

.download-text h4 {
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.2;
}

.download-text p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Command Runner Block */
.command-runner-block {
  background: #030712;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.command-runner-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(15, 23, 42, 0.95);
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.command-snippet {
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  line-height: 1.7;
  color: #38bdf8;
  word-break: break-all;
  user-select: all;
  background: rgba(3, 7, 18, 0.8);
  cursor: pointer;
}

.command-snippet span.prompt {
  color: #10b981;
  font-weight: 700;
}

.btn-copy-command {
  background: rgba(56, 189, 248, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #38bdf8;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.btn-copy-command:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
}

/* Steps List */
.install-steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.install-step-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.step-num-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  shrink: 0;
  margin-top: 2px;
}

.step-content h4 {
  font-size: 0.96rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.step-content p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.install-master-footer {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.install-master-footer a {
  color: #38bdf8;
  text-decoration: none;
  font-weight: 700;
}

.install-master-footer a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Live Demo Section
   ========================================================================== */
.demo-section {
  padding: 90px 0;
  position: relative;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  max-width: 960px;
  margin: 0 auto;
}

.demo-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(14px);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.demo-card:hover {
  border-color: var(--border-focus);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

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

.demo-icon-box {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #38bdf8;
  shrink: 0;
}

.demo-title-box h3 {
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.demo-title-box p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.demo-credentials {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg-muted);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
}

.cred-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.cred-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.cred-value {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: #38bdf8;
}

.btn-copy {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-copy:hover {
  color: var(--text-primary);
  border-color: var(--border-focus);
  background: rgba(56, 189, 248, 0.1);
}

.btn-demo-access {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.btn-demo-access:hover {
  background: linear-gradient(135deg, #0369a1 0%, #1d4ed8 100%);
  transform: translateY(-1px);
}

.demo-footer-note {
  text-align: center;
  margin-top: 32px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ==========================================================================
   Ecosystem & OLT Showcase Section
   ========================================================================== */
.ecosystem-section {
  padding: 90px 0;
  position: relative;
}

.eco-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.eco-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
}

.eco-tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  padding: 12px 24px;
  border-radius: 16px;
  font-family: var(--font-heading);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  text-align: left;
  box-shadow: var(--shadow-sm);
}

.eco-tab-btn i {
  font-size: 1.4rem;
  transition: transform 0.3s ease;
}

.eco-tab-btn .eco-tab-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.eco-tab-btn .eco-tab-text strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.eco-tab-btn .eco-tab-text span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

.eco-tab-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-focus);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.eco-tab-btn:hover i {
  transform: scale(1.1);
}

.eco-tab-btn.active {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.25) 0%, rgba(37, 99, 235, 0.25) 100%);
  border-color: #38bdf8;
  color: #38bdf8;
  box-shadow: 0 8px 25px -4px rgba(56, 189, 248, 0.3), inset 0 0 20px rgba(56, 189, 248, 0.1);
}

.eco-tab-btn.active .eco-tab-text strong {
  color: #38bdf8;
}

.eco-tab-btn.active .eco-tab-text span {
  color: #bae6fd;
}

/* Light Mode Overrides for Eco Tabs */
html.light .eco-tab-btn {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

html.light .eco-tab-btn .eco-tab-text strong {
  color: #0f172a;
}

html.light .eco-tab-btn .eco-tab-text span {
  color: #64748b;
}

html.light .eco-tab-btn:hover {
  background: #f8fafc;
  border-color: #0284c7;
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.15);
}

html.light .eco-tab-btn.active {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.12) 0%, rgba(37, 99, 235, 0.12) 100%);
  border-color: #0284c7;
  color: #0284c7;
  box-shadow: 0 8px 25px -4px rgba(2, 132, 199, 0.25);
}

html.light .eco-tab-btn.active .eco-tab-text strong {
  color: #0284c7;
}

html.light .eco-tab-btn.active .eco-tab-text span {
  color: #0369a1;
}

.eco-showcase-panel {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 40px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
  animation: fadeInEco 0.4s ease forwards;
}

html.light .eco-showcase-panel {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.eco-showcase-panel.active {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 960px) {
  .eco-showcase-panel.active {
    grid-template-columns: 1fr;
    padding: 26px;
  }
}

@keyframes fadeInEco {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.eco-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.eco-badge.cyan { background: rgba(6, 182, 212, 0.15); color: #22d3ee; border: 1px solid rgba(6, 182, 212, 0.3); }
.eco-badge.blue { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.3); }
.eco-badge.amber { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }
.eco-badge.purple { background: rgba(168, 85, 247, 0.15); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.3); }

html.light .eco-badge.cyan { background: rgba(6, 182, 212, 0.12); color: #0891b2; border: 1px solid rgba(6, 182, 212, 0.35); }
html.light .eco-badge.blue { background: rgba(2, 132, 199, 0.12); color: #0284c7; border: 1px solid rgba(2, 132, 199, 0.35); }
html.light .eco-badge.amber { background: rgba(217, 119, 6, 0.12); color: #d97706; border: 1px solid rgba(217, 119, 6, 0.35); }
html.light .eco-badge.purple { background: rgba(147, 51, 234, 0.12); color: #9333ea; border: 1px solid rgba(147, 51, 234, 0.35); }

.eco-title {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text-primary);
}

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

.eco-specs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.eco-specs-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.94rem;
  color: var(--text-secondary);
}

.eco-specs-list li i {
  color: #38bdf8;
  font-size: 1.1rem;
  margin-top: 3px;
  shrink: 0;
}

html.light .eco-specs-list li i {
  color: #0284c7;
}

.eco-mockup-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

html.light .eco-mockup-box {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.09);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(15, 23, 42, 0.04);
}

/* Feature Grid inside Ecosystem Mockup Boxes */
.eco-feature-grid,
.olt-brands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

@media (max-width: 768px) {
  .eco-feature-grid,
  .olt-brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .eco-feature-grid,
  .olt-brands-grid {
    grid-template-columns: 1fr;
  }
}

.eco-feature-card,
.olt-brand-chip {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.eco-feature-card::before,
.olt-brand-chip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.eco-feature-card:hover,
.olt-brand-chip:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-focus);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.eco-feature-card:hover::before,
.olt-brand-chip:hover::before {
  opacity: 1;
}

.eco-feature-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.eco-feature-card-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-primary);
}

.eco-feature-card-title i {
  font-size: 0.95rem;
}

.eco-feature-card-badge {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.25);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.eco-feature-card-desc {
  font-size: 0.73rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin: 0;
}

/* Light Mode Overrides for Feature Cards inside Mockup */
html.light .eco-feature-card,
html.light .olt-brand-chip {
  background: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.09);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

html.light .eco-feature-card:hover,
html.light .olt-brand-chip:hover {
  background: #ffffff;
  border-color: rgba(2, 132, 199, 0.45);
  box-shadow: 0 8px 20px -4px rgba(2, 132, 199, 0.18), 0 2px 8px rgba(0, 0, 0, 0.04);
}

html.light .eco-feature-card-title {
  color: #0f172a;
}

html.light .eco-feature-card-desc {
  color: #475569;
}

html.light .eco-feature-card-badge {
  background: rgba(2, 132, 199, 0.1);
  color: #0284c7;
  border: 1px solid rgba(2, 132, 199, 0.25);
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 14px;
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.terminal-dot.red { background: #ef4444; }
.terminal-dot.yellow { background: #f59e0b; }
.terminal-dot.green { background: #10b981; }

.terminal-code {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.7;
  color: #38bdf8;
}

html.light .terminal-code {
  color: #0369a1;
}

.terminal-code .comment { color: #64748b; }
.terminal-code .keyword { color: #a855f7; }
.terminal-code .string { color: #34d399; }
.terminal-code .val { color: #fde047; }

html.light .terminal-code .comment { color: #64748b; }
html.light .terminal-code .keyword { color: #9333ea; }
html.light .terminal-code .string { color: #059669; }
html.light .terminal-code .val { color: #d97706; }

/* ==========================================================================
   Features Grid Section
   ========================================================================== */
.features-section {
  padding: 90px 0;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  backdrop-filter: blur(14px);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-card:hover {
  border-color: var(--border-focus);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  background: var(--bg-card-hover);
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #38bdf8;
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.feature-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   Pricing Section - Enhanced High-Tech Cards, Inline Animated Icons,
   Intense Electric Blue Action Buttons & Rich Custom Feature Bullets
   ========================================================================== */
.pricing-section {
  padding: 100px 0;
  position: relative;
}

.currency-toggle-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.currency-toggle-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  padding: 5px;
  display: inline-flex;
  gap: 4px;
  backdrop-filter: blur(14px);
}

.btn-currency {
  background: none;
  border: none;
  padding: 7px 20px;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-currency.active {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #1d4ed8 100%);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.4);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

@media (min-width: 1200px) {
  .pricing-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 30px 24px;
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: none; /* No outside shadow as requested */
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-focus);
  background: var(--bg-card-hover);
}

.pricing-card.popular {
  border: 1.5px solid #38bdf8;
  background: rgba(15, 23, 42, 0.85);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.18);
}

html.light .pricing-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

html.light .pricing-card.popular {
  background: #ffffff;
  border: 2px solid #0284c7;
}

.popular-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #1d4ed8 100%);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.4);
}

.pricing-header {
  margin-bottom: 18px;
  text-align: left;
}

/* Plan Title & Icon aligned together in same row */
.pricing-plan-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.plan-icon-inline {
  font-size: 1.65rem;
  transition: transform 0.25s ease;
  shrink: 0;
}

.pricing-card:hover .plan-icon-inline {
  transform: scale(1.15);
}

.pricing-plan-name {
  font-size: 1.38rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.pricing-plan-limit {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
}

.pricing-price-box {
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
  gap: 4px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.price-amount {
  font-size: 2.3rem;
  font-weight: 900;
  font-family: var(--font-heading);
  letter-spacing: -0.03em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  filter: drop-shadow(0 0 15px rgba(2, 132, 199, 0.4));
}

.price-period {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 26px;
  margin-top: 4px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.pricing-features li i {
  font-size: 0.95rem;
  shrink: 0;
  width: 18px;
  text-align: center;
}

/* Gradient highlight on benefits */
.feat-highlight-green {
  background: linear-gradient(135deg, #34d399 0%, #10b981 50%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.feat-highlight-blue {
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 50%, #1d4ed8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

/* Intense Electric Blue CTA Button */
.btn-pricing-cta {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #1d4ed8 100%);
  color: #ffffff !important;
  padding: 12px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition-normal);
  border: none;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
  margin-top: auto;
}

.btn-pricing-cta i {
  font-size: 0.9rem;
  transition: transform var(--transition-fast);
}

.btn-pricing-cta:hover {
  background: linear-gradient(135deg, #0369a1 0%, #1d4ed8 50%, #1e40af 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.6);
}

.btn-pricing-cta:hover i {
  transform: translateX(3px);
}

.pricing-note {
  text-align: center;
  margin-top: 40px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
  padding: 90px 0;
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  max-width: 980px;
  margin: 0 auto 40px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 26px;
  backdrop-filter: blur(14px);
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: all var(--transition-normal);
}

.contact-card:hover {
  border-color: var(--border-focus);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.contact-icon-box {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #38bdf8;
  shrink: 0;
}

.contact-details h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.contact-main-text {
  font-size: 0.92rem;
  color: #38bdf8;
  font-weight: 600;
}

.contact-sub-text {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.contact-cta-center {
  text-align: center;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.main-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 48px 0 32px;
  position: relative;
  z-index: 3;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 24px;
}

.footer-brand img {
  height: 34px;
  width: auto;
  margin-bottom: 8px;
}

html.dark .footer-brand img,
:root:not(.light) .footer-brand img {
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #38bdf8;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-social-links {
  display: flex;
  gap: 14px;
}

.footer-social-links a {
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: color var(--transition-fast);
}

.footer-social-links a:hover {
  color: #38bdf8;
}

/* ==========================================================================
   Floating WhatsApp Widget (LEFT SIDE) & Scroll-To-Top (RIGHT SIDE)
   ========================================================================== */
/* Left: WhatsApp Widget */
.wa-widget-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.wa-btn-trigger {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #25D366;
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.45);
  transition: all var(--transition-normal);
  position: relative;
}

.wa-btn-trigger:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.65);
}

.wa-online-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 9px;
  height: 9px;
  background: #22c55e;
  border: 2px solid #ffffff;
  border-radius: 50%;
}

.wa-popup-card {
  width: 320px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: none;
  flex-direction: column;
  animation: fadeInPop 0.3s ease forwards;
}

.wa-popup-card.open {
  display: flex;
}

@keyframes fadeInPop {
  from { opacity: 0; transform: translateY(10px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.wa-popup-header {
  background: #075E54;
  color: #ffffff;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wa-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wa-header-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
}

.wa-header-text p {
  font-size: 0.72rem;
  opacity: 0.85;
}

.wa-popup-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg-card);
}

.wa-chat-bubble {
  background: var(--bg-muted);
  border-radius: var(--radius-md);
  padding: 12px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-primary);
}

.wa-quick-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wa-option-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.wa-option-btn:hover {
  background: rgba(37, 211, 102, 0.12);
  border-color: #25D366;
  color: #25D366;
}

/* Right: Scroll-To-Top Button */
.scroll-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 95;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #0284c7 !important;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: none;
  transition: all var(--transition-normal);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
}

.scroll-top-btn i {
  color: #ffffff !important;
  font-size: 1.22rem !important;
  font-weight: 900 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: #0369a1 !important;
  color: #ffffff !important;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.5);
}

/* Toast Container */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 96px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #0f172a;
  border: 1px solid #38bdf8;
  color: #ffffff;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.86rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Video Modal */
.video-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.video-modal-backdrop.open {
  display: flex;
}

.video-modal-dialog {
  width: 100%;
  max-width: 860px;
  aspect-ratio: 16 / 9;
  position: relative;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.8);
}

.video-modal-dialog iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.btn-close-modal {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}
