/* ==========================================================================
   DELIVERY SCALA — ELEGANT DARK STYLESHEET (100% VANILLA CSS)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;

  /* Color Palette - Elegant Dark Archetype */
  --bg-obsidian: #05070A;
  --bg-surface: #0A0C10;
  --bg-card: #111317;
  --bg-card-hover: #1A1C20;
  
  --color-flame: #F27D26;
  --color-flame-hover: #EAA23B;
  --color-gold: #D4AF37;
  --color-gold-light: #FFF3E0;

  --color-emerald: #10B981;
  --color-red: #EF4444;

  --border-color: rgba(255, 255, 255, 0.08);
  --border-subtle: #1f2937;
  --border-highlight: rgba(242, 125, 38, 0.4);

  --text-white: #FFFFFF;
  --text-slate-100: #F1F5F9;
  --text-slate-200: #E2E8F0;
  --text-slate-300: #CBD5E1;
  --text-muted: #94A3B8;
  --text-subtle: #64748B;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-obsidian);
  color: var(--text-slate-100);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
  font-weight: 700;
  line-height: 1.15;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

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

::selection {
  background-color: var(--color-flame);
  color: #FFFFFF;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-obsidian);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-card-hover);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-flame);
}

/* Utility Containers */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
  .container { padding-left: 2rem; padding-right: 2rem; }
}

.max-w-6xl { max-width: 1152px; margin-left: auto; margin-right: auto; }
.max-w-5xl { max-width: 1024px; margin-left: auto; margin-right: auto; }
.max-w-4xl { max-width: 896px; margin-left: auto; margin-right: auto; }
.max-w-3xl { max-width: 768px; margin-left: auto; margin-right: auto; }
.max-w-2xl { max-width: 672px; margin-left: auto; margin-right: auto; }
.max-w-xl { max-width: 576px; margin-left: auto; margin-right: auto; }

/* Signature Gradients & Effects */
.gradient-text {
  background: linear-gradient(135deg, #F27D26 0%, #EAA23B 45%, #D4AF37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-bg {
  background: linear-gradient(135deg, #F27D26 0%, #D4AF37 100%);
}

.bg-tech-grid {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
}

.glow-orb {
  position: absolute;
  border-radius: 9999px;
  pointer-events: none;
}

/* Badges & Pills */
.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  background-color: var(--bg-card-hover);
  border: 1px solid var(--border-subtle);
  color: var(--color-flame);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.eyebrow-badge-red {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  background-color: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #F87171;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

/* Common Section Layout */
.section {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 5rem;
  overflow: hidden;
}

.section-border {
  border-top: 1px solid rgba(31, 41, 55, 0.8);
  border-bottom: 1px solid rgba(31, 41, 55, 0.8);
}

@media (min-width: 768px) {
  .section {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 1.75rem;
  color: var(--text-white);
  line-height: 1.15;
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .section-title { font-size: 2.25rem; }
}
@media (min-width: 1024px) {
  .section-title { font-size: 2.75rem; }
}

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

@media (min-width: 640px) {
  .section-subtitle { font-size: 1.1rem; }
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
  background: transparent;
  padding: 1.25rem 0;
}

#main-header.scrolled {
  background-color: rgba(5, 7, 10, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(31, 41, 55, 0.8);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
  padding: 0.875rem 0;
}

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

/* Logo */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  user-select: none;
  cursor: pointer;
}

.logo-symbol-box {
  position: relative;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #1A1C20 0%, #0A0C10 50%, #05070A 100%);
  padding: 0.375rem;
  border: 1px solid rgba(242, 125, 38, 0.4);
  box-shadow: 0 0 20px rgba(242, 125, 38, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text-col {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-title-row {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
}

.logo-subtext {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 500;
}

/* Desktop Navigation Menu */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 2rem;
  background: rgba(17, 19, 23, 0.85);
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
}

@media (min-width: 768px) {
  .desktop-nav { display: flex; }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--text-white);
}

.header-cta-btn {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: #FFFFFF;
  color: #000000;
  padding: 0.625rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: all 0.25s ease;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.header-cta-btn:hover {
  background: var(--color-flame);
  color: #FFFFFF;
  box-shadow: 0 0 25px rgba(242, 125, 38, 0.35);
  transform: translateY(-2px);
}

@media (min-width: 768px) {
  .header-cta-btn { display: inline-flex; }
}

/* Hamburger button */
.mobile-hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-slate-200);
}

@media (min-width: 768px) {
  .mobile-hamburger { display: none; }
}

/* Mobile Drawer */
#mobile-drawer {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(10, 12, 16, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}

#mobile-drawer.open {
  display: block;
  animation: fadeIn 0.2s ease-out;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.mobile-nav-link {
  padding: 0.625rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-slate-200);
  transition: all 0.2s ease;
}

.mobile-nav-link:hover {
  color: var(--color-flame);
  background: var(--bg-card);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 0.875rem;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  background: var(--color-flame);
  box-shadow: 0 10px 25px -5px rgba(242, 125, 38, 0.3);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--color-flame-hover);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(242, 125, 38, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.75rem;
  border-radius: 0.875rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-white);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  background: var(--bg-card);
  border-color: #4B5563;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
#hero {
  padding-top: 8rem;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  #hero {
    padding-top: 10rem;
    padding-bottom: 6rem;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 7fr 5fr;
    gap: 2.5rem;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
}

.hero-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

@media (min-width: 640px) {
  .hero-title { font-size: 3rem; }
}
@media (min-width: 1280px) {
  .hero-title { font-size: 3.5rem; }
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 42rem;
}

@media (min-width: 640px) {
  .hero-subtitle { font-size: 1.125rem; }
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 0.5rem;
}

@media (min-width: 640px) {
  .hero-cta-group {
    flex-direction: row;
    align-items: center;
  }
}

.hero-assurance {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-indicators-box {
  padding-top: 1rem;
  border-top: 1px solid rgba(31, 41, 55, 0.8);
}

.indicators-label {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-subtle);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.indicators-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.indicator-pill {
  padding: 0.25rem 0.625rem;
  border-radius: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: var(--bg-card);
  color: var(--text-slate-300);
  border: 1px solid var(--border-subtle);
  transition: border-color 0.2s ease;
}

.indicator-pill:hover {
  border-color: rgba(242, 125, 38, 0.4);
}

/* ==========================================================================
   HERO VISUAL (INTERACTIVE SAAS DASHBOARD)
   ========================================================================== */
.hero-visual-frame {
  position: relative;
  width: 100%;
  max-width: 42rem;
  margin: 0 auto;
}

.dashboard-card {
  position: relative;
  border-radius: 1.75rem;
  background: linear-gradient(180deg, #111317 0%, #0A0C10 100%);
  border: 1px solid var(--border-subtle);
  padding: 1.25rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(16px);
}

@media (min-width: 640px) {
  .dashboard-card {
    padding: 1.5rem;
    border-radius: 2.25rem;
  }
}

.dashboard-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(31, 41, 55, 0.8);
}

.window-dots {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 9999px;
  display: inline-block;
}
.dot-red { background-color: rgba(239, 68, 68, 0.8); }
.dot-amber { background-color: rgba(242, 125, 38, 0.8); }
.dot-green { background-color: rgba(16, 185, 129, 0.8); }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.125rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.1);
  color: var(--color-emerald);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Dashboard Segment Tabs */
.dashboard-tabs-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding: 0.25rem;
  background: var(--bg-obsidian);
  border-radius: 0.75rem;
  border: 1px solid var(--border-subtle);
  margin-bottom: 1.25rem;
}

.dashboard-tab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.dashboard-tab-btn.active {
  background: var(--bg-card-hover);
  color: var(--color-flame);
  border: 1px solid rgba(242, 125, 38, 0.3);
  box-shadow: 0 0 15px rgba(242, 125, 38, 0.15);
}

.dashboard-tab-btn:hover:not(.active) {
  color: var(--text-white);
}

/* KPI Cards Grid */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .kpi-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.kpi-card {
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}

.kpi-title-row {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.kpi-value {
  font-size: 1.125rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--text-white);
}

@media (min-width: 640px) {
  .kpi-value { font-size: 1.25rem; }
}

.kpi-trend {
  font-size: 0.625rem;
  margin-top: 0.25rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Real-Time Flow Box */
.flow-box {
  padding: 0.875rem;
  border-radius: 0.75rem;
  background: var(--bg-obsidian);
  border: 1px solid rgba(242, 125, 38, 0.25);
  margin-bottom: 1rem;
}

.flow-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  text-align: center;
  padding-top: 0.5rem;
}

.flow-step-card {
  padding: 0.5rem;
  border-radius: 0.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}

.flow-step-num {
  font-size: 0.625rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.flow-step-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-white);
  margin-top: 0.125rem;
}

.flow-step-dot {
  display: inline-block;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  margin-top: 0.25rem;
}

/* Live Incoming Order Pill */
.order-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: linear-gradient(90deg, rgba(6, 78, 59, 0.4) 0%, #0A0C10 50%, #0A0C10 100%);
  border: 1px solid rgba(16, 185, 129, 0.2);
  transition: all 0.3s ease;
}

.order-pill.pulse {
  border-color: #34D399;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.25);
}

/* ==========================================================================
   PROBLEM DIAGNOSIS SECTION
   ========================================================================== */
.problems-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .problems-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .problems-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.problem-card {
  padding: 1.5rem;
  border-radius: 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.problem-card:hover {
  border-color: rgba(242, 125, 38, 0.4);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
}

.icon-box {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-flame);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.problem-card:hover .icon-box {
  transform: scale(1.1);
  background: var(--bg-card-hover);
  border-color: rgba(242, 125, 38, 0.4);
}

.problem-quote {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.35;
  font-family: var(--font-display);
  margin-bottom: 0.5rem;
}

.problem-detail {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.problem-tag {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(31, 41, 55, 0.8);
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #F87171;
}

.resolution-box {
  margin-top: 3.5rem;
  text-align: center;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  padding: 1.5rem;
  border-radius: 1rem;
  background: linear-gradient(90deg, #111317 0%, #0A0C10 50%, #111317 100%);
  border: 1px solid rgba(242, 125, 38, 0.3);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   COMMERCIAL JOURNEY (7 STEPS)
   ========================================================================== */
.journey-tabs-grid {
  display: none;
}

.journey-showcase-card {
  display: none;
  padding: 2rem;
  border-radius: 1rem;
  background: linear-gradient(90deg, #111317 0%, #0A0C10 50%, #05070A 100%);
  border: 1px solid rgba(242, 125, 38, 0.4);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

@media (min-width: 1024px) {
  .journey-tabs-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    margin-bottom: 2rem;
  }
  .journey-showcase-card {
    display: block;
  }
}

.journey-tab-btn {
  padding: 0.875rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  text-align: left;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.journey-tab-btn.active {
  background: var(--bg-card-hover);
  border-color: var(--color-flame);
  box-shadow: 0 0 20px rgba(242, 125, 38, 0.15);
  transform: scale(1.03);
}

.journey-tab-btn:hover:not(.active) {
  border-color: #374151;
}

.journey-tab-num {
  font-size: 0.75rem;
  font-family: monospace;
  font-weight: 700;
  color: var(--text-muted);
}

.journey-tab-btn.active .journey-tab-num {
  color: var(--color-flame);
}

.journey-tab-title {
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-slate-300);
  margin-top: 0.25rem;
}

.journey-tab-btn.active .journey-tab-title {
  color: var(--text-white);
}

.journey-showcase-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 2rem;
  align-items: center;
}

/* Mobile Journey Vertical Timeline */
.journey-mobile-timeline {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

@media (min-width: 1024px) {
  .journey-mobile-timeline { display: none; }
}

.journey-mobile-item {
  position: relative;
  padding: 1rem 1rem 1rem 3.5rem;
  border-radius: 0.75rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}

.journey-step-circle {
  position: absolute;
  left: 0.875rem;
  top: 1rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  background: var(--bg-obsidian);
  border: 1px solid rgba(242, 125, 38, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-family: monospace;
  font-weight: 700;
  color: var(--color-flame);
}

/* ==========================================================================
   GROWTH PIPELINE (5 STEPS)
   ========================================================================== */
.pipeline-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  position: relative;
  z-index: 10;
}

@media (min-width: 640px) {
  .pipeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .pipeline-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.pipeline-card {
  position: relative;
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pipeline-card.highlight {
  background: var(--bg-card);
  border-color: var(--color-flame);
  box-shadow: 0 20px 25px -5px rgba(242, 125, 38, 0.15);
}

.pipeline-card:hover {
  transform: translateY(-4px);
}

/* ==========================================================================
   TECHNOLOGY SECTION (6 CARDS)
   ========================================================================== */
.tech-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tech-card {
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.tech-card.highlight {
  background: linear-gradient(180deg, #111317 0%, #0D0F14 50%, #05070A 100%);
  border-color: rgba(242, 125, 38, 0.5);
  box-shadow: 0 20px 25px -5px rgba(242, 125, 38, 0.1);
}

.tech-card:hover {
  border-color: rgba(242, 125, 38, 0.3);
  background: var(--bg-card);
}

/* ==========================================================================
   VIDEOS DEMO SECTION (3 CARDS)
   ========================================================================== */
.videos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .videos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.video-card {
  border-radius: 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.video-card:hover {
  border-color: rgba(242, 125, 38, 0.4);
}

.video-player-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-obsidian);
  overflow: hidden;
  border-bottom: 1px solid rgba(31, 41, 55, 0.8);
}

.video-thumb-container {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.video-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.video-thumb-container:hover .video-thumb-img {
  transform: scale(1.05);
  filter: brightness(0.9);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background: var(--color-flame);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(242, 125, 38, 0.4);
  transition: all 0.3s ease;
}

.video-thumb-container:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--color-flame-hover);
}

.video-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.625rem;
  border-radius: 0.375rem;
  background: rgba(5, 7, 10, 0.9);
  backdrop-filter: blur(8px);
  font-size: 0.6875rem;
  font-family: monospace;
  color: var(--color-flame);
  border: 1px solid var(--border-subtle);
}

.video-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

/* ==========================================================================
   PRICING SECTION (STARTER, SCALA, PLUS)
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 3fr 6fr 3fr;
  }
}

.pricing-card {
  padding: 1.75rem;
  border-radius: 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.pricing-card.scala-protagonist {
  padding: 2.25rem;
  border-radius: 1.5rem;
  background: linear-gradient(180deg, #16181D 0%, #0D0F14 50%, #05070A 100%);
  border: 2px solid var(--color-flame);
  box-shadow: 0 0 40px rgba(242, 125, 38, 0.2);
  position: relative;
}

.pricing-badge-top {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  background: linear-gradient(90deg, #F27D26 0%, #EAA23B 50%, #D4AF37 100%);
  color: #000000;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  box-shadow: 0 10px 20px rgba(242, 125, 38, 0.3);
  display: flex;
  align-items: center;
  gap: 0.375rem;
  white-space: nowrap;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-top: 0.5rem;
}

.price-currency {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-flame);
}

.price-amount {
  font-size: 3rem;
  font-weight: 900;
  font-family: var(--font-display);
  color: var(--text-white);
  line-height: 1;
}

@media (min-width: 640px) {
  .pricing-card.scala-protagonist .price-amount {
    font-size: 4rem;
  }
}

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

.bonus-box {
  padding: 1rem;
  border-radius: 1rem;
  background: linear-gradient(90deg, rgba(242, 125, 38, 0.15) 0%, rgba(242, 125, 38, 0.05) 100%);
  border: 1px solid rgba(242, 125, 38, 0.4);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}

.bonus-icon-box {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: var(--color-flame);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(242, 125, 38, 0.3);
}

/* ==========================================================================
   COMPARISON TABLE
   ========================================================================== */
.comparison-table-wrapper {
  display: none;
  border-radius: 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

@media (min-width: 768px) {
  .comparison-table-wrapper { display: block; }
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th, .comparison-table td {
  padding: 1rem 1.25rem;
}

.comparison-table thead tr {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-table tbody tr {
  border-bottom: 1px solid rgba(31, 41, 55, 0.8);
  transition: background 0.2s ease;
}

.comparison-table tbody tr:hover {
  background: rgba(17, 19, 23, 0.5);
}

.th-scala, .td-scala {
  background: rgba(26, 28, 32, 0.4);
  border-left: 1px solid rgba(242, 125, 38, 0.3);
  border-right: 1px solid rgba(242, 125, 38, 0.3);
}

/* Mobile comparison tabs */
.comparison-mobile-box {
  display: block;
}

@media (min-width: 768px) {
  .comparison-mobile-box { display: none; }
}

.comparison-mobile-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.25rem;
  padding: 0.25rem;
  background: var(--bg-surface);
  border-radius: 0.75rem;
  border: 1px solid var(--border-subtle);
  margin-bottom: 1rem;
}

.comp-tab-btn {
  padding: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 0.5rem;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.comp-tab-btn.active {
  background: var(--color-flame);
  color: #FFFFFF;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border-radius: 1rem;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item.active {
  background: var(--bg-card);
  border-color: rgba(242, 125, 38, 0.4);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.faq-button {
  width: 100%;
  padding: 1.25rem 1.5rem;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-question {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-white);
  font-family: var(--font-display);
}

.faq-chevron {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card-hover);
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.faq-item.active .faq-chevron {
  background: var(--color-flame);
  color: #FFFFFF;
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.5rem 1.5rem;
  font-size: 0.9375rem;
  color: var(--text-slate-300);
  line-height: 1.6;
  border-top: 1px solid rgba(31, 41, 55, 0.6);
  padding-top: 1rem;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   FINAL CTA SECTION
   ========================================================================== */
.final-cta-card {
  padding: 2.5rem 1.5rem;
  border-radius: 1.5rem;
  background: var(--bg-surface);
  border: 2px solid rgba(242, 125, 38, 0.4);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
  text-align: center;
}

@media (min-width: 640px) {
  .final-cta-card {
    padding: 3.5rem;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background-color: var(--bg-obsidian);
  color: var(--text-muted);
  padding-top: 4rem;
  padding-bottom: 3rem;
  border-top: 1px solid rgba(31, 41, 55, 0.8);
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(31, 41, 55, 0.8);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 6fr 3fr 3fr;
  }
}

.footer-bottom-bar {
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--text-subtle);
}

@media (min-width: 640px) {
  .footer-bottom-bar {
    flex-direction: row;
  }
}

/* ==========================================================================
   FLOATING WHATSAPP & MOBILE STICKY BAR
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 5.5rem;
  right: 1.25rem;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .floating-whatsapp {
    bottom: 1.5rem;
    right: 1.5rem;
  }
}

.whatsapp-btn {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background-color: #10B981;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.4);
  transition: all 0.3s ease;
}

.whatsapp-btn:hover {
  background-color: #059669;
  transform: scale(1.08);
}

.whatsapp-tooltip {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: rgba(10, 12, 16, 0.95);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--text-slate-200);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.5rem 0.875rem;
  border-radius: 0.75rem;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
}

@media (min-width: 1024px) {
  .whatsapp-tooltip { display: flex; }
}

/* Mobile Sticky Bottom CTA Bar */
#mobile-sticky-bar {
  display: block;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: rgba(5, 7, 10, 0.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(242, 125, 38, 0.3);
  padding: 0.75rem;
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.8);
}

@media (min-width: 768px) {
  #mobile-sticky-bar { display: none; }
}

/* ==========================================================================
   ANIMATIONS & TRANSITIONS
   ========================================================================== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseSlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.02); }
}

.animate-pulse-slow {
  animation: pulseSlow 3s infinite ease-in-out;
}
