
    :root {
      --bg-primary: #070B14;
      --bg-surface: #0E1526;
      --bg-card: rgba(18, 26, 46, 0.75);
      --bg-card-hover: rgba(26, 38, 66, 0.85);
      --border-subtle: rgba(255, 255, 255, 0.08);
      --border-active: rgba(56, 189, 248, 0.35);
      
      --accent-cyan: #06B6D4;
      --accent-blue: #3B82F6;
      --accent-sky: #38BDF8;
      --accent-emerald: #10B981;
      --accent-amber: #F59E0B;
      --accent-rose: #F43F5E;
      --accent-purple: #8B5CF6;

      --text-main: #F1F5F9;
      --text-muted: #94A3B8;
      --text-dim: #64748B;

      --radius-sm: 8px;
      --radius-md: 14px;
      --radius-lg: 20px;
      --radius-xl: 28px;

      --shadow-glow: 0 0 35px -5px rgba(56, 189, 248, 0.25);
      --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
      --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      -webkit-tap-highlight-color: transparent;
    }

    html, body {
      max-width: 100vw;
      overflow-x: hidden;
      width: 100%;
    }

    body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      background-color: var(--bg-primary);
      color: var(--text-main);
      min-height: 100vh;
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
      background-image: 
        radial-gradient(circle at 15% 15%, rgba(14, 165, 233, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 85%, rgba(139, 92, 246, 0.07) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.04) 0%, transparent 60%);
      background-attachment: fixed;
    }

    /* Top Navigation Bar */
    header.deck-header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      height: 64px;
      background: rgba(7, 11, 20, 0.88);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--border-subtle);
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 1.5rem;
      padding-top: env(safe-area-inset-top);
      z-index: 1000;
      transition: var(--transition);
    }

    .brand-group {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      color: var(--text-main);
      flex-shrink: 0;
    }

    .brand-icon {
      width: 36px;
      height: 36px;
      border-radius: var(--radius-sm);
      background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 0 12px rgba(6, 182, 212, 0.4);
    }

    .brand-icon svg {
      width: 20px;
      height: 20px;
      fill: none;
      stroke: #fff;
      stroke-width: 2.2;
    }

    .brand-title {
      font-size: 1.05rem;
      font-weight: 700;
      letter-spacing: -0.02em;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .brand-badge {
      font-size: 0.68rem;
      font-weight: 600;
      padding: 2px 7px;
      border-radius: 20px;
      background: rgba(56, 189, 248, 0.15);
      color: var(--accent-sky);
      border: 1px solid rgba(56, 189, 248, 0.3);
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .header-actions {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .mode-switch {
      display: flex;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid var(--border-subtle);
      border-radius: 30px;
      padding: 3px;
    }

    .mode-btn {
      border: none;
      background: transparent;
      color: var(--text-muted);
      padding: 5px 11px;
      font-size: 0.8rem;
      font-weight: 600;
      border-radius: 20px;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 5px;
      transition: var(--transition);
    }

    .mode-btn.active {
      background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
      color: #fff;
      box-shadow: 0 2px 10px rgba(59, 130, 246, 0.3);
    }

    .action-icon-btn {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      border: 1px solid var(--border-subtle);
      background: rgba(255, 255, 255, 0.04);
      color: var(--text-main);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: var(--transition);
      flex-shrink: 0;
    }

    .action-icon-btn:hover {
      background: rgba(255, 255, 255, 0.1);
      border-color: var(--border-active);
      color: var(--accent-sky);
    }

    .cta-btn-header {
      background: linear-gradient(135deg, var(--accent-emerald), #059669);
      color: #fff;
      border: none;
      border-radius: 30px;
      padding: 7px 16px;
      font-size: 0.82rem;
      font-weight: 700;
      cursor: pointer;
      box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
      transition: var(--transition);
      display: flex;
      align-items: center;
      gap: 5px;
      white-space: nowrap;
    }

    .cta-btn-header:hover {
      box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
      transform: translateY(-1px);
    }

    /* Slide Navigation Bar at Bottom */
    .deck-bottom-bar {
      position: fixed;
      bottom: calc(16px + env(safe-area-inset-bottom));
      left: 50%;
      transform: translateX(-50%);
      background: rgba(14, 21, 38, 0.92);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border: 1px solid var(--border-subtle);
      border-radius: 40px;
      padding: 7px 16px;
      display: flex;
      align-items: center;
      gap: 12px;
      z-index: 1000;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
      transition: var(--transition);
      max-width: calc(100vw - 24px);
    }

    .deck-bottom-bar.hidden-in-scroll {
      opacity: 0.85;
    }
    .deck-bottom-bar.hidden-in-scroll:hover {
      opacity: 1;
    }

    .deck-hints {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 0.75rem;
      color: var(--text-dim);
      border-left: 1px solid var(--border-subtle);
      padding-left: 10px;
      white-space: nowrap;
    }

    .nav-arrow-btn {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      border: 1px solid var(--border-subtle);
      background: rgba(255, 255, 255, 0.05);
      color: var(--text-main);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: var(--transition);
      flex-shrink: 0;
    }

    .nav-arrow-btn:hover:not(:disabled) {
      background: var(--accent-cyan);
      color: #000;
      border-color: var(--accent-cyan);
      box-shadow: 0 0 12px rgba(6, 182, 212, 0.5);
    }

    .nav-arrow-btn:disabled {
      opacity: 0.25;
      cursor: not-allowed;
    }

    .slide-counter {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.85rem;
      font-weight: 600;
      color: var(--text-muted);
      min-width: 52px;
      text-align: center;
      white-space: nowrap;
    }

    .slide-counter span.current {
      color: var(--accent-sky);
      font-size: 1rem;
    }

    .progress-track {
      width: 110px;
      height: 5px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 10px;
      overflow: hidden;
      cursor: pointer;
      position: relative;
    }

    .progress-fill {
      height: 100%;
      background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
      width: 11.1%;
      border-radius: 10px;
      transition: width 0.3s ease;
    }

    /* Main Container */
    main.presentation-container {
      padding-top: 64px;
      min-height: 100vh;
      position: relative;
    }

    /* Slide Deck Mode Styles */
    body.mode-slides main.presentation-container {
      height: calc(100vh - 64px);
      overflow: hidden;
      position: relative;
    }

    body.mode-slides .slide-section {
      position: absolute;
      inset: 0;
      opacity: 0;
      pointer-events: none;
      transform: scale(0.97) translateY(16px);
      transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 2.2rem 3.5rem 5.5rem 3.5rem;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
    }

    body.mode-slides .slide-section.active {
      opacity: 1;
      pointer-events: auto;
      transform: scale(1) translateY(0);
      z-index: 10;
    }

    /* Scroll Mode Styles (Landing Deck) */
    body.mode-scroll .slide-section {
      position: relative;
      min-height: auto;
      padding: 5rem 2rem 5rem 2rem;
      border-bottom: 1px solid var(--border-subtle);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .slide-inner {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
    }

    /* Typography & Section Headers */
    .pill-tag {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 5px 12px;
      border-radius: 20px;
      font-size: 0.76rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      margin-bottom: 0.85rem;
      border: 1px solid var(--border-subtle);
      background: rgba(255, 255, 255, 0.03);
    }

    .pill-tag.cyan {
      color: var(--accent-cyan);
      border-color: rgba(6, 182, 212, 0.3);
      background: rgba(6, 182, 212, 0.08);
    }
    .pill-tag.emerald {
      color: var(--accent-emerald);
      border-color: rgba(16, 185, 129, 0.3);
      background: rgba(16, 185, 129, 0.08);
    }
    .pill-tag.amber {
      color: var(--accent-amber);
      border-color: rgba(245, 158, 11, 0.3);
      background: rgba(245, 158, 11, 0.08);
    }
    .pill-tag.purple {
      color: var(--accent-purple);
      border-color: rgba(139, 92, 246, 0.3);
      background: rgba(139, 92, 246, 0.08);
    }
    .pill-tag.rose {
      color: var(--accent-rose);
      border-color: rgba(244, 63, 94, 0.3);
      background: rgba(244, 63, 94, 0.08);
    }

    h1.hero-title {
      font-size: clamp(1.85rem, 4.2vw, 3.5rem);
      font-weight: 800;
      line-height: 1.18;
      letter-spacing: -0.03em;
      margin-bottom: 1rem;
    }

    .gradient-text {
      background: linear-gradient(135deg, #FFFFFF 20%, #38BDF8 60%, #818CF8 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .gradient-emerald {
      background: linear-gradient(135deg, #FFFFFF 30%, #34D399 75%, #059669 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .slide-subtitle {
      font-size: clamp(0.95rem, 1.4vw, 1.15rem);
      color: var(--text-muted);
      line-height: 1.55;
      max-width: 760px;
      margin-bottom: 1.75rem;
    }

    /* Grid Layouts & Cards */
    .grid-2 {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
      align-items: center;
    }

    .grid-3 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.25rem;
    }

    .grid-4 {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1.15rem;
    }

    .card {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg);
      padding: 1.5rem;
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      transition: var(--transition);
      position: relative;
      overflow: hidden;
    }

    .card:hover {
      border-color: var(--border-active);
      background: var(--bg-card-hover);
      transform: translateY(-2px);
      box-shadow: var(--shadow-card);
    }

    .card-glow-edge::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 2px;
      background: linear-gradient(90deg, transparent, var(--accent-sky), transparent);
      opacity: 0;
      transition: var(--transition);
    }

    .card:hover.card-glow-edge::before {
      opacity: 1;
    }

    .card-icon-box {
      width: 44px;
      height: 44px;
      border-radius: var(--radius-md);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1rem;
      font-size: 1.35rem;
    }

    .icon-box-cyan {
      background: rgba(6, 182, 212, 0.15);
      border: 1px solid rgba(6, 182, 212, 0.3);
      color: var(--accent-cyan);
    }
    .icon-box-emerald {
      background: rgba(16, 185, 129, 0.15);
      border: 1px solid rgba(16, 185, 129, 0.3);
      color: var(--accent-emerald);
    }
    .icon-box-amber {
      background: rgba(245, 158, 11, 0.15);
      border: 1px solid rgba(245, 158, 11, 0.3);
      color: var(--accent-amber);
    }
    .icon-box-rose {
      background: rgba(244, 63, 94, 0.15);
      border: 1px solid rgba(244, 63, 94, 0.3);
      color: var(--accent-rose);
    }
    .icon-box-purple {
      background: rgba(139, 92, 246, 0.15);
      border: 1px solid rgba(139, 92, 246, 0.3);
      color: var(--accent-purple);
    }

    .card h3 {
      font-size: 1.1rem;
      font-weight: 700;
      margin-bottom: 0.5rem;
      color: #fff;
    }

    .card p {
      font-size: 0.88rem;
      color: var(--text-muted);
      line-height: 1.5;
    }

    /* Specific Feature Highlights & Badges */
    .metric-badge {
      display: inline-flex;
      align-items: baseline;
      gap: 3px;
      font-family: 'JetBrains Mono', monospace;
    }

    .metric-value {
      font-size: 1.9rem;
      font-weight: 800;
      color: #fff;
    }

    .metric-unit {
      font-size: 0.95rem;
      font-weight: 600;
      color: var(--accent-sky);
    }

    .metric-desc {
      font-size: 0.8rem;
      color: var(--text-dim);
      margin-top: 2px;
    }

    /* Comparison Table */
    .table-wrapper {
      width: 100%;
      overflow-x: auto;
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      position: relative;
    }

    .table-scroll-hint {
      display: none;
      font-size: 0.75rem;
      color: var(--accent-sky);
      text-align: center;
      padding: 6px;
      background: rgba(56, 189, 248, 0.08);
      border-bottom: 1px solid var(--border-subtle);
    }

    table.comp-table {
      width: 100%;
      min-width: 600px;
      border-collapse: collapse;
      text-align: left;
    }

    table.comp-table th, table.comp-table td {
      padding: 1rem 1.15rem;
      border-bottom: 1px solid var(--border-subtle);
      font-size: 0.88rem;
    }

    table.comp-table th {
      background: rgba(255, 255, 255, 0.03);
      color: var(--text-muted);
      font-weight: 700;
      text-transform: uppercase;
      font-size: 0.75rem;
      letter-spacing: 0.05em;
    }

    table.comp-table tr.highlight-row {
      background: rgba(56, 189, 248, 0.05);
    }

    .badge-check {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      color: var(--accent-emerald);
      font-weight: 600;
    }

    .badge-cross {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      color: var(--accent-rose);
      font-weight: 600;
    }

    .badge-warn {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      color: var(--accent-amber);
      font-weight: 600;
    }

    /* Interactive Simulator */
    .simulator-container {
      background: #080D1A;
      border: 1px solid var(--border-active);
      border-radius: var(--radius-xl);
      padding: 1.75rem;
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 1.75rem;
      box-shadow: var(--shadow-glow);
      position: relative;
    }

    .camera-viewport {
      background: #040711;
      border-radius: var(--radius-md);
      position: relative;
      height: 310px;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.1);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .scan-line {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 2px;
      background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
      box-shadow: 0 0 15px var(--accent-cyan);
      animation: scanAnim 3s infinite linear;
      z-index: 5;
    }

    @keyframes scanAnim {
      0% { top: 0; opacity: 0; }
      15% { opacity: 1; }
      85% { opacity: 1; }
      100% { top: 100%; opacity: 0; }
    }

    .cam-hud-top {
      position: absolute;
      top: 10px;
      left: 10px;
      right: 10px;
      display: flex;
      justify-content: space-between;
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.7rem;
      color: var(--accent-sky);
      z-index: 6;
      background: rgba(0, 0, 0, 0.6);
      padding: 4px 8px;
      border-radius: 5px;
    }

    .cam-hud-rec {
      display: flex;
      align-items: center;
      gap: 5px;
      color: var(--accent-rose);
      font-weight: 700;
    }

    .rec-dot {
      width: 7px;
      height: 7px;
      background: var(--accent-rose);
      border-radius: 50%;
      animation: blinkDot 1s infinite;
    }

    @keyframes blinkDot {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.2; }
    }

    .car-illustration {
      width: 250px;
      position: relative;
      transition: var(--transition);
      z-index: 2;
    }

    .plate-bounding-box {
      position: absolute;
      bottom: 55px;
      left: 50%;
      transform: translateX(-50%);
      border: 2px solid var(--accent-emerald);
      background: rgba(16, 185, 129, 0.15);
      padding: 4px 10px;
      border-radius: 4px;
      font-family: 'JetBrains Mono', monospace;
      font-weight: 700;
      color: #fff;
      display: flex;
      align-items: center;
      gap: 6px;
      box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
      z-index: 4;
      transition: var(--transition);
      white-space: nowrap;
    }

    .plate-bounding-box.denied {
      border-color: var(--accent-rose);
      background: rgba(244, 63, 94, 0.2);
      box-shadow: 0 0 15px rgba(244, 63, 94, 0.5);
    }

    .plate-hud-tag {
      position: absolute;
      top: -20px;
      left: -2px;
      background: var(--accent-emerald);
      color: #000;
      font-size: 0.62rem;
      font-weight: 800;
      padding: 1px 5px;
      border-radius: 3px;
      letter-spacing: 0.05em;
    }

    .plate-bounding-box.denied .plate-hud-tag {
      background: var(--accent-rose);
      color: #fff;
    }

    /* Barrier Arm Visual */
    .barrier-visual {
      position: absolute;
      right: 15px;
      bottom: 40px;
      width: 120px;
      height: 110px;
      z-index: 3;
    }

    .barrier-post {
      position: absolute;
      right: 0;
      bottom: 0;
      width: 22px;
      height: 65px;
      background: #F59E0B;
      border-radius: 4px 4px 0 0;
      border: 2px solid #000;
    }

    .barrier-boom {
      position: absolute;
      right: 16px;
      bottom: 50px;
      width: 105px;
      height: 7px;
      background: repeating-linear-gradient(45deg, #EF4444, #EF4444 10px, #FFFFFF 10px, #FFFFFF 20px);
      transform-origin: right center;
      transform: rotate(0deg);
      transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
      border-radius: 3px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    }

    .barrier-visual.open .barrier-boom {
      transform: rotate(-72deg);
    }

    /* Simulator Controls */
    .sim-controls {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 1rem;
    }

    .sim-scenarios {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .sim-scenario-btn {
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 11px 14px;
      color: var(--text-main);
      display: flex;
      align-items: center;
      justify-content: space-between;
      cursor: pointer;
      font-size: 0.85rem;
      font-weight: 600;
      transition: var(--transition);
      text-align: left;
    }

    .sim-scenario-btn:hover {
      border-color: var(--border-active);
      background: rgba(255, 255, 255, 0.05);
    }

    .sim-scenario-btn.active {
      border-color: var(--accent-cyan);
      background: rgba(6, 182, 212, 0.12);
      box-shadow: 0 0 15px rgba(6, 182, 212, 0.15);
    }

    .sim-status-card {
      background: rgba(0, 0, 0, 0.45);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 1.15rem;
    }

    .status-row {
      display: flex;
      justify-content: space-between;
      margin-bottom: 0.55rem;
      font-size: 0.82rem;
    }

    .status-row:last-child {
      margin-bottom: 0;
    }

    .status-label {
      color: var(--text-dim);
    }

    .status-value {
      font-family: 'JetBrains Mono', monospace;
      font-weight: 600;
      color: #fff;
      text-align: right;
    }

    /* Modal Form */
    .modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(4, 7, 17, 0.88);
      backdrop-filter: blur(12px);
      -webkit-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: #0E1526;
      border: 1px solid var(--border-active);
      border-radius: var(--radius-xl);
      width: 100%;
      max-width: 500px;
      max-height: 90vh;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      padding: 2rem 1.75rem;
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), var(--shadow-glow);
      position: relative;
      animation: modalFadeIn 0.25s ease;
    }

    @keyframes modalFadeIn {
      from { opacity: 0; transform: scale(0.94); }
      to { opacity: 1; transform: scale(1); }
    }

    .modal-close-btn {
      position: absolute;
      top: 1rem;
      right: 1rem;
      background: transparent;
      border: none;
      color: var(--text-muted);
      cursor: pointer;
      font-size: 1.6rem;
      line-height: 1;
      padding: 6px;
      transition: var(--transition);
    }

    .modal-close-btn:hover {
      color: #fff;
    }

    .form-group {
      margin-bottom: 1.1rem;
    }

    .form-label {
      display: block;
      font-size: 0.82rem;
      font-weight: 600;
      margin-bottom: 0.4rem;
      color: var(--text-main);
    }

    .form-input, .form-select, .form-textarea {
      width: 100%;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-sm);
      padding: 11px 13px;
      color: #fff;
      font-family: inherit;
      font-size: 16px; /* Prevents auto-zoom on iOS */
      transition: var(--transition);
    }

    .form-input:focus, .form-select:focus, .form-textarea:focus {
      outline: none;
      border-color: var(--accent-cyan);
      box-shadow: 0 0 12px rgba(6, 182, 212, 0.3);
      background: rgba(255, 255, 255, 0.08);
    }

    .btn-submit {
      width: 100%;
      background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
      color: #fff;
      border: none;
      border-radius: var(--radius-sm);
      padding: 13px;
      font-size: 0.95rem;
      font-weight: 700;
      cursor: pointer;
      box-shadow: 0 4px 20px rgba(6, 182, 212, 0.4);
      transition: var(--transition);
      margin-top: 0.5rem;
    }

    .btn-submit:hover:not(:disabled) {
      box-shadow: 0 6px 25px rgba(6, 182, 212, 0.6);
      transform: translateY(-1px);
    }

    .btn-submit:disabled {
      opacity: 0.6;
      cursor: wait;
    }

    /* Print / PDF Styling */
    @media print {
      body {
        background: #FFFFFF !important;
        color: #000000 !important;
      }
      header.deck-header, .deck-bottom-bar, .sim-scenarios, .action-icon-btn, .mode-switch {
        display: none !important;
      }
      main.presentation-container {
        padding-top: 0 !important;
      }
      .slide-section {
        position: static !important;
        page-break-after: always;
        opacity: 1 !important;
        transform: none !important;
        padding: 3cm 1.5cm !important;
        display: block !important;
        color: #000000 !important;
      }
      .card, .simulator-container, .table-wrapper {
        background: #F8FAFC !important;
        border: 1px solid #CBD5E1 !important;
        color: #0F172A !important;
        box-shadow: none !important;
      }
      .gradient-text, .gradient-emerald {
        -webkit-text-fill-color: #0F172A !important;
      }
      h1, h2, h3, p, span {
        color: #0F172A !important;
      }
    }

    /* ==================== MOBILE OPTIMIZATIONS ==================== */
    @media (max-width: 768px) {
      header.deck-header {
        height: 52px;
        padding: 0 10px;
        padding-top: env(safe-area-inset-top);
        gap: 6px;
      }

      .brand-group {
        gap: 6px;
      }

      .brand-title {
        font-size: 0.88rem;
        white-space: nowrap;
      }

      .brand-icon {
        width: 30px;
        height: 30px;
        flex-shrink: 0;
      }

      .brand-icon svg {
        width: 16px;
        height: 16px;
      }

      .brand-badge {
        display: none;
      }

      .header-actions {
        gap: 6px;
        flex-shrink: 0;
      }

      .mode-switch {
        padding: 2px;
        gap: 2px;
      }

      .mode-btn {
        padding: 5px 8px;
        font-size: 0.74rem;
        gap: 0;
      }

      .mode-btn .mode-text {
        display: none; /* Hide mode label text on mobile, keep clear icons */
      }

      .cta-btn-header {
        padding: 6px 10px;
        font-size: 0.76rem;
        white-space: nowrap;
        flex-shrink: 0;
        gap: 4px;
      }

      .cta-btn-header svg {
        width: 13px;
        height: 13px;
        flex-shrink: 0;
      }

      .action-icon-btn {
        display: none; /* Hide print & fullscreen buttons on small mobile */
      }

      @media (max-width: 380px) {
        header.deck-header {
          padding: 0 6px;
        }
        .brand-title .brand-ai {
          display: none;
        }
        .cta-btn-header {
          padding: 5px 8px;
          font-size: 0.72rem;
        }
      }

      main.presentation-container {
        padding-top: 52px;
      }

      body.mode-slides main.presentation-container {
        height: calc(100vh - 52px);
      }

      body.mode-slides .slide-section {
        padding: 1.5rem 1rem 5.5rem 1rem;
        align-items: flex-start;
      }

      body.mode-scroll .slide-section {
        padding: 3.5rem 1rem 4rem 1rem;
      }

      .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
        gap: 0.9rem;
      }

      .hero-title {
        font-size: 1.9rem !important;
        line-height: 1.2;
      }

      .hero-stats-row {
        display: grid !important;
        grid-template-columns: 1fr 1fr 1fr !important;
        gap: 10px !important;
      }

      .hero-stats-row .metric-value {
        font-size: 1.5rem !important;
      }

      .hero-stats-row .metric-desc {
        font-size: 0.7rem !important;
      }

      .pipeline-steps-grid {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
      }

      .table-scroll-hint {
        display: block;
      }

      .simulator-container {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 1.25rem;
      }

      .camera-viewport {
        height: 230px;
      }

      .car-illustration {
        width: 190px;
      }

      .plate-bounding-box {
        bottom: 40px;
        font-size: 0.85rem;
        padding: 3px 8px;
      }

      .barrier-visual {
        right: 8px;
        bottom: 25px;
        width: 90px;
        height: 85px;
      }

      .barrier-boom {
        width: 80px;
        bottom: 40px;
        right: 14px;
      }

      .deck-bottom-bar {
        bottom: calc(10px + env(safe-area-inset-bottom));
        padding: 5px 10px;
        gap: 8px;
        max-width: calc(100vw - 20px);
        width: auto;
      }

      .deck-hints {
        display: none !important;
      }

      .progress-track {
        width: 60px;
        min-width: 40px;
        height: 6px;
      }

      .nav-arrow-btn {
        width: 36px;
        height: 36px;
        min-width: 36px;
      }

      .slide-counter {
        font-size: 0.82rem;
        min-width: 44px;
        text-align: center;
      }

      .modal-card {
        padding: 1.5rem 1.15rem;
      }
    }
  

/* ================= UNIFIED SITE NAVIGATION & SUBPAGE STYLES ================= */

/* Support both .site-header and .deck-header */
header.site-header, header.deck-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(7, 11, 20, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  padding-top: env(safe-area-inset-top);
  z-index: 1000;
  transition: var(--transition);
}

.brand-title small {
  display: block;
  font-size: 0.68rem;
  color: var(--text-dim);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Nav links & dropdowns - ALWAYS HORIZONTAL FLEX ON DESKTOP */
.nav-links, nav.main-nav {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.4rem !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.nav-item {
  position: relative;
}

.nav-link, .nav-item-btn {
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  background: transparent;
  border: none;
}

.nav-link:hover, .nav-link.active, .nav-item-btn:hover, .nav-item-btn.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-arrow {
  font-size: 0.65rem;
  transition: transform 0.2s ease;
}

.nav-item:hover .nav-arrow {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 290px;
  background: rgba(14, 21, 38, 0.98);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-md);
  padding: 8px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: flex;
  flex-direction: column;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
}

.dropdown-link:hover {
  background: rgba(255, 255, 255, 0.06);
}

.dropdown-title {
  color: #fff;
  font-size: 0.86rem;
  font-weight: 600;
}

.dropdown-desc {
  color: var(--text-dim);
  font-size: 0.72rem;
  margin-top: 2px;
}

/* Header contacts */
.header-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
}

.header-email {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-sky);
  text-decoration: none;
}

.header-email:hover {
  color: var(--accent-cyan);
}

.header-hours {
  font-size: 0.68rem;
  color: var(--text-dim);
}

/* Mobile Drawer Backdrop & Drawer */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 15, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  padding: 6px 10px;
  font-size: 1.15rem;
  cursor: pointer;
  touch-action: manipulation;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -330px;
  width: min(320px, 86vw);
  height: 100vh;
  background: rgba(11, 17, 33, 0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-left: 1px solid var(--border-active);
  z-index: 2000;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 1.25rem 1.25rem 2.5rem 1.25rem;
  overflow-y: auto;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
  box-sizing: border-box;
}

.mobile-drawer.active {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-section {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-section-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-sky);
  margin-bottom: 0.5rem;
  padding-left: 4px;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-link {
  color: var(--text-main);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: var(--transition);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-sky);
}

.mobile-drawer-footer {
  padding-top: 0.5rem;
}

/* Subpage Layouts */
main.page-wrapper {
  padding-top: 88px;
  padding-bottom: 5rem;
  min-height: 80vh;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 4rem 0;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}

.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--accent-sky);
}

.breadcrumbs-sep {
  opacity: 0.4;
}

.breadcrumbs .current {
  color: var(--accent-sky);
  font-weight: 600;
}

.lead-text {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 850px;
}

/* Requisites Box & Tables */
.requisites-box {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.6;
  word-break: break-word;
  overflow-wrap: break-word;
}

.requisites-box strong {
  color: var(--text-main);
}

.sep-desktop {
  display: inline;
}

.sep-mobile {
  display: none;
}

.table-wrapper {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
  box-sizing: border-box;
}

/* Footer */
footer.site-footer {
  background: rgba(7, 11, 20, 0.98);
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem 0;
  margin-top: auto;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  overflow-x: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
  width: 100%;
  box-sizing: border-box;
}

.footer-col {
  min-width: 0;
  box-sizing: border-box;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-sky);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-bottom a {
  color: var(--text-dim);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--text-muted);
}

/* Article & Knowledge base styles */
.article-content {
  color: #CBD5E1;
  font-size: 1.02rem;
  line-height: 1.75;
}

.article-content h2 {
  font-size: 1.5rem;
  color: #fff;
  margin: 2rem 0 1rem 0;
}

.article-content p {
  margin-bottom: 1.2rem;
}

.article-content ul, .article-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

/* Responsive navigation breakpoint */
@media (max-width: 1040px) {
  .nav-links, nav.main-nav, .header-contacts {
    display: none !important;
  }
  .mobile-menu-btn {
    display: block !important;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  footer.site-footer {
    padding: 2.5rem 0 2rem 0;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
    margin-bottom: 2rem !important;
  }
  .footer-bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.85rem !important;
    padding-top: 1.25rem !important;
  }
  .footer-bottom-links {
    gap: 0.75rem 1rem !important;
  }
  .sep-desktop {
    display: none !important;
  }
  .sep-mobile {
    display: inline !important;
  }
  .container {
    padding: 0 1rem;
  }
  main.page-wrapper {
    padding-top: 72px;
    padding-bottom: 3.5rem;
  }
  .section-padding {
    padding: 2.5rem 0;
  }
  .card {
    padding: 1.25rem 1rem !important;
  }
  /* Prevent iOS Safari zooming when tapping inputs */
  input[type="text"],
  input[type="tel"],
  input[type="email"],
  input[type="number"],
  select,
  textarea {
    font-size: 16px !important;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ================= CALCULATOR COMPONENT ================= */
.calc-wrapper {
  background: rgba(14, 21, 38, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  margin-top: 1.5rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.calc-controls-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.calc-group {
  display: flex;
  flex-direction: column;
}

.calc-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.calc-val-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 4px 14px;
  border-radius: 20px;
}

.calc-range {
  width: 100%;
  height: 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  -webkit-appearance: none;
  accent-color: var(--accent-emerald);
  cursor: pointer;
  margin: 8px 0;
}

.calc-range-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-dim);
}

.calc-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 0.75rem;
}

.calc-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}

.calc-option:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-1px);
}

.calc-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-emerald);
  cursor: pointer;
  margin-top: 2px;
  flex-shrink: 0;
}

.calc-option span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-main);
  line-height: 1.35;
}

/* Result Box */
.calc-result-box, .calc-result-card {
  background: linear-gradient(145deg, rgba(18, 26, 46, 0.95), rgba(10, 15, 29, 0.98));
  border: 1px solid var(--border-active);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 30px -5px rgba(56, 189, 248, 0.2);
  position: relative;
}

.calc-result-header {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-emerald);
  margin-bottom: 0.4rem;
}

.calc-price-main {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.calc-price-sub {
  font-size: 0.82rem;
  color: var(--accent-sky);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.calc-spec-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 1.25rem;
}

.calc-spec-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.calc-spec-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.calc-spec-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.calc-spec-list li strong {
  color: #fff;
}

.calc-roi-metric {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 1.25rem;
  font-size: 0.82rem;
  color: #fff;
  line-height: 1.45;
}

.calc-roi-metric strong {
  color: var(--accent-emerald);
}

.btn-submit {
  width: 100%;
  padding: 14px 22px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--accent-emerald), #059669);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  text-align: center;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(16, 185, 129, 0.55);
}

@media (max-width: 900px) {
  .calc-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .calc-options-grid {
    grid-template-columns: 1fr;
  }
}

