/* ===== Design System & Theme Variables ===== */
    :root {
      --bg-color: #EAEDF0; /* Clean Apple AirPods Max-style light grey-blue */
      --text-color: #1d1d1f; /* Charcoal-black */
      --text-muted: #86868b; /* Cool grey */
      --glass-bg: rgba(255, 255, 255, 0.4);
      --glass-border: rgba(0, 0, 0, 0.08);
      --section-border: rgba(0, 0, 0, 0.06);
      --accent-color: #0071e3; /* Apple Blue */
      --outline-text-color: #1d1d1f;
      --page-pd: clamp(24px, 6vw, 100px);
      --transition-base: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    body[data-color="dark"] {
      --bg-color: #09090b; /* Midnight dark */
      --text-color: #f5f5f7; /* Off-white */
      --text-muted: #86868b;
      --glass-bg: rgba(255, 255, 255, 0.03);
      --glass-border: rgba(255, 255, 255, 0.08);
      --section-border: rgba(255, 255, 255, 0.08);
      --accent-color: #a855f7; /* Royal Purple */
      --outline-text-color: #ffffff;
    }

    /* ===== Global Resets ===== */
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      cursor: none !important; /* Managed by custom cursor */
      user-select: none;
      -webkit-user-select: none;
    }

    html {
      font-size: 16px;
      scroll-behavior: smooth;
      scroll-padding-top: 70px;
      scrollbar-width: none;
      -ms-overflow-style: none;
      overflow-x: clip;
    }
    html::-webkit-scrollbar { display: none; }

    html.lenis {
      height: auto;
    }
    .lenis.lenis-smooth {
      scroll-behavior: auto !important;
    }
    .lenis.lenis-smooth [data-lenis-prevent] {
      overscroll-behavior: contain;
    }
    .lenis.lenis-stopped {
      overflow: hidden;
    }

    body {
      background-color: var(--bg-color);
      color: var(--text-color);
      font-family: 'Inter', -apple-system, system-ui, sans-serif;
      overflow-x: clip;
      transition: background-color 0.8s cubic-bezier(0.16, 1, 0.3, 1), color 0.5s ease;
      -webkit-font-smoothing: antialiased;
    }

    /* Subtle grain noise overlay */
    .grain-overlay {
      position: fixed;
      inset: 0;
      width: 100%;
      height: 100%;
      opacity: 0.03;
      pointer-events: none;
      z-index: 9999;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    }

    /* ===== Custom Cursor ===== */
    .custom-cursor {
      position: fixed;
      top: 0;
      left: 0;
      width: 14px;
      height: 14px;
      border-radius: 50%;
      background-color: var(--text-color);
      pointer-events: none;
      z-index: 999999;
      transform: translate(-50%, -50%);
      opacity: 0;
      transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.3s;
    }
    .custom-cursor.visible { opacity: 1; }
    .custom-cursor.hover {
      transform: translate(-50%, -50%) scale(3.5);
      background-color: rgba(var(--text-color), 0.1);
      border: 1px solid var(--text-color);
      backdrop-filter: invert(1) grayscale(1);
    }

    @media (max-width: 991px) {
      .custom-cursor {
        display: none !important;
      }
      * {
        cursor: auto !important;
      }
      a, button, [role="button"], select, option, .mobile-menu-btn {
        cursor: pointer !important;
      }
    }

    /* ===== Page Entrance Loader ===== */
    #intellihome-loader {
      position: fixed;
      inset: 0;
      z-index: 99999;
      background: #EAEDF0;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }
    body[data-color="dark"] #intellihome-loader {
      background: #09090b;
    }
    /* Fade-out exit: the whole loader dissolves away */
    #intellihome-loader.fade-out {
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }
    /* Slide-up exit: panel sweeps up after fade */
    #intellihome-loader.slide-up {
      transform: translateY(-100%);
      transition: transform 0.85s cubic-bezier(0.76, 0, 0.24, 1);
    }
    /* The brand word mark – starts centred */
    .ih-brand-load {
      position: absolute;
      /* centred by default via flex parent */
      font-family: 'Outfit', sans-serif;
      font-size: clamp(22px, 4vw, 36px);
      font-weight: 500;
      letter-spacing: -0.02em;
      color: #1d1d1f;
      white-space: nowrap;
      opacity: 0;
      /* Phase 1: fade-in centred */
      transition: opacity 0.6s ease;
    }
    body[data-color="dark"] .ih-brand-load {
      color: #f5f5f7;
    }
    .ih-brand-load.show {
      opacity: 1;
    }
    /* Phase 2: fly to top-left nav brand position */
    .ih-brand-load.fly-to-nav {
      /*
        We use JS to compute exact pixel offsets and apply
        transform so we don't fight position:absolute.
        This class just marks the transition timing.
      */
      transition:
        transform 0.75s cubic-bezier(0.76, 0, 0.24, 1),
        font-size  0.75s cubic-bezier(0.76, 0, 0.24, 1);
    }

    /* ===== Frosted Navigation Bar ===== */
    nav {
      position: fixed;
      top: 20px;
      left: 50%;
      transform: translate3d(-50%, 0, 0);
      width: calc(100% - 40px);
      max-width: 1000px;
      height: 56px;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 100;
      background-color: rgba(255, 255, 255, 0.75);
      border: 1px solid rgba(0, 0, 0, 0.08);
      border-radius: 9999px;
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    body[data-color="dark"] nav {
      background-color: rgba(9, 9, 11, 0.75);
      border-color: rgba(255, 255, 255, 0.08);
    }
    nav.scrolled {
      top: 12px;
      height: 52px;
      background-color: rgba(255, 255, 255, 0.85);
      border-color: rgba(0, 0, 0, 0.12);
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    }
    body[data-color="dark"] nav.scrolled {
      background-color: rgba(9, 9, 11, 0.85);
      border-color: rgba(255, 255, 255, 0.12);
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    }
    nav.nav-hidden {
      transform: translate3d(-50%, -100px, 0) !important;
      opacity: 0 !important;
      pointer-events: none;
    }
    .nav-container {
      width: 100%;
      height: 100%;
      padding: 0 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .nav-brand {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      color: var(--text-color);
      font-family: 'Outfit', sans-serif;
      font-size: 20px;
      font-weight: 500;
      letter-spacing: -0.02em;
    }
    .apple-logo {
      width: 18px;
      height: 18px;
      fill: currentColor;
    }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 32px;
    }
    .nav-links a {
      font-size: 13px;
      font-weight: 500;
      color: var(--text-muted);
      text-decoration: none;
      transition: color 0.3s;
    }
    .nav-links a:hover {
      color: var(--text-color);
    }
    .nav-contact {
      color: var(--accent-color) !important;
    }

    /* Mobile Navigation menu trigger */
    .mobile-menu-btn {
      display: none;
      background: transparent;
      border: none;
      color: var(--text-muted);
      font-family: 'Inter', sans-serif;
      font-size: 13px;
      font-weight: 500;
      padding: 0;
      cursor: pointer;
      z-index: 10001;
      transition: color 0.3s;
    }
    .mobile-menu-btn:hover {
      color: var(--text-color);
    }

    @media (max-width: 768px) {
      .nav-links { display: none; }
      .mobile-menu-btn { display: block; }
    }

    /* ===== Mobile Menu Overlay ===== */
    .mobile-nav-overlay {
      position: fixed;
      inset: 0;
      width: 100%;
      height: 100vh;
      background-color: var(--bg-color);
      z-index: 99;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 0 var(--page-pd);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.5s ease;
    }
    body.menu-open .mobile-nav-overlay {
      opacity: 1;
      pointer-events: auto;
    }
    .mobile-nav-links {
      display: flex;
      flex-direction: column;
      gap: 28px;
    }
    .mobile-nav-links a {
      font-family: 'Outfit', sans-serif;
      font-size: 32px;
      font-weight: 600;
      color: var(--text-color);
      text-decoration: none;
    }
    .mobile-nav-links a:hover {
      color: var(--accent-color);
    }

    /* ===== Apple Style Pill Buttons ===== */
    .glass-pill-btn {
      display: inline-block;
      padding: 12px 32px;
      font-size: 14px;
      font-weight: 500;
      font-family: 'Inter', system-ui, sans-serif;
      color: var(--text-color);
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.15) 100%);
      border: 1px solid rgba(255, 255, 255, 0.4);
      border-radius: 30px;
      text-decoration: none;
      box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.6), 
                  0 4px 10px rgba(0, 0, 0, 0.04),
                  0 1px 3px rgba(0, 0, 0, 0.02);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
      text-align: center;
    }
    body[data-color="dark"] .glass-pill-btn {
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
      border: 1px solid rgba(255, 255, 255, 0.08);
      box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 
                  0 4px 10px rgba(0, 0, 0, 0.2);
    }
    .glass-pill-btn:hover {
      transform: translateY(-2px);
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.25) 100%);
      box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.7), 
                  0 6px 14px rgba(0, 0, 0, 0.06);
    }

    .arrow-circle-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      border: 1px solid rgba(0, 0, 0, 0.1);
      color: var(--text-color);
      background: transparent;
      font-size: 20px;
      text-decoration: none;
      transition: background-color 0.3s, transform 0.3s, border-color 0.3s, color 0.3s;
    }
    body[data-color="dark"] .arrow-circle-btn {
      border-color: rgba(255, 255, 255, 0.15);
    }
    .arrow-circle-btn:hover {
      background-color: var(--text-color);
      color: var(--bg-color);
      border-color: var(--text-color);
      transform: scale(1.05);
    }

    /* ===== Apple AirPods Max Hero Section (Top) ===== */
    .apple-hero {
      width: 100%;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 100px var(--page-pd) 60px;
      position: relative;
      overflow: hidden;
    }
    .hero-bg-wrapper {
      position: absolute;
      inset: 0;
      z-index: 1;
      background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.12) 100%), url('assets/hero_home_bg.jpg');
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      will-change: transform;
    }
    body[data-color="dark"] .hero-bg-wrapper {
      background-image: linear-gradient(to bottom, rgba(9, 9, 11, 0.78) 0%, rgba(9, 9, 11, 0.65) 100%), url('assets/hero_home_bg.jpg');
    }
    .apple-hero-container {
      width: 100%;
      max-width: 1200px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      position: relative;
      z-index: 2;
      will-change: transform, opacity;
    }
    .hero-right-info {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 20px;
      max-width: 800px;
      z-index: 3;
    }
    .hero-category-label {
      font-family: 'Outfit', sans-serif;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.15em;
      color: rgba(255, 255, 255, 0.75);
    }
    .hero-product-title {
      font-family: 'Outfit', sans-serif;
      font-size: clamp(48px, 6vw, 84px);
      font-weight: 800;
      line-height: 0.95;
      letter-spacing: -0.04em;
      color: #ffffff;
      transform: scale(0.92);
      opacity: 0;
      transition: transform 0.9s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.9s ease;
    }
    .hero-right-info.hero-loaded .hero-product-title {
      transform: scale(1);
      opacity: 1;
    }
    .hero-wrapper-title,
    .hero-wrapper-label,
    .hero-wrapper-desc,
    .hero-wrapper-btn {
      opacity: 0;
      transform: translateY(22px);
      transition: opacity 0.9s ease 0.15s, transform 0.9s ease 0.15s;
    }
    .hero-right-info.hero-loaded .hero-wrapper-title,
    .hero-right-info.hero-loaded .hero-wrapper-label,
    .hero-right-info.hero-loaded .hero-wrapper-desc,
    .hero-right-info.hero-loaded .hero-wrapper-btn {
      opacity: 1;
      transform: translateY(0);
    }
    .hero-product-desc {
      font-size: 15px;
      line-height: 1.5;
      color: rgba(255, 255, 255, 0.75);
      max-width: 600px;
    }

    @media (max-width: 991px) {
      .hero-right-info {
        max-width: 100%;
      }
    }

    /* Hero-scoped: keep all buttons white over the image */
    .apple-hero .glass-pill-btn {
      color: #ffffff;
    }
    .apple-hero .arrow-circle-btn {
      color: #ffffff;
      border-color: rgba(255, 255, 255, 0.4);
    }
    .apple-hero .arrow-circle-btn:hover {
      background-color: rgba(255, 255, 255, 0.15);
      border-color: rgba(255, 255, 255, 0.7);
      color: #ffffff;
    }

    /* ===== Apple Style Scroll Sections ===== */
    .apple-section-white {
      background-color: #ffffff;
      color: #1d1d1f;
      border-top: 1px solid var(--section-border);
      border-bottom: 1px solid var(--section-border);
      padding: clamp(80px, 12vw, 160px) var(--page-pd);
      display: flex;
      align-items: center;
      justify-content: center;
    }
    body[data-color="dark"] .apple-section-white {
      background-color: #121212;
      color: #f5f5f7;
    }
    .apple-section-grey {
      background-color: var(--bg-color);
      color: var(--text-color);
      padding: clamp(80px, 12vw, 160px) var(--page-pd);
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .section-container-split {
      width: 100%;
      max-width: 1200px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: center;
    }
    .section-container-split.reversed {
      direction: ltr;
    }
    .section-left-portrait {
      position: relative;
      display: flex;
      justify-content: center;
    }
    .portrait-card-img {
      width: 100%;
      max-width: 440px;
      aspect-ratio: 3/4;
      object-fit: cover;
      border-radius: 28px;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    }
    body[data-color="dark"] .portrait-card-img {
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    }
    .section-right-text, .section-left-text {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 24px;
      max-width: 480px;
    }
    .section-headline {
      font-family: 'Outfit', sans-serif;
      font-size: clamp(36px, 4.5vw, 64px);
      font-weight: 700;
      line-height: 1.05;
      letter-spacing: -0.03em;
    }
    .section-body {
      font-size: 15px;
      line-height: 1.55;
      color: var(--text-muted);
    }
    .section-right-visual {
      display: flex;
      justify-content: center;
      position: relative;
    }
    .floating-villa-img {
      width: 100%;
      max-width: 480px;
      height: auto;
      object-fit: contain;
      animation: floatEffect 5s ease-in-out infinite alternate-reverse;
      filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.05));
    }
    body[data-color="dark"] .floating-villa-img {
      filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    }

    @media (max-width: 991px) {
      .section-container-split {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
      }
      .section-container-split.reversed {
        display: flex;
        flex-direction: column-reverse;
      }
      .section-right-text, .section-left-text {
        align-items: center;
        max-width: 100%;
      }
    }

    /* ===== CTA Banner ===== */
    .cta-section {
      padding: clamp(80px, 12vw, 140px) var(--page-pd);
      display: flex; align-items: center; justify-content: center;
      border-top: 1px solid var(--section-border);
    }
    .cta-inner {
      max-width: 1200px; width: 100%;
      display: flex; align-items: center; justify-content: space-between;
      gap: 40px;
    }
    @media (max-width: 768px) { .cta-inner { flex-direction: column; text-align: center; align-items: center; } }
    .cta-headline {
      font-family: 'Outfit', sans-serif; font-size: clamp(32px, 4.5vw, 60px);
      font-weight: 800; letter-spacing: -0.04em; line-height: 1.0;
      color: var(--text-color); max-width: 500px;
    }
    .cta-actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-end; }
    @media (max-width: 768px) { .cta-actions { align-items: center; } }
    .cta-sub {
      font-size: 14px; color: var(--text-muted); max-width: 260px;
      text-align: right; line-height: 1.55;
    }
    @media (max-width: 768px) { .cta-sub { text-align: center; } }
    .cta-btn-row { display: flex; gap: 12px; align-items: center; }

    /* Reveal states for CTA */
    .cta-section .cta-headline,
    .cta-section .cta-actions {
      opacity: 0; transform: translateY(24px);
      transition: opacity 1s cubic-bezier(0.16,1,0.3,1), transform 1s cubic-bezier(0.16,1,0.3,1);
    }
    .cta-section.revealed .cta-headline { opacity: 1; transform: translateY(0); }
    .cta-section.revealed .cta-actions  { opacity: 1; transform: translateY(0); transition-delay: 0.15s; }

    /* ===== Footer Section ===== */
    footer {
      background-color: var(--bg-color);
      border-top: 1px solid var(--section-border);
      padding: 80px var(--page-pd) 40px;
      color: var(--text-color);
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .footer-container {
      width: 100%;
      max-width: 1200px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 32px;
    }
    .footer-logo {
      display: flex;
      align-items: center;
      gap: 10px;
      font-family: 'Outfit', sans-serif;
      font-size: 22px;
      font-weight: 500;
      color: var(--text-color);
    }
    .footer-credits {
      font-size: 13px;
      color: var(--text-muted);
      text-align: center;
      border-top: 1px solid var(--section-border);
      padding-top: 24px;
      width: 100%;
    }
    .footer-credits a {
      color: var(--accent-color);
      text-decoration: none;
      font-weight: 500;
    }

    /* ===== Scroll Reveal Animations ===== */
    .hero-item-wrapper {
      will-change: transform, opacity;
      opacity: 0;
    }

    /* Universal Staggered Scroll Reveal */
    .reveal-item {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
      will-change: transform, opacity;
    }
    .reveal-item.revealed {
      opacity: 1 !important;
      transform: translateY(0) !important;
    }

    /* Letter-by-Letter reveal styles */




    /* Video Showcase Card */
    .video-case-card {
      width: 100%;
      max-width: 800px;
      background: #ffffff;
      border-radius: 36px;
      padding: 24px;
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
      display: flex;
      flex-direction: column;
      gap: 24px;
      border: 1px solid rgba(0, 0, 0, 0.04);
    }
    body[data-color="dark"] .video-case-card {
      background: #121212;
      border-color: rgba(255, 255, 255, 0.04);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    }
    
    .video-card-inset {
      position: relative;
      width: 100%;
      aspect-ratio: 16/9;
      border-radius: 24px;
      overflow: hidden;
      box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
      background-color: #000;
    }
    
    .video-card-inset video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      will-change: transform;
    }
    
    .video-card-details {
      display: flex;
      flex-direction: column;
      gap: 8px;
      padding: 0 8px 8px;
      align-items: flex-start;
      text-align: left;
    }
    
    .video-card-category {
      font-family: 'Outfit', sans-serif;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.1em;
      color: var(--text-muted);
      text-transform: uppercase;
    }
    
    .video-card-title {
      font-family: 'Inter', system-ui, sans-serif;
      font-size: clamp(18px, 2.2vw, 24px);
      font-weight: 400;
      line-height: 1.45;
      color: var(--text-color);
      letter-spacing: -0.01em;
    }
    
    .video-card-title strong {
      font-weight: 600;
    }

    /* Section 3 custom JS scroll stacking styling */
    #knx-automation {
      position: relative;
      height: 250vh;
      background-color: var(--bg-color);
      width: 100%;
    }
    
    .sticky-showcase-container {
      position: sticky;
      top: 0;
      height: 100vh;
      width: 100%;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0 var(--page-pd);
    }
    
    .showcase-cards-wrapper {
      position: relative;
      width: 100%;
      max-width: 800px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    #card-knx {
      position: relative;
      z-index: 10;
      will-change: transform, opacity;
    }
    
    #card-lighting-control {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 20;
      transform: translate3d(0, 100vh, 0);
      will-change: transform;
    }



    /* ===== Lifestyle Section & Shoe Collage ===== */
    .lifestyle-section {
      background-color: #ffffff;
      color: #1d1d1f;
      border-top: 1px solid var(--section-border);
      border-bottom: 1px solid var(--section-border);
      padding: clamp(80px, 12vw, 160px) var(--page-pd);
      display: flex;
      align-items: center;
      justify-content: center;
    }
    body[data-color="dark"] .lifestyle-section {
      background-color: #121212;
      color: #f5f5f7;
    }
    .btn-yellow {
      display: inline-block;
      padding: 12px 32px;
      font-size: 14px;
      font-weight: 600;
      font-family: 'Inter', system-ui, sans-serif;
      color: #1d1d1f;
      background-color: #e5e833;
      border: none;
      border-radius: 30px;
      text-decoration: none;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
      transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
      text-align: center;
    }
    .btn-yellow:hover {
      transform: translateY(-2px);
      background-color: #d8db26;
      box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
    }
    .lifestyle-collage {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 20px;
      width: 100%;
      max-width: 580px;
      position: relative;
    }
    .collage-col {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    .collage-col-right {
      padding-top: 30px;
    }
    .lifestyle-item-wrapper {
      width: 100%;
      will-change: transform, opacity;
      opacity: 0;
    }
    .collage-item-wrapper {
      width: 100%;
      will-change: transform, opacity;
      opacity: 0;
    }
    .collage-item {
      position: relative;
      border-radius: 28px;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
      background-color: var(--glass-bg);
      transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    body[data-color="dark"] .collage-item {
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }
    .collage-item:hover {
      transform: translateY(-5px) scale(1.02);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    }
    .collage-item img {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
    }
    .collage-item-1 {
      aspect-ratio: 1.45 / 1;
      mask-image: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,1) 40%);
      -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,1) 40%);
    }
    .collage-item-2 {
      aspect-ratio: 0.85 / 1;
    }
    .collage-item-3 {
      aspect-ratio: 0.8 / 1;
    }
    .collage-item-4 {
      aspect-ratio: 1.25 / 1;
      mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 60%, rgba(0,0,0,0.2) 100%);
      -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 60%, rgba(0,0,0,0.2) 100%);
    }
    .collage-item-5 {
      aspect-ratio: 0.85 / 1;
    }

    /* ===== Style Upgrade Section & Product Grid ===== */
    .style-upgrade-section {
      background-color: var(--bg-color);
      color: var(--text-color);
      padding: clamp(80px, 12vw, 160px) var(--page-pd);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      border-bottom: 1px solid var(--section-border);
      transition: background-color 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .style-upgrade-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      gap: 40px;
      margin-bottom: 48px;
      width: 100%;
      max-width: 1200px;
    }
    .style-upgrade-title {
      font-family: 'Outfit', sans-serif;
      font-size: clamp(36px, 4.5vw, 64px);
      font-weight: 700;
      line-height: 1.05;
      letter-spacing: -0.03em;
      color: var(--text-color);
      max-width: 600px;
    }
    .style-upgrade-title.reveal-item {
      transform: translateY(-50px);
      clip-path: inset(0 0 100% 0);
      transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), 
                  transform 1.4s cubic-bezier(0.16, 1, 0.3, 1), 
                  clip-path 1.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .style-upgrade-title.reveal-item.revealed {
      transform: translateY(0) !important;
      clip-path: inset(0 0 0 0) !important;
    }
    .style-upgrade-desc {
      font-size: 15px;
      line-height: 1.6;
      color: var(--text-muted);
      max-width: 480px;
      text-align: right;
    }
    .filter-pills-container {
      position: relative;
      display: flex;
      gap: 12px;
      margin-bottom: 48px;
      flex-wrap: wrap;
      width: 100%;
      max-width: 1200px;
    }
    .filter-slider-indicator {
      position: absolute;
      background-color: #e5e833;
      border-radius: 24px;
      transition: all 0.35s cubic-bezier(0.25, 1, 0.25, 1);
      pointer-events: none;
      z-index: 1;
      box-shadow: 0 4px 12px rgba(229, 232, 51, 0.25);
    }
    .filter-pill {
      position: relative;
      z-index: 2;
      padding: 10px 24px;
      font-size: 14px;
      font-weight: 500;
      border-radius: 24px;
      border: 1px solid rgba(0, 0, 0, 0.1);
      background-color: transparent;
      color: var(--text-color);
      transition: color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
      white-space: nowrap;
      cursor: pointer;
    }
    body[data-color="dark"] .filter-pill {
      border-color: rgba(255, 255, 255, 0.15);
    }
    .filter-pill:hover:not(.active) {
      background-color: rgba(0, 0, 0, 0.03);
      transform: translateY(-1px);
    }
    body[data-color="dark"] .filter-pill:hover:not(.active) {
      background-color: rgba(255, 255, 255, 0.05);
    }
    .filter-pill.active {
      color: #1d1d1f !important;
      border-color: transparent;
      font-weight: 600;
    }
    .product-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 30px;
      width: 100%;
      max-width: 1200px;
    }
    .product-card-wrapper {
      width: 100%;
      will-change: transform, opacity;
      opacity: 0;
    }
    .product-card-wrapper.hidden {
      display: none !important;
    }
    .product-card {
      position: relative;
      width: 100%;
      height: 480px;
      border-radius: 32px;
      background: rgba(255, 255, 255, 0.45);
      border: 1px solid rgba(255, 255, 255, 0.5);
      backdrop-filter: blur(30px);
      -webkit-backdrop-filter: blur(30px);
      padding: 12px;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
      display: flex;
      flex-direction: column;
      overflow: hidden;
      transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .product-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 20px 45px rgba(0, 0, 0, 0.04);
    }
    body[data-color="dark"] .product-card {
      background: rgba(20, 20, 25, 0.4);
      border-color: rgba(255, 255, 255, 0.08);
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    }
    body[data-color="dark"] .product-card:hover {
      box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
    }
    .product-card-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 24px;
      display: block;
      transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .product-card:hover .product-card-image {
      transform: scale(1.05);
    }
    .product-card-overlay {
      position: absolute;
      bottom: 12px;
      left: 12px;
      width: calc(100% - 24px);
      background: rgba(255, 255, 255, 0.75);
      backdrop-filter: blur(20px) saturate(140%);
      -webkit-backdrop-filter: blur(20px) saturate(140%);
      border-radius: 20px;
      padding: 20px;
      box-sizing: border-box;
      border: 1px solid rgba(255, 255, 255, 0.45);
      display: flex;
      flex-direction: column;
      gap: 6px;
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.03);
    }
    body[data-color="dark"] .product-card-overlay {
      background: rgba(18, 18, 18, 0.7);
      border-color: rgba(255, 255, 255, 0.08);
    }
    .product-card-header {
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .profile-name {
      font-family: 'Outfit', sans-serif;
      font-size: 18px;
      font-weight: 700;
      color: #1d1d1f;
      letter-spacing: -0.01em;
      margin: 0;
    }
    body[data-color="dark"] .profile-name {
      color: #f5f5f7;
    }
    .verified-badge {
      display: flex;
      align-items: center;
      justify-content: center;
      color: #10b981;
    }
    .verified-badge svg {
      width: 16px;
      height: 16px;
    }
    .profile-title {
      font-size: 13px;
      font-weight: 600;
      color: var(--text-color);
      margin: 0 0 2px 0;
    }
    .profile-bio {
      font-size: 12px;
      line-height: 1.45;
      color: var(--text-muted);
      margin: 0 0 8px 0;
    }
    .product-card-footer {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      margin-top: auto;
    }
    .profile-stats {
      display: flex;
      align-items: center;
      gap: 16px;
    }
    .stat-item {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 12px;
      font-weight: 500;
      color: var(--text-color);
    }
    .stat-icon {
      width: 14px;
      height: 14px;
      color: var(--text-muted);
    }
    .follow-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 8px 16px;
      font-size: 12px;
      font-weight: 600;
      color: #1d1d1f !important;
      background: #ffffff;
      border: 1px solid rgba(0, 0, 0, 0.08);
      border-radius: 20px;
      text-decoration: none;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
      transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s;
    }
    body[data-color="dark"] .follow-btn {
      background: #f5f5f7;
      color: #1d1d1f !important;
      border-color: transparent;
    }
    .follow-btn:hover {
      transform: scale(1.05);
      background-color: #f5f5f7;
    }
    body[data-color="dark"] .follow-btn:hover {
      background-color: #ffffff;
    }




    /* Responsive adjustments */
    @media (max-width: 991px) {
      .lifestyle-section {
        padding: 80px var(--page-pd);
      }
      .lifestyle-collage {
        margin: 0 auto;
        max-width: 480px;
      }
      .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
      }
    }
    @media (max-width: 768px) {
      .product-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
      }
      .filter-pills-container {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 12px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        width: calc(100% + 2 * var(--page-pd));
        margin-left: calc(-1 * var(--page-pd));
        margin-right: calc(-1 * var(--page-pd));
        padding-left: var(--page-pd);
        padding-right: var(--page-pd);
      }
      .filter-pills-container::-webkit-scrollbar {
        display: none;
      }
    }

    /* ===== Section: Ambient TV Sync (Fit Screen Layout) ===== */
    .ambient-section {
      position: relative;
      width: 100%;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: clamp(80px, 10vw, 120px) var(--page-pd);
      background-color: var(--bg-color);
      border-bottom: 1px solid var(--section-border);
      overflow: hidden;
      transition: background-color 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    /* Dynamic soft background glow matching the sync state */
    .ambient-glow-backdrop {
      position: absolute;
      width: 800px;
      height: 800px;
      left: 60%;
      top: 50%;
      transform: translate(-50%, -50%);
      border-radius: 50%;
      background: radial-gradient(circle, rgba(253, 110, 48, 0.12) 0%, rgba(138, 43, 226, 0.08) 50%, rgba(0,0,0,0) 100%);
      filter: blur(140px);
      z-index: 1;
      pointer-events: none;
      transition: background 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    }
    body[data-color="dark"] .ambient-glow-backdrop {
      background: radial-gradient(circle, rgba(253, 110, 48, 0.18) 0%, rgba(138, 43, 226, 0.12) 50%, rgba(0,0,0,0) 100%);
    }

    .ambient-container {
      width: 100%;
      max-width: 1200px;
      position: relative;
      z-index: 2;
    }
    
    .ambient-split-grid {
      display: grid;
      grid-template-columns: 0.9fr 1.1fr;
      gap: 60px;
      align-items: center;
      width: 100%;
    }
    
    .ambient-content {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 24px;
      will-change: transform, opacity;
      opacity: 0;
    }
    
    .ambient-badge {
      font-family: 'Outfit', sans-serif;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--accent-color);
    }
    
    .ambient-headline {
      font-family: 'Outfit', sans-serif;
      font-size: clamp(36px, 4.2vw, 56px);
      font-weight: 700;
      line-height: 1.1;
      letter-spacing: -0.03em;
      color: var(--text-color);
    }
    
    .ambient-body {
      font-size: 15px;
      line-height: 1.6;
      color: var(--text-muted);
    }
    
    
    
    .ambient-cta {
      margin-top: 8px;
    }
    
    /* Right Column: Visual Frame */
    .ambient-visual {
      display: flex;
      justify-content: center;
      align-items: center;
      position: relative;
      width: 100%;
      height: 100%;
      will-change: transform, opacity;
      opacity: 0;
    }
    
    .ambient-img-wrapper {
      position: relative;
      width: 100%;
      border-radius: 28px;
      overflow: visible; /* to allow glow halo overflow */
    }
    
    /* Real-time backlight effect emulation behind image */
    .visual-glow-halo {
      position: absolute;
      inset: -25px;
      border-radius: 36px;
      background: linear-gradient(135deg, rgba(253, 110, 48, 0.65) 0%, rgba(138, 43, 226, 0.65) 100%);
      filter: blur(35px);
      z-index: 1;
      opacity: 0.85;
      transition: background 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .ambient-showcase-img {
      position: relative;
      width: 100%;
      height: auto;
      object-fit: cover;
      border-radius: 24px;
      z-index: 2;
      box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
    }
    
    .visual-glass-tag {
      position: absolute;
      bottom: 20px;
      right: 20px;
      background: rgba(0, 0, 0, 0.6);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.15);
      border-radius: 12px;
      padding: 8px 14px;
      font-size: 11px;
      font-weight: 500;
      color: #ffffff;
      display: flex;
      align-items: center;
      gap: 8px;
      z-index: 3;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    }
    
    .pulse-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background-color: #22c55e; /* Green */
      box-shadow: 0 0 8px #22c55e;
      animation: pulseActive 1.6s infinite;
    }
    
    @keyframes pulseActive {
      0% { transform: scale(0.9); opacity: 0.6; }
      50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 14px #22c55e; }
      100% { transform: scale(0.9); opacity: 0.6; }
    }
    
    /* Responsive Adjustments for Ambient Sync Section */
    @media (max-width: 991px) {
      .ambient-section {
        min-height: auto;
        padding: 80px var(--page-pd);
      }
      .ambient-split-grid {
        grid-template-columns: 1fr;
        gap: 48px;
      }
      .ambient-content {
        align-items: center;
        text-align: center;
      }
      .ambient-simulator {
        max-width: 500px;
        margin: 0 auto;
      }
      .ambient-visual {
        max-width: 650px;
        margin: 0 auto;
      }
      .ambient-glow-backdrop {
        left: 50%;
        top: 60%;
        width: 600px;
        height: 600px;
      }
    }

    /* Ambient Sync background redesign */
    #ambient-sync.ambient-section {
      min-height: 100vh;
      padding: clamp(96px, 10vw, 132px) var(--page-pd);
      align-items: flex-start;
      background-color: #2b1720;
      background-image: url("assets/ambient_tv_lighting.jpg");
      background-repeat: no-repeat;
      background-position: center center;
      background-size: cover;
      color: #ffffff;
      isolation: isolate;
    }

    #ambient-sync.ambient-section::before,
    #ambient-sync.ambient-section::after {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
    }

    #ambient-sync.ambient-section::before {
      z-index: 1;
      background:
        linear-gradient(180deg, rgba(12, 8, 12, 0.58) 0%, rgba(12, 8, 12, 0.22) 32%, rgba(12, 8, 12, 0.14) 58%, rgba(12, 8, 12, 0.62) 100%),
        radial-gradient(circle at 50% 28%, rgba(255, 103, 170, 0.34) 0%, rgba(126, 83, 255, 0.22) 30%, rgba(0, 0, 0, 0) 58%);
    }

    #ambient-sync.ambient-section::after {
      z-index: 1;
      background: linear-gradient(90deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.04) 32%, rgba(0, 0, 0, 0.04) 68%, rgba(0, 0, 0, 0.44) 100%);
    }

    #ambient-sync .ambient-glow-backdrop,
    #ambient-sync .ambient-visual {
      display: none;
    }

    #ambient-sync .ambient-container {
      max-width: 1180px;
      z-index: 2;
    }

    #ambient-sync .ambient-split-grid {
      min-height: min(760px, 76vh);
      display: flex;
      align-items: flex-start;
      justify-content: flex-start;
    }

    #ambient-sync .ambient-content {
      width: min(360px, 100%);
      align-items: flex-start;
      gap: 12px;
      padding-top: 0;
      text-align: left;
      color: #ffffff;
      text-shadow: 0 3px 22px rgba(0, 0, 0, 0.45);
    }

    #ambient-sync .ambient-badge {
      color: rgba(255, 255, 255, 0.78);
    }

    #ambient-sync .ambient-headline {
      max-width: 360px;
      color: #ffffff;
      font-size: clamp(30px, 3.6vw, 48px);
      line-height: 0.98;
      letter-spacing: 0;
      text-wrap: balance;
    }

    #ambient-sync .ambient-body {
      max-width: 34ch;
      color: rgba(255, 255, 255, 0.84);
      font-size: 13.5px;
      line-height: 1.5;
    }

    #ambient-sync .ambient-cta {
      margin-top: 10px;
    }

    #ambient-sync .ambient-cta .glass-pill-btn {
      color: #ffffff;
      background: rgba(255, 255, 255, 0.14);
      border-color: rgba(255, 255, 255, 0.28);
      box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
    }

    @media (max-width: 991px) {
      #ambient-sync.ambient-section {
        min-height: 100svh;
        padding: 86px var(--page-pd) 42px;
        background-position: center center;
      }

      #ambient-sync .ambient-split-grid {
        min-height: calc(100svh - 128px);
      }

      #ambient-sync .ambient-content {
        width: min(330px, 100%);
        padding-top: 0;
        align-items: flex-start;
        text-align: left;
      }
    }

    @media (max-width: 576px) {
      #ambient-sync.ambient-section {
        padding: 88px 20px 34px;
        background-position: center center;
      }

      #ambient-sync .ambient-content {
        width: min(290px, 100%);
        gap: 12px;
      }

      #ambient-sync .ambient-headline {
        font-size: clamp(28px, 9vw, 40px);
      }

      #ambient-sync .ambient-body {
        max-width: 31ch;
        font-size: 13.5px;
      }

      #ambient-sync .ambient-cta,
      #ambient-sync .ambient-cta .glass-pill-btn {
        width: 100%;
      }
    }

    /* ===== Section: IP Camera Surveillance (Fit Screen Layout) ===== */
    .camera-section {
      position: relative;
      width: 100%;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: clamp(80px, 10vw, 120px) var(--page-pd);
      background-color: var(--bg-color);
      border-bottom: 1px solid var(--section-border);
      overflow: hidden;
      transition: background-color 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .camera-container {
      width: 100%;
      max-width: 1200px;
      position: relative;
      z-index: 2;
    }
    
    .camera-split-grid {
      display: grid;
      grid-template-columns: 1.15fr 0.85fr;
      gap: 60px;
      align-items: center;
      width: 100%;
    }
    
    .camera-visual {
      display: flex;
      justify-content: center;
      align-items: center;
      position: relative;
      width: 100%;
      height: 100%;
      will-change: transform, opacity;
      opacity: 0;
    }
    
    .monitor-wrapper {
      position: relative;
      width: 100%;
      max-width: 580px;
      padding: 16px;
      background: rgba(255, 255, 255, 0.4);
      border: 1px solid rgba(0, 0, 0, 0.08);
      border-radius: 28px;
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      box-shadow: 0 20px 45px rgba(0, 0, 0, 0.04);
      transition: background-color 0.8s, border-color 0.8s;
    }
    body[data-color="dark"] .monitor-wrapper {
      background: rgba(18, 18, 20, 0.5);
      border-color: rgba(255, 255, 255, 0.08);
      box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
    }
    
    .monitor-screen {
      position: relative;
      width: 100%;
      border-radius: 18px;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
      background-color: #000;
    }
    
    .camera-showcase-img {
      position: relative;
      width: 100%;
      height: auto;
      object-fit: cover;
      display: block;
      transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .monitor-wrapper:hover .camera-showcase-img {
      transform: scale(1.02);
    }
    
    .recording-badge {
      position: absolute;
      top: 15px;
      left: 15px;
      background: rgba(0, 0, 0, 0.65);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border: 1px solid rgba(255, 255, 255, 0.15);
      border-radius: 8px;
      padding: 6px 12px;
      font-size: 10px;
      font-weight: 600;
      color: #ffffff;
      display: flex;
      align-items: center;
      gap: 6px;
      letter-spacing: 0.05em;
      z-index: 3;
    }
    
    .rec-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background-color: #ef4444; /* Red */
      animation: recPulse 1s infinite alternate;
    }
    @keyframes recPulse {
      0% { opacity: 0.3; }
      100% { opacity: 1; }
    }
    
    /* Radar scanning line animation */
    .radar-scan-line {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 2px;
      background: linear-gradient(to right, rgba(34, 197, 94, 0) 0%, rgba(34, 197, 94, 0.7) 50%, rgba(34, 197, 94, 0) 100%);
      box-shadow: 0 0 8px rgba(34, 197, 94, 0.8);
      animation: radarScan 4s linear infinite;
      z-index: 3;
      pointer-events: none;
    }
    @keyframes radarScan {
      0% { top: 0; }
      50% { top: 100%; }
      100% { top: 0; }
    }
    
    /* Scan corners overlay */
    .scan-frame {
      position: absolute;
      width: 16px;
      height: 16px;
      border: 2px solid #22c55e;
      z-index: 3;
      pointer-events: none;
      opacity: 0.8;
    }
    .frame-tl { top: 15px; left: 15px; border-right: none; border-bottom: none; }
    .frame-tr { top: 15px; right: 15px; border-left: none; border-bottom: none; }
    .frame-bl { bottom: 15px; left: 15px; border-right: none; border-top: none; }
    .frame-br { bottom: 15px; right: 15px; border-left: none; border-top: none; }

    /* Right Column: Content & Controls */
    .camera-content {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 24px;
      will-change: transform, opacity;
      opacity: 0;
    }
    
    .camera-badge {
      font-family: 'Outfit', sans-serif;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--accent-color);
    }
    
    .camera-headline {
      font-family: 'Outfit', sans-serif;
      font-size: clamp(36px, 4.2vw, 56px);
      font-weight: 700;
      line-height: 1.1;
      letter-spacing: -0.03em;
      color: var(--text-color);
    }
    
    .camera-body {
      font-size: 15px;
      line-height: 1.6;
      color: var(--text-muted);
    }
    
    .camera-cta {
      margin-top: 8px;
    }
    
    /* Responsive styling for IP Camera Section */
    @media (max-width: 991px) {
      .camera-section {
        min-height: auto;
        padding: 80px var(--page-pd);
      }
      .camera-split-grid {
        grid-template-columns: 1fr;
        gap: 48px;
      }
      .camera-content {
        align-items: center;
        text-align: center;
      }
      .monitor-wrapper {
        margin: 0 auto;
      }
    }

    /* IP Camera image-led redesign */
    .camera-section {
      min-height: 100vh;
      padding: clamp(88px, 9vw, 132px) var(--page-pd);
      background-color: #d3d3d1;
      background-image: url("assets/ip-camera-bg.jpg");
      background-repeat: no-repeat;
      background-position: center center;
      background-size: cover;
      color: #101214;
      isolation: isolate;
    }

    .camera-bg-media {
      display: none;
    }

    .camera-bg-img {
      width: min(78vw, 1040px);
      max-width: calc(100vw - (var(--page-pd) * 2));
      height: auto;
      display: block;
      object-fit: contain;
      object-position: center center;
      transform: translateY(4%);
      filter: drop-shadow(0 28px 36px rgba(16, 18, 20, 0.14));
    }

    .camera-section::before,
    .camera-section::after {
      content: "";
      position: absolute;
      inset: 0;
      z-index: 1;
      pointer-events: none;
    }

    .camera-section::before {
      background:
        linear-gradient(90deg, rgba(211, 211, 209, 0.94) 0%, rgba(211, 211, 209, 0.5) 26%, rgba(211, 211, 209, 0) 50%, rgba(211, 211, 209, 0.5) 74%, rgba(211, 211, 209, 0.94) 100%),
        linear-gradient(180deg, rgba(211, 211, 209, 0.12) 0%, rgba(211, 211, 209, 0.46) 100%);
    }

    .camera-section::after {
      background: radial-gradient(circle at 50% 46%, rgba(255, 255, 255, 0) 0 24%, rgba(255, 255, 255, 0.22) 60%, rgba(255, 255, 255, 0.48) 100%);
      mix-blend-mode: screen;
      opacity: 0.5;
    }

    body[data-color="dark"] .camera-section {
      background: #d3d3d1;
      color: #101214;
    }

    .camera-container {
      max-width: 1320px;
      z-index: 2;
    }

    .camera-split-grid {
      min-height: min(760px, 76vh);
      grid-template-columns: minmax(220px, 0.88fr) minmax(320px, 1fr) minmax(220px, 0.88fr);
      gap: clamp(24px, 5vw, 72px);
      align-items: center;
    }

    .camera-visual,
    .camera-content {
      width: 100%;
      min-width: 0;
      opacity: 0;
      color: #101214;
    }

    .camera-visual {
      grid-column: 1;
      justify-content: flex-start;
    }

    .camera-content {
      grid-column: 3;
      align-items: flex-end;
      text-align: right;
    }

    .camera-copy-block {
      display: flex;
      flex-direction: column;
      gap: 18px;
      max-width: 360px;
    }

    .camera-copy-right {
      align-items: flex-end;
    }

    .camera-badge {
      color: rgba(16, 18, 20, 0.6);
    }

    .camera-headline {
      color: #101214;
      font-size: clamp(44px, 6.4vw, 92px);
      line-height: 0.94;
      letter-spacing: 0;
      text-wrap: balance;
    }

    .camera-body {
      max-width: 32ch;
      color: rgba(16, 18, 20, 0.72);
      font-size: 15px;
    }

    .camera-copy-right .camera-body {
      margin-left: auto;
    }

    .camera-cta .glass-pill-btn {
      background: rgba(255, 255, 255, 0.72);
      color: #101214;
      border-color: rgba(16, 18, 20, 0.12);
      box-shadow: 0 14px 28px rgba(16, 18, 20, 0.1);
    }

    @media (max-width: 991px) {
      .camera-section {
        min-height: 100svh;
        padding: 92px var(--page-pd) 42px;
        background-position: center 45%;
        background-size: auto 58%;
      }

      .camera-bg-img {
        width: min(96vw, 620px);
        max-width: none;
        transform: translateY(2%);
      }

      .camera-section::before {
        background:
          linear-gradient(180deg, rgba(211, 211, 209, 0.98) 0%, rgba(211, 211, 209, 0.94) 18%, rgba(211, 211, 209, 0.12) 38%, rgba(211, 211, 209, 0.08) 58%, rgba(211, 211, 209, 0.9) 78%, rgba(211, 211, 209, 0.98) 100%),
          linear-gradient(90deg, rgba(211, 211, 209, 0.48), rgba(211, 211, 209, 0), rgba(211, 211, 209, 0.48));
      }

      .camera-split-grid {
        min-height: calc(100svh - 134px);
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr auto;
        gap: 18px;
        align-items: stretch;
      }

      .camera-visual {
        grid-column: 1;
        grid-row: 1;
        justify-content: flex-start;
        align-items: flex-start;
      }

      .camera-content {
        grid-column: 1;
        grid-row: 3;
        align-items: flex-start;
        text-align: left;
        align-self: end;
      }

      .camera-copy-block,
      .camera-copy-right {
        max-width: min(360px, 100%);
        align-items: flex-start;
        gap: 12px;
      }

      .camera-copy-right .camera-body {
        margin-left: 0;
      }

      .camera-headline {
        font-size: clamp(40px, 14vw, 64px);
      }

      .camera-body {
        max-width: 30ch;
        font-size: 14px;
        line-height: 1.5;
      }

    }

    @media (max-width: 576px) {
      .camera-section {
        padding: 88px 20px 34px;
        background-position: center 44%;
        background-size: auto 52%;
      }

      .camera-split-grid {
        min-height: calc(100svh - 122px);
        gap: 14px;
      }

      .camera-badge {
        font-size: 10px;
        letter-spacing: 0.13em;
      }

      .camera-headline {
        font-size: clamp(42px, 15vw, 58px);
      }

      .camera-body {
        max-width: 28ch;
        font-size: 13.5px;
      }

      .camera-copy-left .camera-body {
        max-width: 25ch;
      }

      .camera-cta,
      .camera-simulator-row {
        width: 100%;
      }
    }

    /* ===== Section 4: Quality & Foundation of Design ===== */
    .quality-section {
      background-color: var(--bg-color);
      color: var(--text-color);
      padding: clamp(80px, 12vw, 160px) var(--page-pd);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      border-bottom: 1px solid var(--section-border);
      transition: background-color 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .quality-container {
      width: 100%;
      max-width: 1200px;
      display: flex;
      flex-direction: column;
      gap: 50px;
    }
    .quality-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 40px;
      width: 100%;
    }
    .quality-title {
      font-family: 'Outfit', sans-serif;
      font-size: clamp(32px, 4vw, 54px);
      font-weight: 700;
      line-height: 1.15;
      letter-spacing: -0.03em;
      color: var(--text-color);
      max-width: 580px;
    }
    .quality-title.reveal-item {
      transform: translateY(-50px);
      clip-path: inset(0 0 100% 0);
      transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), 
                  transform 1.4s cubic-bezier(0.16, 1, 0.3, 1), 
                  clip-path 1.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .quality-title.reveal-item.revealed {
      transform: translateY(0) !important;
      clip-path: inset(0 0 0 0) !important;
    }
    .quality-desc {
      font-size: 15px;
      line-height: 1.6;
      color: var(--text-muted);
      max-width: 480px;
      margin-top: 10px;
    }
    .quality-grid {
      display: grid;
      grid-template-columns: 1.05fr 0.95fr;
      gap: 40px;
      width: 100%;
    }
    .quality-card-wrapper {
      width: 100%;
      will-change: transform, opacity;
      opacity: 0;
    }
    .bento-middle-row .quality-card-wrapper {
      height: 100%;
      display: flex;
    }
    .bento-middle-row .quality-card-wrapper .bento-card {
      width: 100%;
      height: 100%;
    }
    .foundation-visual-card {
      width: 100%;
      border-radius: 28px;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
      aspect-ratio: 1.25 / 1;
    }
    body[data-color="dark"] .foundation-visual-card {
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }
    .foundation-visual-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .foundation-visual-card:hover img {
      transform: scale(1.03);
    }
    
    .foundation-bento-grid {
      display: flex;
      flex-direction: column;
      gap: 24px;
      justify-content: space-between;
    }
    .bento-card {
      background-color: #f7f7f9;
      border-radius: 24px;
      padding: 28px;
      display: flex;
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.01);
      transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    body[data-color="dark"] .bento-card {
      background-color: #121214;
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
      border: 1px solid rgba(255, 255, 255, 0.02);
    }
    .bento-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.03);
    }
    body[data-color="dark"] .bento-card:hover {
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
    }
    
    /* Bento Card 1: Experience */
    .bento-experience {
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }
    .avatar-group {
      display: flex;
      align-items: center;
    }
    .avatar-group .avatar {
      width: 46px;
      height: 46px;
      border-radius: 50%;
      border: 3px solid #ffffff;
      overflow: hidden;
      margin-right: -14px;
      object-fit: cover;
      transition: transform 0.3s ease, margin-right 0.3s ease;
      background-color: #e4e4e7;
    }
    body[data-color="dark"] .avatar-group .avatar {
      border-color: #121214;
    }
    .avatar-group:hover .avatar {
      margin-right: -4px;
    }
    .avatar-group .avatar:hover {
      transform: translateY(-4px) scale(1.1);
      z-index: 10;
    }
    .experience-text {
      font-family: 'Outfit', sans-serif;
      font-size: clamp(20px, 2.2vw, 26px);
      font-weight: 700;
      line-height: 1.2;
      color: var(--text-color);
      text-align: right;
      letter-spacing: -0.01em;
    }
    
    /* Bento Middle Row */
    .bento-middle-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      height: 100%;
    }
    .bento-card-sub {
      flex-direction: column;
      justify-content: space-between;
      gap: 30px;
      min-height: 220px;
    }
    .bento-sub-text {
      font-size: 13.5px;
      line-height: 1.5;
      color: var(--text-muted);
      font-weight: 400;
    }
    .bento-sub-value {
      font-family: 'Outfit', sans-serif;
      font-size: clamp(24px, 2.5vw, 32px);
      font-weight: 700;
      line-height: 1.15;
      color: var(--text-color);
      letter-spacing: -0.02em;
      margin-top: auto;
    }
    
    /* Bento Card 4: Client */
    .bento-client {
      align-items: center;
      justify-content: space-between;
      padding: 22px 28px;
    }
    .client-label {
      font-family: 'Outfit', sans-serif;
      font-size: clamp(18px, 2vw, 22px);
      font-weight: 700;
      color: var(--text-color);
      letter-spacing: -0.01em;
    }
    .client-rating {
      font-family: 'Outfit', sans-serif;
      font-size: clamp(20px, 2.2vw, 26px);
      font-weight: 700;
      color: var(--text-color);
      display: flex;
      align-items: center;
      gap: 6px;
      letter-spacing: -0.02em;
    }
    .client-rating span {
      color: #f59e0b; /* Golden Yellow Star */
    }

    /* Responsive styling for Bento */
    @media (max-width: 991px) {
      .quality-header {
        flex-direction: column;
        gap: 16px;
      }
      .quality-desc {
        max-width: 100%;
        margin-top: 0;
      }
      .quality-grid {
        grid-template-columns: 1fr;
        gap: 32px;
      }
      .foundation-visual-card {
        aspect-ratio: 1.6 / 1;
        max-height: 380px;
      }
    }
    @media (max-width: 576px) {
      .bento-middle-row {
        grid-template-columns: 1fr;
        gap: 20px;
      }
      .bento-card-sub {
        min-height: 180px;
      }
      .bento-experience {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
      }
      .experience-text {
        text-align: left;
      }
    }
