    /* ═══════════════════════════════════════════════════════════════
       VISO Landing Page - Dark Amethyst Theme
       ═══════════════════════════════════════════════════════════════ */

    :root {
      /* Background */
      --viso-black: #05010a;
      --viso-bg: #10002B;
      --viso-bg-elevated: #1a0038;

      /* Primary Accent Scale */
      --viso-accent-dark: #5A189A;
      --viso-accent: #9D4EDD;
      --viso-accent-light: #C77DFF;
      --viso-accent-glow: rgba(157, 78, 221, 0.3);

      /* Text */
      --viso-text: #ffffff;
      --viso-text-muted: #E0AAFF;
      --viso-text-subtle: rgba(224, 170, 255, 0.6);

      /* Semantic */
      --viso-success: #22c55e;
      --viso-warning: #f59e0b;
      --viso-error: #ef4444;
      --viso-love: #ff6b9d;

      /* Glass */
      --viso-glass-bg: rgba(16, 0, 43, 0.6);
      --viso-glass-border: rgba(157, 78, 221, 0.2);
      --viso-glass-glow: rgba(199, 125, 255, 0.1);

      /* Spacing */
      --space-xs: 4px;
      --space-sm: 8px;
      --space-md: 16px;
      --space-lg: 24px;
      --space-xl: 32px;
      --space-2xl: 48px;
      --space-3xl: 64px;
      --space-4xl: 96px;

      /* Border Radius */
      --radius-sm: 6px;
      --radius-md: 12px;
      --radius-lg: 16px;
      --radius-xl: 24px;
      --radius-pill: 100px;

      /* Transitions */
      --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
      --ease-smooth: cubic-bezier(0.32, 0.72, 0, 1);
      --duration-fast: 0.15s;
      --duration-normal: 0.25s;
      --duration-slow: 0.4s;
    }

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

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      background: var(--viso-black);
      color: var(--viso-text);
      line-height: 1.6;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }

    /* ═══════════════════════════════════════════════════════════════
       AURORA BACKGROUND
       ═══════════════════════════════════════════════════════════════ */

    .viso-aurora {
      position: fixed;
      inset: 0;
      overflow: hidden;
      z-index: 0;
      /* Darker background so canvas waves are more visible */
      background: var(--viso-black);
    }

    /* Hide CSS blobs - using Three.js fabric waves instead */
    .viso-aurora__blob {
      display: none;
    }

    @keyframes aurora-move {
      0%, 100% { transform: translate(0, 0) scale(1); }
      33% { transform: translate(40px, 20px) scale(1.05); }
      66% { transform: translate(-30px, 40px) scale(0.98); }
    }

    /* ═══════════════════════════════════════════════════════════════
       THREE.JS CANVAS
       ═══════════════════════════════════════════════════════════════ */

    #webgl {
      position: fixed;
      inset: 0;
      z-index: 1;
      pointer-events: none;
    }

    /* ═══════════════════════════════════════════════════════════════
       SCROLL CONTAINER
       ═══════════════════════════════════════════════════════════════ */

    .scroll-container {
      position: relative;
      z-index: 2;
    }

    .section {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      padding: var(--space-3xl) var(--space-lg);
      position: relative;
    }

    /* Compact sections - don't need full viewport height */
    .section.features,
    .section.pricing,
    .section.cta {
      min-height: auto;
      padding: var(--space-2xl) var(--space-lg);
    }

    @media (max-width: 768px) {
      .section {
        min-height: auto;
        padding: var(--space-2xl) var(--space-md);
      }
    }

    .container {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
    }

    /* ═══════════════════════════════════════════════════════════════
       TYPOGRAPHY
       ═══════════════════════════════════════════════════════════════ */

    .badge {
      display: inline-flex;
      align-items: center;
      gap: var(--space-sm);
      padding: var(--space-sm) var(--space-md);
      background: var(--viso-glass-bg);
      border: 1px solid var(--viso-glass-border);
      border-radius: var(--radius-pill);
      font-size: 12px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--viso-text-muted);
      backdrop-filter: blur(12px);
    }

    .badge__dot {
      width: 8px;
      height: 8px;
      background: var(--viso-accent);
      border-radius: 50%;
      animation: pulse 2s ease-in-out infinite;
    }

    @keyframes pulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.5; transform: scale(1.2); }
    }

    .headline {
      font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
      font-size: clamp(48px, 8vw, 96px);
      font-weight: 700;
      line-height: 1.1;
      letter-spacing: -0.03em;
      background: linear-gradient(135deg, var(--viso-accent-light) 0%, var(--viso-text) 50%, var(--viso-accent-light) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .headline--accent {
      background: linear-gradient(135deg, var(--viso-accent-light) 0%, var(--viso-accent) 50%, var(--viso-accent-dark) 100%);
      -webkit-background-clip: text;
      background-clip: text;
    }

    .subheadline {
      font-size: clamp(18px, 2.5vw, 24px);
      color: var(--viso-text);
      max-width: 600px;
      line-height: 1.6;
    }

    .section-title {
      font-size: clamp(32px, 5vw, 48px);
      font-weight: 700;
      letter-spacing: -0.02em;
      margin-bottom: var(--space-md);
      color: var(--viso-accent-light);
    }

    .section-subtitle {
      font-size: 18px;
      color: var(--viso-text);
      max-width: 500px;
      text-align: center;
      margin-left: auto;
      margin-right: auto;
    }

    /* ═══════════════════════════════════════════════════════════════
       BUTTONS
       ═══════════════════════════════════════════════════════════════ */

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: var(--space-sm);
      padding: var(--space-md) var(--space-xl);
      border: none;
      border-radius: var(--radius-pill);
      font-family: inherit;
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
      transition: all var(--duration-normal) var(--ease-spring);
      text-decoration: none;
      position: relative;
      overflow: hidden;
    }

    .btn--primary {
      background: linear-gradient(135deg, var(--viso-accent-dark) 0%, var(--viso-accent) 100%);
      color: var(--viso-text);
      box-shadow: 0 4px 20px var(--viso-accent-glow), 0 0 0 0 var(--viso-accent-glow);
    }

    .btn--primary:hover {
      transform: translateY(-2px) scale(1.02);
      box-shadow: 0 8px 30px var(--viso-accent-glow), 0 0 40px var(--viso-accent-glow);
    }

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

    /* Shimmer effect */
    .btn--primary::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(
        105deg,
        transparent 20%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 80%
      );
      transform: translateX(-100%);
      border-radius: inherit;
    }

    .btn--primary:hover::before {
      animation: shimmer 0.8s ease forwards;
    }

    @keyframes shimmer {
      to { transform: translateX(100%); }
    }

    .btn--secondary {
      background: var(--viso-glass-bg);
      color: var(--viso-text);
      border: 1px solid var(--viso-glass-border);
      backdrop-filter: blur(12px);
    }

    .btn--secondary:hover {
      background: rgba(157, 78, 221, 0.15);
      border-color: var(--viso-accent);
      transform: translateY(-2px);
    }

    .btn--large {
      padding: var(--space-lg) var(--space-2xl);
      font-size: 18px;
    }

    .btn-group {
      display: flex;
      flex-wrap: wrap;
      gap: var(--space-md);
    }

    /* ═══════════════════════════════════════════════════════════════
       CARDS
       ═══════════════════════════════════════════════════════════════ */

    .glass-card {
      background: var(--viso-glass-bg);
      border: 1px solid var(--viso-glass-border);
      border-radius: var(--radius-lg);
      padding: var(--space-xl);
      backdrop-filter: blur(16px);
      transition: all var(--duration-normal) var(--ease-spring);
    }

    .glass-card {
      cursor: default;
    }

    .glass-card:hover {
      background: rgba(26, 0, 56, 0.7);
      border-color: rgba(157, 78, 221, 0.4);
      transform: translateY(-4px);
      box-shadow: 0 16px 48px rgba(5, 1, 10, 0.5), 0 0 40px rgba(157, 78, 221, 0.15);
    }

    /* Clickable cards */
    .pricing-card {
      cursor: pointer;
    }

    /* ═══════════════════════════════════════════════════════════════
       HERO SECTION
       ═══════════════════════════════════════════════════════════════ */

    .hero {
      text-align: center;
      padding-top: var(--space-4xl);
    }

    .hero__content {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: var(--space-lg);
      opacity: 0;
      transform: translateY(30px);
    }

    .hero__visual {
      position: relative;
      width: 100%;
      max-width: 400px;
      margin: var(--space-3xl) auto 0 auto;
    }

    .hero__phone {
      position: relative;
      width: 280px;
      height: 560px;
      margin: 0 auto;
      background: linear-gradient(145deg, #1a1a2e 0%, #0a0a14 100%);
      border-radius: 40px;
      border: 3px solid rgba(157, 78, 221, 0.3);
      box-shadow:
        0 50px 100px rgba(5, 1, 10, 0.8),
        0 0 60px rgba(157, 78, 221, 0.2),
        inset 0 2px 10px rgba(255, 255, 255, 0.05);
      overflow: hidden;
      animation: float 6s ease-in-out infinite;
    }

    @keyframes float {
      0%, 100% { transform: translateY(0) rotateX(0); }
      50% { transform: translateY(-20px) rotateX(2deg); }
    }

    .hero__phone-screen {
      position: absolute;
      inset: 12px;
      background: var(--viso-bg);
      border-radius: 32px;
      overflow: hidden;
    }

    .hero__phone-notch {
      position: absolute;
      top: 8px;
      left: 50%;
      transform: translateX(-50%);
      width: 100px;
      height: 28px;
      background: #000;
      border-radius: 20px;
      z-index: 10;
    }

    .scroll-indicator {
      position: absolute;
      bottom: var(--space-xl);
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: var(--space-sm);
      color: var(--viso-text-muted);
      font-size: 12px;
      animation: bounce 2s ease-in-out infinite;
      text-decoration: none;
      cursor: pointer;
      transition: color 0.2s ease;
    }

    .scroll-indicator:hover {
      color: var(--viso-primary);
    }

    @keyframes bounce {
      0%, 100% { transform: translateX(-50%) translateY(0); }
      50% { transform: translateX(-50%) translateY(10px); }
    }

    .scroll-indicator__arrow {
      width: 24px;
      height: 24px;
      border: 2px solid currentColor;
      border-top: none;
      border-left: none;
      transform: rotate(45deg);
      opacity: 0.5;
    }

    /* Hero Metrics */
    .hero__metrics {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: var(--space-xl);
      padding: var(--space-lg) var(--space-xl);
      background: var(--viso-glass-bg);
      border: 1px solid var(--viso-glass-border);
      border-radius: var(--radius-xl);
      backdrop-filter: blur(16px);
      margin-top: var(--space-xl);
    }

    .hero__metric {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    .hero__metric-value {
      font-size: clamp(32px, 5vw, 48px);
      font-weight: 800;
      background: linear-gradient(135deg, var(--viso-accent-light) 0%, var(--viso-accent) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      line-height: 1;
    }

    .hero__metric-suffix {
      font-size: clamp(24px, 4vw, 36px);
      font-weight: 800;
      background: linear-gradient(135deg, var(--viso-accent-light) 0%, var(--viso-accent) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      line-height: 1;
    }

    .hero__metric-label {
      font-size: 13px;
      color: var(--viso-text-muted);
      margin-top: var(--space-xs);
      font-weight: 500;
    }

    .hero__metric-divider {
      width: 1px;
      height: 48px;
      background: var(--viso-glass-border);
    }

    @media (max-width: 768px) {
      .hero__metrics {
        flex-direction: column;
        gap: var(--space-md);
        padding: var(--space-lg);
      }

      .hero__metric-divider {
        width: 60px;
        height: 1px;
      }
    }

    /* ═══════════════════════════════════════════════════════════════
       TRUST BADGES SECTION
       ═══════════════════════════════════════════════════════════════ */

    .trust-badges {
      padding: var(--space-xl) var(--space-lg);
      min-height: auto;
    }

    .trust-badges__content {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: var(--space-md);
    }

    .trust-badges__label {
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.15em;
      color: var(--viso-text-subtle);
      font-weight: 500;
    }

    .trust-badges__logos {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: var(--space-xl);
      flex-wrap: wrap;
    }

    .trust-badge {
      display: flex;
      align-items: center;
      gap: var(--space-sm);
      padding: var(--space-sm) var(--space-md);
      background: var(--viso-glass-bg);
      border: 1px solid var(--viso-glass-border);
      border-radius: var(--radius-pill);
      backdrop-filter: blur(12px);
      transition: all var(--duration-normal) ease;
    }

    .trust-badge:hover {
      border-color: rgba(157, 78, 221, 0.4);
      background: rgba(26, 0, 56, 0.6);
    }

    .trust-badge svg {
      width: 18px;
      height: 18px;
      color: var(--viso-text-muted);
      flex-shrink: 0;
    }

    .trust-badge span {
      font-size: 12px;
      font-weight: 500;
      color: var(--viso-text-muted);
      white-space: nowrap;
    }

    .trust-badge--highlight {
      border-color: rgba(34, 197, 94, 0.3);
      background: rgba(34, 197, 94, 0.1);
    }

    .trust-badge--highlight svg {
      color: var(--viso-success);
    }

    .trust-badge--highlight span {
      color: var(--viso-success);
    }

    @media (max-width: 768px) {
      .trust-badges__logos {
        gap: var(--space-md);
      }

      .trust-badge {
        padding: var(--space-xs) var(--space-sm);
      }

      .trust-badge span {
        font-size: 11px;
      }
    }

    /* ═══════════════════════════════════════════════════════════════
       PROBLEM SECTION
       ═══════════════════════════════════════════════════════════════ */

    .problem {
      text-align: center;
    }

    .problem__stat {
      font-size: clamp(80px, 15vw, 180px);
      font-weight: 900;
      background: linear-gradient(135deg, var(--viso-accent-light) 0%, var(--viso-accent) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      line-height: 1;
      margin-bottom: var(--space-md);
    }

    .problem__text {
      font-size: clamp(24px, 4vw, 36px);
      color: var(--viso-text);
      margin-bottom: var(--space-3xl);
    }

    .problem__cards {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: var(--space-lg);
      margin-bottom: var(--space-3xl);
    }

    .problem__card {
      padding: var(--space-xl);
    }

    .problem__card-icon {
      width: 48px;
      height: 48px;
      margin-bottom: var(--space-md);
      color: var(--viso-accent);
    }

    .problem__card-title {
      font-size: 18px;
      font-weight: 600;
      margin-bottom: var(--space-sm);
    }

    .problem__transition {
      font-size: clamp(20px, 3vw, 28px);
      color: var(--viso-text);
      font-style: italic;
    }

    /* ═══════════════════════════════════════════════════════════════
       WIDGET DEMO SECTION - STICKY SCROLL
       ═══════════════════════════════════════════════════════════════ */

    .demo {
      min-height: auto;
      padding: 0;
    }

    .demo__wrapper {
      display: flex;
      position: relative;
      max-width: 1200px;
      margin: 0 auto;
    }

    /* Left side - scrolling content */
    .demo__content {
      flex: 1;
      padding: var(--space-3xl) var(--space-lg);
      padding-right: var(--space-2xl);
    }

    .demo__header {
      margin-bottom: var(--space-xl);
    }

    .demo__steps {
      display: flex;
      flex-direction: column;
      gap: 0;
    }

    .demo__step {
      display: flex;
      align-items: flex-start;
      gap: var(--space-md);
      padding: var(--space-3xl) 0;
      min-height: 50vh;
      opacity: 0.3;
      transform: translateX(0);
      transition: opacity 0.4s ease, transform 0.4s ease;
    }

    .demo__step--active {
      opacity: 1;
    }

    .demo__step-number {
      width: 48px;
      height: 48px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--viso-accent);
      color: var(--viso-text);
      border-radius: 50%;
      font-weight: 700;
      font-size: 18px;
      flex-shrink: 0;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .demo__step--active .demo__step-number {
      transform: scale(1.1);
      box-shadow: 0 0 30px var(--viso-accent-glow);
    }

    .demo__step-content h3 {
      font-size: 24px;
      font-weight: 600;
      margin-bottom: var(--space-sm);
    }

    .demo__step-content p {
      color: var(--viso-text);
      font-size: 16px;
      line-height: 1.6;
    }

    /* Right side - sticky phone */
    .demo__visual {
      flex: 0 0 400px;
      height: 100vh;
      position: sticky;
      top: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: var(--space-lg);
    }

    /* Widget Demo Phone */
    .widget-phone {
      position: relative;
      width: 280px;
      height: 500px;
      margin: 0 auto;
      background: linear-gradient(145deg, #1a1a2e 0%, #0a0a14 100%);
      border-radius: 36px;
      border: 3px solid rgba(157, 78, 221, 0.3);
      box-shadow:
        0 40px 80px rgba(5, 1, 10, 0.7),
        0 0 50px rgba(157, 78, 221, 0.15);
      overflow: hidden;
    }

    .widget-phone__screen {
      position: absolute;
      inset: 10px;
      background: var(--viso-bg);
      border-radius: 28px;
      overflow: hidden;
    }

    /* Widget States */
    .widget-state {
      position: absolute;
      inset: 0;
      display: flex;
      flex-direction: column;
      padding: var(--space-md);
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.4s ease, visibility 0.4s ease;
    }

    .widget-state--active {
      opacity: 1;
      visibility: visible;
    }

    /* Upload State */
    .widget-upload__zone {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      border: 2px dashed rgba(157, 78, 221, 0.4);
      border-radius: var(--radius-lg);
      background: rgba(157, 78, 221, 0.05);
      margin-bottom: var(--space-md);
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
    }

    .widget-upload__zone:hover {
      border-color: var(--viso-accent);
      background: rgba(157, 78, 221, 0.1);
    }

    .widget-upload__icon {
      width: 48px;
      height: 48px;
      color: var(--viso-accent);
      margin-bottom: var(--space-sm);
    }

    .widget-upload__text {
      font-size: 12px;
      color: var(--viso-text-muted);
      text-align: center;
    }

    .widget-upload__tips {
      display: flex;
      gap: var(--space-xs);
      flex-wrap: wrap;
      justify-content: center;
      margin-top: var(--space-sm);
    }

    .widget-upload__tip {
      font-size: 10px;
      padding: 4px 8px;
      background: rgba(157, 78, 221, 0.15);
      border-radius: var(--radius-sm);
      color: var(--viso-text-muted);
    }

    .widget-upload__btn {
      width: 100%;
      padding: var(--space-md);
      background: linear-gradient(135deg, var(--viso-accent-dark), var(--viso-accent));
      border: none;
      border-radius: var(--radius-md);
      color: var(--viso-text);
      font-weight: 600;
      font-size: 14px;
      position: relative;
      overflow: hidden;
      transition: all 0.3s var(--ease-spring);
    }

    .widget-upload__btn-text,
    .widget-upload__btn-ready {
      transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .widget-upload__btn-ready {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transform: translateY(10px);
    }

    .widget-upload__btn--ready .widget-upload__btn-text {
      opacity: 0;
      transform: translateY(-10px);
    }

    .widget-upload__btn--ready .widget-upload__btn-ready {
      opacity: 1;
      transform: translateY(0);
    }

    .widget-upload__btn--ready {
      background: linear-gradient(135deg, var(--viso-success), #16a34a);
      animation: btn-pulse 1.5s ease-in-out infinite;
    }

    @keyframes btn-pulse {
      0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
      50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    }

    /* Photo preview animation */
    .widget-upload__photo-preview {
      position: absolute;
      top: -80px;
      left: 50%;
      transform: translateX(-50%);
      width: 60px;
      height: 80px;
      opacity: 0;
      pointer-events: none;
      z-index: 10;
    }

    .widget-upload__photo-preview svg {
      width: 100%;
      height: 100%;
      filter: drop-shadow(0 4px 12px rgba(157, 78, 221, 0.4));
    }

    .widget-upload__photo-check {
      position: absolute;
      bottom: -8px;
      right: -8px;
      width: 24px;
      height: 24px;
      background: var(--viso-success);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
      color: white;
      opacity: 0;
      transform: scale(0);
      transition: all 0.3s var(--ease-spring);
    }

    /* Photo drop animation states */
    .widget-upload--dropping .widget-upload__photo-preview {
      animation: photo-drop 1.2s ease forwards;
    }

    .widget-upload--dropping .widget-upload__photo-check {
      animation: check-appear 0.3s ease forwards 0.9s;
    }

    .widget-upload--dropping .widget-upload__icon {
      animation: icon-shrink 0.5s ease forwards 0.6s;
    }

    @keyframes photo-drop {
      0% {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px) scale(0.8);
      }
      20% {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
      }
      40% {
        transform: translateX(-50%) translateY(120px) scale(1);
      }
      60% {
        transform: translateX(-50%) translateY(100px) scale(0.9);
      }
      80%, 100% {
        opacity: 1;
        transform: translateX(-50%) translateY(110px) scale(0.85);
      }
    }

    @keyframes check-appear {
      0% { opacity: 0; transform: scale(0); }
      100% { opacity: 1; transform: scale(1); }
    }

    @keyframes icon-shrink {
      0% { opacity: 1; transform: scale(1); }
      100% { opacity: 0; transform: scale(0.5); }
    }

    .widget-upload--dropping .widget-upload__text {
      animation: text-fade-out 0.4s ease forwards 0.5s;
    }

    @keyframes text-fade-out {
      to { opacity: 0.3; }
    }

    /* Processing State */
    .widget-processing {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      height: 100%;
    }

    .widget-processing__image {
      position: relative;
      width: 180px;
      height: 240px;
      background: linear-gradient(145deg, #2a2a3e, #1a1a2e);
      border-radius: var(--radius-lg);
      margin-bottom: var(--space-xl);
      overflow: hidden;
    }

    .widget-processing__scan {
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, transparent 0%, rgba(157, 78, 221, 0.3) 50%, transparent 100%);
      animation: scan 2s ease-in-out infinite;
    }

    @keyframes scan {
      0% { transform: translateY(-100%); }
      100% { transform: translateY(100%); }
    }

    .widget-processing__particles {
      position: absolute;
      inset: 0;
      overflow: hidden;
    }

    .widget-processing__particles span {
      position: absolute;
      width: 6px;
      height: 6px;
      background: var(--viso-accent-light);
      border-radius: 50%;
      animation: particle-float 3s ease-in-out infinite;
    }

    .widget-processing__particles span:nth-child(1) { left: 20%; top: 30%; animation-delay: 0s; }
    .widget-processing__particles span:nth-child(2) { left: 70%; top: 20%; animation-delay: 0.5s; }
    .widget-processing__particles span:nth-child(3) { left: 40%; top: 60%; animation-delay: 1s; }
    .widget-processing__particles span:nth-child(4) { left: 80%; top: 70%; animation-delay: 1.5s; }
    .widget-processing__particles span:nth-child(5) { left: 15%; top: 80%; animation-delay: 2s; }
    .widget-processing__particles span:nth-child(6) { left: 60%; top: 50%; animation-delay: 2.5s; }

    @keyframes particle-float {
      0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
      50% { transform: translate(10px, -15px) scale(1.3); opacity: 1; }
    }

    .widget-processing__loader {
      position: relative;
      width: 80px;
      height: 80px;
      margin-bottom: var(--space-md);
    }

    .widget-processing__ring {
      position: absolute;
      inset: 0;
      border: 3px solid transparent;
      border-radius: 50%;
    }

    .widget-processing__ring:nth-child(1) {
      border-top-color: var(--viso-accent-light);
      animation: spin 1s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    }

    .widget-processing__ring:nth-child(2) {
      inset: 8px;
      border-top-color: var(--viso-accent);
      animation: spin 1.4s cubic-bezier(0.5, 0, 0.5, 1) infinite reverse;
    }

    .widget-processing__ring:nth-child(3) {
      inset: 16px;
      border-top-color: var(--viso-accent-dark);
      animation: spin 2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    }

    .widget-processing__core {
      position: absolute;
      inset: 24px;
      background: linear-gradient(135deg, var(--viso-accent), var(--viso-accent-light));
      border-radius: 50%;
      animation: glow-purple 2s ease-in-out infinite;
    }

    @keyframes spin {
      to { transform: rotate(360deg); }
    }

    @keyframes glow-purple {
      0%, 100% { box-shadow: 0 0 20px rgba(157, 78, 221, 0.6); }
      50% { box-shadow: 0 0 50px rgba(199, 125, 255, 0.8); }
    }

    .widget-processing__text {
      font-size: 14px;
      color: var(--viso-text-muted);
      animation: fade-pulse 2s ease-in-out infinite;
    }

    @keyframes fade-pulse {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.5; }
    }

    .widget-processing__dots {
      display: flex;
      gap: var(--space-sm);
      margin-top: var(--space-md);
    }

    .widget-processing__dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: rgba(157, 78, 221, 0.3);
    }

    .widget-processing__dot--active {
      background: var(--viso-accent);
    }

    /* Result State */
    .widget-result {
      display: flex;
      flex-direction: column;
      height: 100%;
    }

    .widget-result__image {
      flex: 1;
      position: relative;
      background: linear-gradient(145deg, #2a2a3e, #1a1a2e);
      border-radius: var(--radius-lg);
      margin-bottom: var(--space-md);
      overflow: hidden;
    }

    .widget-result__compare {
      position: absolute;
      inset: 0;
    }

    .widget-result__before,
    .widget-result__after {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .widget-result__before {
      background: linear-gradient(180deg, #2a2a3e 0%, #1a1a2e 50%, #252535 100%);
    }

    .widget-result__after {
      background: linear-gradient(180deg,
        rgba(90, 24, 154, 0.3) 0%,
        rgba(157, 78, 221, 0.2) 30%,
        rgba(90, 24, 154, 0.25) 70%,
        rgba(16, 0, 43, 0.9) 100%
      );
      clip-path: inset(0 0 0 var(--split, 50%));
    }

    .widget-result__compare {
      touch-action: none;
      user-select: none;
    }

    .widget-result__handle {
      position: absolute;
      left: var(--split, 50%);
      top: 0;
      bottom: 0;
      width: 4px;
      background: var(--viso-text);
      cursor: ew-resize;
      transform: translateX(-50%);
      touch-action: none;
    }

    .widget-result__handle::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 32px;
      height: 32px;
      background: var(--viso-text);
      border-radius: 50%;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }

    .widget-result__handle::after {
      content: '↔';
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      color: var(--viso-bg);
      font-size: 14px;
      font-weight: 700;
    }

    .widget-result__label {
      position: absolute;
      bottom: var(--space-sm);
      padding: 4px 10px;
      background: rgba(5, 1, 10, 0.8);
      border-radius: var(--radius-sm);
      font-size: 10px;
      font-weight: 600;
      color: var(--viso-text);
      text-transform: uppercase;
      letter-spacing: 0.05em;
      backdrop-filter: blur(8px);
    }

    .widget-result__label--before {
      left: var(--space-sm);
    }

    .widget-result__label--after {
      right: var(--space-sm);
    }

    /* Person silhouette placeholder */
    .widget-result__person {
      position: absolute;
      inset: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .widget-result__person svg {
      width: 100%;
      height: 100%;
      max-width: 120px;
    }

    .widget-result__actions {
      display: flex;
      gap: var(--space-sm);
    }

    .widget-result__btn {
      flex: 1;
      padding: var(--space-sm) var(--space-md);
      border: none;
      border-radius: var(--radius-md);
      font-size: 12px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.2s var(--ease-spring);
    }

    .widget-result__btn--love {
      background: var(--viso-love);
      color: var(--viso-text);
    }

    .widget-result__btn--cart {
      background: linear-gradient(135deg, var(--viso-accent-dark), var(--viso-accent));
      color: var(--viso-text);
    }

    .widget-result__btn:hover {
      transform: scale(1.03);
    }

    .widget-result__btn:active {
      transform: scale(0.97);
    }

    /* ═══════════════════════════════════════════════════════════════
       TESTIMONIALS SECTION
       ═══════════════════════════════════════════════════════════════ */

    .testimonials {
      padding: var(--space-4xl) var(--space-lg);
      min-height: auto;
    }

    .testimonials__header {
      text-align: center;
      margin-bottom: var(--space-3xl);
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .testimonials__grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: var(--space-lg);
      max-width: 1100px;
      margin: 0 auto;
    }

    .testimonial-card {
      display: flex;
      flex-direction: column;
      gap: var(--space-md);
      padding: var(--space-xl);
    }

    .testimonial-card__stars {
      display: flex;
      gap: 2px;
    }

    .testimonial-card__stars svg {
      width: 18px;
      height: 18px;
      color: #fbbf24;
    }

    .testimonial-card__quote {
      font-size: 15px;
      line-height: 1.7;
      color: var(--viso-text);
      font-style: italic;
      flex-grow: 1;
      margin: 0;
    }

    .testimonial-card__author {
      display: flex;
      align-items: center;
      gap: var(--space-md);
      padding-top: var(--space-md);
      border-top: 1px solid var(--viso-glass-border);
    }

    .testimonial-card__avatar {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--viso-accent-dark) 0%, var(--viso-accent) 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 14px;
      color: var(--viso-text);
      flex-shrink: 0;
    }

    .testimonial-card__info {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .testimonial-card__name {
      font-weight: 600;
      font-size: 14px;
      color: var(--viso-text);
    }

    .testimonial-card__role {
      font-size: 12px;
      color: var(--viso-text-muted);
    }

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

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

    /* ═══════════════════════════════════════════════════════════════
       FEATURES BENTO GRID
       ═══════════════════════════════════════════════════════════════ */

    .features {
      padding: var(--space-4xl) var(--space-lg);
    }

    .features__header {
      text-align: center;
      margin-bottom: var(--space-3xl);
    }

    .features__grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: var(--space-lg);
      max-width: 1000px;
      margin: 0 auto;
    }

    .feature-card {
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      min-height: 180px;
    }

    .feature-card__icon {
      width: 48px;
      height: 48px;
      margin-bottom: var(--space-md);
      color: var(--viso-accent);
      flex-shrink: 0;
    }

    .feature-card__title {
      font-size: 20px;
      font-weight: 600;
      margin-bottom: var(--space-sm);
      color: var(--viso-accent-light);
    }

    .feature-card__description {
      font-size: 14px;
      color: var(--viso-text);
      line-height: 1.6;
    }

    /* ═══════════════════════════════════════════════════════════════
       DASHBOARD SECTION - BENTO GRID
       ═══════════════════════════════════════════════════════════════ */

    .dashboard {
      padding: var(--space-4xl) var(--space-lg);
    }

    .dashboard__header {
      text-align: center;
      margin-bottom: var(--space-3xl);
    }

    .dashboard__badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 16px;
      background: rgba(157, 78, 221, 0.15);
      border: 1px solid rgba(157, 78, 221, 0.3);
      border-radius: 100px;
      font-size: 13px;
      font-weight: 500;
      color: var(--viso-accent-light);
      margin-bottom: var(--space-md);
    }

    .dashboard__badge-dot {
      width: 6px;
      height: 6px;
      background: var(--viso-accent);
      border-radius: 50%;
      animation: pulse-dot 2s ease-in-out infinite;
    }

    @keyframes pulse-dot {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.5; transform: scale(1.2); }
    }

    /* Bento Grid */
    .dashboard__bento {
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      grid-template-rows: auto;
      gap: var(--space-md);
      max-width: 1100px;
      margin: 0 auto;
    }

    /* Bento Cards */
    .bento-card {
      position: relative;
      background: rgba(16, 0, 43, 0.6);
      border: 1px solid rgba(157, 78, 221, 0.2);
      border-radius: 20px;
      padding: var(--space-lg);
      overflow: hidden;
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .bento-card:hover {
      border-color: rgba(157, 78, 221, 0.5);
      transform: translateY(-4px);
    }

    .bento-card__glow {
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: radial-gradient(circle at center, rgba(157, 78, 221, 0.15) 0%, transparent 50%);
      opacity: 0;
      transition: opacity 0.4s ease;
      pointer-events: none;
    }

    .bento-card:hover .bento-card__glow {
      opacity: 1;
    }

    .bento-card__content {
      position: relative;
      z-index: 1;
      height: 100%;
    }

    .bento-card__label {
      position: absolute;
      bottom: var(--space-md);
      left: var(--space-lg);
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      font-weight: 600;
      color: var(--viso-text-muted);
      z-index: 1;
    }

    .bento-card__label svg {
      color: var(--viso-accent);
    }

    /* Grid Placement - Full width dashboard */
    .bento-card--hero {
      grid-column: span 12;
      height: 700px;
    }

    /* Dashboard Preview (Hero Card) */
    .dashboard-preview {
      background: rgba(5, 1, 10, 0.8);
      border-radius: 12px;
      overflow: hidden;
      height: calc(100% - 40px);
    }

    .dashboard-preview__header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 12px 16px;
      background: rgba(157, 78, 221, 0.1);
      border-bottom: 1px solid rgba(157, 78, 221, 0.2);
    }

    .dashboard-preview__tabs {
      display: flex;
      gap: 16px;
    }

    .dashboard-preview__tab {
      font-size: 11px;
      color: var(--viso-text-muted);
      cursor: pointer;
      transition: color 0.2s;
    }

    .dashboard-preview__tab--active {
      color: var(--viso-accent-light);
      font-weight: 600;
    }

    .dashboard-preview__actions {
      display: flex;
      gap: 6px;
    }

    .dashboard-preview__dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: rgba(157, 78, 221, 0.4);
    }

    .dashboard-preview__body {
      padding: 20px;
    }

    .dashboard-preview__metrics {
      display: flex;
      gap: 24px;
      margin-bottom: 20px;
    }

    .mini-metric {
      flex: 1;
    }

    .mini-metric__value {
      display: block;
      font-size: 22px;
      font-weight: 700;
      color: white;
      line-height: 1;
    }

    .mini-metric__label {
      display: block;
      font-size: 11px;
      color: var(--viso-text-muted);
      margin-top: 4px;
    }

    .mini-metric__trend {
      display: inline-block;
      font-size: 10px;
      font-weight: 600;
      padding: 2px 6px;
      border-radius: 4px;
      margin-top: 6px;
    }

    .mini-metric__trend--up {
      background: rgba(34, 197, 94, 0.2);
      color: #22c55e;
    }

    .dashboard-preview__chart {
      position: relative;
    }

    .mini-chart {
      width: 100%;
      height: 60px;
    }

    .mini-chart__line {
      stroke-dasharray: 300;
      stroke-dashoffset: 300;
      animation: draw-line 2s ease-out forwards;
      animation-delay: 0.5s;
    }

    .mini-chart__dot {
      opacity: 0;
      animation: fade-in 0.3s ease-out forwards;
      animation-delay: 2.5s;
    }

    @keyframes draw-line {
      to { stroke-dashoffset: 0; }
    }

    @keyframes fade-in {
      to { opacity: 1; }
    }

    .dashboard-preview__chart-label {
      position: absolute;
      bottom: -4px;
      right: 0;
      font-size: 10px;
      color: var(--viso-text-muted);
    }

    /* Light Theme Dashboard Preview */
    .dashboard-preview--light {
      background: #ffffff;
      box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    }

    .dashboard-preview--light .dashboard-preview__header {
      background: #f8fafc;
      border-bottom: 1px solid #e2e8f0;
    }

    .dashboard-preview--light .dashboard-preview__tab {
      background: none;
      border: none;
      font-size: 12px;
      font-weight: 500;
      color: #64748b;
      padding: 4px 12px;
      border-radius: 6px;
      transition: all 0.2s;
    }

    .dashboard-preview--light .dashboard-preview__tab:hover {
      background: #f1f5f9;
      color: #334155;
    }

    .dashboard-preview--light .dashboard-preview__tab--active {
      background: #6366f1;
      color: white;
    }

    .dashboard-preview__dot--red { background: #ef4444; }
    .dashboard-preview__dot--yellow { background: #eab308; }
    .dashboard-preview__dot--green { background: #22c55e; }

    /* Tab Panels */
    .dashboard-preview__panel {
      display: none;
      padding: 16px;
    }

    .dashboard-preview__panel--active {
      display: block;
    }

    /* Stats Row */
    .dashboard-preview__stats-row {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 12px;
      margin-bottom: 16px;
    }

    .stat-card-mini {
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      border-radius: 8px;
      padding: 12px;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .stat-card-mini__icon {
      width: 28px;
      height: 28px;
      border-radius: 6px;
      background: #e0e7ff;
      color: #6366f1;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .stat-card-mini__icon--purple { background: #f3e8ff; color: #a855f7; }
    .stat-card-mini__icon--green { background: #dcfce7; color: #22c55e; }
    .stat-card-mini__icon--blue { background: #dbeafe; color: #3b82f6; }

    .stat-card-mini__content {
      display: flex;
      flex-direction: column;
    }

    .stat-card-mini__value {
      font-size: 18px;
      font-weight: 700;
      color: #1e293b;
      line-height: 1.2;
    }

    .stat-card-mini__label {
      font-size: 10px;
      color: #64748b;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .stat-card-mini__badge {
      font-size: 9px;
      font-weight: 600;
      background: #dcfce7;
      color: #16a34a;
      padding: 2px 6px;
      border-radius: 4px;
      align-self: flex-start;
    }

    .stat-card-mini__trend {
      font-size: 10px;
      font-weight: 600;
      padding: 2px 6px;
      border-radius: 4px;
      align-self: flex-start;
    }

    .stat-card-mini__trend--up {
      background: #dcfce7;
      color: #16a34a;
    }

    /* Chart Section */
    .dashboard-preview__chart-section {
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      border-radius: 8px;
      padding: 12px;
    }

    .dashboard-preview__chart-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 8px;
    }

    .dashboard-preview__chart-title {
      font-size: 12px;
      font-weight: 600;
      color: #334155;
    }

    .dashboard-preview__chart-total {
      font-size: 11px;
      color: #64748b;
    }

    .dashboard-preview__chart-days {
      display: flex;
      justify-content: space-between;
      font-size: 9px;
      color: #94a3b8;
      margin-top: 4px;
    }

    /* Analytics Panel */
    .dashboard-preview__analytics {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .analytics-funnel {
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      border-radius: 8px;
      padding: 12px;
    }

    .analytics-funnel__title {
      font-size: 12px;
      font-weight: 600;
      color: #334155;
      margin-bottom: 12px;
    }

    .analytics-funnel__bars {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .funnel-bar {
      display: flex;
      align-items: center;
      gap: 8px;
      position: relative;
    }

    .funnel-bar__fill {
      height: 20px;
      background: linear-gradient(90deg, #6366f1, #a855f7);
      border-radius: 4px;
      transition: width 0.5s ease;
    }

    .funnel-bar__label {
      font-size: 10px;
      color: #64748b;
      width: 60px;
      flex-shrink: 0;
    }

    .funnel-bar__value {
      font-size: 11px;
      font-weight: 600;
      color: #334155;
      margin-left: auto;
    }

    .analytics-funnel__conversion {
      margin-top: 12px;
      padding-top: 12px;
      border-top: 1px solid #e2e8f0;
      font-size: 12px;
      color: #64748b;
      text-align: center;
    }

    .analytics-funnel__conversion strong {
      color: #16a34a;
      font-weight: 700;
    }

    .analytics-metrics {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }

    .analytics-metric {
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      border-radius: 8px;
      padding: 12px;
      text-align: center;
    }

    .analytics-metric__value {
      display: block;
      font-size: 20px;
      font-weight: 700;
      color: #6366f1;
    }

    .analytics-metric__label {
      font-size: 10px;
      color: #64748b;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    /* Gallery Panel */
    .dashboard-preview__gallery {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

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

    .gallery-header__title {
      font-size: 12px;
      font-weight: 600;
      color: #334155;
    }

    .gallery-header__count {
      font-size: 11px;
      color: #64748b;
    }

    .gallery-grid-mini {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 8px;
    }

    .gallery-item-mini {
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      border-radius: 8px;
      overflow: hidden;
    }

    .gallery-item-mini__img {
      height: 50px;
      width: 100%;
    }

    .gallery-item-mini__name {
      display: block;
      font-size: 9px;
      font-weight: 500;
      color: #334155;
      padding: 6px 8px 2px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .gallery-item-mini__badge {
      display: inline-block;
      font-size: 8px;
      font-weight: 600;
      background: #dcfce7;
      color: #16a34a;
      padding: 2px 4px;
      border-radius: 3px;
      margin: 0 8px 6px;
    }

    .gallery-item-mini__badge--studio {
      background: #f3e8ff;
      color: #a855f7;
    }

    /* Responsive */
    @media (max-width: 768px) {
      .dashboard-preview__stats-row {
        grid-template-columns: repeat(2, 1fr);
      }

      .gallery-grid-mini {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    /* Funnel Visualization */
    .funnel-viz {
      display: flex;
      flex-direction: column;
      gap: 12px;
      height: calc(100% - 40px);
      justify-content: center;
    }

    .funnel-viz__bar {
      position: relative;
      height: 44px;
      width: var(--width);
      background: linear-gradient(90deg, rgba(157, 78, 221, 0.3) 0%, rgba(157, 78, 221, 0.1) 100%);
      border-radius: 8px;
      display: flex;
      align-items: center;
      padding: 0 16px;
      gap: 12px;
      transform: scaleX(0);
      transform-origin: left;
      animation: scale-in 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
      animation-delay: var(--delay);
    }

    @keyframes scale-in {
      to { transform: scaleX(1); }
    }

    .funnel-viz__value {
      font-size: 16px;
      font-weight: 700;
      color: white;
    }

    .funnel-viz__label {
      font-size: 12px;
      color: var(--viso-text-muted);
    }

    /* Gallery Preview */
    .gallery-preview {
      height: calc(100% - 40px);
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .gallery-preview__grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 8px;
      flex: 1;
    }

    .gallery-preview__item {
      background: linear-gradient(135deg, rgba(157, 78, 221, 0.2) 0%, rgba(90, 24, 154, 0.3) 100%);
      border-radius: 8px;
      position: relative;
      overflow: hidden;
    }

    .gallery-preview__item::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, transparent 50%, rgba(5, 1, 10, 0.8) 100%);
    }

    .gallery-preview__actions {
      display: flex;
      gap: 8px;
    }

    .gallery-preview__action {
      width: 32px;
      height: 32px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(157, 78, 221, 0.2);
      border-radius: 8px;
      color: var(--viso-accent-light);
      transition: all 0.2s;
    }

    .gallery-preview__action:hover {
      background: rgba(157, 78, 221, 0.4);
    }

    /* Theme Preview */
    .theme-preview {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      height: calc(100% - 40px);
      gap: 16px;
    }

    .theme-preview__colors {
      display: flex;
      gap: 8px;
    }

    .theme-preview__color {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: var(--color);
      border: 2px solid transparent;
      cursor: pointer;
      transition: all 0.2s;
    }

    .theme-preview__color--active {
      border-color: white;
      transform: scale(1.15);
    }

    .theme-preview__button {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 10px 20px;
      background: linear-gradient(135deg, var(--viso-accent) 0%, var(--viso-accent-dark) 100%);
      border-radius: 10px;
      font-size: 13px;
      font-weight: 600;
      color: white;
    }

    /* Credits Visualization */
    .credits-viz {
      display: flex;
      align-items: center;
      gap: 20px;
      height: calc(100% - 40px);
    }

    .credits-viz__gauge {
      position: relative;
      width: 100px;
      flex-shrink: 0;
    }

    .credits-viz__arc {
      width: 100%;
      height: auto;
    }

    .credits-viz__progress {
      stroke-dashoffset: 141.37;
      animation: gauge-fill 1.5s ease-out forwards;
      animation-delay: 0.3s;
    }

    @keyframes gauge-fill {
      to { stroke-dashoffset: 42; }
    }

    .credits-viz__value {
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      text-align: center;
    }

    .credits-viz__number {
      display: block;
      font-size: 20px;
      font-weight: 700;
      color: white;
    }

    .credits-viz__total {
      font-size: 11px;
      color: var(--viso-text-muted);
    }

    .credits-viz__info {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .credits-viz__label {
      font-size: 14px;
      font-weight: 600;
      color: white;
    }

    .credits-viz__hint {
      font-size: 12px;
      color: var(--viso-text-muted);
    }

    /* ═══════════════════════════════════════════════════════════════
       ROI CALCULATOR SECTION
       ═══════════════════════════════════════════════════════════════ */

    .roi-calculator {
      padding: var(--space-4xl) var(--space-lg);
      min-height: auto;
    }

    .roi-calculator__header {
      text-align: center;
      margin-bottom: var(--space-3xl);
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .roi-calculator__card {
      max-width: 700px;
      margin: 0 auto;
      padding: var(--space-2xl);
    }

    .roi-calculator__inputs {
      display: flex;
      flex-direction: column;
      gap: var(--space-xl);
      margin-bottom: var(--space-2xl);
      padding-bottom: var(--space-xl);
      border-bottom: 1px solid var(--viso-glass-border);
    }

    .roi-input-group {
      display: flex;
      flex-direction: column;
      gap: var(--space-sm);
    }

    .roi-input-group label {
      font-size: 14px;
      font-weight: 500;
      color: var(--viso-text-muted);
    }

    .roi-input-group input[type="range"] {
      width: 100%;
      height: 8px;
      border-radius: 4px;
      background: var(--viso-bg-elevated);
      outline: none;
      -webkit-appearance: none;
      cursor: pointer;
    }

    .roi-input-group input[type="range"]::-webkit-slider-thumb {
      -webkit-appearance: none;
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--viso-accent) 0%, var(--viso-accent-light) 100%);
      cursor: pointer;
      box-shadow: 0 2px 10px var(--viso-accent-glow);
      transition: transform 0.2s ease;
    }

    .roi-input-group input[type="range"]::-webkit-slider-thumb:hover {
      transform: scale(1.1);
    }

    .roi-input-group input[type="range"]::-moz-range-thumb {
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--viso-accent) 0%, var(--viso-accent-light) 100%);
      cursor: pointer;
      border: none;
      box-shadow: 0 2px 10px var(--viso-accent-glow);
    }

    .roi-input-value {
      font-size: 28px;
      font-weight: 700;
      color: var(--viso-text);
      text-align: center;
    }

    .roi-calculator__results {
      display: flex;
      flex-direction: column;
      gap: var(--space-md);
      margin-bottom: var(--space-xl);
    }

    .roi-result {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: var(--space-md);
      background: rgba(5, 1, 10, 0.4);
      border-radius: var(--radius-md);
    }

    .roi-result--highlight {
      background: linear-gradient(135deg, rgba(90, 24, 154, 0.3) 0%, rgba(157, 78, 221, 0.2) 100%);
      border: 1px solid var(--viso-accent);
    }

    .roi-result__label {
      font-size: 14px;
      color: var(--viso-text-muted);
    }

    .roi-result__value {
      font-size: 20px;
      font-weight: 700;
    }

    .roi-result__value--negative {
      color: var(--viso-error);
    }

    .roi-result__value--positive {
      color: var(--viso-success);
    }

    .roi-result__value--accent {
      font-size: 28px;
      background: linear-gradient(135deg, var(--viso-accent-light) 0%, var(--viso-accent) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .roi-calculator__cta {
      text-align: center;
    }

    .roi-calculator__note {
      font-size: 12px;
      color: var(--viso-text-subtle);
      margin-top: var(--space-md);
    }

    @media (max-width: 768px) {
      .roi-calculator__card {
        padding: var(--space-lg);
      }

      .roi-input-value {
        font-size: 24px;
      }

      .roi-result__value {
        font-size: 18px;
      }

      .roi-result__value--accent {
        font-size: 24px;
      }
    }

    /* ═══════════════════════════════════════════════════════════════
       PRICING SECTION
       ═══════════════════════════════════════════════════════════════ */

    .pricing {
      padding: var(--space-4xl) var(--space-lg);
    }

    .pricing__header {
      text-align: center;
      margin-bottom: var(--space-3xl);
    }

    .pricing__grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: var(--space-lg);
      max-width: 1100px;
      margin: 0 auto;
    }

    .pricing-card {
      position: relative;
      padding: var(--space-xl);
      text-align: center;
      display: flex;
      flex-direction: column;
    }

    .pricing-card--featured {
      border-color: var(--viso-accent);
      box-shadow: 0 0 60px rgba(157, 78, 221, 0.2);
    }

    .pricing-card--featured::before {
      content: 'Most Popular';
      position: absolute;
      top: -12px;
      left: 50%;
      transform: translateX(-50%);
      padding: var(--space-xs) var(--space-md);
      background: var(--viso-accent);
      border-radius: var(--radius-pill);
      font-size: 12px;
      font-weight: 600;
    }

    .pricing-card__name {
      font-size: 18px;
      font-weight: 600;
      margin-bottom: var(--space-sm);
      color: var(--viso-accent-light);
    }

    .pricing-card__price {
      font-size: 48px;
      font-weight: 700;
      margin-bottom: var(--space-xs);
    }

    .pricing-card__price span {
      font-size: 16px;
      color: var(--viso-text-muted);
    }

    .pricing-card__credits {
      font-size: 14px;
      color: var(--viso-text);
      margin-bottom: var(--space-lg);
    }

    .pricing-card__features {
      list-style: none;
      text-align: left;
      margin-bottom: var(--space-xl);
      flex-grow: 1;
    }

    .pricing-card__features li {
      display: flex;
      align-items: center;
      gap: var(--space-sm);
      padding: var(--space-sm) 0;
      font-size: 14px;
      color: var(--viso-text);
    }

    .pricing-card__features li::before {
      content: '✓';
      color: var(--viso-success);
      font-weight: bold;
    }

    .pricing-card__btn {
      width: 100%;
    }

    /* ═══════════════════════════════════════════════════════════════
       FAQ SECTION
       ═══════════════════════════════════════════════════════════════ */

    .faq {
      padding: var(--space-4xl) var(--space-lg);
      min-height: auto;
    }

    .faq__header {
      text-align: center;
      margin-bottom: var(--space-3xl);
    }

    .faq__list {
      display: flex;
      flex-direction: column;
      gap: var(--space-md);
      max-width: 800px;
      margin: 0 auto;
    }

    .faq__item {
      padding: 0;
      overflow: hidden;
    }

    .faq__question {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: var(--space-md);
      padding: var(--space-lg) var(--space-xl);
      background: none;
      border: none;
      cursor: pointer;
      text-align: left;
      font-family: inherit;
      font-size: 16px;
      font-weight: 600;
      color: var(--viso-text);
      transition: color 0.2s ease;
    }

    .faq__question:hover {
      color: var(--viso-accent-light);
    }

    .faq__question span {
      flex: 1;
    }

    .faq__icon {
      width: 20px;
      height: 20px;
      color: var(--viso-accent);
      flex-shrink: 0;
      transition: transform 0.3s var(--ease-spring);
    }

    .faq__item--open .faq__icon {
      transform: rotate(180deg);
    }

    .faq__answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s var(--ease-smooth), padding 0.4s var(--ease-smooth);
    }

    .faq__item--open .faq__answer {
      max-height: 300px;
    }

    .faq__answer p {
      padding: 0 var(--space-xl) var(--space-lg);
      margin: 0;
      font-size: 15px;
      line-height: 1.7;
      color: var(--viso-text);
    }

    /* Focus states for accessibility */
    .faq__question:focus-visible {
      outline: 2px solid var(--viso-accent);
      outline-offset: -2px;
      border-radius: var(--radius-lg);
    }

    @media (max-width: 768px) {
      .faq__question {
        padding: var(--space-md) var(--space-lg);
        font-size: 15px;
      }

      .faq__answer p {
        padding: 0 var(--space-lg) var(--space-md);
        font-size: 14px;
      }
    }

    /* ═══════════════════════════════════════════════════════════════
       CTA SECTION
       ═══════════════════════════════════════════════════════════════ */

    .cta {
      text-align: center;
      padding: var(--space-4xl) var(--space-lg);
    }

    .cta__content {
      max-width: 700px;
      margin: 0 auto;
    }

    .cta__title {
      font-size: clamp(32px, 5vw, 56px);
      font-weight: 700;
      margin-bottom: var(--space-md);
      color: var(--viso-accent-light);
    }

    .cta__subtitle {
      font-size: 18px;
      color: var(--viso-text);
      margin-bottom: var(--space-xl);
    }

    .cta__btn {
      font-size: 20px;
      padding: var(--space-lg) var(--space-3xl);
      animation: glow-btn 3s ease-in-out infinite;
    }

    @keyframes glow-btn {
      0%, 100% { box-shadow: 0 4px 20px var(--viso-accent-glow); }
      50% { box-shadow: 0 8px 40px var(--viso-accent-glow), 0 0 60px var(--viso-accent-glow); }
    }

    .cta__trust {
      display: flex;
      justify-content: center;
      gap: var(--space-xl);
      margin-top: var(--space-3xl);
      flex-wrap: wrap;
    }

    .cta__trust-item {
      display: flex;
      align-items: center;
      gap: var(--space-sm);
      color: var(--viso-text-muted);
      font-size: 14px;
    }

    /* ═══════════════════════════════════════════════════════════════
       FOOTER
       ═══════════════════════════════════════════════════════════════ */

    .footer {
      padding: var(--space-xl) var(--space-lg);
      border-top: 1px solid rgba(157, 78, 221, 0.1);
      text-align: center;
    }

    .footer__links {
      display: flex;
      justify-content: center;
      gap: var(--space-xl);
      margin-bottom: var(--space-md);
    }

    .footer__link {
      color: var(--viso-text-muted);
      text-decoration: none;
      font-size: 14px;
      transition: color 0.2s ease;
    }

    .footer__link:hover {
      color: var(--viso-accent);
    }

    .footer__copyright {
      font-size: 12px;
      color: var(--viso-text-subtle);
    }

    /* ═══════════════════════════════════════════════════════════════
       FOOTER - EXPANDED (DataTip Company Info)
       ═══════════════════════════════════════════════════════════════ */

    .footer__grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: var(--space-xl);
      padding-bottom: var(--space-xl);
      border-bottom: 1px solid rgba(157, 78, 221, 0.1);
      margin-bottom: var(--space-lg);
      text-align: left;
    }

    .footer__section {
      display: flex;
      flex-direction: column;
      gap: var(--space-sm);
    }

    .footer__brand {
      display: flex;
      flex-direction: column;
      gap: var(--space-xs);
    }

    .footer__company-name {
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--viso-accent);
      letter-spacing: 0.05em;
    }

    .footer__tagline {
      font-size: 0.875rem;
      color: var(--viso-text-muted);
      font-style: italic;
    }

    .footer__heading {
      font-size: 0.875rem;
      font-weight: 600;
      color: var(--viso-text);
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-bottom: var(--space-xs);
    }

    .footer__list {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: var(--space-xs);
      font-size: 0.875rem;
      color: var(--viso-text-muted);
    }

    .footer__list a {
      color: var(--viso-text-muted);
      text-decoration: none;
      transition: color 0.2s ease;
    }

    .footer__list a:hover {
      color: var(--viso-accent);
    }

    .footer__role {
      color: var(--viso-text-subtle);
      font-size: 0.75rem;
      margin-left: var(--space-xs);
    }

    .footer__list--metrics strong {
      color: var(--viso-accent);
      font-weight: 600;
    }

    .footer__phone {
      margin: 0 0 var(--space-md) 0;
    }

    .footer__phone a {
      color: var(--viso-text);
      font-size: 1.25rem;
      font-weight: 600;
      text-decoration: none;
      transition: color 0.2s ease;
    }

    .footer__phone a:hover {
      color: var(--viso-accent);
    }

    .footer__list--company {
      font-size: 0.8rem;
      line-height: 1.6;
    }

    .footer__list--company strong {
      color: var(--viso-text);
      font-weight: 600;
    }

    /* Phone Support list */
    .footer__list--phones li {
      display: flex;
      align-items: center;
      gap: var(--space-sm);
      flex-wrap: wrap;
    }

    .footer__region {
      display: inline-block;
      font-size: 0.7rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--viso-accent);
      background: rgba(157, 78, 221, 0.15);
      padding: 0.15em 0.5em;
      border-radius: 4px;
      min-width: 4.5em;
      text-align: center;
    }

    .footer__list--phones a {
      color: var(--viso-text);
      font-weight: 500;
    }

    .footer__list--phones a:hover {
      color: var(--viso-accent);
    }

    /* Opening Hours list */
    .footer__list--hours {
      gap: var(--space-2xs);
    }

    .footer__list--hours strong {
      color: var(--viso-text);
      font-weight: 600;
    }

    .footer__note {
      font-size: 0.75rem;
      color: var(--viso-text-subtle);
      font-style: italic;
      margin-top: var(--space-2xs);
    }

    .footer__social {
      display: flex;
      gap: var(--space-sm);
      margin-top: var(--space-md);
      flex-wrap: wrap;
    }

    .footer__social a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 32px;
      height: 32px;
      background: rgba(157, 78, 221, 0.15);
      border: 1px solid rgba(157, 78, 221, 0.3);
      border-radius: var(--radius-sm);
      color: var(--viso-text-muted);
      font-size: 0.7rem;
      font-weight: 600;
      text-decoration: none;
      transition: all 0.2s ease;
    }

    .footer__social a:hover {
      background: var(--viso-accent);
      border-color: var(--viso-accent);
      color: white;
    }

    .footer__security {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: var(--space-lg);
      flex-wrap: wrap;
      padding: var(--space-xl) 0;
      margin-top: var(--space-lg);
      border-top: 1px solid rgba(157, 78, 221, 0.1);
    }

    .security-badge {
      display: flex;
      align-items: center;
      gap: var(--space-sm);
      color: var(--viso-text-muted);
    }

    .security-badge svg {
      width: 18px;
      height: 18px;
      color: var(--viso-success);
    }

    .security-badge span {
      font-size: 12px;
      font-weight: 500;
    }

    @media (max-width: 768px) {
      .footer__security {
        gap: var(--space-md);
      }

      .security-badge span {
        font-size: 11px;
      }
    }

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

    /* Footer Responsive: Tablet */
    @media (max-width: 900px) {
      .footer__grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    /* Footer Responsive: Mobile */
    @media (max-width: 600px) {
      .footer__grid {
        grid-template-columns: 1fr;
        text-align: center;
      }

      .footer__brand {
        align-items: center;
      }

      .footer__section {
        align-items: center;
      }

      .footer__social {
        justify-content: center;
      }

      .footer__bottom {
        flex-direction: column;
        gap: var(--space-md);
      }
    }

    /* ═══════════════════════════════════════════════════════════════
       NAVIGATION BAR
       ═══════════════════════════════════════════════════════════════ */

    .navbar {
      position: fixed;
      top: var(--space-md);
      left: var(--space-md);
      right: var(--space-md);
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: var(--space-sm) var(--space-lg);
      background: var(--viso-glass-bg);
      border: 1px solid var(--viso-glass-border);
      border-radius: var(--radius-pill);
      backdrop-filter: blur(20px);
      opacity: 0;
      transform: translateY(-20px);
      transition: opacity 0.4s ease, transform 0.4s ease, background 0.3s ease;
    }

    .navbar--visible {
      opacity: 1;
      transform: translateY(0);
    }

    .navbar--scrolled {
      background: rgba(16, 0, 43, 0.9);
      box-shadow: 0 8px 32px rgba(5, 1, 10, 0.4);
    }

    .navbar__logo {
      display: flex;
      align-items: center;
      gap: var(--space-sm);
      text-decoration: none;
      color: var(--viso-text);
      font-weight: 700;
      font-size: 18px;
    }

    .navbar__logo-icon {
      width: 32px;
      height: 32px;
    }

    .navbar__links {
      display: flex;
      align-items: center;
      gap: var(--space-xl);
    }

    .navbar__link {
      color: var(--viso-text-muted);
      text-decoration: none;
      font-size: 14px;
      font-weight: 500;
      transition: color 0.2s ease;
    }

    .navbar__link:hover {
      color: var(--viso-text);
    }

    .navbar__link--active {
      color: var(--viso-accent-light);
    }

    .navbar__cta {
      padding: var(--space-sm) var(--space-lg);
      font-size: 14px;
    }

    /* Hamburger button - hidden on desktop */
    .navbar__hamburger {
      display: none;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      background: none;
      border: none;
      cursor: pointer;
      padding: var(--space-sm);
      z-index: 110;
    }

    .navbar__hamburger-line {
      display: block;
      width: 22px;
      height: 2px;
      background: var(--viso-text);
      border-radius: 2px;
      transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .navbar__hamburger--open .navbar__hamburger-line:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
    }

    .navbar__hamburger--open .navbar__hamburger-line:nth-child(2) {
      opacity: 0;
    }

    .navbar__hamburger--open .navbar__hamburger-line:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
    }

    /* Mobile menu overlay (lives outside navbar to avoid backdrop-filter containing block) */
    .navbar__mobile-menu {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: var(--space-2xl);
      background: rgba(5, 1, 10, 0.97);
      backdrop-filter: blur(20px);
      z-index: 99;
    }

    .navbar__mobile-menu--open {
      display: flex;
    }

    .navbar__mobile-menu .navbar__link {
      font-size: 24px;
      color: var(--viso-text-muted);
      text-decoration: none;
      font-weight: 500;
      transition: color 0.2s ease;
    }

    .navbar__mobile-menu .navbar__link:hover {
      color: var(--viso-text);
    }

    @media (max-width: 768px) {
      .navbar__links--inline {
        display: none;
      }

      .navbar__cta--desktop {
        display: none;
      }

      .navbar__hamburger {
        display: flex;
      }

      .navbar {
        padding: var(--space-sm) var(--space-md);
      }
    }

    /* ═══════════════════════════════════════════════════════════════
       ANIMATIONS
       ═══════════════════════════════════════════════════════════════ */

    .animate-in {
      opacity: 0;
      transform: translateY(30px);
    }

    /* Fallback: if JS fails, make content visible */
    .no-js .animate-in {
      opacity: 1;
      transform: none;
    }

    .animate-in--visible {
      opacity: 1;
      transform: translateY(0);
      transition: opacity 0.6s ease, transform 0.6s var(--ease-smooth);
    }

    /* Stagger delays */
    .stagger-1 { transition-delay: 0.1s; }
    .stagger-2 { transition-delay: 0.2s; }
    .stagger-3 { transition-delay: 0.3s; }
    .stagger-4 { transition-delay: 0.4s; }
    .stagger-5 { transition-delay: 0.5s; }
    .stagger-6 { transition-delay: 0.6s; }

    /* ═══════════════════════════════════════════════════════════════
       RESPONSIVE
       ═══════════════════════════════════════════════════════════════ */

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

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

      .bento-card--hero {
        grid-column: span 1;
        height: 420px;
      }
    }

    @media (max-width: 768px) {
      .section {
        padding: var(--space-2xl) var(--space-md);
      }

      .demo__wrapper {
        flex-direction: column;
      }

      .demo__visual {
        position: relative;
        height: auto;
        flex: none;
        width: 100%;
        padding: var(--space-2xl) var(--space-md);
        order: -1;
      }

      .demo__content {
        padding: var(--space-xl) var(--space-md);
      }

      .demo__step {
        min-height: auto;
        padding: var(--space-xl) 0;
        opacity: 1;
      }

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

      .feature-card {
        min-height: auto;
      }

      .dashboard__bento {
        grid-template-columns: 1fr;
        gap: var(--space-md);
      }

      .bento-card--hero {
        grid-column: span 1;
        height: 500px;
      }

      .pricing__grid {
        grid-template-columns: 1fr;
        max-width: 400px;
      }

      .hero__phone {
        width: 240px;
        height: 480px;
      }

      .btn-group {
        flex-direction: column;
        width: 100%;
      }

      .btn {
        width: 100%;
        justify-content: center;
      }
    }

    @media (max-width: 480px) {
      .viso-aurora__blob {
        filter: blur(80px);
        opacity: 0.3;
      }

      .hero__phone {
        width: 220px;
        height: 440px;
      }
    }

    /* Reduced motion */
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }

      .viso-aurora__blob {
        animation: none;
      }
    }

    /* ═══════════════════════════════════════════════════════════════
       LOADING SCREEN
       ═══════════════════════════════════════════════════════════════ */

    .loading-screen {
      position: fixed;
      inset: 0;
      z-index: 1000;
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--viso-bg);
      transition: opacity 0.5s ease-out;
    }

    .loading-screen--hidden {
      opacity: 0;
      pointer-events: none;
    }

    .loading-screen__logo {
      animation: logo-pulse 2s ease-in-out infinite;
    }

    @keyframes logo-pulse {
      0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 20px rgba(157, 78, 221, 0.4));
      }
      50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 40px rgba(157, 78, 221, 0.8)) drop-shadow(0 0 60px rgba(199, 125, 255, 0.4));
      }
    }

    /* ═══════════════════════════════════════════════════════════════
       ACCESSIBILITY - FOCUS STATES (WCAG 2.1 AA)
       ═══════════════════════════════════════════════════════════════ */

    /* Focus visible outline for all interactive elements */
    .btn:focus-visible,
    .navbar__link:focus-visible,
    .navbar__logo:focus-visible,
    .pricing-card:focus-visible,
    .footer__link:focus-visible,
    .widget-upload__btn:focus-visible,
    .widget-result__btn:focus-visible {
      outline: 2px solid var(--viso-accent);
      outline-offset: 2px;
    }

    /* Remove default outline when using :focus-visible */
    .btn:focus:not(:focus-visible),
    .navbar__link:focus:not(:focus-visible),
    .navbar__logo:focus:not(:focus-visible),
    .pricing-card:focus:not(:focus-visible),
    .footer__link:focus:not(:focus-visible),
    .widget-upload__btn:focus:not(:focus-visible),
    .widget-result__btn:focus:not(:focus-visible) {
      outline: none;
    }

    /* Skip to content link */
    .skip-link {
      position: absolute;
      top: -100px;
      left: var(--space-md);
      z-index: 1000;
      padding: var(--space-sm) var(--space-md);
      background: var(--viso-accent);
      color: var(--viso-text);
      text-decoration: none;
      font-weight: 600;
      font-size: 14px;
      border-radius: var(--radius-sm);
      transition: top 0.2s ease;
    }

    .skip-link:focus {
      top: var(--space-md);
      outline: 2px solid var(--viso-text);
      outline-offset: 2px;
    }

    /* Ensure pricing cards are focusable with visual feedback */
    .pricing-card:focus-visible {
      border-color: var(--viso-accent);
      box-shadow: 0 0 0 2px var(--viso-accent), 0 16px 48px rgba(5, 1, 10, 0.5);
    }

    /* Slider handle focus state */
    .widget-result__handle:focus-visible {
      outline: none;
    }

    .widget-result__handle:focus-visible::before {
      box-shadow: 0 0 0 3px var(--viso-accent), 0 2px 10px rgba(0, 0, 0, 0.3);
    }

/* ==========================================
   Team Section — Glassmorphism Cards
   ========================================== */

.team {
  min-height: auto;
  padding: var(--space-3xl) var(--space-lg);
  overflow: hidden;
}

.team__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  max-width: 1000px;
  margin: 0 auto;
  perspective: 1000px;
}

/* --- Card wrapper (gradient border) --- */
.team-card {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 2px;
  background: linear-gradient(
    135deg,
    rgba(157, 78, 221, 0.4) 0%,
    rgba(90, 24, 154, 0.15) 50%,
    rgba(199, 125, 255, 0.3) 100%
  );
  transform-style: preserve-3d;
  transition: transform var(--duration-slow) var(--ease-smooth);
  will-change: transform;
}

.team-card__inner {
  background: var(--viso-glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: calc(var(--radius-xl) - 2px);
  padding: var(--space-xl) var(--space-lg) var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-sm);
  position: relative;
  z-index: 1;
  height: 100%;
}

/* Hover glow behind card */
.team-card__glow {
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-xl);
  background: radial-gradient(
    ellipse at 50% 0%,
    rgba(157, 78, 221, 0.3) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity var(--duration-slow) ease;
  z-index: 0;
  filter: blur(20px);
}

.team-card:hover .team-card__glow {
  opacity: 1;
}

.team-card:hover {
  background: linear-gradient(
    135deg,
    rgba(199, 125, 255, 0.6) 0%,
    rgba(157, 78, 221, 0.3) 50%,
    rgba(199, 125, 255, 0.5) 100%
  );
}

/* --- Photo --- */
.team-card__photo-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: var(--space-xs);
}

.team-card__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  filter: grayscale(60%) contrast(1.05) brightness(0.95);
  transition: filter var(--duration-slow) ease, transform var(--duration-normal) var(--ease-spring);
}

.team-card:hover .team-card__photo {
  filter: grayscale(0%) contrast(1) brightness(1);
  transform: scale(1.05);
}

/* Animated ring around photo */
.team-card__photo-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: conic-gradient(
    from 0deg,
    var(--viso-accent-light),
    var(--viso-accent-dark),
    var(--viso-accent),
    var(--viso-accent-light)
  ) border-box;
  -webkit-mask:
    linear-gradient(#fff 0 0) padding-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--duration-slow) ease;
  z-index: 1;
}

.team-card:hover .team-card__photo-ring {
  opacity: 1;
  animation: spin-ring 4s linear infinite;
}

@keyframes spin-ring {
  to { transform: rotate(360deg); }
}

/* --- Text --- */
.team-card__name {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--viso-text);
  letter-spacing: -0.01em;
}

.team-card__role {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--viso-accent-light);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 4px 12px;
  background: rgba(157, 78, 221, 0.15);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(157, 78, 221, 0.25);
  min-height: 28px;
  max-width: 100%;
  margin-top: auto;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .team__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }
}

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

  .team-card__photo-wrapper {
    width: 100px;
    height: 100px;
  }

  .team-card__photo {
    width: 100px;
    height: 100px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   APP-LIKE DASHBOARD PREVIEW
   ═══════════════════════════════════════════════════════════════ */

.app-preview {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Browser Chrome */
.app-preview__chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
}

.app-preview__dots {
  display: flex;
  gap: 6px;
}

.app-preview__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.app-preview__dot--red { background: #ef4444; }
.app-preview__dot--yellow { background: #fbbf24; }
.app-preview__dot--green { background: #22c55e; }

.app-preview__url {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: #ffffff;
  border-radius: 6px;
  font-size: 11px;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.app-preview__url svg {
  color: #22c55e;
  flex-shrink: 0;
}

/* App Layout */
.app-preview__layout {
  display: flex;
  flex: 1;
  min-height: 0;
}

/* Sidebar */
.app-sidebar {
  width: 160px;
  background: #f8fafc;
  border-right: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.app-sidebar__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px;
  border-bottom: 1px solid #e2e8f0;
}

.app-sidebar__logo {
  font-size: 14px;
  font-weight: 700;
  color: #6366f1;
}

.app-sidebar__badge {
  font-size: 9px;
  font-weight: 600;
  padding: 2px 6px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  border-radius: 4px;
  text-transform: uppercase;
}

.app-sidebar__nav {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.app-sidebar__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: none;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
}

.app-sidebar__item:hover {
  background: #e2e8f0;
  color: #334155;
}

.app-sidebar__item--active {
  background: #6366f1;
  color: white;
}

.app-sidebar__item--active:hover {
  background: #4f46e5;
  color: white;
}

.app-sidebar__item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.app-sidebar__footer {
  padding: 12px;
  border-top: 1px solid #e2e8f0;
  margin-top: auto;
}

.app-sidebar__credits {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.app-sidebar__credits-label {
  font-size: 10px;
  font-weight: 500;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.app-sidebar__credits-bar {
  height: 4px;
  background: #e2e8f0;
  border-radius: 2px;
  overflow: hidden;
}

.app-sidebar__credits-fill {
  height: 100%;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  border-radius: 2px;
}

.app-sidebar__credits-value {
  font-size: 10px;
  font-weight: 600;
  color: #64748b;
}

/* Main Content */
.app-main {
  flex: 1;
  background: #ffffff;
  overflow: hidden;
  min-width: 0;
}

/* Panels */
.app-panel {
  display: none;
  height: 100%;
  flex-direction: column;
  padding: 12px;
  gap: 10px;
  overflow-y: auto;
}

.app-panel--active {
  display: flex;
}

.app-panel__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.app-panel__title {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
}

.app-panel__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-panel__status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #64748b;
}

.app-panel__status-dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

.app-panel__filters {
  display: flex;
  gap: 6px;
}

.app-panel__tabs-mini {
  display: flex;
  gap: 4px;
}

.app-panel__tab-mini {
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 500;
  color: #64748b;
  background: #f1f5f9;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.app-panel__tab-mini--active {
  background: #6366f1;
  color: white;
}

/* Stats Grid */
.app-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.app-stat {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.app-stat__icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e0e7ff;
  border-radius: 6px;
  color: #6366f1;
  flex-shrink: 0;
}

.app-stat__icon--purple { background: #f3e8ff; color: #9333ea; }
.app-stat__icon--green { background: #dcfce7; color: #16a34a; }
.app-stat__icon--blue { background: #dbeafe; color: #2563eb; }

.app-stat__content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.app-stat__value {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}

.app-stat__label {
  font-size: 9px;
  color: #64748b;
  white-space: nowrap;
}

.app-stat__badge {
  font-size: 8px;
  font-weight: 600;
  padding: 2px 5px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  border-radius: 3px;
  margin-left: auto;
  align-self: flex-start;
}

.app-stat__trend {
  font-size: 9px;
  font-weight: 600;
  padding: 2px 4px;
  border-radius: 3px;
  margin-left: auto;
  align-self: flex-start;
}

.app-stat__trend--up {
  background: #dcfce7;
  color: #16a34a;
}

.app-stat__sublabel {
  font-size: 9px;
  color: #94a3b8;
  margin-left: auto;
  align-self: flex-start;
}

/* Cards */
.app-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px;
}

.app-card--highlight {
  border-color: #c7d2fe;
  background: linear-gradient(135deg, #eef2ff 0%, #ffffff 100%);
}

.app-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.app-card__title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #475569;
}

.app-card__title svg {
  color: #6366f1;
}

.app-card__value {
  font-size: 10px;
  font-weight: 600;
  color: #6366f1;
}

.app-card__link {
  font-size: 10px;
  color: #6366f1;
  text-decoration: none;
}

.app-card__badge {
  font-size: 9px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
}

.app-card__badge--success {
  background: #dcfce7;
  color: #16a34a;
}

/* Chart */
.app-chart {
  width: 100%;
  height: 50px;
  display: block;
}

.app-chart__labels {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  color: #94a3b8;
  margin-top: 4px;
}

/* Recent Items */
.app-recent {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.app-recent__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  background: #f8fafc;
  border-radius: 6px;
}

.app-recent__img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  flex-shrink: 0;
}

.app-recent__info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.app-recent__name {
  font-size: 10px;
  font-weight: 500;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-recent__meta {
  font-size: 9px;
  color: #94a3b8;
}

/* Select */
.app-select {
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 500;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  cursor: pointer;
}

.app-select--sm {
  padding: 3px 6px;
  font-size: 9px;
}

/* Performance Stats */
.app-perf {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.app-perf__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.app-perf__value {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
}

.app-perf__label {
  font-size: 9px;
  color: #64748b;
}

.app-perf__trend {
  font-size: 9px;
  font-weight: 600;
  color: #16a34a;
}

/* Funnel */
.app-funnel {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.app-funnel__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.app-funnel__fill {
  height: 22px;
  background: linear-gradient(90deg, #6366f1, #818cf8);
  border-radius: 4px;
  position: absolute;
  left: 60px;
  opacity: 0.15;
}

.app-funnel__label {
  font-size: 10px;
  font-weight: 500;
  color: #475569;
  width: 55px;
  flex-shrink: 0;
}

.app-funnel__value {
  font-size: 10px;
  font-weight: 600;
  color: #1e293b;
  margin-left: auto;
}

.app-funnel__footer {
  text-align: center;
  font-size: 10px;
  color: #64748b;
  padding-top: 8px;
  border-top: 1px solid #e2e8f0;
  margin-top: 4px;
}

.app-funnel__footer strong {
  color: #6366f1;
}

/* Gallery */
.app-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.app-gallery__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.app-gallery__img {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}

/* Human silhouettes in gallery cards */
.app-gallery__item:nth-child(1) .app-gallery__img::before,
.app-gallery__item:nth-child(2) .app-gallery__img::before,
.app-gallery__item:nth-child(3) .app-gallery__img::before,
.app-gallery__item:nth-child(4) .app-gallery__img::before,
.app-gallery__item:nth-child(5) .app-gallery__img::before,
.app-gallery__item:nth-child(6) .app-gallery__img::before {
  content: '';
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 65% 88%;
}

.app-gallery__item:nth-child(1) .app-gallery__img::before { background-image: url('../img/avatars/pose-1.svg'); }
.app-gallery__item:nth-child(2) .app-gallery__img::before { background-image: url('../img/avatars/pose-2.svg'); }
.app-gallery__item:nth-child(3) .app-gallery__img::before { background-image: url('../img/avatars/pose-3.svg'); }
.app-gallery__item:nth-child(4) .app-gallery__img::before { background-image: url('../img/avatars/pose-4.svg'); }
.app-gallery__item:nth-child(5) .app-gallery__img::before { background-image: url('../img/avatars/pose-5.svg'); }
.app-gallery__item:nth-child(6) .app-gallery__img::before { background-image: url('../img/avatars/pose-6.svg'); }

.app-gallery__name {
  font-size: 9px;
  font-weight: 500;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-gallery__badge {
  font-size: 8px;
  font-weight: 500;
  color: #64748b;
}

.app-gallery__badge--studio {
  color: #8b5cf6;
}

/* Settings */
.app-settings__row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.app-settings__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

/* Checkbox */
.app-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 10px;
  color: #475569;
  cursor: pointer;
}

.app-checkbox input {
  display: none;
}

.app-checkbox__box {
  width: 14px;
  height: 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 3px;
  flex-shrink: 0;
  position: relative;
  transition: all 0.15s ease;
}

.app-checkbox input:checked + .app-checkbox__box {
  background: #6366f1;
  border-color: #6366f1;
}

.app-checkbox input:checked + .app-checkbox__box::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.app-checkbox__desc {
  display: block;
  font-size: 9px;
  color: #94a3b8;
  margin-top: 2px;
}

/* Responsive - App Preview */
@media (max-width: 1024px) {
  .app-sidebar {
    width: 140px;
  }

  .app-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .app-perf {
    grid-template-columns: repeat(2, 1fr);
  }

  .app-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .app-preview__layout {
    flex-direction: column;
  }

  .app-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
  }

  .app-sidebar__nav {
    flex-direction: row;
    overflow-x: auto;
    padding: 6px 8px;
  }

  .app-sidebar__item {
    white-space: nowrap;
    padding: 6px 10px;
  }

  .app-sidebar__footer {
    display: none;
  }

  .app-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .app-stat__icon {
    width: 24px;
    height: 24px;
  }

  .app-stat__value {
    font-size: 12px;
  }

  .app-perf {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .app-gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .app-settings__grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════════
   APP PREVIEW - EXTENDED STYLES
   ═══════════════════════════════════════════════════════════════ */

/* Banners */
.app-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 10px;
  margin-bottom: 8px;
}

.app-banner--info {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.app-banner--info svg {
  color: #22c55e;
  flex-shrink: 0;
}

.app-banner--promo {
  background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
  border: 1px solid #e9d5ff;
  color: #6b21a8;
}

.app-banner--promo svg {
  color: #9333ea;
  flex-shrink: 0;
}

.app-banner__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.app-banner__text span {
  font-size: 9px;
  opacity: 0.8;
}

.app-banner__link {
  color: #16a34a;
  font-weight: 600;
  text-decoration: none;
  margin-left: auto;
}

.app-banner__btn {
  padding: 4px 10px;
  background: #1f2937;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 600;
  cursor: pointer;
}

.app-banner__btn--outline {
  background: transparent;
  border: 1px solid #cbd5e1;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 4px;
}

.app-banner__btn--outline:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

/* Enhanced Stat Cards */
.app-stat--with-bar,
.app-stat--with-chart {
  flex-direction: column;
  align-items: stretch;
}

.app-stat__header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.app-stat__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.app-stat__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.app-stat__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}

.app-stat__bar {
  width: 100%;
  height: 4px;
  background: #e2e8f0;
  border-radius: 2px;
  margin-top: 8px;
  overflow: hidden;
}

.app-stat__bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #22c55e, #16a34a);
  border-radius: 2px;
}

.app-stat__sparkline {
  width: 50px;
  height: 20px;
}

/* Chart Card Enhancements */
.app-card--chart {
  padding: 12px;
}

.app-card__title-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.app-card__subtitle {
  font-size: 9px;
  color: #94a3b8;
  font-weight: 400;
}

/* Bar Chart */
.app-chart__bar-container {
  display: flex;
  gap: 8px;
  height: 80px;
  margin: 8px 0;
}

.app-chart__y-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 8px;
  color: #94a3b8;
  text-align: right;
  padding-right: 4px;
  width: 24px;
}

.app-chart__bars {
  flex: 1;
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  gap: 4px;
  border-bottom: 1px solid #e2e8f0;
}

.app-chart__bar-group {
  display: flex;
  gap: 2px;
  align-items: flex-end;
  height: 100%;
}

.app-chart__bar {
  width: 8px;
  border-radius: 2px 2px 0 0;
  transition: height 0.3s ease;
}

.app-chart__bar--cart {
  background: #a855f7;
}

.app-chart__bar--revenue {
  background: #22c55e;
}

.app-chart__legend {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
}

.app-chart__legend-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  color: #64748b;
}

.app-chart__legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}

.app-chart__legend-dot--cart {
  background: #a855f7;
}

.app-chart__legend-dot--revenue {
  background: #22c55e;
}

/* Stats Extensions */
.app-stat__sub {
  font-size: 8px;
  color: #94a3b8;
}

.app-stats--compact {
  gap: 6px;
}

.app-stat--mini {
  padding: 8px;
}

.app-stat--mini .app-stat__icon {
  width: 24px;
  height: 24px;
}

.app-stat--mini .app-stat__value {
  font-size: 13px;
}

/* Row Layout */
.app-row {
  display: flex;
  gap: 8px;
}

/* Card Extensions */
.app-card--flex {
  flex: 1;
}

.app-card--roi {
  background: linear-gradient(135deg, #fefce8 0%, #fef9c3 100%);
  border-color: #fde047;
}

.app-card--filters {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.app-card--compact {
  padding: 8px;
}

.app-card--compact .app-card__header {
  margin-bottom: 6px;
}

.app-card__subtitle {
  font-size: 10px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.app-card__desc {
  font-size: 9px;
  color: #94a3b8;
  margin: 0 0 8px 0;
}

.app-card__sub {
  font-size: 9px;
  color: #94a3b8;
}

/* Progress Bar */
.app-progress {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.app-progress__bar {
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
}

.app-progress__fill {
  height: 100%;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  border-radius: 3px;
}

.app-progress__labels {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #64748b;
}

/* Recent Try-Ons Extensions */
.app-recent__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  background: #f8fafc;
  border-radius: 6px;
}

.app-recent__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.app-recent__badge {
  display: inline-block;
  font-size: 8px;
  font-weight: 600;
  padding: 2px 6px;
  background: #dcfce7;
  color: #16a34a;
  border-radius: 3px;
  width: fit-content;
}

.app-recent__badge--studio {
  background: #f3e8ff;
  color: #9333ea;
}

.app-recent__time {
  font-size: 9px;
  color: #94a3b8;
  margin-left: auto;
}

/* ROI Summary */
.app-roi {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.app-roi__text {
  font-size: 10px;
  color: #854d0e;
  line-height: 1.4;
}

.app-roi__value {
  font-size: 20px;
  font-weight: 700;
  color: #854d0e;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.app-roi__value span {
  font-size: 9px;
  font-weight: 500;
  color: #a16207;
}

/* Funnel Extensions */
.app-funnel--colored .app-funnel__bar {
  position: relative;
}

.app-funnel__fill--1 { background: linear-gradient(90deg, #0ea5e9, #38bdf8); }
.app-funnel__fill--2 { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.app-funnel__fill--3 { background: linear-gradient(90deg, #8b5cf6, #a78bfa); }
.app-funnel__fill--4 { background: linear-gradient(90deg, #22c55e, #4ade80); }
.app-funnel__fill--5 { background: linear-gradient(90deg, #06b6d4, #22d3ee); }

.app-funnel__summary {
  text-align: center;
  padding: 8px;
  background: #dcfce7;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 500;
  color: #166534;
  margin-top: 8px;
}

/* Search */
.app-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
}

.app-search svg {
  color: #94a3b8;
  flex-shrink: 0;
}

.app-search input {
  flex: 1;
  border: none;
  background: none;
  font-size: 11px;
  color: #1e293b;
  outline: none;
}

.app-search input::placeholder {
  color: #94a3b8;
}

/* Filters */
.app-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* Gallery Extensions */
.app-gallery__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #64748b;
  margin-left: auto;
}

.app-gallery__tag {
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 600;
}

.app-gallery__tag--green {
  background: #dcfce7;
  color: #16a34a;
}

.app-gallery__tag--purple {
  background: #f3e8ff;
  color: #9333ea;
}

.app-gallery__info {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  font-size: 9px;
  color: #94a3b8;
}

/* Settings Layout */
.app-settings__layout {
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 10px;
}

.app-settings__main {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.app-settings__sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Quick Stats */
.app-quickstats {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.app-quickstats__row {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #64748b;
}

.app-quickstats__row strong {
  color: #1e293b;
}

.app-quickstats__highlight {
  color: #16a34a !important;
}

/* Plan Card */
.app-plan {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.app-plan__label {
  font-size: 10px;
  color: #64748b;
}

/* Settings Tab Content */
.app-settings__tab-content {
  display: none;
}

.app-settings__tab-content--active {
  display: block;
}

/* Color Picker */
.app-settings__color-row {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.app-settings__color-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.app-settings__color-label {
  font-size: 10px;
  color: #64748b;
}

.app-settings__color-picker {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
}

.app-settings__color-swatch {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid rgba(0,0,0,0.1);
}

.app-settings__color-value {
  font-size: 10px;
  font-family: monospace;
  color: #475569;
}

/* Radio Buttons */
.app-settings__radio-row {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.app-radio {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #475569;
  cursor: pointer;
}

.app-radio input {
  display: none;
}

.app-radio__box {
  width: 14px;
  height: 14px;
  border: 2px solid #cbd5e1;
  border-radius: 50%;
  position: relative;
  transition: all 0.15s ease;
}

.app-radio input:checked + .app-radio__box {
  border-color: #a855f7;
}

.app-radio input:checked + .app-radio__box::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background: #a855f7;
  border-radius: 50%;
}

/* Limit Settings */
.app-settings__limit-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.app-settings__limit-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.app-settings__limit-label {
  font-size: 11px;
  color: #475569;
}

/* Checkbox Extensions */
.app-checkbox__content {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.app-checkbox__content strong {
  font-size: 10px;
  color: #1e293b;
}

.app-checkbox__content span {
  font-size: 9px;
  color: #94a3b8;
}

/* ── New Settings Styles ── */

/* Full-width select */
.app-select--full {
  width: 100%;
  padding: 5px 8px;
  font-size: 10px;
  font-weight: 500;
  color: #1e293b;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 6px center;
  padding-right: 22px;
}

/* Field groups */
.app-settings__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 6px;
}

.app-settings__field-label {
  font-size: 9px;
  font-weight: 600;
  color: #475569;
}

.app-settings__field-hint {
  font-size: 8px;
  color: #94a3b8;
  margin: 2px 0 4px;
}

.app-settings__field-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.app-settings__field--half {
  flex: 1;
}

.app-settings__field-value {
  padding: 4px 8px;
  font-size: 10px;
  color: #1e293b;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  text-align: right;
}

.app-settings__field-inline {
  margin-top: 4px;
}

.app-settings__field-unit {
  font-size: 9px;
  color: #64748b;
}

.app-settings__input-box {
  width: 50px;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 600;
  color: #1e293b;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  text-align: center;
}

/* Toggle row for preferences */
.app-settings__toggle-row {
  margin-top: 6px;
  padding: 6px 8px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 6px;
}

.app-settings__toggle-text {
  font-size: 9px;
  color: #166534;
  line-height: 1.3;
}

/* Feature sections */
.app-settings__feature-section {
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid #f1f5f9;
}

.app-settings__feature-section:first-of-type {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

.app-settings__section-label {
  display: block;
  font-size: 9px;
  font-weight: 700;
  color: #1e293b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

/* Tag input */
.app-settings__tag-input {
  padding: 6px 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  min-height: 28px;
}

.app-settings__tag-placeholder {
  font-size: 10px;
  color: #94a3b8;
}

/* Info banner */
.app-settings__info-banner {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: 6px 8px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 6px;
  margin: 6px 0;
}

.app-settings__info-banner svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.app-settings__info-banner span {
  font-size: 9px;
  color: #1e40af;
  line-height: 1.4;
}

/* Language tags */
.app-settings__lang-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0;
}

.app-settings__lang-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 9px;
  color: #475569;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

.app-settings__lang-tag strong {
  font-size: 9px;
  font-weight: 700;
  padding: 1px 3px;
  border-radius: 2px;
  color: white;
}

.app-settings__lang-tag--de strong { background: #1e293b; }
.app-settings__lang-tag--fr strong { background: #ef4444; }
.app-settings__lang-tag--en strong { background: #3b82f6; }
.app-settings__lang-tag--sk strong { background: #8b5cf6; }

.app-settings__lang-tag svg {
  cursor: pointer;
  opacity: 0.5;
}

.app-settings__add-btn {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 9px;
  font-weight: 500;
  color: #475569;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 4px;
  cursor: pointer;
  margin-bottom: 8px;
}

.app-settings__translation-btn {
  display: block;
  width: 100%;
  padding: 7px 0;
  font-size: 10px;
  font-weight: 600;
  color: white;
  background: #1e293b;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  margin-top: 4px;
}

/* Tips */
.app-settings__tips {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.app-settings__tips p {
  font-size: 9px;
  color: #475569;
  line-height: 1.4;
  padding-left: 8px;
  position: relative;
}

.app-settings__tips p::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: #94a3b8;
}

/* Quick Links */
.app-settings__links {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.app-settings__links .app-card__link {
  font-size: 9px;
  color: #3b82f6;
}

/* Help text */
.app-settings__help-text {
  font-size: 9px;
  color: #64748b;
  margin-bottom: 4px;
}

/* Green badge variant */
.app-stat__badge--green {
  background: #16a34a;
  color: white;
}

/* ── Appearance Tab Specific ── */

/* Slider */
.app-settings__slider-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-settings__slider {
  flex: 1;
  height: 4px;
  background: #e2e8f0;
  border-radius: 2px;
  position: relative;
}

.app-settings__slider-fill {
  height: 100%;
  background: #1e293b;
  border-radius: 2px;
}

.app-settings__slider-thumb {
  width: 10px;
  height: 10px;
  background: #1e293b;
  border: 2px solid white;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.app-settings__slider-val {
  font-size: 10px;
  font-weight: 600;
  color: #1e293b;
  min-width: 24px;
  text-align: right;
}

/* Theme section */
.app-settings__theme-section {
  margin-top: 4px;
}

/* Button Preview */
.app-settings__btn-preview {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  background: #f8fafc;
  border-radius: 6px;
  margin-bottom: 6px;
}

.app-settings__btn-preview-product {
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-settings__preview-dot {
  width: 28px;
  height: 28px;
  background: #e2e8f0;
  border-radius: 4px;
  flex-shrink: 0;
}

.app-settings__preview-name {
  font-size: 10px;
  font-weight: 600;
  color: #1e293b;
}

.app-settings__preview-price {
  font-size: 9px;
  color: #64748b;
}

.app-settings__preview-cart-btn {
  padding: 5px 0;
  font-size: 9px;
  font-weight: 500;
  color: #475569;
  background: #f1f5f9;
  border-radius: 4px;
  text-align: center;
}

.app-settings__preview-tryon-btn {
  padding: 5px 0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #8B5cF6;
  border: 1.5px solid #8B5cF6;
  border-radius: 20px;
  text-align: center;
}

.app-settings__preview-tabs {
  display: flex;
  gap: 4px;
  justify-content: center;
}

.app-settings__preview-tab {
  font-size: 8px;
  padding: 2px 6px;
  border-radius: 3px;
  color: #64748b;
  background: #f1f5f9;
}

.app-settings__preview-tab--active {
  background: #e0e7ff;
  color: #4f46e5;
}

/* Appearance Preview Modal */
.app-settings__modal-preview {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.app-settings__modal-dark {
  background: #1a1a2e;
  border-radius: 6px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.app-settings__modal-header-bar span {
  font-size: 7px;
  font-weight: 700;
  color: #999;
  letter-spacing: 0.08em;
}

.app-settings__modal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.app-settings__modal-cell {
  aspect-ratio: 1;
  background: #2a2a44;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-settings__modal-circle {
  width: 18px;
  height: 18px;
  border: 1.5px solid #8B5cF6;
  border-radius: 50%;
  opacity: 0.6;
}

.app-settings__modal-circle--sm {
  width: 14px;
  height: 14px;
}

.app-settings__modal-section-label {
  font-size: 6px;
  font-weight: 700;
  color: #666;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

.app-settings__modal-upload {
  font-size: 7px;
  font-weight: 700;
  color: #8B5cF6;
  text-align: center;
  padding: 6px;
  border: 1px dashed #8B5cF6;
  border-radius: 4px;
  opacity: 0.7;
}

.app-settings__modal-upload-sub {
  font-size: 6px;
  color: #666;
  text-align: center;
  margin-top: -4px;
}

.app-settings__modal-result-label {
  font-size: 6px;
  font-weight: 700;
  color: #999;
  letter-spacing: 0.08em;
}

.app-settings__modal-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.app-settings__modal-result-card {
  aspect-ratio: 3/4;
  background: #2a2a44;
  border-radius: 4px;
}

.app-settings__modal-preview-tabs {
  display: flex;
  gap: 4px;
  justify-content: center;
}

/* Appearance sidebar wider */
.app-settings__sidebar--appearance {
  min-width: 140px;
}

/* ── Limits Tab Specific ── */

/* Status info */
.app-settings__status-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-top: 2px;
}

.app-settings__status-label {
  font-size: 9px;
  color: #64748b;
}

.app-settings__status-value {
  font-size: 12px;
  font-weight: 700;
  color: #1e293b;
}

.app-settings__status-sub {
  font-size: 8px;
  color: #94a3b8;
}

/* Credits button */
.app-settings__credits-btn {
  display: block;
  width: 100%;
  padding: 5px 0;
  font-size: 9px;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  margin-top: 6px;
}

/* Protection levels */
.app-settings__protection {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.app-settings__protection-item {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.app-settings__protection-item strong {
  font-size: 9px;
  font-weight: 600;
  color: #1e293b;
}

.app-settings__protection-item span {
  font-size: 8px;
  color: #64748b;
  line-height: 1.4;
}

/* Responsive - Settings Layout */
@media (max-width: 768px) {
  .app-settings__layout {
    grid-template-columns: 1fr;
  }

  .app-settings__sidebar {
    flex-direction: row;
  }

  .app-settings__sidebar .app-card {
    flex: 1;
  }

  .app-banner {
    flex-wrap: wrap;
  }

  .app-banner__text {
    width: 100%;
    order: 1;
  }

  .app-banner__btn {
    margin-left: auto;
  }

  .app-roi {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .app-roi__value {
    align-items: center;
  }
}

/* ========================================
   ANALYTICS PANEL STYLES
   ======================================== */

/* Credits in header */
.an-credits {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  font-size: 9px;
  color: #64748b;
}

.an-credits__val {
  font-weight: 600;
  color: #1e293b;
}

/* Taller chart */
.app-chart--tall {
  height: 80px;
}

/* Success Rate Bar */
.an-success-bar {
  text-align: center;
  font-size: 10px;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 500;
}

.an-success-bar--green {
  background: #dcfce7;
  color: #16a34a;
}

.an-success-bar--green span {
  font-weight: 400;
  color: #22c55e;
}

/* Donut Charts Row */
.an-donuts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}

.an-donut-card {
  text-align: center;
  padding: 10px !important;
}

.an-donut {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 8px auto;
}

.an-donut__svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.an-donut__center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.an-donut__number {
  font-size: 12px;
  font-weight: 700;
  color: #1e293b;
}

.an-donut__label {
  font-size: 8px;
  color: #94a3b8;
}

.an-donut__legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 6px;
}

.an-donut__legend span {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 8px;
  color: #64748b;
}

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

/* Horizontal Bars */
.an-hbars {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 0;
}

.an-hbars--products {
  gap: 6px;
}

.an-hbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 6px;
  align-items: center;
}

.an-hbar__label {
  font-size: 9px;
  color: #475569;
  white-space: nowrap;
  min-width: 40px;
}

.an-hbars--products .an-hbar__label {
  min-width: 100px;
  font-size: 10px;
}

.an-hbar__track {
  height: 8px;
  background: #f1f5f9;
  border-radius: 4px;
  overflow: hidden;
}

.an-hbar__fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.5s ease;
}

.an-hbar__val {
  font-size: 9px;
  font-weight: 600;
  color: #1e293b;
  min-width: 28px;
  text-align: right;
}

/* Product Performance Table */
.an-table {
  margin-top: 8px;
}

.an-table__header {
  display: grid;
  grid-template-columns: 2fr 0.8fr 0.8fr 0.8fr 0.8fr;
  gap: 4px;
  padding: 6px 0;
  border-bottom: 2px solid #e2e8f0;
  font-size: 9px;
  font-weight: 600;
  color: #475569;
}

.an-table__row {
  display: grid;
  grid-template-columns: 2fr 0.8fr 0.8fr 0.8fr 0.8fr;
  gap: 4px;
  padding: 6px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 9px;
  color: #64748b;
}

.an-table__row:hover {
  background: #f8fafc;
  margin: 0 -6px;
  padding-left: 6px;
  padding-right: 6px;
  border-radius: 4px;
}

.an-table__product {
  color: #1e293b;
  font-weight: 500;
}

.an-table__highlight {
  color: #16a34a;
  font-weight: 600;
}

/* Responsive Analytics */
@media (max-width: 768px) {
  .an-donuts {
    grid-template-columns: 1fr;
  }

  .an-credits {
    display: none;
  }

  .an-table__header,
  .an-table__row {
    grid-template-columns: 1.5fr 0.7fr 0.7fr 0.7fr 0.7fr;
    font-size: 8px;
  }
}

/* ========================================
   BILLING PANEL STYLES
   ======================================== */

/* Page Header */
.app-billing__page-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}

.app-billing__page-title {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
}

/* Credit Usage Card */
.app-billing__usage-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.app-billing__usage-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.app-billing__usage-title-row {
  display: flex;
  align-items: center;
  gap: 5px;
}

.app-billing__usage-title {
  font-size: 11px;
  font-weight: 600;
  color: #475569;
}

.app-billing__usage-date {
  font-size: 9px;
  color: #94a3b8;
  margin-left: 17px;
}

.app-billing__usage-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}

.app-stat__badge--growth {
  font-size: 7px;
  font-weight: 700;
  padding: 2px 6px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  border-radius: 3px;
  letter-spacing: 0.5px;
}

.app-billing__buy-link {
  font-size: 9px;
  color: #6366f1;
  cursor: pointer;
}

/* Circle Progress */
.app-billing__usage-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 0;
}

.app-billing__circle-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}

.app-billing__circle {
  position: relative;
  width: 72px;
  height: 72px;
}

.app-billing__circle-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.app-billing__circle-bg {
  fill: none;
  stroke: #e2e8f0;
  stroke-width: 2.5;
}

.app-billing__circle-fill {
  fill: none;
  stroke: #6366f1;
  stroke-width: 2.5;
  stroke-linecap: round;
}

.app-billing__circle-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}

.app-billing__circle-pct {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
}

.app-billing__circle-label {
  font-size: 7px;
  color: #94a3b8;
}

.app-billing__usage-stats {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 4px;
}

.app-billing__usage-stat {
  font-size: 9px;
  color: #64748b;
}

.app-billing__usage-stat--right {
  color: #94a3b8;
}

/* Usage Footer */
.app-billing__usage-footer {
  display: flex;
  justify-content: flex-start;
  border-top: 1px solid #f1f5f9;
  padding-top: 8px;
  margin-top: 8px;
}

.app-billing__history-link {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  color: #6366f1;
  cursor: pointer;
  font-weight: 500;
}

/* Credit Info Bar */
.app-billing__credit-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #f1f5f9;
  padding-top: 8px;
  margin-top: 8px;
}

.app-billing__credit-info-left {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 8px;
  color: #64748b;
}

.app-billing__credit-divider {
  color: #cbd5e1;
}

.app-billing__analytics-link {
  font-size: 8px;
  color: #6366f1;
  font-weight: 500;
  cursor: pointer;
}

/* Plan Cards Grid */
.app-billing__plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.app-billing__plan-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.app-billing__plan-card--current {
  border-color: #a5b4fc;
  background: linear-gradient(135deg, #eef2ff 0%, #ffffff 100%);
  box-shadow: 0 1px 4px rgba(99, 102, 241, 0.1);
}

.app-billing__plan-head {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.app-billing__plan-icon {
  font-size: 8px;
  color: #94a3b8;
}

.app-billing__plan-icon--starter {
  color: #3b82f6;
}

.app-billing__plan-icon--growth {
  color: #8b5cf6;
}

.app-billing__plan-icon--pro {
  color: #f59e0b;
}

.app-billing__plan-name {
  font-size: 9px;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: 0.3px;
}

.app-billing__plan-badges {
  display: flex;
  gap: 3px;
  flex-wrap: wrap;
}

.app-billing__plan-badge {
  font-size: 6px;
  font-weight: 600;
  padding: 1px 4px;
  border-radius: 2px;
  letter-spacing: 0.3px;
}

.app-billing__plan-badge--popular {
  background: #6366f1;
  color: white;
}

.app-billing__plan-badge--current {
  background: #dcfce7;
  color: #16a34a;
}

.app-billing__plan-badge--volume {
  background: #fef3c7;
  color: #d97706;
}

.app-billing__plan-save {
  font-size: 7px;
  font-weight: 600;
  color: #16a34a;
  background: #dcfce7;
  padding: 1px 4px;
  border-radius: 2px;
  margin-left: auto;
}

.app-billing__plan-pricing {
  display: flex;
  align-items: baseline;
  gap: 1px;
}

.app-billing__plan-amount {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
}

.app-billing__plan-period {
  font-size: 8px;
  color: #64748b;
}

.app-billing__plan-desc {
  font-size: 7px;
  color: #94a3b8;
  line-height: 1.3;
}

.app-billing__plan-features {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 4px;
  flex: 1;
}

.app-billing__plan-feat {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 8px;
  color: #475569;
  line-height: 1.3;
}

.app-billing__plan-feat--bold {
  font-weight: 600;
  color: #1e293b;
}

.app-billing__plan-feat--sub {
  font-size: 7px;
  color: #94a3b8;
  padding-left: 11px;
  margin-top: -2px;
}

.app-billing__plan-feat--disabled {
  color: #cbd5e1;
}

.app-billing__plan-cta {
  margin-top: 6px;
  display: flex;
}

.app-billing__plan-btn {
  display: inline-block;
  width: 100%;
  text-align: center;
  font-size: 8px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
}

.app-billing__plan-btn--primary {
  background: #6366f1;
  color: white;
}

.app-billing__plan-btn--outline {
  background: white;
  color: #1e293b;
  border: 1px solid #e2e8f0;
}

.app-billing__plan-btn--muted {
  background: #f1f5f9;
  color: #94a3b8;
  cursor: default;
}

/* Footer Info */
.app-billing__footer-info {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 7px;
  color: #78716c;
  line-height: 1.4;
}

.app-billing__footer-info strong {
  color: #44403c;
}

/* ========================================
   HELP PANEL STYLES
   ======================================== */

/* Page Header */
.app-help__page-header {
  margin-bottom: 10px;
}

.app-help__back-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.app-help__back-row > svg {
  color: #1e293b;
  margin-top: 3px;
  flex-shrink: 0;
}

.app-help__page-title {
  font-size: 12px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.2;
}

.app-help__page-subtitle {
  font-size: 9px;
  color: #64748b;
  margin-top: 1px;
}

/* Search Bar */
.app-help__search {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 6px 10px;
  margin-bottom: 12px;
}

.app-help__search svg {
  color: #94a3b8;
  flex-shrink: 0;
}

.app-help__search input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 10px;
  color: #1e293b;
  background: transparent;
}

.app-help__search input::placeholder {
  color: #94a3b8;
}

/* Two-Column Layout */
.app-help__layout {
  display: flex;
  gap: 12px;
}

.app-help__sections {
  flex: 1;
  min-width: 0;
}

.app-help__sidebar {
  width: 130px;
  flex-shrink: 0;
}

/* Documentation Section Items (accordion) */
.app-help__faq-item {
  border-bottom: 1px solid #f1f5f9;
}

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

.app-help__faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  cursor: pointer;
  transition: color 0.2s ease;
  gap: 6px;
}

.app-help__section-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.app-help__section-left > svg {
  color: #64748b;
  flex-shrink: 0;
}

.app-help__section-left > div {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.app-help__section-left span {
  font-size: 10px;
  font-weight: 500;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-help__section-left small {
  font-size: 8px;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-help__chevron {
  color: #94a3b8;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.app-help__faq-item--open .app-help__chevron {
  transform: rotate(180deg);
}

.app-help__faq-question:hover .app-help__section-left span {
  color: #a855f7;
}

.app-help__faq-answer {
  font-size: 9px;
  color: #64748b;
  line-height: 1.5;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.2s ease, padding 0.3s ease;
  padding: 0 0 0 20px;
}

.app-help__faq-item--open .app-help__faq-answer {
  max-height: 100px;
  opacity: 1;
  padding-bottom: 8px;
  padding-left: 20px;
}

/* Contents Sidebar */
.app-help__contents {
  background: #f8fafc;
  border-radius: 6px;
  padding: 8px;
  margin-bottom: 10px;
}

.app-help__contents-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.app-help__contents-header > span:first-child {
  font-size: 10px;
  font-weight: 600;
  color: #1e293b;
}

.app-help__collapse {
  font-size: 8px;
  color: #3b82f6;
  cursor: pointer;
}

.app-help__contents-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.app-help__contents-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 8px;
  color: #64748b;
  padding: 3px 6px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-help__contents-item svg {
  flex-shrink: 0;
}

.app-help__contents-item:hover {
  background: #e2e8f0;
}

.app-help__contents-item--active {
  background: #1e293b;
  color: #fff;
  border-radius: 4px;
}

.app-help__contents-item--active:hover {
  background: #334155;
}

/* Contact Section */
.app-help__contact {
  padding: 0 2px;
}

.app-help__contact-title {
  font-size: 9px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 5px;
}

.app-help__contact-item {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 3px;
}

.app-help__contact-item span {
  font-size: 8px;
  color: #3b82f6;
}

.app-help__contact-item--phone span {
  color: #64748b;
  font-size: 8px;
}

.app-help__contact-label {
  font-size: 8px;
  color: #1e293b;
  font-weight: 500;
  margin-top: 4px;
  margin-bottom: 2px;
}

/* Responsive - Billing */
@media (max-width: 768px) {
  .app-billing__plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .app-help__layout {
    flex-direction: column;
  }

  .app-help__sidebar {
    width: 100%;
  }
}

/* ========================================
   GALLERY PANEL STYLES
   ======================================== */

/* Search Bar */
.gal-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 7px 12px;
  margin-bottom: 10px;
}

.gal-search svg {
  color: #94a3b8;
  flex-shrink: 0;
}

.gal-search input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 11px;
  color: #1e293b;
  background: transparent;
}

.gal-search input::placeholder {
  color: #94a3b8;
}

/* Filter Pills Row */
.gal-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.gal-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 9px;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.gal-pill:hover {
  border-color: #a855f7;
  color: #475569;
}

.gal-pill strong {
  color: #1e293b;
  font-weight: 600;
}

.gal-pill svg {
  color: #94a3b8;
  flex-shrink: 0;
}

/* Favorites Checkbox */
.gal-fav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #64748b;
  cursor: pointer;
  margin-bottom: 10px;
  user-select: none;
}

.gal-fav input {
  display: none;
}

.gal-fav .app-checkbox__box {
  width: 14px;
  height: 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.gal-fav input:checked + .app-checkbox__box {
  background: #a855f7;
  border-color: #a855f7;
}

.gal-fav input:checked + .app-checkbox__box::after {
  content: '✓';
  color: #fff;
  font-size: 9px;
  font-weight: 700;
}

/* Gallery Card Header */
.gal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-bottom: 1px solid #f1f5f9;
}

.gal-header__left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gal-header__left svg {
  color: #64748b;
  flex-shrink: 0;
}

.gal-header__title {
  font-size: 12px;
  font-weight: 600;
  color: #1e293b;
}

.gal-header__count {
  font-size: 10px;
  color: #64748b;
  font-weight: 500;
}

/* Tags / Badges */
.gal-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 10px;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.gal-tag--green {
  background: #dcfce7;
  color: #16a34a;
}

.gal-tag--purple {
  background: #f3e8ff;
  color: #9333ea;
}

/* Toolbar */
.gal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px;
  border-bottom: 1px solid #f1f5f9;
}

.gal-select-all {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: #64748b;
  cursor: pointer;
  transition: color 0.15s ease;
}

.gal-select-all:hover {
  color: #a855f7;
}

.gal-select-all svg {
  color: #94a3b8;
}

/* View Toggle Buttons */
.gal-views {
  display: flex;
  align-items: center;
  gap: 2px;
  background: #f8fafc;
  border-radius: 6px;
  padding: 2px;
  border: 1px solid #e2e8f0;
}

.gal-view {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 4px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #94a3b8;
  transition: all 0.15s ease;
}

.gal-view:hover {
  color: #64748b;
  background: #f1f5f9;
}

.gal-view--active {
  background: #fff;
  color: #1e293b;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

/* Gallery Grid */
.gal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 12px;
}

/* Gallery Item Card */
.gal-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.gal-item:hover {
  transform: translateY(-2px);
}

/* Product Image */
.gal-item__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.gal-item__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.04) 100%);
  border-radius: 8px;
}

/* Product Name */
.gal-item__name {
  font-size: 9px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 2px;
}

/* Meta Info (timestamp) */
.gal-item__meta {
  font-size: 8px;
  color: #94a3b8;
}

/* Responsive Gallery */
@media (max-width: 768px) {
  .gal-filters {
    gap: 4px;
  }

  .gal-pill {
    font-size: 8px;
    padding: 3px 7px;
  }

  .gal-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 8px;
  }

  .gal-header {
    flex-wrap: wrap;
    gap: 6px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   PRODUCT AVATAR PLACEHOLDERS
   ═══════════════════════════════════════════════════════════════ */

.avatar-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

/* ─── Background Gradient Variants ─── */

.avatar--lavender {
  background: linear-gradient(165deg, #e9d5ff 0%, #c4b5fd 40%, #a78bfa 100%);
}

.avatar--ocean {
  background: linear-gradient(165deg, #93c5fd 0%, #6366f1 50%, #4f46e5 100%);
}

.avatar--sunset {
  background: linear-gradient(165deg, #fde68a 0%, #fbbf24 40%, #f59e0b 100%);
}

.avatar--mint {
  background: linear-gradient(165deg, #a7f3d0 0%, #6ee7b7 40%, #34d399 100%);
}

.avatar--coral {
  background: linear-gradient(165deg, #fecdd3 0%, #f472b6 50%, #ec4899 100%);
}

.avatar--amethyst {
  background: linear-gradient(165deg, #e0aaff 0%, var(--viso-accent) 50%, var(--viso-accent-dark) 100%);
}

/* ─── Human Silhouettes (external SVG files) ─── */

.avatar--pose-1::before,
.avatar--pose-2::before,
.avatar--pose-3::before,
.avatar--pose-4::before,
.avatar--pose-5::before,
.avatar--pose-6::before {
  content: '';
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 70% 90%;
}

.avatar--pose-1::before { background-image: url('../img/avatars/pose-1.svg'); }
.avatar--pose-2::before { background-image: url('../img/avatars/pose-2.svg'); }
.avatar--pose-3::before { background-image: url('../img/avatars/pose-3.svg'); }
.avatar--pose-4::before { background-image: url('../img/avatars/pose-4.svg'); }
.avatar--pose-5::before { background-image: url('../img/avatars/pose-5.svg'); }
.avatar--pose-6::before { background-image: url('../img/avatars/pose-6.svg'); }

/* ─── Subtle shimmer overlay ─── */
.avatar-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgba(255, 255, 255, 0.06) 50%,
    transparent 70%
  );
  animation: avatar-shimmer 4s ease-in-out infinite;
}

@keyframes avatar-shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
