/* --- Variables & Reset --- */
:root {
    --font-main: 'Poppins', sans-serif;
    --color-primary: #00ac4e;
    --color-blue: #266af4;
    --color-red: #f71c25;
    --color-text: #111827;
    --color-sub: #6b7280;
    --color-bg-light: #f9fafb;
    --border-color: #e5e7eb;
    --gradient-brand: linear-gradient(135deg, #00ac4e, #266af4, #f71c25, #ffa708);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background: #fff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s;
}

ul {
    list-style: none;
}

/* --- Utility Classes --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.gradient-text {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.gradient-text-header {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
    font-size: 1.5rem;
    display: inline-block;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    text-align: center;
    gap: 8px;
}

.btn-gradient {
    background: var(--gradient-brand);
    color: white;
    border: none;
    transition: opacity 0.2s;
}

.btn-gradient:hover {
    opacity: 0.9;
}

.btn-outline {
    border: 1px solid var(--color-blue);
    color: var(--color-blue);
    background: transparent;
}

.btn-outline:hover {
    background: #eff6ff;
}

.btn-outline-blue {
    border: 1px solid var(--color-blue);
    color: var(--color-blue);
    width: 100%;
    margin-top: 20px;
}

.btn-outline-blue:hover {
    background: #eff6ff;
}

.btn-icon-img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    vertical-align: middle;
}

/* --- 1. Header --- */
.header {
    position: sticky;
    top: 0;
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.2rem;
}

.logo-icon {
    width: 24px;
    height: 24px;
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-menu a:not(.btn) {
    color: var(--color-text);
}

.nav-menu a:not(.btn):hover {
    color: var(--color-blue);
}

.nav-menu .btn {
    padding: 8px 16px;
    font-size: 0.85rem;
    white-space: nowrap;
}


/* Language Switcher */
/* Language Dropdown */
.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-dropbtn {
    background-color: transparent;
    color: var(--color-text);
    padding: 8px 12px;
    font-size: 0.9rem;
    border: none;
    padding: 8px 0;
    /* Minimized padding since no border */
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.lang-dropbtn:hover {
    background-color: #f9fafb;
    /* border-color: var(--color-blue); Removed hover border */
}

/* Removed img styles since we are using emojis */

.arrow {
    font-size: 0.7rem;
    color: var(--color-sub);
}

.lang-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 5px;
    background-color: #fff;
    min-width: 140px;
    box-shadow: var(--shadow-hover);
    border-radius: 8px;
    z-index: 1000;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.lang-dropdown-content a {
    color: var(--color-text);
    padding: 10px 15px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.lang-flag {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.lang-dropdown-content a:hover {
    background-color: #f3f4f6;
    color: var(--color-blue);
}

.lang-dropdown.active .lang-dropdown-content {
    display: block;
}

.mobile-menu-icon {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.8rem;
    color: #333;
}

/* --- 2. Hero --- */
.hero-section {
    padding: 80px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 38fr 62fr;
    gap: 40px;
    align-items: center;
}

.hero-text h1 {
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.sub-headline {
    color: var(--color-sub);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.hero-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.check-icon {
    color: var(--color-primary);
    font-weight: bold;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    /* Ensures image is centered if smaller than wrapper */
    justify-content: center;
    align-items: center;
    /* Add padding/margin if needed, remove background if it was for the placeholder */
}

.hero-main-image {
    max-width: 100%;
    /* Ensures the image is responsive */
    height: auto;
    /* Maintains aspect ratio */
}

/* --- 3. Demo (Responsive Video) --- */
.demo-section {
    padding: 60px 0;
    background: #fff;
}

.section-sub {
    color: var(--color-sub);
    margin: 10px 0 40px 0;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    background: #000;
}

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

/* --- 4. Features --- */
.features-section {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.feature-card {
    padding: 30px;
    border: 1px solid #f3f4f6;
    border-radius: 16px;
    transition: transform 0.2s;
    box-shadow: var(--shadow);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.blue-light {
    background: #eff6ff;
    color: var(--color-blue);
}

.feature-card h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.feature-card p {
    color: var(--color-sub);
    font-size: 0.9rem;
}

/* Data Points Pills */
.data-points-section {
    margin-bottom: 80px;
}

.data-points-section h3 {
    margin-bottom: 25px;
}

.pill-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 900px;
    margin: 0 auto;
}

.pill {
    padding: 8px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--color-text);
    background: white;
}

/* Built For Profs */
.prof-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.prof-card {
    padding: 30px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid #f3f4f6;
}

.prof-icon {
    width: 60px;
    height: 60px;
    background: #eff6ff;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-blue);
}

.prof-card h3 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.prof-card p {
    font-size: 0.85rem;
    color: var(--color-sub);
}

/* --- 5. Pricing --- */
.pricing-section {
    padding: 80px 0;
    background: #fff;
}

.pricing-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    align-items: stretch;
}

/* Free Card */
.pricing-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
}

.free-card {
    border: 1px solid #e5e7eb;
    box-shadow: var(--shadow);
}

.pricing-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    text-align: center;
}

.price-large {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    line-height: 1;
    margin-bottom: 5px;
}

.price-sub {
    text-align: center;
    color: var(--color-sub);
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.pricing-features {
    margin-bottom: 30px;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.check-green {
    color: var(--color-primary);
}

.check-blue {
    color: #8cb4ff;
}

/* Premium Card (Gradient Border) */
.premium-card {
    position: relative;
    border: 2px solid transparent;
    background-image: linear-gradient(#fff, #fff), var(--gradient-brand);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Toggle */
.toggle-container {
    background: #f3f4f6;
    border-radius: 8px;
    padding: 4px;
    display: flex;
    margin-bottom: 30px;
}

.toggle-btn {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 0;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-sub);
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
}

.toggle-btn.active {
    background: var(--color-blue);
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Dynamic Pricing Area */
.price-area {
    text-align: center;
    margin-bottom: 20px;
}

.per-text {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-sub);
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 10px;
}

.badge-green {
    background: #dcfce7;
    color: var(--color-primary);
}

.badge-blue {
    background: #e0f2fe;
    color: #0ea5e9;
}

.badge-red {
    background: #fff0ec;
    color: #FC5030;
}

.pricing-features {
    margin-top: 20px;
}

.stripe-badge {
    text-align: center;
    margin-top: 40px;
    font-size: 0.8rem;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- 6. Testimonials --- */
.testimonials-section {
    padding: 80px 0;
    background: #f9fafb;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.testi-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.stars {
    color: #facc15;
    margin-bottom: 15px;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.quote {
    font-style: italic;
    color: #4b5563;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar {
    width: 40px;
    height: 40px;
    background: #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #6b7280;
    overflow: hidden;
}

.author small {
    color: #9ca3af;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}

/* --- 7. CTA --- */
.cta-section {
    padding: 100px 0;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.cta-section p {
    color: var(--color-sub);
    margin-bottom: 30px;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.trust-badges {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 0.8rem;
    color: #6b7280;
}

/* --- 8. Footer --- */
.footer {
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--color-sub);
    margin-top: 15px;
    max-width: 300px;
}

.footer-links h4,
.footer-legal h4 {
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links ul li,
.footer-legal ul li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-legal a {
    font-size: 0.9rem;
    color: #4b5563;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--color-blue);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #e5e7eb;
    padding-top: 20px;
    font-size: 0.8rem;
    color: #9ca3af;
}

.footer-secure {
    display: flex;
    align-items: center;
}

/* --- Responsive Media Queries --- */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .hero-text h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Mobile Text Adjustment */
    .hero-text h1 {
        font-size: 1.8rem;
        /* Requested update */
    }

    /* Mobile Button Optimization so text doesn't wrap */
    .hero-buttons {
        display: flex;
        flex-direction: row;
        /* Ensure side-by-side but allows wrap if needed */
        justify-content: center;
        gap: 10px;
        /* Tighter gap between buttons */
    }

    .hero-buttons .btn {
        padding: 10px 16px;
        /* slightly smaller padding */
        font-size: 0.9rem;
        /* slightly smaller text */
        gap: 6px;
        /* reduce gap between icon and text */
        white-space: nowrap;
        /* Tries to keep text on one line */
    }



    .hero-list {
        display: inline-block;
        text-align: left;
    }

    /* Mobile Menu Logic */
    .mobile-menu-icon {
        display: block;
        z-index: 1001;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        text-align: center;
        border-top: 1px solid #eee;
    }

    .nav-menu.active {
        display: flex;
    }

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

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

    .pricing-card {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

/* --- FAQ Page Specific Styles --- */

.faq-hero {
    padding: 60px 0 40px;
}

.faq-section {
    padding-bottom: 80px;
}

.faq-container {
    max-width: 800px;
    /* Narrower container for better readability */
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: box-shadow 0.2s;
}

.faq-item:hover {
    box-shadow: var(--shadow-hover);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 25px;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-text);
    background: white;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--color-blue);
}

.faq-question.active {
    color: var(--color-blue);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-sub);
    transition: transform 0.3s;
    line-height: 1;
}

.faq-question.active .faq-icon {
    color: var(--color-blue);
    /* transform: rotate(45deg); Optional: if using + icon only */
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease-out, margin-top 0.3s ease;
    background: white;
}

.faq-answer p {
    color: var(--color-sub);
    font-size: 0.95rem;
    padding-bottom: 20px;
    line-height: 1.7;
}

/* Helper for nav active state */
.active-link {
    color: var(--color-blue) !important;
}

/* --- RTL Support --- */
html[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .container {
    text-align: inherit;
}

html[dir="rtl"] .text-center {
    text-align: center;
}

html[dir="rtl"] .lang-dropdown-content {
    right: auto;
    left: 0;
}

html[dir="rtl"] .hero-list li {
    text-align: right;
}

html[dir="rtl"] .check-icon {
    margin-left: 10px;
    margin-right: 0;
}

html[dir="rtl"] .pricing-features li {
    text-align: right;
}

html[dir="rtl"] .pricing-features li span {
    margin-left: 10px;
    margin-right: 0;
}

html[dir="rtl"] .footer-brand p {
    margin-left: auto;
    margin-right: 0;
}

html[dir="rtl"] .footer-links,
html[dir="rtl"] .footer-legal {
    text-align: right;
}

html[dir="rtl"] .arrow {
    margin-right: 5px;
    margin-left: 0;
}

/* Adjustments for specific components that use absolute positioning or margins */
html[dir="rtl"] .success-icon {
    margin-left: auto;
    margin-right: auto;
}

/* Fix for centered CTA badges in RTL */
html[dir="rtl"] .trust-badges {
    justify-content: center;
}

/* Ensure checkmarks in trust badges are on the right in RTL */
html[dir="rtl"] .trust-badges span {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 5px;
}

/* Mobile Menu RTL */
@media (max-width: 768px) {
    html[dir="rtl"] .nav-menu {
        right: auto;
        left: -100% !important;
    }

    html[dir="rtl"] .nav-menu.active {
        left: 0 !important;
    }
}

/* --- Comparison Slider --- */
.browser-frame {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
    border: 1px solid #e5e7eb;
    overflow: hidden;
    max-width: 100%;
    width: 100%;
    /* Force full width */
    display: block;
    /* Ensure block level */
}

.browser-header {
    background: #f3f4f6;
    padding: 12px 16px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid #e5e7eb;
}

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

.dot.red {
    background: #ef4444;
}

.dot.yellow {
    background: #f59e0b;
}

.dot.green {
    background: #10b981;
}

.comparison-container {
    position: relative;
    width: 100%;
    /* Aspect ratio matches typical screenshot size, adjusting to 16/10 aprox */
    aspect-ratio: 16/10;
    overflow: hidden;
    cursor: col-resize;
    user-select: none;
}

.image-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.image-layer img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* CHANGED: cover to fill effectively */
    object-position: top center;
    pointer-events: none;
    background: #f9fafb;
}

.image-layer.right {
    z-index: 1;
}

.image-layer.left {
    z-index: 2;
    width: 50%;
    border-right: 2px solid white;
}

/* Labels */
.label {
    position: absolute;
    top: 20px;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 4px;
    backdrop-filter: blur(4px);
    z-index: 5;
    pointer-events: none;
    letter-spacing: 0.5px;
}

.label.left-label {
    left: 20px;
}

.label.right-label {
    right: 20px;
}

/* Handle */
.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 40px;
    height: 100%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: col-resize;
    touch-action: none;
    /* Important for drag on mobile */
}

.handle-line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: white;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
}

.handle-button {
    width: 40px;
    height: 40px;
    background: var(--color-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    border: 2px solid white;
    z-index: 11;
}

.handle-button svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 600px) {
    .handle-button {
        width: 32px;
        height: 32px;
    }

    .label {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
}

/* Video Overlay & Play Button */
.video-container {
    position: relative;
    cursor: pointer;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease;
    z-index: 10;
}

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

.play-btn {
    width: 80px;
    height: 80px;
    background: var(--color-blue);
    opacity: 0.9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, background 0.2s;
}

.play-btn:hover {
    transform: scale(1.1);
    background: var(--color-blue);
    opacity: 1;
}

.play-icon {
    width: 30px;
    height: 30px;
    fill: white;
    margin-left: 4px;
    /* Optical adjustment */
}

/* Custom Video Controls */
.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 20;
}

.video-container:hover .video-controls,
.video-controls.visible {
    opacity: 1;
}

.control-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: white;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    transition: transform 0.2s;
}

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

.control-icon {
    width: 24px;
    height: 24px;
    fill: white;
}

.progress-container {
    flex-grow: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.progress-bar-filled {
    height: 100%;
    background: var(--color-blue);
    width: 0%;
    border-radius: 3px;
    transition: width 0.1s linear;
}

/* Hide native controls if they somehow persist */
video::-webkit-media-controls {
    display: none !important;
}

video::-webkit-media-controls-enclosure {
    display: none !important;
}