/* ============================================
   HALO COLLAR - APPLE/EIGHT SLEEP INSPIRED
   Version 3.0
   ============================================ */

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

:root {
    --black: #000000;
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-800: #262626;
    --gray-900: #171717;

    --accent: #FCD62D;
    --accent-dark: #e5c229;
    --success: #22c55e;

    --font-sans: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    /* font-family: var(--font-sans); */
    background: #ffffff;
    color: #111111;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ---------- Unified Container ---------- */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 6rem;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.875rem 1.75rem;
    border-radius: 100px;
    transition: all 0.3s var(--ease-out);
}

.btn-primary {
    background: var(--white);
    color: var(--black);
}

.btn-primary s {
    opacity: 0.5;
    margin-left: 0.35rem;
}

.btn-primary:hover {
    background: var(--gray-200);
    transform: scale(1.02);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-primary-white {
    background: var(--white);
    color: var(--gray-900);
}

.btn-primary-white:hover {
    background: var(--gray-200);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* ---------- Promo Banner ---------- */
.promo-banner {
    background: var(--accent);
    color: var(--black);
    text-align: center;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    position: relative;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.promo-banner .promo-msg {
    margin: 0;
    padding-bottom: 0;
    display: none;
}

.promo-banner .promo-msg.active {
    display: block;
}

/* ---------- Navigation ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    transition: background 0.3s ease, backdrop-filter 0.3s ease, top 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav.has-banner {
    top: 32px;
}

.nav.scrolled {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.nav.nav-hidden {
    transform: translateY(-100%);
    pointer-events: none;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    min-height: 60px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    flex-shrink: 0;
}

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

/* --- Desktop Nav Menu --- */
.nav-menu-desktop {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s ease;
    padding: 0.5rem 1rem;
}

.nav-link:hover {
    color: var(--white);
}

/* --- Nav Dropdown (Shop Halo / Account) --- */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: color 0.2s ease;
    background: none;
    border: none;
    font-family: inherit;
    min-height: 60px;
}

.nav-dropdown-toggle:hover {
    color: var(--white);
}

.dropdown-arrow {
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* --- Mega Menu --- */
.nav-dropdown {
    position: unset;
}

.mega-menu {
    position: absolute;
    left: 20px;
    right: 20px;
    margin-top: 0;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform-origin: top center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 50;
}

.mega-menu p {
    margin: 0;
    padding: 0;
}

.nav-dropdown:hover .mega-menu {
    opacity: 1;
    pointer-events: all;
    visibility: visible;
}

.mega-menu__container {
    background-color: #f3f3f3;
    border: 1px solid #f3f4f6;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    overflow: hidden;
    width: 100%;
}

.mega-menu__products-area {
    flex: 1;
    padding: 2.5rem;
}

.mega-menu__grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(2, 1fr);
}

.mega-menu__sidebar {
    align-items: center;
    background-color: #f3f3f3;
    border-left: 1px solid #e5e7eb;
    display: flex;
    padding: 2.5rem;
}

.mega-menu__sidebar nav {
    width: 100%;
}

.mega-menu__sidebar nav>*+* {
    margin-top: 0.25rem;
}

/* Product cards in mega menu */
.product-card {
    aspect-ratio: 5 / 3;
    border-radius: 1rem;
    display: block;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.product-card:hover .product-card__title {
    color: #2f93f3;
}

.product-card__animated:hover .product-card__image {
    transform: scale(1.05);
}

.product-card__bg {
    position: absolute;
    inset: 0;
}

.product-card__image {
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    width: 100%;
}

.product-card__content {
    align-items: flex-start;
    bottom: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    left: 0;
    padding: 1.5rem;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 10;
}

.product-card__content--light {
    color: #fff;
}

.product-card__badge {
    background-color: #fff;
    border-radius: 0.375rem;
    color: #000;
    display: inline-block;
    font-size: 0.75rem;
    margin-bottom: auto;
    padding: 0.25rem 0.625rem;
    font-weight: 600;
}

.product-card__badge--dark {
    background: #f3f3f3;
    color: #374151;
}

.product-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    padding: 0;
    transition: color 0.3s ease;
    letter-spacing: normal;
    line-height: 1.3;
}

.product-card__price {
    font-size: 1.125rem;
    margin: 0;
    opacity: 0.9;
    padding: 0;
}

.product-card__price .strikethrough,
.mega-menu .strikethrough {
    text-decoration: line-through;
    margin: 0;
    padding: 0;
}

.product-card__price .price-label {
    margin: 0 0 0.25rem;
    padding: 0;
}

/* Mega menu sidebar items */
.mega-nav-item {
    align-items: center;
    border-radius: 0.5rem;
    color: #374151;
    column-gap: 1rem;
    cursor: pointer;
    display: flex;
    font-weight: 600;
    justify-content: space-between;
    padding: 1rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mega-nav-item:hover {
    color: #2f93f3;
}

.mega-nav-item:hover .mega-nav-item__arrow {
    opacity: 1;
}

.mega-nav-item__left {
    align-items: center;
    display: flex;
    gap: 1.5rem;
}

.mega-nav-item__image {
    height: 5rem;
    object-fit: contain;
    width: 5rem;
}

.mega-nav-item__image--scaled {
    transform: scale(1.5);
}

.mega-nav-item__arrow {
    height: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    width: 1rem;
}

/* --- Desktop Right Section --- */
.nav-right-desktop {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s ease;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-icon-btn:hover {
    color: var(--white);
}

/* Account dropdown menu */
.account-dropdown {
    position: relative;
}

.account-dropdown .nav-dropdown-menu {
    position: absolute;
    right: 0;
    top: 100%;
    background: var(--white);
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    min-width: 160px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.3s ease;
}

.account-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 0.625rem 1.25rem;
    color: var(--gray-800);
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.2s ease;
}

.dropdown-link:hover {
    background: var(--gray-100);
}

/* Nav CTA Button */
.nav-cta-btn {
    background: var(--white);
    color: var(--black);
    padding: 0.625rem 1.25rem;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s ease;
    margin-left: 0.5rem;
}

header a.nav-cta-btn:hover {
    background: var(--gray-200);
    transform: scale(1.02);
    box-shadow: none;
}

/* Products in mobile sidebar */
.products-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-card-mobile {
    border-radius: 0.75rem;
    box-shadow: 0 0 6px -1px rgba(0, 0, 0, 0.075), 0 2px 2px -1px rgba(0, 0, 0, 0.06);
    display: block;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.product-card-mobile:hover {
    box-shadow: 0 2px 8px -1px rgba(0, 0, 0, 0.15), 0 2px 4px -1px rgba(0, 0, 0, 0.075);
}

.product-card-mobile__image-wrapper {
    height: 100%;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.product-card-mobile__image-wrapper.aspect-3-2 {
    aspect-ratio: 3 / 2;
}

.product-card-mobile__image {
    height: 100%;
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.product-card-mobile__content_mobile {
    align-items: flex-start;
    bottom: 0;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    left: 0;
    padding: 1rem;
    position: absolute;
    right: 0;
    top: 0;
}

.product-card-mobile__title {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
    padding: 0;
    letter-spacing: normal;
    line-height: 1.3;
}

.product-card-mobile__price {
    color: hsla(0, 0%, 100%, 0.9);
    font-size: 1rem;
}

.product-card-mobile__promo {
    margin: 0 0 0.25rem;
    padding: 0;
}

.badge {
    border-radius: 0.375rem;
    display: inline-block;
    font-size: 0.75rem;
    margin-bottom: auto;
    padding: 0.25rem 0.625rem;
    font-weight: 600;
}

.badge--white {
    background-color: #fff;
    color: #000;
}

.badge--dark {
    background-color: #f3f3f3;
    color: #000;
}

.strikethrough {
    text-decoration: line-through;
}

/* Accessory links in mobile sidebar */
.accessory-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 0.5rem;
}

.accessory-item {
    align-items: center;
    border-radius: 0.5rem;
    color: #374151;
    display: flex;
    gap: 1rem;
    padding: 0.75rem 0.75rem 0.75rem 0;
    transition: background-color 0.2s;
}

.accessory-item:hover {
    background-color: #f9fafb;
}

.accessory-item__thumb {
    border-radius: 0.5rem;
    height: 3.5rem;
    object-fit: contain;
    width: 3.5rem;
}

/* Menu list in mobile sidebar */
.menu-list {
    align-items: stretch;
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-list ul,
.menu-list ul li {
    margin: 0;
    padding: 0;
}

.menu-list__link {
    color: #111827;
    display: block;
    font-size: 1.125rem;
    padding: 1.25rem;
    text-decoration: none;
    transition: background-color 0.2s;
}

.menu-list__link:hover {
    background-color: #f9fafb;
}

/* Explore Halo CTA in mobile sidebar */
.btn-explore-halo {
    border-radius: 0.5rem;
    display: block;
    font-weight: 600;
    padding: 1rem;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s;
    width: 100%;
    background-color: #fcd62d;
    color: #000;
}

.btn-explore-halo:hover {
    background-color: #e8c428;
}

/* Custom scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}

/* --- Responsive: Desktop/Mobile --- */
@media (max-width: 1024px) {

    .nav-menu-desktop,
    .nav-right-desktop {
        display: none;
    }

    .mega-menu__container {
        flex-direction: column;
    }

    .mega-menu__products-area {
        padding-bottom: 0;
    }
}

@media (max-width: 768px) {
    .promo-banner {
        font-size: 0.8125rem;
        padding: 0.375rem 1rem;
    }

    .nav.has-banner {
        top: 28px;
    }

    .container {
        padding: 0 1.5rem;
    }
}


/* ---------- Sticky Section Nav ---------- */
.section-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 998;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    pointer-events: none;
}

.section-nav.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.section-nav__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    gap: 2rem;
}

.section-nav__name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--white);
    white-space: nowrap;
    flex-shrink: 0;
}

.section-nav__links {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
}

.section-nav__link {
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    padding: 0.875rem 1rem;
    white-space: nowrap;
    transition: color 0.2s ease;
    position: relative;
}

.section-nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.section-nav__link:hover {
    color: rgba(255, 255, 255, 0.85);
}

.section-nav__link.active {
    color: var(--white);
}

.section-nav__link.active::after {
    transform: scaleX(1);
}

.section-nav__cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.section-nav__price {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--white);
}

.section-nav__price s {
    font-weight: 400;
    opacity: 0.5;
    font-size: 0.9375rem;
    margin-left: 0.125rem;
}

.section-nav__btn {
    background: var(--accent);
    color: var(--black);
    padding: 0.375rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.section-nav__btn:hover {
    background: var(--accent-dark);
    transform: scale(1.03);
}

/* Light mode */
[data-theme="light"] .section-nav {
    background: rgba(255, 255, 255, 0.92);
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .section-nav__name {
    color: #111;
}

[data-theme="light"] .section-nav__link {
    color: rgba(0, 0, 0, 0.45);
}

[data-theme="light"] .section-nav__link:hover {
    color: rgba(0, 0, 0, 0.75);
}

[data-theme="light"] .section-nav__link.active {
    color: #111;
}

[data-theme="light"] .section-nav__price {
    color: #111;
}

/* Below the desktop-nav breakpoint the main .nav (with the hamburger) stays
   sticky, so we don't swap in the section-nav. Hiding it here is belt-and-
   suspenders alongside the JS gate in initSectionNav. */
@media (max-width: 1024px) {
    .section-nav {
        display: none !important;
    }
}

/* Hero Bottom Bar - Copy left, Video right */
.hero-bottom {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
}

.video-preview {
    display: block;
    width: 360px;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
    position: relative;
    flex-shrink: 0;
}

.video-preview:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
}

.video-preview iframe,
.video-preview video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    pointer-events: none;
}

.video-play-icon svg {
    margin-left: 3px;
    width: 18px;
    height: 18px;
}

@media (max-width: 768px) {
    .hero-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .video-preview {
        width: 200px;
    }

    .video-play-icon {
        width: 36px;
        height: 36px;
    }
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: calc(100vh - 32px); /* subtract promo banner height */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--black);
}

.hero-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.25) 0%,
            rgba(0, 0, 0, 0.15) 50%,
            rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    text-align: left;
    flex: 1;
    max-width: 528px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    overflow: hidden;
}

.hero-title-line {
    display: block;
    opacity: 0;
    transform: translateY(100%);
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    opacity: 0;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    opacity: 0;
}


/* ============================================
   HIGHLIGHTS CAROUSEL
   ============================================ */
.highlights {
    background: var(--white);
    padding: 6rem 0 4rem;
    color: var(--black);
}

.highlights-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 3rem;
    color: var(--black);
}

.carousel-wrapper {
    overflow: hidden;
    padding: 0 0 2rem;
}

.carousel-track {
    display: flex;
    gap: 1.5rem;
    padding: 0 6rem;
    padding-left: max(6rem, calc((100vw - 1400px) / 2 + 6rem));
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: grab;
}

.carousel-track:active {
    cursor: grabbing;
}

.carousel-card {
    flex: 0 0 auto;
    width: 100%;
    max-width: calc(min(1400px, 100vw) - 12rem);
    height: 680px;
    background: var(--gray-100);
    border-radius: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    position: relative;
}

.card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
    z-index: 2;
}

.card-text {
    font-size: 1.5rem;
    line-height: 1.6;
    font-weight: 600;
    color: var(--gray-800);
    max-width: 440px;
    margin-bottom: 1.5rem;
}

.card-features {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
}

.card-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
}

.feature-icon-small {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--gray-200);
    border-radius: 8px;
    flex-shrink: 0;
}

.feature-icon-small svg {
    width: 18px;
    height: 18px;
    color: var(--gray-600);
}

.card-fullbg {
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    grid-template-columns: 1fr;
}

.card-fullbg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.15) 0%,
            rgba(0, 0, 0, 0.08) 50%,
            rgba(0, 0, 0, 0.3) 100%);
    border-radius: 24px;
    z-index: 1;
}

.card-fullbg .card-content {
    max-width: 500px;
    justify-content: flex-start;
    align-items: flex-start;
    padding-top: 4rem;
    position: relative;
    z-index: 2;
}

.card-fullbg .card-text {
    color: var(--gray-800);
    max-width: 440px;
}

.card-light-text .card-text {
    color: var(--white);
}

.card-bottom-left .card-content {
    justify-content: flex-end;
    padding-top: 3rem;
    padding-bottom: 4rem;
}

.card-bottom-right .card-content {
    justify-content: flex-end;
    align-items: flex-start;
    margin-left: auto;
    margin-right: 0;
    padding-top: 3rem;
    padding-bottom: 4rem;
}

.card-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

.card-visual img {
    max-width: 100%;
    max-height: 550px;
    object-fit: contain;
}

.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding-top: 2rem;
}

.carousel-dots {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gray-200);
    padding: 0 0.75rem;
    border-radius: 100px;
    height: 36px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 100px;
    background: var(--gray-400);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    width: 24px;
    background: var(--gray-600);
}

.carousel-pause {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    transition: background 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}

.carousel-pause:hover {
    background: var(--gray-400);
    color: var(--gray-800);
}

.carousel-pause svg {
    display: block;
    width: 14px;
    height: 14px;
}

@media (max-width: 1400px) {
    .carousel-card {
        max-width: calc(100vw - 12rem);
        height: 580px;
    }
}

@media (max-width: 1024px) {
    .carousel-card {
        max-width: calc(100vw - 4rem);
        height: 500px;
    }

    .carousel-track {
        padding: 0 2rem;
    }

    .card-text {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .carousel-card {
        max-width: calc(100vw - 2rem);
        height: auto;
        min-height: 500px;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
    }

    .carousel-track {
        padding: 0 1rem;
    }

    .card-content {
        padding: 2rem;
        order: 2;
    }

    .card-visual {
        order: 1;
        padding: 1rem;
    }

    .card-visual img {
        max-height: 250px;
    }

    .card-text {
        font-size: 1.125rem;
        max-width: none;
    }
}

/* ============================================
   PRODUCT SHOWCASE (Apple-style expandable pills)
   ============================================ */
.showcase {
    background: url('https://d252xzqwj6utz.cloudfront.net/static/owls-home/BG_house_1.jpg') center center / cover no-repeat;
    padding: 5rem 0;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.badge-new {
    display: inline-block;
    background: var(--accent);
    color: var(--gray-900);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.375rem 0.75rem;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.showcase-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: 0.75rem;
}

.showcase-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.showcase-card {
    background: transparent;
    padding: 1.5rem 0 2rem 0;
    min-height: 480px;
    position: relative;
    overflow: visible;
}

.showcase-inner {
    display: flex;
    align-items: center;
    min-height: 460px;
    position: relative;
    z-index: 2;
}

.showcase-features {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: relative;
}

.showcase-nav {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    margin-top: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.showcase-features.has-active .showcase-nav {
    opacity: 1;
    visibility: visible;
}

.showcase-nav-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.08);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--gray-900);
    transition: all 0.2s ease;
}

.showcase-nav-btn:hover {
    background: rgba(0, 0, 0, 0.15);
    color: var(--gray-900);
}

.showcase-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pills-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
}

.feature-pill {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 5px 24px 5px 10px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    width: fit-content;
    max-width: 360px;
    position: relative;
    z-index: 3;
}

.feature-pill:hover {
    background: rgba(255, 255, 255, 0.18);
}

.feature-pill.active {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 16px;
    align-items: flex-start;
    padding: 12px 48px 16px 10px;
    max-width: 360px;
    z-index: 10;
}

.pill-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: var(--gray-900);
    flex-shrink: 0;
    transition: all 0.25s ease;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
}

.pill-icon svg {
    width: 16px;
    height: 16px;
}

.pill-plus {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: var(--gray-900);
    background: var(--white);
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.pill-plus svg {
    width: 12px;
    height: 12px;
}

/* First pill: always show icon, hide plus */
.feature-pill:first-child .pill-icon {
    display: flex;
    background: var(--accent);
    color: var(--gray-900);
}

.feature-pill:first-child .pill-plus {
    display: none;
}

/* Other pills: show plus by default, hide icon */
.feature-pill:not(:first-child) .pill-icon {
    display: none;
}

.feature-pill:not(:first-child) .pill-plus {
    display: flex;
}

/* Active pill: show icon, hide plus */
.feature-pill.active .pill-icon {
    display: flex;
    color: var(--gray-900);
    background: var(--accent);
}

.feature-pill.active .pill-plus {
    display: none;
}

.pill-label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--white);
    transition: color 0.25s ease;
    line-height: 1;
}

.feature-pill.active .pill-label {
    color: var(--white);
}

.pill-content {
    display: none;
    width: 100%;
    padding: 0 0 0 36px;
    opacity: 0;
}

.feature-pill.active .pill-content {
    display: block;
    opacity: 1;
    padding: 6px 0 0 36px;
    animation: fadeIn 0.3s ease;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pill-content p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
    margin: 0;
}

/* Color pill styles */
.pill-icon-colors {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
}

.color-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.15);
}

.pill-color-swatches {
    display: none;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.feature-pill.active .pill-color-swatches {
    display: flex;
}

.pill-swatch {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    flex-shrink: 0;
}

.pill-swatch:hover {
    transform: scale(1.1);
}

.pill-swatch.active {
    border-color: var(--gray-900);
    outline: 2px solid rgba(0, 0, 0, 0.15);
    outline-offset: 2px;
}

.showcase-product {
    position: absolute;
    right: 0;
    left: 42%;
    top: 50%;
    transform: translateY(-50%);
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.showcase-collar {
    width: auto;
    height: 155%;
    max-height: none;
    transform: rotate(0deg);
    transition: opacity 0.3s ease;
    object-fit: contain;
}

/* ============================================
   VIDEO SPLASH
   ============================================ */
.video-splash-section {
    background: var(--gray-100);
    padding: 4rem 0;
}

.video-splash-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 700px;
    display: flex;
    align-items: center;
}

.video-splash-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-size: cover;
    background-position: center;
}

.video-splash-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.1) 100%);
}

.video-splash-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    max-width: 480px;
    padding: 3rem;
}

.video-splash-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--white);
    margin: 0;
    line-height: 1.2;
}

.video-splash-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 0.5rem 0;
}

.video-play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-900);
    transition: all 0.3s ease;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.video-play-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 40px rgba(0, 0, 0, 0.4);
}

.video-play-btn svg {
    width: 36px;
    height: 36px;
    margin-left: 4px;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
    background: var(--black);
    padding: 8rem 0;
    position: relative;
}

.how-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: 4rem;
    text-align: left;
}

.how-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
}

.how-sticky {
    position: sticky;
    top: calc(50vh - 200px);
    height: fit-content;
}

.how-images {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 24px;
    overflow: hidden;
}

.how-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.how-image.active {
    opacity: 1;
}

/* Keep old phone styles for backwards compatibility */
.how-phone {
    display: none;
}

.phone-frame {
    display: none;
}

.phone-screen {
    display: none;
}

.phone-content {
    display: none;
}

.phone-map {
    display: none;
}

.map-boundary {
    display: none;
}

.map-pin {
    position: absolute;
    top: 45%;
    left: 55%;
    width: 16px;
    height: 16px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--accent);
}

@keyframes boundary-pulse {

    0%,
    100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.02);
    }
}

.how-steps {
    display: flex;
    flex-direction: column;
    gap: 12rem;
    padding: 4rem 0 20rem;
}

.how-step {
    opacity: 0.3;
    transform: translateY(20px);
    transition: all 0.6s var(--ease-out);
}

.how-step.active {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1rem;
}

.step-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.step-desc {
    font-size: 1.125rem;
    color: var(--gray-400);
    line-height: 1.7;
    max-width: 400px;
}

/* ============================================
   BENEFITS
   ============================================ */
.benefits {
    display: none;
    background: var(--white);
    padding: 8rem 0;
}

.benefits-header {
    text-align: center;
    max-width: 480px;
    margin: 0 auto 4rem;
}

.benefits-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.benefits-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.benefit-card {
    position: relative;
    aspect-ratio: 1;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.benefit-card.benefit-large {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}

.benefit-large .benefit-title {
    font-size: 2rem;
}

.benefit-content {
    position: relative;
    padding: 1.5rem;
    z-index: 1;
}

.benefit-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.benefit-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

/* Halo Brand Color Backgrounds */
.benefit-sunburst {
    background: linear-gradient(145deg, #FCD62D 0%, #E5C129 100%);
}

.benefit-sunburst .benefit-title,
.benefit-sunburst .benefit-desc {
    color: var(--gray-900);
}

.benefit-midnight {
    background: linear-gradient(145deg, #1e3a5f 0%, #152a45 100%);
}

.benefit-orchid {
    background: linear-gradient(145deg, #9b59b6 0%, #7d3c98 100%);
}

.benefit-graphite {
    background: linear-gradient(145deg, #4a4a4a 0%, #2d2d2d 100%);
}

.benefit-blaze {
    background: linear-gradient(145deg, #e55039 0%, #c0392b 100%);
}

.benefit-halo-blue {
    background: linear-gradient(145deg, #3B9EFF 0%, #2d8ae6 100%);
}

.benefit-light-grey {
    background: var(--gray-200);
}

.benefit-light-grey .benefit-title {
    color: var(--gray-900);
}

.benefit-collar-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    object-fit: contain;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    background: var(--gray-100);
    padding: 8rem 0;
}

.testimonials-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    text-align: center;
    margin-bottom: 4rem;
    color: var(--gray-900);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid var(--gray-200);
    color: var(--gray-900);
}

.testimonials-cta {
    text-align: center;
    margin-top: 3rem;
}

.testimonials-cta .btn {
    background: var(--black);
    color: var(--white);
}

.testimonials-cta .btn:hover {
    background: var(--gray-800);
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.testimonial-quote {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: var(--gray-600);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
}

.author-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--gray-900);
}

.author-location {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* ============================================
   EXPERT
   ============================================ */
.expert {
    background: linear-gradient(180deg, var(--gray-900) 0%, var(--black) 100%);
    padding: 8rem 0;
}

.expert-inner {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.expert-image img {
    border-radius: 24px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.expert-quote {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.expert-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.expert-title {
    color: var(--gray-500);
    margin-bottom: 2rem;
}

.expert-note {
    font-size: 0.875rem;
    color: var(--gray-500);
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================
   PRICING
   ============================================ */
.pricing {
    background: var(--black);
    padding: 8rem 0;
    text-align: center;
}

.pricing-header {
    margin-bottom: 4rem;
}

.pricing-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
}

.pricing-product-image {
    flex: 1;
    max-width: 500px;
}

.pricing-product-image img {
    width: 100%;
    height: auto;
}

@media (max-width: 900px) {
    .pricing-layout {
        flex-direction: column;
        gap: 3rem;
    }

    .pricing-product-image {
        max-width: 350px;
    }
}

.pricing-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 0.5rem;
}

.pricing-subtitle {
    font-size: 1.25rem;
    color: var(--gray-400);
}

.pricing-card {
    background: var(--gray-900);
    border-radius: 32px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 100px;
}

.pricing-badge-sale {
    color: var(--gray-900);
}

.pricing-product {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.pricing-price {
    margin-bottom: 2rem;
}

.price-amount {
    font-size: 4rem;
    font-weight: 700;
}

.price-original {
    font-size: 1.5rem;
    color: var(--gray-500);
    text-decoration: line-through;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
}

.pricing-features svg {
    color: var(--success);
    flex-shrink: 0;
}

.pricing-affirm {
    margin-top: 1rem;
    color: var(--gray-500);
}

.color-picker {
    margin-bottom: 1.5rem;
}

.color-swatches {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.color-swatch {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid transparent;
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    background: none;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.color-swatch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.color-swatch:hover {
    transform: scale(1.1);
}

.color-swatch.active {
    border-color: var(--accent);
}

.pricing-guarantee {
    margin-top: 2rem;
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* ============================================
   COMPARISON
   ============================================ */
.comparison {
    background: var(--gray-900);
    padding: 6rem 0;
}

.comparison-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--white);
    margin: 0 0 4rem 0;
    line-height: 1.2;
    text-align: center;
}

.comparison-table {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    padding: 1.5rem;
}

.comparison-header,
.comparison-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    align-items: center;
}

.comparison-header {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-feature-col {
    padding: 1rem 0;
    font-weight: 600;
    color: var(--gray-400);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.comparison-col {
    padding: 1rem;
    text-align: center;
    font-size: 0.9375rem;
    color: var(--gray-400);
}

.comparison-header .comparison-col {
    font-weight: 600;
    color: var(--gray-400);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.comparison-header .comparison-col-halo {
    background: transparent;
    color: var(--accent);
    border-radius: 0;
    padding: 1rem;
    font-size: 0.875rem;
}

.comparison-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.5rem 0;
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row .comparison-col-halo {
    background: transparent;
}

.comparison-row:last-child .comparison-col-halo {
    border-radius: 0;
}

.comparison-feature {
    padding: 1rem 0;
    font-weight: 500;
    color: var(--white);
    font-size: 1rem;
}

.check-yes {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--accent);
    border-radius: 50%;
    color: var(--gray-900);
}

.check-yes svg {
    width: 16px;
    height: 16px;
}

.check-partial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--gray-400);
}

.check-partial svg {
    width: 14px;
    height: 14px;
}

.check-no {
    color: var(--gray-600);
    font-size: 1.25rem;
}


/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.final-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.final-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.6) 0%,
            rgba(0, 0, 0, 0.4) 50%,
            rgba(0, 0, 0, 0.8) 100%);
}

.final-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
}

.final-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 2rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--gray-900);
    padding: 4rem 0 2rem;
}

.footer-top {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.footer-socials {
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: background 0.2s ease, transform 0.2s ease;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.social-icon svg {
    width: 16px;
    height: 16px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-column h4 {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-400);
    margin-bottom: 0.5rem;
}

.footer-column a {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease;
    line-height: 1.6;
}

.footer-column a:hover {
    color: var(--white);
}

.footer-accessibility-btn {
    background: none;
    border: none;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
    padding: 0;
    cursor: pointer;
    transition: color 0.2s ease;
    line-height: 1.6;
}

.footer-accessibility-btn:hover {
    color: var(--white);
}

.footer-app-links {
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

.footer-app-links span {
    color: rgba(255, 255, 255, 0.6);
}

.inline-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.inline-link:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.footer-copyright p {
    margin: 0;
    color: var(--gray-500);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: var(--gray-500);
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: var(--white);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .showcase-card {
        padding: 2rem;
    }

    .showcase-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .showcase-product {
        order: -1;
        min-height: 300px;
    }

    .showcase-collar {
        max-width: 400px;
    }

    .showcase-features {
        justify-content: center;
    }

    .how-inner {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .how-sticky {
        position: relative;
        top: auto;
        transform: none;
    }

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

    .benefit-card.benefit-large {
        grid-column: span 2;
    }

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

    .expert-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .expert-image {
        max-width: 400px;
        margin: 0 auto;
    }
}

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

    .story-content {
        margin-left: 0;
        padding: 2rem;
    }

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

    .benefit-card.benefit-large {
        grid-column: span 1;
    }

    .footer-brand {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ============================================
   ANIMATION STATES
   ============================================ */
.anim-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.anim-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.anim-scale.visible {
    opacity: 1;
    transform: scale(1);
}

.anim-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

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

.anim-text {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

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

/* ============================================
   MOBILE RESPONSIVE OVERRIDES (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {

    /* --- Container padding --- */
    .container {
        padding: 0 1.25rem;
    }

    /* --- Hero section --- */
    .hero-bottom {
        bottom: 1.5rem;
        top: auto;
        transform: translateX(-50%);
        gap: 1rem;
        width: calc(100% - 2.5rem);
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta .btn {
        width: 100%;
        text-align: center;
    }


    .video-preview {
        width: 100%;
        border-radius: 16px;
    }

    .video-play-icon {
        width: 44px;
        height: 44px;
    }

    /* --- Highlights Carousel --- */
    .highlights {
        padding: 4rem 0 3rem;
        overflow: hidden;
    }

    .carousel-track {
        padding: 0 1.25rem;
        padding-left: 1.25rem;
    }

    .carousel-card {
        max-width: calc(100vw - 2.5rem);
    }

    /* --- Product Showcase --- */
    .showcase {
        padding: 2.5rem 0;
        overflow: hidden;
    }

    .showcase-card {
        min-height: auto;
        padding: 0.5rem 0 1.5rem 0;
    }

    .showcase-inner {
        flex-direction: column;
        min-height: auto;
        gap: 0;
    }

    .showcase-product {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        transform: none;
        height: auto;
        width: 110%;
        margin-left: -5%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: -1rem;
        pointer-events: none;
        overflow: hidden;
    }

    .showcase-collar {
        height: auto;
        max-height: 300px;
        width: auto;
        max-width: 100%;
    }

    .showcase-features {
        width: 100%;
    }

    .pills-container {
        width: 100%;
        gap: 0.5rem;
    }

    .feature-pill {
        max-width: 100%;
        width: 100%;
        padding: 8px 16px 8px 10px;
    }

    .feature-pill.active {
        max-width: 100%;
        width: 100%;
        padding: 12px 16px 14px 10px;
    }

    /* --- Video Splash --- */
    .video-splash-card {
        min-height: 400px;
    }

    .video-splash-content {
        padding: 2rem 1.5rem;
    }

    .video-play-btn {
        width: 60px;
        height: 60px;
    }

    .video-play-btn svg {
        width: 28px;
        height: 28px;
    }

    /* --- How It Works --- */
    .how-it-works {
        padding: 4rem 0;
    }

    .how-title {
        margin-bottom: 2rem;
    }

    .how-steps {
        gap: 4rem;
        padding: 2rem 0 4rem;
    }

    .step-title {
        font-size: 1.5rem;
    }

    .step-desc {
        font-size: 1rem;
    }

    /* --- Testimonials --- */
    .testimonials {
        padding: 4rem 0;
    }

    .testimonials-title {
        margin-bottom: 2rem;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-quote {
        font-size: 1rem;
    }

    /* --- How It Works mobile grid fix --- */
    .how-inner {
        gap: 2rem;
    }

    .how-images {
        aspect-ratio: 16/9;
    }

    /* --- Pricing --- */
    .pricing {
        padding: 4rem 0;
    }

    .pricing-card {
        padding: 1.5rem;
    }

    .price-amount {
        font-size: 2.5rem;
    }

    .price-original {
        font-size: 1.25rem;
    }

    .color-swatch {
        width: 36px;
        height: 36px;
    }

    .pricing-header {
        margin-bottom: 2rem;
    }

    /* --- Comparison --- */
    .comparison {
        padding: 4rem 0;
    }

    .comparison-title {
        margin-bottom: 2rem;
        font-size: 1.75rem;
    }

    .comparison-table {
        padding: 1rem;
    }

    .comparison-header,
    .comparison-row {
        grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr;
    }

    .comparison-feature {
        font-size: 0.8125rem;
        padding: 0.75rem 0;
    }

    .comparison-col {
        font-size: 0.75rem;
        padding: 0.75rem 0.25rem;
    }

    .comparison-feature-col {
        font-size: 0.6875rem;
        padding: 0.75rem 0;
    }

    .comparison-header .comparison-col {
        font-size: 0.6875rem;
    }

    .check-yes {
        width: 24px;
        height: 24px;
    }

    .check-yes svg {
        width: 14px;
        height: 14px;
    }

    /* --- FAQ --- */
    .faq-section {
        padding: 5rem 0;
    }

    .faq-title {
        margin-bottom: 2rem;
    }

    .faq-question {
        font-size: 1rem;
        padding: 1.25rem 0;
    }

    .faq-answer p {
        font-size: 1rem;
    }

    /* --- Final CTA --- */
    .final-cta {
        min-height: 60vh;
    }

    /* --- Expert section --- */
    .expert {
        padding: 4rem 0;
    }

    /* --- All sections universal padding reduction --- */
    .benefits {
        padding: 4rem 0;
    }
}

/* ============================================
   EXTRA SMALL MOBILE OVERRIDES (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-bottom {
        bottom: 1rem;
    }

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

    .hero-subtitle {
        font-size: 0.9375rem;
    }

    .btn {
        font-size: 0.9375rem;
        padding: 0.75rem 1.5rem;
    }

    .btn-large {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .video-preview {
        width: 100%;
    }

    .carousel-card {
        min-height: 400px;
    }

    .card-content {
        padding: 1.5rem;
    }

    .card-text {
        font-size: 1rem;
    }

    .showcase-collar {
        max-height: 220px;
    }

    .pill-label {
        font-size: 0.9375rem;
    }

    .pill-content p {
        font-size: 0.875rem;
    }

    .video-splash-card {
        min-height: 320px;
    }

    .how-steps {
        gap: 3rem;
        padding: 2rem 0 3rem;
    }

    .step-title {
        font-size: 1.25rem;
    }

    .blur-carousel-intro {
        min-height: 50vh;
    }

    .blur-card {
        flex: 0 0 240px;
    }

    .blur-card-image {
        height: 140px;
    }

    .price-amount {
        font-size: 2.25rem;
    }

    .pricing-product {
        font-size: 1.25rem;
    }

    .comparison-header,
    .comparison-row {
        grid-template-columns: 1.1fr 0.8fr 0.8fr 0.8fr;
    }

    .comparison-feature {
        font-size: 0.75rem;
    }

    .comparison-col {
        font-size: 0.6875rem;
        padding: 0.5rem 0.125rem;
    }

    .final-cta {
        min-height: 50vh;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* ============================================
   FEATURE SPLIT (ZIG-ZAG)
/* ============================================
   FLIP CAROUSEL SECTION
   ============================================ */
.flip-carousel-section {
    padding: 8rem 0 2rem;
    /* Reduced bottom padding from 8rem to 2rem */
    background: var(--white);
    color: var(--black);
    overflow: hidden;
}

.flip-carousel-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
}

.flip-carousel-title {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 0;
    text-align: left;
    letter-spacing: -0.02em;
}

.flip-carousel-nav {
    display: flex;
    gap: 1rem;
}

.nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--gray-200);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--black);
}

.nav-btn:hover {
    background: var(--gray-100);
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.flip-carousel-title sup {
    font-size: 0.45em;
    left: 0.1em;
    position: relative;
    top: -0.5em;
}

.flip-carousel-track-wrapper {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2rem;
    padding-left: max(6rem, calc((100vw - 1400px) / 2 + 6rem));
    padding-right: 6rem;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
}

.flip-carousel-track-wrapper::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
}

.flip-carousel-track {
    display: flex;
    gap: 12px;
    width: max-content;
}

.flip-card {
    width: 380px;
    height: 480px;
    perspective: 1000px;
    flex-shrink: 0;
    cursor: pointer;
}

.flip-card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.6s var(--ease-out);
    transform-style: preserve-3d;
}

.flip-card.is-flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    backface-visibility: hidden;
    overflow: hidden;
}

/* Front Styling */
.flip-card-front {
    background: var(--gray-100);
}

.flip-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Back Styling */
.flip-card-back {
    transform: rotateY(180deg);
    background: #111111;
    /* Extremely dark gray/black from the PDP card back */
    color: var(--white);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
}

.flip-card-back-content {
    flex: 1;
}

.flip-card-back-content p {
    font-size: 1.05rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-align: left;
}

/* Shared Label / Action styling (Absolute positioned at bottom) */
.flip-card-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    /* Align bottom */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
    z-index: 2;
}

/* Back doesn't need the dark gradient since it's already dark */
.flip-card-back .flip-card-actions {
    background: none;
    position: relative;
    padding: 0;
    margin-top: auto;
}

.flip-card-actions h3 {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    margin-bottom: 0.25rem;
    text-align: left;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    /* Helps legibility on front */
}

.flip-card-back .flip-card-actions h3 {
    text-shadow: none;
}

/* Buttons */
.flip-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #424242;
    transition: transform 0.2s ease;
    cursor: pointer;
    border: none;
    flex-shrink: 0;
}

.flip-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
}

.flip-card-back .flip-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.flip-card:hover .flip-btn {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .flip-carousel-track-wrapper {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .flip-card {
        width: 300px;
        height: 400px;
    }
}

/* ============================================
   GENERATION BANNER
   ============================================ */
.generation-banner {
    padding: 2rem 0 3rem;
    /* Reduced bottom padding to bring it closer to the How it Works grid */
    background: var(--white);
    color: var(--white);
}

.generation-banner-inner {
    position: relative;
    width: 100%;
    min-height: 600px;
    /* Make it even taller per request */
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    /* Center content vertically */
}

.generation-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.generation-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    /* Changed to right gradient to support centered text on the left */
    z-index: 1;
}

.generation-banner-content {
    position: relative;
    z-index: 2;
    padding: 3.5rem 4rem;
    /* Adjusted padding */
    width: 100%;
    max-width: 700px;
}

.generation-banner-badge {
    display: inline-block;
    background: var(--white);
    color: var(--black);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.generation-banner-title {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 2.5rem;
    /* Increased margin since we removed the save line */
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.generation-banner-price-block {
    margin-bottom: 2rem;
}

/* Removed generation-banner-save as it was merged into the html badge */

.generation-banner-price {
    font-size: 2.5rem;
    /* Increased text size for price */
    font-weight: 700;
    display: flex;
    align-items: baseline;
    gap: 1rem;
}

.generation-banner-price-original {
    font-size: 1.5rem;
    /* Increased strikethrough size */
    opacity: 0.6;
    font-weight: 500;
}

.generation-banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 30px;
    /* Rounded button like the screenshot */
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s ease, background 0.2s ease;
    text-decoration: none;
    color: var(--black);
}

.generation-banner-cta:hover {
    transform: translateY(-2px);
    color: var(--black);
}

@media (max-width: 768px) {
    .generation-banner-inner {
        min-height: 500px;
    }

    .generation-banner-content {
        padding: 2rem;
    }

    .generation-banner-badge {
        margin-bottom: 15rem;
        /* Push it up on mobile to avoid face overlay */
    }
}

/* ============================================
   EVERYWHERE SECTION (Flip Cards from alt)
   ============================================ */
.everywhere-section {
    padding: 5rem 0;
    background: var(--black);
    position: relative;
    z-index: 10;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: 4rem;
    text-align: left;
    line-height: 1.1;
}

.section-title sup {
    font-size: 0.35em;
    vertical-align: super;
}

/* EVERYWHERE SLIDER */
.everywhere-slider-container {
    position: relative;
    width: 100%;
}

.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.section-header-flex .section-title {
    margin-bottom: 0;
}

.slider-controls {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.slider-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background: var(--white);
    color: var(--black);
}

.everywhere-grid {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    /* `proximity` keeps cards aligning when the user lets go near a card, but
       stays out of the way during an active touch flick. `mandatory` was
       interrupting flick momentum, making swipes feel slow on mobile. */
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 2rem;
    cursor: grab;
}

.everywhere-grid:active {
    cursor: grabbing;
    scroll-snap-type: none;
}

.everywhere-grid::-webkit-scrollbar {
    display: none;
}

.everywhere-card {
    flex: 0 0 calc(100% - 3rem);
    height: 480px;
    perspective: 1000px;
    cursor: pointer;
    scroll-snap-align: start;
}

@media (min-width: 768px) {
    .everywhere-card {
        flex: 0 0 350px;
    }
}

.everywhere-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: left;
    transition: transform 0.8s var(--ease-in-out);
    transform-style: preserve-3d;
}

.everywhere-card.is-flipped .everywhere-card-inner {
    transform: rotateY(180deg);
}

.everywhere-card-front,
.everywhere-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 24px;
    background: var(--gray-900);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.everywhere-card-front img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center bottom;
}

/* Desktop-only dimming-on-rest, brighten-on-hover effect. Touch devices have no
   real :hover, so cards there stay at the default opacity: 1 — otherwise mobile
   users see permanently washed-out cards. */
@media (hover: hover) {
    .everywhere-card-front img {
        opacity: 0.8;
        transition: opacity 0.3s ease;
    }
    .everywhere-card:hover .everywhere-card-front img {
        opacity: 1;
    }
}

.everywhere-card-header,
.everywhere-card-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
}

.everywhere-card-header h3,
.everywhere-card-footer h3 {
    font-size: 1.5rem;
    color: var(--white);
    font-weight: 600;
}

.everywhere-flip-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.everywhere-card:hover .everywhere-flip-btn {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.everywhere-card-back {
    transform: rotateY(180deg);
    background: var(--gray-900);
    padding: 3rem 2rem 6rem;
    justify-content: flex-start;
}

.everywhere-card-back p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.everywhere-card-footer {
    background: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .everywhere-card {
        flex: 0 0 85%;
        height: 400px;
    }

    .section-header-flex {
        margin-bottom: 1.5rem;
    }
}

/* ============================================
   PAST GENERATIONS SECTION (from alt)
   ============================================ */
.past-gen-section {
    padding: 5rem 0;
    background: transparent;
    position: relative;
    z-index: 10;
}

.past-gen-banner {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    min-height: 589px;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease;
    border: none;
}

.past-gen-banner:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
}

.past-gen-banner-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.past-gen-banner-content {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    padding: 3rem;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0) 100%);
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.past-gen-pill {
    display: inline-block;
    background: var(--white);
    color: var(--black);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    border: none;
}

.past-gen-banner-content h3 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 0.5rem;
    font-family: var(--font-sans);
}

.past-gen-save-text {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.past-gen-banner-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .past-gen-banner {
        min-height: 400px;
    }

    .past-gen-banner-content {
        padding: 2rem;
    }
}

/* ============================================
   SMART SAFETY CAROUSEL
   ============================================ */
.smart-safety-section {
    padding: 5rem 0 2rem;
    background: var(--black);
    position: relative;
    z-index: 10;
}

.smart-safety-carousel {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 0;
    cursor: grab;
}

.smart-safety-carousel:active {
    cursor: grabbing;
}

.smart-safety-carousel::-webkit-scrollbar {
    display: none;
}

.smart-safety-card {
    flex: 0 0 60%;
}

.smart-safety-card-img {
    border-radius: 16px;
    overflow: hidden;
}

.smart-safety-card-img img {
    width: 100%;
    height: auto;
    display: block;
}

.smart-safety-card-content {
    padding: 1.5rem 0.5rem;
    text-align: center;
}

.smart-safety-card-content h3 {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.smart-safety-card-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
    max-width: 500px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .smart-safety-card {
        flex: 0 0 calc(100% - 60px);
    }
}

/* ============================================
   WATCH IN ACTION
   ============================================ */
.watch-action-section {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('https://www.halocollar.com/wp-content/themes/halocollar/images/h5/pdp-watch.webp') no-repeat center center;
    background-size: cover;
    padding: 24rem 0 20rem;
    /* Increased top/bottom padding to make section much taller */
}

.watch-action-title {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-align: left;
}

.watch-action-section .container {
    text-align: left;
}

.watch-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 1.25rem;
    background: transparent;
    color: var(--white);
    font-size: 1.75rem;
    font-weight: 500;
    padding: 0;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
    letter-spacing: -0.01em;
}

.watch-action-btn svg {
    width: 80px;
    height: 80px;
    transition: transform 0.3s ease;
}

.watch-action-btn:hover {
    opacity: 0.9;
}

.watch-action-btn:hover svg {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .watch-action-section {
        padding: 4rem 0 2rem;
    }

    .watch-action-btn svg {
        width: 60px;
        height: 60px;
    }
}

/* ============================================
   HOW IT WORKS GRID
   ============================================ */
.how-grid-section {
    background: var(--black);
    padding: 5rem 0;
}

.how-grid-header {
    text-align: center;
    margin-bottom: 5rem;
    /* Slightly reduced margin */
}

.how-grid-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.how-grid-item {
    position: relative;
    background: #0a0a0a;
    /* Deep dark background */
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Subtle border */
    border-radius: 32px;
    /* Very rounded bento corners */
    padding: 4rem 3.5rem;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow: hidden;
    z-index: 1;
}

/* Glassy gradient overlay that reveals on hover (base setup) */
.how-grid-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Individual angles for variety */
.how-grid-item:nth-child(1)::before {
    background: linear-gradient(135deg, rgba(252, 214, 45, 0.15) 0%, transparent 60%);
}

.how-grid-item:nth-child(2)::before {
    background: linear-gradient(225deg, rgba(252, 214, 45, 0.15) 0%, transparent 60%);
}

.how-grid-item:nth-child(3)::before {
    background: linear-gradient(45deg, rgba(252, 214, 45, 0.15) 0%, transparent 60%);
}

.how-grid-item:nth-child(4)::before {
    background: linear-gradient(315deg, rgba(252, 214, 45, 0.15) 0%, transparent 60%);
}

.how-grid-item:hover {
    transform: translateY(-8px);
    border-color: rgba(252, 214, 45, 0.4);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6), 0 0 60px rgba(252, 214, 45, 0.08);
}

.how-grid-item:hover::before {
    opacity: 1;
}

.how-grid-icon {
    width: 64px;
    height: 64px;
    background: #fcd62d;
    /* Solid vibrant yellow */
    border-radius: 50%;
    /* Perfect circle */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
    color: var(--black);
    box-shadow: 0 8px 16px rgba(252, 214, 45, 0.2);
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.how-grid-item:hover .how-grid-icon {
    transform: scale(1.15);
}

.how-grid-icon svg {
    width: 32px;
    height: 32px;
}


.how-grid-item h3 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    line-height: 1.3;
    color: var(--white);
    letter-spacing: -0.01em;
}

.how-grid-item p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.15rem;
    line-height: 1.7;
}

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

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

/* ============================================
/* ============================================
   APP SLIDER SECTION
   ============================================ */
.app-slider-section {
    background: var(--gray-50);
    padding: 5rem 0;
    overflow: hidden;
}

.app-slider-header {
    text-align: center;
    margin-bottom: 2rem;
}

.app-slider-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    color: var(--black);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.app-slider-subtitle {
    font-size: 1.25rem;
    color: rgba(0, 0, 0, 0.6);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

.app-slider-viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* Prevent page-level horizontal scroll */
}

.app-slider-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    /* Enable native smooth scrolling */
    gap: 2.5rem;
    /* Aligns perfectly with the Halo logo start in the nav */
    padding-right: 25vw;
    padding-top: 2rem;
    padding-bottom: 4rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;

    /* Used to give the content initial left padding aligned with grid, but correctly handle snapping! */
    padding-left: max(6rem, calc((100vw - 1400px) / 2 + 6rem));
    scroll-padding-left: max(6rem, calc((100vw - 1400px) / 2 + 6rem));
}

@media (max-width: 1400px) {
    .app-slider-track {
        padding-left: 6rem;
        scroll-padding-left: 6rem;
    }
}

@media (max-width: 1024px) {
    .app-slider-track {
        padding-left: 6rem;
        scroll-padding-left: 6rem;
    }
}

@media (max-width: 768px) {
    .app-slider-track {
        padding-left: 1.5rem;
        scroll-padding-left: 1.5rem;
        gap: 1.5rem;
    }
}

.app-slider-track::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
}

.app-slider-next {
    position: absolute;
    /* Align with the right grid rail */
    right: max(6rem, calc((100vw - 1400px) / 2 + 6rem));
    top: 272px;
    /* Centered visually on the image (32px padding + 240px half-height) */
    transform: translate(50%, -50%);
    /* Center the button on the rail line */
    width: 64px;
    height: 64px;
    background: var(--white);
    color: var(--black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    z-index: 20;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: none;
}

.app-slider-next:hover {
    transform: translate(50%, -50%) scale(1.1);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.18);
    background: var(--white);
}

.app-slider-next svg {
    width: 24px;
    height: 24px;
}

.app-slider-card {
    flex: 0 0 760px;
    /* Wider cards */
    scroll-snap-align: start;
    background: var(--white);
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(0, 0, 0, 0.02);
    /* Elevated Apple-like shadow */
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    cursor: pointer;
}

.app-slider-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.02);
}

.app-slider-card img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.app-slider-card-content {
    padding: 2.5rem;
    flex: 1;
    display: flex;
    align-items: center;
    background: var(--white);
}

.app-slider-card-content p {
    font-size: 1.15rem;
    color: rgba(0, 0, 0, 0.8);
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 992px) {
    .app-slider-card {
        flex: 0 0 600px;
    }

    .app-slider-card img {
        height: 380px;
    }
}

@media (max-width: 768px) {
    .app-slider-card {
        flex: 0 0 85vw;
    }

    .app-slider-card img {
        height: 320px;
    }

    .app-slider-track {
        gap: 1.5rem;
    }
}

/* ============================================
   PERSONA GRID (WHO IS HALO FOR)
   ============================================ */
.persona-grid-section {
    background: var(--black);
    padding: 5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.persona-header {
    text-align: center;
    margin-bottom: 4rem;
}

.persona-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}

.persona-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.persona-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 360px;
    cursor: pointer;
    isolation: isolate;
}

.persona-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.6s ease;
    z-index: 0;
}

.persona-card:hover .persona-image {
    transform: scale(1.08);
    filter: brightness(0.85);
}

/* Gradient overlay — always visible at bottom */
.persona-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    padding: 2rem 1.75rem;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.88) 0%,
            rgba(0, 0, 0, 0.6) 50%,
            transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 45%;
    transition: min-height 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.persona-card:hover .persona-overlay {
    min-height: 55%;
}

.persona-tag {
    display: inline-block;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.01em;
    margin-bottom: 0.5rem;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.persona-card:hover .persona-tag {
    transform: translateY(-4px);
}

.persona-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.55;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease 0.05s, transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) 0.05s;
    margin: 0;
}

.persona-card:hover .persona-desc {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .persona-card {
        height: 320px;
    }

    .persona-desc {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    .persona-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .persona-card {
        height: 300px;
    }

    .persona-desc {
        opacity: 1;
        transform: translateY(0);
    }

    .persona-grid-section {
        padding: 6rem 0;
    }
}

/* ============================================
   WHAT'S IN THE BOX
   ============================================ */
.in-the-box-section {
    background: var(--white);
    color: var(--black);
    padding: 5rem 0;
}

.in-the-box-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--gray-100);
    border-radius: 40px;
    padding: 6rem 4rem;
    text-align: center;
}

.in-the-box-header {
    margin-bottom: 4rem;
}

.in-the-box-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

.in-the-box-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .in-the-box-container {
        padding: 4rem 2rem;
    }
}

/* ============================================
   BEFORE YOU BUY SECTION
   ============================================ */
.before-buy-section {
    padding: 5rem 0;
    background: var(--black);
    position: relative;
    z-index: 10;
}

.before-buy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.buy-card {
    background: var(--gray-900);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
}

.buy-card h3 {
    font-size: 1.75rem;
    color: var(--white);
    margin-bottom: 2rem;
}

.buy-intro {
    font-size: 1.125rem;
    color: var(--gray-400);
    margin-bottom: 1rem;
}

.buy-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.buy-list li {
    font-size: 1.125rem;
    color: var(--gray-400);
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.4;
}

.buy-list li::before {
    content: '•';
    color: var(--white);
    position: absolute;
    left: 0;
    top: 0;
}

.buy-text {
    font-size: 1.125rem;
    color: var(--gray-400);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.buy-link {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 4px;
    font-size: 1.125rem;
    margin-top: auto;
    align-self: flex-start;
    transition: color 0.2s ease;
}

.buy-link:hover {
    color: var(--white);
}

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

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    background: var(--black);
    color: var(--white);
    padding: 5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 4rem;
}

.faq-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    color: var(--white);
}

.faq-list {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--white);
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.faq-question svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 600px;
}

.faq-answer p {
    padding-bottom: 2rem;
    color: var(--gray-400);
    line-height: 1.6;
    font-size: 1.125rem;
}

/* ============================================
   LIGHT MODE OVERRIDES
   ============================================ */

/* --- Theme Toggle Button --- */
.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--gray-400);
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
}

/* Show sun icon by default (dark mode - click to go light) */
.theme-icon-sun {
    display: block;
}

.theme-icon-moon {
    display: none;
}

[data-theme="light"] .theme-icon-sun {
    display: none;
}

[data-theme="light"] .theme-icon-moon {
    display: block;
}

[data-theme="light"] .theme-toggle {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.12);
    color: var(--gray-600);
}

[data-theme="light"] .theme-toggle:hover {
    background: rgba(0, 0, 0, 0.12);
    color: var(--gray-900);
}

/* --- Body & Base --- */
[data-theme="light"] body {
    background: #ffffff;
    color: #111111;
}

/* --- Promo Banner --- */
/* Stays the same — yellow accent works on both */

/* --- Navigation --- */
[data-theme="light"] .nav.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .nav-logo {
    color: var(--black);
}

/* Logo stays yellow in scrolled state — handled via JS src swap */

[data-theme="light"] .nav.scrolled .nav-link {
    color: rgba(0, 0, 0, 0.7);
}

[data-theme="light"] .nav.scrolled .nav-link:hover {
    color: var(--black);
}

[data-theme="light"] .nav.scrolled .nav-dropdown-toggle {
    color: rgba(0, 0, 0, 0.7);
}

[data-theme="light"] .nav.scrolled .nav-dropdown-toggle:hover {
    color: var(--black);
}

[data-theme="light"] .nav.scrolled .nav-icon-btn {
    color: rgba(0, 0, 0, 0.7);
}

[data-theme="light"] .nav.scrolled .nav-icon-btn:hover {
    color: var(--black);
}

[data-theme="light"] .nav.scrolled .nav-cta-btn {
    background: var(--black);
    color: var(--white);
}

[data-theme="light"] .nav.scrolled .nav-cta-btn:hover {
    background: var(--gray-800);
}

[data-theme="light"] .nav.scrolled .hamburger-line {
    background: var(--black);
}

[data-theme="light"] .nav.scrolled .nav-right-mobile .nav-icon-btn {
    color: rgba(0, 0, 0, 0.7);
}

/* --- Hero Section --- */
/* Hero keeps dark background since it's an image overlay — text stays white */

/* --- Primary Buttons (outside hero) --- */
[data-theme="light"] .btn-primary {
    background: var(--black);
    color: var(--white);
}

[data-theme="light"] .btn-primary:hover {
    background: var(--gray-800);
}

[data-theme="light"] .btn-ghost {
    border-color: rgba(0, 0, 0, 0.3);
    color: var(--black);
}

[data-theme="light"] .btn-ghost:hover {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.5);
    color: var(--black);
}

/* Keep hero text & buttons white on dark overlay */
[data-theme="light"] .hero-title {
    color: var(--white);
}

[data-theme="light"] .hero-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="light"] .hero .btn-primary {
    background: var(--white);
    color: var(--black);
}

[data-theme="light"] .hero .btn-primary:hover {
    background: var(--gray-200);
}

[data-theme="light"] .hero .btn-ghost {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

[data-theme="light"] .hero .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
}

/* --- Section Titles --- */
[data-theme="light"] .section-title {
    color: #111111;
}

/* --- Everywhere Section --- */
[data-theme="light"] .everywhere-section {
    background: #f7f7f7;
}

[data-theme="light"] .everywhere-card-front,
[data-theme="light"] .everywhere-card-back {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .everywhere-card-back {
    background: #ffffff;
}

[data-theme="light"] .everywhere-card-back p {
    color: rgba(0, 0, 0, 0.65);
}

[data-theme="light"] .everywhere-card-header h3,
[data-theme="light"] .everywhere-card-footer h3 {
    color: var(--white);
    /* stays white — over image gradient */
}

[data-theme="light"] .everywhere-card-footer {
    border-top-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .everywhere-card-back .everywhere-card-footer h3 {
    color: #111;
}

[data-theme="light"] .everywhere-flip-btn {
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
}

[data-theme="light"] .everywhere-card:hover .everywhere-flip-btn {
    background: rgba(0, 0, 0, 1);
}

[data-theme="light"] .everywhere-card-back .everywhere-flip-btn {
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
}

/* --- Slider Arrows --- */
[data-theme="light"] .slider-arrow {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.12);
    color: #333;
}

[data-theme="light"] .slider-arrow:hover {
    background: var(--black);
    color: var(--white);
}

/* --- Past Gen Section --- */
[data-theme="light"] .past-gen-section {
    background: #f0f0f0;
    border-top-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .past-gen-pill {
    background: var(--white);
    color: var(--black);
}

[data-theme="light"] .past-gen-section .btn-primary {
    background: var(--white);
    color: var(--black);
}

[data-theme="light"] .past-gen-section .btn-primary:hover {
    background: var(--gray-200);
}

[data-theme="light"] .past-gen-banner {
    border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .past-gen-banner:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 0, 0, 0.12);
}

/* Banner content stays white since it's overlaid on an image */

/* --- Watch in Action --- */
/* Text stays white — over background image */

/* --- How It Works Grid — STAYS DARK for contrast --- */
[data-theme="light"] .how-grid-section {
    background: var(--black);
}

[data-theme="light"] .how-grid-title {
    color: var(--white);
}

[data-theme="light"] .how-grid-item {
    background: var(--gray-900);
    border-color: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .how-grid-item:hover {
    border-color: rgba(252, 214, 45, 0.3);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3), 0 0 60px rgba(252, 214, 45, 0.08);
}

[data-theme="light"] .how-grid-item h3 {
    color: var(--white);
}

[data-theme="light"] .how-grid-item p {
    color: var(--gray-400);
}

/* Icon circle stays yellow — works on both modes */

/* --- Smart Safety Section --- */
[data-theme="light"] .smart-safety-section {
    background: #ffffff;
}

[data-theme="light"] .smart-safety-card-content h3 {
    color: #111;
}

[data-theme="light"] .smart-safety-card-content p {
    color: rgba(0, 0, 0, 0.5);
}

/* --- Persona Grid (Who Is Halo For) --- */
[data-theme="light"] .persona-grid-section {
    background: #f7f7f7;
    border-top-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .persona-title {
    color: #111;
}

/* Persona card overlays stay white text — over image backgrounds */

/* --- Before You Buy — LIGHT mode --- */
[data-theme="light"] .before-buy-section {
    background: #ffffff;
}

[data-theme="light"] .before-buy-section .section-title {
    color: #111;
    font-size: clamp(2rem, 4vw, 3rem);
}

[data-theme="light"] .buy-card {
    background: #f5f5f5;
    border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .buy-card h3 {
    color: #111;
}

[data-theme="light"] .buy-intro {
    color: var(--gray-600);
}

[data-theme="light"] .buy-list li {
    color: var(--gray-600);
}

[data-theme="light"] .buy-list li::before {
    color: #111;
}

[data-theme="light"] .buy-text {
    color: var(--gray-600);
}

[data-theme="light"] .buy-link {
    color: #2563eb;
}

[data-theme="light"] .buy-link:hover {
    color: #111;
}

/* --- FAQ Section — STAYS DARK for contrast --- */
[data-theme="light"] .faq-section {
    background: var(--black);
    border-top-color: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .faq-title {
    color: var(--white);
}

[data-theme="light"] .faq-list {
    border-top-color: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .faq-item {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .faq-question {
    color: var(--white);
}

[data-theme="light"] .faq-question svg {
    color: var(--gray-400);
}

[data-theme="light"] .faq-answer p {
    color: var(--gray-400);
}

/* --- Footer — STAYS DARK for contrast --- */
[data-theme="light"] .footer {
    background: var(--black);
}

[data-theme="light"] .footer-top {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}


/* Footer logo swap: show dark-text version in light mode */
.footer-logo-light {
    display: none;
}

/* In light mode, footer stays dark so keep the light (white) logo visible */
[data-theme="light"] .footer-logo-dark {
    display: block;
}

[data-theme="light"] .footer-logo-light {
    display: none;
}

[data-theme="light"] .social-icon {
    background: rgba(255, 255, 255, 0.1);
    color: var(--gray-400);
}

[data-theme="light"] .social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

[data-theme="light"] .footer-column h4 {
    color: var(--gray-400);
}

[data-theme="light"] .footer-column a {
    color: rgba(255, 255, 255, 0.55);
}

[data-theme="light"] .footer-column a:hover {
    color: var(--white);
}

[data-theme="light"] .footer-app-links {
    color: rgba(255, 255, 255, 0.55);
}

[data-theme="light"] .footer-app-links span {
    color: rgba(255, 255, 255, 0.55);
}

[data-theme="light"] .inline-link {
    color: rgba(255, 255, 255, 0.55);
}

[data-theme="light"] .inline-link:hover {
    color: var(--white);
}

[data-theme="light"] .footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.1);
    color: var(--gray-500);
}

[data-theme="light"] .footer-copyright p {
    color: var(--gray-500);
}

[data-theme="light"] .footer-legal a {
    color: var(--gray-500);
}

[data-theme="light"] .footer-legal a:hover {
    color: var(--white);
}


/* --- Everywhere card back gradient overrides --- */
[data-theme="light"] .everywhere-card-header {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
}

/* --- How grid item hover gradients — dark mode keeps original --- */
[data-theme="light"] .how-grid-item:nth-child(1)::before {
    background: linear-gradient(135deg, rgba(252, 214, 45, 0.08) 0%, transparent 60%);
}

[data-theme="light"] .how-grid-item:nth-child(2)::before {
    background: linear-gradient(225deg, rgba(252, 214, 45, 0.08) 0%, transparent 60%);
}

[data-theme="light"] .how-grid-item:nth-child(3)::before {
    background: linear-gradient(45deg, rgba(252, 214, 45, 0.08) 0%, transparent 60%);
}

[data-theme="light"] .how-grid-item:nth-child(4)::before {
    background: linear-gradient(315deg, rgba(252, 214, 45, 0.08) 0%, transparent 60%);
}


/* ============================================
   MOBILE RESPONSIVE CLEANUP (consolidated)
   ============================================ */
@media (max-width: 768px) {

    /* --- Hero: h1 must be the largest text on the page --- */
    .hero-title {
        font-size: clamp(2.75rem, 10vw, 4rem);
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    /* --- Hero container: match rest of page width --- */
    .hero-content {
        max-width: 100%;
    }

    /* --- Section titles: smaller than hero, consistent, LEFT-ALIGNED --- */
    .section-title {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
        margin-bottom: 1.5rem;
        text-align: left;
    }

    .persona-title,
    .how-grid-title,
    .faq-title,
    .watch-action-title,
    .blur-content-title {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
        text-align: left;
    }

    /* Left-align section headers that were centered */
    .how-grid-header,
    .persona-header,
    .faq-header,
    .past-gen-header {
        text-align: left;
        margin-bottom: 2rem;
    }

    .past-gen-section .section-title {
        text-align: left;
    }

    /* FAQ container: add side padding to match footer alignment */
    .faq-container {
        padding: 0 1.5rem;
    }

    /* --- Sticky sub-nav: fix horizontal scroll --- */
    .section-nav__links {
        min-width: 0;
        flex: 1 1 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .section-nav__cta {
        flex-shrink: 0;
    }

    /* --- Global section padding reduction --- */
    .everywhere-section,
    .past-gen-section,
    .smart-safety-section,
    .how-grid-section,
    .app-slider-section,
    .persona-grid-section,
    .in-the-box-section,
    .before-buy-section,
    .faq-section,
    .showcase {
        padding: 3rem 0;
    }

    /* --- Section header spacing --- */
    .how-grid-header {
        margin-bottom: 2rem;
    }

    .persona-header {
        margin-bottom: 2rem;
    }

    /* --- Everywhere cards: full-width, taller --- */
    .everywhere-card {
        flex: 0 0 100%;
        height: 480px;
    }

    .section-header-flex {
        margin-bottom: 1.5rem;
    }

    /* --- How grid cards: tighter internal padding --- */
    .how-grid-item {
        padding: 1.5rem;
    }

    .how-grid-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 1rem;
    }

    .how-grid-item h3 {
        font-size: 1.125rem;
        margin-bottom: 0.5rem;
    }

    .how-grid-item p {
        font-size: 0.9375rem;
    }

    /* --- Smart safety cards: full-width, arrows guide --- */
    .smart-safety-card {
        flex: 0 0 100%;
    }

    /* --- Persona cards spacing --- */
    .persona-grid {
        gap: 1rem;
    }

    /* --- Before You Buy cards --- */
    .before-buy-grid {
        gap: 1rem;
    }

    .buy-card {
        padding: 1.5rem;
    }

    /* --- Watch in Action: tighter padding --- */
    .watch-action-section {
        padding: 12rem 0 10rem;
    }

    /* --- Slider arrows: smaller on mobile --- */
    .slider-arrow {
        width: 40px;
        height: 40px;
    }

    /* --- App slider spacing --- */
    .app-slider-header {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {

    /* Hero stays large */
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title,
    .persona-title,
    .how-grid-title,
    .faq-title,
    .watch-action-title,
    .blur-content-title {
        font-size: 1.75rem;
    }

    /* Even tighter section padding */
    .everywhere-section,
    .past-gen-section,
    .smart-safety-section,
    .how-grid-section,
    .app-slider-section,
    .persona-grid-section,
    .in-the-box-section,
    .before-buy-section,
    .faq-section,
    .showcase {
        padding: 2.5rem 0;
    }

    .watch-action-section {
        padding: 8rem 0 6rem;
    }
}

/* ============================================
   FEATURE CAROUSEL
   ============================================ */
.blur-carousel-section {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

.blur-carousel-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
    z-index: 3;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 6rem;
    padding-right: 6rem;
}

.blur-carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.blur-content-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.blur-content-subtitle {
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    color: var(--gray-600);
    line-height: 1.5;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out 0.15s, transform 0.6s ease-out 0.15s;
}

.blur-carousel-nav {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    opacity: 0;
    transition: opacity 0.6s ease-out 1.05s;
    flex-shrink: 0;
}

.blur-carousel-content.visible .blur-content-title,
.blur-carousel-content.visible .blur-content-subtitle,
.blur-carousel-content.visible .blur-carousel-nav {
    opacity: 1;
    transform: translateY(0);
}

.blur-carousel-track-wrapper {
    overflow: hidden;
    padding: 2rem 0;
}

.blur-carousel-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.blur-card {
    flex: 0 0 284px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.blur-card:nth-child(1) { transition-delay: 0.3s; }
.blur-card:nth-child(2) { transition-delay: 0.45s; }
.blur-card:nth-child(3) { transition-delay: 0.6s; }
.blur-card:nth-child(4) { transition-delay: 0.75s; }
.blur-card:nth-child(5) { transition-delay: 0.9s; }

.blur-carousel-content.visible .blur-card {
    opacity: 1;
    transform: translateY(0);
}

.blur-card-image {
    width: 100%;
    height: 380px;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

#bc-slide1 .blur-card-image { background-image: url('https://d252xzqwj6utz.cloudfront.net/static/h5/smart-collar-1b.webp'); }
#bc-slide2 .blur-card-image { background-image: url('https://d252xzqwj6utz.cloudfront.net/static/owls-home/67f806a62cbd57a5ec393079_2.webp'); background-position: left 10%; }
#bc-slide3 .blur-card-image { background-image: url('https://d252xzqwj6utz.cloudfront.net/static/h5/smart-collar-3.webp'); }
#bc-slide4 .blur-card-image { background-image: url('https://d252xzqwj6utz.cloudfront.net/static/h5/smart-collar-4.webp'); }
#bc-slide5 .blur-card-image { background-image: url('https://d252xzqwj6utz.cloudfront.net/static/owls-home/67f0355566b9e3b2983b1bfe_5.webp'); }

.blur-card-caption {
    padding: 1rem 0.25rem 0;
}

.blur-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.375rem;
}

.blur-card-text {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.blur-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gray-100);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--gray-900);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.blur-nav-btn:hover {
    background: var(--gray-200);
}

.blur-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .blur-carousel-content {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .blur-carousel-track-wrapper {
        margin-left: -2rem;
        margin-right: -2rem;
        padding-left: 2rem;
    }

    .blur-card {
        flex: 0 0 240px;
    }

    .blur-card-image {
        height: 320px;
    }
}



.home header a.nav-link:hover {
  color: var(--current-interacted-font-color);
}
.home header a:not(.btn):hover {
  color: var(--current-interacted-font-color);
}
.home .nav-icon-btn:hover {
  background: 0;
}

.home header .halo-navigation.scrolled a.nav-cta-btn {
  background: var(--black);
  color: #fff;
}
.home header a.nav-cta-btn:hover {
  background: #fff;
  color: initial;
  transform: none;
  box-shadow: none;
  opacity: .8;
}

