:root {
    --netflix-black: #141414;
    --netflix-red: #e50914;
    --netflix-white: #ffffff;
    --netflix-gray: #8c8c8c;
    --netflix-shadow: rgba(0, 0, 0, 0.3);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: linear-gradient(180deg, #141414 0%, #1A1A1A 100%);
    font-family: "Helvetica Neue", Arial, sans-serif;
    color: var(--netflix-white);
    overflow-x: hidden;
}

header {
    padding: 1.5rem 5%;
    background-color: var(--netflix-black);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: 120px;
    height: auto;
}

nav a {
    color: var(--netflix-gray);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s ease;
}

nav a:hover {
    color: var(--netflix-red);
}

/* Hero Section */

.hero {
    padding: 6rem 5% 3rem;
    text-align: center;
    position: relative;
    background: rgba(20, 20, 20, 0.5);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.hero .subtitle {
    font-size: 1.6rem;
    color: var(--netflix-gray);
    margin-bottom: 2rem;
}

.cta-button {
    background-color: var(--netflix-red);
    color: var(--netflix-white);
    padding: 1rem 3rem;
    border: none;
    border-radius: 6px;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.cta-button:hover {
    background-color: #c40812;
}

/* Intro Section */

.intro {
    padding: 3rem 5%;
    background: rgba(20, 20, 20, 0.85);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.intro p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--netflix-white);
    text-align: center;
}

/* Benefits Section */

.benefits {
    padding: 3rem 5%;
}

.benefits h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.benefit-item {
    background: rgba(20, 20, 20, 0.85);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.2s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    stroke: var(--netflix-red);
    width: 32px;
    height: 32px;
    margin-bottom: 1rem;
}

.benefit-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.benefit-item p {
    font-size: 1rem;
    color: var(--netflix-gray);
}

/* How It Works */

.how-it-works {
    padding: 3rem 5%;
    background: rgba(20, 20, 20, 0.85);
}

.how-it-works h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
}

.steps {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 250px;
    background: rgba(30, 30, 30, 0.9);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: left;
    transition: transform 0.2s ease;
}

.step:hover {
    transform: translateY(-5px);
}

.step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: var(--netflix-red);
    color: var(--netflix-white);
    border-radius: 50%;
    font-weight: 700;
    margin-bottom: 1rem;
}

.step h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.step p {
    font-size: 1rem;
    color: var(--netflix-gray);
}

/* Testimonial */

.testimonial {
    padding: 3rem 5%;
    text-align: center;
}

.testimonial h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.testimonial blockquote {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--netflix-white);
    margin-bottom: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(20, 20, 20, 0.85);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--netflix-red);
}

.testimonial cite {
    font-size: 1rem;
    color: var(--netflix-gray);
    font-style: normal;
}

/* FAQ */

.faq {
    padding: 3rem 5%;
    background: rgba(20, 20, 20, 0.85);
}

.faq h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
}

.faq-item {
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

.faq-question {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--netflix-white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(30, 30, 30, 0.9);
    border-radius: 6px;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: rgba(40, 40, 40, 0.9);
}

.faq-question .chevron {
    stroke: var(--netflix-gray);
    transition: transform 0.3s ease;
}

.faq-question.active .chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    font-size: 1rem;
    color: var(--netflix-gray);
    line-height: 1.6;
    padding: 0 1rem;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    max-height: 200px;
    padding: 1rem;
}

/* Loader Overlay */

.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 20, 20, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loader-content {
    text-align: center;
    background: rgba(20, 20, 20, 0.85);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px var(--netflix-shadow);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--netflix-gray);
    border-top: 4px solid var(--netflix-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loader-message {
    font-size: 1.2rem;
    color: var(--netflix-white);
}

/* Popup */

.popup {
    position: absolute;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 20, 20, 1);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border: 2px solid var(--netflix-red);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.3s ease;
}

.popup.show {
    display: block !important;
    opacity: 1 !important;
    transform: translateX(-50%) translateY(-5px);
}

#popup-message {
    font-size: 1.1rem;
    color: var(--netflix-white);
}

footer {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--netflix-black);
    color: var(--netflix-gray);
    font-size: 0.9rem;
}

footer a {
    color: var(--netflix-red);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .hero {
        padding: 5.5rem 3% 2rem;
        /* Increased padding-top to clear header */
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero .subtitle {
        font-size: 1.3rem;
    }
    .cta-button {
        font-size: 1.2rem;
        padding: 0.8rem 2rem;
    }
    .intro {
        padding: 2rem 3%;
    }
    .intro p {
        font-size: 1rem;
    }
    .benefits {
        padding: 2rem 3%;
    }
    .benefits h2 {
        font-size: 2rem;
    }
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    .benefit-item {
        padding: 1rem;
    }
    .benefit-icon {
        width: 28px;
        height: 28px;
    }
    .benefit-item h3 {
        font-size: 1.2rem;
    }
    .benefit-item p {
        font-size: 0.9rem;
    }
    .how-it-works {
        padding: 2rem 3%;
    }
    .how-it-works h2 {
        font-size: 2rem;
    }
    .steps {
        flex-direction: column;
        gap: 1rem;
    }
    .step {
        min-width: 100%;
    }
    .step-number {
        width: 35px;
        height: 35px;
        line-height: 35px;
    }
    .step h3 {
        font-size: 1.2rem;
    }
    .step p {
        font-size: 0.9rem;
    }
    .testimonial {
        padding: 2rem 3%;
    }
    .testimonial h2 {
        font-size: 2rem;
    }
    .testimonial blockquote {
        font-size: 1.1rem;
        padding: 1.5rem;
    }
    .testimonial cite {
        font-size: 0.9rem;
    }
    .faq {
        padding: 2rem 3%;
    }
    .faq h2 {
        font-size: 2rem;
    }
    .faq-question {
        font-size: 1.2rem;
        padding: 0.8rem;
    }
    .faq-answer.active {
        max-height: 300px;
        padding: 0.8rem;
    }
    .loader-content {
        padding: 1.5rem;
    }
    .spinner {
        width: 30px;
        height: 30px;
        border-width: 3px;
    }
    .loader-message {
        font-size: 1rem;
    }
    .popup {
        top: 80px;
        /* Adjusted to stay below headline */
        padding: 0.8rem 1.2rem;
    }
    #popup-message {
        font-size: 0.95rem;
    }
    footer {
        font-size: 0.8rem;
    }
}