/* ==========================================================================
   DANCING LABS — Design System
   A premium dark-themed design system with glassmorphism, scroll-driven
   animations, and modern CSS architecture.
   ========================================================================== */

/* --- Layer Order Declaration --- */
@layer reset, tokens, base, layout, components, animations, utilities;

/* ==========================================================================
   LAYER: RESET
   ========================================================================== */
@layer reset {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  body {
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  img,
  video {
    display: block;
    max-width: 100%;
    height: auto;
  }

  input,
  textarea,
  button {
    font: inherit;
    color: inherit;
  }

  ul,
  ol {
    list-style: none;
  }

  a {
    color: inherit;
    text-decoration: none;
  }

  button {
    cursor: pointer;
    border: none;
    background: none;
  }
}

/* ==========================================================================
   LAYER: DESIGN TOKENS
   ========================================================================== */
@layer tokens {
  :root {
    /* --- Color Palette --- */
    --color-bg-primary: #080b14;
    --color-bg-secondary: #0d1117;
    --color-bg-elevated: #131927;
    --color-bg-card: rgba(255, 255, 255, 0.04);
    --color-bg-card-hover: rgba(255, 255, 255, 0.08);

    --color-glass-border: rgba(255, 255, 255, 0.08);
    --color-glass-border-hover: rgba(255, 255, 255, 0.16);

    --color-text-primary: #f1f5f9;
    --color-text-secondary: #94a3b8;
    --color-text-muted: #64748b;

    --color-accent-primary: #7c3aed;
    --color-accent-secondary: #06b6d4;
    --color-accent-success: #22c55e;
    --color-accent-warning: #f59e0b;

    --gradient-brand: linear-gradient(135deg, #7c3aed 0%, #06b6d4 100%);
    --gradient-brand-soft: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(6, 182, 212, 0.15));
    --gradient-hero: linear-gradient(135deg, #0f0c29, #1a1040, #0a1628);
    --gradient-text: linear-gradient(135deg, #c084fc, #67e8f9);

    /* --- Typography --- */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.8rem);
    --text-sm: clamp(0.8rem, 0.76rem + 0.2vw, 0.9rem);
    --text-base: clamp(0.9rem, 0.86rem + 0.2vw, 1rem);
    --text-lg: clamp(1rem, 0.94rem + 0.3vw, 1.15rem);
    --text-xl: clamp(1.15rem, 1.05rem + 0.5vw, 1.35rem);
    --text-2xl: clamp(1.4rem, 1.2rem + 1vw, 1.8rem);
    --text-3xl: clamp(1.8rem, 1.5rem + 1.5vw, 2.5rem);
    --text-4xl: clamp(2.2rem, 1.8rem + 2vw, 3.2rem);
    --text-5xl: clamp(2.8rem, 2rem + 3vw, 4.2rem);

    /* --- Spacing --- */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-section: clamp(4rem, 3rem + 5vw, 8rem);

    /* --- Border Radius --- */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-pill: 999px;

    /* --- Shadows --- */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.6);
    --shadow-glow-purple: 0 8px 32px rgba(124, 58, 237, 0.25);
    --shadow-glow-cyan: 0 8px 32px rgba(6, 182, 212, 0.2);

    /* --- Transitions --- */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --duration-fast: 200ms;
    --duration-normal: 350ms;
    --duration-slow: 600ms;

    /* --- Z-Index Scale --- */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 500;
    --z-overlay: 900;
    --z-modal: 1000;
    --z-chat: 2000;
  }
}

/* ==========================================================================
   LAYER: BASE
   ========================================================================== */
@layer base {
  body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--color-text-secondary);
    background-color: var(--color-bg-primary);
  }

  h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--color-text-primary);
    line-height: 1.2;
    font-weight: 700;
    text-wrap: balance;
  }

  h1 { font-size: var(--text-5xl); font-weight: 800; letter-spacing: -0.03em; }
  h2 { font-size: var(--text-3xl); letter-spacing: -0.02em; }
  h3 { font-size: var(--text-2xl); }
  h4 { font-size: var(--text-xl); }

  p {
    max-width: 70ch;
    text-wrap: pretty;
  }

  a {
    transition: color var(--duration-fast) ease;
  }

  ::selection {
    background: rgba(124, 58, 237, 0.4);
    color: #fff;
  }
}

/* ==========================================================================
   LAYER: LAYOUT
   ========================================================================== */
@layer layout {
  .container {
    width: 100%;
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: clamp(1.25rem, 1rem + 2vw, 3rem);
  }

  .section {
    position: relative;
    padding-block: var(--space-section);
  }

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

  .section-label {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent-secondary);
    margin-bottom: var(--space-md);
    padding: 6px 16px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: var(--radius-pill);
  }

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

  @media (max-width: 768px) {
    .grid-2 {
      grid-template-columns: 1fr;
      gap: var(--space-xl);
    }
  }
}

/* ==========================================================================
   LAYER: COMPONENTS
   ========================================================================== */
@layer components {

  /* ========== BADGE ========== */
  .badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent-secondary);
    padding: 8px 20px;
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: var(--radius-pill);
    margin-bottom: var(--space-lg);
  }

  .badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--color-accent-secondary);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
  }

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

  /* ========== BUTTONS ========== */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: var(--text-sm);
    letter-spacing: 0.02em;
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
    overflow: hidden;
  }

  .btn-primary {
    background: var(--gradient-brand);
    color: #fff;
    box-shadow: var(--shadow-glow-purple);
  }

  .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(124, 58, 237, 0.4);
  }

  .btn-primary:active {
    transform: translateY(-1px);
  }

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

  .btn-secondary:hover {
    background: var(--color-bg-card-hover);
    border-color: var(--color-glass-border-hover);
    transform: translateY(-3px);
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-top: var(--space-xl);
  }

  /* ========== NAVBAR ========== */
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    padding: var(--space-md) 0;
    transition: all var(--duration-normal) var(--ease-out);
  }

  .navbar.scrolled {
    padding: var(--space-sm) 0;
    background: rgba(8, 11, 20, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--color-glass-border);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  }

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

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

  .logo-img {
    height: 40px;
    width: auto;
  }

  .nav-links ul {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
  }

  .nav-links a {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: color var(--duration-fast) ease;
    position: relative;
  }

  .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-brand);
    border-radius: 2px;
    transition: width var(--duration-normal) var(--ease-out);
  }

  .nav-links a:hover {
    color: var(--color-text-primary);
  }

  .nav-links a:hover::after {
    width: 100%;
  }

  .menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    z-index: calc(var(--z-overlay) + 10);
  }

  .menu-toggle .bar {
    width: 100%;
    height: 2px;
    background: var(--color-text-primary);
    border-radius: 2px;
    transition: all var(--duration-normal) var(--ease-out);
    transform-origin: center;
  }

  .menu-toggle.open .bar:nth-child(1) {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle.open .bar:nth-child(2) {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  @media (max-width: 768px) {
    .menu-toggle {
      display: flex;
    }

    .nav-links {
      position: fixed;
      top: 0;
      right: -100%;
      width: 80%;
      max-width: 360px;
      height: 100dvh;
      background: rgba(13, 17, 23, 0.97);
      backdrop-filter: blur(24px);
      padding: 100px var(--space-2xl) var(--space-2xl);
      transition: right var(--duration-slow) var(--ease-out);
      z-index: var(--z-overlay);
      border-left: 1px solid var(--color-glass-border);
    }

    .nav-links.active {
      right: 0;
    }

    .nav-links ul {
      flex-direction: column;
      align-items: flex-start;
      gap: var(--space-xl);
    }

    .nav-links a {
      font-size: var(--text-lg);
    }
  }

  /* ========== HERO ========== */
  .hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: var(--gradient-hero);
    background-size: 400% 400%;
    animation: gradient-shift 12s ease infinite;
  }

  @keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }

  /* Mesh grain overlay */
  .hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      radial-gradient(ellipse 600px 400px at 20% 30%, rgba(124, 58, 237, 0.15), transparent),
      radial-gradient(ellipse 500px 350px at 70% 60%, rgba(6, 182, 212, 0.1), transparent),
      radial-gradient(ellipse 300px 300px at 50% 80%, rgba(124, 58, 237, 0.08), transparent);
  }

  /* Grid pattern overlay */
  .hero-grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 100%);
  }

  .hero-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-3xl);
    align-items: center;
  }

  .hero-content h1 {
    margin-bottom: var(--space-lg);
  }

  .hero-content p {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-md);
  }

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

  .hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero-glow-orb {
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.2), transparent 60%);
    filter: blur(40px);
    animation: orb-float 6s ease-in-out infinite alternate;
  }

  @keyframes orb-float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(20px, -20px) scale(1.1); }
  }

  .hero-stats {
    display: flex;
    gap: var(--space-2xl);
    margin-top: var(--space-3xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--color-glass-border);
  }

  .stat-item {
    text-align: left;
  }

  .stat-number {
    font-size: var(--text-3xl);
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
  }

  .stat-label {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
  }

  @media (max-width: 768px) {
    .hero-wrapper {
      grid-template-columns: 1fr;
      text-align: center;
    }

    .hero-visual {
      display: none;
    }

    .hero-actions {
      justify-content: center;
    }

    .hero-stats {
      justify-content: center;
      gap: var(--space-xl);
    }

    .stat-item {
      text-align: center;
    }
  }

  /* ========== ABOUT ========== */
  .about {
    background: var(--color-bg-secondary);
  }

  .about-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
  }

  .about-image img {
    width: 100%;
    border-radius: var(--radius-xl);
    transition: transform var(--duration-slow) var(--ease-out);
  }

  .about-image:hover img {
    transform: scale(1.03);
  }

  .about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-glass-border);
    pointer-events: none;
  }

  .about-text h2 {
    margin-bottom: var(--space-sm);
  }

  .about-text h3 {
    color: var(--color-text-primary);
    margin-bottom: var(--space-lg);
  }

  .about-text p {
    margin-bottom: var(--space-md);
    color: var(--color-text-secondary);
  }

  @media (max-width: 768px) {
    .about .grid-2 {
      gap: var(--space-xl);
    }
  }

  /* ========== APP SHOWCASE / 3D CAROUSEL ========== */
  .app-showcase-3d {
    padding-block: var(--space-section);
    overflow: hidden;
    background: transparent;
  }

  .showcase-flex {
    display: flex;
    align-items: center;
    gap: var(--space-3xl);
    min-height: 580px;
  }

  .showcase-logo-area {
    flex: 0 0 18%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--color-glass-border);
    padding-right: var(--space-xl);
  }

  .showcase-logo {
    width: 110px;
    height: auto;
    margin-bottom: var(--space-md);
    filter: drop-shadow(0 0 12px rgba(124, 58, 237, 0.25));
  }

  .showcase-logo-area p {
    color: var(--color-text-muted);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .showcase-carousel-area {
    flex: 1;
    position: relative;
  }

  .carousel-container {
    position: relative;
    width: 100%;
    height: 520px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 2000px;
    transform-style: preserve-3d;
  }

  .carousel-item {
    position: absolute;
    width: 240px;
    height: 490px;
    cursor: pointer;
    transition: all var(--duration-slow) var(--ease-out);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid rgba(30, 41, 59, 0.8);
    opacity: 0;
    pointer-events: none;
  }

  .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .carousel-item.active {
    transform: translate3d(0, 0, 100px);
    z-index: 10;
    opacity: 1;
    pointer-events: auto;
    border-color: var(--color-accent-primary);
    box-shadow: 0 30px 60px rgba(124, 58, 237, 0.3);
  }

  .carousel-item.prev {
    transform: translate3d(-260px, 0, 0) rotateY(30deg) scale(0.85);
    z-index: 5;
    opacity: 0.7;
    pointer-events: auto;
  }

  .carousel-item.next {
    transform: translate3d(260px, 0, 0) rotateY(-30deg) scale(0.85);
    z-index: 5;
    opacity: 0.7;
    pointer-events: auto;
  }

  .carousel-item.far-prev {
    transform: translate3d(-460px, 0, -120px) rotateY(40deg) scale(0.7);
    z-index: 2;
    opacity: 0.35;
    pointer-events: auto;
  }

  .carousel-item.far-next {
    transform: translate3d(460px, 0, -120px) rotateY(-40deg) scale(0.7);
    z-index: 2;
    opacity: 0.35;
    pointer-events: auto;
  }

  @media (max-width: 992px) {
    .showcase-flex {
      flex-direction: column;
      min-height: auto;
    }

    .showcase-logo-area {
      flex: none;
      border-right: none;
      border-bottom: 1px solid var(--color-glass-border);
      padding-right: 0;
      padding-bottom: var(--space-xl);
      width: 100%;
    }

    .carousel-container {
      height: 400px;
    }

    .carousel-item { width: 170px; height: 350px; }
    .carousel-item.prev { transform: translate3d(-110px, 0, 0) rotateY(25deg) scale(0.8); }
    .carousel-item.next { transform: translate3d(110px, 0, 0) rotateY(-25deg) scale(0.8); }
    .carousel-item.far-prev,
    .carousel-item.far-next { display: none; }
  }

  /* ========== PRODUCT SHOWCASE ========== */
  .product-showcase {
    background: var(--color-bg-secondary);
    overflow: hidden;
  }

  .product-info {
    padding-right: var(--space-xl);
  }

  .product-title {
    font-size: var(--text-4xl);
    font-weight: 800;
    color: var(--color-text-primary);
    margin: var(--space-sm) 0;
  }

  .product-subtitle {
    color: var(--color-accent-secondary);
    font-size: var(--text-lg);
    font-weight: 500;
    margin-bottom: var(--space-lg);
  }

  .product-description {
    color: var(--color-text-secondary);
    font-size: var(--text-base);
    margin-bottom: var(--space-xl);
    line-height: 1.8;
  }

  .feature-list {
    margin-bottom: var(--space-2xl);
  }

  .feature-list li {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    font-weight: 500;
    color: var(--color-text-primary);
    font-size: var(--text-sm);
  }

  .feature-list .icon {
    color: var(--color-accent-success);
    font-weight: bold;
    font-size: 1.1rem;
  }

  .product-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .phone-mockup {
    width: 260px;
    height: 540px;
    background: #000;
    border: 6px solid #1e293b;
    border-radius: 36px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: transform var(--duration-slow) var(--ease-spring);
  }

  .phone-mockup:hover {
    transform: rotate(-3deg) scale(1.04);
  }

  .phone-mockup .app-screen {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .glow-effect {
    position: absolute;
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15), transparent 60%);
    z-index: -1;
    filter: blur(30px);
  }

  .play-store-btn img {
    height: 52px;
    transition: transform var(--duration-normal) ease;
  }

  .play-store-btn:hover img {
    transform: translateY(-4px) scale(1.03);
  }

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

    .product-info {
      padding-right: 0;
      order: 1;
    }

    .product-visual {
      order: 2;
    }

    .phone-mockup {
      width: 220px;
      height: 460px;
    }

    .product-title {
      font-size: var(--text-3xl);
    }
  }

  /* ========== VISION / IMPACT / BENTO GRID ========== */
  .vision {
    background: var(--color-bg-primary);
  }

  .bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 260px);
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
  }

  .bento-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-glass-border);
    background: var(--color-bg-card);
    transition: border-color var(--duration-normal) ease, box-shadow var(--duration-normal) ease, transform var(--duration-normal) var(--ease-out);
  }

  .bento-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: transform var(--duration-slow) var(--ease-out), opacity var(--duration-normal) ease;
  }

  .bento-card:hover {
    border-color: var(--color-accent-primary);
    box-shadow: var(--shadow-glow-purple);
    transform: translateY(-4px);
  }

  .bento-card:hover img {
    transform: scale(1.06);
    opacity: 0.75;
  }

  .bento-main {
    grid-column: span 2;
    grid-row: span 2;
  }

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

  .bento-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: var(--space-xl);
    background: linear-gradient(0deg, rgba(8, 11, 20, 0.9) 0%, transparent 100%);
    z-index: 2;
    transition: transform var(--duration-normal) var(--ease-out);
  }

  .bento-card:hover .bento-info {
    transform: translateY(-4px);
  }

  .bento-info h4 {
    font-size: var(--text-lg);
    color: var(--color-text-primary);
    margin-bottom: 4px;
  }

  .bento-info p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
  }

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

    .bento-card {
      height: 260px;
    }

    .bento-main,
    .bento-wide {
      grid-column: span 1;
      grid-row: span 1;
    }
  }

  /* ========== APPROACH / METHODOLOGY ========== */
  .approach {
    background: var(--color-bg-secondary);
  }

  .approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
  }

  .approach-card {
    background: var(--color-bg-card);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-glass-border);
    backdrop-filter: blur(8px);
    transition: all var(--duration-normal) var(--ease-out);
    cursor: default;
  }

  .approach-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-accent-primary);
    box-shadow: var(--shadow-glow-purple);
    background: var(--color-bg-card-hover);
  }

  .approach-number {
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--color-text-muted);
    opacity: 0.3;
    margin-bottom: var(--space-md);
    display: block;
    transition: all var(--duration-normal) ease;
  }

  .approach-card:hover .approach-number {
    opacity: 1;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .approach-card h4 {
    color: var(--color-text-primary);
    margin-bottom: var(--space-sm);
    transition: color var(--duration-fast) ease;
  }

  .approach-card p {
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
    line-height: 1.7;
  }

  /* ========== CONTACT SECTION ========== */
  .contact {
    background: var(--color-bg-primary);
  }

  .glass-form-container {
    background: var(--color-bg-card);
    padding: clamp(var(--space-2xl), 5vw, var(--space-4xl));
    border-radius: var(--radius-2xl);
    border: 1px solid var(--color-glass-border);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    margin: 0 auto;
  }

  .contact-form {
    margin-top: var(--space-2xl);
  }

  .input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
  }

  .contact-form input,
  .contact-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-glass-border);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    color: var(--color-text-primary);
    font-size: var(--text-sm);
    outline: none;
    transition: all var(--duration-normal) ease;
    margin-bottom: var(--space-md);
  }

  .contact-form input:focus,
  .contact-form textarea:focus {
    border-color: var(--color-accent-primary);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
  }

  .contact-form input::placeholder,
  .contact-form textarea::placeholder {
    color: var(--color-text-muted);
  }

  .contact-form .btn-primary {
    width: 100%;
    padding: 18px;
    font-size: var(--text-base);
    margin-top: var(--space-sm);
  }

  .contact-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-glass-border);
  }

  .detail-item strong {
    display: block;
    color: var(--color-accent-secondary);
    text-transform: uppercase;
    font-size: var(--text-xs);
    letter-spacing: 0.12em;
    margin-bottom: 6px;
  }

  .detail-item p,
  .detail-item a {
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
  }

  .detail-item a:hover {
    color: var(--color-accent-primary);
  }

  /* Toast notification for form */
  .toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(120%);
    background: var(--color-accent-success);
    color: #fff;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: var(--text-sm);
    box-shadow: var(--shadow-md);
    z-index: var(--z-modal);
    transition: transform var(--duration-normal) var(--ease-spring);
    pointer-events: none;
  }

  .toast.show {
    transform: translateX(-50%) translateY(0);
  }

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

    .contact-details-grid {
      grid-template-columns: 1fr;
      text-align: center;
    }
  }

  /* ========== FOOTER ========== */
  .footer {
    background: var(--color-bg-secondary);
    padding: var(--space-4xl) 0 var(--space-xl);
    border-top: 1px solid var(--color-glass-border);
    position: relative;
    z-index: var(--z-base);
  }

  .footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
  }

  .footer-brand p {
    color: var(--color-text-muted);
    margin-top: var(--space-md);
    font-size: var(--text-sm);
    max-width: 30ch;
  }

  .footer-contact p {
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
    margin-bottom: var(--space-sm);
  }

  .footer-contact strong {
    color: var(--color-text-primary);
  }

  .social-links {
    display: flex;
    gap: var(--space-md);
  }

  .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    background: var(--color-bg-card);
    border: 1px solid var(--color-glass-border);
    color: var(--color-text-muted);
    transition: all var(--duration-normal) var(--ease-out);
  }

  .social-links a:hover {
    background: var(--color-bg-card-hover);
    border-color: var(--color-accent-primary);
    color: var(--color-text-primary);
    transform: translateY(-3px);
  }

  .social-links a svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
  }

  .footer-bottom {
    text-align: center;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-glass-border);
  }

  .footer-bottom p {
    color: var(--color-text-muted);
    font-size: var(--text-xs);
  }

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

    .footer-brand p {
      max-width: none;
    }

    .social-links {
      justify-content: center;
    }
  }

  /* ========== CHATBOT ========== */
  .chatbot-toggler {
    position: fixed;
    bottom: 30px;
    right: 30px;
    height: 56px;
    width: 56px;
    color: #fff;
    background: var(--gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: var(--z-chat);
    transition: all var(--duration-normal) var(--ease-out);
    box-shadow: var(--shadow-glow-purple);
  }

  .chatbot-toggler:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 36px rgba(124, 58, 237, 0.4);
  }

  .chatbot-toggler span {
    position: absolute;
    font-size: 1.3rem;
    transition: all var(--duration-normal) ease;
  }

  .chatbot-toggler .close-icon { opacity: 0; transform: rotate(-90deg) scale(0.5); }
  .chatbot-toggler.open .close-icon { opacity: 1; transform: rotate(0deg) scale(1); }
  .chatbot-toggler.open .chat-icon { opacity: 0; transform: rotate(90deg) scale(0.5); }

  .chatbot-container {
    position: fixed;
    right: 30px;
    bottom: 100px;
    width: 370px;
    background: rgba(13, 17, 23, 0.97);
    backdrop-filter: blur(20px);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    z-index: var(--z-chat);
    opacity: 0;
    pointer-events: none;
    transform: scale(0.85) translateY(30px);
    transform-origin: bottom right;
    transition: all var(--duration-normal) var(--ease-spring);
  }

  .chatbot-toggler.open ~ .chatbot-container {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1) translateY(0);
  }

  .chatbot-container header {
    background: var(--color-bg-elevated);
    padding: var(--space-lg);
    border-bottom: 1px solid var(--color-glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .chat-close-btn {
    background: none;
    border: none;
    color: var(--color-text-secondary);
    font-size: 18px;
    cursor: pointer;
    padding: var(--space-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--duration-fast) var(--ease-out);
  }
  .chat-close-btn:hover {
    color: var(--color-text-primary);
  }

  .bot-header-info {
    display: flex;
    align-items: center;
    gap: var(--space-md);
  }

  .bot-header-info h4 {
    font-size: var(--text-base);
    color: var(--color-text-primary);
    font-weight: 600;
  }

  .online-indicator {
    width: 8px;
    height: 8px;
    background: var(--color-accent-success);
    border-radius: 50%;
    position: relative;
  }

  .online-indicator::after {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    border-radius: inherit;
    animation: pulse-indicator 2s infinite;
  }

  @keyframes pulse-indicator {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2.5); opacity: 0; }
  }
  .chat-quick-actions {
    display: flex;
    gap: 8px;
    padding: 10px 15px;
    background: rgba(20, 26, 35, 0.4);
    border-bottom: 1px solid var(--color-glass-border);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .chat-quick-actions::-webkit-scrollbar {
    display: none;
  }
  .quick-action-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-secondary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  .quick-action-btn:hover {
    background: var(--gradient-neon);
    border-color: transparent;
    color: #0d1117;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 242, 254, 0.2);
  }
  .quick-action-btn:active {
    transform: translateY(0);
  }

  .chatbox {
    height: 280px;
    overflow-y: auto;
    padding: var(--space-lg);
  }

  .chat {
    display: flex;
    margin-bottom: var(--space-md);
    animation: chat-slide-in var(--duration-normal) var(--ease-out) both;
  }

  @keyframes chat-slide-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .chat p {
    padding: 10px 16px;
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    max-width: 82%;
    line-height: 1.5;
  }

  .incoming p {
    background: var(--color-bg-elevated);
    color: var(--color-text-secondary);
    border-bottom-left-radius: 4px;
  }

  .outgoing {
    justify-content: flex-end;
  }

  .outgoing p {
    background: var(--color-accent-primary);
    color: #fff;
    border-bottom-right-radius: 4px;
  }

  .typing-dots span {
    animation: blink 1.4s infinite both;
    font-size: var(--text-base);
    font-weight: bold;
    display: inline-block;
  }
  .typing-dots span:nth-child(2) {
    animation-delay: .2s;
  }
  .typing-dots span:nth-child(3) {
    animation-delay: .4s;
  }
  @keyframes blink {
    0% { opacity: .2; }
    20% { opacity: 1; }
    100% { opacity: .2; }
  }

  .chat-input {
    display: flex;
    padding: var(--space-md) var(--space-lg);
    background: var(--color-bg-elevated);
    border-top: 1px solid var(--color-glass-border);
    align-items: center;
    gap: var(--space-sm);
  }

  .chat-input textarea {
    flex: 1;
    border: none;
    outline: none;
    resize: none;
    background: var(--color-bg-card);
    padding: 10px 14px;
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    color: var(--color-text-primary);
    max-height: 80px;
  }

  .chat-input textarea::placeholder {
    color: var(--color-text-muted);
  }

  .send-icon {
    color: var(--color-accent-primary);
    cursor: pointer;
    font-size: 1.3rem;
    padding: 6px;
    transition: transform var(--duration-fast) ease;
  }

  .send-icon:hover {
    transform: scale(1.15);
  }

  @media (max-width: 480px) {
    .chatbot-container {
      right: 0;
      bottom: 0;
      width: 100%;
      height: 100%;
      border-radius: 0;
    }
  }

  /* ========== PRODUCTS PAGE ========== */
  .products-hero {
    padding: 160px 0 var(--space-4xl);
    text-align: center;
    background: var(--color-bg-secondary);
    position: relative;
    overflow: hidden;
  }

  .products-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      radial-gradient(ellipse 500px 300px at 30% 50%, rgba(124, 58, 237, 0.08), transparent),
      radial-gradient(ellipse 400px 300px at 70% 50%, rgba(6, 182, 212, 0.06), transparent);
  }

  /* ========== PRODUCTS SHOWCASE / TABBED ECOSYSTEM ========== */
  .products-showcase-section {
    padding-block: var(--space-section);
    position: relative;
  }

  .product-tabs {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
    border-bottom: 1px solid var(--color-glass-border);
    padding-bottom: var(--space-md);
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
  }

  .product-tabs::-webkit-scrollbar {
    display: none; /* Safari & Chrome */
  }

  .tab-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    color: var(--color-text-secondary);
    font-weight: 600;
    font-size: var(--text-base);
    transition: all var(--duration-normal) var(--ease-out);
    background: transparent;
  }

  .tab-btn:hover {
    color: var(--color-text-primary);
    background: rgba(255, 255, 255, 0.02);
  }

  .tab-btn.active {
    color: var(--color-text-primary);
    background: var(--color-bg-card);
    border-color: var(--color-glass-border);
    box-shadow: var(--shadow-sm);
  }

  .tab-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: grayscale(100%) opacity(70%);
    transition: all var(--duration-normal) var(--ease-out);
  }

  .tab-btn.active .tab-icon,
  .tab-btn:hover .tab-icon {
    filter: none;
  }

  .product-panels {
    position: relative;
    min-height: 500px;
  }

  .product-panel {
    display: none;
    opacity: 0;
    transform: translateY(15px);
  }

  .product-panel.active {
    display: block;
    animation: panel-fade-in var(--duration-normal) var(--ease-out) forwards;
  }

  @keyframes panel-fade-in {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .panel-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-3xl);
    align-items: center;
  }

  .panel-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .product-badge {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent-secondary);
    margin-bottom: var(--space-md);
    padding: 4px 12px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: var(--radius-sm);
  }

  .product-tagline {
    font-size: var(--text-lg);
    color: var(--color-text-primary);
    font-weight: 600;
    margin-top: var(--space-xs);
    margin-bottom: var(--space-md);
  }

  .product-desc {
    color: var(--color-text-secondary);
    font-size: var(--text-base);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
  }

  /* Feature list bullets */
  .feature-bullets {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
    width: 100%;
  }

  .bullet-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
  }

  .bullet-icon {
    font-size: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-glass-border);
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    flex-shrink: 0;
  }

  .bullet-item h5 {
    font-size: var(--text-base);
    color: var(--color-text-primary);
    font-weight: 600;
    margin-bottom: 2px;
  }

  .bullet-item p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.5;
  }

  /* Premium download cards */
  .panel-downloads {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    width: 100%;
  }

  .download-card {
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    padding: 12px 24px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-md);
    color: var(--color-text-primary);
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
    cursor: pointer;
  }

  .download-card::before {
    content: '';
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
  }

  .download-card.android::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2300c6ff' d='M3 2.5a.5.5 0 0 0-.3.1l11 10.7L3 24a.5.5 0 0 0 .8-.4l17-9.8a1 1 0 0 0 0-1.7L3.8 2.9a.5.5 0 0 0-.8-.4z'/%3E%3Cpath fill='%2300e676' d='M3 2.5l11 10.7 3.5-3.5L3.8 2.9A.5.5 0 0 0 3 2.5z'/%3E%3Cpath fill='%23ff3d00' d='M17.5 9.7L14 13.2l3.5 3.5 3.7-2.1c.7-.4.7-1.4 0-1.8z'/%3E%3Cpath fill='%23ffea00' d='M3 24a.5.5 0 0 0 .8-.4l13.7-7.9-3.5-3.5L3 24z'/%3E%3C/svg%3E");
  }

  .download-card.mac::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23a1a1aa'%3E%3Cpath d='M18.71 19.5c-.83 1.24-1.71 2.45-3.05 2.47-1.34.03-1.77-.79-3.29-.79-1.53 0-2 .77-3.27.82-1.31.05-2.3-1.32-3.14-2.53C4.25 17 2.94 12.45 4.7 9.39c.87-1.52 2.43-2.48 4.12-2.51 1.28-.02 2.5.87 3.29.87.78 0 2.26-1.07 3.81-.91.65.03 2.47.26 3.64 1.98-.09.06-2.17 1.28-2.15 3.81.03 3.02 2.65 4.03 2.68 4.04-.03.07-.42 1.44-1.38 2.83M15.97 4.17c.66-.81 1.11-1.93.99-3.06-.96.04-2.13.64-2.82 1.45-.6.69-1.12 1.83-.98 2.94.95.07 2.05-.52 2.81-1.33z'/%3E%3C/svg%3E");
  }

  .download-card.windows::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230078d7'%3E%3Cpath d='M0 3.449L9.75 2.1v9.45H0V3.449zM0 12.45h9.75v9.45L0 20.551v-8.1zM10.8 1.95L24 0v11.55H10.8V1.95zM10.8 12.45H24v11.55l-13.2-1.95v-9.6z'/%3E%3C/svg%3E");
  }

  .download-card.apple::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M18.71 19.5c-.83 1.24-1.71 2.45-3.05 2.47-1.34.03-1.77-.79-3.29-.79-1.53 0-2 .77-3.27.82-1.31.05-2.3-1.32-3.14-2.53C4.25 17 2.94 12.45 4.7 9.39c.87-1.52 2.43-2.48 4.12-2.51 1.28-.02 2.5.87 3.29.87.78 0 2.26-1.07 3.81-.91.65.03 2.47.26 3.64 1.98-.09.06-2.17 1.28-2.15 3.81.03 3.02 2.65 4.03 2.68 4.04-.03.07-.42 1.44-1.38 2.83M15.97 4.17c.66-.81 1.11-1.93.99-3.06-.96.04-2.13.64-2.82 1.45-.6.69-1.12 1.83-.98 2.94.95.07 2.05-.52 2.81-1.33z'/%3E%3C/svg%3E");
  }

  .download-card:hover {
    background: var(--color-bg-card-hover);
    border-color: var(--color-accent-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-purple);
  }

  .download-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.2;
  }

  .download-text span {
    font-size: 10px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .download-text strong {
    font-size: 14px;
    font-weight: 700;
  }

  /* Video / Media Display */
  .panel-media {
    position: relative;
    width: 100%;
    max-width: 440px;
    margin-inline: auto;
  }

  .media-frame {
    position: relative;
    border-radius: var(--radius-xl);
    border: 6px solid rgba(255, 255, 255, 0.05);
    background: #000;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    box-shadow: var(--shadow-lg);
    transition: all var(--duration-normal) var(--ease-out);
  }

  .media-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid var(--color-glass-border-hover);
    pointer-events: none;
    z-index: 2;
  }

  .panel-media:hover .media-frame {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(124, 58, 237, 0.2);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.25);
  }

  .media-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #000;
  }

  /* Toast Notification Success / Error Styles */
  .toast.success {
    background: var(--color-accent-success);
  }

  .toast.error {
    background: #ef4444;
  }

  /* ========== PRODUCTS APPLE CAROUSEL ========== */
  .products-apple-section {
    padding-block: var(--space-section);
    position: relative;
    overflow: hidden;
  }

  .apple-carousel-container {
    position: relative;
    width: 100%;
    margin-top: var(--space-xl);
  }

  .apple-carousel {
    display: flex;
    gap: var(--space-xl);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: var(--space-xl);
    padding-horizontal: var(--space-md);
    scrollbar-width: none; /* Hide default scrollbar */
  }

  .apple-carousel::-webkit-scrollbar {
    display: none;
  }

  .apple-product-card {
    flex: 0 0 420px;
    scroll-snap-align: center;
    background: rgba(13, 17, 23, 0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--color-glass-border);
    border-radius: 28px;
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
  }

  .apple-product-card:hover {
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 20px 50px rgba(124, 58, 237, 0.08);
  }

  .apple-product-card.flagship {
    border-color: rgba(6, 182, 212, 0.3);
  }

  .apple-product-card.flagship:hover {
    border-color: rgba(6, 182, 212, 0.5);
    box-shadow: 0 20px 50px rgba(6, 182, 212, 0.1);
  }

  .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
  }

  .card-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
  }

  .card-media {
    width: 100%;
    margin-bottom: var(--space-lg);
  }

  .carousel-slideshow {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--color-glass-border);
  }

  .slideshow-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
  }

  .carousel-slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity var(--duration-normal) ease-in-out;
  }

  .carousel-slide-img.active {
    opacity: 1;
    z-index: 1;
  }

  .carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
  }

  .carousel-dots .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all var(--duration-fast) ease;
  }

  .carousel-dots .dot.active {
    background: #fff;
    width: 16px;
    border-radius: 3px;
  }

  .apple-image-fill {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
    background: rgba(13, 17, 23, 0.6);
    display: block;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-glass-border);
  }

  .card-body {
    flex-grow: 1;
    text-align: left;
    margin-bottom: var(--space-lg);
  }

  .card-body h3 {
    font-size: var(--text-xl);
    color: var(--color-text-primary);
    font-weight: 700;
    margin-bottom: 4px;
  }

  .card-body .tagline {
    font-size: var(--text-sm);
    color: var(--color-accent-secondary);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-md);
  }

  .card-body .desc {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.6;
  }

  .card-footer {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    border-top: 1px solid var(--color-glass-border);
    padding-top: var(--space-md);
    align-items: flex-start;
  }

  .apple-link {
    color: var(--color-text-primary);
    font-size: var(--text-sm);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .apple-link:hover {
    color: var(--color-accent-secondary);
  }

  .apple-link .arrow {
    transition: transform 0.2s ease;
  }

  .apple-link:hover .arrow {
    transform: translateX(3px);
  }

  /* Carousel Navigation Arrows */
  .carousel-nav-arrows {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-lg);
  }

  .nav-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-glass-border);
    color: var(--color-text-primary);
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
  }

  .nav-arrow:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-accent-primary);
    transform: scale(1.05);
  }

  @media (max-width: 768px) {
    .apple-product-card {
      flex: 0 0 85vw;
      padding: var(--space-lg);
      border-radius: 20px;
    }
    
    .carousel-nav-arrows {
      display: none;
    }
  }

  @media (max-width: 992px) {
    .panel-grid {
      grid-template-columns: 1fr;
      gap: var(--space-2xl);
    }

    .panel-media {
      order: -1; /* Place media at top for mobile layout */
      max-width: 100%;
    }

    .product-tabs {
      justify-content: flex-start;
      padding-inline: var(--space-sm);
    }

    .tab-btn {
      padding: 10px 18px;
      font-size: var(--text-sm);
    }
  }

  @media (max-width: 480px) {
    .panel-downloads {
      flex-direction: column;
    }

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

/* ==========================================================================
   LAYER: ANIMATIONS — Scroll-driven reveals
   ========================================================================== */
@layer animations {
  /* --- Scroll-driven animations (Progressive Enhancement) --- */
  @media (prefers-reduced-motion: no-preference) {
    @supports ((animation-timeline: view()) and (animation-range: entry)) {
      @keyframes reveal-up {
        from {
          opacity: 0;
          transform: translateY(40px);
        }
      }

      @keyframes reveal-scale {
        from {
          opacity: 0;
          transform: scale(0.92);
        }
      }

      .reveal {
        animation: reveal-up linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 35%;
      }

      .reveal-scale {
        animation: reveal-scale linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 40%;
      }

      /* Staggered card reveals */
      .approach-card,
      .bento-card,
      .product-card {
        animation: reveal-up linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 30%;
      }
    }
  }

  /* --- IntersectionObserver fallback classes (applied by JS) --- */
  .js-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--duration-slow) var(--ease-out),
                transform var(--duration-slow) var(--ease-out);
  }

  .js-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

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

    .js-reveal {
      opacity: 1;
      transform: none;
    }
  }
}

/* ==========================================================================
   LAYER: UTILITIES
   ========================================================================== */
@layer utilities {
  .text-center { text-align: center; }
  .text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

/* ==========================================================================
   LAYER: MULTI-PRODUCT FLOATING SIDEBAR (DESKTOP) & CONSOLIDATED MOBILE DRAWER
   ========================================================================== */
.floating-sidebar {
  position: fixed;
  top: 120px;
  left: 24px;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  z-index: 1000;
}

.sidebar-item {
  position: relative;
  display: flex;
  align-items: center;
}

.sidebar-bubble {
  height: 64px;
  width: 64px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-spring);
}

.sidebar-bubble:hover,
.sidebar-item.open .sidebar-bubble {
  transform: scale(1.1);
  border-color: var(--color-accent-secondary);
  box-shadow: var(--shadow-glow-cyan);
}

.sidebar-bubble img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* Slide-out Dashboard Panel */
.sidebar-panel {
  position: absolute;
  left: 80px;
  top: 50%;
  transform: translateY(-50%) scale(0.9) translateX(-20px);
  width: 420px;
  background: rgba(13, 17, 23, 0.96);
  backdrop-filter: blur(24px);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: all var(--duration-normal) var(--ease-spring);
  transform-origin: left center;
}

.sidebar-item.open .sidebar-panel,
.sidebar-item:hover .sidebar-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) scale(1) translateX(0);
  border-color: var(--color-accent-secondary);
  box-shadow: var(--shadow-glow-cyan);
}

.panel-header {
  background: var(--color-bg-elevated);
  padding: 12px var(--space-lg);
  border-bottom: 1px solid var(--color-glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-header-title {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.panel-logo-small {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.panel-header h4 {
  font-size: var(--text-base);
  color: var(--color-text-primary);
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
}

.panel-tag {
  font-size: 9px;
  color: var(--color-accent-secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.panel-body {
  padding: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.panel-downloads-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  width: 50%;
}

.panel-divider {
  width: 1px;
  align-self: stretch;
  background: var(--color-glass-border);
}

.panel-ticker-col {
  width: calc(50% - 1px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 80px;
  position: relative;
  overflow: hidden;
}

.panel-ticker-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xs);
}

.panel-ticker-wrapper {
  position: relative;
  height: 40px;
}

/* Mobile consolidated drawer components */
.mobile-apps-trigger {
  display: none;
  position: fixed;
  bottom: 30px;
  left: 30px;
  height: 56px;
  width: 56px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-glass-border);
  border-radius: 50%;
  z-index: 1000;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-normal) var(--ease-spring);
}

.mobile-apps-trigger:hover {
  transform: scale(1.08);
  border-color: var(--color-accent-secondary);
}

.mobile-apps-trigger .trigger-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  transition: all var(--duration-normal) ease;
}

.mobile-apps-trigger .close-icon {
  position: absolute;
  font-size: 1.2rem;
  color: var(--color-text-primary);
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
  transition: all var(--duration-normal) ease;
}

.mobile-apps-trigger.open .close-icon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.mobile-apps-trigger.open .trigger-logo {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

.mobile-apps-drawer {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 80vh;
  background: rgba(13, 17, 23, 0.98);
  backdrop-filter: blur(24px);
  border-top: 1px solid var(--color-glass-border);
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
  box-shadow: 0 -10px 40px rgba(0,0,0,0.5);
  z-index: 999;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform var(--duration-normal) var(--ease-out);
}

.mobile-apps-drawer.open {
  transform: translateY(0);
}

.drawer-header {
  padding: var(--space-lg);
  border-bottom: 1px solid var(--color-glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background: var(--color-bg-elevated);
  z-index: 10;
}

.drawer-header h4 {
  margin: 0;
  font-size: var(--text-base);
  color: var(--color-text-primary);
}

.drawer-close-btn {
  background: none;
  border: none;
  color: var(--color-text-secondary);
  font-size: 20px;
  cursor: pointer;
}

.drawer-body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.drawer-app-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-md);
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-md);
}

.drawer-app-info {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.drawer-app-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.drawer-app-info h5 {
  margin: 0 0 2px 0;
  font-size: var(--text-sm);
  color: var(--color-text-primary);
}

.drawer-app-info p {
  margin: 0;
  font-size: 11px;
  color: var(--color-text-muted);
}

.drawer-downloads {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Responsive Rules */
@media (max-width: 992px) {
  .floating-sidebar {
    display: none !important;
  }

  .mobile-apps-trigger {
    display: flex;
  }

  .mobile-apps-drawer {
    display: block;
  }
}

/* SEO Product Tags */
.product-seo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-md);
}

.seo-tag {
  font-size: 10px;
  font-weight: 500;
  color: var(--color-text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-glass-border);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  text-transform: lowercase;
  transition: all 0.2s ease;
  cursor: default;
}

.seo-tag:hover {
  color: var(--color-text-primary);
  background: rgba(99, 102, 241, 0.1);
  border-color: var(--color-accent-primary);
}

/* Testimonials Section */
.testimonials {
  position: relative;
  background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.05), transparent 40%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.testimonial-card {
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent-primary);
}

.testimonial-card .rating {
  color: #fbbf24;
  font-size: var(--text-sm);
  margin-bottom: var(--space-sm);
}

.testimonial-card .review-text {
  font-style: italic;
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
}

.testimonial-card .user-info {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-glass-border);
  padding-top: var(--space-sm);
}

.testimonial-card .user-info strong {
  color: var(--color-text-primary);
  font-size: var(--text-sm);
}

.testimonial-card .user-info span {
  color: var(--color-text-muted);
  font-size: var(--text-xs);
}

/* Sitemap Footer Adjustments */
.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr !important;
  gap: var(--space-xl);
}

.footer-links-col h4 {
  color: var(--color-text-primary);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}

.footer-links-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-col ul li {
  margin-bottom: var(--space-sm);
}

.footer-links-col ul li a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: var(--text-sm);
  transition: color 0.2s ease;
}

.footer-links-col ul li a:hover {
  color: var(--color-accent-primary);
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr !important;
    text-align: center;
    gap: var(--space-2xl);
  }
}

/* =========================================================================
   SCROLL-LINKED PRODUCT SHOWCASE & LOGO INTRO ANIMATIONS
   ========================================================================= */

/* Logo Spin & Stretch Intro */
.showcase-intro-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: var(--space-md) auto; /* Reduced from space-2xl to save vertical space on desktop */
  min-height: 90px; /* Reduced from 120px */
  position: relative;
  width: 100%;
  max-width: 800px;
}

.showcase-tab-btn {
  background: var(--color-bg-card);
  border: 1px solid var(--color-glass-border);
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  box-shadow: var(--shadow-md);
  position: relative;
  padding: 6px; /* Reduced from 12px for broader logos */
}

.showcase-tab-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.8s ease-in-out;
}

.showcase-tab-btn.brand-tab {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.showcase-tab-btn.brand-tab img {
  filter: brightness(0) invert(1) drop-shadow(0 0 6px rgba(0, 242, 254, 0.8));
}

.showcase-tab-btn.brand-tab.active {
  background: var(--color-bg-primary);
  border-color: var(--color-accent-primary);
  box-shadow: 0 0 25px var(--color-accent-primary);
}

/* On-load animations */
.showcase-intro-container.animating .showcase-tab-btn {
  position: absolute;
  left: calc(50% - 35px);
  animation: intro-spin 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.showcase-intro-container.animating .showcase-tab-btn img {
  animation: logo-inner-spin 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.showcase-intro-container.animating .showcase-tab-btn:nth-child(1) { animation-delay: 0s; }
.showcase-intro-container.animating .showcase-tab-btn:nth-child(2) { animation-delay: 0.1s; }
.showcase-intro-container.animating .showcase-tab-btn:nth-child(3) { animation-delay: 0.2s; }
.showcase-intro-container.animating .showcase-tab-btn:nth-child(4) { animation-delay: 0.3s; }
.showcase-intro-container.animating .showcase-tab-btn:nth-child(5) { animation-delay: 0.4s; }

/* End State */
.showcase-intro-container.stretched {
  gap: clamp(15px, 8vw, 120px);
  justify-content: space-between;
}

.showcase-intro-container.stretched .showcase-tab-btn {
  position: relative;
  left: auto;
  border-radius: var(--radius-xl);
  width: 90px;
  height: 90px;
  transform: scale(1) rotate(0deg);
}

.showcase-intro-container.stretched .showcase-tab-btn:hover {
  transform: scale(1.1) translateY(-4px);
  border-color: var(--color-accent-primary);
  box-shadow: 0 10px 25px rgba(124, 58, 237, 0.25);
}

.showcase-intro-container.stretched .showcase-tab-btn.active {
  border-color: var(--color-accent-primary);
  background: var(--color-bg-primary);
  box-shadow: 0 0 25px var(--color-accent-primary);
}

.showcase-intro-container.stretched .showcase-tab-btn::after {
  content: attr(data-label);
  position: absolute;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-secondary);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.showcase-intro-container.stretched .showcase-tab-btn:hover::after,
.showcase-intro-container.stretched .showcase-tab-btn.active::after {
  opacity: 1;
  color: var(--color-text-primary);
}

@keyframes intro-spin {
  0% {
    transform: rotate(-180deg) scale(0.2);
    opacity: 0;
  }
  50% {
    transform: rotate(360deg) scale(1.2);
    opacity: 1;
  }
  100% {
    transform: rotate(360deg) scale(1);
    opacity: 1;
  }
}

@keyframes logo-inner-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(720deg); }
}

/* Sticky Scroll Track Layout */
.showcase-track {
  height: 500vh; /* 5 views x 100vh */
  position: relative;
  background: var(--color-bg-secondary);
}

.showcase-sticky {
  position: sticky;
  top: 80px; /* Navbar height */
  height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  padding-bottom: var(--space-2xl);
}

.showcase-sticky-header {
  flex: 0 0 auto;
  background: rgba(8, 11, 20, 0.6);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-glass-border);
  z-index: 10;
  width: 100%;
}

.showcase-sticky-body {
  flex: 1;
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
}

.showcase-products-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.showcase-product-view {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-2xl);
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.showcase-product-view.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.showcase-product-view .product-title {
  font-size: clamp(2rem, 3.2vw, 2.5rem);
  margin: var(--space-xs) 0;
  line-height: 1.2;
}

.showcase-product-view .product-subtitle {
  margin-bottom: var(--space-xs);
}

.showcase-product-view .product-description {
  margin-bottom: var(--space-xs);
  font-size: var(--text-sm);
  line-height: 1.5;
  max-width: 600px;
}

.showcase-product-view .feature-list {
  margin-bottom: var(--space-xs);
}

.showcase-product-view .feature-list li {
  margin-bottom: 4px;
}

.showcase-product-view .product-actions {
  margin-top: var(--space-xs) !important;
}

.showcase-product-view .product-info {
  padding-left: var(--space-xl);
}

.showcase-product-view .download-card {
  padding: 8px 16px; /* Compact padding for showcase views */
  gap: var(--space-sm);
  border-radius: var(--radius-sm);
}

.showcase-product-view .download-card::before {
  width: 20px;
  height: 20px;
}

.showcase-product-view .download-text strong {
  font-size: var(--text-sm);
}

.showcase-product-view .download-text span {
  font-size: 10px;
}

.showcase-product-view .product-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Mockups and Screenshots */
.showcase-mockup {
  width: 260px;
  height: 530px;
  background: #000;
  border: 8px solid #1e293b;
  border-radius: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

.showcase-mockup.landscape {
  width: 480px;
  height: 220px;
  border-radius: 20px;
}

.showcase-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-mockup::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 25px;
  background: radial-gradient(circle at top, rgba(255,255,255,0.15), transparent);
  pointer-events: none;
}

/* Responsive showcase */
@media (max-width: 992px) {
  .showcase-intro-container {
    margin: var(--space-xs) auto var(--space-md);
    min-height: 80px;
  }

  .showcase-product-view {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    overflow-y: auto;
    padding: var(--space-lg);
    gap: var(--space-md);
  }
  
  .showcase-product-view .product-info {
    padding-left: 0;
    text-align: center;
  }
  
  .showcase-mockup {
    width: 200px;
    height: 400px;
    border-width: 5px;
    border-radius: 25px;
  }
  
  .showcase-mockup.landscape {
    width: 290px;
    height: 135px;
    border-radius: 12px;
  }
  
  .showcase-intro-container.stretched {
    gap: 10px;
  }
  
  .showcase-intro-container.stretched .showcase-tab-btn {
    width: 54px;
    height: 54px;
    padding: 4px; /* Broader logo on mobile */
  }
}

/* ==========================================================================
   JSON COMPARE FULLSCREEN & TOOLBAR STYLES
   ========================================================================== */
.json-action-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--color-text-secondary, #94a3b8);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
  user-select: none;
}
.json-action-btn:hover {
  background: rgba(99, 102, 241, 0.25);
  border-color: rgba(99, 102, 241, 0.5);
  color: #ffffff;
  transform: translateY(-1px);
}
.json-action-btn:active {
  transform: translateY(0);
}
.json-doc-wrapper.is-fullscreen,
#diff-output-container.is-fullscreen {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 99999 !important;
  background: #080b14 !important;
  padding: 20px 24px !important;
  border-radius: 0 !important;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.95) !important;
  max-height: 100vh !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
}
.json-doc-wrapper.is-fullscreen textarea {
  flex: 1 !important;
  height: calc(100vh - 90px) !important;
  font-size: 13px !important;
  resize: none !important;
  line-height: 1.6 !important;
  margin-top: 10px !important;
  padding: 12px !important;
  background: rgba(0, 0, 0, 0.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
#diff-output-container.is-fullscreen #diff-output {
  max-height: calc(100vh - 100px) !important;
  overflow-y: auto !important;
  font-size: 13px !important;
  margin-top: 10px !important;
  padding: 12px !important;
}