/* Cinevium - Dark Theme Styles */

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: rgba(26, 26, 37, 0.85);
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --accent: #f59e0b;
    --accent-hover: #fbbf24;
    --accent-glow: rgba(245, 158, 11, 0.4);
    --border: rgba(255, 255, 255, 0.1);
    --success: #22c55e;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Backdrop Slideshow */
.backdrop-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.backdrop-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    filter: brightness(0.4) saturate(1.2);
    transition: opacity 2s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.backdrop-slide.active {
    opacity: 1;
}

@keyframes kenBurns {
    0% { transform: scale(1) translateX(0); }
    100% { transform: scale(1.08) translateX(-2%); }
}

.backdrop-slide {
    animation: kenBurns 20s ease-in-out infinite alternate;
}

.vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        ellipse at center,
        transparent 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.95) 100%
    );
    pointer-events: none;
    z-index: 2;
}

.gradient-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20%;
    background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, transparent 100%);
    pointer-events: none;
    z-index: 3;
}

.gradient-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, transparent 100%);
    pointer-events: none;
    z-index: 3;
}

.container {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 0 60px;
}

.logo-container {
    text-align: center;
    margin-bottom: 24px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 0;
    transform: translateX(-34px);
}

.logo-icon {
    width: 72px;
    height: 72px;
    filter: drop-shadow(0 0 30px rgba(245, 158, 11, 0.5));
    animation: iconPulse 4s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(245, 158, 11, 0.4));
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 0 40px rgba(245, 158, 11, 0.7));
        transform: scale(1.05);
    }
}

.logo-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 84px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #fff 0%, #f59e0b 30%, #fff 50%, #f59e0b 70%, #fff 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logoShimmer 4s ease-in-out infinite;
    filter: drop-shadow(0 0 40px rgba(245, 158, 11, 0.4));
    margin: 0;
    line-height: 1;
}

.logo-text .tm {
    font-size: 0.45em;
    vertical-align: 1.2em;
    letter-spacing: 0;
}

@keyframes logoShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.logo-underline {
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    margin: 2px auto 0;
    max-width: 400px;
    animation: underlinePulse 2s ease-in-out infinite;
    transform: translateX(-34px);
}

@keyframes underlinePulse {
    0%, 100% { opacity: 0.5; transform: scaleX(0.8); }
    50% { opacity: 1; transform: scaleX(1); }
}

.slogan {
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
    margin-top: 6px;
    margin-bottom: 50px;
}

.tagline {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 24px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.description {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 22px;
    font-weight: 400;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #000;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 3px 15px var(--accent-glow);
}

.download-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px var(--accent-glow);
}

.btn-icon {
    font-size: 20px;
}

.trial-note {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 16px;
}

/* Nav Cards Preview */
.nav-cards-preview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 48px;
    margin-bottom: 48px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.nav-card-preview {
    position: relative;
}

.nav-card-preview .card-inner {
    width: 100%;
    height: 180px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.nav-card-preview .card-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
    animation: shineMove 8s ease-in-out infinite;
}

.nav-card-preview:nth-child(1) .card-shine { animation-delay: 0s; }
.nav-card-preview:nth-child(2) .card-shine { animation-delay: 2s; }
.nav-card-preview:nth-child(3) .card-shine { animation-delay: 4s; }
.nav-card-preview:nth-child(4) .card-shine { animation-delay: 6s; }

@keyframes shineMove {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

.nav-card-preview .card-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px;
    z-index: 2;
}

.nav-card-preview .card-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 14px;
}

.nav-card-preview .card-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.5;
    fill: none;
}

.nav-card-preview.movies .card-icon svg { stroke: #e50914; filter: drop-shadow(0 0 15px #e50914); }
.nav-card-preview.vault .card-icon svg { stroke: #ffd700; filter: drop-shadow(0 0 15px #ffd700); }
.nav-card-preview.tv .card-icon svg { stroke: #00d4ff; filter: drop-shadow(0 0 15px #00d4ff); }
.nav-card-preview.music .card-icon svg { stroke: #ff00aa; filter: drop-shadow(0 0 15px #ff00aa); }

.nav-card-preview .card-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.nav-card-preview.movies .card-title { color: #e50914; }
.nav-card-preview.vault .card-title { color: #ffd700; }
.nav-card-preview.tv .card-title { color: #00d4ff; }
.nav-card-preview.music .card-title { color: #ff00aa; }

.nav-card-preview .card-subtitle {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-secondary);
}

.nav-card-preview .card-glow-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    border-radius: 0 0 24px 24px;
    animation: glowPulse 2s ease-in-out infinite;
}

.nav-card-preview.movies .card-glow-bar { background: #e50914; box-shadow: 0 0 20px #e50914, 0 0 40px #e50914; }
.nav-card-preview.vault .card-glow-bar { background: #ffd700; box-shadow: 0 0 20px #ffd700, 0 0 40px #ffd700; }
.nav-card-preview.tv .card-glow-bar { background: #00d4ff; box-shadow: 0 0 20px #00d4ff, 0 0 40px #00d4ff; }
.nav-card-preview.music .card-glow-bar { background: #ff00aa; box-shadow: 0 0 20px #ff00aa, 0 0 40px #ff00aa; }

@keyframes glowPulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.nav-card-preview .coming-soon-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 3px 8px;
    border-radius: 8px;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    z-index: 3;
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 60px 0;
    border-top: 1px solid var(--border);
}

/* Accordion Sections */
.accordions {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 700px;
    margin: 0 auto;
}

.accordion {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.accordion-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
    list-style: none;
    transition: background 0.2s ease;
}

.accordion-header::-webkit-details-marker {
    display: none;
}

.accordion-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

.accordion-icon {
    font-size: 24px;
}

.accordion-title {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
}

.accordion-arrow {
    font-size: 18px;
    color: var(--text-secondary);
    transition: transform 0.3s ease;
}

.accordion[open] .accordion-arrow {
    transform: rotate(180deg);
}

.accordion-content {
    padding: 0 24px 24px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Features List (inside accordion) */
.features-list {
    max-height: 500px;
    overflow-y: auto;
}

.features-list::-webkit-scrollbar {
    width: 6px;
}

.features-list::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 3px;
}

.features-list::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 3px;
}

.feature-section {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.feature-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.feature-section h4 {
    color: var(--accent);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-section h5 {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    margin-top: 16px;
    margin-bottom: 8px;
}

.feature-section h5:first-of-type {
    margin-top: 0;
}

.feature-section p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 10px;
}

.feature-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-section ul li {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.feature-section ul li::before {
    content: "•";
    color: var(--accent);
    position: absolute;
    left: 0;
}

.feature-section ul li strong {
    color: var(--text-primary);
}

.feature-section .feature-closing {
    margin-top: 16px;
    margin-bottom: 0;
    color: var(--accent);
    font-style: italic;
}

.feature {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 32px 24px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.feature-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 16px;
}

.feature h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Requirements List (inside accordion) */
.req-list {
    list-style: none;
}

.req-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
}

.req-list li:last-child {
    border-bottom: none;
}

.check {
    color: var(--success);
    font-weight: bold;
    font-size: 18px;
}

/* Installation Steps (inside accordion) */
.steps {
    max-width: 100%;
}

.step {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.step:last-child {
    border-bottom: none;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--accent);
    color: #000;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 600;
    flex-shrink: 0;
}

.step p {
    flex: 1;
    min-width: 200px;
    padding-top: 2px;
    font-size: 15px;
}

.step code {
    display: block;
    width: 100%;
    margin-left: 42px;
    margin-top: 10px;
    background: var(--bg-secondary);
    padding: 10px 14px;
    border-radius: 8px;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 13px;
    color: var(--accent-hover);
    border: 1px solid var(--border);
    overflow-x: auto;
}

/* Download Section */
.download-section {
    padding: 50px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

/* Turnkey Solutions CTA */
.turnkey-cta {
    padding: 40px 0;
    max-width: 700px;
    margin: 0 auto;
}

.turnkey-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(26, 26, 37, 0.9) 100%);
    border: 1px solid var(--accent);
    border-radius: 16px;
    padding: 24px 28px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.15);
}

.turnkey-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.turnkey-content {
    flex: 1;
}

.turnkey-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.turnkey-content p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.turnkey-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent);
    color: #000;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.turnkey-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px var(--accent-glow);
}

@media (max-width: 768px) {
    .turnkey-box {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 20px;
    }

    .turnkey-content {
        order: 2;
    }

    .turnkey-icon {
        order: 1;
    }

    .turnkey-btn {
        order: 3;
    }
}

/* Contact Section */
.contact {
    padding: 60px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

.contact h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 16px;
}

.contact p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.email-link {
    display: inline-block;
    color: var(--accent);
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.email-link:hover {
    color: var(--accent-hover);
}

/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 900px) {
    .nav-cards-preview {
        grid-template-columns: repeat(2, 1fr);
        max-width: 450px;
    }

    .nav-card-preview .card-inner {
        height: 160px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 0 40px;
    }

    .logo-text {
        font-size: 56px;
    }

    .logo-icon {
        width: 56px;
        height: 56px;
    }

    .slogan {
        font-size: 14px;
        letter-spacing: 0.2em;
    }

    .tagline {
        font-size: 18px;
    }

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

    .feature {
        padding: 24px 20px;
    }

    .download-btn {
        padding: 14px 28px;
        font-size: 16px;
    }

    .step code {
        margin-left: 0;
        width: 100%;
    }

    .contact h2 {
        font-size: 24px;
    }

    .accordion-header {
        padding: 16px 20px;
    }

    .accordion-title {
        font-size: 16px;
    }

    .accordion-content {
        padding: 0 20px 20px;
    }

    .nav-cards-preview {
        gap: 14px;
        margin-top: 36px;
        margin-bottom: 36px;
    }

    .nav-card-preview .card-inner {
        height: 140px;
    }

    .nav-card-preview .card-icon {
        width: 44px;
        height: 44px;
    }

    .nav-card-preview .card-title {
        font-size: 1.4rem;
    }

    .nav-card-preview .card-subtitle {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .logo {
        flex-direction: column;
        gap: 12px;
    }

    .logo-icon {
        width: 48px;
        height: 48px;
    }

    .logo-text {
        font-size: 42px;
    }

    .slogan {
        font-size: 12px;
    }

    .description {
        font-size: 15px;
    }

    .nav-cards-preview {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .nav-card-preview .card-inner {
        height: 120px;
        border-radius: 16px;
    }

    .nav-card-preview .card-icon {
        width: 36px;
        height: 36px;
        margin-bottom: 8px;
    }

    .nav-card-preview .card-title {
        font-size: 1.1rem;
    }

    .nav-card-preview .card-subtitle {
        font-size: 0.7rem;
    }
}
