:root {
    --primary: #F24602;
    --primary-soft: #FF7311;
    --black-0: #000000;
    --black-50: #202020;
    --black-80: #26252B;
    --black-99: #302F36;
    --gray: #C0C0C0;
    --white: #FCFCFC;
    
    --font-main: 'Outfit', 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--black-50);
    color: var(--white);
    overflow: hidden; /* Prevent body scroll, container handles it */
}

/* Video Background */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

/* Scroll Container */
.scroll-container {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scrollbar-width: none; /* Hide scrollbar Firefox */
}

.scroll-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari */
}

.snap-section {
    height: 100vh;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
    transition: background-color 0.5s ease;
}

.hero-section {
    background-color: rgba(48, 47, 54, 0.4);
}

.dark-70 { background-color: rgba(38, 37, 43, 0.7); }
.dark-80 { background-color: rgba(48, 47, 54, 0.7); }

.content-wrapper {
    max-width: 800px;
    width: 100%;
    text-align: center;
}

/* Hero Section */
.hero-title {
    font-size: 5rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
}

.animate-hero {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    animation: fadeInUpScale 1.8s forwards cubic-bezier(0.19, 1, 0.22, 1);
}

.hero-subtitle.animate-hero {
    animation-delay: 0.2s;
}

.cta-container.animate-hero {
    animation-delay: 0.4s;
    margin-top: 3rem;
}

@keyframes fadeInUpScale {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Section Features */
.section-title {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    line-height: 1.25;
}

.section-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--gray);
    margin-bottom: 2rem;
}

.section-description {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    word-break: keep-all;
}

.highlight {
    color: var(--primary);
    font-weight: 400;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.5rem 2.5rem;
    font-family: var(--font-main);
    font-size: 0.875rem;
    font-weight: 300;
    letter-spacing: 4px;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

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

/* Player Controls */
.player-controls {
    margin-top: 3rem;
}

.play-btn {
    background: transparent;
    border: none;
    color: var(--white);
    width: 80px;
    height: 80px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

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

.player-hint {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--gray);
    letter-spacing: 1px;
}

/* Pricing Info */
.pricing-info {
    margin-top: 3rem;
}

.pricing-hint {
    margin-bottom: 2rem;
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--gray);
    letter-spacing: 1px;
}

/* Side Navigation Indicators */
.side-nav {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.side-nav ul {
    list-style: none;
}

.nav-dot {
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    margin: 12px 0;
    transition: all 0.4s ease;
    cursor: pointer;
}

.nav-dot.active {
    height: 20px;
    background: rgba(255, 255, 255, 1);
}

/* Modal Styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: env(safe-area-inset-top, 20px) 20px env(safe-area-inset-bottom, 20px) 20px;
    overflow-y: auto; /* Allow overlay to scroll if modal is too tall */
}

.modal-content {
    background-color: var(--black-80);
    border: 0.5px solid var(--primary);
    padding: 40px;
    max-width: 600px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    margin: auto; /* Center horizontally and vertically if fits */
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.modal-tag {
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 4px;
}

.close-btn {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 8px;
}

.modal-subtitle {
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--gray);
    margin-bottom: 48px;
}

.comparison-table {
    margin-bottom: 64px;
}

.comparison-row {
    display: flex;
    align-items: baseline;
    gap: 20px;
}

.comparison-row .label {
    flex: 2;
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--gray);
}

.comparison-row .herz, .comparison-row .others {
    flex: 3;
}

.comparison-row .brand {
    font-size: 0.625rem;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 8px;
}

.comparison-row .herz .brand { color: var(--primary); }
.comparison-row .others .brand { color: rgba(255, 255, 255, 0.2); }

.price-val {
    font-size: 1.375rem;
    font-weight: 400;
}

.price-val span {
    font-size: 0.75rem;
    font-weight: 300;
    margin-left: 4px;
}

.comparison-row .others .price-val { color: rgba(255, 255, 255, 0.2); }

.divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 16px 0;
}

.comparison-row.total .label {
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
}

.comparison-row.total .price-val {
    font-size: 1.75rem;
}

.comparison-row.total .herz .price-val { color: var(--primary); }

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

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-title { font-size: 3rem; }
    .hero-subtitle { font-size: 1.125rem; }
    .section-title { font-size: 2rem; }
    .section-subtitle { font-size: 1rem; }
    
    .btn { padding: 1rem 2rem; font-size: 0.75rem; }
    
    .modal-overlay {
        align-items: flex-start; /* Start from top on mobile */
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .modal-content { 
        padding: 30px 20px; 
    }
    .modal-title { font-size: 1.25rem; }
    .modal-subtitle { margin-bottom: 24px; }
    .comparison-table { margin-bottom: 32px; }

    .comparison-row { 
        flex-direction: column; 
        gap: 12px; /* Reduced gap for better vertical space */
        align-items: flex-start;
    }
    .comparison-row .label { margin-bottom: 4px; }
    .comparison-row .herz, .comparison-row .others { width: 100%; }

    .price-val { font-size: 1.25rem; }
    .comparison-row.total .price-val { font-size: 1.5rem; }
}
