:root {
    /* Light Mode Colors (default) */
    --background: #f8fafd;
    --on-background: #1a1c1e;
    --surface: #fdfcff;
    --on-surface: #1a1c1e;
    --surface-variant: #e1e2e8;
    --on-surface-variant: #44474e;
    --surface-container-lowest: #ffffff;
    --surface-container: #f3f4f9;
    --primary: #005ac2;
    --primary-rgb: 0, 90, 194;
    --on-primary: #ffffff;
    --primary-container: #d8e2ff;
    --on-primary-container: #001a42;
    --gradient-start: #eef1f8;
    --gradient-end: #dde2ec;

    /* Glassmorphism Light */
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(0, 0, 0, 0.06);
    --glass-card-bg: rgba(243, 244, 249, 0.75);
    --glass-card-border: rgba(0, 0, 0, 0.04);

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --stack-sm: 8px;
    --stack-md: 24px;
    --stack-lg: 48px;
    --stack-xl: 80px;
    --gutter: 24px;
    --margin-mobile: 16px;
    --margin-desktop: 64px;
    --container-max: 1280px;
}

@media (prefers-color-scheme: dark) {
    :root {
        /* Dark Mode Colors (from backup_stitch) */
        --background: #0b1326;
        --on-background: #dae2fd;
        --surface: #0b1326;
        --on-surface: #dae2fd;
        --surface-variant: #2d3449;
        --on-surface-variant: #c2c6d6;
        --surface-container-lowest: #060e20;
        --surface-container: #171f33;
        --primary: #adc6ff;
        --primary-rgb: 173, 198, 255;
        --on-primary: #002e6a;
        --primary-container: #4d8eff;
        --on-primary-container: #00285d;
        --gradient-start: #0f172a;
        --gradient-end: #1e293b;

        /* Glassmorphism Dark */
        --glass-bg: rgba(15, 23, 42, 0.6);
        --glass-border: rgba(255, 255, 255, 0.1);
        --glass-card-bg: rgba(30, 41, 59, 0.4);
        --glass-card-border: rgba(255, 255, 255, 0.08);
    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--background);
    color: var(--on-background);
    line-height: 1.5;
    overflow-x: hidden;
    transition: background-color 0.3s, color 0.3s;
}

/* Loading state — hidden until JS populates */
body.loading .carousel-content,
body.loading .glass-panel,
body.loading .glass-card,
body.loading .footer-content {
    opacity: 0;
}
body.loaded .carousel-content,
body.loaded .glass-panel,
body.loaded .glass-card,
body.loaded .footer-content {
    opacity: 1;
    transition: opacity 0.6s ease;
}

::selection {
    background-color: var(--primary-container);
    color: var(--on-primary-container);
}

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

/* ============ Typography ============ */
.headline-xl {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--on-surface);
}
.headline-lg {
    font-family: var(--font-heading);
    font-size: clamp(26px, 3vw, 32px);
    line-height: 1.25;
    font-weight: 700;
    color: var(--on-surface);
    margin-bottom: var(--stack-sm);
}
.headline-md {
    font-family: var(--font-heading);
    font-size: 24px;
    line-height: 1.3;
    font-weight: 600;
    color: var(--on-surface);
    margin-bottom: 16px;
}
.body-lg {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.65;
    font-weight: 400;
    color: var(--on-surface-variant);
}
.body-md {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    color: var(--on-surface-variant);
}
.label-md {
    font-family: var(--font-heading);
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: 0.01em;
}
.uppercase { text-transform: uppercase; }
.tracking-widest { letter-spacing: 0.1em; }
.tracking-tighter { letter-spacing: -0.05em; }
.text-center { text-align: center; }
.font-bold { font-weight: 700; }
.fw-medium { font-weight: 500; }
.text-primary { color: var(--primary); }
.text-variant { color: var(--on-surface-variant); }
.text-variant-dim { color: var(--on-surface-variant); opacity: 0.4; }

/* ============ Layout ============ */
.container {
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--margin-mobile);
    padding-right: var(--margin-mobile);
}
@media (min-width: 768px) {
    .container {
        padding-left: var(--margin-desktop);
        padding-right: var(--margin-desktop);
    }
}

.content-section {
    padding-left: var(--margin-mobile);
    padding-right: var(--margin-mobile);
}
@media (min-width: 768px) {
    .content-section {
        padding-left: 0;
        padding-right: 0;
    }
}

.py-stack-xl { padding-top: var(--stack-xl); padding-bottom: var(--stack-xl); }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mb-stack-lg { margin-bottom: var(--stack-lg); }
.mt-8 { margin-top: 32px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-xl { max-width: 36rem; }

/* Grid */
.grid-2 { display: grid; gap: var(--gutter); }
.grid-3 { display: grid; gap: var(--gutter); }
.items-center { align-items: center; }
@media (min-width: 768px) {
    .grid-2 { grid-template-columns: 1fr 1fr; gap: calc(var(--gutter) * 2); }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* ============ Material Icons ============ */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
}
.icon-large { font-size: 36px; }

/* ============ Surface Backgrounds ============ */
.dark-gradient-bg {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
}
.surface-container {
    background-color: var(--surface-container);
}

/* ============ Glass Components ============ */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}
.p-12 { padding: 28px; }
@media (min-width: 768px) {
    .p-12 { padding: 48px; }
}

.glass-card {
    background: var(--glass-card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-card-border);
    border-radius: 12px;
    padding: 40px;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.glass-card:hover {
    border-color: rgba(var(--primary-rgb), 0.5);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(var(--primary-rgb), 0.1);
}

/* ============ Badges & Buttons ============ */
.badge {
    display: inline-block;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    backdrop-filter: blur(8px);
    padding: 6px 18px;
    border-radius: 9999px;
    margin-bottom: var(--stack-md);
}

.badge-text {
    display: block;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 16px;
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary);
    color: var(--on-primary);
    padding: 16px 40px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.35);
}

.divider {
    width: 48px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
    margin-bottom: var(--stack-md);
    margin-top: var(--stack-sm);
}

/* ============ Image Wrapper ============ */
.image-wrapper {
    position: relative;
}
.glow-effect {
    position: absolute;
    top: -16px; left: -16px; right: -16px; bottom: -16px;
    background: rgba(var(--primary-rgb), 0.08);
    border-radius: 20px;
    filter: blur(30px);
    transition: transform 0.4s ease;
    z-index: 1;
}
.image-wrapper:hover .glow-effect {
    transform: scale(1.06);
}
.section-image {
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: contain;
    aspect-ratio: auto;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid var(--glass-border);
    transition: transform 0.4s ease;
}
.image-wrapper:hover .section-image {
    transform: scale(1.02);
}

/* ============ Feature Items ============ */
.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--primary);
}
.feature-list {
    list-style: none;
}
.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
    color: var(--on-surface);
}

/* ============ Carousel ============ */
.hero-section {
    position: relative;
    min-height: 100vh;
    min-height: 90dvh;
    width: 100%;
    overflow: hidden;
    background-color: var(--surface-container-lowest);
}
.carousel-track {
    display: flex;
    height: auto;
    min-height: 100%;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}
.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    min-height: 100vh;
    min-height: 90dvh;
    padding: 80px 0 120px 0;
    box-sizing: border-box;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.carousel-bg-blur {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(4px) brightness(0.4) saturate(0.6);
    transform: scale(1.1);
    transition: transform 8s linear, filter 0.4s ease;
}
/* Subtle Ken Burns zoom on active slide */
.carousel-slide.active .carousel-bg-blur {
    transform: scale(1.15);
}
.carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.65) 100%
    );
    z-index: 3;
}

/* Hover effects to dim/blur background when hovering over the content card */
.carousel-slide:has(.carousel-content:hover) .carousel-bg-blur {
    filter: blur(25px) brightness(0.3) saturate(1.2);
}

.carousel-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 0 var(--margin-mobile);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
/* Carousel text is always white for contrast on photos */
.carousel-content .headline-xl,
.carousel-content .headline-lg,
.carousel-content .body-lg {
    color: #ffffff;
    transition: text-shadow 0.3s ease;
}
.carousel-content .badge {
    color: #ffffff;
    background: rgba(var(--primary-rgb), 0.35);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}
.carousel-image-container {
    position: relative;
    width: 100%;
    max-width: 950px;
    max-height: 50vh;
    aspect-ratio: 16 / 9;
    margin: 0 auto var(--stack-md) auto;
    border-radius: 16px;
    overflow: hidden;
    background-color: var(--glass-card-bg);
    border: 1px solid var(--glass-card-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}
.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.carousel-content .headline-xl {
    margin-bottom: var(--stack-md);
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 0, 0, 0.4);
}
.carousel-content .body-lg {
    margin-bottom: var(--stack-lg);
    opacity: 0.95;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.4);
}
.carousel-content .btn-primary {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 10px 30px rgba(var(--primary-rgb), 0.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

/* Accentuate text shadows and buttons on hover */
.carousel-content:hover .headline-xl {
    text-shadow: 0 6px 25px rgba(0, 0, 0, 1), 0 0 50px rgba(0, 0, 0, 0.8);
}
.carousel-content:hover .body-lg {
    text-shadow: 0 3px 12px rgba(0, 0, 0, 1), 0 0 30px rgba(0, 0, 0, 0.8);
}
.carousel-content:hover .badge {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(var(--primary-rgb), 0.5);
}
.carousel-content:hover .btn-primary {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 14px 45px rgba(var(--primary-rgb), 0.55);
}

/* Arrows styling */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 25;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--on-background);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}
.carousel-arrow:hover {
    background: var(--surface-container);
    border-color: rgba(var(--primary-rgb), 0.4);
    color: var(--primary);
    transform: translateY(-50%) scale(1.08);
}
.carousel-arrow:active {
    transform: translateY(-50%) scale(0.95);
}
.carousel-arrow-left {
    left: var(--margin-desktop);
}
.carousel-arrow-right {
    right: var(--margin-desktop);
}

/* Responsive carousel content height overrides */
@media (max-width: 767px) {
    .carousel-image-container {
        max-width: 340px;
        max-height: 45vh;
        aspect-ratio: 3 / 4;
        margin-bottom: var(--stack-sm);
    }
    .carousel-content .headline-xl {
        margin-bottom: var(--stack-sm);
    }
    .carousel-content .body-lg {
        margin-bottom: var(--stack-md);
    }
    .carousel-arrow {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .carousel-content { padding: 0 var(--margin-desktop); }
}

.carousel-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}
.carousel-dot {
    width: 48px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
}
.carousel-dot.active {
    background-color: var(--primary);
    width: 64px;
}

/* ============ Tabbed Showcase ============ */
.surface-container-low {
    background-color: var(--surface-variant);
}

.showcase-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.showcase-tab-btn {
    padding: 12px 24px;
    border-radius: 9999px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--glass-border);
    background-color: var(--surface);
    color: var(--on-surface-variant);
}
.showcase-tab-btn:not(.active) {
    animation: pulse-subtle 2.5s infinite;
}
.showcase-tab-btn:hover {
    border-color: rgba(var(--primary-rgb), 0.5);
    color: var(--primary);
}
.showcase-tab-btn.active {
    background-color: var(--primary);
    color: var(--on-primary);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}

.showcase-panel {
    background-color: var(--surface);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--glass-border);
}

/* Browser Chrome (top bar) */
.browser-chrome {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background-color: var(--surface-variant);
    border-bottom: 1px solid var(--glass-border);
}
.browser-dots {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}
.browser-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot-red   { background-color: #ff5f57; }
.dot-yellow { background-color: #ffbd2e; }
.dot-green  { background-color: #28c840; }

.browser-address-bar {
    flex: 1;
    background-color: var(--surface-container);
    border-radius: 6px;
    padding: 6px 14px;
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--on-surface-variant);
    opacity: 0.7;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Browser body content */
.browser-body {
    padding: 0;
}
.showcase-grid {
    display: grid;
    grid-template-columns: 1fr;
}
@media (min-width: 768px) {
    .showcase-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.showcase-text-panel {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@media (min-width: 768px) {
    .showcase-text-panel { padding: 40px; }
}

.showcase-image-panel {
    background-color: var(--surface-container);
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow: hidden;
}
.showcase-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: opacity 0.4s ease;
}

/* ============ Footer ============ */
.footer {
    background-color: var(--surface);
    border-top: 1px solid var(--glass-border);
}
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.logo-container.glass-card {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
}
.rounded-full { border-radius: 9999px; }
.logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 32px;
}
.footer-links a {
    font-family: var(--font-heading);
    font-size: 13px;
    color: var(--on-surface-variant);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 600;
}
.footer-links a:hover {
    color: var(--primary);
}

/* ============ Floating Chat Button ============ */
.floating-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 50;
    width: 60px;
    height: 60px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.floating-btn:hover {
    transform: scale(1.1);
}
.floating-btn:active {
    transform: scale(0.95);
}
.floating-btn .material-symbols-outlined {
    font-size: 28px;
}

/* ============ Animations ============ */
@keyframes pulse-soft {
    0%   { box-shadow: 0 8px 32px rgba(0,0,0,0.2), 0 0 0 0 rgba(var(--primary-rgb), 0.4); }
    70%  { box-shadow: 0 8px 32px rgba(0,0,0,0.2), 0 0 0 14px rgba(var(--primary-rgb), 0); }
    100% { box-shadow: 0 8px 32px rgba(0,0,0,0.2), 0 0 0 0 rgba(var(--primary-rgb), 0); }
}
@keyframes pulse-subtle {
    0%   { box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05), 0 0 0 0 rgba(var(--primary-rgb), 0.25); }
    70%  { box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05), 0 0 0 8px rgba(var(--primary-rgb), 0); }
    100% { box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05), 0 0 0 0 rgba(var(--primary-rgb), 0); }
}
.animate-pulse-custom {
    animation: pulse-soft 2.5s infinite;
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children in grid-3 */
.grid-3 .glass-card:nth-child(2) { transition-delay: 0.15s; }
.grid-3 .glass-card:nth-child(3) { transition-delay: 0.30s; }

/* ============ Responsive ============ */
@media (max-width: 767px) {
    .order-1-mobile { order: 1; margin-bottom: 24px; }
    .order-2-mobile { order: 2; }
    .py-stack-xl { padding-top: 48px; padding-bottom: 48px; }
    .glass-card { padding: 28px; }
    .headline-md { font-size: 20px; }
}

/* Utility */
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }

/* Interactive Viewer and Preview Iframes */
.preview-iframe {
    position: absolute;
    top: 2%;
    left: 2.5%;
    width: 190%;
    height: 190%;
    transform: scale(0.5);
    transform-origin: 0 0;
    border: none;
    pointer-events: none;
    user-select: none;
    background-color: var(--surface-container);
    border-radius: 15px;
}

.carousel-image-container,
.showcase-image-panel,
.image-wrapper {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-image-container:hover,
.showcase-image-panel:hover,
.image-wrapper:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(var(--primary-rgb), 0.15);
}

.carousel-image-container .preview-iframe {
    border-radius: 20px;
}

.section-image-container {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 480px;
    max-height: 50vh;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid var(--glass-border);
    overflow: hidden;
}

.showcase-image-panel {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 380px;
}

/* Fullscreen Interactive Viewer */
.interactive-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background-color: var(--background);
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.interactive-viewer.active {
    transform: translateY(0);
}
.viewer-top-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    flex-shrink: 0;
}
.viewer-back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--on-background);
    padding: 8px 16px;
    border-radius: 9999px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.viewer-back-btn:hover {
    background: var(--surface-container);
    border-color: rgba(var(--primary-rgb), 0.4);
    color: var(--primary);
}
.viewer-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--on-surface);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.viewer-body {
    flex: 1;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #ffffff;
}
.viewer-body iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ============ Top Bar ============ */
.top-bar {
    background-color: var(--surface);
    border-bottom: 1px solid var(--glass-border);
    padding: 16px 0;
}
.headline-sm {
    font-family: var(--font-heading);
    font-size: 18px;
    line-height: 1.3;
    font-weight: 600;
    color: var(--on-surface);
}
