/* =========================
   EVANTINE AUDIO TOOLS
   MAIN STYLESHEET
========================= */


/* =========================
   VARIABLES
========================= */

:root {

    --background: #080808;

    --surface: #111111;

    --surface-light: #181818;

    --border: #292929;

    --border-light: #3a3a3a;

    --text: #ffffff;

    --muted: #999999;

    --muted-light: #c4c4c4;

    --accent: #ffffff;

    --max-width: 1150px;

}


/* =========================
   RESET
========================= */

* {

    box-sizing: border-box;

    margin: 0;

    padding: 0;

}


html {

    scroll-behavior: smooth;

}


body {

    background: var(--background);

    color: var(--text);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    line-height: 1.6;

}


button,
select {

    font: inherit;

}


button {

    cursor: pointer;

}


a {

    color: inherit;

    text-decoration: none;

}



/* =========================
   HEADER
========================= */

.site-header {

    width: 100%;

    max-width: var(--max-width);

    margin: auto;

    padding: 28px 25px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.logo {

    font-size: 18px;

    font-weight: 800;

    letter-spacing: 5px;

}


.navigation {

    display: flex;

    gap: 30px;

}


.navigation a {

    color: var(--muted);

    font-size: 14px;

    transition: 0.2s ease;

}


.navigation a:hover {

    color: white;

}



/* =========================
   HERO
========================= */

.hero {

    max-width: var(--max-width);

    margin: auto;

    padding: 100px 25px 80px;

}


.hero-content {

    max-width: 850px;

}


.eyebrow {

    color: var(--muted);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 3px;

    margin-bottom: 18px;

}


.hero h1 {

    font-size: clamp(
        48px,
        8vw,
        92px
    );

    line-height: 0.98;

    letter-spacing: -4px;

    margin-bottom: 30px;

}


.hero h1 span {

    color: var(--muted);

}


.hero-description {

    max-width: 600px;

    color: var(--muted-light);

    font-size: 18px;

    margin-bottom: 35px;

}


.hero-button {

    display: inline-block;

    padding: 14px 22px;

    background: white;

    color: black;

    border-radius: 6px;

    font-weight: 700;

    transition: 0.2s ease;

}


.hero-button:hover {

    transform: translateY(-2px);

}



/* =========================
   CONVERTER
========================= */

.converter-section {

    max-width: var(--max-width);

    margin: auto;

    padding: 20px 25px 100px;

}


.converter-card {

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: 14px;

    padding: 25px;

}



/* =========================
   DROP ZONE
========================= */

.drop-zone {

    border: 1px dashed var(--border-light);

    border-radius: 10px;

    padding: 70px 25px;

    text-align: center;

    transition: 0.2s ease;

}


.drop-zone:hover,
.drop-zone.dragging {

    background: var(--surface-light);

    border-color: white;

}


.upload-icon {

    width: 52px;

    height: 52px;

    margin: auto auto 20px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid var(--border-light);

    border-radius: 50%;

    font-size: 25px;

}


.drop-zone h2 {

    font-size: 25px;

    margin-bottom: 8px;

}


.drop-zone p {

    color: var(--muted);

    margin-bottom: 22px;

}


.supported-text {

    margin-top: 20px !important;

    margin-bottom: 0 !important;

    font-size: 11px;

    letter-spacing: 1px;

}



/* =========================
   BUTTONS
========================= */

.choose-button,
.convert-button {

    border: none;

    border-radius: 6px;

    padding: 13px 22px;

    font-weight: 700;

}


.choose-button {

    background: white;

    color: black;

}


.convert-button {

    width: 100%;

    margin-top: 25px;

    background: white;

    color: black;

    font-size: 16px;

    transition: 0.2s ease;

}


.convert-button:hover:not(:disabled) {

    transform: translateY(-2px);

}


.convert-button:disabled {

    opacity: 0.35;

    cursor: not-allowed;

}



/* =========================
   FILE INFO
========================= */

.file-info {

    margin-top: 25px;

    padding: 22px;

    background: var(--surface-light);

    border: 1px solid var(--border);

    border-radius: 9px;

}


.file-heading {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

}


.label {

    display: block;

    color: var(--muted);

    font-size: 10px;

    letter-spacing: 2px;

    margin-bottom: 5px;

}


.file-heading h3 {

    font-size: 17px;

    word-break: break-word;

}


.remove-button {

    background: transparent;

    color: var(--muted);

    border: 1px solid var(--border-light);

    padding: 8px 12px;

    border-radius: 5px;

}


.remove-button:hover {

    color: white;

    border-color: white;

}


.file-meta {

    display: flex;

    gap: 20px;

    margin: 15px 0;

    color: var(--muted);

    font-size: 13px;

}


audio {

    width: 100%;

}



/* =========================
   SETTINGS
========================= */

.settings {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;

    margin-top: 20px;

}


.setting-group {

    display: flex;

    flex-direction: column;

    gap: 8px;

}


.setting-group label {

    font-size: 12px;

    color: var(--muted);

    letter-spacing: 1px;

}


.setting-group select {

    width: 100%;

    background: #0b0b0b;

    color: white;

    border: 1px solid var(--border);

    border-radius: 6px;

    padding: 13px;

    outline: none;

}


.setting-group select:focus {

    border-color: white;

}



/* =========================
   PROGRESS
========================= */

.progress-container {

    margin-top: 25px;

}


.progress-header {

    display: flex;

    justify-content: space-between;

    color: var(--muted);

    font-size: 12px;

    margin-bottom: 8px;

}


.progress-bar {

    width: 100%;

    height: 7px;

    background: #252525;

    border-radius: 10px;

    overflow: hidden;

}


.progress-fill {

    width: 0%;

    height: 100%;

    background: white;

    transition: width 0.2s ease;

}



/* =========================
   STATUS
========================= */

.status {

    min-height: 25px;

    text-align: center;

    color: var(--muted);

    margin-top: 20px;

    font-size: 13px;

}



/* =========================
   DOWNLOAD
========================= */

.download-area {

    margin-top: 15px;

}


.download-button {

    display: block;

    width: 100%;

    padding: 14px;

    background: white;

    color: black;

    text-align: center;

    border-radius: 6px;

    font-weight: 700;

    transition: 0.2s ease;

}


.download-button:hover {

    transform: translateY(-2px);

}



/* =========================
   FEATURES
========================= */

.features-section {

    max-width: var(--max-width);

    margin: auto;

    padding: 100px 25px;

}


.section-heading {

    margin-bottom: 40px;

}


.section-heading h2 {

    font-size: 48px;

    letter-spacing: -2px;

}


.features-grid {

    display: grid;

    grid-template-columns:
        repeat(
            4,
            1fr
        );

    gap: 15px;

}


.feature-card {

    background: var(--surface);

    border: 1px solid var(--border);

    padding: 25px;

    border-radius: 9px;

}


.feature-number {

    color: var(--muted);

    font-size: 11px;

    margin-bottom: 30px;

}


.feature-card h3 {

    font-size: 20px;

    margin-bottom: 10px;

}


.feature-card p {

    color: var(--muted);

    font-size: 14px;

}



/* =========================
   ABOUT
========================= */

.about-section {

    border-top: 1px solid var(--border);

    border-bottom: 1px solid var(--border);

}


.about-content {

    max-width: var(--max-width);

    margin: auto;

    padding: 100px 25px;

    max-width: 800px;

}


.about-content h2 {

    font-size: clamp(
        40px,
        6vw,
        70px
    );

    line-height: 1;

    letter-spacing: -3px;

    margin-bottom: 25px;

}


.about-content p:last-child {

    color: var(--muted);

    font-size: 17px;

    max-width: 600px;

}



/* =========================
   FOOTER
========================= */

.site-footer {

    max-width: var(--max-width);

    margin: auto;

    padding: 50px 25px;

    display: grid;

    grid-template-columns:
        1fr 1fr 1fr;

    gap: 30px;

    color: var(--muted);

    font-size: 13px;

}


.site-footer strong {

    color: white;

    letter-spacing: 3px;

}


.footer-links {

    display: flex;

    gap: 20px;

}


.footer-links a:hover {

    color: white;

}


.copyright {

    text-align: right;

}



/* =========================
   MOBILE
========================= */

@media (max-width: 800px) {

    .site-header {

        padding: 22px 18px;

    }


    .navigation {

        gap: 15px;

    }


    .navigation a {

        font-size: 12px;

    }


    .hero {

        padding:
            70px 18px
            60px;

    }


    .hero h1 {

        letter-spacing: -2px;

    }


    .converter-section {

        padding:
            15px 18px
            70px;

    }


    .converter-card {

        padding: 15px;

    }


    .drop-zone {

        padding: 50px 15px;

    }


    .settings {

        grid-template-columns: 1fr;

    }


    .features-section {

        padding:
            70px 18px;

    }


    .features-grid {

        grid-template-columns:
            1fr 1fr;

    }


    .about-content {

        padding:
            70px 18px;

    }


    .site-footer {

        grid-template-columns:
            1fr;

        padding:
            40px 18px;

    }


    .copyright {

        text-align: left;

    }

}


@media (max-width: 500px) {

    .navigation {

        display: none;

    }


    .features-grid {

        grid-template-columns:
            1fr;

    }


    .file-meta {

        flex-direction: column;

        gap: 4px;

    }

}