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

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background: #f7f7fc;
    color: #171827;
    line-height: 1.6;
}


/* ================= HEADER ================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255,255,255,.94);

    backdrop-filter: blur(15px);

    border-bottom: 1px solid #ececf4;
}

.header-inner {
    max-width: 1180px;
    margin: auto;

    padding: 14px 22px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;

    gap: 10px;

    text-decoration: none;

    color: #171827;
}

.brand-icon {
    width: 43px;
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background:
        linear-gradient(
            135deg,
            #5739ff,
            #9138d8
        );

    color: white;

    font-weight: 900;

    font-size: 17px;

    box-shadow:
        0 8px 22px rgba(91,61,245,.25);
}

.brand-text {
    display: flex;
    flex-direction: column;

    line-height: 1.1;
}

.brand-text strong {
    font-size: 17px;
}

.brand-text small {
    color: #77798a;

    font-size: 11px;
}

.main-nav {
    display: flex;

    gap: 28px;
}

.main-nav a {
    color: #555769;

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;
}

.main-nav a:hover {
    color: #5b3df5;
}

.header-actions {
    display: flex;

    align-items: center;

    gap: 8px;
}

.menu-btn {
    display: none;

    border: 0;

    background: transparent;

    font-size: 25px;

    cursor: pointer;
}


/* ================= INSTALL ================= */

.install-btn {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 9px 14px;

    border: 0;

    border-radius: 10px;

    background: #eeebff;

    color: #543dcc;

    font-size: 13px;

    font-weight: 800;

    cursor: pointer;
}


/* ================= HERO ================= */

.hero {
    position: relative;

    padding: 75px 20px 90px;

    background:

        radial-gradient(
            circle at 50% 0%,
            rgba(112,75,255,.18),
            transparent 42%
        ),

        linear-gradient(
            180deg,
            #f3f1ff 0%,
            #fafaff 70%,
            #f7f7fc 100%
        );
}

.hero-content {
    max-width: 850px;

    margin: auto;

    text-align: center;
}

.hero-badge {
    display: inline-block;

    padding: 7px 15px;

    border-radius: 50px;

    background: #eeebff;

    color: #5843c5;

    font-size: 13px;

    font-weight: 700;

    margin-bottom: 18px;
}

.hero h1 {
    font-size:
        clamp(36px, 6vw, 62px);

    line-height: 1.08;

    letter-spacing: -2px;

    margin-bottom: 20px;
}

.hero h1 span {
    background:
        linear-gradient(
            90deg,
            #5739ff,
            #a832cf
        );

    -webkit-background-clip: text;

    background-clip: text;

    color: transparent;
}

.hero-description {
    max-width: 650px;

    margin: auto;

    color: #666879;

    font-size: 17px;
}


/* ================= DOWNLOAD CARD ================= */

.download-card {
    max-width: 720px;

    margin: 38px auto 0;

    padding: 27px;

    background: white;

    border: 1px solid #eeeef5;

    border-radius: 24px;

    box-shadow:
        0 20px 55px rgba(47,40,100,.10);

    text-align: left;
}

.download-card label {
    display: block;

    font-size: 14px;

    font-weight: 800;

    margin-bottom: 9px;
}

.url-box {
    display: flex;

    align-items: center;

    gap: 8px;

    padding: 7px 8px 7px 15px;

    border: 2px solid #e4e2ed;

    border-radius: 15px;

    background: #fff;
}

.link-icon {
    font-size: 17px;
}

.url-box input {
    width: 100%;

    border: 0;

    outline: 0;

    font-size: 15px;

    min-width: 0;

    background: transparent;
}

.paste-btn {
    flex-shrink: 0;

    border: 0;

    padding: 11px 17px;

    border-radius: 11px;

    background: #eeebff;

    color: #523ac5;

    font-weight: 800;

    cursor: pointer;
}

.get-btn {
    width: 100%;

    margin-top: 15px;

    border: 0;

    padding: 16px;

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            #5839ff,
            #833ce6
        );

    color: white;

    font-size: 17px;

    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 10px 25px rgba(91,61,245,.24);

    transition: transform .2s;
}

.get-btn:hover {
    transform: translateY(-2px);
}

.get-btn:disabled {
    opacity: .65;

    cursor: wait;

    transform: none;
}

.privacy-note {
    margin-top: 13px;

    color: #858695;

    font-size: 12px;

    text-align: center;
}


/* ================= STATUS ================= */

.status {
    max-width: 850px;

    margin: 20px auto;

    padding: 15px 20px;

    border-radius: 15px;

    font-weight: 600;
}

.error {
    background: #fff0f0;

    color: #b32626;
}

.loading {
    max-width: 850px;

    margin: 20px auto;

    padding: 15px;

    text-align: center;

    color: #5b3df5;

    font-weight: 700;
}


/* ================= RESULT ================= */

.result {
    max-width: 850px;

    margin: -35px auto 50px;

    padding: 0 20px;

    position: relative;

    z-index: 2;
}

.result-count {
    margin-bottom: 15px;

    color: #666879;

    font-size: 14px;

    font-weight: 700;
}


/* ================= VIDEO CARD ================= */

.video-card {
    overflow: hidden;

    background: white;

    border: 1px solid #e9e9f2;

    border-radius: 22px;

    padding: 20px;

    margin-bottom: 20px;

    box-shadow:
        0 15px 45px rgba(30,25,80,.08);
}

.thumbnail-box {
    width: 100%;

    aspect-ratio: 16 / 9;

    background: #111;

    border-radius: 18px;

    overflow: hidden;

    margin-bottom: 20px;
}

.thumbnail {
    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;
}

.no-thumbnail {
    width: 100%;

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    background:
        linear-gradient(
            135deg,
            #eeeaff,
            #ddd8ff
        );

    color: #5140c9;
}

.movie-icon {
    width: 64px;

    height: 64px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #5b3df5;

    color: white;

    font-size: 25px;

    margin-bottom: 8px;
}

.file-title {
    word-break: break-word;

    line-height: 1.35;

    font-size: 20px;

    margin-bottom: 15px;
}

.info-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 10px;
}

.info-box {
    padding: 12px;

    background: #f8f8fc;

    border-radius: 12px;
}

.info-label {
    display: block;

    color: #8a8b99;

    font-size: 11px;

    text-transform: uppercase;

    font-weight: 800;
}

.info-value {
    display: block;

    margin-top: 3px;

    font-weight: 700;

    word-break: break-word;
}

.stream-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 12px;

    margin-top: 18px;
}

.stream-btn {
    min-height: 52px;

    border: 0;

    border-radius: 14px;

    background: #efedff;

    color: #4f3dc4;

    display: flex;

    align-items: center;

    justify-content: center;

    text-decoration: none;

    font-size: 15px;

    font-weight: 700;

    cursor: pointer;
}

.stream-btn.primary,
.watch-btn {
    background:
        linear-gradient(
            135deg,
            #603cff,
            #8b35dc
        ) !important;

    color: white !important;
}

.download-btn {
    background: #efedff !important;

    color: #4f3dc4 !important;
}

.player-container {
    width: 100%;

    margin-top: 18px;
}

.player-wrapper {
    overflow: hidden;

    border-radius: 18px;

    background: #000;

    box-shadow:
        0 10px 30px rgba(0,0,0,.15);
}

.terabox-player {
    width: 100%;

    display: block;

    background: #000;

    max-height: 520px;
}

.player-status {
    padding: 10px 14px;

    background: #111;

    color: #aaa;

    font-size: 12px;

    text-align: center;
}


/* ================= CONTENT ================= */

.content-section {
    max-width: 1100px;

    margin: auto;

    padding: 80px 20px;
}

.light-section {
    max-width: none;

    background: #fff;
}

.section-heading {
    text-align: center;

    max-width: 700px;

    margin: auto auto 45px;
}

.section-label {
    color: #6548df;

    font-size: 12px;

    font-weight: 900;

    letter-spacing: 1.5px;
}

.section-heading h2 {
    margin-top: 8px;

    font-size:
        clamp(27px, 4vw, 38px);

    line-height: 1.2;
}

.section-heading p {
    margin-top: 10px;

    color: #77798a;
}


/* ================= STEPS ================= */

.steps {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}

.step {
    text-align: center;

    padding: 25px;
}

.step-number {
    width: 52px;

    height: 52px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: auto auto 17px;

    border-radius: 50%;

    background: #eeebff;

    color: #5a40d1;

    font-weight: 900;

    font-size: 18px;
}

.step h3 {
    margin-bottom: 8px;
}

.step p {
    color: #77798a;

    font-size: 14px;
}


/* ================= FEATURES ================= */

.features-grid {
    max-width: 1100px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;
}

.feature-card {
    padding: 25px;

    border: 1px solid #ededf4;

    border-radius: 18px;

    background: #fff;
}

.feature-icon {
    font-size: 27px;

    margin-bottom: 12px;
}

.feature-card h3 {
    margin-bottom: 7px;
}

.feature-card p {
    color: #77798a;

    font-size: 14px;
}


/* ================= FAQ ================= */

.faq-list {
    max-width: 800px;

    margin: auto;
}

.faq-list details {
    background: white;

    border: 1px solid #e9e9f0;

    border-radius: 15px;

    margin-bottom: 12px;

    padding: 18px 20px;
}

.faq-list summary {
    cursor: pointer;

    font-weight: 750;
}

.faq-list details p {
    padding-top: 12px;

    color: #707282;

    font-size: 14px;
}


/* ================= FOOTER ================= */

.site-footer {
    background: #15151d;

    color: #fff;

    padding: 45px 20px 20px;
}

.footer-inner {
    max-width: 1100px;

    margin: auto;

    display: flex;

    justify-content: space-between;

    gap: 30px;
}

.footer-brand {
    display: flex;

    gap: 13px;

    max-width: 420px;
}

.footer-logo {
    width: 42px;

    height: 42px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            #5739ff,
            #9635d5
        );

    font-weight: 900;
}

.footer-brand strong {
    display: block;

    margin-bottom: 5px;
}

.footer-brand p {
    color: #a5a5b2;

    font-size: 13px;
}

.footer-links {
    display: flex;

    flex-wrap: wrap;

    align-content: flex-start;

    gap: 20px;
}

.footer-links a {
    color: #c2c2cc;

    text-decoration: none;

    font-size: 13px;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1100px;

    margin: 35px auto 0;

    padding-top: 20px;

    border-top: 1px solid #292934;

    text-align: center;

    color: #858592;

    font-size: 12px;
}


/* ================= MOBILE ================= */

@media (max-width: 750px) {

    .header-inner {
        padding: 12px 16px;
    }

    .main-nav {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .hero {
        padding: 50px 15px 75px;
    }

    .hero h1 {
        letter-spacing: -1px;
    }

    .hero-description {
        font-size: 15px;
    }

    .download-card {
        padding: 20px;

        border-radius: 20px;
    }

    .url-box {
        padding:
            6px 7px 6px 12px;
    }

    .paste-btn {
        padding:
            10px 12px;
    }

    .steps {
        grid-template-columns: 1fr;
    }

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

    .footer-inner {
        flex-direction: column;
    }

    .footer-links {
        gap: 15px;
    }
}


@media (max-width: 430px) {

    .brand-text small {
        display: none;
    }

    .hero h1 {
        font-size: 38px;
    }

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

    .download-card {
        margin-top: 28px;
    }

    .url-box input {
        font-size: 14px;
    }

    .stream-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stream-btn {
        font-size: 14px;
    }

    .video-card {
        padding: 15px;
    }

}