
  /* === Hero Section === */
  .hero {
    position: relative;
    padding: clamp(6rem, 12vw, 12.5rem) 0 clamp(4rem, 8vw, 7.5rem);
    overflow: hidden;
  }

  /* Atmospheric background */
  .hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
  }

  .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: orbFloat 20s ease-in-out infinite;
  }

  .orb-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    top: -150px;
    right: -100px;
  }

  .orb-2 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    bottom: -100px;
    left: -100px;
    animation-delay: -10s;
  }

  @keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(20px, -20px) scale(1.05); }
    50% { transform: translate(-10px, 10px) scale(0.95); }
    75% { transform: translate(15px, 15px) scale(1.02); }
  }

  .grid-lines {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  }

  .hero-content {
    position: relative;
    text-align: center;
    z-index: 1;
  }

  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-full);
    color: var(--brand-primary);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    text-decoration: none;
    transition: all var(--duration-fast);
    margin-bottom: var(--space-8);
  }

  .hero-badge:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateY(-2px);
  }

  .badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
  }

  .hero-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: var(--font-extrabold);
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-display);
    margin-bottom: var(--space-6);
  }

  .title-line {
    display: block;
    color: var(--text-primary);
  }

  .title-gradient {
    display: block;
    background: linear-gradient(
      135deg,
      #6366f1 0%, #8b5cf6 20%, #c084fc 35%,
      #ec4899 50%, #c084fc 65%, #8b5cf6 80%, #6366f1 100%
    );
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 8s ease infinite;
  }

  @keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
  }

  .hero-subtitle {
    font-size: var(--text-xl);
    font-weight: var(--font-light);
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto var(--space-10);
    line-height: var(--leading-normal);
    letter-spacing: var(--tracking-tight);
  }

  .hero-ctas {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-10);
  }



  .hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-8);
    margin-bottom: var(--space-16);
  }

  .hero-stats .stat {
    text-align: center;
  }

  .hero-stats .stat-value {
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--text-primary);
  }

  .hero-stats .stat-suffix {
    font-size: var(--text-xl);
    color: var(--text-primary);
  }

  .hero-stats .stat-label {
    display: block;
    font-size: var(--text-sm);
    color: var(--text-tertiary);
    margin-top: var(--space-1);
  }

  .stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-subtle);
  }

  @media (max-width: 640px) {
    .hero-stats { flex-direction: column; gap: var(--space-4); }
    .stat-divider { width: 40px; height: 1px; }
  }


  /* === Dashboard Preview === */
  .hero-visual {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--space-6);
  }

  .dashboard-float {
    position: relative;
  }

  .dashboard-float::before {
    content: '';
    position: absolute;
    top: -40px;
    left: -40px;
    right: -40px;
    bottom: -40px;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.12) 0%, rgba(139, 92, 246, 0.06) 40%, transparent 70%);
    border-radius: var(--radius-2xl);
    z-index: -1;
    animation: auroraGlow 6s ease-in-out infinite alternate;
  }

  @keyframes auroraGlow {
    0% { opacity: 0.6; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.02); }
  }

  .dashboard-preview {
    background: #0a0a0f;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow:
      0 25px 50px -12px rgba(0, 0, 0, 0.7),
      0 0 0 1px rgba(255, 255, 255, 0.03),
      0 0 80px rgba(99, 102, 241, 0.15),
      0 0 120px rgba(139, 92, 246, 0.08);
  }

  .preview-header {
    display: flex;
    align-items: center;
    padding: var(--space-3) var(--space-4);
    background: #0f0f17;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    gap: var(--space-4);
  }

  .preview-dots {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
  }

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

  .preview-dots span:nth-child(1) { background: #ef4444; }
  .preview-dots span:nth-child(2) { background: #f59e0b; }
  .preview-dots span:nth-child(3) { background: #22c55e; }

  .preview-url-bar {
    flex: 1;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-sans);
  }

  .preview-tabs {
    display: flex;
    gap: 2px;
    flex-shrink: 0;
  }

  .preview-tab {
    padding: 4px 10px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    border-radius: 5px;
    cursor: default;
  }

  .preview-tab.active {
    background: rgba(99, 102, 241, 0.15);
    color: #a5b4fc;
  }

  /* === Sidebar + Body Layout === */
  .preview-layout {
    display: flex;
    min-height: 340px;
  }

  .preview-sidebar {
    width: 160px;
    padding: var(--space-4) var(--space-3);
    background: #09090e;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-shrink: 0;
  }

  .sidebar-nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    cursor: default;
    transition: all 0.15s;
  }

  .sidebar-nav-item.active {
    background: rgba(99, 102, 241, 0.12);
    color: #a5b4fc;
  }

  .sidebar-nav-item svg { flex-shrink: 0; }

  .preview-body {
    flex: 1;
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    background: #0c0c14;
  }

  /* === Stat Cards === */
  .preview-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
  }

  .preview-stat-card {
    padding: var(--space-3) var(--space-4);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .preview-stat-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .preview-stat-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.65);
  }

  .preview-stat-value {
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: -0.02em;
  }

  .preview-stat-change {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
  }

  .preview-stat-change.positive {
    background: rgba(134, 239, 172, 0.12);
    color: #86efac;
  }

  .preview-stat-badge {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(251, 191, 36, 0.12);
    color: #fbbf24;
  }

  .sparkline {
    width: 100%;
    height: 20px;
    margin-top: 2px;
  }

  /* === Chart === */
  .preview-chart {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: var(--space-4);
    flex: 1;
  }

  .chart-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
  }

  .chart-title {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
  }

  .chart-legend {
    display: flex;
    gap: var(--space-3);
    margin-left: auto;
  }

  .legend-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
  }

  .legend-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
  }

  .chart-period {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 4px;
  }

  .chart-visual {
    height: 100px;
  }

  .chart-line {
    width: 100%;
    height: 100%;
  }

  .chart-path {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: drawLine 2s ease forwards;
    animation-delay: 1s;
  }

  .chart-path-secondary {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: drawLine 2.5s ease forwards;
    animation-delay: 1.3s;
  }

  @keyframes drawLine {
    to { stroke-dashoffset: 0; }
  }

  /* === Activity Feed === */
  .preview-activity {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    overflow: hidden;
  }

  .activity-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    font-size: 11px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }

  .activity-item:last-child { border-bottom: none; }

  .activity-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
  }

  .activity-dot.success { background: #86efac; }
  .activity-dot.primary { background: #a5b4fc; }

  .activity-text {
    flex: 1;
    color: rgba(255, 255, 255, 0.65);
  }

  .activity-text strong {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
  }

  .activity-time {
    color: rgba(255, 255, 255, 0.6);
    font-size: 10px;
    flex-shrink: 0;
  }

  @media (max-width: 768px) {
    .preview-stats { grid-template-columns: 1fr; }
    .preview-tabs { display: none; }
    .preview-sidebar { display: none; }
    .preview-url-bar { display: none; }
  }

  @media (max-width: 1024px) {
    .preview-sidebar { display: none; }
  }

  /* === Tech Strip === */
  .logo-cloud {
    padding: var(--space-12) 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
  }

  .logo-cloud-label {
    text-align: center;
    font-size: var(--text-sm);
    color: var(--text-quaternary);
    margin-bottom: var(--space-8);
  }

  .tech-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-8);
    flex-wrap: wrap;
  }

  .tech-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--text-tertiary);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    transition: color var(--duration-fast);
  }

  .tech-item:hover {
    color: var(--text-primary);
  }

  .tech-divider {
    width: 1px;
    height: 20px;
    background: var(--border-subtle);
  }

  @media (max-width: 640px) {
    .tech-strip { gap: var(--space-4); }
    .tech-divider { display: none; }
  }

  /* === Value Icon === */
  .value-icon-wrap {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.15);
    border-radius: var(--radius-lg);
    color: var(--brand-primary);
    margin-bottom: var(--space-4);
  }

  /* === Code Section === */
  .code-section {
    background: var(--surface-1);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
  }

  .code-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
  }

  .code-grid > * {
    min-width: 0;
  }

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

  .code-content .section-badge { margin-bottom: var(--space-4); }
  .code-content .section-title { text-align: left; margin-bottom: var(--space-4); }
  .code-content .section-subtitle { text-align: left; margin: 0 0 var(--space-6); }

  .code-features {
    margin-bottom: var(--space-8);
  }

  .code-feature {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2) 0;
    color: var(--text-secondary);
  }

  .code-feature svg {
    color: var(--success);
  }

  .code-window {
    background: #0d1117;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    min-width: 0;
    max-width: 100%;
  }

  .code-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-6);
    background: #161b22;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .code-dots {
    display: flex;
    gap: var(--space-2);
  }

  .code-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
  }

  .code-dots span:nth-child(1) { background: #EF4444; }
  .code-dots span:nth-child(2) { background: #F59E0B; }
  .code-dots span:nth-child(3) { background: #22C55E; }

  .code-tabs {
    display: flex;
    gap: var(--space-2);
  }

  .code-tab {
    padding: var(--space-1) var(--space-3);
    font-size: var(--text-xs);
    color: #8b949e;
    background: transparent;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--duration-fast);
  }

  .code-tab.active {
    background: rgba(99, 102, 241, 0.2);
    color: #c9d1d9;
  }

  .code-panel {
    display: flex;
    min-width: 0;
    overflow: hidden;
    width: 100%;
    flex-shrink: 1;
  }

  .code-panel:not(.active) {
    display: none;
  }

  .code-body {
    padding: var(--space-6);
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 14px;
    line-height: 1.7;
    overflow: hidden;
  }

  .code-comment { color: #9ca3af; }
  .code-keyword { color: #ff7b72; }
  .code-string { color: #a5d6ff; }
  .code-function { color: #d2a8ff; }

  .code-body-wrap {
    display: flex;
    position: relative;
    overflow: hidden;
    height: 420px;
    width: 100%;
  }

  .line-numbers {
    display: flex;
    flex-direction: column;
    padding: var(--space-6) 0;
    padding-left: var(--space-4);
    padding-right: var(--space-3);
    text-align: right;
    user-select: none;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
  }

  .line-numbers span {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 13px;
    line-height: 1.7;
    color: rgba(139, 148, 158, 0.4);
  }

  .code-copy-btn {
    position: absolute;
    bottom: var(--space-4);
    right: var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-xs);
    font-family: var(--font-sans);
    font-weight: var(--font-medium);
    color: #8b949e;
    background: rgba(13, 17, 23, 0.8);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--duration-fast);
    opacity: 0;
    pointer-events: none;
    z-index: 10;
  }

  .code-copy-btn svg {
    width: 14px;
    height: 14px;
  }

  .code-window {
    position: relative;
  }

  .code-window:hover .code-copy-btn {
    opacity: 1;
    pointer-events: auto;
  }

  .code-copy-btn:hover {
    background: rgba(99, 102, 241, 0.2);
    color: #c9d1d9;
    border-color: rgba(99, 102, 241, 0.4);
  }

  /* === Bento Features === */
  .features-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
  }

  .bento-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-2xl);
    padding: var(--space-6);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 24px -1px rgba(0, 0, 0, 0.2);
  }

  .bento-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow:
      0 12px 32px -4px rgba(99, 102, 241, 0.2),
      0 0 60px -8px rgba(139, 92, 246, 0.12);
    transform: translateY(-6px);
  }

  .bento-large {
    grid-column: span 2;
    grid-row: span 2;
    padding: var(--space-8);
  }

  .bento-wide {
    grid-column: span 3;
  }

  @media (max-width: 1024px) {
    .features-bento { grid-template-columns: repeat(2, 1fr); }
    .bento-large { grid-column: span 2; grid-row: span 1; }
  }

  @media (max-width: 640px) {
    .features-bento { grid-template-columns: 1fr; }
    .bento-large, .bento-wide { grid-column: span 1; }
  }

  .bento-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-gradient);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-5);
    color: white;
  }

  .bento-icon-sm {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.15);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-4);
    color: var(--brand-primary);
  }

  .bento-title {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-3);
    color: var(--text-primary);
  }

  .bento-title-sm {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-2);
    color: var(--text-primary);
  }

  .bento-desc {
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-6);
  }

  .bento-desc-sm {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
  }

  .bento-visual {
    margin-top: auto;
  }

  .security-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 160px;
  }

  .lock-icon {
    position: relative;
    z-index: 2;
    color: var(--brand-primary);
  }

  .security-rings {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .ring {
    position: absolute;
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50%;
    animation: ringPulse 3s ease-out infinite;
  }

  .ring:nth-child(1) { width: 80px; height: 80px; }
  .ring:nth-child(2) { width: 120px; height: 120px; animation-delay: 0.5s; }
  .ring:nth-child(3) { width: 160px; height: 160px; animation-delay: 1s; }

  @keyframes ringPulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
  }

  .bento-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
  }

  .bento-badges {
    display: flex;
    gap: var(--space-2);
  }

  .mini-badge {
    padding: var(--space-1) var(--space-2);
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
    background: rgba(99, 102, 241, 0.15);
    color: var(--brand-primary);
    border-radius: var(--radius-md);
  }

  /* === Pricing === */
  .pricing-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-4);
    align-items: stretch;
  }

  @media (max-width: 1280px) {
    .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  }

  @media (max-width: 768px) {
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  }

  .tier-badge {
    display: inline-block;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 6px;
    margin-bottom: var(--space-3);
  }

  .tier-free { background: #22c55e; color: #052e16; }
  .tier-starter { background: #818cf8; color: #1e1b4b; }
  .tier-pro { background: #a78bfa; color: #2e1065; }
  .tier-business { background: #fbbf24; color: #451a03; }
  .tier-enterprise { background: #f472b6; color: #500724; }

  /* === Billing Toggle === */
  .billing-toggle-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    margin-bottom: var(--space-8);
  }

  .billing-label {
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--text-tertiary);
    transition: color 0.2s;
  }

  .billing-label.active, .billing-label:first-child {
    color: var(--text-primary);
  }

  .billing-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    cursor: pointer;
  }

  .billing-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
  }

  .billing-slider {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--surface-3);
    border-radius: var(--radius-full);
    transition: background 0.3s;
  }

  .billing-slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s;
  }

  .billing-toggle input:checked + .billing-slider {
    background: var(--brand-primary);
  }

  .billing-toggle input:checked + .billing-slider::before {
    transform: translateX(20px);
  }

  .save-badge {
    font-size: var(--text-xs);
    padding: 2px 6px;
    background: #22c55e;
    color: #052e16;
    border-radius: var(--radius-full);
    margin-left: 4px;
  }

  .pricing-card {
    padding: var(--space-8);
    text-align: center;
    border-radius: var(--radius-2xl);
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 24px -1px rgba(0, 0, 0, 0.2);
    overflow: hidden;
  }

  .pricing-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 12px 32px -4px rgba(99, 102, 241, 0.15);
    transform: translateY(-4px);
  }

  .pricing-card .btn {
    margin-top: auto;
  }

  .pricing-card.featured {
    position: relative;
    border: 2px solid var(--brand-primary);
    background: rgba(99, 102, 241, 0.05);
    box-shadow: var(--shadow-glow-md);
    transform: scale(1.05);
    padding-top: calc(var(--space-8) + 20px);
  }

  .pricing-card.featured:hover {
    transform: scale(1.05) translateY(-4px);
    box-shadow: 0 16px 40px -4px rgba(99, 102, 241, 0.25);
  }

  .featured-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: var(--space-1) var(--space-4);
    background: var(--brand-gradient);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
    color: white;
  }

  .pricing-header {
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--border-subtle);
  }

  .plan-name {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-2);
  }

  .plan-price {
    margin-bottom: var(--space-2);
  }

  .price-amount {
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    color: var(--text-primary);
  }

  .price-period {
    font-size: var(--text-base);
    color: var(--text-tertiary);
  }

  .plan-desc {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
  }

  .plan-features {
    list-style: none;
    text-align: left;
    margin-bottom: var(--space-8);
  }

  .plan-features li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2) 0;
    font-size: var(--text-sm);
    color: var(--text-secondary);
  }

  /* === CTA === */
  .cta-section {
    padding: var(--space-8) 0 var(--space-24);
  }

  .cta-card {
    position: relative;
    text-align: center;
    padding: var(--space-16) var(--space-8);
    background: var(--surface-1);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-3xl);
    overflow: hidden;
  }

  .cta-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.2), transparent 70%);
    pointer-events: none;
  }

  .cta-title {
    position: relative;
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-4);
  }

  .cta-desc {
    position: relative;
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .cta-buttons {
    position: relative;
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-6);
  }

  .cta-note {
    position: relative;
    font-size: var(--text-sm);
    color: var(--text-tertiary);
  }

  /* Friction reducer trust lines */
  .hero-trust-line,
  .cta-trust-line {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
    margin-top: var(--space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    flex-wrap: wrap;
  }
  .trust-check {
    color: #22c55e;
    font-weight: 700;
    font-size: 14px;
  }
  .trust-sep {
    color: var(--border-subtle);
    margin: 0 var(--space-1);
  }
  .cta-trust-line {
    position: relative;
    margin-top: var(--space-6);
  }

  /* === FAQ Section === */
  .faq-section {
    padding: var(--space-16) 0;
  }

  .faq-list {
    max-width: 720px;
    margin: var(--space-8) auto 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
  }

  .faq-item {
    background: var(--surface-1);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
  }

  .faq-item:hover {
    border-color: var(--brand-primary);
  }

  .faq-item[open] {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.1), 0 4px 20px rgba(99, 102, 241, 0.06);
  }

  .faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-5) var(--space-6);
    cursor: pointer;
    font-weight: 600;
    font-size: var(--text-base);
    color: var(--text-primary);
    list-style: none;
    user-select: none;
    transition: color 0.2s;
  }
  .faq-question::-webkit-details-marker { display: none; }
  .faq-question::marker { display: none; content: ''; }

  .faq-question:hover {
    color: var(--brand-primary);
  }

  .faq-chevron {
    flex-shrink: 0;
    transition: transform 0.25s ease;
    opacity: 0.5;
  }

  .faq-item[open] .faq-chevron {
    transform: rotate(180deg);
    opacity: 1;
    color: var(--brand-primary);
  }

  .faq-answer {
    padding: 0 var(--space-6) var(--space-5);
    animation: faqFadeIn 0.25s ease;
  }

  .faq-answer p {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    line-height: 1.7;
    margin: 0;
  }

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

  /* === How It Works === */
  .how-it-works-section {
    background: var(--surface-1);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
  }

  .steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: var(--space-2);
  }

  .step-card {
    flex: 1;
    max-width: 320px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 24px -1px rgba(0, 0, 0, 0.2);
  }

  .step-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 12px 32px -4px rgba(99, 102, 241, 0.15);
    transform: translateY(-4px);
  }

  .step-number {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-gradient);
    border-radius: 50%;
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    color: white;
    margin: 0 auto var(--space-5);
  }

  .step-title {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--text-primary);
    margin-bottom: var(--space-3);
  }

  .step-desc {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
  }

  .step-connector {
    display: flex;
    align-items: center;
    padding-top: var(--space-10);
    flex-shrink: 0;
  }

  .connector-animated {
    animation: flowDash 1.5s linear infinite;
  }

  @keyframes flowDash {
    to { stroke-dashoffset: -20; }
  }

  @media (max-width: 768px) {
    .steps-grid {
      flex-direction: column;
      align-items: center;
    }
    .step-connector {
      transform: rotate(90deg);
      padding-top: 0;
    }
  }

  /* === Integrations === */
  .integrations-section {
    background: var(--surface-1);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
  }

  .integrations-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-4);
  }

  @media (max-width: 1024px) {
    .integrations-grid { grid-template-columns: repeat(3, 1fr); }
  }

  @media (max-width: 640px) {
    .integrations-grid { grid-template-columns: repeat(2, 1fr); }
  }

  .integration-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-6) var(--space-4);
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-2xl);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    box-shadow: 0 4px 24px -1px rgba(0, 0, 0, 0.2);
  }

  .integration-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 12px 32px -4px rgba(99, 102, 241, 0.15);
    transform: translateY(-4px);
  }

  .integration-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-xl);
    color: var(--brand-primary);
    margin-bottom: var(--space-1);
  }

  .integration-name {
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    color: var(--text-primary);
  }

  .integration-desc {
    font-size: var(--text-xs);
    color: var(--text-tertiary);
  }

  /* === Trust Section === */
  .trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
    margin-bottom: var(--space-12);
  }

  @media (max-width: 1024px) {
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
  }

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

  .trust-badge-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-8) var(--space-4);
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-2xl);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 24px -1px rgba(0, 0, 0, 0.2);
  }

  .trust-badge-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 12px 32px -4px rgba(99, 102, 241, 0.15);
    transform: translateY(-4px);
  }

  .trust-badge-card svg {
    color: var(--brand-primary);
  }

  .trust-badge-label {
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    color: var(--text-primary);
  }

  .trust-badge-status {
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: #86efac;
    padding: var(--space-1) var(--space-3);
    background: rgba(34, 197, 94, 0.1);
    border-radius: var(--radius-full);
  }

  .use-cases {
    text-align: center;
    padding: var(--space-8) 0 0;
    border-top: 1px solid var(--border-subtle);
  }

  .use-cases-label {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: var(--font-medium);
    margin-bottom: var(--space-4);
  }

  .use-cases-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-3);
  }

  .use-case-tag {
    padding: var(--space-2) var(--space-4);
    background: var(--surface-1);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    color: var(--text-secondary);
    font-weight: var(--font-medium);
    transition: all var(--duration-fast);
  }

  .use-case-tag:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
  }

  /* === Demo Showcase Section === */
  .demo-section {
    padding: var(--space-16) 0;
  }
  .demo-section .section-subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    max-width: 640px;
    line-height: 1.7;
    letter-spacing: -0.01em;
  }
  .demo-container {
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border-subtle);
    background: var(--surface-1);
    overflow: hidden;
    box-shadow: 0 8px 40px -12px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.03);
    position: relative;
  }
  .demo-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--border-subtle);
    background: var(--surface-2);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .demo-tabs::-webkit-scrollbar { display: none; }
  .demo-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all var(--duration-fast);
    white-space: nowrap;
    flex: 1;
    justify-content: center;
  }
  .demo-tab:hover {
    color: var(--text-primary);
    background: var(--surface-3);
  }
  .demo-tab.active {
    color: var(--brand-primary);
    border-bottom-color: var(--brand-primary);
    background: var(--surface-1);
  }
  .demo-tab svg { opacity: 0.6; }
  .demo-tab.active svg { opacity: 1; }



  .demo-viewport {
    position: relative;
    min-height: 420px;
  }
  .demo-browser-chrome {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: var(--surface-2);
    border-bottom: 1px solid var(--border-subtle);
  }
  .demo-browser-dots {
    display: flex;
    gap: 6px;
  }
  .demo-browser-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
  }
  .demo-browser-dots span:nth-child(1) { background: #ff5f57; }
  .demo-browser-dots span:nth-child(2) { background: #febc2e; }
  .demo-browser-dots span:nth-child(3) { background: #28c840; }
  .demo-browser-url {
    flex: 1;
    font-size: 0.72rem;
    font-family: 'SF Mono', 'Fira Code', monospace;
    color: var(--text-tertiary);
    background: var(--surface-1);
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
  }

  .demo-scene {
    display: none;
    padding: 24px;
    animation: demoFadeIn 0.4s ease-out;
  }
  .demo-scene.active { display: block; }
  @keyframes demoFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* Scene 0: Dashboard */
  .demo-dashboard {
    display: flex;
    gap: 0;
    min-height: 340px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
  }
  .demo-sidebar {
    width: 180px;
    background: var(--surface-2);
    padding: 16px 0;
    border-right: 1px solid var(--border-subtle);
    flex-shrink: 0;
  }
  .demo-sidebar-logo {
    display: flex;
    align-items: center;
    padding: 0 20px 16px;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 8px;
  }
  .demo-sidebar-logo svg {
    width: 24px;
    height: 24px;
  }
  .demo-sidebar-item {
    padding: 10px 20px;
    font-size: 0.82rem;
    color: var(--text-secondary);
    cursor: default;
    transition: all var(--duration-fast);
  }
  .demo-sidebar-item.active {
    color: var(--brand-primary);
    background: linear-gradient(90deg, rgba(99,102,241,0.1), transparent);
    border-left: 3px solid var(--brand-primary);
  }
  .demo-main {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .demo-stat-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
  .demo-stat {
    background: var(--surface-2);
    border-radius: var(--radius-md);
    padding: 16px;
    border: 1px solid var(--border-subtle);
  }
  .demo-stat-val {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
  }
  .demo-stat-lbl {
    font-size: 0.72rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  .demo-stat-healthy .demo-stat-val {
    color: #22c55e;
  }
  .demo-chart-area {
    flex: 1;
    background: var(--surface-2);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    padding: 16px;
  }
  .demo-chart-label {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-weight: 500;
  }
  .demo-chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 120px;
  }
  .demo-bar {
    flex: 1;
    height: var(--h, 50%);
    background: linear-gradient(to top, var(--brand-primary), var(--brand-secondary, #818cf8));
    border-radius: 3px 3px 0 0;
    opacity: 0;
  }
  @keyframes demoBarGrow {
    from { height: 0; opacity: 0; }
    to { height: var(--h, 50%); opacity: 1; }
  }

  /* Scene 1: License Create */
  .demo-license-create {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 340px;
    background: rgba(0,0,0,0.05);
    border-radius: var(--radius-lg);
  }
  [data-theme="dark"] .demo-license-create {
    background: rgba(255,255,255,0.02);
  }
  .demo-modal {
    background: var(--surface-1);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    padding: 28px;
    width: 420px;
    max-width: 100%;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  }
  .demo-modal-header {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
  }
  .demo-form-group {
    margin-bottom: 14px;
  }
  .demo-form-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
  }
  .demo-input, .demo-select {
    width: 100%;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
    background: var(--surface-2);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-family: inherit;
    min-height: 38px;
    box-sizing: border-box;
  }
  .demo-type-anim {
    border-right: 2px solid var(--brand-primary);
    animation: demoBlink 0.8s infinite;
  }
  @keyframes demoBlink {
    50% { border-right-color: transparent; }
  }
  .demo-btn-row {
    display: flex;
    gap: 10px;
    margin-top: 16px;
  }
  .demo-btn-primary, .demo-btn-secondary {
    padding: 9px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: default;
    text-align: center;
  }
  .demo-btn-primary {
    background: var(--brand-primary);
    color: white;
    flex: 1;
  }
  .demo-btn-secondary {
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    background: var(--surface-2);
  }
  .demo-pulse-btn {
    animation: demoPulse 2s ease-in-out infinite;
  }
  @keyframes demoPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(99,102,241,0.4); }
    50% { box-shadow: 0 0 0 8px rgba(99,102,241,0); }
  }
  .demo-license-result {
    margin-top: 16px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(34,197,94,0.08));
    border: 1px solid rgba(34,197,94,0.3);
    border-radius: var(--radius-md);
    text-align: center;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.5s ease-out;
  }
  .demo-license-result.show {
    opacity: 1;
    transform: translateY(0);
  }
  .demo-result-label {
    font-size: 0.72rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
  }
  .demo-license-key {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--brand-primary);
    letter-spacing: 0.08em;
  }
  .demo-result-badge {
    margin-top: 8px;
    font-size: 0.75rem;
    color: #22c55e;
    font-weight: 500;
  }

  /* Scene 2: Domain Binding */
  .demo-domain-binding {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 340px;
  }
  .demo-license-card {
    background: var(--surface-1);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    padding: 28px;
    width: 520px;
    max-width: 100%;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  }
  .demo-lc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
  }
  .demo-lc-key {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
  }
  .demo-lc-badge-active {
    font-size: 0.72rem;
    padding: 3px 10px;
    border-radius: 99px;
    background: rgba(34,197,94,0.12);
    color: #22c55e;
    font-weight: 600;
  }
  .demo-lc-meta {
    font-size: 0.78rem;
    color: var(--text-tertiary);
    margin-bottom: 20px;
  }
  .demo-domain-add {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
  }
  .demo-domain-input {
    flex: 1;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
    background: var(--surface-2);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-family: 'SF Mono', 'Fira Code', monospace;
    min-height: 38px;
    box-sizing: border-box;
  }
  .demo-btn-primary.demo-small {
    padding: 9px 14px;
    font-size: 0.8rem;
    flex-shrink: 0;
  }
  .demo-domain-list {
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.5s ease-out;
  }
  .demo-domain-list.show {
    opacity: 1;
    transform: translateY(0);
  }
  .demo-domain-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: var(--radius-sm);
    background: rgba(34,197,94,0.06);
    border: 1px solid rgba(34,197,94,0.2);
  }
  .demo-domain-check {
    color: #22c55e;
    font-weight: 700;
    font-size: 1rem;
  }
  .demo-domain-name {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.85rem;
    color: var(--text-primary);
    flex: 1;
  }
  .demo-domain-verified {
    font-size: 0.72rem;
    font-weight: 600;
    color: #22c55e;
    padding: 2px 8px;
    border-radius: 99px;
    background: rgba(34,197,94,0.1);
  }

  /* Scene 3: API Integration */
  .demo-api-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    min-height: 340px;
  }
  .demo-code-panel, .demo-response-panel {
    background: #1e1e2e;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
  }
  .demo-code-title {
    padding: 10px 16px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #888;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-family: 'SF Mono', 'Fira Code', monospace;
  }
  .demo-latency {
    color: #22c55e;
    font-weight: 600;
  }
  .demo-code {
    padding: 16px;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.78rem;
    line-height: 1.7;
    color: #cdd6f4;
    margin: 0;
    overflow-x: auto;
  }
  .demo-c-kw { color: #cba6f7; }
  .demo-c-str { color: #a6e3a1; }
  .demo-c-fn { color: #89b4fa; }
  .demo-c-key { color: #89b4fa; }
  .demo-c-bool { color: #fab387; }

  /* Scene 4: Analytics */
  .demo-analytics {
    min-height: 340px;
  }
  .demo-analytics-header {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
  }
  .demo-a-stat {
    background: var(--surface-2);
    border-radius: var(--radius-md);
    padding: 16px;
    border: 1px solid var(--border-subtle);
    text-align: center;
  }
  .demo-a-val {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
  }
  .demo-a-lbl {
    font-size: 0.72rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
  }
  .demo-analytics-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .demo-donut-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background: var(--surface-2);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    padding: 24px;
  }
  .demo-donut {
    width: 160px;
    height: 160px;
  }
  .demo-donut-label {
    position: absolute;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
  }
  .demo-top-domains {
    background: var(--surface-2);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    padding: 20px;
  }
  .demo-td-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
  }
  .demo-td-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.82rem;
    color: var(--text-secondary);
  }
  .demo-td-row:last-child { border-bottom: none; }
  .demo-td-count {
    font-weight: 600;
    font-family: 'SF Mono', 'Fira Code', monospace;
    color: var(--text-primary);
    font-size: 0.78rem;
  }

  /* Demo CTA */
  .demo-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    padding: 24px;
  }

  /* Demo responsive */
  @media (max-width: 768px) {
    .demo-tab span { display: none; }
    .demo-tab { padding: 12px 14px; }
    .demo-sidebar { display: none; }
    .demo-stat-row { grid-template-columns: repeat(2, 1fr); }
    .demo-analytics-header { grid-template-columns: repeat(2, 1fr); }
    .demo-api-split { grid-template-columns: 1fr; }
    .demo-analytics-body { grid-template-columns: 1fr; }
    .demo-modal { padding: 20px; }
    .demo-scene { padding: 16px; }
  }

  /* === CTA Button Shimmer + Glow === */
  .btn-primary {
    position: relative;
    overflow: hidden;
  }

  .btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
      90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.15) 50%,
      transparent 100%
    );
    transform: skewX(-20deg);
    transition: none;
  }

  .btn-primary:hover::after {
    animation: btnShimmer 0.8s ease forwards;
  }

  @keyframes btnShimmer {
    from { left: -100%; }
    to { left: 150%; }
  }

  .btn-primary:active {
    transform: scale(0.97) !important;
    transition: transform 0.1s ease;
  }

  .btn-glow {
    animation: btnGlow 3s ease-in-out infinite alternate;
  }

  @keyframes btnGlow {
    0% { box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3); }
    100% { box-shadow: 0 4px 30px rgba(99, 102, 241, 0.5), 0 0 60px rgba(139, 92, 246, 0.15); }
  }

  /* === Pricing Card Hover Shine === */
  .pricing-card {
    position: relative;
    overflow: hidden;
  }

  .pricing-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
      135deg,
      transparent 40%,
      rgba(255, 255, 255, 0.03) 45%,
      rgba(255, 255, 255, 0.08) 50%,
      rgba(255, 255, 255, 0.03) 55%,
      transparent 60%
    );
    transform: translateX(-100%) translateY(-100%);
    transition: none;
    pointer-events: none;
  }

  .pricing-card:hover::after {
    animation: cardShine 0.6s ease forwards;
  }

  @keyframes cardShine {
    from { transform: translateX(-100%) translateY(-100%); }
    to { transform: translateX(50%) translateY(50%); }
  }

  /* === Trust Badge Pulse on Reveal === */
  .trust-badge-card svg {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .trust-badge-card.visible svg,
  .trust-badge-card:hover svg {
    animation: badgePulse 0.6s ease;
  }

  @keyframes badgePulse {
    0% { transform: scale(1); }
    40% { transform: scale(1.2); }
    100% { transform: scale(1); }
  }

  .trust-badge-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .trust-badge-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 8px 24px -4px rgba(99, 102, 241, 0.15);
    transform: translateY(-4px);
  }

  /* === Step Number Glow Pulse === */
  .step-number {
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
    animation: stepGlow 3s ease-in-out infinite;
  }

  @keyframes stepGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
    50% { box-shadow: 0 0 20px 4px rgba(99, 102, 241, 0.25); }
  }

  /* === Use Case Tag Stagger === */
  .use-case-tag {
    transition: all 0.3s ease;
  }

  .use-case-tag:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
    color: var(--brand-primary);
    transform: translateY(-2px);
  }

  /* === Dark Mode Particle Adaptation === */
  [data-theme="dark"] .particle {
    background: rgba(165, 180, 252, 0.6);
    box-shadow: 0 0 8px 3px rgba(165, 180, 252, 0.4);
  }

  [data-theme="dark"] .particle:nth-child(2),
  [data-theme="dark"] .particle:nth-child(6) {
    background: rgba(196, 181, 253, 0.5);
    box-shadow: 0 0 8px 3px rgba(196, 181, 253, 0.35);
  }

  [data-theme="dark"] .particle:nth-child(4),
  [data-theme="dark"] .particle:nth-child(8) {
    background: rgba(232, 121, 249, 0.4);
    box-shadow: 0 0 8px 3px rgba(232, 121, 249, 0.3);
  }

  [data-theme="dark"] .particle:nth-child(10) {
    background: rgba(244, 114, 182, 0.4);
    box-shadow: 0 0 8px 3px rgba(244, 114, 182, 0.3);
  }

  [data-theme="dark"] .dashboard-float::before {
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.1) 40%, transparent 70%);
  }

  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .particle {
      background: rgba(165, 180, 252, 0.6);
      box-shadow: 0 0 8px 3px rgba(165, 180, 252, 0.4);
    }
  }

  /* === Typing Cursor Animation === */
  .typing-cursor {
    display: inline-block;
    width: 2px;
    height: 1.1em;
    background: #6366f1;
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: cursorBlink 1s step-end infinite;
  }
  @keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
  }

  /* Hero stats fade-in */
  .hero-stats {
    animation: fadeInUp 0.8s ease-out 0.6s both;
  }

  /* Live sandbox animations */
  @keyframes livePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
  }
  @keyframes spin {
    to { transform: rotate(360deg); }
  }
  .demo-c-num { color: #f59e0b; }
  #sandbox-key, #sandbox-domain {
    width: 100%;
    box-sizing: border-box;
  }
  #sandbox-run:active {
    transform: scale(0.98) !important;
  }
