@import 'marquee.css';

:root {
    --bg-color: #000000;
    --bg-secondary: #0f0f0f;
    --card-bg: #141414;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --accent-color: #E91E63;
    /* Pink/Fuchsia */
    --accent-hover: #C2185B;
    --success: #00e676;
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-glow: 0 0 20px rgba(233, 30, 99, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    text-transform: uppercase;
    letter-spacing: -1px;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
}

.highlight {
    color: var(--accent-color);
    text-shadow: 0 0 15px rgba(233, 30, 99, 0.4);
}

.text-gradient {
    background: linear-gradient(to right, #fff, var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Layout */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 80px 0;
    position: relative;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 8px;
    /* Slightly rounded per described image */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 10px;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    box-shadow: 0 4px 20px rgba(233, 30, 99, 0.4);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.6);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: white;
}

.btn-outline:hover {
    background: var(--accent-color);
}

/* Header */
header {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-color);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    /* Header height */
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9)), url('../images/hero_bg.webp');
    /* Placeholder, ensures readability */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 800px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-features {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.hero-feature-item i {
    color: var(--accent-color);
}

/* Stats / Trust Bar */
.trust-bar {
    background: var(--bg-secondary);
    padding: 40px 0;
    border-bottom: 1px solid var(--glass-border);
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.stat-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Gallery / Content Showcase */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
    margin-top: 40px;
}

.poster-card {
    border-radius: 8px;
    /* Described image style */
    overflow: hidden;
    position: relative;
    aspect-ratio: 2/3;
    transition: var(--transition);
    border: 1px solid #333;
}

.poster-card:hover {
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--accent-color);
}

/* Pricing Section */
.pricing-section {
    background: var(--bg-secondary);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.price-card {
    background: var(--card-bg);
    border: 1px solid #333;
    border-radius: 16px;
    padding: 40px 30px;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.price-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-glow);
}

.price-card.popular {
    border-color: var(--accent-color);
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
}

.badge-popular {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: white;
    padding: 5px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.price-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: white;
}

.price-period {
    font-size: 1rem;
    color: var(--text-secondary);
}

.price-features {
    margin-bottom: 30px;
    flex-grow: 1;
}

.price-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: #ddd;
}

.price-features li i {
    color: var(--accent-color);
}

/* Features Grid (Why Choose Us) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-box {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #222;
    transition: var(--transition);
}

.feature-box:hover {
    border-color: var(--accent-color);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.feature-box h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.feature-box p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Speed / Banner Section */
.speed-banner {
    background: radial-gradient(circle at center, #222, #000);
    text-align: center;
    padding: 100px 0;
    overflow: hidden;
}

.speed-content {
    position: relative;
    z-index: 2;
}

.speed-meter {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    background: var(--card-bg);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid #222;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #1f1f1f;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    color: var(--text-secondary);
}

.faq-item.active .faq-answer {
    padding: 20px;
    padding-top: 0;
    max-height: 200px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Footer */
footer {
    background: #050505;
    padding: 80px 0 30px;
    border-top: 1px solid #222;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.payment-icons {
    display: flex;
    gap: 15px;
    font-size: 2rem;
    color: #fff;
    opacity: 0.7;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #222;
    padding-top: 30px;
    color: #666;
    font-size: 0.9rem;
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
        /* Better fit for small screens */
    }

    /* Premium Mobile Menu */
    .nav-links {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(15px);
        /* Strong glassmorphism */
        -webkit-backdrop-filter: blur(15px);
        transform: translateY(-100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        padding: 100px 30px 30px;
        z-index: 999;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }

    /* Stagger animation for menu items */
    .nav-links.active li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-links.active li:nth-child(2) {
        transition-delay: 0.2s;
    }

    .nav-links.active li:nth-child(3) {
        transition-delay: 0.3s;
    }

    .nav-links.active li:nth-child(4) {
        transition-delay: 0.4s;
    }

    .nav-links a {
        font-size: 1.5rem;
        font-weight: 600;
        display: block;
        padding: 10px;
    }

    /* Mobile Menu Toggle */
    .menu-toggle {
        display: block;
        color: white;
        z-index: 1001;
        /* Above the menu overlay */
        position: relative;
        font-size: 1.8rem;
    }

    /* Typography & Spacing on Mobile */
    h2 {
        font-size: 1.8rem;
    }

    p {
        font-size: 1rem;
    }

    section {
        padding: 50px 0;
        /* Reduced padding */
    }

    .container {
        padding: 0 20px;
    }

    .hero {
        text-align: center;
        padding-top: 120px;
        background-attachment: scroll;
        /* Performance fix for mobile */
        min-height: auto;
        padding-bottom: 60px;
    }

    .hero-content {
        align-items: center;
    }

    .hero-features {
        justify-content: center;
        margin-top: 40px;
    }

    .stats-grid {
        gap: 30px;
    }

    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Carousel Mobile Optimization */
    .carousel-wrapper {
        padding: 0 10px;
        /* Reduced side padding */
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
}

/* Carousel Styles */
.carousel-wrapper {
    position: relative;
    padding: 0 50px;
    margin: 50px auto;
}

.carousel-viewport {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    flex: 0 0 calc((100% - (20px * 4)) / 5);
    /* 5 items visible */
    min-width: calc((100% - (20px * 4)) / 5);
    transition: transform 0.3s ease;
}

.carousel-item img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    aspect-ratio: 2/3;
    object-fit: cover;
    border: 1px solid #333;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.carousel-item:hover {
    transform: scale(1.05);
    z-index: 2;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    border: 1px solid var(--accent-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.carousel-btn:hover {
    background: var(--accent-color);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

@media (max-width: 1200px) {
    .carousel-item {
        flex: 0 0 calc((100% - (20px * 3)) / 4);
        min-width: calc((100% - (20px * 3)) / 4);
    }
}

@media (max-width: 900px) {
    .carousel-item {
        flex: 0 0 calc((100% - (20px * 2)) / 3);
        min-width: calc((100% - (20px * 2)) / 3);
    }
}

@media (max-width: 600px) {
    .carousel-item {
        flex: 0 0 calc((100% - 20px) / 2);
        min-width: calc((100% - 20px) / 2);
    }
}