
/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: #f5f7fb;
    color: #172033;
    line-height: 1.6;
}


/* =========================
   NAVBAR
========================= */

header {
    background: white;
    padding: 18px 8%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav h2 a {
    color: #2563eb;
    text-decoration: none;
}

nav ul {
    display: flex;
    gap: 25px;
    list-style: none;
}

nav ul a {
    color: #334155;
    text-decoration: none;
    font-weight: 500;
}

nav ul a:hover {
    color: #2563eb;
}


/* =========================
   HERO
========================= */

#home {
    min-height: 70vh;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;

    background: linear-gradient(
        135deg,
        #ffffff,
        #eef5ff
    );
}

#home h1 {
    font-size: 52px;
    color: #172033;
    margin-bottom: 15px;
}

#home p {
    color: #64748b;
    max-width: 600px;
}

#home a {
    display: inline-block;
    margin-top: 25px;
    padding: 14px 28px;

    background: #2563eb;
    color: white;

    text-decoration: none;
    border-radius: 8px;

    font-weight: bold;
}

#home a:hover {
    background: #1d4ed8;
}


/* =========================
   SECTIONS
========================= */

section {
    max-width: 1000px;
    margin: auto;
    padding: 80px 20px;
}

section h2 {
    color: #172033;
    margin-bottom: 20px;
}


/* =========================
   DOWNLOADER
========================= */

#downloader {
    text-align: center;
}


/* URL INPUT AT TOP */

#downloader form {
    margin-top: 25px;

    background: white;

    padding: 35px;

    border-radius: 15px;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.08);
}


/* URL LABEL */

#downloader label {
    display: block;

    text-align: left;

    margin-bottom: 8px;

    font-weight: bold;

    color: #334155;
}


/* URL INPUT */

#video-url {
    width: 100%;

    padding: 16px;

    border: 2px solid #e2e8f0;

    border-radius: 8px;

    outline: none;

    font-size: 16px;

    margin-bottom: 20px;
}

#video-url:focus {
    border-color: #2563eb;
}


/* QUALITY */

#quality {
    padding: 13px;

    border: 2px solid #e2e8f0;

    border-radius: 8px;

    margin-bottom: 20px;

    background: white;
}


/* DOWNLOAD BUTTON */

button {
    width: 100%;

    padding: 15px;

    border: none;

    border-radius: 8px;

    background: #2563eb;

    color: white;

    font-size: 16px;

    font-weight: bold;

    cursor: pointer;
}

button:hover {
    background: #1d4ed8;
}


/* =========================
   PLATFORMS
========================= */

#platforms {
    text-align: center;
}

#platforms ul {
    display: flex;

    justify-content: center;

    gap: 20px;

    flex-wrap: wrap;

    list-style: none;

    margin-top: 25px;
}

#platforms li {
    background: white;

    padding: 25px 35px;

    border-radius: 12px;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.07);

    transition: 0.3s;
}

#platforms li:hover {
    transform: translateY(-5px);

    box-shadow:
        0 10px 25px rgba(37, 99, 235, 0.15);
}


/* =========================
   HISTORY
========================= */

#history {
    text-align: center;
}

table {
    width: 100%;

    margin-top: 25px;

    border-collapse: collapse;

    background: white;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.06);
}

th,
td {
    padding: 15px;

    border-bottom: 1px solid #e2e8f0;
}

th {
    background: #eff6ff;

    color: #2563eb;
}

td a {
    color: #2563eb;
}


/* =========================
   FAQ
========================= */

details {
    background: white;

    padding: 18px;

    margin: 10px 0;

    border-radius: 10px;

    box-shadow:
        0 3px 15px rgba(0, 0, 0, 0.06);
}

summary {
    cursor: pointer;

    font-weight: bold;
}


/* =========================
   FOOTER
========================= */

footer {
    background: #172033;

    color: white;

    text-align: center;

    padding: 45px 20px;

    margin-top: 50px;
}

footer p {
    color: #cbd5e1;
}

footer a {
    color: #60a5fa;

    text-decoration: none;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

    nav {
        flex-direction: column;

        gap: 15px;
    }

    nav ul {
        flex-wrap: wrap;

        justify-content: center;

        gap: 12px;
    }

    #home h1 {
        font-size: 38px;
    }

    section {
        padding: 60px 15px;
    }

    #downloader form {
        padding: 25px 20px;
    }

    table {
        font-size: 13px;
    }
}
