/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c2c2c;
    --secondary-color: #f5f5f5;
    --accent-gold: #d4a574;
    --accent-gold-light: #e8d5b7;
    --terracotta: #c17a5a;
    --terracotta-light: #d4906f;
    --orange: #ff8c42;
    --orange-light: #ffa366;
    --text-dark: #2c2c2c;
    --text-light: #666;
    --white: #ffffff;
    --light-bg: #faf9f7;
    --beige-bg: #f5f3f0;
    --cream-accent: #e8d5b7;
    --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-heavy: 0 20px 60px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --border-radius-large: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--beige-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 1px 1px, rgba(0,0,0,0.05) 1px, transparent 0);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: -1;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: var(--transition);
}

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

.nav-cta .btn-secondary {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.nav-cta .btn-secondary:hover {
    background: var(--text-dark);
    transform: translateY(-2px);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--terracotta), var(--terracotta-light));
    color: var(--white);
    border: none;
    padding: 15px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-light);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    background: linear-gradient(135deg, var(--terracotta-light), var(--terracotta));
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 13px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--text-light);
    color: var(--white);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-background-pattern {
    width: 100%;
    height: 100%;
    background: var(--beige-bg);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(245, 243, 240, 0.3), rgba(250, 249, 247, 0.1));
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: var(--primary-color);
    max-width: 800px;
    padding: 0 20px;
    z-index: 1;
}

.hero-headline {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-headline .highlight {
    background: linear-gradient(135deg, var(--accent-gold), var(--cream-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--accent-gold); /* Fallback for browsers that don't support background-clip: text */
}

.hero-subheadline {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: var(--text-light);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Sections */
.section {
    padding: 80px 0;
    position: relative;
}

.section-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-cta {
    margin-top: 2rem;
}

/* Problem Section */
.problem-section {
    background: var(--white);
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.problem-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.problem-text .highlight-text {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.2rem;
}

.problem-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #B87333;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Solution Section */
.solution-section {
    background: var(--light-bg);
}

.solution-demo {
    margin-top: 3rem;
}

.demo-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.demo-placeholder,
.demo-result {
    width: 300px;
    height: 300px;
    background: var(--white);
    border-radius: var(--border-radius-large);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* Override for slideshow container */
.demo-placeholder.slideshow-container {
    display: block !important;
    flex-direction: initial !important;
    align-items: initial !important;
    justify-content: initial !important;
    padding: 0 !important;
}

.demo-placeholder:hover,
.demo-result:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.demo-placeholder i,
.demo-result i {
    font-size: 3rem;
    color: var(--orange);
    margin-bottom: 1rem;
}

.result-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--border-radius-large);
}

.demo-arrow {
    font-size: 2rem;
    color: var(--orange);
    font-weight: bold;
}

/* Slideshow Styles */
.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--light-bg);
}

/* New clean slideshow container */
.image-slideshow {
    width: 300px;
    height: 300px;
    background: var(--white);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
    display: block;
}

.slideshow-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    border-radius: var(--border-radius-large) !important;
    opacity: 0 !important;
    transition: opacity 0.5s ease-in-out !important;
    display: block !important;
    visibility: visible !important;
    z-index: 1 !important;
}

.slide.active {
    opacity: 1 !important;
    z-index: 2 !important;
}

.slideshow-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 10;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--orange);
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Features Section */
.features-section {
    background: var(--white);
}

.features-section .feature-icon {
    background: linear-gradient(135deg, #B87333, #D19A66);
    color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* E-Commerce Section */
.ecommerce-section {
    background: var(--light-bg);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem auto;
    max-width: 600px;
    width: 100%;
    justify-items: center;
}

.benefit-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    text-align: center;
    width: 100%;
    min-height: 80px;
}

.benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.benefit-text h4 {
    font-weight: 600;
    color: var(--primary-color);
}

/* Impact Section */
.impact-section {
    background: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--terracotta), var(--terracotta-light));
    color: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-large);
    text-align: center;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
}

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

.stat-card .stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--white);
}

.stat-card .stat-label {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

/* Demo Section */
.demo-section {
    background: var(--light-bg);
}

.demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.demo-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    text-align: center;
}

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

.demo-thumbnail {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #B87333, #D19A66);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.demo-thumbnail:hover {
    transform: scale(1.1);
}

.demo-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.demo-card p {
    color: var(--text-light);
}

/* About Section */
.about-section {
    background: var(--white);
}

/* Kiosk Section */
.kiosk-section {
    background: var(--white);
}

.kiosk-grid {
    display: grid;
    grid-template-columns: 4fr 2fr;
    gap: 2rem;
    align-items: start;
    margin-top: 1rem;
}

.kiosk-section .section-title {
    color: var(--primary-color);
}

.kiosk-left {
    background: var(--light-bg);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    min-height: 420px; /* matches desktop kiosk image height */
}

.kiosk-left .section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 0.25rem 0;
}

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

.kiosk-image {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 420px;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-medium);
    background: var(--light-bg);
    margin: 1rem auto 0;
    display: block;
}

@media (max-width: 768px) {
    .kiosk-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .kiosk-image {
        max-height: 300px;
    }
    .kiosk-left {
        min-height: 300px;
    }
    .kiosk-left .section-title {
        font-size: clamp(2rem, 4vw, 3rem);
    }
}

/* Pitch Section */
.pitch-section {
    background: linear-gradient(135deg, var(--primary-color), #2c2c2c);
    color: var(--white);
}

.pitch-section .section-title {
    color: var(--white);
}

.pitch-section .section-description {
    color: rgba(255, 255, 255, 0.8);
}

.pitch-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
    align-items: center;
}

.pitch-cta .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.pitch-cta .btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* Contact Section */
.contact-section {
    background: var(--light-bg);
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    color: var(--text-light);
}

.contact-item i {
    color: var(--orange);
    font-size: 1.2rem;
}

.contact-form {
    max-width: 500px;
    margin: 3rem auto 0;
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-medium);
}

.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--orange);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--orange);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .problem-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .demo-preview {
        flex-direction: column;
    }
    
    .demo-arrow {
        transform: rotate(90deg);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .demo-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .pitch-cta {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .feature-card,
    .demo-card,
    .contact-form {
        padding: 1.5rem;
    }
    
    .stat-card {
        padding: 2rem;
    }
}

/* Smooth Scrolling - Safari compatible */
html {
    scroll-behavior: smooth;
}

/* Safari-specific fixes */
@supports (-webkit-appearance: none) {
    .hero-video {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    .navbar {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    .section {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

/* Fix for Safari flexbox issues */
.hero-cta {
    display: -webkit-flex;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.features-grid {
    display: -webkit-grid;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Fix Safari backdrop-filter support */
@supports not (backdrop-filter: blur(20px)) {
    .navbar {
        background: rgba(255, 255, 255, 0.98) !important;
    }
    
    .modal-backdrop {
        background: rgba(0, 0, 0, 0.6) !important;
    }
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-content {
    animation: fadeInUp 0.8s ease-out;
}

/* Hover Effects */
.feature-card,
.demo-card,
.stat-card,
.benefit-item {
    cursor: pointer;
}

/* Focus States for Accessibility */
button:focus,
input:focus,
textarea:focus,
a:focus {
    outline: 2px solid var(--cream-accent);
    outline-offset: 2px;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 420px;
    margin: 10vh auto 0;
    background: var(--white);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-heavy);
    padding: 1.5rem;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-content h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.modal-body a {
    color: var(--orange);
    text-decoration: none;
}

.modal-body a:hover {
    text-decoration: underline;
}

/* Wide modal for video carousel */
.modal-content.wide {
    width: 95%;
    max-width: 1100px;
}

.video-carousel {
    position: relative;
    margin-top: 1rem;
}

.carousel-viewport {
    overflow: hidden;
    width: 100%;
}

/* One-at-a-time slider */
.carousel-track {
    display: flex;
    width: 100%;
    transition: transform 0.4s ease;
}

.carousel-item {
    flex: 0 0 100%;
    max-width: 100%;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    padding: 0.5rem;
}

.carousel-item video {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--border-radius);
    background: #000;
}

.video-caption {
    margin-top: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 5;
}

.carousel-arrow.left { left: 8px; }
.carousel-arrow.right { right: 8px; }

@media (max-width: 900px) {
    .carousel-item video { height: 240px; }
}
