@font-face {
    font-family: 'Qurova';
    src: url('qurovafont/webfonts/Qurova-Light.woff2') format('woff2'),
        url('qurovafont/webfonts/Qurova-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Qurova';
    src: url('qurovafont/webfonts/Qurova-Regular.woff2') format('woff2'),
        url('qurovafont/webfonts/Qurova-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Qurova';
    src: url('qurovafont/webfonts/Qurova-Medium.woff2') format('woff2'),
        url('qurovafont/webfonts/Qurova-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Qurova';
    src: url('qurovafont/webfonts/Qurova-SemiBold.woff2') format('woff2'),
        url('qurovafont/webfonts/Qurova-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Qurova';
    src: url('qurovafont/webfonts/Qurova-Bold.woff2') format('woff2'),
        url('qurovafont/webfonts/Qurova-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ==========================================
   Fixed Background - Works on All Devices
   ========================================== */

/* ==========================================
   Liquid Glass Background
   ========================================== */

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -15;
    overflow: hidden;
    background-color: transparent;
    transition: background-color 400ms cubic-bezier(1, 0.0, 0.4, 1);
}

.glass-overlay {
    position: absolute;
    inset: 0;
    backdrop-filter: blur(100px) saturate(150%);
    -webkit-backdrop-filter: blur(100px) saturate(150%);
    z-index: 2;
    background: radial-gradient(circle at center, transparent, color-mix(in srgb, var(--c-bg) 20%, transparent));
}

.gradient-orb {
    display: none;
    /* Removed gradient orbs completely */
}

/* All Theme Orbs - HIDDEN */

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(10vw, 5vh) scale(1.1);
    }

    66% {
        transform: translate(-5vw, 10vh) scale(0.9);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* Use a pseudo-element for truly fixed background on all devices */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    background-image: url('images/CLipo Bg  Black.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    /* background-attachment: fixed; Removed for mobile stability */
}

/* Base background images for each theme with WebP Performance Support */
body:has(input[value="light"]:checked)::before {
    background-image: url('./images/bglight-4k.webp');
    /* Fallback */
    background-image: image-set(url('./images/bglight-4k.webp') type('image/webp'),
            url('./images/bglight-4k.webp') type('image/webp'));
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

body:has(input[value="dark"]:checked)::before {
    background-image: url('./images/bg-4k.webp');
    /* Fallback */
    background-image: image-set(url('./images/bg-4k.webp') type('image/webp'),
            url('./images/bg-4k.webp') type('image/webp'));
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

body:has(input[value="dim"]:checked)::before {
    background-image: url('./images/darkmode.png');
    /* Fallback */
    background-image: image-set(url('./images/darkmode.png') type('image/png'),
            url('./images/darkmode.png') type('image/png'));
}

/* Global Font Variables - Strictly Qurova */
:root {
    --font-heading: "Qurova", sans-serif;
    --font-body: "Qurova", sans-serif;
    --font-numbers: "Qurova", sans-serif;
}

/* Base font classes */
.price,
.price .currency,
.stat__number,
.number-text {
    font-family: var(--font-numbers) !important;
}

input,
textarea,
button,
select {
    font-family: var(--font-body) !important;
}

/* Remove number input spinners */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

/* Ensure number inputs use Quraova */
input[type="number"] {
    font-family: var(--font-numbers) !important;
    -moz-appearance: textfield;
    appearance: textfield;
}

/* Hide scrollbar but keep scroll functionality */
html {
    scrollbar-width: none;
    scroll-behavior: smooth;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

html::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

body {
    /* DEFAULT DARK THEME from Reference */
    --c-glass: #bbbbbc;
    --c-light: #fff;
    --c-dark: #000;
    --c-content: #f5f5f7;
    --c-action: #dc2743;
    --c-bg: #1a1a1a;
    --glass-reflex-dark: 2;
    --glass-reflex-light: 0.3;
    --saturation: 150%;

    font-size: 20px;
    font-family: "Qurova", sans-serif !important;
    /* Force Qurova */
    font-optical-sizing: auto;
    background-color: transparent;
    color: var(--c-content);

    transition: background-color 400ms cubic-bezier(1, 0.0, 0.4, 1), color 400ms cubic-bezier(1, 0.0, 0.4, 1);
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 80px;
}

/* ==========================================
   Responsive Background Adjustments
   ========================================== */

/* Tablets */
@media (max-width: 992px) {
    body::before {
        background-size: cover;
        background-position: center center;
    }
}

/* Mobile Phones - Fixed Background (Stationary) */
/* Mobile Phones - Fixed Background (Stationary) */
@media (max-width: 768px) {
    body::before {
        position: fixed;
        /* Element stays fixed to viewport */
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-attachment: scroll;
        /* Image stays fixed to the element (which is fixed) */
        background-size: cover;
        background-position: center center;
        transform: translateZ(0);
        /* Hardware accelerate */
        will-change: transform;
        z-index: -10;
    }
}

/* Small Phones */
@media (max-width: 480px) {
    body::before {
        position: fixed;
        background-position: center center;
    }
}

/* Update Themes to have solid fallback colors when image scrolls away */
body:has(input[value="light"]:checked) {
    --c-glass: #bbbbbc;
    --c-light: #fff;
    --c-dark: #000;
    --c-content: #000;
    --c-action: #dc2743;
    --c-bg: #f5f5f7;
    background-color: var(--c-bg);
    /* Fallback color */

    --glass-reflex-dark: 1;
    --glass-reflex-light: 1;
    --saturation: 150%;
}

body:has(input[value="dark"]:checked) {
    --c-glass: #555555;
    --c-light: #fff;
    --c-dark: #000;
    --c-content: #f5f5f7;
    --c-action: #dc2743;
    --c-bg: #1a1a1a;
    background-color: var(--c-bg);
    /* Fallback color */

    --glass-reflex-dark: 2;
    --glass-reflex-light: 0.4;
    --saturation: 150%;
}

body:has(input[value="dim"]:checked) {
    --c-light: #99deff;
    --c-dark: #121212;
    --c-glass: hsl(335 200% 74% / 1);
    --c-content: #d5dbe2;
    --c-action: #e6683c;
    --c-bg: #121212;
    /* Use solid color, not transparent */
    background-color: var(--c-bg);
    /* Fallback color */

    --glass-reflex-dark: 2;
    --glass-reflex-light: 0.7;
    --saturation: 200%;
}

/* Global Heading Styles with Qurova Font */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Qurova", sans-serif !important;
    font-weight: 600;
    /* Ensure Bold loads if available */
}

/* Logo text styling with Qurova */
.navbar__logo-text,
.footer__logo-text {
    font-family: "Qurova", sans-serif !important;
}

/* Paragraphs use Qurova font */
p,
a,
span,
li,
.section__desc,
.section__subtitle,
.hero__description,
.footer__tagline,
.vision-card p {
    font-family: "Qurova", sans-serif !important;
}

.service-card p {
    font-family: var(--font-body);
}

/* Navbar with logo */
.navbar {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    padding: 16px 40px;
    display: flex;
    align-items: center;
}

/* ... (gap in replacement to target separate blocks if I could, but replace_file_content targets a block) ... */
/* Actually I need to target them separately or in one large block if they are close. */
/* .navbar is line 61. .navbar__actions is line 98. .switcher is line 193. They are too far apart for one block. */
/* I will use multi_replace_file_content. */

.navbar__logo {
    height: 55px;
    width: auto;
    object-fit: contain;
    transition: opacity 400ms cubic-bezier(1, 0.0, 0.4, 1);
}

.navbar__logo-link {
    display: block;
    text-decoration: none;
    line-height: 0;
}

/* Show black logo in light mode, white logo in dark or dim mode */
.navbar__logo--light {
    display: block;
}

.navbar__logo--dark {
    display: none;
}

/* Dark/Dim Theme Overrides */
body:has(input[value="dark"]:checked) .navbar__logo--light,
body:has(input[value="dim"]:checked) .navbar__logo--light {
    display: none !important;
}

body:has(input[value="dark"]:checked) .navbar__logo--dark,
body:has(input[value="dim"]:checked) .navbar__logo--dark {
    display: block !important;
}

/* Explicit Light Theme Overrides */
body:has(input[value="light"]:checked) .navbar__logo--light {
    display: block !important;
}

body:has(input[value="light"]:checked) .navbar__logo--dark {
    display: none !important;
}

/* Right side actions */
.navbar__actions {
    position: fixed;
    z-index: 100;
    top: 0;
    right: 0;
    padding: 16px 40px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar__btn {
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    color: var(--c-content);
    background-color: color-mix(in srgb, var(--c-glass) 12%, transparent);
    border: none;
    border-radius: 99em;
    cursor: pointer;
    backdrop-filter: blur(8px) saturate(var(--saturation));
    -webkit-backdrop-filter: blur(8px) saturate(var(--saturation));
    box-shadow:
        inset 0 0 0 1px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 10%), transparent),
        inset 1.8px 3px 0px -2px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 90%), transparent),
        inset -2px -2px 0px -2px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 80%), transparent),
        inset -3px -8px 1px -6px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 60%), transparent),
        inset -0.3px -1px 4px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 12%), transparent),
        0px 1px 5px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 10%), transparent),
        0px 6px 16px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 8%), transparent);
    transition:
        transform 200ms,
        background-color 400ms cubic-bezier(1, 0.0, 0.4, 1),
        box-shadow 400ms cubic-bezier(1, 0.0, 0.4, 1),
        color 400ms cubic-bezier(1, 0.0, 0.4, 1);
}

.navbar__btn:hover {
    transform: scale(1.05);
    background-color: color-mix(in srgb, var(--c-glass) 25%, transparent);
}

.navbar__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    font-family: inherit;
    color: var(--c-content);
    background-color: color-mix(in srgb, var(--c-glass) 12%, transparent);
    border: none;
    border-radius: 99em;
    cursor: pointer;
    backdrop-filter: blur(8px) saturate(var(--saturation));
    -webkit-backdrop-filter: blur(8px) saturate(var(--saturation));
    box-shadow:
        inset 0 0 0 1px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 10%), transparent),
        inset 1.8px 3px 0px -2px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 90%), transparent),
        inset -2px -2px 0px -2px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 80%), transparent),
        inset -3px -8px 1px -6px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 60%), transparent),
        inset -0.3px -1px 4px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 12%), transparent),
        0px 1px 5px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 10%), transparent),
        0px 6px 16px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 8%), transparent);
    transition:
        transform 200ms,
        background-color 400ms cubic-bezier(1, 0.0, 0.4, 1),
        box-shadow 400ms cubic-bezier(1, 0.0, 0.4, 1),
        color 400ms cubic-bezier(1, 0.0, 0.4, 1);
}

.navbar__icon:hover {
    transform: scale(1.05);
    background-color: color-mix(in srgb, var(--c-glass) 25%, transparent);
}

/* ==========================================
   Premium Pill Theme Toggle (Neumorphic)
   ========================================== */
.theme-pill {
    --pill-w: 72px;
    --pill-h: 36px;
    --thumb-size: 28px;
    --track-bg: #E8E8E9;
    --thumb-bg: #f5f5f7;
    --c-icon: #224;

    appearance: none;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    position: relative;
    width: var(--pill-w);
    height: var(--pill-h);
    border-radius: 99px;
    transition: all 0.3s ease;
    margin-right: 15px;
    -webkit-tap-highlight-color: transparent;
}

.theme-pill:hover {
    transform: scale(1.02);
}

.theme-pill:active {
    transform: scale(0.98);
}

.theme-pill__track {
    position: absolute;
    inset: 0;
    background: var(--track-bg);
    border-radius: 99px;
    box-shadow:
        inset 3px 3px 6px rgba(0, 0, 0, 0.1),
        inset -3px -3px 6px rgba(255, 255, 255, 0.8),
        0 1px 1px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(1, 0.0, 0.4, 1);
    overflow: hidden;
}

.theme-pill__thumb {
    position: absolute;
    left: 4px;
    top: 50%;
    translate: 0 -50%;
    width: var(--thumb-size);
    height: var(--thumb-size);
    background: var(--thumb-bg);
    border-radius: 50%;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.4s ease;
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.12),
        0 1px 3px rgba(0, 0, 0, 0.08),
        inset 1px 1px 1px rgba(255, 255, 255, 0.5);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-pill__icon {
    position: absolute;
    width: 16px;
    height: 16px;
    color: var(--c-icon);
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-pill__icon--moon {
    opacity: 0;
    transform: scale(0) rotate(-45deg);
}

.theme-pill__track-icons {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    z-index: 1;
    opacity: 0.15;
    pointer-events: none;
}

.track-icon {
    color: var(--c-icon);
}

/* Theme states for Toggle */
body:has(input[value="dark"]:checked) .theme-pill__thumb {
    transform: translateX(calc(var(--pill-w) - var(--thumb-size) - 8px));
    background: #2d2d30;
}

body:has(input[value="dark"]:checked) .theme-pill__track {
    background: #121214;
    box-shadow:
        inset 3px 3px 6px rgba(0, 0, 0, 0.4),
        inset -1px -1px 2px rgba(255, 255, 255, 0.05);
}

body:has(input[value="dark"]:checked) .theme-pill__icon--sun {
    opacity: 0;
    transform: scale(0) rotate(45deg);
}

body:has(input[value="dark"]:checked) .theme-pill__icon--moon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    color: #a5b4fc;
}

body:has(input[value="light"]:checked) .theme-pill__icon--sun {
    color: #f59e0b;
}

/* Global transition adjustment */
body {
    transition: background 0.6s cubic-bezier(1, 0.0, 0.4, 1), color 0.6s cubic-bezier(1, 0.0, 0.4, 1);
}

/* ==========================================
   Switcher (Desktop Default - Glass Reflex Style)
   ========================================== */
.switcher {
    --w: 110px;
    position: fixed;
    z-index: 100;
    top: 24px;
    left: 50%;
    translate: -50%;
    display: flex;
    align-items: center;
    gap: 0;
    width: auto;
    max-width: 95vw;
    height: 56px;
    box-sizing: border-box;
    padding: 4px;
    margin: 0 auto;
    border: none;
    overflow: hidden;
    border-radius: 99em;
    font-size: 13px;
    background-color: transparent;
    touch-action: none;

    /* Original Desktop Shadows */
    box-shadow:
        inset 0 0 0 1px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 10%), transparent),
        inset 1.8px 3px 0px -2px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 90%), transparent),
        inset -2px -2px 0px -2px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 80%), transparent),
        inset -3px -8px 1px -6px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 60%), transparent),
        inset -0.3px -1px 4px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 12%), transparent),
        inset -1.5px 2.5px 0px -2px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 20%), transparent),
        inset 0px 3px 4px -2px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 20%), transparent),
        inset 2px -6.5px 1px -4px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 10%), transparent),
        0px 1px 5px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 10%), transparent),
        0px 6px 16px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 8%), transparent);

    transition:
        background-color 400ms cubic-bezier(1, 0.0, 0.4, 1),
        box-shadow 400ms cubic-bezier(1, 0.0, 0.4, 1);
    isolation: isolate;
}

.switcher__legend {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    white-space: nowrap;
    clip-path: inset(100%);
    clip: rect(0 0 0 0);
    overflow: hidden;
}

.switcher__input {
    clip: rect(0 0 0 0);
    clip-path: inset(100%);
    height: 1px;
    width: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
}

.switcher__icon {
    display: block;
    width: 100%;
    transition: scale 200ms cubic-bezier(0.5, 0, 0, 1);
}

.switcher__content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 100%;
}

.switcher__icon-svg {
    display: none;
    /* Hidden on desktop */
}

.switcher__text {
    font-weight: 400;
    white-space: nowrap;
    color: var(--c-content);
    transition: color 200ms, font-weight 200ms, opacity 200ms;
}

.switcher__option:has(input:checked) .switcher__text {
    font-weight: 500;
}

.switcher__option {
    --c: var(--c-content);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 4px;
    width: var(--w);
    height: 100%;
    box-sizing: border-box;
    border-radius: 99em;
    opacity: 0.5;
    transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.switcher__option:hover {
    cursor: pointer;
    opacity: 0.8;
}

.switcher__option:hover .switcher__icon {
    scale: 1.2;
}

.switcher__option:has(input:checked) {
    --c: var(--c-content);
    cursor: auto;
    opacity: 1;
}

/* Original Desktop Bubble */
.switcher__bubble {
    position: absolute;
    left: 4px;
    top: 4px;
    display: block;
    width: var(--w);
    height: calc(100% - 8px);
    border-radius: 100px;
    background-color: color-mix(in srgb, var(--c-glass) 12%, transparent);
    z-index: -1;
    backdrop-filter: blur(8px) saturate(var(--saturation));
    -webkit-backdrop-filter: blur(8px) saturate(var(--saturation));

    /* Same glass reflex shadows as theme button */
    box-shadow:
        inset 0 0 0 1px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 10%), transparent),
        inset 1.8px 3px 0px -2px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 90%), transparent),
        inset -2px -2px 0px -2px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 80%), transparent),
        inset -3px -8px 1px -6px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 60%), transparent),
        inset -0.3px -1px 4px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 12%), transparent),
        0px 1px 5px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 10%), transparent),
        0px 6px 16px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 8%), transparent);

    /* Original Linear-ish Transition */
    transition:
        background-color 400ms cubic-bezier(1, 0.0, 0.4, 1),
        box-shadow 400ms cubic-bezier(1, 0.0, 0.4, 1),
        transform 600ms linear(0 0%, 0.6091 3.69%, 1.0259 7.24%, 1.1733 9.05%, 1.283 10.92%, 1.3562 12.87%, 1.3948 14.95%, 1.4014 16.03%, 1.3999 17.16%, 1.3731 19.64%, 1.3202 22.27%, 1.1394 29.39%, 1.0582 33.17%, 0.9943 37.45%, 0.9734 39.64%, 0.9593 41.92%, 0.9505 45.08%, 0.9517 48.7%, 0.9924 63.02%, 1.0046 71.2%, 1.0061 78.24%, 1 100%),
        scale 200ms ease;
    pointer-events: none;
    will-change: transform;
}


/* ==========================================
   MOBILE ONLY - Apple Music Style (Clean)
   ========================================== */
@media (max-width: 1024px) {

    /* Define Mobile-Specific Variables */
    body:has(input[value="light"]:checked) .switcher {
        --c-switcher-mobile-bg: rgba(245, 245, 247, 0.85);
        --c-switcher-mobile-bubble: #FFFFFF;
        --c-switcher-active-text: #000;
    }

    body:has(input[value="dark"]:checked) .switcher {
        --c-switcher-mobile-bg: rgba(28, 28, 30, 0.85);
        --c-switcher-mobile-bubble: #636366;
        --c-switcher-active-text: #fff;
    }

    body:has(input[value="dim"]:checked) .switcher {
        --c-switcher-mobile-bg: rgba(50, 20, 30, 0.85);
        --c-switcher-mobile-bubble: hsl(335 90% 60%);
        --c-switcher-active-text: #fff;
    }

    /* Container: Clean Floating Bar - Adjusted height for better prominence on mobile */
    .switcher {
        height: 64px;
        /* Increased from 50px for more prominence */
        width: 95vw;
        max-width: 440px;
        /* Slightly wider */
        border-radius: 99em;
        bottom: 32px;
        /* Pushed up slightly */
        left: 0;
        right: 0;
        margin: 0 auto;
        padding: 6px;

        background: transparent;
        background-color: rgba(255, 255, 255, 0.2);
        /* More transparent for Glassy look */
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.1);
        /* Subtle container border */
        justify-content: center;
        gap: 0;
    }

    /* Bubble: Glassy & Snappy (Mobile) */
    .switcher__bubble {
        /* Glassy Look matching Desktop - High Fidelity */
        background-color: color-mix(in srgb, var(--c-glass) 15%, transparent);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);

        /* Crisp White Ring (Shoe/Show in picture look) + Glass Reflex */
        box-shadow:
            inset 0 0 0 1px rgba(255, 255, 255, 0.4),
            /* Sharp inner rim */
            inset 0 1px 0 0 rgba(255, 255, 255, 0.6),
            /* Top highlight */
            0 8px 24px rgba(0, 0, 0, 0.2),
            0 0 15px color-mix(in srgb, var(--c-action) 30%, transparent);
        /* Soft localized glow */

        /* Apple-style Spring Physics */
        transition:
            transform 500ms cubic-bezier(0.32, 0.72, 0, 1),
            width 400ms cubic-bezier(0.32, 0.72, 0, 1),
            background-color 300ms ease,
            box-shadow 300ms ease;
    }

    /* Layout & Text overrides */
    .switcher__text {
        display: block;
        font-size: 15px;
        /* Increased from 13px */
        font-weight: 600;
        line-height: 1;
        margin-top: 0;
        letter-spacing: 0.01em;
        text-align: center;
    }

    /* Hide Icons on Mobile */
    .switcher__icon-svg {
        display: none;
    }

    .switcher__content {
        flex-direction: row;
        /* Centered Text */
        justify-content: center;
        align-items: center;
        gap: 0;
    }

    .switcher__option {
        /* Ensure interaction is easy on mobile */
        opacity: 0.6;
        padding: 0 12px;
        /* Add some side padding for text fitting */

        /* Critical: Use auto width for text-fitting bubble */
        width: auto !important;
        flex: 0 0 auto;
        /* Don't force equal distribution */
        min-width: 0;
    }

    /* Active State Enhancement */
    .switcher__option:has(input:checked) {
        opacity: 1;
    }

    .switcher__option:has(input:checked) .switcher__text {
        color: var(--c-switcher-active-text);
        font-weight: 700;
        transform: none;
        /* Removed scale pop for cleaner text transition */
    }
}

/* Dark theme bubble - uses default glass styling (no gradient) */

.switcher--dragging .switcher__bubble {
    scale: 0.95;
    transition: scale 200ms ease;
    /* When dragging, we might want to disable the transform transition, which JS does via style assigned to element */
}

/* Touch/Active state for mobile */
.switcher:active .switcher__bubble,
.switcher__bubble:active {
    scale: 1.1;
    /* Expand on press */
    transition: scale 150ms cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 100px;
    /* Ensure pill shape on active */
}

/* Mobile-only: Bubble stays within navbar boundaries */
@media (max-width: 1024px) {
    .switcher {
        overflow: hidden;
        /* Keep bubble inside navbar boundaries */
        position: fixed;
        bottom: 20px;
        z-index: 100;
    }

    /* Use desktop bubble style (inherited), but maintain smooth mobile transitions */

    /* Smooth bubble transition */
    .switcher__bubble {
        transition:
            transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1),
            scale 200ms cubic-bezier(0.34, 1.56, 0.64, 1);
    }
}

/* Initially position based on Checked state using CSS for load/fallback  */
/* We can still use :has selectors for initial state or simple clicks if JS doesn't override inline styles immediately */
/* Desktop Positioning (Fixed Width) */
@media (min-width: 1025px) {
    .switcher:has(input[c-option="1"]:checked) .switcher__bubble {
        transform: translateX(0);
    }

    .switcher:has(input[c-option="2"]:checked) .switcher__bubble {
        transform: translateX(var(--w));
    }

    .switcher:has(input[c-option="3"]:checked) .switcher__bubble {
        transform: translateX(calc(var(--w) * 2));
    }

    .switcher:has(input[c-option="4"]:checked) .switcher__bubble {
        transform: translateX(calc(var(--w) * 3));
    }

    .switcher:has(input[c-option="5"]:checked) .switcher__bubble {
        transform: translateX(calc(var(--w) * 4));
    }
}

/* Mobile Positioning (Fluid/Percentage based) */
@media (max-width: 1024px) {

    /* Dynamic width from JS, but ensures decent look on load */
    .switcher__bubble {
        width: 60px;
        /* Base width before JS takes over */
    }

    /* Move by own width unit (100% of self) */
    .switcher:has(input[c-option="1"]:checked) .switcher__bubble {
        transform: translateX(0%);
    }

    .switcher:has(input[c-option="2"]:checked) .switcher__bubble {
        transform: translateX(100%);
    }

    .switcher:has(input[c-option="3"]:checked) .switcher__bubble {
        transform: translateX(200%);
    }

    .switcher:has(input[c-option="4"]:checked) .switcher__bubble {
        transform: translateX(300%);
    }

    .switcher:has(input[c-option="5"]:checked) .switcher__bubble {
        transform: translateX(400%);
    }
}


a {
    color: var(--c-content);
    text-decoration-thickness: 0.05em;
    text-underline-position: under;
    text-decoration-color: color-mix(in srgb, currentColor, transparent 70%);
    transition: color 160ms, text-decoration-color 160ms;
}

a:hover {
    color: color-mix(in srgb, var(--c-action), var(--c-content) 40%);
    text-decoration-color: color-mix(in srgb, currentColor, transparent 30%);
}

img {
    display: block;
    border-radius: 0.8em;
    width: 100%;
    max-width: 700px;
    aspect-ratio: 5 / 3;
    object-fit: cover;
}

.box {
    padding: 1em 1.4em;
    border-top: 4px solid color-mix(in srgb, var(--c-action) 50%, transparent);
    border-radius: 0.8em;
    background-color: color-mix(in srgb, var(--c-action) 8%, var(--c-bg));
    transition: background 400ms cubic-bezier(1, 0.0, 0.4, 1);
}


/* ==========================================
   Hero Section
   ========================================== */

.hero {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    /* Center align everything */
    min-height: calc(100vh - 80px);
    /* Slightly less than full height to account for navbar */
    padding: 160px 20px 80px;
    /* Increased top padding significantly for more breathing space */
    box-sizing: border-box;
    gap: 30px;
    /* Reduced gap */
    max-width: 1320px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.hero__content {
    flex: 0 1 auto;
    /* Allow sizing based on content, but flexible */
    width: auto;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 2;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--c-content);

    /* Thick Glass Effect */
    background-color: color-mix(in srgb, var(--c-glass) 25%, transparent);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 100px;
    margin-bottom: 16px;

    /* Border & Depth */
    border: 1px solid color-mix(in srgb, var(--c-light) 20%, transparent);
    box-shadow:
        inset 0 0 0 1px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 10%), transparent),
        inset 1.8px 3px 0px -2px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 90%), transparent),
        inset -2px -2px 0px -2px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 80%), transparent),
        inset -3px -8px 1px -6px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 60%), transparent),
        inset -0.3px -1px 4px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 12%), transparent),
        inset -1.5px 2.5px 0px -2px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 20%), transparent),
        inset 0px 3px 4px -2px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 20%), transparent),
        inset 2px -6.5px 1px -4px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 10%), transparent),
        0px 1px 5px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 10%), transparent),
        0px 6px 16px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 8%), transparent);
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 16px;
    color: var(--c-content);
    /* animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s backwards; */
}

.hero__title:hover .hero__title-gradient {
    filter: hue-rotate(15deg);
}

.hero__title-gradient {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: filter 0.4s ease;
}


.hero__description {
    font-size: 16px;
    line-height: 1.7;
    color: var(--c-content);
    margin: 0 0 16px;
    max-width: 450px;
    /* animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s backwards; */
}

.hero__buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-start;
    /* animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s backwards; */
}

.hero__btn {
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    color: var(--c-content);
    background-color: color-mix(in srgb, var(--c-glass) 12%, transparent);
    border: none;
    border-radius: 99em;
    cursor: pointer;
    backdrop-filter: blur(8px) saturate(var(--saturation));
    -webkit-backdrop-filter: blur(8px) saturate(var(--saturation));
    box-shadow:
        inset 0 0 0 1px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 10%), transparent),
        inset 1.8px 3px 0px -2px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 90%), transparent),
        inset -2px -2px 0px -2px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 80%), transparent),
        inset -3px -8px 1px -6px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 60%), transparent),
        inset -0.3px -1px 4px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 12%), transparent),
        0px 1px 5px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 10%), transparent),
        0px 6px 16px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 8%), transparent);
    transition:
        transform 200ms,
        background-color 400ms cubic-bezier(1, 0.0, 0.4, 1),
        box-shadow 400ms cubic-bezier(1, 0.0, 0.4, 1),
        color 400ms cubic-bezier(1, 0.0, 0.4, 1);
}

.hero__btn:hover {
    transform: scale(1.05);
    background-color: color-mix(in srgb, var(--c-glass) 25%, transparent);
}

.hero__btn--primary {
    background-color: color-mix(in srgb, var(--c-glass) 20%, transparent);
}

.hero__btn--secondary {
    background-color: color-mix(in srgb, var(--c-glass) 8%, transparent);
}

/* Hero Visual / Device */
.hero__visual {
    flex: 0 1 auto;
    display: flex;
    justify-content: center;
    /* Center the device in its block */
    align-items: center;
    perspective: 1000px;
    width: auto;
}

.hero__device {
    position: relative;
    width: 100%;
    max-width: 600px;
    /* Larger for landscape format */
    aspect-ratio: 16 / 9;
    /* Landscape ratio for video */
    height: auto;
    padding: 10px;
    /* Thinner padding */
    /* Enhanced Glass Border Effect - Matching Mission Cards */
    background-color: color-mix(in srgb, var(--c-glass) 12%, transparent);
    border-radius: 20px;
    backdrop-filter: blur(20px) saturate(var(--saturation));
    -webkit-backdrop-filter: blur(20px) saturate(var(--saturation));
    box-shadow:
        inset 0 0 0 1px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 10%), transparent),
        inset 1.8px 3px 0px -2px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 90%), transparent),
        inset -2px -2px 0px -2px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 80%), transparent),
        inset -3px -8px 1px -6px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 60%), transparent),
        inset -0.3px -1px 4px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 12%), transparent),
        0px 1px 5px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 10%), transparent),
        0px 6px 16px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 8%), transparent);
    transition: transform 0.4s ease, background-color 400ms cubic-bezier(1, 0.0, 0.4, 1), box-shadow 400ms cubic-bezier(1, 0.0, 0.4, 1);
}


/* Hover effect removed for static appearance */

.hero__device-screen {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    background-color: var(--c-bg);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c-dark) 5%, transparent);
}

.hero__device-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Ensure video element fits properly in card */
video.hero__device-image {
    display: block;
}

.hero__device:hover .hero__device-image {
    transform: scale(1.05);
}

/* Disable hover effects when video is playing */
.hero__device.is-playing,
.hero__device.is-playing:hover {
    transform: none !important;
    /* Reset shadow to default state */
    box-shadow:
        0 20px 60px -10px color-mix(in srgb, var(--c-dark) 40%, transparent),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2) !important;
}

.hero__device.is-playing .hero__device-image,
.hero__device.is-playing:hover .hero__device-image {
    transform: none !important;
}

/* Play Button - Center (shows before playing) */
.hero__play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.25);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10;
}

.hero__play-btn:hover {
    transform: translate(-50%, -50%) scale(1.15);
    background-color: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.8);
}

.hero__play-btn:active {
    transform: translate(-50%, -50%) scale(0.95);
}

.hero__play-btn svg {
    margin-left: 4px;
    /* Visual centering */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Hide play button when video has started playing */
.hero__device.has-played .hero__play-btn {
    display: none;
}



/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        padding-top: 160px;
        text-align: center;
    }

    .hero__content {
        width: 100%;
        align-items: center;
    }

    .hero__buttons {
        justify-content: center;
    }

    .hero__visual {
        width: 100%;
        justify-content: center;
        margin-top: 40px;
    }

    .hero__gallery {
        transform: rotate(-3deg);
    }

    .hero__gallery-card {
        width: 160px;
    }
}

@media (max-width: 900px) {
    body {
        font-size: 16px;
    }

    .hero {
        flex-direction: column;
        /* More top padding to push content down */
        padding: 340px 20px 100px 20px;
        margin-top: 18px !important;
        /* Maximum top padding to push content well below the enlarged logo */
        text-align: center;
    }

    .hero__content {
        max-width: 100%;
    }

    .hero__description {
        max-width: 100%;
    }

    .hero__buttons {
        justify-content: center;
    }

    .hero__btn {
        padding: 8px 14px;
        font-size: 11px;
    }

    .hero__device {
        width: 95vw !important;
        /* Use viewport width for better responsiveness */
        max-width: 600px !important;
        aspect-ratio: 16 / 9 !important;
        height: auto !important;
        margin: 0 auto;
        display: block;
    }

    /* Mobile Play Button */
    .hero__play-btn {
        width: 64px;
        height: 64px;
    }

    .hero__play-btn svg {
        width: 32px;
        height: 32px;
    }

    /* iPhone-style Top Navigation (Like Reference Image) */
    .navbar__btn {
        display: block;
        /* Make sure it's visible */
        padding: 8px 16px;
        font-size: 12px;
        margin-right: -8px;
        /* Slight adjustment for tight spacing */
    }

    /* Move logo to top left */
    /* Move navbar to top */
    .navbar {
        position: fixed;
        /* REQUIRED for top positioning */
        top: 0;
        left: 0;
        width: 100%;

        padding: 20px 24px;
        height: auto;
        /* ❌ remove fixed height */

        display: flex;
        /* REQUIRED for justify-content */
        align-items: center;
        justify-content: space-between;

        pointer-events: auto;
        /* ❌ don't block clicks */
        z-index: 1000;
    }



    .navbar__logo {
        height: 50px !important;
        /* Significantly increased logo size for mobile/tablet */
        width: auto;
        padding: 0;
        box-sizing: border-box;
        background-color: transparent;
        backdrop-filter: none;
        border-radius: 0;
        box-shadow: none;
        pointer-events: auto;
        /* Ensure display is not forced to block here generically if it overrides specific toggles, but simpler to rely on specific classes */
    }

    /* Force correct display on mobile */
    body:has(input[value="dark"]:checked) .navbar__logo--light,
    body:has(input[value="dim"]:checked) .navbar__logo--light {
        display: none !important;
    }

    body:has(input[value="dark"]:checked) .navbar__logo--dark,
    body:has(input[value="dim"]:checked) .navbar__logo--dark {
        display: block !important;
    }

    body:has(input[value="light"]:checked) .navbar__logo--light {
        display: block !important;
    }

    body:has(input[value="light"]:checked) .navbar__logo--dark {
        display: none !important;
    }

    .navbar__actions {
        top: 0;
        bottom: auto;
        right: 0;
        padding: 20px 24px;
        pointer-events: auto;
        z-index: 1001;
    }

    .switcher {
        /* Glass Tabbar Styling */
        position: fixed;
        left: 50%;
        /* Correct centering */
        top: 90%;
        transform: translateX(-50%);

        width: calc(100vw - 32px);
        max-width: 600px;

        height: 68px;
        /* Original Size */
        padding: 6px;
        padding-bottom: calc(6px + env(safe-area-inset-bottom));
        /* ===================================
   10. CLIENT ECHOES (SPEECH BUBBLES)
   =================================== */

        .echoes-container {
            padding: 80px 24px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .echoes-header {
            text-align: center;
            margin-bottom: 60px;
        }

        .echoes-grid {
            display: flex;
            flex-direction: column;
            gap: 40px;
            align-items: flex-start;
        }

        .speech-bubble {
            position: relative;
            padding: 24px 32px;
            background: color-mix(in srgb, var(--c-glass) 12%, transparent);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            border-radius: 24px;
            border: 1px solid color-mix(in srgb, var(--c-light) 15%, transparent);
            max-width: 70%;
            width: fit-content;
            /* Dynamic width based on text */
            box-shadow:
                0 10px 30px rgba(0, 0, 0, 0.1),
                inset 0 0 0 1px color-mix(in srgb, var(--c-light) 5%, transparent);
            animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
        }

        .bubble-left {
            align-self: flex-start;
            border-bottom-left-radius: 4px;
        }

        .bubble-right {
            align-self: flex-end;
            border-bottom-right-radius: 4px;
            background: color-mix(in srgb, var(--c-action) 10%, var(--c-glass) 12%);
        }

        /* Chat Tail */
        .speech-bubble::after {
            content: '';
            position: absolute;
            bottom: -10px;
            width: 20px;
            height: 20px;
        }

        .bubble-left::after {
            left: 10px;
            background: inherit;
            clip-path: polygon(0 0, 100% 0, 0 100%);
            transform: rotate(-10deg);
        }

        .bubble-right::after {
            right: 10px;
            background: inherit;
            clip-path: polygon(0 0, 100% 0, 100% 100%);
            transform: rotate(10deg);
        }

        .bubble-text {
            font-size: 18px;
            line-height: 1.6;
            color: var(--c-content);
            margin-bottom: 16px !important;
        }

        .bubble-meta {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .bubble-author {
            font-weight: 700;
            font-size: 14px;
            color: var(--c-content);
        }

        .bubble-role {
            font-size: 12px;
            color: color-mix(in srgb, var(--c-content) 60%, transparent);
        }

        /* Responsive Bubbles */
        @media (max-width: 768px) {
            .speech-bubble {
                max-width: 90%;
                padding: 20px 24px;
            }

            .bubble-text {
                font-size: 16px;
            }

            .echoes-header {
                margin-bottom: 40px;
            }
        }

        display: flex;
        flex-wrap: nowrap;
        gap: 0;
        align-items: center;
        justify-content: center;

        background: transparent;

        backdrop-filter: blur(22px) saturate(180%);
        -webkit-backdrop-filter: blur(22px) saturate(180%);

        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.2);

        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.2);

        box-sizing: border-box;
        z-index: 1000;

        transition: height 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
        width 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .switcher__bubble {
        left: 0 !important;
        top: 6px !important;
        width: 0;
        /* JS will set this */
        height: calc(100% - 12px) !important;
        position: absolute;
    }

    .switcher__option {
        flex: 1 1 auto !important;
        /* Allow variable widths */
        min-width: 0;
    }

    /* Expand on Touch/Drag */
    .switcher:active,
    .switcher:focus-within,
    .switcher--dragging {
        height: 72px;
        /* Expanded Height */
        width: calc(100vw - 24px);
        /* Expanded Width */
    }
}


/* ==========================================
   General Section Styles
   ========================================== */
.section {
    padding: 50px 60px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    box-sizing: border-box;
}

.section__header {
    text-align: center;
    max-width: 600px;
}

.section__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 8px;
    /* Reduced from 12px for tighter spacing */
    color: var(--c-content);
}

/* ... (Theme overrides remain - skipped in replacement block if not contiguous, but here they are separate. I will just target the title block first or combined if possible) */
/* Actually, I cannot skip lines inside a block in specific replacement. I will replace title block first. */

body:has(input[value="dark"]:checked) .section__title,
body:has(input[value="dim"]:checked) .section__title {
    background: linear-gradient(45deg, #f09433 0%, #dc2743 50%, #bc1888 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Dark Theme - Services Section: White headings */
body:has(input[value="dark"]:checked) .services .section__title,
body:has(input[value="dim"]:checked) .services .section__title {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: #ffffff;
    color: #ffffff;
    filter: none;
}

body:has(input[value="dark"]:checked) .services .section__subtitle,
body:has(input[value="dim"]:checked) .services .section__subtitle {
    color: rgba(255, 255, 255, 0.85);
}

/* Dark Theme - Pricing Section: White headings */
body:has(input[value="dark"]:checked) .pricing .section__title,
body:has(input[value="dim"]:checked) .pricing .section__title {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: #ffffff;
    color: #ffffff;
    filter: none;
}

body:has(input[value="dark"]:checked) .pricing .section__subtitle,
body:has(input[value="dim"]:checked) .pricing .section__subtitle {
    color: rgba(255, 255, 255, 0.85);
}

.text-gradient {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: filter 0.4s ease;
}

.section__desc,
.section__subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    color: color-mix(in srgb, var(--c-content) 90%, transparent);
    margin: 4px auto 0;
    /* Reduced from 8px */
}

/* Reusable Glass Card - Restored to Liquid Glass (Navbar) Theme */
.glass-card {
    background-color: color-mix(in srgb, var(--c-glass) 12%, transparent);
    border-radius: 32px;
    padding: 32px;
    backdrop-filter: blur(8px) saturate(var(--saturation));
    -webkit-backdrop-filter: blur(8px) saturate(var(--saturation));
    box-shadow:
        inset 0 0 0 1px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 10%), transparent),
        inset 1.8px 3px 0px -2px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 90%), transparent),
        inset -2px -2px 0px -2px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 80%), transparent),
        inset -3px -8px 1px -6px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 60%), transparent),
        inset -0.3px -1px 4px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 12%), transparent),
        inset -1.5px 2.5px 0px -2px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 20%), transparent),
        inset 0px 3px 4px -2px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 20%), transparent),
        inset 2px -6.5px 1px -4px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 10%), transparent),
        0px 1px 5px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 10%), transparent),
        0px 6px 16px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 8%), transparent);
    transition: transform 0.4s cubic-bezier(1, 0, 0.4, 1), box-shadow 0.4s cubic-bezier(1, 0, 0.4, 1);
    will-change: transform;
    border: none;
}

.glass-card:hover {
    transform: translateY(-5px);
}


/* Glow removed per user request */

@media (max-width: 768px) {
    .glass-card {
        padding: 24px;
        border-radius: 24px;
    }
}

/* ==========================================
   About Section
   ========================================== */
.about__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    /* Other visual properties now handled by shared rule with .contact__card */
}

.about__visions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 1fr;
    /* Equal height rows */
    gap: 24px;
    width: 100%;
    margin-top: 20px;
    text-align: left;
}



.video-modal-native {
    width: 100%;
    height: 100%;
    max-height: 80vh;
    border-radius: 16px;
    background-color: #000;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    padding: 10px;
    z-index: 100;
}

.video-modal {
    max-width: 90vw;
    width: 1000px;
    height: auto;
    aspect-ratio: 16 / 9;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.vision-card {
    /* Ensure content flow */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    height: 100%;
    min-height: 280px;
    /* Minimum height for consistency */
    box-sizing: border-box;

    /* Nested Glass Card Styling - Matched to Service Card */
    background-color: color-mix(in srgb, var(--c-glass) 12%, transparent);
    border-radius: 32px;
    backdrop-filter: blur(8px) saturate(var(--saturation));
    -webkit-backdrop-filter: blur(8px) saturate(var(--saturation));

    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 10%), transparent),
        inset 1.8px 3px 0px -2px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 90%), transparent),
        inset -2px -2px 0px -2px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 80%), transparent),
        inset -3px -8px 1px -6px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 60%), transparent),
        inset -0.3px -1px 4px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 12%), transparent),
        inset -1.5px 2.5px 0px -2px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 20%), transparent),
        inset 0px 3px 4px -2px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 20%), transparent),
        inset 2px -6.5px 1px -4px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 10%), transparent),
        0px 1px 5px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 10%), transparent),
        0px 6px 16px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 8%), transparent);
    transition: transform 0.3s ease,
        background-color 0.3s ease;
}

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

    .about {
        padding-left: 16px;
        padding-right: 16px;
    }

    .about__card {
        padding: 24px;
        max-width: calc(100% - 32px);
        width: 100%;
        gap: 24px;
        box-sizing: border-box;
        margin-left: auto;
        margin-right: auto;
    }

    .about__visions {
        margin-top: 24px;
        gap: 16px;
    }

    .vision-card {
        min-height: 180px;
        padding: 20px;
    }
}

/* Make paragraph fill remaining space for equal height */
.vision-card p {
    flex-grow: 1;
}

.vision-card:hover {
    transform: translateY(-4px);
    background-color: color-mix(in srgb, var(--c-glass) 15%, transparent);
}

.vision-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(220, 39, 67, 0.25);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.vision-card:hover .vision-icon {
    transform: scale(1.1) rotate(-5deg);
    filter: brightness(1.2);
}

.vision-card h3,
.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--c-content);
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.vision-card p,
.service-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: color-mix(in srgb, var(--c-content) 75%, transparent);
    letter-spacing: 0.01em;
}

.about__stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
    flex-wrap: wrap;
    width: 100%;
    border-top: 1px solid color-mix(in srgb, var(--c-content) 10%, transparent);
    padding-top: 20px;
}

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

.stat__number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--c-content);
}

.stat__label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-top: 8px;
    opacity: 0.7;
}

/* ==========================================
   Services Section
   ========================================== */
.services__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.service-card {
    /* 3 columns minus gap */
    width: calc((100% - 60px) / 3);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 24px;
    min-height: 320px;
    /* height: auto; -> let flex stretch handle it, but allow content to push */
    box-sizing: border-box;
    /* Ensure cards are strictly 3 cols */
    flex-grow: 0;
    flex-shrink: 0;
}

/* Light Theme - Service Cards with Navigation Bar Glass Effect */


@media (max-width: 992px) {
    .service-card {
        /* 2 columns minus gap */
        width: calc((100% - 30px) / 2);
    }
}

@media (max-width: 768px) {
    .services__grid {
        flex-direction: column;
        align-items: center;
    }

    .service-card {
        width: 100%;
        max-width: 450px;
        /* Prevent too wide on mobile */
        margin: 0 auto;
    }
}


.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(220, 39, 67, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.service-icon img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    border-radius: 0% !important;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    box-shadow: 0 10px 20px -5px rgba(220, 39, 67, 0.5);
    filter: brightness(1.1);
}


/* ==========================================
   Pricing Section
   ========================================== */
.pricing__grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
    align-items: stretch;
    flex-wrap: wrap;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    width: 350px;
    flex: 0 0 auto;
    min-height: 320px;
    box-sizing: border-box;
}

@media (max-width: 992px) {
    .pricing-card {
        width: 320px;
        flex: 0 0 auto;
    }
}

@media (max-width: 768px) {
    .pricing {
        padding-left: 16px;
        padding-right: 16px;
    }

    .pricing__grid {
        gap: 20px;
        padding: 0;
    }

    .pricing-card {
        width: 100%;
        max-width: 400px;
        flex: 0 0 auto;
        margin-left: auto;
        margin-right: auto;
    }
}

.pricing-card.featured {
    border: 1px solid color-mix(in srgb, var(--c-action) 30%, transparent);
    background-color: color-mix(in srgb, var(--c-glass) 18%, transparent);
}

.pricing-card.featured:hover {
    transform: translateY(-5px);
}

.featured-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--c-action);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 99em;
    letter-spacing: 0.05em;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 8px 0 4px;
    color: var(--c-content);
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.price .currency {
    font-size: 1.5rem;
    font-weight: 500;
    opacity: 0.8;
}

.price .period {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.6;
}

.price-desc {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 24px;
}

.features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    width: 100%;
    text-align: left;
}

.features li {
    padding: 12px 0;
    border-bottom: 1px solid color-mix(in srgb, var(--c-content) 10%, transparent);
    display: flex;
    align-items: center;
    gap: 8px;
}



/* ==========================================
   Pricing Footer and Contact
   ========================================== */
.pricing__footer {
    text-align: center;
    margin-top: 20px;
    font-size: 1.1rem;
    color: var(--c-content);
    opacity: 0.9;
}

.contact__card,
.about__card {
    /* Use standard glass card theme */
    width: 100%;
    max-width: 1000px;
    padding: 32px;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .about__card {
        padding: 24px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
}

.contact__card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
}



/* Light mode override for specific 'white' look if needed */
/* Light mode override for specific 'white' look if needed */
/* Light mode override removed to keep consistent liquid glass theme */

/* Clear overlay */
/* Clear overlay removed */

.contact__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    position: relative;
    z-index: 1;
}

.contact__content .section__title {
    color: var(--c-content);
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    /* Increased to match hero scale */
    line-height: 1.1;
    margin-bottom: 16px;
    font-weight: 700;
    font-family: var(--font-heading);
}

.contact__content .section__title .text-gradient {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.contact__content .section__desc {
    color: var(--c-content);
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.7;
    max-width: 420px;
    /* Reduced to match hero-style narrow content */
    margin: 0;
}

/* Dark Theme - About Section: White text like hero section */
body:has(input[value="dark"]:checked) .about__card .section__title,
body:has(input[value="dim"]:checked) .about__card .section__title {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: #ffffff;
    color: #ffffff;
    filter: none;
}

body:has(input[value="dark"]:checked) .about__card .section__desc,
body:has(input[value="dim"]:checked) .about__card .section__desc {
    color: #ffffff;
}

body:has(input[value="dark"]:checked) .vision-card h3,
body:has(input[value="dim"]:checked) .vision-card h3 {
    color: #ffffff;
}

body:has(input[value="dark"]:checked) .vision-card p,
body:has(input[value="dim"]:checked) .vision-card p {
    color: rgba(255, 255, 255, 0.85);
}

/* Dark Theme - Contact Section: White text like hero section */
body:has(input[value="dark"]:checked) .contact__content .section__title,
body:has(input[value="dim"]:checked) .contact__content .section__title {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: #ffffff;
    color: #ffffff;
    filter: none;
}

body:has(input[value="dark"]:checked) .contact__content .section__desc,
body:has(input[value="dim"]:checked) .contact__content .section__desc {
    color: #ffffff;
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.glass-input {
    width: 100%;
    padding: 18px 24px;
    border: none;
    border-radius: 16px;
    font-family: inherit;
    font-size: 1rem;
    box-sizing: border-box;
    color: var(--c-content);

    /* Navbar-like Liquid Glass Theme for Inputs */
    background-color: color-mix(in srgb, var(--c-glass) 12%, transparent);
    backdrop-filter: blur(8px) saturate(var(--saturation));
    -webkit-backdrop-filter: blur(8px) saturate(var(--saturation));
    box-shadow:
        inset 0 0 0 1px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 10%), transparent),
        inset 1.8px 3px 0px -2px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 90%), transparent),
        inset -2px -2px 0px -2px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 80%), transparent),
        inset -3px -8px 1px -6px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 60%), transparent),
        inset -0.3px -1px 4px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 12%), transparent),
        inset 0px 1px 5px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 10%), transparent),
        inset 0px 6px 16px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 8%), transparent);

    transition: all 0.3s ease;
    margin-bottom: 0;
}

body:has(input[value="light"]:checked) .glass-input {
    background-color: rgba(0, 0, 0, 0.05);
    /* Light grey on white */
}

/* Remove old pill/glass styles */
.glass-input::placeholder {
    color: #888;
    font-weight: 500;
}

.glass-input:focus {
    outline: none;
    background-color: color-mix(in srgb, var(--c-light) 80%, transparent);
    border-color: color-mix(in srgb, var(--c-action) 30%, transparent);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-action) 10%, transparent);
    transform: none;
}

/* Textarea specific styling */
textarea.glass-input {
    border-radius: 12px;
    resize: vertical;
    min-height: 120px;
}

/* Specific override for contact form button to match the glass input style */
.contact__card .hero__btn--primary {
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #333;
    /* Darker text for readability or white if bold enough. Reference implies text matches. Let's try dark for contrast or white? Image shows dark button text actually? No, it looks like a glass button. Let's stick to white or very dark purple. */
    color: #1a1a1a;
    font-weight: 600;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.contact__card .hero__btn--primary:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Helpers */
.full-width {
    width: 100%;
    margin-top: auto;
}

.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.primary-glow {
    box-shadow: 0 0 20px color-mix(in srgb, var(--c-action) 30%, transparent);
}

.navbar__btn.primary-glow {
    box-shadow:
        inset 0 0 0 1px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 10%), transparent),
        inset 1.8px 3px 0px -2px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 90%), transparent),
        inset -2px -2px 0px -2px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 80%), transparent),
        inset -3px -8px 1px -6px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 60%), transparent),
        inset -0.3px -1px 4px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 12%), transparent),
        0px 1px 5px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 10%), transparent),
        0px 6px 16px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 8%), transparent),
        0 0 20px color-mix(in srgb, var(--c-action) 30%, transparent);
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .section {
        padding: 40px 20px;
    }

    .contact__card {
        grid-template-columns: 1fr;
        padding: 24px;
        gap: 24px;
        margin: 0 auto;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }

    .about__stats {
        flex-direction: row;
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .section {
        padding: 40px 16px;
        gap: 40px;
    }

    .about__stats {
        flex-wrap: wrap;
    }
}


/* ==========================================
   Footer Styles
   ========================================== */
.footer {
    padding: 30px 60px 15px;
    margin-top: 40px;
    border-top: 1px solid color-mix(in srgb, var(--c-light) 20%, transparent);

    /* Thick Glass Effect */
    background-color: color-mix(in srgb, var(--c-glass) 15%, transparent);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow:
        inset 0 0 0 1px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 10%), transparent),
        inset 1.8px 3px 0px -2px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 90%), transparent),
        inset -2px -2px 0px -2px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 80%), transparent),
        inset -3px -8px 1px -6px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 60%), transparent),
        inset -0.3px -1px 4px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 12%), transparent),
        inset 0px 1px 5px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 10%), transparent),
        0px -10px 40px rgba(0, 0, 0, 0.1);
}

.footer__content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
}

.footer__brand {
    max-width: 300px;
}

.footer__logo {
    height: 40px;
    width: auto;
    aspect-ratio: auto;
    object-fit: contain;
    border-radius: 0;
    margin-bottom: 20px;
    opacity: 1;
}

.footer__logo--light {
    display: block !important;
}

.footer__logo--dark {
    display: none !important;
}

body:has(input[value="dark"]:checked) .footer__logo--light,
body:has(input[value="dim"]:checked) .footer__logo--light {
    display: none !important;
}

body:has(input[value="dark"]:checked) .footer__logo--dark,
body:has(input[value="dim"]:checked) .footer__logo--dark {
    display: block !important;
}

.footer__tagline {
    font-size: 0.9rem;
    color: var(--c-content);
    line-height: 1.5;
}

.footer__links {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer__col h4 {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 8px;
    color: var(--c-content);
}

.footer__col a {
    font-size: 0.85rem;
    color: var(--c-content);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer__col a:hover {
    color: var(--c-action);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;

    /* Glass Effect */
    background-color: color-mix(in srgb, var(--c-glass) 12%, transparent);
    color: var(--c-content);

    backdrop-filter: blur(8px) saturate(var(--saturation));
    -webkit-backdrop-filter: blur(8px) saturate(var(--saturation));
    box-shadow:
        inset 0 0 0 1px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 10%), transparent),
        inset 1.8px 3px 0px -2px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 90%), transparent),
        inset -2px -2px 0px -2px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 80%), transparent),
        0px 4px 12px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 10%), transparent);

    transition: transform 200ms, background-color 200ms, color 200ms;
}

.social-link:hover {
    transform: scale(1.1);
    background-color: color-mix(in srgb, var(--c-glass) 25%, transparent);
    color: var(--c-action);
}

.social-link svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.footer__bottom {
    max-width: 1200px;
    margin: 30px auto 0;
    padding-top: 30px;
    border-top: 1px solid color-mix(in srgb, var(--c-content) 5%, transparent);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer__powered {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.powered-label {
    font-size: 1.1rem;
    color: var(--c-content);
    margin: 0;
    letter-spacing: 0.5px;
}

.dw-brand-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: transform 0.3s ease;
    font-family: "Manrope", ui-sans-serif, system-ui, sans-serif !important;
    /* Specific user request: Normal font */
}

.dw-brand-link * {
    font-family: inherit !important;
}

.dw-brand-link:hover {
    transform: scale(1.05);
}

.dw-main-logo {
    display: flex;
    align-items: stretch;
    /* Match height */
    border: 2px solid #E60045;
    /* Digital Win Pink/Red */
    padding: 4px;
    background: transparent;
}

.dw-digital {
    background-color: #E60045;
    color: white;
    font-weight: 800;
    padding: 6px 12px;
    font-size: 1.4rem;
    letter-spacing: 1px;
    font-family: "Inter", sans-serif;
}

.dw-win {
    color: #E60045;
    font-weight: 800;
    padding: 6px 12px;
    font-size: 1.4rem;
    letter-spacing: 1px;
    font-family: "Inter", sans-serif;
    display: flex;
    align-items: center;
}

.dw-technologies {
    width: 100%;
    color: #E60045;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.4em;
    /* Wide tracking */
    text-align: center;
    text-indent: 0.4em;
    /* Offset for tracking center */
    font-family: "Inter", sans-serif;
}

.dw-tagline {
    color: var(--c-content);
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

.copyright {
    font-size: 0.9rem;
    color: color-mix(in srgb, var(--c-content) 50%, transparent);
    margin: 0;
}

@media (max-width: 900px) {
    .footer {
        padding: 60px 20px 100px;
        /* Extra bottom padding for floating nav */
    }

    .footer__content {
        flex-direction: column;
        gap: 40px;
    }

    .footer__links {
        width: 100%;
        justify-content: space-between;
        gap: 40px;
    }
}

/* Theme Transition Overlay */
.theme-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
    clip-path: circle(0% at 50% 50%);
    transition: clip-path 0.8s cubic-bezier(0.645, 0.045, 0.355, 1.000);

}

@keyframes jelly {
    0% {
        transform: scale(1, 1);
    }

    30% {
        transform: scale(1.25, 0.75);
    }

    40% {
        transform: scale(0.75, 1.25);
    }

    50% {
        transform: scale(1.15, 0.85);
    }

    65% {
        transform: scale(0.95, 1.05);
    }

    75% {
        transform: scale(1.05, 0.95);
    }

    100% {
        transform: scale(1, 1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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



/* ==========================================
   PREMIUM GLASSMORPHISM - Apple-Style UI
   Unified Design System for All Sections
   ========================================== */

/* Global Smooth Transitions */
*,
*::before,
*::after {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced Section Styling - Equal Visual Weight */
.section {
    position: relative;
}

/* Premium Glass Effect Variables */
:root {
    --glass-blur: 20px;
    --glass-blur-strong: 40px;
    --glass-saturation: 180%;
    --glass-border-opacity: 0.1;
    --shadow-soft: 0 4px 30px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-strong: 0 20px 60px rgba(0, 0, 0, 0.15);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    --radius-sm: 16px;
    --radius-md: 24px;
    --radius-lg: 32px;
    --radius-xl: 40px;
}

/* Premium Glass Card - Unified Style */
.glass-card,
.service-card,
.pricing-card,
.vision-card,
.contact__card,
.about__card {
    position: relative;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--c-light) 15%, transparent);
}

/* Subtle Inner Glow for Premium Effect */
.glass-card::before,
.service-card::before,
.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            color-mix(in srgb, var(--c-light) 40%, transparent) 50%,
            transparent);
    pointer-events: none;
    z-index: 1;
}

/* Equal Height Cards in Grids */
.services__grid,
.pricing__grid {
    align-items: stretch;
}

.service-card,
.pricing-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card p,
.pricing-card .features {
    flex-grow: 1;
}

/* Enhanced Hover Effects - Apple Style */
.glass-card:hover,
.service-card:hover,
.pricing-card:hover,
.vision-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.15),
        0 10px 30px rgba(0, 0, 0, 0.1),
        inset 0 0 0 1px color-mix(in srgb, var(--c-light) 20%, transparent);
    border-color: color-mix(in srgb, var(--c-light) 25%, transparent);
}

/* Smooth Focus States for Accessibility */
.glass-card:focus-within,
.hero__btn:focus,
.navbar__btn:focus,
.glass-input:focus {
    outline: none;
    box-shadow:
        0 0 0 3px color-mix(in srgb, var(--c-action) 30%, transparent),
        var(--shadow-medium);
}

/* Enhanced Buttons - Apple Style */
.hero__btn,
.navbar__btn {
    position: relative;
    overflow: hidden;
    transition: all var(--transition-smooth);
}

.hero__btn::after,
.navbar__btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle,
            color-mix(in srgb, var(--c-light) 20%, transparent) 0%,
            transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.hero__btn:hover::after,
.navbar__btn:hover::after {
    opacity: 1;
}

.hero__btn:active,
.navbar__btn:active {
    transform: scale(0.98);
}

/* Section Headers - Unified Typography */
.section__title {
    position: relative;
    display: inline-block;
}

.section__title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--c-action), color-mix(in srgb, var(--c-action) 50%, transparent));
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.section:hover .section__title::after {
    opacity: 1;
}

/* Unified Input Styling */
.glass-input {
    transition: all var(--transition-smooth);
    border: 1px solid color-mix(in srgb, var(--c-light) 15%, transparent);
}

.glass-input:hover {
    border-color: color-mix(in srgb, var(--c-light) 25%, transparent);
    background-color: color-mix(in srgb, var(--c-glass) 18%, transparent);
}

/* Premium Stats Display */
.stat {
    transition: transform var(--transition-smooth);
}

.stat:hover {
    transform: scale(1.05);
}

.stat__number {
    background: linear-gradient(135deg, var(--c-content), color-mix(in srgb, var(--c-action) 30%, var(--c-content)));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Enhanced Service Icons */
.service-icon,
.vision-icon {
    transition: all var(--transition-spring);
}

.service-card:hover .service-icon,
.vision-card:hover .vision-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 10px 30px color-mix(in srgb, var(--c-action) 30%, transparent);
}

/* Pricing Card Enhancements */
.pricing-card .price {
    transition: transform var(--transition-smooth);
}

.pricing-card:hover .price {
    transform: scale(1.05);
}

.pricing-divider {
    transition: width var(--transition-smooth);
}

.pricing-card:hover .pricing-divider {
    width: 80px;
}

/* Footer Enhancement */
.footer {
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 800px;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            color-mix(in srgb, var(--c-content) 20%, transparent) 50%,
            transparent);
}

/* Social Links Enhanced */
.social-link {
    transition: all var(--transition-spring);
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
}

/* Scroll Indicator Enhancement */
.scroll-indicator {
    transition: all var(--transition-spring);
}

.scroll-indicator:hover {
    transform: translateX(-50%) translateY(-5px) scale(1.1);
}

/* ==========================================
   RESPONSIVE GLASSMORPHISM ADJUSTMENTS
   ========================================== */

@media (max-width: 992px) {
    :root {
        --glass-blur: 15px;
        --glass-blur-strong: 30px;
        --radius-lg: 28px;
        --radius-xl: 36px;
    }
}

@media (max-width: 768px) {
    :root {
        --glass-blur: 12px;
        --glass-blur-strong: 20px;
        --radius-lg: 24px;
        --radius-xl: 32px;
    }

    /* Reduce hover effects on mobile for better performance */
    .glass-card:hover,
    .service-card:hover,
    .pricing-card:hover,
    .vision-card:hover {
        transform: translateY(-4px);
    }

    /* Simpler shadows on mobile */
    .glass-card,
    .service-card,
    .pricing-card {
        box-shadow:
            0 4px 20px rgba(0, 0, 0, 0.1),
            inset 0 0 0 1px color-mix(in srgb, var(--c-light) 10%, transparent);
    }
}

@media (max-width: 480px) {
    :root {
        --glass-blur: 10px;
        --glass-blur-strong: 15px;
        --radius-lg: 20px;
        --radius-xl: 24px;
    }

    /* Even simpler effects for small devices */
    .glass-card:hover,
    .service-card:hover,
    .pricing-card:hover {
        transform: none;
    }

    /* Disable decorative pseudo-elements on mobile */
    .section__title::after {
        display: none;
    }

    .glass-card::before,
    .service-card::before,
    .pricing-card::before {
        display: none;
    }
}

/* Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .glass-card:hover,
    .service-card:hover,
    .pricing-card:hover,
    .vision-card:hover {
        transform: none;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {

    .glass-card,
    .service-card,
    .pricing-card,
    .vision-card {
        border: 2px solid var(--c-content);
        background-color: var(--c-bg);
    }
}

/* Dark Mode Glassmorphism Enhancements */
body:has(input[value="dark"]:checked) .glass-card,
body:has(input[value="dark"]:checked) .service-card,
body:has(input[value="dark"]:checked) .pricing-card,
body:has(input[value="dim"]:checked) .glass-card,
body:has(input[value="dim"]:checked) .service-card,
body:has(input[value="dim"]:checked) .pricing-card {
    border-color: color-mix(in srgb, var(--c-light) 8%, transparent);
    background-color: color-mix(in srgb, var(--c-glass) 8%, transparent);
}

body:has(input[value="dark"]:checked) .glass-card:hover,
body:has(input[value="dark"]:checked) .service-card:hover,
body:has(input[value="dark"]:checked) .pricing-card:hover,
body:has(input[value="dim"]:checked) .glass-card:hover,
body:has(input[value="dim"]:checked) .service-card:hover,
body:has(input[value="dim"]:checked) .pricing-card:hover {
    border-color: color-mix(in srgb, var(--c-light) 15%, transparent);
    background-color: color-mix(in srgb, var(--c-glass) 12%, transparent);
}

/* Mobile & Tablet Navigation Layout */
@media (max-width: 1024px) {
    .switcher {
        width: 92% !important;
        max-width: 420px !important;
        height: 70px !important;
        left: 50% !important;
        translate: -50% 0 !important;
        transform: none !important;
        bottom: 20px !important;
        top: auto !important;
        padding: 4px !important;
        border-radius: 100px !important;
        /* Ensure pill shape */
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }
}


/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: var(--c-content);
    text-decoration: none;
    background-color: color-mix(in srgb, var(--c-glass) 12%, transparent);
    backdrop-filter: blur(8px) saturate(var(--saturation));
    -webkit-backdrop-filter: blur(8px) saturate(var(--saturation));
    box-shadow:
        inset 0 0 0 1px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 10%), transparent),
        inset 1.8px 3px 0px -2px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 90%), transparent),
        inset -2px -2px 0px -2px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 80%), transparent),
        0px 4px 12px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 10%), transparent);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 10;
    will-change: transform;
    animation: bounce 2s infinite;
}

.scroll-indicator:hover {
    transform: translateX(-50%) scale(1.15);
    background-color: color-mix(in srgb, var(--c-glass) 25%, transparent);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    color: var(--c-content);
    animation-play-state: paused;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive Scroll Indicator */
@media (max-width: 768px) {
    .scroll-indicator {
        width: 40px;
        height: 40px;
        bottom: 100px;
        /* Above mobile nav */
    }

    .scroll-indicator svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .scroll-indicator {
        width: 36px;
        height: 36px;
        bottom: 90px;
    }

    .scroll-indicator svg {
        width: 18px;
        height: 18px;
    }
}


/* Premium Scroll Animations */

/* Base state for animated elements */
.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for child elements */
.scroll-animate-stagger>* {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-animate-stagger.animate-in>*:nth-child(1) {
    transition-delay: 0ms;
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate-stagger.animate-in>*:nth-child(2) {
    transition-delay: 100ms;
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate-stagger.animate-in>*:nth-child(3) {
    transition-delay: 200ms;
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate-stagger.animate-in>*:nth-child(4) {
    transition-delay: 300ms;
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate-stagger.animate-in>*:nth-child(5) {
    transition-delay: 400ms;
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate-stagger.animate-in>*:nth-child(6) {
    transition-delay: 500ms;
    opacity: 1;
    transform: translateY(0);
}

/* Slide in from left */
.scroll-slide-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-slide-left.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Slide in from right */
.scroll-slide-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-slide-right.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Scale up animation */
.scroll-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-scale.animate-in {
    opacity: 1;
    transform: scale(1);
}

/* Blur reveal animation */
.scroll-blur {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-blur.animate-in {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* Parallax effect for backgrounds */
.parallax-slow {
    will-change: transform;
    transition: transform 0.1s linear;
}

/* Premium card lift on scroll */
.glass-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Stat counter animation */
.stat__number {
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stat:hover .stat__number {
    transform: scale(1.1);
}

/* Service icon bounce on scroll */
.service-card.animate-in .service-icon {
    animation: iconBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes iconBounce {
    0% {
        transform: scale(0.5) rotate(-10deg);
        opacity: 0;
    }

    60% {
        transform: scale(1.1) rotate(5deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

/* Pricing card special animation */
.pricing-card.featured.animate-in {
    animation: featuredPulse 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes featuredPulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(220, 39, 67, 0.4);
    }

    50% {
        box-shadow: 0 0 30px 10px rgba(220, 39, 67, 0.2);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(220, 39, 67, 0);
    }
}

/* Text reveal character by character effect class */
.text-reveal {
    background: linear-gradient(90deg, var(--c-content) 50%, transparent 50%);
    background-size: 200% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background-position 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.text-reveal.animate-in {
    background-position: 0 0;
    -webkit-text-fill-color: unset;
}

/* Smooth section transitions */
.section {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Hero specific animations */
.hero__device {
    animation: floatDevice 6s ease-in-out infinite;
}

@keyframes floatDevice {

    0%,
    100% {
        transform: translateY(0) rotateY(0deg);
    }

    50% {
        transform: translateY(-15px) rotateY(-3deg);
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {

    .scroll-animate,
    .scroll-slide-left,
    .scroll-slide-right,
    .scroll-scale,
    .scroll-blur,
    .scroll-animate-stagger>* {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
        animation: none;
    }

    .hero__device {
        animation: none;
    }
}


/* iPhone Pricing Styles */
.pricing-header-iphone {
    width: 100%;
    text-align: center;
    margin-bottom: 40px;
    z-index: 2;
}

.pricing-header-iphone h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--c-content);
    letter-spacing: -0.02em;
}

/* Increase specificity to override index.css .pricing-card */
.pricing-card.iphone-card {
    align-items: flex-start;
    text-align: left;
    padding: 40px;
    overflow: hidden;
    position: relative;
    /* Inherits .glass-card styles */
}

@media (max-width: 768px) {
    .pricing-card.iphone-card {
        padding: 24px;
    }
}

.pricing-card.iphone-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--c-content);
    margin: 0 0 20px 0;
    /* Left align margin */
}

.pricing-card.iphone-card .pricing-divider {
    width: 60px;
    height: 4px;
    background: var(--c-action);
    border-radius: 2px;
    margin: 0 0 30px 0;
    /* Left align margin */
}

.pricing-card.iphone-card .features {
    text-align: left;
    margin: 0;
    font-size: 0.95rem;
    color: var(--c-content);
    opacity: 0.8;
    width: 100%;
}

.pricing-card.iphone-card .features li {
    border-bottom: none;
    padding: 8px 0;
    display: flex;
    /* Ensure flex for icon alignment */
    align-items: center;
    /* Vertically center icon */
    justify-content: flex-start;
}

.pricing-card.iphone-card .features li::before {
    content: '✓';
    /* Ensure content is here if not in HTML */
    color: var(--c-action);
    margin-right: 8px;
    font-weight: 800;
}

.feature-note {
    font-size: 0.8em;
    opacity: 0.7;
    margin-left: 4px;
    font-weight: 400;
}

/* Adjust grid for better spacing if needed */

/* Responsive styles for iPhone Pricing */
@media (max-width: 992px) {
    .pricing-header-iphone h3 {
        font-size: 1.75rem;
    }

    .pricing-card.iphone-card .price {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .pricing-header-iphone {
        margin-bottom: 30px;
        padding: 0 16px;
    }

    .pricing-header-iphone h3 {
        font-size: 1.5rem;
    }

    .pricing-card.iphone-card {
        width: 100%;
        max-width: calc(100% - 32px);
        margin: 0 auto;
        padding: 28px;
        box-sizing: border-box;
    }

    .pricing-card.iphone-card .price {
        font-size: 2rem;
    }

    .pricing-card.iphone-card .pricing-divider {
        width: 50px;
        height: 3px;
        margin-bottom: 24px;
    }

    .pricing-card.iphone-card .features li {
        padding: 8px 0;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .pricing-header-iphone {
        margin-bottom: 20px;
        padding: 0 12px;
    }

    .pricing-header-iphone h3 {
        font-size: 1.3rem;
    }

    .pricing-card.iphone-card {
        padding: 24px;
        max-width: calc(100% - 24px);
        margin: 0 auto;
    }

    .pricing-card.iphone-card .price {
        font-size: 1.8rem;
        margin-bottom: 16px;
    }

    .pricing-card.iphone-card .pricing-divider {
        width: 40px;
        margin-bottom: 20px;
    }

    .pricing-card.iphone-card .features {
        font-size: 0.85rem;
    }

    .pricing-card.iphone-card .features li {
        padding: 6px 0;
    }

    .feature-note {
        font-size: 0.75em;
    }
}

@media (max-width: 360px) {
    .pricing-card.iphone-card .price {
        font-size: 1.6rem;
    }

    .pricing-card.iphone-card .features {
        font-size: 0.8rem;
    }
}


/* Modal Overlay */
.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.custom-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Modal Box - Glassy Theme matching Navbar */
.custom-modal {
    background-color: color-mix(in srgb, var(--c-glass) 80%, transparent);
    /* Increased opacity for readability */
    backdrop-filter: blur(16px) saturate(var(--saturation));
    -webkit-backdrop-filter: blur(16px) saturate(var(--saturation));

    /* Box Shadow from Navbar logic */
    box-shadow:
        inset 0 0 0 1px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 10%), transparent),
        inset 1.8px 3px 0px -2px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 90%), transparent),
        inset -2px -2px 0px -2px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 80%), transparent),
        inset -3px -8px 1px -6px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 60%), transparent),
        0px 20px 40px -10px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 15%), transparent);

    border-radius: 24px;
    padding: 32px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    color: var(--c-content);
    font-family: var(--font-body);
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

.custom-modal-overlay.active .custom-modal {
    transform: scale(1);
}

.custom-modal-content {
    font-size: 18px;
    line-height: 1.5;
    font-weight: 500;
}

.custom-modal-btn {
    padding: 12px 32px;
    background-color: var(--c-action);
    color: #fff;
    /* Always white for action buttons usually, or depends on theme */
    border: none;
    border-radius: 99em;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
    font-family: var(--font-body);

    /* Slight glass effect on button too */
    box-shadow: 0 4px 12px color-mix(in srgb, var(--c-action) 40%, transparent);
}

.custom-modal-btn:hover {
    transform: scale(1.05);
    opacity: 0.95;
}

/* Dark mode adjustments if needed are handled by CSS variables */

.custom-modal.video-modal {
    width: 90%;
    max-width: 900px;
    padding: 0;
    overflow: hidden;
    background-color: #000;
}

.custom-modal.video-modal iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
    display: block;
}

.custom-modal.video-modal .video-modal-native {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
    display: block;
    background-color: #000;
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
    line-height: 1;
}

/* Success Notification Modal - Glassy matching Navbar */
.custom-modal.success-modal {
    background-color: color-mix(in srgb, var(--c-glass) 12%, transparent);
    backdrop-filter: blur(12px) saturate(var(--saturation));
    -webkit-backdrop-filter: blur(12px) saturate(var(--saturation));
    box-shadow:
        inset 0 0 0 1px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 10%), transparent),
        inset 1.8px 3px 0px -2px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 90%), transparent),
        inset -2px -2px 0px -2px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 80%), transparent),
        inset -3px -8px 1px -6px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 60%), transparent),
        inset -0.3px -1px 4px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 12%), transparent),
        inset -1.5px 2.5px 0px -2px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 20%), transparent),
        inset 0px 3px 4px -2px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 20%), transparent),
        inset 2px -6.5px 1px -4px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 10%), transparent),
        0px 1px 5px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 10%), transparent),
        0px 6px 16px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 8%), transparent),
        0px 25px 50px -12px color-mix(in srgb, var(--c-dark) 25%, transparent);
    border: none;
    padding: 40px 32px;
    gap: 16px;
}

.success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(220, 39, 67, 0.4);
    animation: successPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.success-icon svg {
    width: 36px;
    height: 36px;
    color: #fff;
    stroke-width: 3;
}

@keyframes successPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--c-content);
    margin: 8px 0 4px;
}

.success-message {
    font-size: 16px;
    color: color-mix(in srgb, var(--c-content) 80%, transparent);
    line-height: 1.6;
    margin: 0;
}

.success-message .highlight {
    background: linear-gradient(45deg, #f09433, #bc1888);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

.success-btn {
    margin-top: 8px;
    padding: 14px 48px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
    border: none;
    border-radius: 99em;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 16px rgba(220, 39, 67, 0.4);
}

.success-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(220, 39, 67, 0.5);
}

.success-btn:active {
    transform: translateY(0);
}


/* ==========================================
   W3 Lab Style Glass Footer
   ========================================== */

/* Footer */
.footer {
    position: relative;
    padding: 80px 40px 30px;
    margin-top: 100px;

    /* Glass Background matching Navbar - Optimized Blur */
    background-color: color-mix(in srgb, var(--c-glass) 12%, transparent);
    background: color-mix(in srgb, var(--c-glass) 12%, transparent);
    backdrop-filter: blur(12px) saturate(var(--saturation));
    -webkit-backdrop-filter: blur(12px) saturate(var(--saturation));
    border-top: 1px solid color-mix(in srgb, var(--c-light) 10%, transparent);
    color: var(--c-content);
    font-family: var(--font-body);
    overflow: hidden;
    box-shadow:
        inset 0 0 0 1px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 10%), transparent),
        0px -1px 5px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 10%), transparent);
}

/* Optional: Background Map Pattern Overlay (Simulated with CSS radial dots) */
.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(color-mix(in srgb, var(--c-content) 5%, transparent) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
    pointer-events: none;
    z-index: -1;
}

.footer__container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* --- Main Grid Layout --- */
.footer__grid {
    display: grid;
    /* 4 Columns: Info | Explore | Services | Contact */
    grid-template-columns: 1.5fr 0.8fr 1fr 1.2fr;
    gap: 40px;
}

/* Headings */
.footer__heading {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    color: var(--c-content);
    display: block;
}

/* Column 1: Brand & Info */
.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-right: 20px;
}

.footer__brand p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: color-mix(in srgb, var(--c-content) 70%, transparent);
    margin: 0;
}

/* Logo Sizing */
.footer__logo {
    height: 55px;
    width: auto;
    object-fit: contain;
}

/* Handle Theme Modes for Logo */
.footer__logo--light {
    display: block;
}

.footer__logo--dark {
    display: none;
}

/* Dark/Dim Theme Overrides */
body:has(input[value="dark"]:checked) .footer__logo--light,
body:has(input[value="dim"]:checked) .footer__logo--light {
    display: none !important;
}

body:has(input[value="dark"]:checked) .footer__logo--dark,
body:has(input[value="dim"]:checked) .footer__logo--dark {
    display: block !important;
}

/* Explicit Light Theme Overrides */
body:has(input[value="light"]:checked) .footer__logo--light {
    display: block !important;
}

body:has(input[value="light"]:checked) .footer__logo--dark {
    display: none !important;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

/* Social Icons - Themed like Theme Toggle */
.social-icon {
    position: relative;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-content);
    background-color: color-mix(in srgb, var(--c-glass) 12%, transparent);
    border-radius: 99em;
    cursor: pointer;
    overflow: hidden;

    /* Glass Effect */
    backdrop-filter: blur(8px) saturate(var(--saturation));
    -webkit-backdrop-filter: blur(8px) saturate(var(--saturation));
    box-shadow:
        inset 0 0 0 1px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 10%), transparent),
        inset 1.8px 3px 0px -2px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 90%), transparent),
        inset -2px -2px 0px -2px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 80%), transparent),
        inset -3px -8px 1px -6px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 60%), transparent),
        inset -0.3px -1px 4px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 12%), transparent),
        0px 1px 5px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 10%), transparent),
        0px 6px 16px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 8%), transparent);

    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social-icon:hover {
    transform: scale(1.15);
    background-color: color-mix(in srgb, var(--c-glass) 25%, transparent);
}

/* Radar Shine Effect */
.social-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 0deg, transparent 60deg, color-mix(in srgb, var(--c-light) 30%, transparent) 80deg, transparent 100deg);
    /* animation: radarShine 4s linear infinite; REMOVED for performance */
    pointer-events: none;
    z-index: 0;
}

.social-icon:hover::before {
    animation: radarShine 4s linear infinite;
}

.social-icon svg {
    position: relative;
    z-index: 1;
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

/* Brand-specific Glassy Hover Effects */
.social-icon[aria-label="WhatsApp"]:hover {
    color: #25d366;
    background-color: color-mix(in srgb, #25d366 15%, transparent);
    box-shadow: 0 8px 20px -4px rgba(37, 211, 102, 0.4), inset 0 0 0 1px rgba(37, 211, 102, 0.3);
    transform: translateY(-3px) scale(1.15);
}

.social-icon[aria-label="Instagram"]:hover {
    color: #d62976;
    background-color: color-mix(in srgb, #d62976 15%, transparent);
    box-shadow: 0 8px 20px -4px rgba(214, 41, 118, 0.4), inset 0 0 0 1px rgba(214, 41, 118, 0.3);
    transform: translateY(-3px) scale(1.15);
}

.social-icon[aria-label="Facebook"]:hover {
    color: #1877f2;
    background-color: color-mix(in srgb, #1877f2 15%, transparent);
    box-shadow: 0 8px 20px -4px rgba(24, 119, 242, 0.4), inset 0 0 0 1px rgba(24, 119, 242, 0.3);
    transform: translateY(-3px) scale(1.15);
}

.social-icon[aria-label="YouTube"]:hover {
    color: #ff0000;
    background-color: color-mix(in srgb, #ff0000 15%, transparent);
    box-shadow: 0 8px 20px -4px rgba(255, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 0, 0, 0.3);
    transform: translateY(-3px) scale(1.15);
}

/* Column 2 & 3: Links Lists */
.footer__links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer__links a {
    text-decoration: none;
    color: color-mix(in srgb, var(--c-content) 65%, transparent);
    font-size: 0.95rem;
    transition: color 0.2s, padding-left 0.2s;
}

.footer__links a:hover {
    color: var(--c-action);
    /* Yellow accent from reference */
    padding-left: 6px;
}

/* Column 4: Contact */
.footer__contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-row svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #ffcc00;
    /* Specific yellow from reference */
    margin-top: 3px;
}

.contact-row span,
.contact-row a {
    font-size: 0.95rem;
    color: color-mix(in srgb, var(--c-content) 70%, transparent);
    line-height: 1.5;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-row a:hover {
    color: var(--c-content);
}

/* --- Bottom Copyright --- */
.footer__copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer__copyright p {
    font-size: 0.9rem;
    color: color-mix(in srgb, var(--c-content) 50%, transparent);
    margin: 0;
}

.footer__copyright span {
    color: #ffcc00;
}

/* Hover accent for the copyright link */
.footer__copyright a {
    color: inherit;
    text-decoration: none;
}

.footer__copyright a:hover {
    color: var(--c-action);
}

/* Footer Contact Styles - Numbers use Inter font */
.footer__col {
    position: relative;
    z-index: 5;
}

.footer-phone,
.footer-email {
    display: block;
    color: color-mix(in srgb, var(--c-content) 90%, transparent);
    font-variant-numeric: normal;
    letter-spacing: normal;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer-phone:hover,
.footer-email:hover {
    color: var(--c-action);
}

.footer-address {
    font-size: 0.95rem;
    color: color-mix(in srgb, var(--c-content) 70%, transparent);
    line-height: 1.6;
    max-width: 250px;
    margin: 0;
}

/* WhatsApp Float (Restoring it) */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    background-color: #25D366;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 1024px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
}

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

    .footer {
        padding: 50px 24px 30px;
    }
}


/* ==========================================
   Premium Apple-Inspired Scroll Animations
   ========================================== */

/* 1. Liquid Reveal Scroll */
/* Elements start blurred and low opacity, then "liquidly" resolve into sharpness */
.liquid-reveal {
    opacity: 0;
    filter: blur(20px);
    transform: translateY(40px) scale(0.96);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
    /* Apple-like ease-out */
    will-change: opacity, filter, transform;
}

.liquid-reveal.active {
    opacity: 1;
    filter: blur(0px);
    transform: translateY(0) scale(1);
}

/* Stagger delays */
[data-delay="100"] {
    transition-delay: 100ms;
}

[data-delay="200"] {
    transition-delay: 200ms;
}

[data-delay="300"] {
    transition-delay: 300ms;
}

/* 2. Parallax Depth Stack */
/* Base styles for parallax layers */
.parallax-container {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.parallax-layer {
    will-change: transform;
    transition: transform 0.1s linear;
    /* Smooth linear for scroll syncing */
}

/* 3. Scroll-Triggered Morph */
/* Cards that change shape slightly as they traverse the viewport */
.morph-card {
    transition: border-radius 0.6s ease, transform 0.6s ease;
    will-change: border-radius, transform;
}

/* 4. Sticky Story Scroll Sections */
/* Layout for sticky text + scrolling content */
.sticky-story-section {
    position: relative;
    padding: 100px 0;
}

.sticky-story-track {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.sticky-content {
    position: sticky;
    top: 140px;
    /* Offset for navbar */
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0.4;
    transition: opacity 0.5s ease;
}

.sticky-content.active {
    opacity: 1;
}

.scrolling-content {
    display: flex;
    flex-direction: column;
    gap: 12vh;
    /* Large gaps for storytelling */
}

.story-card {
    min-height: 400px;
    /* Glass card styles reused but enhanced */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform-origin: center center;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* 5. Scroll Glow Tracking */
/* A subtle glow that follows the active card/section */


/* Responsive adjustments for sticky story */
@media (max-width: 900px) {
    .sticky-story-track {
        grid-template-columns: 1fr;
    }

    .sticky-content {
        position: relative;
        top: 0;
        margin-bottom: 40px;
        opacity: 1;
    }
}

/* Process Steps Sidebar - Premium Timeline */
.process-steps {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    padding-left: 30px;
}

.process-step {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--c-content);
    opacity: 0.4;
    padding: 20px 0;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: pointer;
    position: relative;
    letter-spacing: -0.02em;
}

/* Glowing Timeline Dot */
.process-step::before {
    content: '';
    position: absolute;
    left: -37px;
    /* Align with border line centered */
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 12px;
    height: 12px;
    background: var(--c-action);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--c-action);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.process-step.active {
    opacity: 1;
    color: #fff;
    transform: translateX(10px);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.process-step.active::before {
    transform: translateY(-50%) scale(1);
}

/* Enhanced Premium Glass Card */
.story-card {
    min-height: 450px;
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(40px) saturate(200%);
    /* Strong blur */
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    /* Catching light at top */
    border-radius: 32px;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    overflow: hidden;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.6s ease;
}

.story-card:hover {
    transform: translateY(-5px) scale(1.02) !important;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.story-card h3 {
    font-size: 2.5rem;
    background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0.7));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    line-height: 1.1;
}

.story-card p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    max-width: 90%;
}

/* Big Number Watermark */
.story-card::after {
    content: attr(data-step);
    font-size: 180px;
    font-weight: 800;
    position: absolute;
    bottom: -40px;
    right: -20px;
    color: rgba(255, 255, 255, 0.02);
    pointer-events: none;
    z-index: 0;
    font-family: var(--font-numbers);
    letter-spacing: -10px;
}

/* Additional Responsive Breakpoints for Scroll Animations */
@media (max-width: 768px) {
    .sticky-story-section {
        padding: 60px 0;
    }

    .sticky-story-track {
        padding: 0 20px;
        gap: 30px;
    }

    .story-card {
        min-height: 350px;
        padding: 40px;
        border-radius: 24px;
    }

    .story-card h3 {
        font-size: 2rem;
    }

    .story-card p {
        font-size: 1rem;
    }

    .story-card::after {
        font-size: 120px;
        bottom: -20px;
        right: -10px;
    }

    .scrolling-content {
        gap: 8vh;
    }

    .process-steps {
        margin-top: 40px;
        padding-left: 24px;
    }

    .process-step {
        font-size: 1.2rem;
        padding: 16px 0;
    }

    .process-step::before {
        left: -30px;
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .sticky-story-section {
        padding: 40px 0;
    }

    .sticky-story-track {
        padding: 0 16px;
        gap: 24px;
    }

    .story-card {
        min-height: 280px;
        padding: 24px;
        border-radius: 20px;
    }

    .story-card h3 {
        font-size: 1.5rem;
    }

    .story-card p {
        font-size: 0.9rem;
        max-width: 100%;
    }

    .story-card::after {
        font-size: 80px;
        bottom: -10px;
        letter-spacing: -5px;
    }

    .scrolling-content {
        gap: 6vh;
    }

    .process-steps {
        margin-top: 30px;
        padding-left: 20px;
    }

    .process-step {
        font-size: 1rem;
        padding: 12px 0;
    }

    .process-step::before {
        left: -26px;
        width: 8px;
        height: 8px;
    }

    /* Reduce blur for performance on mobile */
    .liquid-reveal {
        filter: blur(10px);
        transform: translateY(30px) scale(0.98);
    }

    .story-card {
        backdrop-filter: blur(20px) saturate(150%);
        -webkit-backdrop-filter: blur(20px) saturate(150%);
    }
}

@media (max-width: 360px) {
    .story-card {
        padding: 20px;
        min-height: 240px;
    }

    .story-card h3 {
        font-size: 1.3rem;
    }

    .story-card::after {
        font-size: 60px;
    }
}


/* ==========================================
   Comprehensive Responsive Styles - All Devices
   ========================================== */

/* Extra Large Screens (1400px+) */
@media (min-width: 1400px) {
    .hero {
        max-width: 1400px;
        gap: 100px;
    }

    .section {
        max-width: 1400px;
    }

    .footer__content {
        max-width: 1400px;
    }
}

/* Large Tablets / Small Laptops (992px - 1200px) */
@media (max-width: 1200px) {
    .hero {
        gap: 60px;
        padding: 100px 40px;
    }

    .section {
        padding: 80px 40px;
        gap: 50px;
    }

    .services__grid,
    .pricing__grid {
        gap: 24px;
    }

    .service-card,
    .pricing-card {
        width: calc((100% - 48px) / 3);
        flex: 0 0 calc((100% - 48px) / 3);
        padding: 28px;
    }

    .contact__card,
    .about__card {
        padding: 50px;
    }
}

/* Tablets (768px - 992px) */
@media (max-width: 992px) {
    body {
        font-size: 18px;
    }

    .hero {
        flex-direction: column;
        gap: 50px;
        padding: 80px 30px;
        min-height: auto;
    }

    .hero__content {
        max-width: 100%;
        text-align: center;
    }

    .hero__buttons {
        justify-content: center;
    }

    .hero__description {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero__device {
        width: 280px;
        height: 380px;
    }

    .section {
        padding: 70px 24px;
        gap: 45px;
    }

    .section__title {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
    }

    /* Services Grid - 2 columns */
    .services__grid {
        gap: 20px;
    }

    .service-card {
        width: calc((100% - 20px) / 2);
        flex: 0 0 calc((100% - 20px) / 2);
        padding: 24px;
        min-height: 280px;
    }

    /* Pricing Grid - 2 columns */
    .pricing__grid {
        gap: 20px;
    }

    .pricing-card {
        width: calc((100% - 20px) / 2);
        flex: 0 0 calc((100% - 20px) / 2);
    }

    /* About Section */
    .about__card {
        padding: 40px;
    }

    .about__visions {
        gap: 20px;
    }

    .about__stats {
        gap: 30px;
        padding-top: 30px;
        margin-top: 30px;
    }

    .stat__number {
        font-size: 2rem;
    }

    /* Contact Section */
    .contact__card {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px;
    }

    .contact__content {
        text-align: center;
        align-items: center;
    }

    .contact__content .section__title {
        font-size: 1.8rem;
        /* Reduced from 2.5rem */
    }

    .contact__content .section__desc {
        max-width: 100%;
    }

    /* Footer */
    .footer {
        padding: 60px 24px 100px;
    }

    .footer__content {
        gap: 40px;
    }

    .footer__links {
        gap: 50px;
    }
}

/* Laptops / Small Desktops (1024px - 1200px) */
@media (max-width: 1024px) {
    .section {
        padding: 80px 40px;
        gap: 50px;
    }

    .hero__title {
        font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    }
}

/* Small Tablets / Large Phones (600px - 768px) */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    .navbar {
        padding: 16px 20px;
    }

    .navbar__actions {
        padding: 16px 20px;
    }

    .navbar__logo {
        height: 30px;
    }

    .hero {
        padding: 60px 20px;
        gap: 40px;
    }

    .hero__badge {
        font-size: 10px;
        padding: 6px 12px;
    }

    .hero__title {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .hero__description {
        font-size: 14px;
    }

    .hero__buttons {
        flex-direction: row;
        gap: 12px;
        width: auto;
        justify-content: center;
    }

    .hero__btn {
        width: auto;
        padding: 12px 20px;
        font-size: 13px;
        text-align: center;
        box-sizing: border-box;
        white-space: nowrap;
    }

    .hero__device {
        width: 260px;
        height: 340px;
    }

    .section {
        padding: 50px 24px;
        /* More breathing room */
        gap: 48px;
        /* Better vertical rhythm */
    }

    .section__title {
        font-size: clamp(1.8rem, 5vw, 2.4rem);
        margin-bottom: 24px;
    }

    .section__desc,
    .section__subtitle {
        font-size: 1rem;
    }

    /* Glass Cards */
    .glass-card {
        padding: 20px;
        border-radius: 20px;
    }

    /* Services Grid - 1 column */
    .services__grid {
        flex-direction: column;
        gap: 16px;
    }

    .service-card {
        width: 100%;
        max-width: 400px;
        min-height: auto;
        padding: 24px;
        margin: 0 auto;
    }

    .service-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 16px;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    /* Pricing Grid - 1 column */
    .pricing__grid {
        flex-direction: column;
        gap: 16px;
    }

    .pricing-card {
        width: 100%;
        max-width: 400px;
        flex: auto;
        margin: 0 auto;
    }

    .price {
        font-size: 2rem;
    }

    .features li {
        padding: 10px 0;
        font-size: 0.9rem;
    }

    /* About Section */
    .about__card {
        padding: 24px;
        max-width: 100%;
    }

    .about__visions {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 24px;
    }

    .vision-card {
        padding: 20px;
    }

    .vision-icon {
        width: 40px;
        height: 40px;
    }

    .vision-card h3 {
        font-size: 1.1rem;
    }

    .vision-card p {
        font-size: 0.9rem;
    }

    .about__stats {
        gap: 20px;
        padding-top: 24px;
        margin-top: 24px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .stat__number {
        font-size: 1.8rem;
    }

    .stat__label {
        font-size: 0.75rem;
    }

    /* Contact Section */
    .contact {
        padding-left: 16px;
        padding-right: 16px;
    }

    .contact__card {
        padding: 24px;
        gap: 24px;
        margin-left: auto;
        margin-right: auto;
        max-width: calc(100% - 32px);
        box-sizing: border-box;
    }

    .contact__content .section__title {
        font-size: 1.5rem;
        /* Matches existing 1.5rem or is consistent */
    }

    .contact__content .section__desc {
        font-size: 1rem;
        line-height: 1.6;
    }

    .contact__form {
        width: 100%;
    }

    .glass-input {
        padding: 16px 18px;
        font-size: 16px;
        width: 100%;
        box-sizing: border-box;
    }

    .glass-input::placeholder {
        font-size: 15px;
    }

    textarea.glass-input {
        min-height: 100px;
        font-size: 16px;
    }

    /* Footer */
    .footer {
        padding: 40px 16px 100px;
    }

    .footer__content {
        flex-direction: column;
        gap: 30px;
    }

    .footer__brand {
        max-width: 100%;
        text-align: center;
    }

    .footer__logo {
        margin: 0 auto 16px;
    }

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

    .footer__links {
        width: 100%;
        justify-content: space-around;
        gap: 30px;
    }

    .footer__col {
        text-align: center;
        align-items: center;
    }

    .footer__bottom {
        margin-top: 40px;
        padding-top: 30px;
        gap: 20px;
    }

    .dw-digital,
    .dw-win {
        font-size: 1.1rem;
        padding: 4px 10px;
    }

    .dw-technologies {
        font-size: 0.7rem;
    }

    /* Pricing Section Header */
    .pricing-header-iphone h3 {
        font-size: 1.5rem;
    }

    .pricing__footer {
        font-size: 0.95rem;
        padding: 0 16px;
    }
}

/* Small Phones (480px and below) */
@media (max-width: 480px) {
    body {
        font-size: 15px;
    }

    .navbar {
        padding: 12px 16px;
    }

    .navbar__actions {
        padding: 12px 16px;
    }

    .navbar__logo {
        height: 36px;
        width: auto;
        max-width: 140px;
        object-fit: contain;
    }

    .navbar__icon {
        padding: 10px;
    }

    .hero {
        padding: 50px 16px;
        gap: 30px;
    }

    .hero__badge {
        font-size: 9px;
        padding: 5px 10px;
        gap: 6px;
    }

    .hero__badge-dot {
        width: 6px;
        height: 6px;
    }

    .hero__title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 16px;
    }

    .hero__description {
        font-size: 13px;
        line-height: 1.6;
        margin-bottom: 24px;
    }

    .hero__buttons {
        flex-direction: row;
        gap: 10px;
        width: auto;
        justify-content: center;
    }

    .hero__btn {
        width: auto;
        padding: 10px 16px;
        font-size: 12px;
        text-align: center;
        box-sizing: border-box;
        white-space: nowrap;
    }

    .hero__device {
        width: 220px;
        height: 300px;
        padding: 8px;
    }

    .hero__play-btn {
        width: 40px;
        height: 40px;
        bottom: 12px;
        left: 12px;
    }

    .section {
        padding: 40px 20px;
        gap: 40px;
    }

    .section__title {
        font-size: clamp(1.6rem, 7vw, 2.0rem);
        margin-bottom: 20px;
    }

    .section__desc,
    .section__subtitle {
        font-size: 0.9rem;
    }

    /* Glass Cards */
    .glass-card {
        padding: 16px;
        border-radius: 16px;
    }

    /* Service Cards */
    .service-card {
        padding: 20px;
        max-width: 100%;
    }

    .service-icon {
        width: 44px;
        height: 44px;
    }

    /* Pricing Cards */
    .pricing-card {
        max-width: 100%;
        padding: 24px 20px;
    }

    .price {
        font-size: 1.8rem;
    }

    .price .currency {
        font-size: 1.2rem;
    }

    /* About Section */
    .about__card {
        padding: 20px;
    }

    .about__stats {
        gap: 16px;
    }

    .stat {
        min-width: 80px;
    }

    .stat__number {
        font-size: 1.5rem;
    }

    .stat__label {
        font-size: 0.7rem;
        letter-spacing: 0.05em;
    }

    /* Contact Section */
    .contact {
        padding-left: 12px;
        padding-right: 12px;
    }

    .contact__card {
        padding: 24px;
        gap: 24px;
        margin-left: auto;
        margin-right: auto;
        max-width: calc(100% - 32px);
        box-sizing: border-box;
    }

    .contact__content .section__title {
        font-size: 1.3rem;
        /* Matches 1.3rem or is consistent */
    }

    .contact__content .section__desc {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .contact__form {
        width: 100%;
    }

    .glass-input {
        padding: 16px 16px;
        font-size: 16px;
        /* Prevents zooming on iOS */
        border-radius: 16px;
        width: 100%;
        box-sizing: border-box;
        margin-bottom: 8px;
    }

    .glass-input::placeholder {
        font-size: 15px;
    }

    textarea.glass-input {
        min-height: 140px;
        border-radius: 16px;
        font-size: 16px;
    }

    .navbar__btn.full-width {
        padding: 14px 20px;
        font-size: 14px;
        width: 100%;
        box-sizing: border-box;
    }

    /* Footer */
    .footer {
        padding: 30px 12px 100px;
    }

    .footer__tagline {
        font-size: 0.85rem;
    }

    .footer__links {
        flex-direction: column;
        gap: 24px;
    }

    .footer__col {
        gap: 12px;
    }

    .footer__col h4 {
        font-size: 0.8rem;
        margin-bottom: 4px;
    }

    .footer__col a {
        font-size: 0.8rem;
    }

    .social-link {
        width: 36px;
        height: 36px;
    }

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

    .footer__bottom {
        gap: 16px;
    }

    .powered-label {
        font-size: 0.95rem;
    }

    .dw-digital,
    .dw-win {
        font-size: 1rem;
        padding: 4px 8px;
    }

    .dw-technologies {
        font-size: 0.65rem;
        letter-spacing: 0.25em;
    }

    .dw-tagline {
        font-size: 0.8rem;
    }

    .copyright {
        font-size: 0.75rem;
    }

    /* Switcher (Navigation) */
    .switcher {
        height: 44px;
        bottom: 16px;
        padding: 3px;
    }

    .switcher__text {
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0;
    }

    /* Scroll Indicator */
    .scroll-indicator {
        width: 36px;
        height: 36px;
    }

    .scroll-indicator svg {
        width: 18px;
        height: 18px;
    }
}

/* Extra Small Phones (360px and below) */
@media (max-width: 360px) {
    .hero__title {
        font-size: 1.6rem;
    }

    .hero__description {
        font-size: 12px;
    }

    .hero__device {
        width: 200px;
        height: 270px;
    }

    .section__title {
        font-size: 1.3rem;
    }

    .stat__number {
        font-size: 1.3rem;
    }

    .price {
        font-size: 1.6rem;
    }

    .switcher {
        --w: calc((100vw - 16px) / 5);
    }

    .switcher__text {
        font-size: 25px;
    }
}

/* Landscape Mode - Small Devices */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 30px 40px;
        flex-direction: row;
        gap: 40px;
    }

    .hero__content {
        text-align: left;
    }

    .hero__buttons {
        justify-content: flex-start;
    }

    .hero__device {
        width: 200px;
        height: 280px;
    }

    .section {
        padding: 40px 30px;
    }
}

/* Print Styles */
@media print {

    .navbar,
    .navbar__actions,
    .switcher,
    .scroll-indicator,
    .background-container {
        display: none !important;
    }

    .hero,
    .section {
        padding: 20px;
    }

    .glass-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Pricing Section - Equal Spacing for Headers */
.pricing .section__header {
    margin-bottom: 40px;
}

.pricing .section__header:not(:first-child) {
    margin-top: 60px;
}

@media (max-width: 768px) {
    .pricing .section__header {
        margin-bottom: 30px;
    }

    .pricing .section__header:not(:first-child) {
        margin-top: 50px;
    }
}

@media (max-width: 480px) {
    .pricing .section__header {
        margin-bottom: 24px;
    }

    .pricing .section__header:not(:first-child) {
        margin-top: 40px;
    }
}

/* ===================================
   CLIENT VIDEO SECTION STYLES
   Add this to your index.css file
   =================================== */

/* Main Section */
.clients-video {
    padding: 60px 0;
}

/* Video Filter Tabs */
.video-filters {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 30px 0 40px;
    padding: 0 20px;
}

.filter-btn {
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--c-content);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-family: inherit;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--c-action);
    border-color: var(--c-action);
    color: white;
    box-shadow: 0 8px 24px rgba(220, 39, 67, 0.3);
}

/* Video Grid */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    padding: 0 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Video Card */
.video-card {
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

/* Staggered animation for cards */
.video-card:nth-child(1) {
    animation-delay: 0.1s;
}

.video-card:nth-child(2) {
    animation-delay: 0.2s;
}

.video-card:nth-child(3) {
    animation-delay: 0.3s;
}

.video-card:nth-child(4) {
    animation-delay: 0.4s;
}

.video-card:nth-child(5) {
    animation-delay: 0.5s;
}

.video-card:nth-child(6) {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Hide filtered cards */
.video-card.hidden {
    display: none;
}

/* Video Wrapper - Aspect Ratio Container */
.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    background: rgba(0, 0, 0, 0.3);
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.video-wrapper iframe,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px 12px 0 0;
    object-fit: cover;
}

/* Video Info Section */
.video-info {
    padding: 24px;
}

.video-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: var(--c-heading);
    line-height: 1.3;
}

.video-info p {
    font-size: 0.95rem;
    color: var(--c-content);
    opacity: 0.8;
    margin: 0 0 16px 0;
    line-height: 1.5;
}

/* Video Meta Info */
.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.category-tag {
    padding: 6px 14px;
    background: rgba(220, 39, 67, 0.1);
    color: var(--c-action);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(220, 39, 67, 0.2);
}

.duration {
    color: var(--c-content);
    opacity: 0.6;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .videos-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 16px;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .clients-video {
        padding: 60px 0;
    }

    .video-info {
        padding: 20px;
    }

    .video-info h3 {
        font-size: 1.1rem;
    }

    .video-info p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .video-filters {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .video-info {
        padding: 16px;
    }

    .category-tag {
        font-size: 0.8rem;
        padding: 5px 12px;
    }

    .duration {
        font-size: 0.85rem;
    }
}

/* Dark Theme Adjustments */
#theme-dark:checked~* .filter-btn {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
}

#theme-dark:checked~* .filter-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

#theme-dark:checked~* .video-wrapper {
    background: rgba(0, 0, 0, 0.5);
}

/* Dim Theme Adjustments */
#theme-dim:checked~* .filter-btn {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.09);
}

#theme-dim:checked~* .video-wrapper {
    background: rgba(0, 0, 0, 0.4);
}

/* Loading State (Optional Enhancement) */
.video-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--c-action);
    border-radius: 50%;
    animation: videoLoading 1s linear infinite;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-wrapper.loading::before {
    opacity: 1;
}

@keyframes videoLoading {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Play Button Overlay (for native videos) */
.video-wrapper video::-webkit-media-controls-panel {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
}

/* ===================================
   FEEDBACK RATING SYSTEM STYLES
   Add this to your index.css file
   =================================== */

/* Main Feedback Section */
.feedback {
    padding: 60px 0;
}

.feedback__card {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 30px;
}

/* Rating Summary Box */
.rating-summary {
    text-align: center;
    margin: 30px 0 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.average-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.score-number {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #dc2743 0%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    animation: scoreCount 1s ease;
}

@keyframes scoreCount {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Star Display */
.stars-display {
    font-size: 2rem;
    letter-spacing: 4px;
    position: relative;
    display: inline-block;
    line-height: 1;
}

.stars-bg {
    color: rgba(255, 193, 7, 0.2);
}

.stars-fill {
    position: absolute;
    top: 0;
    left: 0;
    color: #ffc107;
    overflow: hidden;
    width: var(--rating-width, 96%);
    transition: width 0.5s ease;
}

.rating-count {
    color: var(--c-content);
    opacity: 0.7;
    font-size: 0.95rem;
    margin: 0;
}

.rating-count span {
    font-weight: 700;
    color: var(--c-action);
}

/* Feedback Form */
.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.form-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--c-heading);
    margin-bottom: 4px;
}

/* Star Rating Input */
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 8px;
    font-size: 3rem;
    padding: 20px 0;
    direction: rtl;
}

.star-rating input {
    display: none;
}

.star-rating label {
    cursor: pointer;
    color: rgba(255, 193, 7, 0.2);
    transition: all 0.2s ease;
    text-shadow: 0 0 10px rgba(255, 193, 7, 0);
    transform-origin: center;
}

.star-rating label:hover,
.star-rating label:hover~label {
    color: #ffc107;
    text-shadow: 0 0 20px rgba(255, 193, 7, 0.5);
    transform: scale(1.1);
}

.star-rating input:checked~label {
    color: #ffc107;
    text-shadow: 0 0 20px rgba(255, 193, 7, 0.6);
}

.star-rating input:checked+label:hover,
.star-rating input:checked~label:hover,
.star-rating label:hover~input:checked~label,
.star-rating input:checked+label:hover~label {
    color: #ffb300;
    text-shadow: 0 0 25px rgba(255, 179, 0, 0.7);
}

.rating-text {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--c-heading);
    min-height: 30px;
    margin: 0;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.rating-text.selected {
    color: var(--c-action);
    transform: scale(1.05);
    opacity: 1;
}

/* Feedback Success Message */
.feedback-success {
    text-align: center;
    padding: 40px 30px;
    animation: fadeInScale 0.5s ease forwards;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.feedback-success svg {
    color: #4caf50;
    margin-bottom: 24px;
    animation: checkmark 0.6s ease;
}

@keyframes checkmark {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.feedback-success h3 {
    font-size: 2rem;
    color: var(--c-heading);
    margin: 0 0 12px 0;
}

.feedback-success p {
    font-size: 1.1rem;
    color: var(--c-content);
    opacity: 0.8;
    margin: 0 0 24px 0;
}

.feedback-reset-btn {
    padding: 12px 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--c-content);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.feedback-reset-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Recent Reviews Section */
.recent-reviews {
    margin-top: 30px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.reviews-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--c-heading);
    margin: 0 0 24px 0;
    text-align: center;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 8px;
}

/* Scrollbar Styling */
.reviews-list::-webkit-scrollbar {
    width: 6px;
}

.reviews-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
}

.reviews-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.reviews-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Individual Review Card */
.review-item {
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
    animation: slideInLeft 0.4s ease;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

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

.review-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.review-author {
    font-weight: 600;
    color: var(--c-heading);
    font-size: 1rem;
}

.review-stars {
    color: #ffc107;
    font-size: 1rem;
    letter-spacing: 2px;
}

.review-date {
    font-size: 0.85rem;
    color: var(--c-content);
    opacity: 0.6;
    margin-bottom: 8px;
}

.review-comment {
    font-size: 0.95rem;
    color: var(--c-content);
    opacity: 0.9;
    line-height: 1.6;
    margin: 0;
}

/* Loading State */
.feedback-form.loading {
    opacity: 0.6;
    pointer-events: none;
}

.feedback-form.loading button[type="submit"] {
    position: relative;
}

.feedback-form.loading button[type="submit"]::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: buttonSpin 0.6s linear infinite;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .feedback__card {
        padding: 40px 24px;
    }

    .star-rating {
        font-size: 2.5rem;
        gap: 4px;
    }

    .score-number {
        font-size: 3rem;
    }

    .stars-display {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }

    .rating-summary {
        padding: 24px;
        margin: 30px 0 40px;
    }

    .feedback-success {
        padding: 40px 20px;
    }

    .feedback-success h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .star-rating {
        font-size: 2rem;
        gap: 2px;
    }

    .feedback__card {
        padding: 30px 20px;
    }

    .score-number {
        font-size: 2.5rem;
    }

    .stars-display {
        font-size: 1.25rem;
    }

    .form-section {
        gap: 10px;
    }

    .feedback-form {
        gap: 24px;
    }
}

/* Theme Adjustments */
#theme-dark:checked~* .rating-summary,
#theme-dark:checked~* .review-item {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.06);
}

#theme-dim:checked~* .rating-summary,
#theme-dim:checked~* .review-item {
    background: rgba(255, 255, 255, 0.025);
    border-color: rgba(255, 255, 255, 0.055);
}

/* Accessibility */
.star-rating input:focus+label {
    outline: 2px solid var(--c-action);
    outline-offset: 4px;
    border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {

    .feedback-success,
    .review-item,
    .score-number {
        animation: none;
    }

    .star-rating label,
    .stars-fill {
        transition: none;
    }
}

/* ===================================
   GLASSY WHATSAPP BUTTON STYLES
   Add this to your index.css file
   =================================== */

/* Simple WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(37, 211, 102, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(37, 211, 102, 0.3);
    border-radius: 50px;
    color: #25D366;
    text-decoration: none;
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    overflow: hidden;
    white-space: nowrap;
}

.whatsapp-float .whatsapp-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    width: auto;
    padding: 0 24px;
    background: rgba(37, 211, 102, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.5);
    border-color: rgba(37, 211, 102, 0.4);
}

.whatsapp-float:hover .whatsapp-icon {
    transform: scale(1.1) rotate(5deg);
}

.whatsapp-float:active {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

.whatsapp-text {
    opacity: 0;
    width: 0;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.4s ease;
    margin-left: 0;
}

.whatsapp-float:hover .whatsapp-text {
    opacity: 1;
    width: auto;
    margin-left: 12px;
}

/* Pulse Animation */
.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.4);
    animation: whatsappPulse 2s infinite;
    z-index: -1;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Advanced WhatsApp Widget */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    font-family: inherit;
}

.whatsapp-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(37, 211, 102, 0.3);
    color: #25D366;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-toggle:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.5);
    background: rgba(37, 211, 102, 0.25);
    border-color: rgba(37, 211, 102, 0.4);
}

.whatsapp-toggle:active {
    transform: translateY(-2px) scale(1.02);
}

.whatsapp-toggle::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.4);
    animation: whatsappPulse 2s infinite;
    z-index: -1;
}

.whatsapp-toggle.active::before {
    animation: none;
}

.whatsapp-icon,
.close-icon {
    width: 32px;
    height: 32px;
    position: absolute;
    transition: all 0.3s ease;
}

.close-icon {
    opacity: 0;
    transform: rotate(-90deg) scale(0.8);
}

.whatsapp-toggle.active .whatsapp-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0.8);
}

.whatsapp-toggle.active .close-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* WhatsApp Menu */
.whatsapp-menu {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 300px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transform-origin: bottom right;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.whatsapp-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.whatsapp-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--c-heading);
    transition: all 0.3s ease;
    margin-bottom: 4px;
}

.whatsapp-option:last-child {
    margin-bottom: 0;
}

.whatsapp-option:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(-4px);
}

.whatsapp-option:active {
    transform: translateX(-2px);
}

.option-icon {
    font-size: 2rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 211, 102, 0.1);
    border-radius: 12px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.whatsapp-option:hover .option-icon {
    background: rgba(37, 211, 102, 0.2);
    transform: scale(1.1);
}

.option-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.option-content strong {
    font-size: 1rem;
    font-weight: 600;
    color: var(--c-heading);
    line-height: 1.2;
}

.option-content span {
    font-size: 0.85rem;
    color: var(--c-content);
    opacity: 0.7;
    line-height: 1.2;
}

/* Menu Arrow (Optional) */
.whatsapp-menu::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 20px;
    width: 16px;
    height: 16px;
    background: inherit;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    border-radius: 0 0 4px 0;
}

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

    .whatsapp-float,
    .whatsapp-toggle {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
    }

    .whatsapp-float .whatsapp-icon,
    .whatsapp-icon,
    .close-icon {
        width: 28px;
        height: 28px;
    }

    .whatsapp-menu {
        width: calc(100vw - 40px);
        max-width: 300px;
    }

    /* Disable hover expansion on mobile */
    .whatsapp-float:hover {
        width: 56px;
        padding: 0;
        border-radius: 50%;
    }

    .whatsapp-float:hover .whatsapp-text {
        opacity: 0;
        width: 0;
        margin-left: 0;
    }

    .option-icon {
        width: 44px;
        height: 44px;
        font-size: 1.75rem;
    }

    .whatsapp-option {
        padding: 14px;
    }
}

@media (max-width: 480px) {
    .whatsapp-menu {
        right: 50%;
        transform: translateX(50%) translateY(20px) scale(0.9);
        bottom: 75px;
    }

    .whatsapp-menu.active {
        transform: translateX(50%) translateY(0) scale(1);
    }

    .whatsapp-menu::after {
        right: 50%;
        margin-right: -8px;
    }
}

/* Theme Adjustments */
#theme-dark:checked~* .whatsapp-float,
#theme-dark:checked~* .whatsapp-toggle {
    background: rgba(37, 211, 102, 0.12);
    border-color: rgba(37, 211, 102, 0.25);
}

#theme-dark:checked~* .whatsapp-menu {
    background: rgba(30, 30, 30, 0.85);
    border-color: rgba(255, 255, 255, 0.08);
}

#theme-dark:checked~* .whatsapp-option:hover {
    background: rgba(255, 255, 255, 0.06);
}

#theme-dim:checked~* .whatsapp-float,
#theme-dim:checked~* .whatsapp-toggle {
    background: rgba(37, 211, 102, 0.13);
    border-color: rgba(37, 211, 102, 0.27);
}

#theme-dim:checked~* .whatsapp-menu {
    background: rgba(40, 40, 40, 0.85);
    border-color: rgba(255, 255, 255, 0.09);
}

/* Accessibility */
.whatsapp-float:focus,
.whatsapp-toggle:focus {
    outline: 2px solid rgba(37, 211, 102, 0.6);
    outline-offset: 4px;
}

.whatsapp-option:focus {
    outline: 2px solid var(--c-action);
    outline-offset: -2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {

    .whatsapp-float,
    .whatsapp-toggle {
        border-width: 2px;
    }

    .whatsapp-menu {
        border-width: 2px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    .whatsapp-float,
    .whatsapp-toggle,
    .whatsapp-menu,
    .whatsapp-option,
    .whatsapp-icon,
    .close-icon {
        transition: none;
    }

    .whatsapp-float::before,
    .whatsapp-toggle::before {
        animation: none;
    }
}

/* Print - Hide WhatsApp button */
@media print {

    .whatsapp-float,
    .whatsapp-widget {
        display: none !important;
    }
}

/* Z-index management - ensure it's above other elements */
.whatsapp-float,
.whatsapp-widget {
    z-index: 999;
}

/* Ensure it doesn't conflict with navigation */
@media (max-width: 768px) {

    .whatsapp-float,
    .whatsapp-toggle {
        bottom: 90px;
        /* Adjust if you have bottom navigation */
    }
}

/* Optional: Badge/Notification dot */
.whatsapp-toggle::after {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 12px;
    height: 12px;
    background: #ff4444;
    border: 2px solid var(--c-bg);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.whatsapp-toggle.has-notification::after {
    opacity: 1;
    transform: scale(1);
    animation: notificationPulse 2s infinite;
}

@keyframes notificationPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/* ===================================
   OUR CLIENTS INFINITE SCROLL
   Glassmorphic Brand Showcase
   =================================== */

.our-clients {
    padding: 30px 0;
    gap: 20px;
    overflow: hidden;
    max-width: none !important;
    width: 100%;
}

.clients-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
    width: 100%;
}

.clients-track {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.track-content {
    display: flex;
    gap: 0;
    padding: 15px 0;
    width: max-content;
    will-change: transform;
}

.client-card {
    flex: 0 0 280px;
    height: 140px;
    padding: 24px;
    margin-right: 20px;
    /* Use margin instead of gap for perfect infinity logic */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;

    /* Premium Glass Effect */
    background: color-mix(in srgb, var(--c-glass) 12%, transparent);
    backdrop-filter: blur(12px) saturate(var(--saturation));
    -webkit-backdrop-filter: blur(12px) saturate(var(--saturation));
    border-radius: 28px;
    border: 1px solid color-mix(in srgb, var(--c-light) 20%, transparent);
    box-shadow:
        inset 0 0 0 1px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 10%), transparent),
        inset 1.8px 3px 0px -2px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 90%), transparent),
        0 8px 32px 0 rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.client-card::before {
    content: '';
    position: absolute;
    inset: 0;
}

/* Animations moved to JavaScript for absolute smoothness and device consistency */

/* Hover effects removed per user request */
/*
.client-card:hover {
    transform: translateY(-5px);
}
*/

.client-logo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/*
.client-card:hover .client-logo {
    transform: none;
}
*/



/* Consistent logo fitting */
.client-logo img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    mix-blend-mode: normal;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/*
.client-card:hover .client-logo img {
    transform: scale(1.1);
}

/* Specific logo adjustment for visibility */
img[src*="connect thrive"],
img[src*="AVIZ"],
img[src*="client7"],
img[src*="varcas"],
img[src*="niravana"],
img[src*="design studio"],
img[src*="varmas"],
img[src*="fruit"],
img[src*="taberna"],
img[src*="Family"] {
    transform: scale(1.1);
}

/* Super Size logos per user request */
img[src*="Cropzy"] {
    transform: scale(1.6);
}

img[src*="file easy"],
img[src*="aniva"] {
    transform: scale(1.3);
}

/* Invert Varmas logo to make black appear as white */
img[src*="varmas"] {
    filter: invert(1) brightness(1.2);
    -webkit-filter: invert(1) brightness(1.2);
}

img[src*="puma"],
img[src*="Puma"],
img[src*="fynans"] {
    mix-blend-mode: normal !important;
}

/* Design Studio logo - Black in light theme, White in dark theme */
body:has(input[value="light"]:checked) img[src*="design studio"] {
    filter: invert(0) brightness(0);
    -webkit-filter: invert(0) brightness(0);
}

body:has(input[value="dark"]:checked) img[src*="design studio"] {
    filter: invert(1) brightness(2);
    -webkit-filter: invert(1) brightness(2);
}

/* Chiguru logo - Adjust color based on theme */
/* Light theme: Display logo in its original dark colors */
body:has(input[value="light"]:checked) img[src*="chiguru"] {
    filter: none;
    -webkit-filter: none;
}

/* Dark theme: Invert the logo so brown text becomes white for visibility */
body:has(input[value="dark"]:checked) img[src*="chiguru"] {
    filter: invert(1) brightness(1.2) hue-rotate(180deg);
    -webkit-filter: invert(1) brightness(1.2) hue-rotate(180deg);
}

/* Dim theme: Similar to dark theme but with softer adjustment */
body:has(input[value="dim"]:checked) img[src*="chiguru"] {
    filter: invert(1) brightness(1.1) hue-rotate(180deg);
    -webkit-filter: invert(1) brightness(1.1) hue-rotate(180deg);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .our-clients {
        padding: 0;
    }

    .clients-container {
        gap: 10px;
    }

    .track-content {
        gap: 0;
    }

    .client-card {
        flex: 0 0 180px;
        height: 100px;
        border-radius: 20px;
        padding: 15px;
        margin-right: 12px;
    }
}

/* Custom Quote CTA */
.custom-quote-cta {
    text-align: center;
    padding: 30px 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.cta-text {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2vw, 1.4rem);
    font-weight: 700;
    color: var(--c-content);
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.cta-light {
    font-weight: 400;
    opacity: 0.85;
    display: inline;
    margin-bottom: 0;
    font-size: 0.9em;
}

.cta-link {
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
}

.cta-link .text-gradient {
    transition: transform 0.3s ease;
}

.cta-link:hover .text-gradient {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .custom-quote-cta {
        padding: 50px 20px 20px;
    }

    .cta-text {
        font-size: 1.35rem;
        display: block;
    }
}


/* ==========================================
   OUR WORK SECTION - GLASSMORPHIC SHOWCASE
   Premium Apple-style video gallery
   ========================================== */

/* ===================================
   1. SECTION CONTAINER
   =================================== */

.ourwork-showcase {
    padding: 60px 60px 30px;
    /* Restored balanced spacing */
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    text-align: center;
}

/* ===================================
   2. HERO HEADER SECTION (MATCHED TO SITE)
   =================================== */

.ourwork-hero {
    max-width: 700px;
    margin: 0 auto 32px;
    /* Restored standard margin */
    text-align: center;
}

.ourwork-hero__title {
    font-size: clamp(2rem, 4vw, 3rem);
    /* Same as .section__title */
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 12px;
    /* Same as .section__title */
    color: var(--c-content);
    letter-spacing: normal;
    /* Removed tight letter-spacing */
}

.ourwork-hero__description {
    font-size: 1.1rem;
    /* Same as .section__subtitle */
    line-height: 1.6;
    color: color-mix(in srgb, var(--c-content) 75%, transparent);
    margin: 8px auto 24px;
    /* Reduced bottom margin */
    max-width: 600px;
    /* Same as .section__header */
}

/* Feature Bullets */
.ourwork-features {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(20px, 3vw, 32px);
    /* Reduced gap */
    flex-wrap: wrap;
    margin-top: 16px;
    /* Reduced from 32px */
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    /* Reduced from 10px */
    font-size: 14px;
    /* Smaller, consistent */
    font-weight: 500;
    color: color-mix(in srgb, var(--c-content) 85%, transparent);
}

.feature-icon {
    width: 6px;
    /* Reduced from 8px */
    height: 6px;
    flex-shrink: 0;
}

/* Green dot */
.feature-item:nth-child(1) .feature-icon {
    color: #34c759;
}

/* Blue dot */
.feature-item:nth-child(2) .feature-icon {
    color: #007aff;
}

/* Purple dot */
.feature-item:nth-child(3) .feature-icon {
    color: #af52de;
}

/* ===================================
   3. TABBED NAVIGATION
   =================================== */

.ourwork-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin: 0 auto 40px;
    /* Reduced for compact spacing */
    max-width: fit-content;
    padding: 6px;
    background: color-mix(in srgb, var(--c-glass) 15%, transparent);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 14px;
    box-shadow:
        inset 0 0 0 1px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 15%), transparent),
        inset 0 1px 0 0 color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 30%), transparent),
        0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid color-mix(in srgb, var(--c-light) 10%, transparent);
}

.ourwork-tab {
    padding: 12px 28px;
    font-size: clamp(14px, 1.5vw, 16px);
    font-weight: 500;
    font-family: var(--font-body);
    color: color-mix(in srgb, var(--c-content) 70%, transparent);
    background: transparent;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    white-space: nowrap;
}

.ourwork-tab:hover {
    color: var(--c-content);
    background: color-mix(in srgb, var(--c-glass) 10%, transparent);
}

.ourwork-tab.active {
    color: var(--c-content);
    background: color-mix(in srgb, var(--c-glass) 25%, transparent);
    box-shadow:
        inset 0 0 0 1px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 15%), transparent),
        inset 0 1px 0 0 color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 40%), transparent),
        0 2px 8px rgba(0, 0, 0, 0.1);
    font-weight: 600;
}

/* ===================================
   3. TAB CONTENT PANELS
   =================================== */

.ourwork-content {
    position: relative;
    width: 100%;
}

.tab-panel {
    display: none;
    opacity: 0;
    animation: fadeIn 500ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.tab-panel.active {
    display: block;
}

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

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

/* Tab Header */
.tab-header {
    text-align: center;
    margin-bottom: 48px;
    /* Reduced to match section spacing */
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.tab-title {
    font-size: clamp(2rem, 4vw, 3rem);
    /* Match .section__title */
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 12px;
    /* Match .section__title */
    color: var(--c-content);
}

.tab-subtitle {
    font-size: 1.1rem;
    /* Match .section__subtitle */
    line-height: 1.6;
    color: color-mix(in srgb, var(--c-content) 75%, transparent);
    margin: 8px auto 0;
    /* Match .section__subtitle */
}

/* ===================================
   4. CARD GRID SHOWCASE
   =================================== */

.video-showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    padding: 10px 0 0;
    /* Aggressively reduced padding */
    width: 100%;
}

@media (max-width: 1024px) {
    .video-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
        padding: 10px 20px 0;
    }
}

@media (max-width: 768px) {
    .video-showcase-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 10px 16px 0;
        max-width: 100%;
    }
}

.showcase-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.6s ease forwards;
}

/* Showcase Navigation Arrows - Hidden for Grid Layout */
.showcase-arrow {
    display: none;
}

/* ===================================
   5. VIDEO SHOWCASE CARDS
   =================================== */

/* Wrapper link for YouTube redirect */
.showcase-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    -webkit-tap-highlight-color: transparent;
}

.showcase-card:nth-child(1) {
    animation-delay: 0.1s;
}

.showcase-card:nth-child(2) {
    animation-delay: 0.2s;
}

.showcase-card:nth-child(3) {
    animation-delay: 0.3s;
}

.showcase-card:nth-child(4) {
    animation-delay: 0.4s;
}

.showcase-card:hover {
    transform: translateY(-8px);
}

/* Card Thumbnail Container */
.card-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
    background: color-mix(in srgb, var(--c-bg) 90%, transparent);
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.15),
        inset 0 0 0 1px color-mix(in srgb, var(--c-light) 10%, transparent);
}

.card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.showcase-card:hover .card-thumbnail img {
    transform: scale(1.05);
}

/* Dark Overlay on Thumbnail */
.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.1) 0%,
            rgba(0, 0, 0, 0.3) 50%,
            rgba(0, 0, 0, 0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 300ms ease;
    border-radius: 16px;
}

.showcase-card:hover .card-overlay {
    opacity: 1;
}

/* Play Button */
.play-button {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    transition: all 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
    outline: none;
}

.play-button:hover {
    transform: scale(1.15);
    background: rgba(255, 255, 255, 0.5);
}

.play-button:active {
    transform: scale(0.95);
}

.play-button svg {
    margin-left: 3px;
    /* Visual centering */
}

/* Platform Badge (YouTube) */
.platform-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 6px;
    z-index: 2;
}

.youtube-badge {
    background: rgba(255, 0, 0, 0.9);
}

/* Duration Badge */
.duration-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 6px;
    z-index: 2;
}

/* ===================================
   6. CARD CONTENT
   =================================== */

.card-content {
    padding: 0 4px;
}

.card-title {
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 12px;
    color: var(--c-content);
}

.card-description {
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 1.6;
    color: color-mix(in srgb, var(--c-content) 70%, transparent);
    margin: 0 0 16px;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: color-mix(in srgb, var(--c-content) 85%, transparent);
    text-decoration: none;
    transition: all 200ms ease;
}

.card-link:hover {
    color: var(--c-action);
    gap: 12px;
}

.card-link svg {
    opacity: 0.7;
    transition: opacity 200ms ease;
}

.card-link:hover svg {
    opacity: 1;
}

/* ===================================
   7. VIDEO MODAL
   =================================== */

.video-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: modalFadeIn 300ms ease forwards;
}

.video-modal.active {
    display: flex;
}

@keyframes modalFadeIn {
    to {
        opacity: 1;
    }
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.modal-content {
    position: relative;
    width: 90vw;
    max-width: 1200px;
    aspect-ratio: 16 / 9;
    background: color-mix(in srgb, var(--c-bg) 95%, transparent);
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px color-mix(in srgb, var(--c-light) 15%, transparent);
    animation: modalSlideUp 400ms cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes modalSlideUp {
    from {
        transform: translateY(50px) scale(0.95);
    }

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

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    z-index: 10;
    transition: all 200ms ease;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.modal-close:active {
    transform: scale(0.95);
}

.modal-player {
    width: 100%;
    height: 100%;
}

.modal-player iframe,
.modal-player video {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 24px;
}

/* ===================================
   8. RESPONSIVE DESIGN
   =================================== */

/* Responsive Design handled in .video-showcase-grid definitions */

/* Mobile */
@media (max-width: 768px) {
    .ourwork-showcase {
        padding: 20px 16px 0;
    }

    .ourwork-hero {
        margin-bottom: 24px;
    }

    .ourwork-hero__title {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
        margin-bottom: 12px;
    }

    .ourwork-hero__description {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .ourwork-tab {
        padding: 8px 10px;
        font-size: 11px;
    }

    .card-title {
        font-size: 16px;
    }

    .card-description {
        font-size: 13px;
    }
}

/* ===================================
   9. DARK MODE ENHANCEMENTS
   =================================== */

body:has(input[value="dark"]:checked) .ourwork-tab.active,
body:has(input[value="dim"]:checked) .ourwork-tab.active {
    background: color-mix(in srgb, var(--c-glass) 30%, transparent);
    box-shadow:
        inset 0 0 0 1px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 20%), transparent),
        inset 0 1px 0 0 color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 50%), transparent),
        0 2px 12px rgba(0, 0, 0, 0.3);
}

body:has(input[value="dark"]:checked) .card-thumbnail,
body:has(input[value="dim"]:checked) .card-thumbnail {
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px color-mix(in srgb, var(--c-light) 15%, transparent);
}

/* ===================================
   10. SMOOTH SCROLLING INDICATORS
   =================================== */

.video-showcase::before,
.video-showcase::after {
    content: '';
    position: sticky;
    top: 0;
    width: 40px;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.video-showcase::before {
    left: 0;
    background: linear-gradient(to right,
            var(--c-bg),
            transparent);
}

.video-showcase::after {
    right: 0;
    background: linear-gradient(to left,
            var(--c-bg),
            transparent);
}

@media (max-width: 768px) {

    .video-showcase::before,
    .video-showcase::after {
        width: 20px;
    }
}

/* ==========================================
   PREMIUM IPHONE-STYLE SUCCESS MODAL
   ========================================== */
.custom-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.custom-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.custom-modal {
    background: color-mix(in srgb, var(--c-glass) 80%, transparent);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 32px;
    width: 90%;
    max-width: 380px;
    text-align: center;
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.custom-modal-overlay.active .custom-modal {
    transform: scale(1) translateY(0);
}

/* iPhone Green Tick Icon */
.success-icon {
    width: 80px;
    height: 80px;
    background: #34c759;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 0 30px rgba(52, 199, 89, 0.4);
    position: relative;
    animation: iconPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.success-icon::after {
    content: '';
    position: absolute;
    inset: -5px;
    border: 2px solid #34c759;
    border-radius: 50%;
    opacity: 0;
    animation: successPulse 2s infinite;
}

@keyframes successPulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

@keyframes iconPop {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-icon svg {
    width: 45px;
    height: 45px;
    color: white;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: drawCheck 0.6s ease forwards 0.3s;
}

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

.success-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--c-heading);
}

.success-message {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--c-content);
    opacity: 0.8;
    margin-bottom: 24px;
}

.success-btn {
    width: 100%;
    padding: 14px;
    background: #34c759;
    border: none;
    border-radius: 14px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.success-btn:hover {
    background: #28a745;
    transform: scale(1.02);
}

.success-btn:active {
    transform: scale(0.98);
}

/* ==========================================
   GLASSY ALERT STYLES (Validation)
   ========================================== */
.custom-modal-content {
    font-size: 1.1rem;
    color: var(--c-content);
    margin-bottom: 24px;
    line-height: 1.6;
    font-weight: 500;
}

.custom-modal-btn {
    width: 100%;
    padding: 14px;
    background: var(--c-action);
    border: none;
    border-radius: 14px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.custom-modal-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

/* ==========================================
   PORTFOLIO VIDEO CARDS - SMALLER SIZE
   ========================================== */
.video-showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.showcase-card {
    position: relative;
    border-radius: 20px;
    overflow: visible;
    padding: 20px;
    width: 100%;

    /* Enhanced glass card styling with stronger blur */
    background: linear-gradient(135deg,
            color-mix(in srgb, var(--c-glass) 18%, transparent) 0%,
            color-mix(in srgb, var(--c-glass) 12%, transparent) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);

    /* Premium glass border with subtle gradient */
    border: 1px solid color-mix(in srgb, var(--c-light) 20%, transparent);

    /* Enhanced shadows for depth */
    box-shadow:
        /* Inner glow */
        inset 0 1px 0 0 color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 40%), transparent),
        inset 1px 0 0 0 color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 15%), transparent),
        inset -1px 0 0 0 color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 10%), transparent),
        /* Outer shadows */
        0 4px 16px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 12%), transparent),
        0 8px 32px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 8%), transparent);

    transition:
        transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        background 400ms cubic-bezier(1, 0.0, 0.4, 1),
        box-shadow 400ms cubic-bezier(1, 0.0, 0.4, 1),
        border-color 400ms ease;
}

.showcase-card:hover {
    transform: translateY(-12px) scale(1.02);
    background: linear-gradient(135deg,
            color-mix(in srgb, var(--c-glass) 25%, transparent) 0%,
            color-mix(in srgb, var(--c-glass) 18%, transparent) 100%);
    border-color: color-mix(in srgb, var(--c-light) 30%, transparent);
    box-shadow:
        inset 0 1px 0 0 color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 50%), transparent),
        inset 1px 0 0 0 color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 20%), transparent),
        inset -1px 0 0 0 color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 15%), transparent),
        0 8px 24px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 18%), transparent),
        0 16px 48px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 12%), transparent);
}

.card-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.showcase-card:hover .card-overlay {
    opacity: 1;
}

.play-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.play-button:hover {
    transform: scale(1.1);
}

.platform-badge,
.duration-badge {
    position: absolute;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(8px);
}

.platform-badge {
    top: 12px;
    left: 12px;
    background: rgba(255, 0, 0, 0.9);
    color: white;
}

.duration-badge {
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
}

.card-content {
    padding: 16px 0;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--c-content);
    margin: 0 0 8px 0;
}

.card-description {
    font-size: 14px;
    color: color-mix(in srgb, var(--c-content) 70%, transparent);
    margin: 0;
}

/* Video Showcase Grid Styles */
/* Video Showcase Grid Styles */
.video-showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    margin: 30px auto 0;
    /* Center the grid */
    padding: 0 20px;
    max-width: 1100px;
    /* Increased width to make videos larger */
    width: 100%;
}

.video-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    /* Removed padding */
    /* transition: transform 0.3s ease, box-shadow 0.3s ease; Already on .glass-card */
    overflow: visible;
    /* Allow device shadows to show */
    align-items: center;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    border: none;
    transform: none !important;
    transition: none !important;
}

.video-card:hover {
    transform: none !important;
}

/* Ensure showcase device fits nicely */
.showcase-device {
    /* Override hero specific widths if needed */
    max-width: 100% !important;
    width: 100%;
    border-radius: 20px !important;
    /* Match card radius */
    transform: none !important;
    transition: none !important;
}

.showcase-device:hover,
.showcase-device .hero__device-image:hover,
.video-card:hover .showcase-device,
.video-card:hover .hero__device-image {
    transform: none !important;
}

.showcase-device .hero__device-screen {
    border-radius: 16px !important;
}

.showcase-play-btn {
    width: 50px !important;
    height: 50px !important;
}

.showcase-play-btn svg {
    width: 24px;
    height: 24px;
}

/* Video Showcase Slider Wrapper */
.video-showcase-slider-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: visible;
}

.showcase-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    display: none;
    /* Hidden on desktop */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.showcase-nav-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.1);
}

.showcase-nav-btn.prev {
    left: 8px;
}

.showcase-nav-btn.next {
    right: 8px;
}

@media (max-width: 1024px) {
    .video-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
        max-width: 100%;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .video-showcase-slider-wrapper {
        position: relative;
        overflow: hidden;
        padding: 40px 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .video-showcase-grid {
        display: flex !important;
        grid-template-columns: none !important;
        gap: 0 !important;
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        width: 100%;
        padding: 0 !important;
        align-items: center;
    }

    .video-card {
        flex: 0 0 100%;
        max-width: 100%;
        margin: 0;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0;
    }

    .showcase-nav-btn {
        display: flex !important;
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        background: rgba(0, 0, 0, 0.5) !important;
        width: 32px !important;
        height: 32px !important;
        z-index: 100 !important;
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 50%;
    }

    .showcase-nav-btn.prev {
        left: 5px !important;
    }

    .showcase-nav-btn.next {
        right: 5px !important;
    }

    .showcase-device {
        width: 60vw !important;
        max-width: 260px !important;
        aspect-ratio: 9 / 16 !important;
        height: auto !important;
        display: block;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        margin: 0 auto !important;
    }

    .hero__device.showcase-device {
        width: 60vw !important;
        max-width: 260px !important;
        aspect-ratio: 9 / 16 !important;
        height: auto !important;
        margin: 0 auto;
        display: block;
    }

    /* Fix play button centering on mobile */
    .hero__play-btn,
    .showcase-play-btn {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) !important;
    }

    .hero__play-btn:hover,
    .showcase-play-btn:hover {
        transform: translate(-50%, -50%) scale(1.1) !important;
    }

    .hero__play-btn:active,
    .showcase-play-btn:active {
        transform: translate(-50%, -50%) scale(0.95) !important;
    }
}