/* Reset & Base Styles */
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
    
    :root {
      --bg-color: #030712;
      --card-bg: rgba(17, 24, 39, 0.7);
      --card-bg-solid: #0f172a;
      --card-border: rgba(255, 255, 255, 0.08);
      --card-border-hover: rgba(6, 182, 212, 0.35);
      --text-main: #f3f4f6;
      --text-muted: #9ca3af;
      --primary: #06b6d4;
      --primary-glow: rgba(6, 182, 212, 0.15);
      --secondary: #8b5cf6;
      --secondary-glow: rgba(139, 92, 246, 0.15);
      --accent: #a855f7;
      --success: #10b981;
      --warning: #f59e0b;
      --danger: #ef4444;
      --gradient-primary: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #8b5cf6 100%);
      --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
      --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      --font-mono: 'JetBrains Mono', monospace;
    }
    
    html {
      scroll-behavior: smooth;
    }
    
    body {
      background-color: var(--bg-color);
      color: var(--text-main);
      font-family: var(--font-sans);
      line-height: 1.6;
      overflow-x: hidden;
      position: relative;
    }
    
    /* Background Glow Effects */
    body::before {
      content: '';
      position: absolute;
      width: 900px;
      height: 900px;
      background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
      top: -300px;
      left: -200px;
      z-index: -1;
      filter: blur(120px);
      animation: float-one 30s ease-in-out infinite alternate;
      pointer-events: none;
    }
    
    body::after {
      content: '';
      position: absolute;
      width: 900px;
      height: 900px;
      background: radial-gradient(circle, var(--secondary-glow) 0%, transparent 70%);
      top: 1400px;
      right: -300px;
      z-index: -1;
      filter: blur(120px);
      animation: float-two 35s ease-in-out infinite alternate;
      pointer-events: none;
    }
    
    @keyframes float-one {
      0% { transform: translate(0, 0) scale(1); }
      50% { transform: translate(100px, 80px) scale(1.1); }
      100% { transform: translate(-50px, 150px) scale(0.95); }
    }
    
    @keyframes float-two {
      0% { transform: translate(0, 0) scale(1); }
      50% { transform: translate(-120px, -60px) scale(0.9); }
      100% { transform: translate(80px, -120px) scale(1.05); }
    }
    
    /* Container */
    .container {
      max-width: 1240px;
      margin: 0 auto;
      padding: 0 2rem;
    }
    
    /* Header & Navigation */
    header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      background: rgba(3, 7, 18, 0.85);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      border-bottom: 1px solid var(--card-border);
    }
    
    .nav-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 80px;
    }
    
    .logo {
      display: flex;
      align-items: center;
      gap: 12px;
      font-weight: 800;
      font-size: 1.35rem;
      letter-spacing: -0.5px;
      color: #fff;
      text-decoration: none;
    }
    
    .logo-icon {
      width: 38px;
      height: 38px;
      background: var(--gradient-primary);
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 900;
      color: #fff;
      font-size: 1.25rem;
      box-shadow: 0 4px 14px rgba(6, 182, 212, 0.35);
    }
    
    .logo-badge {
      font-size: 0.68rem;
      font-weight: 700;
      padding: 3px 8px;
      background: rgba(6, 182, 212, 0.15);
      border: 1px solid rgba(6, 182, 212, 0.3);
      color: var(--primary);
      border-radius: 6px;
      letter-spacing: 0.5px;
      text-transform: uppercase;
    }
    
    nav ul {
      display: flex;
      list-style: none;
      gap: 26px;
      align-items: center;
    }
    
    nav a {
      color: var(--text-muted);
      text-decoration: none;
      font-weight: 500;
      font-size: 0.92rem;
      transition: color 0.25s ease;
    }
    
    nav a:hover {
      color: #fff;
    }
    
    .nav-actions {
      display: flex;
      align-items: center;
      gap: 14px;
    }
    
    .btn-nav-primary {
      background: var(--gradient-primary);
      border: none;
      padding: 10px 22px;
      border-radius: 8px;
      color: #fff !important;
      font-weight: 600;
      font-size: 0.92rem;
      cursor: pointer;
      text-decoration: none;
      transition: all 0.3s ease;
      box-shadow: 0 4px 16px rgba(6, 182, 212, 0.25);
    }
    
    .btn-nav-primary:hover {
      transform: translateY(-1px);
      box-shadow: 0 6px 22px rgba(6, 182, 212, 0.4);
    }

    /* Buttons */
    .btn-primary {
      background: var(--gradient-primary);
      border: none;
      padding: 16px 32px;
      border-radius: 10px;
      color: #fff;
      font-weight: 600;
      font-size: 1rem;
      cursor: pointer;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      transition: all 0.3s ease;
      box-shadow: 0 4px 20px rgba(6, 182, 212, 0.25);
    }
    
    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 30px rgba(6, 182, 212, 0.45);
    }
    
    .btn-secondary {
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid var(--card-border);
      padding: 16px 28px;
      border-radius: 10px;
      color: #fff;
      font-weight: 600;
      font-size: 1rem;
      cursor: pointer;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: all 0.3s ease;
    }
    
    .btn-secondary:hover {
      background: rgba(255, 255, 255, 0.08);
      border-color: rgba(255, 255, 255, 0.2);
      transform: translateY(-2px);
    }

    /* Hero Section */
    .hero {
      padding: 180px 0 100px 0;
      position: relative;
    }
    
    .hero-grid {
      display: grid;
      grid-template-columns: 1.15fr 0.85fr;
      gap: 60px;
      align-items: center;
    }
    
    .hero-tag {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(6, 182, 212, 0.08);
      border: 1px solid rgba(6, 182, 212, 0.25);
      padding: 6px 16px;
      border-radius: 100px;
      font-size: 0.82rem;
      font-weight: 600;
      color: var(--primary);
      margin-bottom: 24px;
    }
    
    .hero-tag .pulse-dot {
      width: 7px;
      height: 7px;
      background-color: var(--success);
      border-radius: 50%;
      box-shadow: 0 0 10px var(--success);
      display: inline-block;
      animation: pulse 2s infinite;
    }

    @keyframes pulse {
      0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
      70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
      100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
    }
    
    .hero-title {
      font-size: 3.6rem;
      font-weight: 800;
      line-height: 1.12;
      letter-spacing: -2px;
      margin-bottom: 24px;
      color: #fff;
    }
    
    .hero-title span {
      background: var(--gradient-primary);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    
    .hero-desc {
      font-size: 1.15rem;
      color: var(--text-muted);
      margin-bottom: 38px;
      max-width: 580px;
      line-height: 1.7;
    }
    
    .hero-buttons {
      display: flex;
      gap: 18px;
      flex-wrap: wrap;
      margin-bottom: 40px;
    }
    
    .hero-stats-bar {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      padding-top: 30px;
      border-top: 1px solid var(--card-border);
    }
    
    .hero-stat-item {
      display: flex;
      flex-direction: column;
    }
    
    .hero-stat-val {
      font-size: 1.6rem;
      font-weight: 800;
      color: #fff;
      line-height: 1.2;
    }
    
    .hero-stat-val span {
      color: var(--primary);
    }
    
    .hero-stat-label {
      font-size: 0.75rem;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.8px;
      margin-top: 4px;
    }
    
    /* Hero Visual Graphic */
    .hero-graphic {
      position: relative;
    }
    
    .hero-graphic-card {
      background: linear-gradient(180deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.9) 100%);
      border: 1px solid rgba(6, 182, 212, 0.25);
      border-radius: 20px;
      padding: 24px;
      box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(6, 182, 212, 0.08);
      position: relative;
    }
    
    .graphic-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;
      padding-bottom: 14px;
      border-bottom: 1px solid var(--card-border);
    }
    
    .graphic-dots {
      display: flex;
      gap: 6px;
    }
    
    .graphic-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
    }
    
    .graphic-dot.red { background: #ef4444; }
    .graphic-dot.yellow { background: #f59e0b; }
    .graphic-dot.green { background: #10b981; }
    
    .graphic-title {
      font-size: 0.82rem;
      font-family: var(--font-mono);
      color: var(--text-muted);
    }
    
    .graphic-pill {
      font-size: 0.72rem;
      padding: 2px 8px;
      border-radius: 6px;
      background: rgba(16, 185, 129, 0.15);
      color: var(--success);
      font-weight: 600;
    }
    
    .graphic-flow {
      display: flex;
      flex-direction: column;
      gap: 14px;
    }
    
    .flow-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: rgba(15, 23, 42, 0.6);
      border: 1px solid var(--card-border);
      padding: 12px 16px;
      border-radius: 10px;
      font-size: 0.88rem;
    }
    
    .flow-row.active {
      border-color: rgba(6, 182, 212, 0.4);
      background: rgba(6, 182, 212, 0.05);
    }
    
    .flow-left {
      display: flex;
      align-items: center;
      gap: 12px;
    }
    
    .flow-icon {
      width: 32px;
      height: 32px;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1rem;
    }
    
    .flow-icon.cyan { background: rgba(6, 182, 212, 0.15); color: var(--primary); }
    .flow-icon.purple { background: rgba(139, 92, 246, 0.15); color: var(--secondary); }
    .flow-icon.green { background: rgba(16, 185, 129, 0.15); color: var(--success); }
    
    .flow-name { font-weight: 600; color: #fff; }
    .flow-meta { font-size: 0.76rem; color: var(--text-muted); }
    
    .flow-status {
      font-size: 0.78rem;
      font-family: var(--font-mono);
      color: var(--primary);
      display: flex;
      align-items: center;
      gap: 6px;
    }

    /* Trust / Sector Section */
    .trust-section {
      padding: 50px 0;
      border-top: 1px solid var(--card-border);
      border-bottom: 1px solid var(--card-border);
      background: rgba(255, 255, 255, 0.01);
    }

    .trust-title {
      text-align: center;
      font-size: 0.82rem;
      text-transform: uppercase;
      letter-spacing: 2.2px;
      color: var(--text-muted);
      margin-bottom: 28px;
      font-weight: 600;
    }

    .trust-marquee-wrapper {
      overflow: hidden;
      width: 100%;
      position: relative;
      mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
      -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
    }

    .trust-marquee {
      display: flex;
      gap: 70px;
      width: max-content;
      animation: marquee 32s linear infinite;
    }

    .trust-logo {
      font-size: 1.15rem;
      font-weight: 700;
      color: rgba(255, 255, 255, 0.45);
      letter-spacing: -0.3px;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .trust-logo span {
      background: var(--gradient-primary);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    @keyframes marquee {
      0% { transform: translate3d(0, 0, 0); }
      100% { transform: translate3d(-50%, 0, 0); }
    }

    /* Section Header */
    .section-title-wrapper {
      text-align: center;
      margin-bottom: 60px;
    }
    
    .section-tag {
      font-size: 0.82rem;
      font-weight: 700;
      color: var(--primary);
      text-transform: uppercase;
      letter-spacing: 2.5px;
      margin-bottom: 12px;
      display: inline-block;
    }
    
    .section-title {
      font-size: 2.6rem;
      font-weight: 800;
      letter-spacing: -1px;
      color: #fff;
      line-height: 1.2;
    }
    
    .section-desc {
      font-size: 1.05rem;
      color: var(--text-muted);
      max-width: 660px;
      margin: 14px auto 0 auto;
    }

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

    .demo-tabs-container {
      display: flex;
      justify-content: center;
      gap: 12px;
      margin-bottom: 30px;
      flex-wrap: wrap;
    }

    .demo-tab-btn {
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid var(--card-border);
      padding: 12px 22px;
      border-radius: 12px;
      color: var(--text-muted);
      font-weight: 600;
      font-size: 0.92rem;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      transition: all 0.25s ease;
      font-family: var(--font-sans);
    }

    .demo-tab-btn:hover {
      background: rgba(255, 255, 255, 0.08);
      color: #fff;
    }

    .demo-tab-btn.active {
      background: rgba(6, 182, 212, 0.12);
      border-color: var(--primary);
      color: #fff;
      box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
    }

    .demo-tab-btn .tab-badge {
      font-size: 0.7rem;
      padding: 2px 6px;
      border-radius: 4px;
      background: rgba(255, 255, 255, 0.1);
      color: #cbd5e1;
    }

    .demo-tab-btn.active .tab-badge {
      background: var(--primary);
      color: #030712;
      font-weight: 700;
    }

    .demo-workbench {
      background: var(--card-bg-solid);
      border: 1px solid rgba(6, 182, 212, 0.25);
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7);
      display: grid;
      grid-template-columns: 1fr 1.15fr;
      min-height: 600px;
    }

    /* Left Pane: Document Visualizer */
    .doc-viewer-pane {
      background: #090d16;
      border-right: 1px solid var(--card-border);
      display: flex;
      flex-direction: column;
    }

    .pane-toolbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 14px 20px;
      border-bottom: 1px solid var(--card-border);
      background: rgba(15, 23, 42, 0.5);
    }

    .doc-filename {
      font-family: var(--font-mono);
      font-size: 0.84rem;
      color: #cbd5e1;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .doc-tag {
      font-size: 0.7rem;
      padding: 2px 6px;
      border-radius: 4px;
      background: rgba(139, 92, 246, 0.18);
      color: #c4b5fd;
      font-weight: 600;
    }

    .doc-page-canvas {
      padding: 30px;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      overflow-y: auto;
      max-height: 540px;
      background: radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.02) 0%, transparent 80%);
    }

    .doc-sheet {
      background: #ffffff;
      color: #0f172a;
      border-radius: 8px;
      padding: 32px 28px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
      position: relative;
      font-size: 0.85rem;
      line-height: 1.5;
      min-height: 480px;
      border: 1px solid #e2e8f0;
      transition: all 0.3s ease;
    }

    .doc-sheet-header {
      border-bottom: 2px solid #0f172a;
      padding-bottom: 12px;
      margin-bottom: 16px;
      text-align: center;
    }

    .doc-sheet-header h4 {
      font-size: 0.95rem;
      font-weight: 800;
      letter-spacing: 0.5px;
      color: #0f172a;
      text-transform: uppercase;
    }

    .doc-sheet-header p {
      font-size: 0.72rem;
      color: #475569;
      font-weight: 600;
    }

    .doc-sheet-body {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .doc-bounding-box {
      border: 2px solid #0284c7;
      background: rgba(2, 132, 199, 0.08);
      border-radius: 4px;
      padding: 6px 10px;
      position: relative;
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .doc-bounding-box:hover {
      background: rgba(2, 132, 199, 0.18);
      border-color: #0ea5e9;
      box-shadow: 0 0 12px rgba(14, 165, 233, 0.3);
    }

    .doc-bounding-box .bb-tag {
      position: absolute;
      top: -10px;
      left: 6px;
      background: #0284c7;
      color: #fff;
      font-size: 0.62rem;
      font-family: var(--font-mono);
      padding: 1px 5px;
      border-radius: 3px;
      font-weight: 700;
      letter-spacing: 0.3px;
    }

    .doc-bounding-box .bb-text {
      font-weight: 600;
      color: #0f172a;
      font-size: 0.8rem;
    }

    .doc-regular-text {
      color: #334155;
      font-size: 0.78rem;
      line-height: 1.45;
    }

    /* Right Pane: Extraction Inspector */
    .extraction-pane {
      display: flex;
      flex-direction: column;
      background: var(--card-bg-solid);
    }

    .pane-mode-toggle {
      display: flex;
      gap: 8px;
    }

    .mode-btn {
      background: transparent;
      border: none;
      padding: 6px 12px;
      border-radius: 6px;
      font-size: 0.82rem;
      font-weight: 600;
      color: var(--text-muted);
      cursor: pointer;
      font-family: var(--font-sans);
      transition: all 0.2s ease;
    }

    .mode-btn.active {
      background: rgba(255, 255, 255, 0.1);
      color: #fff;
    }

    .pane-status-bar {
      padding: 10px 24px;
      background: rgba(6, 182, 212, 0.05);
      border-bottom: 1px solid var(--card-border);
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 0.78rem;
    }

    .status-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      color: var(--success);
      font-weight: 600;
    }

    .status-badge::before {
      content: '';
      width: 6px;
      height: 6px;
      background: var(--success);
      border-radius: 50%;
    }

    .fields-list-container {
      padding: 20px 24px;
      flex-grow: 1;
      overflow-y: auto;
      max-height: 480px;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .field-card {
      background: rgba(15, 23, 42, 0.6);
      border: 1px solid var(--card-border);
      border-radius: 10px;
      padding: 14px 16px;
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 16px;
      transition: all 0.2s ease;
    }

    .field-card:hover {
      border-color: rgba(6, 182, 212, 0.3);
      background: rgba(15, 23, 42, 0.85);
    }

    .field-info {
      display: flex;
      flex-direction: column;
      gap: 4px;
      flex-grow: 1;
    }

    .field-label {
      font-size: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.8px;
      color: var(--text-muted);
      font-weight: 600;
    }

    .field-value {
      font-size: 0.92rem;
      font-weight: 600;
      color: #fff;
      line-height: 1.35;
    }

    .field-meta {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 6px;
      min-width: 80px;
    }

    .confidence-meter {
      display: flex;
      align-items: center;
      gap: 6px;
      font-family: var(--font-mono);
      font-size: 0.75rem;
      font-weight: 600;
      color: var(--success);
    }

    .confidence-bar {
      width: 48px;
      height: 4px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 100px;
      overflow: hidden;
    }

    .confidence-fill {
      height: 100%;
      background: var(--success);
      border-radius: 100px;
    }

    .field-verified-badge {
      font-size: 0.68rem;
      padding: 2px 6px;
      border-radius: 4px;
      background: rgba(16, 185, 129, 0.15);
      color: var(--success);
      font-weight: 600;
    }

    /* JSON View */
    .json-view-container {
      padding: 20px 24px;
      flex-grow: 1;
      display: none;
      flex-direction: column;
    }

    .json-pre-box {
      background: #030712;
      border: 1px solid var(--card-border);
      border-radius: 10px;
      padding: 16px;
      font-family: var(--font-mono);
      font-size: 0.82rem;
      color: #a5f3fc;
      line-height: 1.5;
      overflow-x: auto;
      flex-grow: 1;
      max-height: 420px;
    }

    .pane-footer {
      padding: 16px 24px;
      border-top: 1px solid var(--card-border);
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: rgba(15, 23, 42, 0.7);
    }

    .btn-copy-json {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid var(--card-border);
      color: #fff;
      padding: 8px 16px;
      border-radius: 6px;
      font-size: 0.82rem;
      font-weight: 600;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-family: var(--font-sans);
      transition: all 0.2s ease;
    }

    .btn-copy-json:hover {
      background: rgba(255, 255, 255, 0.1);
      border-color: rgba(255, 255, 255, 0.2);
    }

    /* Product UI Showcase */
    .ui-showcase-section {
      padding: 100px 0;
      background: rgba(255, 255, 255, 0.01);
      border-top: 1px solid var(--card-border);
      border-bottom: 1px solid var(--card-border);
    }

    .ui-dashboard-frame {
      background: #0b0f19;
      border: 1px solid rgba(6, 182, 212, 0.3);
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
    }

    .ui-dash-topbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 14px 24px;
      background: rgba(15, 23, 42, 0.8);
      border-bottom: 1px solid var(--card-border);
    }

    .ui-dash-breadcrumbs {
      font-size: 0.82rem;
      font-family: var(--font-mono);
      color: var(--text-muted);
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .ui-dash-breadcrumbs span.active {
      color: #fff;
      font-weight: 600;
    }

    .ui-dash-env {
      font-size: 0.72rem;
      padding: 3px 8px;
      background: rgba(6, 182, 212, 0.15);
      border: 1px solid rgba(6, 182, 212, 0.3);
      color: var(--primary);
      border-radius: 6px;
      font-weight: 600;
    }

    .ui-dash-grid {
      display: grid;
      grid-template-columns: 240px 1fr;
      min-height: 480px;
    }

    .ui-dash-sidebar {
      background: rgba(10, 15, 29, 0.9);
      border-right: 1px solid var(--card-border);
      padding: 20px 16px;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .sidebar-item {
      padding: 10px 14px;
      border-radius: 8px;
      font-size: 0.85rem;
      color: var(--text-muted);
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .sidebar-item.active {
      background: rgba(6, 182, 212, 0.12);
      color: #fff;
      font-weight: 600;
      border-left: 3px solid var(--primary);
    }

    .sidebar-item .sidebar-badge {
      margin-left: auto;
      font-size: 0.68rem;
      padding: 1px 6px;
      border-radius: 10px;
      background: var(--primary);
      color: #030712;
      font-weight: 700;
    }

    .ui-dash-main {
      padding: 28px;
      display: flex;
      flex-direction: column;
      gap: 24px;
    }

    .dash-metrics-row {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }

    .dash-metric-card {
      background: rgba(17, 24, 39, 0.6);
      border: 1px solid var(--card-border);
      border-radius: 12px;
      padding: 18px 20px;
    }

    .dash-metric-header {
      font-size: 0.78rem;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-bottom: 6px;
    }

    .dash-metric-number {
      font-size: 1.8rem;
      font-weight: 800;
      color: #fff;
      line-height: 1.2;
    }

    .dash-metric-sub {
      font-size: 0.75rem;
      color: var(--success);
      margin-top: 4px;
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .dash-table-card {
      background: rgba(17, 24, 39, 0.6);
      border: 1px solid var(--card-border);
      border-radius: 12px;
      overflow: hidden;
    }

    .dash-table-header {
      padding: 16px 20px;
      border-bottom: 1px solid var(--card-border);
      font-weight: 700;
      font-size: 0.92rem;
      color: #fff;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .dash-table {
      width: 100%;
      border-collapse: collapse;
      text-align: left;
      font-size: 0.82rem;
    }

    .dash-table th {
      padding: 12px 20px;
      color: var(--text-muted);
      font-weight: 600;
      border-bottom: 1px solid var(--card-border);
      background: rgba(15, 23, 42, 0.4);
    }

    .dash-table td {
      padding: 14px 20px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.04);
      color: #e2e8f0;
    }

    /* Core Product Features Section */
    .features-section {
      padding: 120px 0;
      position: relative;
    }

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

    .feature-card {
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: 20px;
      padding: 42px 34px;
      position: relative;
      overflow: hidden;
      transition: all 0.35s ease;
      display: flex;
      flex-direction: column;
    }

    .feature-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 4px;
      background: var(--gradient-primary);
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .feature-card:hover {
      transform: translateY(-6px);
      border-color: var(--card-border-hover);
      box-shadow: 0 20px 45px rgba(6, 182, 212, 0.1);
    }

    .feature-card:hover::before {
      opacity: 1;
    }

    .feature-icon-box {
      width: 52px;
      height: 52px;
      border-radius: 12px;
      background: rgba(6, 182, 212, 0.1);
      border: 1px solid rgba(6, 182, 212, 0.2);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      margin-bottom: 24px;
      color: var(--primary);
    }

    .feature-card h3 {
      font-size: 1.3rem;
      font-weight: 700;
      color: #fff;
      margin-bottom: 14px;
    }

    .feature-card p {
      color: var(--text-muted);
      font-size: 0.92rem;
      line-height: 1.65;
      margin-bottom: 20px;
      flex-grow: 1;
    }

    .feature-bullets {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 8px;
      border-top: 1px solid var(--card-border);
      padding-top: 18px;
    }

    .feature-bullets li {
      font-size: 0.82rem;
      color: #cbd5e1;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .feature-bullets li::before {
      content: '✓';
      color: var(--primary);
      font-weight: 800;
    }

    /* Developer API Sandbox Section */
    .api-section {
      padding: 120px 0;
      background: rgba(255, 255, 255, 0.01);
      border-top: 1px solid var(--card-border);
      border-bottom: 1px solid var(--card-border);
    }

    .api-grid {
      display: grid;
      grid-template-columns: 1fr 1.15fr;
      gap: 60px;
      align-items: center;
    }

    .api-info h3 {
      font-size: 2.4rem;
      font-weight: 800;
      color: #fff;
      line-height: 1.2;
      margin-bottom: 20px;
    }

    .api-info p {
      color: var(--text-muted);
      font-size: 1rem;
      line-height: 1.7;
      margin-bottom: 30px;
    }

    .api-feature-list {
      display: flex;
      flex-direction: column;
      gap: 16px;
      margin-bottom: 34px;
    }

    .api-feat-item {
      display: flex;
      align-items: flex-start;
      gap: 14px;
    }

    .api-feat-icon {
      font-size: 1.1rem;
      color: var(--primary);
      background: rgba(6, 182, 212, 0.1);
      padding: 6px;
      border-radius: 8px;
    }

    .api-feat-text h5 {
      font-size: 0.95rem;
      color: #fff;
      font-weight: 700;
      margin-bottom: 2px;
    }

    .api-feat-text p {
      font-size: 0.85rem;
      color: var(--text-muted);
      margin-bottom: 0;
      line-height: 1.4;
    }

    .api-box {
      background: #090d16;
      border: 1px solid rgba(6, 182, 212, 0.25);
      border-radius: 18px;
      overflow: hidden;
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    }

    .api-box-tabs {
      display: flex;
      background: rgba(15, 23, 42, 0.8);
      border-bottom: 1px solid var(--card-border);
      padding: 0 16px;
    }

    .api-tab {
      background: transparent;
      border: none;
      padding: 14px 18px;
      color: var(--text-muted);
      font-family: var(--font-mono);
      font-size: 0.82rem;
      cursor: pointer;
      border-bottom: 2px solid transparent;
      transition: all 0.2s ease;
    }

    .api-tab.active {
      color: #fff;
      border-bottom-color: var(--primary);
    }

    .api-code-content {
      padding: 24px;
      position: relative;
    }

    .code-pane {
      display: none;
      font-family: var(--font-mono);
      font-size: 0.84rem;
      line-height: 1.6;
      color: #e2e8f0;
      overflow-x: auto;
      white-space: pre;
    }

    .code-pane.active {
      display: block;
    }

    .btn-copy-code {
      position: absolute;
      top: 18px;
      right: 18px;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid var(--card-border);
      color: #cbd5e1;
      padding: 6px 12px;
      border-radius: 6px;
      font-size: 0.76rem;
      font-family: var(--font-sans);
      font-weight: 600;
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .btn-copy-code:hover {
      background: rgba(255, 255, 255, 0.12);
      color: #fff;
    }

    /* Pricing Section */
    .pricing-section {
      padding: 120px 0;
      position: relative;
    }

    .pricing-toggle-wrap {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 16px;
      margin-bottom: 50px;
    }

    .toggle-label {
      font-size: 0.92rem;
      font-weight: 600;
      color: var(--text-muted);
    }

    .toggle-label.active {
      color: #fff;
    }

    .pricing-toggle {
      width: 54px;
      height: 28px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 100px;
      padding: 3px;
      cursor: pointer;
      position: relative;
      transition: background 0.3s ease;
    }

    .pricing-toggle.annual {
      background: var(--primary);
    }

    .toggle-slider {
      width: 22px;
      height: 22px;
      background: #fff;
      border-radius: 50%;
      transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .pricing-toggle.annual .toggle-slider {
      transform: translateX(26px);
    }

    .annual-discount-badge {
      font-size: 0.74rem;
      font-weight: 700;
      padding: 3px 8px;
      background: rgba(16, 185, 129, 0.15);
      color: var(--success);
      border-radius: 6px;
      border: 1px solid rgba(16, 185, 129, 0.3);
    }

    .pricing-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 30px;
      align-items: stretch;
    }

    .pricing-card {
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: 22px;
      padding: 44px 36px;
      display: flex;
      flex-direction: column;
      position: relative;
      transition: all 0.35s ease;
    }

    .pricing-card:hover {
      transform: translateY(-6px);
      border-color: var(--card-border-hover);
      box-shadow: 0 20px 45px rgba(6, 182, 212, 0.12);
    }

    .pricing-card.featured {
      background: linear-gradient(180deg, rgba(30, 41, 59, 0.85) 0%, rgba(15, 23, 42, 0.95) 100%);
      border-color: var(--primary);
      box-shadow: 0 15px 40px rgba(6, 182, 212, 0.2);
      transform: scale(1.03);
    }

    .pricing-card.featured:hover {
      transform: scale(1.03) translateY(-6px);
    }

    .featured-tag {
      position: absolute;
      top: -14px;
      left: 50%;
      transform: translateX(-50%);
      background: var(--gradient-primary);
      color: #fff;
      font-size: 0.75rem;
      font-weight: 800;
      padding: 4px 14px;
      border-radius: 100px;
      letter-spacing: 0.8px;
      text-transform: uppercase;
      box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
    }

    .plan-name {
      font-size: 1.35rem;
      font-weight: 800;
      color: #fff;
      margin-bottom: 8px;
    }

    .plan-desc {
      color: var(--text-muted);
      font-size: 0.88rem;
      line-height: 1.5;
      margin-bottom: 24px;
      min-height: 42px;
    }

    .plan-price-wrap {
      margin-bottom: 28px;
      display: flex;
      align-items: baseline;
      gap: 6px;
    }

    .plan-currency {
      font-size: 1.3rem;
      font-weight: 700;
      color: #fff;
    }

    .plan-price {
      font-size: 3rem;
      font-weight: 800;
      color: #fff;
      line-height: 1;
    }

    .plan-period {
      font-size: 0.85rem;
      color: var(--text-muted);
    }

    .plan-features-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 14px;
      margin-bottom: 36px;
      flex-grow: 1;
    }

    .plan-features-list li {
      font-size: 0.88rem;
      color: #cbd5e1;
      display: flex;
      align-items: flex-start;
      gap: 10px;
      line-height: 1.4;
    }

    .plan-features-list li::before {
      content: '✓';
      color: var(--primary);
      font-weight: 800;
    }

    .btn-plan {
      width: 100%;
      padding: 14px;
      border-radius: 10px;
      font-size: 0.95rem;
      font-weight: 700;
      cursor: pointer;
      text-align: center;
      text-decoration: none;
      transition: all 0.3s ease;
    }

    .btn-plan-secondary {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid var(--card-border);
      color: #fff;
    }

    .btn-plan-secondary:hover {
      background: rgba(255, 255, 255, 0.1);
      border-color: rgba(255, 255, 255, 0.2);
    }

    .btn-plan-featured {
      background: var(--gradient-primary);
      border: none;
      color: #fff;
      box-shadow: 0 4px 18px rgba(6, 182, 212, 0.3);
    }

    .btn-plan-featured:hover {
      box-shadow: 0 8px 26px rgba(6, 182, 212, 0.5);
    }

    /* ROI Calculator Section */
    .calculator-section {
      padding: 120px 0;
      position: relative;
    }

    .calc-card {
      background: linear-gradient(180deg, rgba(17, 24, 39, 0.8) 0%, rgba(3, 7, 18, 0.95) 100%);
      border: 1px solid rgba(6, 182, 212, 0.2);
      border-radius: 24px;
      padding: 50px;
      box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 50px;
      align-items: center;
    }

    .calc-inputs {
      display: flex;
      flex-direction: column;
      gap: 30px;
    }

    .slider-group {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .slider-header {
      display: flex;
      justify-content: space-between;
      font-weight: 600;
      font-size: 0.95rem;
      color: #fff;
    }

    .slider-header span.val {
      color: var(--primary);
      font-size: 1.1rem;
      font-weight: 700;
    }

    .calc-slider {
      -webkit-appearance: none;
      width: 100%;
      height: 6px;
      border-radius: 100px;
      background: rgba(255, 255, 255, 0.1);
      outline: none;
    }

    .calc-slider::-webkit-slider-thumb {
      -webkit-appearance: none;
      appearance: none;
      width: 20px;
      height: 20px;
      border-radius: 50%;
      background: var(--primary);
      cursor: pointer;
      box-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
      transition: transform 0.1s ease;
    }

    .calc-slider::-webkit-slider-thumb:hover {
      transform: scale(1.2);
    }

    .calc-results {
      background: rgba(6, 182, 212, 0.03);
      border-left: 2px solid var(--primary);
      padding: 40px;
      border-radius: 16px;
      display: flex;
      flex-direction: column;
      gap: 30px;
    }

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

    .result-label {
      font-size: 0.8rem;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: var(--text-muted);
      margin-bottom: 4px;
    }

    .result-val {
      font-size: 2.2rem;
      font-weight: 800;
      color: #fff;
      line-height: 1;
      display: inline-block;
    }

    .result-val.highlight {
      background: var(--gradient-primary);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      font-size: 2.6rem;
    }

    /* Security & Compliance Badges */
    .security-section {
      padding: 80px 0;
      background: rgba(255, 255, 255, 0.015);
      border-top: 1px solid var(--card-border);
      border-bottom: 1px solid var(--card-border);
    }

    .security-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }

    .security-card {
      background: rgba(17, 24, 39, 0.5);
      border: 1px solid var(--card-border);
      border-radius: 16px;
      padding: 26px 22px;
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .security-icon {
      font-size: 1.8rem;
      color: var(--primary);
    }

    .security-info h5 {
      font-size: 0.95rem;
      font-weight: 700;
      color: #fff;
      margin-bottom: 4px;
    }

    .security-info p {
      font-size: 0.78rem;
      color: var(--text-muted);
      line-height: 1.4;
    }

    /* FAQ Section */
    .faq-section {
      padding: 120px 0;
      position: relative;
    }

    .faq-wrapper {
      max-width: 820px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .faq-item {
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: 12px;
      overflow: hidden;
      transition: all 0.3s ease;
    }

    .faq-item:hover {
      border-color: rgba(6, 182, 212, 0.25);
    }

    .faq-trigger {
      width: 100%;
      padding: 24px;
      background: transparent;
      border: none;
      color: #fff;
      font-size: 1.05rem;
      font-weight: 600;
      text-align: left;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-family: var(--font-sans);
    }

    .faq-icon {
      font-size: 1.2rem;
      color: var(--primary);
      transition: transform 0.3s ease;
    }

    .faq-content {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
      padding: 0 24px;
    }

    .faq-content p {
      color: var(--text-muted);
      padding-bottom: 24px;
      font-size: 0.94rem;
      line-height: 1.65;
    }

    .faq-item.active {
      border-color: rgba(6, 182, 212, 0.3);
      box-shadow: 0 10px 20px rgba(6, 182, 212, 0.02);
    }

    .faq-item.active .faq-icon {
      transform: rotate(45deg);
    }

    .faq-item.active .faq-content {
      max-height: 500px;
      transition: max-height 0.4s cubic-bezier(1, 0, 1, 0);
    }

    /* Contact & Lead Capture */
    .contact-section {
      padding: 120px 0;
      background: rgba(255, 255, 255, 0.01);
      border-top: 1px solid var(--card-border);
      position: relative;
    }

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

    .contact-info h3 {
      font-size: 2.3rem;
      font-weight: 800;
      margin-bottom: 18px;
      color: #fff;
      letter-spacing: -0.5px;
    }

    .contact-info p {
      color: var(--text-muted);
      margin-bottom: 36px;
      font-size: 1.02rem;
      line-height: 1.65;
    }

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

    .contact-detail-item {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .contact-icon {
      width: 44px;
      height: 44px;
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid var(--card-border);
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
      color: var(--primary);
    }

    .contact-text {
      color: #fff;
      font-weight: 500;
      font-size: 0.95rem;
    }

    .contact-card-box {
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: 20px;
      padding: 40px;
      position: relative;
    }

    .form-group {
      margin-bottom: 20px;
      display: flex;
      flex-direction: column;
    }

    .form-label {
      font-size: 0.85rem;
      color: var(--text-muted);
      margin-bottom: 8px;
      font-weight: 600;
    }

    .form-control {
      background: rgba(3, 7, 18, 0.6);
      border: 1px solid var(--card-border);
      padding: 12px 16px;
      border-radius: 8px;
      color: #fff;
      font-family: var(--font-sans);
      font-size: 0.95rem;
      transition: all 0.3s ease;
    }

    .form-control:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 12px rgba(6, 182, 212, 0.2);
    }

    textarea.form-control {
      min-height: 110px;
      resize: vertical;
    }

    /* In-Page Success State */
    .form-success-card {
      display: none;
      text-align: center;
      padding: 40px 20px;
    }

    .success-icon-box {
      width: 64px;
      height: 64px;
      border-radius: 50%;
      background: rgba(16, 185, 129, 0.15);
      border: 2px solid var(--success);
      color: var(--success);
      font-size: 2rem;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 20px auto;
    }

    .form-success-card h4 {
      font-size: 1.4rem;
      font-weight: 800;
      color: #fff;
      margin-bottom: 10px;
    }

    .form-success-card p {
      color: var(--text-muted);
      font-size: 0.95rem;
      line-height: 1.6;
      max-width: 380px;
      margin: 0 auto 24px auto;
    }

    /* Footer */
    footer {
      border-top: 1px solid var(--card-border);
      padding: 70px 0 30px 0;
      background: rgba(3, 7, 18, 0.98);
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.4fr 1fr;
      gap: 50px;
      margin-bottom: 50px;
    }

    .footer-info p {
      color: var(--text-muted);
      margin-top: 16px;
      max-width: 440px;
      font-size: 0.9rem;
      line-height: 1.65;
    }

    .footer-links-title {
      font-weight: 700;
      font-size: 0.95rem;
      margin-bottom: 16px;
      color: #fff;
    }

    .footer-links ul {
      list-style: none;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
    }

    .footer-links a {
      color: var(--text-muted);
      text-decoration: none;
      font-size: 0.9rem;
      transition: color 0.3s ease;
      cursor: pointer;
    }

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

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

    .system-status-indicator {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-family: var(--font-mono);
      font-size: 0.78rem;
      color: var(--success);
    }

    .status-pulse-dot {
      width: 7px;
      height: 7px;
      background: var(--success);
      border-radius: 50%;
      box-shadow: 0 0 8px var(--success);
    }

    /* Legal Modals */
    .modal-backdrop {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(3, 7, 18, 0.8);
      backdrop-filter: blur(10px);
      z-index: 2000;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 20px;
    }

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

    .modal-window {
      background: #0f172a;
      border: 1px solid rgba(6, 182, 212, 0.3);
      border-radius: 20px;
      width: 100%;
      max-width: 720px;
      max-height: 80vh;
      display: flex;
      flex-direction: column;
      box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
    }

    .modal-header {
      padding: 20px 24px;
      border-bottom: 1px solid var(--card-border);
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .modal-header h4 {
      font-size: 1.25rem;
      font-weight: 700;
      color: #fff;
    }

    .btn-close-modal {
      background: transparent;
      border: none;
      color: var(--text-muted);
      font-size: 1.5rem;
      cursor: pointer;
      line-height: 1;
      padding: 4px;
    }

    .btn-close-modal:hover {
      color: #fff;
    }

    .modal-body {
      padding: 24px;
      overflow-y: auto;
      font-size: 0.92rem;
      color: #cbd5e1;
      line-height: 1.65;
    }

    .modal-body h5 {
      color: #fff;
      font-size: 1rem;
      margin: 18px 0 8px 0;
    }

    .modal-body p {
      margin-bottom: 12px;
    }

    /* Responsive Queries */
    @media (max-width: 968px) {
      .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
      }
      
      .hero-desc {
        margin: 0 auto 38px auto;
      }
      
      .hero-buttons {
        justify-content: center;
      }
      
      .hero-stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
      }

      .demo-workbench {
        grid-template-columns: 1fr;
      }

      .doc-viewer-pane {
        border-right: none;
        border-bottom: 1px solid var(--card-border);
      }

      .ui-dash-grid {
        grid-template-columns: 1fr;
      }

      .ui-dash-sidebar {
        display: none;
      }

      .dash-metrics-row {
        grid-template-columns: 1fr;
      }

      .features-grid {
        grid-template-columns: 1fr;
      }

      .api-grid {
        grid-template-columns: 1fr;
      }

      .pricing-grid {
        grid-template-columns: 1fr;
      }

      .pricing-card.featured {
        transform: none;
      }

      .calc-card {
        grid-template-columns: 1fr;
        padding: 30px;
      }

      .security-grid {
        grid-template-columns: 1fr 1fr;
      }

      .contact-grid {
        grid-template-columns: 1fr;
      }

      .footer-grid {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 640px) {
      .hero-title {
        font-size: 2.5rem;
      }

      .section-title {
        font-size: 2rem;
      }

      .security-grid {
        grid-template-columns: 1fr;
      }

      nav ul {
        display: none;
      }
    }

/* ==========================================================================
   Multi-Page Subpage Layout & Component Additions
   ========================================================================== */

/* Page Header & Subpage Hero */
.page-header {
  padding: 140px 0 60px 0;
  text-align: center;
  position: relative;
  border-bottom: 1px solid var(--card-border);
  background: radial-gradient(circle at 50% 0%, rgba(6, 182, 212, 0.12) 0%, transparent 70%);
}

.page-header h1 {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-header p {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 720px;
  margin: 0 auto 24px auto;
  line-height: 1.6;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}

.breadcrumb span {
  opacity: 0.5;
}

/* Nav Active Link */
nav ul li a.active {
  color: var(--primary);
  font-weight: 600;
}

nav ul li a.active::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  margin-top: 4px;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--card-border);
  color: var(--text-main);
  font-size: 1.4rem;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  line-height: 1;
}

@media (max-width: 900px) {
  .mobile-nav-toggle {
    display: block;
  }
  header nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card-bg-solid);
    border-bottom: 1px solid var(--card-border);
    padding: 24px;
  }
  header nav.nav-open {
    display: block;
  }
  header nav ul {
    flex-direction: column;
    gap: 16px;
  }
  .nav-actions {
    display: none;
  }
}

/* Subpage Content Section */
.page-content {
  padding: 60px 0 100px 0;
}

/* Documentation Layout */
.docs-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}

.docs-sidebar {
  position: sticky;
  top: 100px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 20px;
}

.docs-nav-group {
  margin-bottom: 24px;
}

.docs-nav-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.docs-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.docs-nav-list a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.92rem;
  padding: 6px 10px;
  border-radius: 6px;
  display: block;
  transition: all 0.2s;
}

.docs-nav-list a:hover, .docs-nav-list a.active {
  background: rgba(6, 182, 212, 0.1);
  color: var(--primary);
}

.docs-article {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 40px;
  line-height: 1.7;
}

.docs-article h2 {
  font-size: 1.8rem;
  margin: 32px 0 16px 0;
  color: #fff;
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 10px;
}

.docs-article h2:first-child {
  margin-top: 0;
}

.docs-article h3 {
  font-size: 1.3rem;
  margin: 24px 0 12px 0;
  color: var(--primary);
}

.docs-article p {
  color: #cbd5e1;
  margin-bottom: 16px;
}

.docs-article ul, .docs-article ol {
  margin: 0 0 20px 24px;
  color: #cbd5e1;
}

.docs-article li {
  margin-bottom: 6px;
}

@media (max-width: 850px) {
  .docs-grid {
    grid-template-columns: 1fr;
  }
  .docs-sidebar {
    position: static;
  }
}

/* Pricing Table Styles */
.pricing-matrix {
  width: 100%;
  border-collapse: collapse;
  margin: 40px 0;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: hidden;
}

.pricing-matrix th, .pricing-matrix td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--card-border);
}

.pricing-matrix th {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-main);
  font-weight: 600;
}

.pricing-matrix td.center, .pricing-matrix th.center {
  text-align: center;
}

.check-icon {
  color: var(--success);
  font-weight: bold;
}

.dash-icon {
  color: var(--text-muted);
}

/* Status Page Components */
.status-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 20px 28px;
  border-radius: 12px;
  margin-bottom: 40px;
}

.status-banner-healthy {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--success);
  font-size: 1.25rem;
  font-weight: 700;
}

.status-component-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.status-component-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 18px 24px;
  border-radius: 10px;
}

.status-component-title {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-main);
}

.status-component-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Form Styles */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 36px;
}

.contact-form-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 36px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--card-border);
  background: rgba(15, 23, 42, 0.8);
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

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