/* ==========================================================================
   OPTICORE OS — Commercial Enterprise ISP CRM & NOC Suite
   Official Product Landing Page & SaaS Presentation
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Theme Palette */
  --bg-dark: #070a14;
  --bg-card: rgba(13, 21, 38, 0.75);
  --bg-card-hover: rgba(18, 30, 56, 0.88);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --border-glass: rgba(56, 189, 248, 0.16);
  --border-glow: rgba(0, 242, 254, 0.35);

  /* Brand Accents */
  --cyan: #00f2fe;
  --cyan-glow: rgba(0, 242, 254, 0.28);
  --blue: #38bdf8;
  --blue-deep: #0284c7;
  --emerald: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.25);
  --purple: #a855f7;
  --orange: #f97316;

  /* Text Colors */
  --text-main: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;

  /* Shadows & Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-card: 0 14px 40px -10px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 0 25px rgba(0, 242, 254, 0.22);
  --transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 15%, rgba(0, 242, 254, 0.09) 0%, transparent 45%),
    radial-gradient(circle at 90% 45%, rgba(14, 165, 233, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 85%, rgba(16, 185, 129, 0.06) 0%, transparent 45%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
}

.container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, var(--cyan) 50%, var(--blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-green {
  background: linear-gradient(135deg, #ffffff 0%, var(--emerald) 70%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  backdrop-filter: blur(8px);
}

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

.section-header h2 {
  font-size: 2.6rem;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
  background: rgba(7, 10, 20, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-logo img {
  height: 42px;
  width: auto;
  filter: drop-shadow(0 0 12px rgba(0, 242, 254, 0.35));
}

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

.brand-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.badge-version {
  background: linear-gradient(135deg, var(--cyan), var(--blue-deep));
  color: #04101e;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
}

.brand-sub {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 0.25rem 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  transition: width 0.3s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan) 0%, #0284c7 100%);
  color: #04101e;
  box-shadow: 0 4px 18px rgba(0, 242, 254, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 242, 254, 0.55);
  filter: brightness(1.1);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0, 242, 254, 0.08);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: #062b14;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.3);
}

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

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   Hero Section & Cloud Command Terminal
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8.5rem 0 5rem;
  overflow: hidden;
}

.hero-glow-bg {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(0, 242, 254, 0.14) 0%, rgba(14, 165, 233, 0.06) 50%, transparent 75%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3.5rem;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 1.5rem;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--emerald);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 16px var(--emerald); }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.12;
  margin-bottom: 1.25rem;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
}

/* 1-Command Installer Code Box */
.terminal-box {
  background: #060913;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  margin-bottom: 2.2rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  position: relative;
}

.terminal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}

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

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

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

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.terminal-command-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.terminal-code {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--cyan);
  white-space: nowrap;
  overflow-x: auto;
  user-select: all;
  padding-right: 0.5rem;
}

.btn-copy {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  color: #fff;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
  flex-shrink: 0;
}

.btn-copy:hover {
  background: var(--cyan);
  color: #04101e;
  border-color: var(--cyan);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.8rem;
}

/* Quick Metrics Bar */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-glass);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
}

.stat-value span {
  font-size: 1.1rem;
  color: var(--cyan);
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Hero Visual: Interactive Live NOC Panel */
.hero-visual {
  position: relative;
}

.noc-preview-window {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.noc-preview-window::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}

.noc-window-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.noc-window-header h3 {
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 3px 9px;
  border-radius: var(--radius-full);
  font-weight: 700;
}

.status-indicator .dot {
  width: 6px;
  height: 6px;
  background: var(--emerald);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.telemetry-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.telemetry-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.telemetry-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(0, 242, 254, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 1.25rem;
}

.telemetry-icon.icon-green {
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald);
}

.telemetry-icon.icon-purple {
  background: rgba(168, 85, 247, 0.12);
  color: var(--purple);
}

.telemetry-icon.icon-orange {
  background: rgba(249, 115, 22, 0.12);
  color: var(--orange);
}

.telemetry-info strong {
  display: block;
  font-size: 1.15rem;
  font-family: var(--font-mono);
  color: #fff;
}

.telemetry-info span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Live Terminal Log Stream */
.live-stream-box {
  background: #040711;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 1rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.log-line {
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.log-time { color: var(--text-muted); }
.log-tag-radius { color: var(--cyan); font-weight: 700; }
.log-tag-wa { color: #25D366; font-weight: 700; }
.log-tag-olt { color: var(--purple); font-weight: 700; }
.log-tag-r2 { color: var(--orange); font-weight: 700; }

.floating-pill {
  position: absolute;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid var(--border-glow);
  padding: 0.75rem 1.2rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  animation: floatUpDown 4s ease-in-out infinite;
}

.floating-pill.pill-top {
  top: -15px;
  right: -15px;
}

.floating-pill.pill-bottom {
  bottom: -20px;
  left: -20px;
  animation-delay: 2s;
}

.floating-pill i {
  font-size: 1.4rem;
  color: var(--cyan);
}

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

.pill-info strong {
  font-size: 0.88rem;
  color: #fff;
}

.pill-info span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

@keyframes floatUpDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ==========================================================================
   Vendor Integrations & Protocol Ticker
   ========================================================================== */
.vendor-bar {
  padding: 2.5rem 0;
  background: rgba(9, 14, 26, 0.6);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.ticker-heading {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.vendor-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.5rem;
  flex-wrap: wrap;
  opacity: 0.8;
}

.vendor-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: var(--transition);
}

.vendor-item:hover {
  opacity: 1;
  color: var(--cyan);
  transform: scale(1.05);
}

.vendor-item i {
  font-size: 1.4rem;
  color: var(--cyan);
}

/* ==========================================================================
   Core Modules & Capabilities
   ========================================================================== */
.modules-section {
  padding: 6.5rem 0;
  position: relative;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.module-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-card);
}

.module-card:hover {
  transform: translateY(-6px);
  border-color: var(--cyan);
  box-shadow: 0 16px 36px -10px rgba(0, 242, 254, 0.25);
  background: var(--bg-card-hover);
}

.module-icon-box {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.15), rgba(14, 165, 233, 0.1));
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--cyan);
  margin-bottom: 1.5rem;
}

.module-icon-box.green {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.1));
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--emerald);
}

.module-icon-box.purple {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(126, 34, 206, 0.1));
  border-color: rgba(168, 85, 247, 0.3);
  color: var(--purple);
}

.module-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.module-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.4rem;
  line-height: 1.6;
}

.module-card ul {
  list-style: none;
  margin-top: auto;
}

.module-card ul li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.module-card ul li i {
  color: var(--cyan);
  font-size: 0.8rem;
}

/* ==========================================================================
   License Tiers & Pricing Matrix
   ========================================================================== */
.pricing-section {
  padding: 6.5rem 0;
  background: rgba(8, 12, 22, 0.5);
  position: relative;
}

.pricing-tabs-wrapper {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3.5rem;
}

.pricing-tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.pricing-tab-btn:hover {
  color: #fff;
  border-color: var(--cyan);
}

.pricing-tab-btn.active {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(2, 132, 199, 0.2));
  color: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.25);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.4rem 1.8rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-card);
}

.price-card:hover {
  transform: translateY(-6px);
  border-color: var(--cyan);
  box-shadow: 0 16px 36px -10px rgba(0, 242, 254, 0.25);
}

.price-card.featured {
  border-color: var(--cyan);
  background: linear-gradient(180deg, rgba(14, 28, 55, 0.9) 0%, rgba(10, 18, 35, 0.9) 100%);
  box-shadow: 0 0 35px rgba(0, 242, 254, 0.2);
}

.price-badge {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: linear-gradient(135deg, var(--cyan), var(--blue-deep));
  color: #041220;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tier-name {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.tier-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
}

.tier-capacity {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
}

.tier-capacity strong {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--cyan);
  display: block;
}

.tier-capacity span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.price-features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.price-features li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.8rem;
}

.price-features li i {
  color: var(--emerald);
  font-size: 0.9rem;
}

.price-card .btn {
  width: 100%;
}

/* ==========================================================================
   1-Command Installation Walkthrough
   ========================================================================== */
.install-guide-section {
  padding: 6.5rem 0;
  position: relative;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  position: relative;
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  color: rgba(0, 242, 254, 0.18);
  line-height: 1;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Code Snippet Box */
.code-box {
  background: #040711;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--cyan);
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Prerequisites Table */
.prereq-wrapper {
  margin-top: 4rem;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.prereq-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
}

.prereq-table th, .prereq-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.prereq-table th {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.prereq-table td {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.prereq-table td strong {
  color: #fff;
}

/* ==========================================================================
   Live Demo CTA Banner
   ========================================================================== */
.demo-banner {
  padding: 5rem 0;
}

.demo-box {
  background: linear-gradient(135deg, rgba(14, 30, 60, 0.85), rgba(8, 18, 38, 0.95));
  border: 1px solid var(--cyan-glow);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  box-shadow: 0 0 35px rgba(0, 242, 254, 0.15);
}

.demo-text h2 {
  font-size: 2.3rem;
  margin-bottom: 0.75rem;
}

.demo-text p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 620px;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  padding: 6.5rem 0;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  padding: 1.4rem 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
  user-select: none;
}

.faq-question i {
  color: var(--cyan);
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.8rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open {
  border-color: var(--cyan);
}

.faq-item.open .faq-question i {
  transform: rotate(180deg);
}

.faq-item.open .faq-answer {
  max-height: 350px;
  padding-bottom: 1.5rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #040710;
  border-top: 1px solid var(--border-glass);
  padding: 4.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  color: #fff;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--cyan);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-contact-item i {
  color: var(--cyan);
  margin-top: 3px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   Modal (Demo & License Order)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: #0b1222;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 560px;
  padding: 2.2rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8);
  position: relative;
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.3rem;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close-btn:hover {
  color: #fff;
  transform: rotate(90deg);
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.25);
  background: rgba(255, 255, 255, 0.08);
}

.form-control option {
  background: #0f172a;
  color: #fff;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.8rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 1500;
  transition: var(--transition);
}

.floating-whatsapp::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border: 2px solid #25D366;
  border-radius: 50%;
  animation: pulseWa 2s infinite;
}

@keyframes pulseWa {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.35); opacity: 0; }
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.65);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .terminal-box {
    text-align: left;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .demo-box {
    flex-direction: column;
    text-align: center;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: #080d18;
    flex-direction: column;
    padding: 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border-glass);
    display: none;
  }
  .nav-menu.open {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .hero h1 {
    font-size: 2.4rem;
  }
  .section-header h2 {
    font-size: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }
  .prereq-wrapper {
    overflow-x: auto;
  }
}
