@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

:root {
    --primary-red: #e50914;
    --dark-bg: #000000;
    --gray-text: #b3b3b3;
    --gray-border: #232323;
    --input-bg: rgba(22, 22, 22, 0.7);
    --btn-hover: #c11119;
}

* {
    margin: 0;
    padding: 0;
    font-family: 'Martel Sans', sans-serif;
    /* Netflix uses a custom font, sticking to sans-serif generic or Poppins if preferred, but usually system fonts work better for clones */
    box-sizing: border-box;
}

body {
    background-color: var(--dark-bg);
    color: white;
}

.main {
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.8) 100%),
        url(assest/images/bg.jpg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 100vh;
    position: relative;
}

.main .box {
    display: none;
    /* Removing the old opacity box method */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
    /* More breathing room */
    z-index: 10;
    position: relative;
}

nav div {
    display: flex;
    align-items: center;
    gap: 10px;
}

nav img {
    width: 148px;
    /* Slightly smaller logo */
    height: auto;
    display: block;
}

.hero {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    position: relative;
    gap: 20px;
    padding: 0 20px;
    text-align: center;
    margin-top: -60px;
    /* Pull it up slightly due to navbar */
}

.hero> :first-child {
    font-weight: 900;
    font-size: 3rem;
    /* Responsive sizing */
    line-height: 1.1;
    max-width: 640px;
}

.hero> :nth-child(2) {
    font-weight: 500;
    font-size: 1.5rem;
    margin-top: 10px;
}

.hero> :nth-child(3) {
    font-weight: 400;
    font-size: 1.25rem;
    margin-top: 10px;
}



.separation {
    height: 8px;
    background-color: var(--gray-border);
    border: none;
    position: relative;
}

/* Removing old separator styles */

.hero-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 15px;
    flex-wrap: wrap;
}

.btn {
    padding: 3px 8px;
    font-weight: 400;
    color: white;
    background-color: rgba(23, 23, 23, 0.5);
    border: 1px solid rgba(202, 185, 185, 0.5);
    border-radius: 4px;
    cursor: pointer;
}

.btn-eng {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    font-weight: 500;
}

.btn-red {
    background-color: var(--primary-red);
    color: white;
    padding: 12px 24px;
    font-size: 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
}

.btn-red:hover {
    background-color: var(--btn-hover);
}

.btn-red-sm {
    background-color: var(--primary-red);
    color: white;
    border: none;
    font-weight: 500;
    padding: 7px 17px;
    border-radius: 4px;
    cursor: pointer;
}

.main input {
    padding: 16px;
    width: 370px;
    max-width: 100%;
    font-size: 1rem;
    border-radius: 4px;
    background-color: var(--input-bg);
    border: 1px solid rgba(128, 128, 128, 0.7);
    color: white;
}

/* Focus state for input */
.main input:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

.first {
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    margin: auto;
    width: 70vw;
}

.secImg {
    position: relative;
}

.secImg img {
    width: 30vw;
    position: relative;
    z-index: 10;
}

.secImg video {
    position: absolute;
    top: 70px;
    right: 0;
    width: 26vw;
}

section .first>div {
    display: flex;
    flex-direction: column;
}

section.first>div :nth-child(1) {
    font-size: 48px;
    font-weight: bolder;
}

section.first>div :nth-child(2) {
    font-size: 24px;

}

.seperation1 {
    height: 5px;
    background-color: rgb(47, 47, 47);
}

.third .secImg video {
    top: 60px;
}

/* .features {
    padding: 60px 40px;
    background-color: #000;
    color: white;
    font-family: 'Segoe UI', sans-serif;
}

.features h2 {
    font-size: 28px;
    margin-bottom: 30px;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.card {
    background: linear-gradient(135deg, #1f0036, #1a0b4d);
    border-radius: 20px;
    padding: 20px;
    width: 100%;
    max-width: 300px;
    flex: 1;
    position: relative;
    min-height: 250px;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.05);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.card p {
    font-size: 14px;
    line-height: 1.4;
}

.card .icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(255, 0, 255, 0.5));
} */
.faq {
    background-color: black;
    color: white;
    padding: 72px 0;
}

.faq h2 {
    text-align: center;
    font-weight: 700;
    font-size: 3rem;
    /* Bigger heading as per refined design */
    margin-bottom: 24px;
}

.faqbox {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #2d2d2d;
    padding: 24px;
    width: 100%;
    /* Use max-width to control */
    max-width: 1100px;
    /* Wider FAQ */
    margin: 8px auto;
    /* Tighter gap */
    font-size: 1.5rem;
    cursor: pointer;
    transition: background-color 0.2s cubic-bezier(0.5, 0, 0.1, 1);
    user-select: none;
}

.faqbox:hover {
    background-color: #414141;
}

.faqbox svg {
    transition: transform 0.2s cubic-bezier(0.5, 0, 0.1, 1);
}

/* Villain section (Bottom CTA) */
.villain {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 50px auto;
    color: white;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.villain span {
    font-size: 1.2rem;
}

.villain input {
    padding: 16px;
    width: 370px;
    max-width: 100%;
    font-size: 1rem;
    border-radius: 4px;
    background-color: var(--input-bg);
    border: 1px solid rgba(128, 128, 128, 0.7);
    color: white;
}

footer {
    color: rgba(255, 255, 255, 0.7);
    max-width: 1000px;
    margin: 0 auto;
    padding: 70px 45px;
    background-color: black;
    /* Ensure footer background matches */
}

footer .questions {
    padding-bottom: 30px;
    font-size: 1rem;
}

.questions span {
    text-decoration: underline;
    cursor: pointer;
}

.footer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 15px;
    font-size: 0.9rem;
}

.footer-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-item a {
    color: var(--gray-text);
    text-decoration: underline;
    font-size: 0.9rem;
}

.footerbtn-eng {
    margin-top: 20px;
}


@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 20px;
        gap: 10px;
    }

    nav img {
        width: 120px;
    }

    .hero {
        padding: 20px;
    }

    .hero> :first-child {
        font-size: 32px;
        line-height: 40px;
    }

    .hero> :nth-child(2),
    .hero> :nth-child(3) {
        font-size: 16px;
    }

    .main input {
        width: 100%;
        padding: 12px;
        font-size: 14px;
    }

    .hero-btn {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .btn-red {
        width: 100%;
        font-size: 18px;
        padding: 10px 0;
    }

    .first {
        flex-direction: column;
        width: 90vw;
        text-align: center;
    }

    .secImg img,
    .secImg video {
        width: 100%;
        max-width: 100%;
        position: relative;
        top: 0;
        left: 0;
        transform: none;
    }

    .faqbox {
        flex-direction: column;
        font-size: 18px;
    }

    .villain input {
        width: 100%;
        padding: 12px;
    }

    .villain {
        margin: 20px;
        padding: 0 10px;
    }

    .footer {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .footerbtn-eng {
        margin: 40px 0;
    }

    .btn-eng {
        padding: 10px;
        font-size: 14px;
    }

    footer {
        padding: 20px;
    }
}

@media (max-width: 960px) {
    .footer {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero> :first-child {
        font-size: 2rem;
    }

    nav {
        padding: 24px 10px;
    }
}