/* ==========================================================================
   CamLink Player - Liquid Design Style Sheet
   ========================================================================== */

/* 1. Design System & Variables */
:root {
    /* Color Palette */
    --bg-dark: #07070b;
    --bg-darker: #030305;
    
    /* Liquid Accents */
    --accent-purple: #6c5ce7;
    --accent-purple-glow: rgba(108, 92, 231, 0.4);
    --accent-purple-hover: #8174f2;
    
    --accent-cyan: #00f2fe;
    --accent-cyan-glow: rgba(0, 242, 254, 0.3);
    
    --accent-pink: #ff007f;
    --accent-pink-glow: rgba(255, 0, 127, 0.3);

    /* Glassmorphic Panel Styling */
    --glass-bg: rgba(13, 13, 20, 0.65);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-focus: rgba(0, 242, 254, 0.4);
    --glass-shadow: 0 24px 60px -10px rgba(0, 0, 0, 0.7);
    --glass-shadow-glow: 0 0 30px rgba(108, 92, 231, 0.15);
    
    /* Typography Colors */
    --text-primary: #f8f9fa;
    --text-secondary: #9499ad;
    --text-muted: #5e6479;
    
    /* Layout Constants */
    --max-width: 1280px;
    --border-radius-lg: 24px;
    --border-radius-md: 16px;
    --border-radius-sm: 10px;
    
    /* Transition Defaults */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* 2. Reset & Core Settings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

/* 3. Liquid Background Animation System */
.liquid-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    background-color: var(--bg-darker);
}

.liquid-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.45;
    mix-blend-mode: screen;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-purple) 0%, rgba(108, 92, 231, 0) 70%);
    top: -10%;
    left: -10%;
    animation: liquid-morph-1 25s infinite alternate ease-in-out;
}

.blob-2 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, var(--accent-cyan) 0%, rgba(0, 242, 254, 0) 70%);
    bottom: -10%;
    right: -5%;
    animation: liquid-morph-2 20s infinite alternate ease-in-out;
}

.blob-3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--accent-pink) 0%, rgba(255, 0, 127, 0) 70%);
    top: 40%;
    left: 55%;
    animation: liquid-morph-3 18s infinite alternate ease-in-out;
}

.liquid-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.6;
}

/* Background morphing keyframes */
@keyframes liquid-morph-1 {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    }
    33% {
        transform: translate(100px, 80px) scale(1.15) rotate(120deg);
        border-radius: 70% 30% 52% 48% / 60% 40% 60% 40%;
    }
    66% {
        transform: translate(-50px, 150px) scale(0.9) rotate(240deg);
        border-radius: 50% 50% 20% 80% / 25% 80% 20% 75%;
    }
    100% {
        transform: translate(40px, -20px) scale(1.05) rotate(360deg);
        border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    }
}

@keyframes liquid-morph-2 {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        border-radius: 50% 50% 30% 70% / 50% 60% 40% 50%;
    }
    50% {
        transform: translate(-120px, -60px) scale(1.2) rotate(-180deg);
        border-radius: 30% 70% 70% 30% / 50% 30% 70% 50%;
    }
    100% {
        transform: translate(30px, 40px) scale(0.95) rotate(-360deg);
        border-radius: 50% 50% 30% 70% / 50% 60% 40% 50%;
    }
}

@keyframes liquid-morph-3 {
    0% {
        transform: translate(0, 0) scale(1);
        border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
    }
    50% {
        transform: translate(80px, -100px) scale(1.1) rotate(90deg);
        border-radius: 64% 36% 44% 56% / 49% 62% 38% 51%;
    }
    100% {
        transform: translate(-60px, 20px) scale(0.9) rotate(180deg);
        border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
    }
}

/* 4. Global Typography & Core Elements */
h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.5px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

/* 5. Navigation Bar */
.main-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    background: rgba(7, 7, 11, 0.4);
    transition: var(--transition-smooth);
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.35rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 16px var(--accent-purple-glow);
    transition: var(--transition-bounce);
}

.logo-area:hover .logo-icon {
    transform: scale(1.08) rotate(5deg);
}

.highlight {
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* 6. Form Select Inputs & Language Switcher */
.select-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.select-wrapper::after {
    content: '▼';
    font-size: 0.65rem;
    color: var(--text-secondary);
    position: absolute;
    right: 14px;
    bottom: 14px;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.select-wrapper:hover::after {
    color: var(--accent-cyan);
}

select {
    appearance: none;
    -webkit-appearance: none;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 10px 32px 10px 14px;
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    outline: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

select:hover, select:focus {
    border-color: var(--glass-border-focus);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}

.language-wrapper select {
    padding: 6px 24px 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    border-radius: 8px;
}

.language-wrapper::after {
    right: 10px;
    bottom: 11px;
}

/* 7. Buttons System */
.cta-btn {
    padding: 12px 28px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    outline: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-bounce);
}

.primary-cta {
    background: linear-gradient(135deg, var(--accent-purple), #5b46e8);
    color: white;
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.35);
}

.primary-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(108, 92, 231, 0.55);
}

.primary-cta:active {
    transform: translateY(0);
}

.secondary-cta {
    background: rgba(255, 255, 255, 0.07);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.secondary-cta:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.mini-cta {
    padding: 8px 18px;
    font-size: 0.85rem;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
    color: white;
    box-shadow: none;
}

.mini-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.25);
}

/* 8. Hero Section */
.hero-section {
    padding: 80px 24px;
    position: relative;
}

.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.badge {
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.25);
    color: var(--accent-cyan);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px var(--accent-cyan-glow);
    animation: pulse-badge 2s infinite alternate;
}

@keyframes pulse-badge {
    0% { box-shadow: 0 4px 10px rgba(0, 242, 254, 0.1); }
    100% { box-shadow: 0 4px 20px rgba(0, 242, 254, 0.35); }
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
}

.gradient-text {
    background: linear-gradient(90deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    width: 100%;
}

/* Hero Liquid Card Preview */
.hero-preview {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.liquid-card {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    padding: 1px; /* space for gradient border */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.02) 60%, rgba(0, 242, 254, 0.15));
    box-shadow: var(--glass-shadow);
}

.card-glow {
    position: absolute;
    width: 150px;
    height: 150px;
    background: var(--accent-cyan);
    filter: blur(80px);
    border-radius: 50%;
    top: -30px;
    right: -30px;
    opacity: 0.5;
    transition: var(--transition-smooth);
}

.liquid-card:hover .card-glow {
    width: 250px;
    height: 250px;
    opacity: 0.7;
}

.card-inner {
    background: var(--glass-bg);
    width: 100%;
    height: 100%;
    border-radius: calc(var(--border-radius-lg) - 1px);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
}

.card-mockup-header {
    padding: 16px 24px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red { background-color: #ff5f56; }
.dot.yellow { background-color: #ffbd2e; }
.dot.green { background-color: #27c93f; }

.mockup-title {
    margin-left: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.card-mockup-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 24px;
}

.mockup-demo-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    cursor: pointer;
    transition: var(--transition-bounce);
    box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.2);
}

.liquid-card:hover .mockup-demo-icon {
    transform: scale(1.1);
    color: var(--accent-purple);
    box-shadow: 0 0 25px rgba(108, 92, 231, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

.mockup-demo-icon svg {
    transform: translateX(2px);
}

.mockup-hint {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 250px;
}

/* 9. Player Web Section */
.player-section {
    padding: 100px 24px;
    background: rgba(0, 0, 0, 0.25);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* The Player Card Mockup (Beautiful Liquid Glass container) */
.web-player-container {
    max-width: 1024px;
    margin: 0 auto;
}

.web-player-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--glass-shadow), var(--glass-shadow-glow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Viewport area */
.web-player-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #020204;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.web-player-viewport video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: transparent;
    z-index: 1;
}

/* Placeholder Screen styling */
.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(13, 13, 20, 0.95) 0%, rgba(5, 5, 8, 1) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    z-index: 2;
    transition: opacity 0.5s ease;
}

.video-placeholder.hidden {
    opacity: 0;
    pointer-events: none;
}

.placeholder-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(0, 242, 254, 0.1));
    border: 1px solid rgba(108, 92, 231, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-purple);
    margin-bottom: 8px;
    box-shadow: inset 0 0 20px rgba(108, 92, 231, 0.15);
}

.video-placeholder h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
}

.video-placeholder p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 320px;
    text-align: center;
}

/* HUD UI Overlay (similar to app but cleaner) */
.ui-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.web-player-viewport:hover .ui-overlay.visible {
    opacity: 1;
    transform: translateY(0);
}

.ui-overlay.visible {
    pointer-events: all;
}

.hud-status {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    padding: 8px 16px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--text-muted);
}

.status-indicator.active {
    background-color: #27c93f;
    box-shadow: 0 0 8px #27c93f;
}

.hud-btn {
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-bounce);
}

.hud-btn:hover {
    transform: scale(1.1);
    background: var(--accent-purple);
    border-color: var(--accent-purple);
}

/* Control Bar beneath player */
.web-player-controls {
    background: rgba(10, 10, 15, 0.95);
    border-top: 1px solid var(--glass-border);
    padding: 24px 32px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    align-items: end;
}

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

.controls-inputs .select-wrapper label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.controls-inputs select {
    width: 100%;
}

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

.slider-wrapper {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

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

.slider-header label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.slider-value {
    color: var(--accent-cyan);
    font-size: 0.8rem;
    font-weight: 700;
}

/* Custom styled inputs [range] */
input[type=range] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    background: transparent;
    outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: var(--accent-purple);
    cursor: pointer;
    margin-top: -6px;
    box-shadow: 0 0 10px rgba(108, 92, 231, 0.6);
    transition: var(--transition-bounce);
}

input[type=range]:hover::-webkit-slider-thumb {
    background: var(--accent-cyan);
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.8);
    transform: scale(1.2);
}

/* Buttons and Checkboxes area */
.controls-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-wrapper input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid var(--glass-border);
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.4);
    cursor: pointer;
    position: relative;
    outline: none;
    transition: var(--transition-smooth);
}

.checkbox-wrapper input[type="checkbox"]:hover {
    border-color: var(--accent-cyan);
}

.checkbox-wrapper input[type="checkbox"]:checked {
    background: var(--accent-cyan);
    border-color: var(--accent-cyan);
}

.checkbox-wrapper input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid black;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

.checkbox-wrapper label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
}

.action-buttons-group {
    display: flex;
    gap: 12px;
}

.icon-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--border-radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

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

.primary-btn {
    flex: 1;
    height: 44px;
    border-radius: var(--border-radius-sm);
    background: var(--accent-purple);
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    outline: none;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--accent-purple-glow);
    transition: var(--transition-bounce);
}

.primary-btn:hover {
    background: var(--accent-purple-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.5);
}

.primary-btn.playing {
    background: linear-gradient(135deg, #27c93f, #158f27);
    box-shadow: 0 4px 15px rgba(39, 201, 63, 0.3);
}

.primary-btn.playing:hover {
    box-shadow: 0 6px 20px rgba(39, 201, 63, 0.5);
}

/* Banner Error Warning */
.info-card-banner {
    margin-top: 24px;
    background: rgba(255, 95, 86, 0.1);
    border: 1px solid rgba(255, 95, 86, 0.25);
    border-radius: var(--border-radius-md);
    padding: 16px 24px;
    display: flex;
    gap: 16px;
    align-items: center;
    color: #ff5f56;
    animation: slide-in-top 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes slide-in-top {
    0% { transform: translateY(-15px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

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

.info-text p {
    font-size: 0.9rem;
    font-weight: 500;
}

/* 10. Features Section */
.features-section {
    padding: 100px 24px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: var(--glass-shadow);
}

.feature-icon {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: rgba(108, 92, 231, 0.1);
    color: var(--accent-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(108, 92, 231, 0.15);
    box-shadow: inset 0 0 10px rgba(108, 92, 231, 0.1);
    transition: var(--transition-bounce);
}

.feature-card:hover .feature-icon {
    background: var(--accent-purple);
    color: white;
    transform: rotate(5deg);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.4);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* 11. Comparison Section */
.comparison-section {
    padding: 100px 24px;
    background: rgba(0, 0, 0, 0.15);
    border-top: 1px solid var(--glass-border);
}

.comparison-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.comparison-table-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--glass-shadow);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.comparison-table th, .comparison-table td {
    padding: 18px 24px;
    font-size: 0.95rem;
}

.comparison-table th {
    font-family: 'Outfit', sans-serif;
    background: rgba(10, 10, 15, 0.8);
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.comparison-table td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table .feat-name {
    font-weight: 500;
    color: var(--text-primary);
}

.comparison-table td.yes {
    color: #27c93f;
    font-weight: 600;
}

.comparison-table td.no {
    color: #ff5f56;
    font-weight: 500;
}

.comparison-table td.medium {
    color: var(--accent-cyan);
    font-weight: 500;
}

/* 12. Download Section */
.download-section {
    padding: 100px 24px;
}

.download-box-card {
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.15) 0%, rgba(0, 242, 254, 0.05) 50%, rgba(255, 0, 127, 0.1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--glass-shadow);
    padding: 60px 40px;
    max-width: 960px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.download-box-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.download-box-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(90deg, #ffffff, #8d80f5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.download-box-content p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.download-actions {
    display: flex;
    gap: 20px;
    margin-top: 16px;
}

.download-btn-card {
    background: rgba(13, 13, 20, 0.8);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    padding: 16px 28px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: var(--transition-bounce);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.download-btn-card:hover {
    transform: translateY(-5px);
    background: rgba(20, 20, 30, 0.9);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.download-btn-card.windows:hover {
    border-color: var(--accent-purple);
    color: var(--accent-purple-hover);
}

.download-btn-card.linux:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-label-area {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-subtitle {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
}

.btn-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* 13. Footer Section */
.main-footer {
    border-top: 1px solid var(--glass-border);
    padding: 30px 24px;
    background-color: var(--bg-darker);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-link:hover {
    color: var(--text-secondary);
}

.footer-divider {
    color: rgba(255,255,255,0.05);
}

/* 14. Custom Cursor Hide for video stream */
.hide-cursor {
    cursor: none !important;
}

/* Custom styles for utilities */
.hidden {
    display: none !important;
}

/* Refresh Sources Button */
.refresh-sources-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    letter-spacing: 0.3px;
    align-self: flex-start;
}

.refresh-sources-btn:hover {
    background: rgba(0, 242, 254, 0.07);
    border-color: rgba(0, 242, 254, 0.3);
    color: var(--accent-cyan);
}

.refresh-sources-btn svg {
    transition: transform 0.4s ease;
}

.refresh-sources-btn.spinning svg {
    animation: spin-once 0.6s ease;
}

@keyframes spin-once {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Grant Access Permission Button */
.grant-perm-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-bounce);
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.4);
}

.grant-perm-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(108, 92, 231, 0.6);
}

.grant-perm-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.perm-icon {
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.15), rgba(0, 242, 254, 0.1));
    color: var(--accent-cyan);
    border-color: rgba(0, 242, 254, 0.2);
    animation: pulse-perm 2.5s infinite alternate;
}

@keyframes pulse-perm {
    0%   { box-shadow: inset 0 0 10px rgba(0, 242, 254, 0.1), 0 0 0 rgba(0, 242, 254, 0); }
    100% { box-shadow: inset 0 0 20px rgba(0, 242, 254, 0.25), 0 0 20px rgba(0, 242, 254, 0.15); }
}

/* 15. Responsive Styling (Fluid Reflow) */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .web-player-controls {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .header-container {
        padding: 12px 16px;
    }
    
    .nav-links {
        display: none; /* simple hidden navigation on smaller screens for cleaner mockup */
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-btn {
        width: 100%;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .download-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    
    .download-btn-card {
        width: 100%;
        justify-content: center;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .web-player-controls {
        padding: 16px 20px;
    }
}
