/* ==========================================
   Maestro AI — Apple Space Gray Product Theme
   ========================================== */

/* Design Tokens & Theme Setup */
:root {
    --bg-dark: #000000;
    /* Pure black depth */
    --bg-block: #161617;
    /* Slate Space Gray block */
    --primary: #2f80ed;
    /* Apple clean blue */
    --text-main: #f5f5f7;
    /* Silver white */
    --text-muted: #86868b;
    /* Apple signature muted gray */
    --border: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.15);
    /* Pretendard stack optimized for Korean layouts */
    --font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    --font-heading: var(--font-sans);
    --success: #30d158;
    /* Apple green */
    --neon-blue: #00d2ff;
    --neon-purple: #9b5de5;
    --neon-green: #30d158;
    --neon-orange: #ff9f0a;
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: #000000;
    background-image:
        radial-gradient(circle at 50% -10%, #161622 0%, #000000 70%),
        radial-gradient(circle at 0% 100%, #0c0c12 0%, #000000 80%),
        radial-gradient(circle at 100% 50%, #08080c 0%, #000000 80%);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Premium Atmosphere Elements */
.bg-grid-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at 50% 50%, black 20%, transparent 85%);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, black 20%, transparent 85%);
    pointer-events: none;
    z-index: 0;
}

.glow-blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(130px);
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
    mix-blend-mode: screen;
    animation: floatGlow 25s infinite ease-in-out alternate;
}

.glow-blob-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(95, 90, 246, 0.35) 0%, rgba(95, 90, 246, 0) 70%);
    top: -200px;
    left: 10%;
    animation-duration: 28s;
}

.glow-blob-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.25) 0%, rgba(0, 210, 255, 0) 70%);
    bottom: -150px;
    right: 5%;
    animation-duration: 22s;
}

.glow-blob-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(155, 93, 229, 0.2) 0%, rgba(155, 93, 229, 0) 70%);
    top: 40%;
    right: 20%;
    animation-delay: -6s;
}

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

    50% {
        transform: translate(40px, -60px) scale(1.08);
    }

    100% {
        transform: translate(-30px, 30px) scale(0.92);
    }
}


/* Utilities & Common Layout */
.container {
    width: 100%;
    max-width: 980px;
    /* Aligns with Apple's developer layout grid */
    margin: 0 auto;
    padding: 0 24px;
}

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

/* Floating Navigation Header (Apple Style) */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 14px 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-main);
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.logo-link:hover {
    opacity: 1;
}

.logo-image {
    height: 30px;
    width: auto;
    object-fit: contain;
    display: block;
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

.github-link {
    display: flex;
    align-items: center;
    gap: 3px;
    color: var(--primary);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
}

.github-link:hover {
    text-decoration: underline;
}

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

.github-link:hover .link-arrow {
    transform: translateX(2px);
}

/* Hero Section */
.hero-section {
    padding-top: 140px;
    padding-bottom: 80px;
    background: transparent;
}

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

.hero-text-content {
    max-width: 600px;
    margin: 0 auto;
}

.badge-new {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(32px, 5.5vw, 54px);
    line-height: 1.15;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
    color: #ffffff;
}

.gradient-text-accent {
    background: linear-gradient(135deg, #ffffff 20%, #4facfe 75%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 2px 10px rgba(0, 210, 255, 0.15));
}

.animate-fade-text {
    animation: fadeInOnly 1.0s both cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInOnly {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


.hero-subtitle {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 24px;
    font-weight: 400;
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

/* Buttons */
.primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #2f80ed 0%, #9b5de5 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.3px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(155, 93, 229, 0.25);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(155, 93, 229, 0.45);
    background: linear-gradient(135deg, #00d2ff 0%, #9b5de5 100%);
}

.primary-btn .arrow-icon {
    transition: transform 0.3s ease;
}

.primary-btn:hover .arrow-icon {
    transform: translateX(4px);
}

.secondary-link {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: var(--primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.secondary-link:hover {
    text-decoration: underline;
}

.secondary-link:hover .link-arrow {
    transform: translateX(2px);
}

.discord-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(88, 101, 242, 0.1);
    color: #5865F2;
    border: 1px solid rgba(88, 101, 242, 0.3);
    border-radius: 12px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.3px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.discord-btn:hover {
    transform: translateY(-2px);
    background: #5865F2;
    color: #ffffff;
    border-color: #5865F2;
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.35);
}

/* Phone Mockup Showcase */
.phone-mockup-wrapper {
    position: relative;
    width: 280px;
    height: 560px;
    margin: 48px auto 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    /* Sleek thin border instead of thick bezel */
    border-radius: 36px;
    background: #000;
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.9),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.phone-side-button {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    z-index: 48;
}

.phone-side-button.volume-up {
    width: 2.5px;
    height: 40px;
    left: -1px;
    top: 100px;
    border-top-right-radius: 1.5px;
    border-bottom-right-radius: 1.5px;
}

.phone-side-button.volume-down {
    width: 2.5px;
    height: 40px;
    left: -1px;
    top: 150px;
    border-top-right-radius: 1.5px;
    border-bottom-right-radius: 1.5px;
}

.phone-side-button.power {
    width: 2.5px;
    height: 50px;
    right: -1px;
    top: 120px;
    border-top-left-radius: 1.5px;
    border-bottom-left-radius: 1.5px;
}

.phone-glass-reflection {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 50%);
    pointer-events: none;
    z-index: 45;
}

.phone-camera {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 99px;
    z-index: 50;
}

.phone-screen {
    width: 100%;
    height: 100%;
    position: relative;
    background: #09090b;
    /* Deep dark mobile environment */
    color: #f5f5f7;
    display: flex;
    flex-direction: column;
}

.phone-status-bar {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px 2px;
    font-size: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 700;
    z-index: 10;
}

.phone-home-indicator {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 99px;
    z-index: 10;
}

/* Simulated App Interior */
.simulated-app-container {
    flex: 1;
    position: relative;
    padding: 6px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.simulation-chat-bubble {
    position: absolute;
    top: 24px;
    left: 6px;
    right: 6px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-radius: 12px;
    padding: 8px 12px;
    font-size: 10px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    z-index: 20;
    opacity: 0;
    transform: translateY(-4px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.simulation-chat-bubble.active {
    opacity: 1;
    transform: translateY(0);
}

.virtual-app-screen {
    flex: 1;
    border-radius: 12px;
    background: #0f0f12;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin-bottom: 6px;
}

.app-header {
    background: #141417;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.app-back-btn {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.4);
}

.app-title-text {
    font-size: 9.5px;
    font-weight: 700;
    color: #ffffff;
}

.app-main-view {
    flex: 1;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

/* App UI Elements (Dynamic custom styling) */
.sim-button {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 6px;
    border-radius: 5px;
    font-size: 9px;
    text-align: center;
    font-weight: 600;
    color: #f5f5f7;
}

.sim-input-box {
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.03);
    padding: 6px 10px;
    border-radius: 5px;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.4);
    min-height: 28px;
    display: flex;
    align-items: center;
}

.sim-item-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    padding: 6px;
    display: flex;
    gap: 6px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.sim-item-image {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.sim-item-info h5 {
    font-size: 9px;
    font-weight: 700;
    color: #ffffff;
}

.sim-item-info p {
    font-size: 8px;
    color: rgba(255, 255, 255, 0.4);
}

.simulation-tap-indicator {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(47, 128, 237, 0.2);
    border: 1.5px solid var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 30;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
}

.simulation-tap-indicator.pulse {
    animation: pulse-tap 0.7s forwards ease-out;
}

@keyframes pulse-tap {
    0% {
        transform: translate(-50%, -50%) scale(0.2);
        opacity: 1;
    }

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

.agent-toast-message {
    position: absolute;
    bottom: 16px;
    left: 12px;
    right: 12px;
    background: rgba(20, 20, 25, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 9px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    z-index: 25;
    opacity: 0;
    transform: translateY(6px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    color: #ffffff;
}

.agent-toast-message.active {
    opacity: 1;
    transform: translateY(0);
}

.toast-agent-icon {
    width: 12px;
    height: 12px;
    object-fit: contain;
    display: block;
}


/* Key Features (Apple Style Showcase Blocks - Frameless & Minimal) */
.features-showcase-section {
    padding: 120px 0;
    background-color: transparent;
}

.showcase-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 80px 0;
    border-bottom: none;
    /* Frameless: no bottom divider */
}

.showcase-block.reverse {
    direction: rtl;
    /* Flip grid layout order */
}

.showcase-block.reverse .showcase-text {
    direction: ltr;
    /* Force text back to left-to-right reading direction */
}

.showcase-block.reverse .showcase-visual {
    direction: ltr;
}

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

.block-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 12px;
}

.block-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 32px;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 16px;
    color: #ffffff;
}

.block-desc {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* Visual components in Showcase Blocks - Bento Box Style */
.showcase-visual.bento-card {
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    height: 300px;
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.showcase-visual.bento-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.12);
}

.spotlight-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 2;
    background: radial-gradient(circle 160px at var(--x, 0px) var(--y, 0px), rgba(255, 255, 255, 0.06), transparent 80%);
}

.automation-visual-wrapper,
.security-visual-wrapper,
.safety-visual-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.glow-bg {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.15;
    pointer-events: none;
}

.automation-visual-wrapper .glow-bg {
    background: var(--primary);
}

.security-visual-wrapper .glow-bg {
    background: var(--success);
}

.safety-visual-wrapper .glow-bg {
    background: var(--neon-orange);
}

/* 1. Automation network node visual */
.node-network {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    width: 80%;
    position: relative;
}

.network-connector-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.network-node {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-main);
    z-index: 3;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.node-main {
    border-color: rgba(47, 128, 237, 0.5);
    color: var(--primary);
    box-shadow: 0 0 20px rgba(47, 128, 237, 0.2);
    background: rgba(47, 128, 237, 0.05);
}

.network-leaf-container {
    display: flex;
    gap: 12px;
    justify-content: center;
    width: 100%;
}

.node-sub {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 500;
}

.node-sub.highlight {
    border-color: rgba(0, 210, 255, 0.6);
    color: var(--neon-blue);
    background: rgba(0, 210, 255, 0.06);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.2);
    animation: pulseGlowBlue 2s infinite ease-in-out alternate;
}

@keyframes pulseGlowBlue {
    0% {
        box-shadow: 0 0 10px rgba(0, 210, 255, 0.1);
    }

    100% {
        box-shadow: 0 0 20px rgba(0, 210, 255, 0.3);
    }
}

/* 2. Security shield bento visual */
.security-shield-container {
    position: relative;
    width: 90px;
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.shield-icon {
    z-index: 3;
    color: var(--success);
    filter: drop-shadow(0 0 20px rgba(48, 209, 88, 0.25));
    animation: floatIcon 4s infinite ease-in-out alternate;
}

@keyframes floatIcon {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-6px);
    }
}

.ripple {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(48, 209, 88, 0.12);
    pointer-events: none;
    z-index: 1;
    transform: scale(0.6);
    opacity: 0;
    animation: rippleEffect 3s infinite linear;
}

.ripple-2 {
    animation-delay: 1.5s;
}

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

    50% {
        opacity: 0.5;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.security-tag-pill {
    margin-top: 14px;
    background: rgba(48, 209, 88, 0.08);
    border: 1px solid rgba(48, 209, 88, 0.18);
    color: var(--success);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 99px;
    box-shadow: 0 4px 12px rgba(48, 209, 88, 0.05);
}

/* 3. Safety Safeguard Bento dial visual */
.safety-dashboard {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    width: 80%;
}

.sensor-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 159, 10, 0.05);
    border: 1px solid rgba(255, 159, 10, 0.18);
    padding: 3px 8px;
    border-radius: 6px;
}

.sensor-pulse {
    width: 6px;
    height: 6px;
    background: var(--neon-orange);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--neon-orange);
    animation: flash 1.5s infinite alternate;
}

@keyframes flash {
    0% {
        opacity: 0.3;
    }

    100% {
        opacity: 1;
    }
}

.sensor-label {
    font-size: 8px;
    font-weight: 700;
    color: var(--neon-orange);
    letter-spacing: 0.5px;
}

.dashboard-dial-container {
    position: relative;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 159, 10, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 20px rgba(255, 159, 10, 0.03);
}

.dial-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 159, 10, 0.05) 0%, transparent 70%);
}

.dial-text {
    font-size: 11px;
    font-weight: 800;
    color: var(--neon-orange);
    letter-spacing: 1px;
    animation: pulseText 1.5s infinite ease-in-out alternate;
}

@keyframes pulseText {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
        text-shadow: 0 0 5px rgba(255, 159, 10, 0.1);
    }

    100% {
        transform: scale(1.05);
        opacity: 1;
        text-shadow: 0 0 15px rgba(255, 159, 10, 0.4);
    }
}

.dashboard-status {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.3px;
}

/* Global Section Header & Title */
.section-header {
    margin-bottom: 48px;
    position: relative;
    z-index: 10;
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(28px, 4vw, 36px);
    line-height: 1.25;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 40%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: clamp(14px, 2vw, 16px);
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
    word-break: keep-all;
}


/* Security Section (Premium Space Gray Cards & Neon Highlights) */
.security-section {
    padding: 120px 0;
    background-color: transparent;
}

.security-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: var(--neon-blue);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 20px;
    background: rgba(0, 210, 255, 0.08);
    padding: 6px 14px;
    border-radius: 30px;
    border: 1px solid rgba(0, 210, 255, 0.15);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.05);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 64px;
}

.security-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 48px 32px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.security-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.security-icon-wrapper {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    transition: transform 0.3s ease;
}

.security-card:hover .security-icon-wrapper {
    transform: scale(1.05);
}

.security-card-icon {
    transition: filter 0.3s ease;
}

.security-card-icon.neon-blue {
    color: var(--neon-blue);
    filter: drop-shadow(0 0 8px rgba(0, 210, 255, 0.3));
}

.security-card-icon.neon-purple {
    color: var(--neon-purple);
    filter: drop-shadow(0 0 8px rgba(155, 93, 229, 0.3));
}

.security-card-icon.neon-orange {
    color: var(--neon-orange);
    filter: drop-shadow(0 0 8px rgba(255, 159, 10, 0.3));
}

.security-card-title {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #ffffff;
    letter-spacing: -0.4px;
}

.security-card-desc {
    color: var(--text-muted);
    font-size: 13.5px;
    line-height: 1.65;
    word-break: keep-all;
}

@media (max-width: 992px) {
    .security-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .security-card {
        padding: 40px 28px;
    }
}

/* ONLY ANDROID Section */
.android-only-section {
    padding: 120px 0;
    background-color: transparent;
}

.android-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: var(--success);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 20px;
    background: rgba(48, 209, 88, 0.08);
    padding: 6px 14px;
    border-radius: 30px;
    border: 1px solid rgba(48, 209, 88, 0.15);
    box-shadow: 0 0 15px rgba(48, 209, 88, 0.05);
}

.android-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 64px;
}

.android-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 48px 32px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.android-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.android-icon-wrapper {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    transition: transform 0.3s ease;
}

.android-card:hover .android-icon-wrapper {
    transform: scale(1.05);
}

.android-card-icon {
    transition: filter 0.3s ease;
}

.android-card-icon.neon-green {
    color: var(--success);
    filter: drop-shadow(0 0 8px rgba(48, 209, 88, 0.3));
}

.android-card-icon.neon-blue {
    color: var(--neon-blue);
    filter: drop-shadow(0 0 8px rgba(0, 210, 255, 0.3));
}

.android-card-icon.neon-purple {
    color: var(--neon-purple);
    filter: drop-shadow(0 0 8px rgba(155, 93, 229, 0.3));
}

.android-card-title {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #ffffff;
    letter-spacing: -0.4px;
}

.android-card-desc {
    color: var(--text-muted);
    font-size: 13.5px;
    line-height: 1.65;
    word-break: keep-all;
}

@media (max-width: 992px) {
    .android-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .android-card {
        padding: 40px 28px;
    }
}

/* Join Testing / CTA Section */
.join-section {
    padding: 120px 0;
    background: transparent;
}

.join-card {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.join-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.8px;
    color: #ffffff;
}

.join-subtitle {
    color: var(--text-muted);
    font-size: 15px;
    max-width: 480px;
    margin: 0 auto 40px;
}

.join-steps-vertical {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    max-width: 500px;
    margin: 0 auto 48px;
}

.j-step {
    flex: 1;
    padding: 0;
}

.j-badge {
    display: inline-block;
    background: var(--bg-block);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 9px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.j-step p {
    font-size: 12.5px;
    color: var(--text-main);
}

/* Footer (Apple Style layout) */
.footer {
    padding: 60px 0 30px;
    background: transparent;
    border-top: 1px solid var(--border);
}

.footer-top {
    margin-bottom: 24px;
}

.footer-brand {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    color: var(--text-main);
    display: block;
    margin-bottom: 8px;
}

.footer-description {
    color: var(--text-muted);
    font-size: 12px;
    max-width: 600px;
    line-height: 1.5;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.copyright {
    color: var(--text-muted);
    font-size: 11px;
}

.footer-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
}

.footer-link:hover {
    text-decoration: underline;
}

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

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

.animate-fade {
    animation: fadeIn 0.5s both cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-text-content .badge-new {
    animation-delay: 0.05s;
}

.hero-text-content .hero-title {
    animation-delay: 0.1s;
}

.hero-text-content .hero-subtitle {
    animation-delay: 0.15s;
}

.hero-text-content .hero-cta-group {
    animation-delay: 0.2s;
}

.hero-visual-content {
    animation-delay: 0.25s;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .showcase-block {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding: 60px 0;
    }

    .showcase-block.reverse {
        direction: ltr;
    }

    .showcase-text {
        max-width: 100%;
    }

    .scenario-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 28px;
    }

    .join-steps-vertical {
        flex-direction: column;
        gap: 16px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* ==========================================
   Interactive Tester Modal Styles
   ========================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: 20px;
    padding: 36px;
    border-radius: 20px;
    background: rgba(22, 22, 23, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transform: scale(0.9) translateY(15px);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s;
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    transform: rotate(90deg);
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.6px;
    color: #ffffff;
}

.modal-subtitle {
    color: var(--text-muted);
    font-size: 13.5px;
    line-height: 1.55;
    margin-bottom: 24px;
}

/* Android Only Warning Card */
.android-warning-card {
    background: rgba(255, 159, 10, 0.07);
    border: 1px solid rgba(255, 159, 10, 0.18);
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 24px;
    text-align: left;
}

.warning-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--neon-orange);
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 8px;
    letter-spacing: -0.2px;
}

.warning-icon {
    flex-shrink: 0;
}

.warning-body {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    letter-spacing: -0.2px;
}

/* Input Form Styles */
.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 28px;
    text-align: left;
}

.input-group label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: -0.1px;
}

.input-group input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 14px 16px;
    color: #ffffff;
    font-size: 14px;
    font-family: var(--font-sans);
    transition: all 0.2s ease;
    width: 100%;
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 3px rgba(47, 128, 237, 0.2);
}

.error-msg {
    color: #ff453a;
    font-size: 11.5px;
    margin-top: 4px;
    display: none;
    font-weight: 500;
}

.error-msg.visible {
    display: block;
    animation: fadeIn 0.2s ease;
}

.modal-submit-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: 99px;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(47, 128, 237, 0.3);
}

.modal-submit-btn:hover {
    opacity: 0.95;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(47, 128, 237, 0.4);
}

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

/* Success View */
.modal-view-success {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 0 6px;
}

.success-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(48, 209, 88, 0.1);
    border: 1px solid rgba(48, 209, 88, 0.2);
    color: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    animation: scaleCheck 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

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

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

.modal-success-close-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-radius: 99px;
    padding: 12px 32px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    width: auto;
    margin-top: 12px;
}

.modal-success-close-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

/* ==========================================
   Dynamic Command Showcase Component Styles
   ========================================== */
.dynamic-showcase-section {
    padding: 120px 0;
    position: relative;
}

.showcase-glow-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
}

.showcase-glow-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.12;
}

.showcase-glow-circle.circle-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(47, 128, 237, 0.4) 0%, rgba(47, 128, 237, 0) 70%);
    top: 10%;
    left: 20%;
}

.showcase-glow-circle.circle-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(155, 93, 229, 0.35) 0%, rgba(155, 93, 229, 0) 70%);
    bottom: 10%;
    right: 20%;
}

/* Glassmorphic Showcase Enclosure Card (Frameless) */
.showcase-card {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    padding: 0;
    max-width: 860px;
    margin: 56px auto 0;
    position: relative;
    overflow: visible;
    z-index: 1;
    box-shadow: none;
    transition: none;
}

.showcase-card .section-header {
    position: relative;
    z-index: 2;
    margin-bottom: 32px;
}

.active-badge-wrapper {
    min-height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
}

.active-badge-wrapper .security-badge {
    margin-bottom: 0;
    animation: badgeFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes badgeFadeIn {
    0% {
        opacity: 0;
        transform: translateY(-6px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.showcase-card .section-title {
    font-size: clamp(24px, 4vw, 32px);
    margin-bottom: 8px;
    font-weight: 800;
}

.showcase-card .section-subtitle {
    font-size: 14px;
    color: var(--text-muted);
}

/* Internal Dynamic Background Glow */
.showcase-card-glow {
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.08;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
    transition: background 0.8s ease;
}

/* Theme configurations for the Enclosure Card (Frameless) */
.showcase-card.theme-food .showcase-card-glow {
    background: radial-gradient(circle, rgba(47, 128, 237, 0.45) 0%, transparent 70%);
}

.showcase-card.theme-gov .showcase-card-glow {
    background: radial-gradient(circle, rgba(155, 93, 229, 0.45) 0%, transparent 70%);
}

.showcase-card.theme-stream .showcase-card-glow {
    background: radial-gradient(circle, rgba(0, 210, 255, 0.45) 0%, transparent 70%);
}

.showcase-card.theme-travel .showcase-card-glow {
    background: radial-gradient(circle, rgba(255, 159, 10, 0.45) 0%, transparent 70%);
}

/* YouTube badge */
.command-badge.youtube {
    color: #ff453a;
    background: rgba(255, 69, 58, 0.08);
    border: 1px solid rgba(255, 69, 58, 0.15);
}

/* Video Swipe Layout */
.video-swipe-outer {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 40px auto 0;
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 2;
}

.video-swipe-container {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 16px 4px 32px;
    width: 100%;
    scrollbar-width: none; /* Firefox */
}

.video-swipe-container::-webkit-scrollbar {
    display: none; /* Safari & Chrome */
}

/* Video Cards */
.video-card {
    flex: 0 0 calc(33.333% - 16px); /* 3 cards visible on desktop */
    min-width: 260px;
    scroll-snap-align: start;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.video-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 69, 58, 0.25);
    box-shadow: 0 30px 60px rgba(255, 69, 58, 0.08);
}

.video-thumbnail-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
    overflow: hidden;
}

.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-card:hover .video-thumbnail {
    transform: scale(1.05);
}

.video-play-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.video-card:hover .video-play-overlay {
    opacity: 1;
}

.play-icon {
    width: 48px;
    height: 48px;
    background: #ff453a;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    padding-left: 2px;
    box-shadow: 0 4px 15px rgba(255, 69, 58, 0.4);
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-card:hover .play-icon {
    transform: scale(1);
}

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.75);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 4px;
}

.video-info {
    padding: 16px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.video-title {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
    height: 38px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.video-meta {
    font-size: 11px;
    color: var(--text-muted);
}

/* Swipe Navigation Arrows */
.swipe-arrow {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.swipe-arrow:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

.swipe-arrow:active {
    transform: scale(0.95);
}

/* Lightbox Modal styles */
.video-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

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

.video-modal-container {
    position: relative;
    width: 90%;
    max-width: 960px;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.video-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.video-modal-close:hover {
    background: #ff453a;
    border-color: #ff453a;
}

.video-modal-iframe-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
}

.video-modal-iframe-wrapper iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .video-swipe-outer {
        padding: 0 8px;
    }
    
    .swipe-arrow {
        display: none; /* Hide arrows on mobile/tablet since swipe is native */
    }
    
    .video-card {
        flex: 0 0 calc(50% - 12px); /* 2 cards visible */
    }
    
    .showcase-card {
        padding: 40px 24px;
        margin: 40px 16px 0;
        border-radius: 24px;
    }
}

@media (max-width: 600px) {
    .video-card {
        flex: 0 0 85%; /* Peek next card */
    }
}
