:root {
      /* Sage-Teal Palette */
      --char: #2F3E46;
      --slate: #354F52;
      --teal: #52796F;
      --sage: #84A98C;
      --ash: #CAD2C5;
      --ink: #2F3E46;
      --mut: #6f7d79;
      --line: rgba(132, 169, 140, 0.22);
      --line-light: rgba(202, 210, 197, 0.15);
      --bg: #f5f8f5;
      --card: #ffffff;
      --danger: #b03a2e;
      --success: #388e3c;
      --shadow: 0 4px 12px rgba(47, 62, 70, 0.04), 0 16px 40px rgba(47, 62, 70, 0.08);
      --radius-lg: 20px;
      --radius-md: 12px;
      --radius-sm: 8px;
      --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

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

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Inter', system-ui, -apple-system, sans-serif;
      color: var(--ink);
      background-color: var(--bg);
      background-image: 
        radial-gradient(1000px 600px at 100% 10%, rgba(132, 169, 140, 0.12), transparent 70%),
        radial-gradient(800px 500px at 0% 80%, rgba(82, 121, 111, 0.08), transparent 70%);
      background-attachment: fixed;
      -webkit-font-smoothing: antialiased;
      line-height: 1.6;
    }

    /* Accessibility focus styles */
    a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
      outline: 3px solid var(--sage);
      outline-offset: 2px;
    }

    /* Layout & Containment */
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
    }

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

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

    /* Typography */
    h1, h2, h3, h4 {
      font-weight: 800;
      letter-spacing: -0.03em;
      color: var(--slate);
      line-height: 1.15;
    }

    p {
      color: var(--mut);
    }

    /* Buttons */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      font-size: 14.5px;
      font-weight: 700;
      padding: 12px 22px;
      border-radius: var(--radius-md);
      cursor: pointer;
      transition: var(--transition);
      text-decoration: none;
      border: none;
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--slate), var(--teal));
      color: #ffffff;
      box-shadow: 0 4px 14px rgba(53, 79, 82, 0.25);
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(53, 79, 82, 0.35);
      background: linear-gradient(135deg, var(--teal), var(--slate));
    }

    .btn-secondary {
      background: rgba(82, 121, 111, 0.1);
      color: var(--slate);
      border: 1px solid rgba(82, 121, 111, 0.15);
    }

    .btn-secondary:hover {
      background: rgba(82, 121, 111, 0.18);
      color: var(--char);
      transform: translateY(-2px);
    }

    .btn-outline {
      background: transparent;
      color: var(--slate);
      border: 1px solid var(--line);
    }

    .btn-outline:hover {
      background: rgba(132, 169, 140, 0.08);
      border-color: var(--teal);
    }

    /* ---------- Sticky Nav Bar ---------- */
    header.topbar {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(255, 255, 255, 0.85);
      backdrop-filter: blur(12px) saturate(1.3);
      -webkit-backdrop-filter: blur(12px) saturate(1.3);
      border-bottom: 1px solid var(--line-light);
      transition: var(--transition);
    }

    header.topbar::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: -2px;
      height: 2px;
      background: linear-gradient(90deg, var(--char), var(--slate) 35%, var(--teal) 70%, var(--sage));
      opacity: 0.85;
    }

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

    .logo-link {
      display: flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
      color: var(--slate);
      font-weight: 800;
      font-size: 20px;
      letter-spacing: -0.02em;
    }

    .logo-icon {
      display: flex;
      align-items: center;
      justify-content: center;
      transition: var(--transition);
    }

    .logo-link:hover .logo-icon {
      transform: rotate(5deg) scale(1.05);
    }

    nav.nav-links {
      display: flex;
      align-items: center;
      gap: 28px;
    }

    nav.nav-links a {
      text-decoration: none;
      color: var(--mut);
      font-size: 14.5px;
      font-weight: 600;
      transition: var(--transition);
      padding: 6px 12px;
      border-radius: var(--radius-sm);
    }

    nav.nav-links a:hover {
      color: var(--slate);
      background: rgba(132, 169, 140, 0.1);
    }

    /* Mobile Nav Toggle */
    .nav-toggle {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      color: var(--slate);
    }

    @media (max-width: 768px) {
      nav.nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 2px solid var(--sage);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
      }

      nav.nav-links.active {
        display: flex;
      }

      .nav-toggle {
        display: block;
      }
    }

    /* ---------- Hero Section ---------- */
    .hero-section {
      position: relative;
      background: linear-gradient(155deg, var(--char), var(--slate) 50%, var(--teal));
      color: #ffffff;
      padding: 120px 0 100px;
      overflow: hidden;
      border-bottom: 1px solid var(--line);
    }

    .hero-section::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-image: 
        radial-gradient(circle at 80% 20%, rgba(132, 169, 140, 0.25), transparent 45%),
        radial-gradient(circle at 10% 80%, rgba(202, 210, 197, 0.15), transparent 40%);
      pointer-events: none;
    }

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

    .hero-content {
      max-width: 620px;
    }

    .hero-badge {
      display: inline-flex;
      background: rgba(132, 169, 140, 0.18);
      border: 1px solid rgba(202, 210, 197, 0.3);
      color: var(--ash);
      padding: 6px 14px;
      border-radius: 20px;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      margin-bottom: 24px;
    }

    .hero-content h1 {
      color: #ffffff;
      font-size: 48px;
      line-height: 1.1;
      margin-bottom: 24px;
    }

    .hero-content p {
      color: rgba(238, 242, 238, 0.85);
      font-size: 18px;
      margin-bottom: 36px;
      max-width: 540px;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
    }

    /* Animated CSS Dashboard Mockup */
    .hero-visual {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.15);
      border-radius: var(--radius-lg);
      padding: 20px;
      box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
      backdrop-filter: blur(8px);
      position: relative;
    }

    .dashboard-mockup {
      background: #25333a;
      border-radius: var(--radius-md);
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.1);
      box-shadow: inset 0 2px 8px rgba(0,0,0,0.4);
    }

    .dashboard-header {
      background: #1b262c;
      padding: 12px 18px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

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

    .window-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.2);
    }
    .window-dot:nth-child(1) { background: #ff5f56; }
    .window-dot:nth-child(2) { background: #ffbd2e; }
    .window-dot:nth-child(3) { background: #27c93f; }

    .mock-title {
      font-size: 11px;
      font-weight: 700;
      color: rgba(255, 255, 255, 0.4);
      letter-spacing: 0.05em;
    }

    .dashboard-body {
      padding: 18px;
      display: grid;
      grid-template-columns: 1fr 1.2fr;
      gap: 14px;
    }

    .mock-card {
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid rgba(255, 255, 255, 0.06);
      border-radius: var(--radius-sm);
      padding: 12px;
    }

    .mock-card-title {
      font-size: 10px;
      color: var(--ash);
      font-weight: 600;
      margin-bottom: 8px;
      opacity: 0.7;
    }

    .mock-chart-container {
      height: 90px;
      display: flex;
      align-items: flex-end;
      gap: 6px;
      padding-top: 10px;
      border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    }

    .mock-chart-bar {
      flex: 1;
      background: linear-gradient(to top, var(--teal), var(--sage));
      border-radius: 3px 3px 0 0;
      position: relative;
      animation: barRise 1.8s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
    }

    .mock-chart-bar:nth-child(2) { animation-delay: 0.2s; }
    .mock-chart-bar:nth-child(3) { animation-delay: 0.4s; }
    .mock-chart-bar:nth-child(4) { animation-delay: 0.6s; }
    .mock-chart-bar:nth-child(5) { animation-delay: 0.8s; }

    .mock-metric {
      font-size: 18px;
      font-weight: 800;
      color: #ffffff;
      margin: 4px 0;
    }

    .mock-label-grid {
      display: flex;
      flex-direction: column;
      gap: 6px;
      margin-top: 10px;
    }

    .mock-label-item {
      display: flex;
      justify-content: space-between;
      font-size: 10px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.03);
      padding-bottom: 4px;
    }

    .mock-label-item span:first-child { color: rgba(255,255,255,0.4); }
    .mock-label-item span:last-child { color: var(--ash); font-weight: 600; }

    @keyframes barRise {
      from { height: 20%; }
      to { height: 85%; }
    }

    @media (max-width: 991px) {
      .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
      }
      .hero-content {
        max-width: 100%;
        text-align: center;
      }
      .hero-content p {
        margin-inline: auto;
      }
      .hero-actions {
        justify-content: center;
      }
      .hero-visual {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
      }
    }

    @media (max-width: 480px) {
      .hero-content h1 {
        font-size: 34px;
      }
    }

    /* ---------- Section Header ---------- */
    .section-header {
      text-align: center;
      max-width: 650px;
      margin: 0 auto 60px;
    }

    .section-header h2 {
      font-size: 36px;
      margin-bottom: 16px;
      color: var(--slate);
    }

    .section-header p {
      font-size: 17px;
      color: var(--mut);
    }

    .section-badge {
      display: inline-block;
      background: rgba(132, 169, 140, 0.15);
      color: var(--teal);
      border-radius: 20px;
      padding: 4px 12px;
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-bottom: 14px;
    }

    /* ---------- Products Section (Dynamic) ---------- */
    .products-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 32px;
      width: 100%;
    }

    .product-card {
      flex: 1 1 450px;
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow);
      padding: 40px;
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      transition: var(--transition);
    }

    .product-card:hover {
      border-color: var(--sage);
    }

    .product-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      margin-bottom: 24px;
      border-bottom: 1px solid var(--line-light);
      padding-bottom: 20px;
      flex-wrap: wrap;
      gap: 16px;
    }

    .product-title-group {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .product-logo {
      background: linear-gradient(135deg, var(--char), var(--slate));
      border-radius: var(--radius-md);
      padding: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 10px rgba(53, 79, 82, 0.15);
    }

    .product-logo svg {
      width: 32px;
      height: 32px;
    }

    .product-card h3 {
      font-size: 26px;
      color: var(--slate);
    }

    .product-pitch-line {
      font-size: 15.5px;
      font-weight: 600;
      color: var(--teal);
      margin-top: 4px;
    }

    .tag {
      background: rgba(132, 169, 140, 0.16);
      color: var(--slate);
      border-radius: 20px;
      padding: 4px 12px;
      font-size: 11.5px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.03em;
    }

    .product-details {
      margin-bottom: 32px;
    }

    .product-details h4 {
      font-size: 14px;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--mut);
      margin-bottom: 12px;
      font-weight: 700;
    }

    .bullet-list {
      list-style: none;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px 24px;
      margin-bottom: 28px;
    }

    @media (max-width: 576px) {
      .bullet-list {
        grid-template-columns: 1fr;
      }
    }

    .bullet-list li {
      position: relative;
      padding-left: 26px;
      font-size: 14.5px;
      color: var(--char);
    }

    .bullet-list li::before {
      content: "";
      position: absolute;
      left: 0;
      top: 4px;
      width: 16px;
      height: 16px;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2384A98C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
      background-size: contain;
      background-repeat: no-repeat;
    }

    .product-meta-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      border-top: 1px solid var(--line-light);
      padding-top: 20px;
      margin-top: 20px;
    }

    .meta-box h5 {
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--mut);
      margin-bottom: 4px;
    }

    .meta-box p {
      font-size: 14px;
      color: var(--slate);
      font-weight: 600;
    }

    /* Product Action Group inside cards */
    .product-action-bar {
      display: flex;
      gap: 14px;
      margin-top: 24px;
      flex-wrap: wrap;
    }

    /* ---------- Interactive Estimator & ERP Widgets ---------- */
    .preview-widget {
      background: #fafbfa;
      border: 1px solid var(--line);
      border-radius: var(--radius-lg);
      padding: 30px;
      box-shadow: inset 0 2px 4px rgba(47, 62, 70, 0.02);
      margin-top: 32px;
    }

    .preview-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;
      border-bottom: 1px solid var(--line-light);
      padding-bottom: 14px;
    }

    .preview-header h4 {
      font-size: 16px;
      color: var(--slate);
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .live-indicator {
      width: 8px;
      height: 8px;
      background: var(--success);
      border-radius: 50%;
      display: inline-block;
      box-shadow: 0 0 0 3px rgba(56, 142, 60, 0.2);
      animation: pulse 1.6s infinite;
    }

    @keyframes pulse {
      0% { transform: scale(0.9); opacity: 0.6; }
      50% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 0 5px rgba(56, 142, 60, 0.3); }
      100% { transform: scale(0.9); opacity: 0.6; }
    }

    .widget-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 28px;
    }

    @media (max-width: 768px) {
      .widget-grid {
        grid-template-columns: 1fr;
      }
    }

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

    .form-group {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .form-group label {
      font-size: 13px;
      font-weight: 700;
      color: var(--slate);
      display: flex;
      justify-content: space-between;
    }

    .label-val {
      font-family: monospace;
      color: var(--teal);
      font-size: 14px;
    }

    .slider {
      -webkit-appearance: none;
      width: 100%;
      height: 6px;
      border-radius: 3px;
      background: var(--ash);
      outline: none;
      transition: var(--transition);
    }

    .slider::-webkit-slider-thumb {
      -webkit-appearance: none;
      appearance: none;
      width: 18px;
      height: 18px;
      border-radius: 50%;
      background: var(--teal);
      cursor: pointer;
      box-shadow: 0 2px 6px rgba(0,0,0,0.15);
      transition: var(--transition);
    }

    .slider::-webkit-slider-thumb:hover {
      transform: scale(1.15);
      background: var(--slate);
    }

    .btn-toggle-group {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
      background: rgba(202, 210, 197, 0.25);
      padding: 4px;
      border-radius: var(--radius-sm);
    }

    .btn-toggle {
      background: none;
      border: none;
      padding: 8px;
      font-size: 12.5px;
      font-weight: 700;
      color: var(--mut);
      cursor: pointer;
      border-radius: var(--radius-sm);
      transition: var(--transition);
    }

    .btn-toggle.active {
      background: #ffffff;
      color: var(--slate);
      box-shadow: 0 2px 6px rgba(47, 62, 70, 0.08);
    }

    .widget-display {
      background: #ffffff;
      border: 1px solid var(--line-light);
      border-radius: var(--radius-md);
      padding: 20px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      box-shadow: var(--shadow);
    }

    .result-row {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      border-bottom: 1px solid var(--line-light);
      padding-bottom: 12px;
      margin-bottom: 12px;
    }

    .result-label {
      font-size: 13px;
      font-weight: 500;
      color: var(--mut);
    }

    .result-value {
      font-size: 24px;
      font-weight: 800;
      color: var(--slate);
    }

    .band-display {
      margin-bottom: 16px;
    }

    .band-header {
      display: flex;
      justify-content: space-between;
      font-size: 11px;
      color: var(--mut);
      font-weight: 600;
      margin-bottom: 6px;
    }

    .band-track {
      height: 8px;
      background: rgba(202, 210, 197, 0.2);
      border-radius: 4px;
      position: relative;
      overflow: hidden;
    }

    .band-fill {
      position: absolute;
      left: 15%;
      right: 15%;
      height: 100%;
      background: linear-gradient(90deg, rgba(132, 169, 140, 0.4), var(--sage), rgba(132, 169, 140, 0.4));
      border-radius: 4px;
    }

    .band-pointer {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      width: 4px;
      height: 100%;
      background: var(--slate);
    }

    .widget-docs {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .widget-docs-title {
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--mut);
      margin-bottom: 4px;
    }

    .doc-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: #fafbfa;
      border: 1px solid var(--line-light);
      border-radius: var(--radius-sm);
      padding: 8px 12px;
      font-size: 12.5px;
    }

    .doc-name {
      font-weight: 600;
      color: var(--char);
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .doc-btn {
      background: none;
      border: none;
      color: var(--teal);
      cursor: pointer;
      font-weight: 700;
      font-size: 12px;
      display: flex;
      align-items: center;
      gap: 4px;
      transition: var(--transition);
    }

    .doc-btn:hover {
      color: var(--slate);
      text-decoration: underline;
    }

    /* ERP pipeline tracker specific styling */
    .pipeline-steps {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 6px;
      background: rgba(202, 210, 197, 0.15);
      padding: 6px;
      border-radius: var(--radius-sm);
      margin-bottom: 12px;
    }

    .pipeline-step {
      background: none;
      border: none;
      padding: 8px 4px;
      font-size: 11px;
      font-weight: 700;
      color: var(--mut);
      cursor: pointer;
      border-radius: var(--radius-sm);
      transition: var(--transition);
      text-align: center;
    }

    .pipeline-step.active {
      background: var(--slate);
      color: #ffffff;
      box-shadow: var(--shadow);
    }

    .pipeline-log-card {
      background: #fbfcfb;
      border: 1px solid var(--line-light);
      border-radius: var(--radius-md);
      padding: 14px 18px;
      min-height: 96px;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .pipeline-log-title {
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--mut);
      font-weight: 700;
      margin-bottom: 4px;
    }

    .pipeline-log-text {
      font-size: 13.5px;
      color: var(--char);
      font-weight: 500;
      line-height: 1.4;
    }

    /* ---------- Why Nexus Control ---------- */
    .why-section {
      background: #ffffff;
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      position: relative;
    }

    .why-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 32px;
    }

    @media (max-width: 991px) {
      .why-grid {
        grid-template-columns: 1fr;
      }
    }

    .why-card {
      border: 1px solid var(--line-light);
      background: var(--bg);
      border-radius: var(--radius-lg);
      padding: 36px;
      transition: var(--transition);
    }

    .why-card:hover {
      border-color: var(--sage);
      background: #ffffff;
      box-shadow: var(--shadow);
      transform: translateY(-2px);
    }

    .why-icon {
      width: 48px;
      height: 48px;
      background: var(--slate);
      color: #ffffff;
      border-radius: var(--radius-md);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 24px;
      box-shadow: 0 4px 10px rgba(53, 79, 82, 0.15);
    }

    .why-card h3 {
      font-size: 20px;
      margin-bottom: 12px;
      color: var(--slate);
    }

    .why-card p {
      font-size: 14.5px;
      line-height: 1.6;
    }

    /* ---------- Booking Section (Lead Capture) ---------- */
    .booking-section {
      background-image: 
        radial-gradient(600px 400px at 0% 0%, rgba(132, 169, 140, 0.08), transparent 60%),
        radial-gradient(600px 400px at 100% 100%, rgba(82, 121, 111, 0.08), transparent 60%);
    }

    .booking-grid {
      display: grid;
      grid-template-columns: 0.9fr 1.1fr;
      gap: 56px;
      align-items: start;
    }

    @media (max-width: 991px) {
      .booking-grid {
        grid-template-columns: 1fr;
        gap: 40px;
      }
    }

    .booking-info h2 {
      font-size: 36px;
      margin-bottom: 20px;
      color: var(--slate);
    }

    .booking-info p {
      font-size: 16px;
      margin-bottom: 24px;
    }

    .demo-points {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 16px;
      margin-top: 28px;
    }

    .demo-points li {
      position: relative;
      padding-left: 36px;
      font-size: 15px;
      color: var(--char);
    }

    .demo-points li strong {
      color: var(--slate);
      display: block;
      margin-bottom: 2px;
    }

    .demo-points li::before {
      content: "";
      position: absolute;
      left: 0;
      top: 4px;
      width: 24px;
      height: 24px;
      background-size: contain;
      background-repeat: no-repeat;
    }
    
    .demo-points li:nth-child(1)::before {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2352796F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M23 7l-7 5 7 5V7z'/%3E%3Crect x='1' y='5' width='15' height='14' rx='2' ry='2'/%3E%3C/svg%3E");
    }
    
    .demo-points li:nth-child(2)::before {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2352796F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3Cpolyline points='10 9 9 9 8 9'/%3E%3C/svg%3E");
    }
    
    .demo-points li:nth-child(3)::before {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2352796F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
    }

    .booking-card {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: var(--radius-lg);
      padding: 40px;
      box-shadow: var(--shadow);
    }

    .booking-card h3 {
      font-size: 22px;
      margin-bottom: 6px;
      color: var(--slate);
    }

    .booking-card p.subtitle {
      font-size: 14px;
      color: var(--mut);
      margin-bottom: 24px;
      border-bottom: 1px solid var(--line-light);
      padding-bottom: 16px;
    }

    .booking-form {
      display: flex;
      flex-direction: column;
      gap: 18px;
    }

    .field-group {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .field-group label {
      font-size: 13px;
      font-weight: 700;
      color: var(--slate);
    }

    .field-group input, .field-group select {
      -webkit-appearance: none;
      -moz-appearance: none;
      appearance: none;
      height: 46px;
      padding: 0 14px;
      border: 1px solid var(--ash);
      border-radius: 10px;
      font-size: 14.5px;
      font-family: inherit;
      color: var(--ink);
      background-color: #fafbfa;
      transition: var(--transition);
      width: 100%;
      box-sizing: border-box;
    }

    .field-group select {
      background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23354F52' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 14px center;
      background-size: 16px;
      padding-right: 40px;
    }

    .field-group textarea {
      padding: 11px 14px;
      border: 1px solid var(--ash);
      border-radius: 10px;
      font-size: 14.5px;
      font-family: inherit;
      color: var(--ink);
      background-color: #fafbfa;
      transition: var(--transition);
      width: 100%;
      box-sizing: border-box;
    }

    .field-group input:focus, .field-group select:focus, .field-group textarea:focus {
      outline: none;
      border-color: var(--teal);
      background-color: #ffffff;
      box-shadow: 0 0 0 3px rgba(82, 121, 111, 0.16);
    }

    .field-group input:invalid:user-invalid, .field-group select:invalid:user-invalid {
      border-color: var(--danger);
      background-color: #fcf6f5;
    }

    .field-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }

    @media (max-width: 576px) {
      .field-row {
        grid-template-columns: 1fr;
        gap: 18px;
      }
    }

    .form-hint {
      font-size: 12px;
      color: var(--mut);
      margin-top: 2px;
    }

    .form-error {
      color: var(--danger);
      font-size: 13px;
      font-weight: 600;
      margin-top: 4px;
      display: none;
    }

    .submit-btn {
      margin-top: 8px;
      width: 100%;
      font-size: 16px;
      padding: 14px;
      font-weight: 700;
    }

    /* ---------- Success Modal ---------- */
    dialog.modal {
      border: none;
      border-radius: var(--radius-lg);
      box-shadow: 0 24px 54px rgba(0, 0, 0, 0.25);
      max-width: 520px;
      width: 90%;
      margin: auto;
      padding: 40px;
      background: #ffffff;
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      z-index: 1000;
      opacity: 0;
      visibility: hidden;
      transition: visibility 0s opacity var(--transition);
    }

    dialog.modal[open] {
      opacity: 1;
      visibility: visible;
    }

    dialog.modal::backdrop {
      background: rgba(47, 62, 70, 0.7);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
    }

    .modal-content {
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 16px;
    }

    .modal-icon-success {
      width: 64px;
      height: 64px;
      background: rgba(56, 142, 60, 0.12);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--success);
      margin-bottom: 8px;
    }

    .modal-content h3 {
      font-size: 24px;
      color: var(--slate);
    }

    .modal-content p {
      font-size: 15px;
      line-height: 1.6;
    }

    .modal-details-card {
      background: #fafbfa;
      border: 1px solid var(--line-light);
      border-radius: var(--radius-md);
      padding: 16px;
      width: 100%;
      text-align: left;
      margin: 10px 0;
      display: flex;
      flex-direction: column;
      gap: 8px;
      font-size: 13.5px;
    }

    .modal-details-row {
      display: flex;
      justify-content: space-between;
      border-bottom: 1px dashed var(--line-light);
      padding-bottom: 6px;
    }

    .modal-details-row:last-child {
      border: none;
      padding: 0;
    }

    .modal-details-row span:first-child { color: var(--mut); }
    .modal-details-row span:last-child { font-weight: 700; color: var(--slate); }

    .modal-close-btn {
      width: 100%;
      margin-top: 12px;
    }

    /* Toast notification */
    .toast {
      position: fixed;
      bottom: 24px;
      right: 24px;
      background: var(--slate);
      color: #ffffff;
      padding: 14px 24px;
      border-radius: var(--radius-md);
      box-shadow: var(--shadow);
      font-size: 14px;
      font-weight: 600;
      z-index: 1001;
      opacity: 0;
      transform: translateY(20px);
      transition: var(--transition);
      pointer-events: none;
      display: flex;
      align-items: center;
      gap: 10px;
      border: 1px solid rgba(255,255,255,0.1);
    }

    .toast.show {
      opacity: 1;
      transform: translateY(0);
    }

    /* ---------- Walkthrough Dialog (Dynamic Tabs) ---------- */
    .dialog-header {
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-bottom: 1px solid var(--line-light);
      padding-bottom: 14px;
      margin-bottom: 18px;
    }

    .dialog-header h3 {
      font-size: 20px;
    }

    .dialog-close {
      background: none;
      border: none;
      cursor: pointer;
      color: var(--mut);
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      width: 32px;
      height: 32px;
      transition: var(--transition);
    }

    .dialog-close:hover {
      background: var(--bg);
      color: var(--slate);
    }

    /* Tabs at the top of walkthrough modal */
    .walkthrough-tabs {
      display: flex;
      gap: 10px;
      border-bottom: 1px solid var(--line-light);
      padding-bottom: 12px;
      margin-bottom: 18px;
      width: 100%;
    }

    .walkthrough-tab-btn {
      background: none;
      border: none;
      padding: 8px 16px;
      font-size: 13.5px;
      font-weight: 700;
      color: var(--mut);
      cursor: pointer;
      border-radius: var(--radius-sm);
      transition: var(--transition);
    }

    .walkthrough-tab-btn.active {
      background: rgba(82, 121, 111, 0.12);
      color: var(--slate);
    }

    .walkthrough-body {
      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .wt-slide-container {
      position: relative;
      min-height: 350px;
    }

    .wt-slide {
      display: none;
      flex-direction: column;
      gap: 16px;
      animation: fadeIn 0.3s ease;
    }

    .wt-slide.active {
      display: flex;
    }

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

    .wt-media-mock {
      background: #1b262c;
      border-radius: var(--radius-md);
      height: 200px;
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden;
      border: 1px solid rgba(255,255,255,0.05);
    }

    .wt-media-mock svg {
      width: 100%;
      height: 100%;
      z-index: 1;
      padding: 20px;
    }

    /* Background glow inside slideshow mockup */
    .wt-media-mock::after {
      content: "";
      position: absolute;
      width: 150px;
      height: 150px;
      background: radial-gradient(circle, var(--sage) 0%, transparent 70%);
      opacity: 0.15;
      filter: blur(10px);
    }

    .wt-info-group h4 {
      font-size: 18px;
      color: var(--slate);
      margin-bottom: 8px;
      text-align: left;
    }

    .wt-info-group p {
      font-size: 14.5px;
      color: var(--mut);
      text-align: left;
    }

    .wt-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
      border-top: 1px solid var(--line-light);
      padding-top: 18px;
      margin-top: 8px;
    }

    .wt-dots {
      display: flex;
      gap: 8px;
    }

    .wt-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--ash);
      cursor: pointer;
      transition: var(--transition);
    }

    .wt-dot.active {
      background: var(--teal);
      transform: scale(1.2);
    }

    .wt-nav-btn {
      background: none;
      border: none;
      color: var(--slate);
      font-weight: 700;
      font-size: 13.5px;
      cursor: pointer;
      padding: 6px 12px;
      border-radius: var(--radius-sm);
      transition: var(--transition);
    }

    .wt-nav-btn:hover {
      background: rgba(132, 169, 140, 0.1);
    }

    .wt-nav-btn:disabled {
      opacity: 0.3;
      cursor: default;
    }

    /* ---------- Footer ---------- */
    footer {
      background: var(--char);
      color: var(--ash);
      padding: 60px 0 30px;
      border-top: 1px solid rgba(255,255,255,0.05);
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.2fr 0.8fr;
      gap: 40px;
      border-bottom: 1px solid rgba(255,255,255,0.06);
      padding-bottom: 40px;
      margin-bottom: 30px;
    }

    @media (max-width: 768px) {
      .footer-grid {
        grid-template-columns: 1fr;
      }
    }

    .footer-brand {
      max-width: 400px;
    }

    .footer-brand p {
      color: rgba(202, 210, 197, 0.7);
      font-size: 14px;
      margin-top: 14px;
    }

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

    @media (max-width: 480px) {
      .footer-links {
        flex-direction: column;
        gap: 24px;
      }
    }

    .footer-links-col h4 {
      color: #ffffff;
      font-size: 13.5px;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-bottom: 18px;
    }

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

    .footer-links-col a {
      color: rgba(202, 210, 197, 0.7);
      text-decoration: none;
      font-size: 14px;
      transition: var(--transition);
    }

    .footer-links-col a:hover {
      color: #ffffff;
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 13px;
      color: rgba(202, 210, 197, 0.5);
      flex-wrap: wrap;
      gap: 16px;
    }

    .footer-bottom a {
      color: rgba(202, 210, 197, 0.5);
      text-decoration: none;
      margin-left: 20px;
      transition: var(--transition);
    }

    .footer-bottom a:hover {
      color: #ffffff;
    }

    /* ---------- App Detail Modals ---------- */
    dialog.modal.app-detail-modal {
      max-width: 1080px;
      width: 95%;
      padding: 0;
      border: none;
      border-radius: var(--radius-lg);
      box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
      background: #ffffff;
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      z-index: 1000;
      opacity: 0;
      visibility: hidden;
      transition: visibility 0s opacity var(--transition);
    }

    dialog.modal.app-detail-modal[open] {
      opacity: 1;
      visibility: visible;
    }

    .modal-box-layout {
      display: flex;
      flex-grow: 1;
      flex-direction: column;
      max-height: 90vh;
    }

    .modal-box-layout .dialog-header {
      padding: 24px 32px 16px;
      margin-bottom: 0;
      background: #ffffff;
      border-bottom: 1px solid var(--line-light);
      position: sticky;
      top: 0;
      z-index: 15;
    }

    .modal-grid-content {
      display: grid;
      grid-template-columns: 1.05fr 0.95fr;
      gap: 32px;
      padding: 24px 32px 32px;
      overflow-y: auto;
      background: #ffffff;
    }

    .modal-details-col {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .modal-details-col .product-details h4 {
      font-size: 13px;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--mut);
      margin-top: 24px;
      margin-bottom: 10px;
      font-weight: 700;
    }

    .modal-details-col .product-details h4:first-of-type {
      margin-top: 0;
    }

    .modal-what-it-does {
      font-size: 16px;
      color: var(--slate);
      font-weight: 600;
      line-height: 1.5;
    }

    .bullet-list-modal {
      list-style: none;
      display: grid;
      grid-template-columns: 1fr;
      gap: 10px;
      margin-bottom: 20px;
    }

    .bullet-list-modal li {
      position: relative;
      padding-left: 26px;
      font-size: 14.5px;
      color: var(--char);
    }

    .bullet-list-modal li::before {
      content: "";
      position: absolute;
      left: 0;
      top: 4px;
      width: 15px;
      height: 15px;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2384A98C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
      background-size: contain;
      background-repeat: no-repeat;
    }

    .modal-advantage {
      font-size: 14.5px;
      color: var(--mut);
      line-height: 1.6;
    }

    .modal-interactive-col {
      display: flex;
      flex-direction: column;
      gap: 32px;
    }

    .modal-sandbox-container {
      background: #fafbfa;
      border: 1px solid var(--line);
      border-radius: var(--radius-md);
      padding: 24px;
      box-shadow: inset 0 2px 6px rgba(0,0,0,0.02);
    }

    .modal-sandbox-container h4 {
      font-size: 14px;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--slate);
      margin-bottom: 16px;
      font-weight: 800;
    }

    .modal-slides-container {
      background: #1b262c;
      border-radius: var(--radius-md);
      padding: 24px;
      color: #ffffff;
      border: 1px solid rgba(255,255,255,0.05);
    }

    .modal-slides-container h4 {
      font-size: 14px;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--ash);
      margin-bottom: 16px;
      font-weight: 800;
    }

    .modal-slides-container .walkthrough-body {
      gap: 16px;
    }

    .modal-slides-container .wt-slide-container {
      min-height: 270px;
    }

    .modal-slides-container .wt-info-group h4 {
      color: #ffffff;
      font-size: 16px;
      margin-bottom: 8px;
    }

    .modal-slides-container .wt-info-group p {
      color: rgba(202, 210, 197, 0.85);
      font-size: 13.5px;
      line-height: 1.5;
    }

    .modal-slides-container .wt-nav-btn {
      color: rgba(255, 255, 255, 0.7);
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .modal-slides-container .wt-nav-btn:hover:not(:disabled) {
      color: #ffffff;
      background: rgba(255, 255, 255, 0.15);
    }

    .modal-slides-container .wt-nav-btn:disabled {
      opacity: 0.3;
    }

    .modal-slides-container .wt-dot {
      background: rgba(255, 255, 255, 0.25);
    }

    .modal-slides-container .wt-dot.active {
      background: var(--sage);
    }

    /* Fixed widget styling inside modals to prevent card issues */
    .modal-sandbox-container .preview-widget {
      border: none;
      padding: 0;
      background: transparent;
      box-shadow: none;
    }

    @media (max-width: 820px) {
      .modal-grid-content {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 20px;
      }
      
      dialog.modal.app-detail-modal {
        width: 96%;
      }
    }