/* =======================================================
   EASYCONVERT24 — PREMIUM CORPORATE NEON GLASS UI
   ======================================================= */

:root {
    --color-bg: #07080b;
    --color-text: #e8f9ff;
    --color-text-soft: #9cc7da;
    --color-accent: #00eaff;
    --color-border: rgba(255,255,255,0.12);
    --radius: 18px;
    --transition: 0.28s ease;
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body */
body {
    background: var(--color-bg);
    color: var(--color-text);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* ===========================================
   BACKGROUND WAVE EFFECT (the key)
   =========================================== */
body::before {
    content: "";
    position: fixed;
    top: -20%;
    left: -20%;
    width: 160%;
    height: 160%;
    background: radial-gradient(
        circle at 20% 30%,
        rgba(0,255,255,0.22),
        transparent 40%
    ),
    radial-gradient(
        circle at 80% 20%,
        rgba(0,120,255,0.15),
        transparent 40%
    ),
    radial-gradient(
        circle at 40% 80%,
        rgba(130,0,255,0.18),
        transparent 40%
    ),
    radial-gradient(
        circle at 70% 70%,
        rgba(0,255,170,0.12),
        transparent 50%
    );
    filter: blur(42px);
    z-index: -1;
}

/* ===========================================
   HEADER + LOGO
   =========================================== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 26px 48px;
}

.logo-large {
    height: 230px;
    filter: drop-shadow(0 0 38px var(--color-accent));
    opacity: 1;
    transition: 0.45s ease;
    transform: translateY(4px);
}
.logo-large:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 0 60px var(--color-accent));
}

/* ===========================================
   NAVIGATION
   =========================================== */
nav a {
    color: var(--color-text-soft);
    margin-left: 36px;
    font-size: 17px;
    text-decoration: none;
    transition: var(--transition);
}

nav a:hover {
    color: var(--color-accent);
}

/* ===========================================
   HERO
   =========================================== */
.hero {
    text-align: center;
    margin-top: -30px;
    padding-bottom: 40px;
}

.hero h1 {
    font-size: 50px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.2px;
    text-shadow: 0 0 26px rgba(0,255,255,0.45);
}

.hero p {
    font-size: 18px;
    color: var(--color-text-soft);
    margin-top: 6px;
}

/* ===========================================
   CATEGORY GRID
   =========================================== */
.categories {
    margin: 90px auto;
    display: grid;
    align-items: stretch;
    grid-template-columns: repeat(3, 340px);
    gap: 46px;
    justify-content: center;
    padding-bottom: 200px;
}

/* ===========================================
   CATEGORY CARD
   =========================================== */
.card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    padding: 34px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    box-shadow:
        0 0 28px rgba(0,255,255,0),
        inset 0 0 16px rgba(255,255,255,0.03);
}

.card:hover {
    transform: translateY(-8px);
    border-color: rgba(0,255,255,0.75);
    box-shadow:
        0 0 38px rgba(0,255,255,0.4),
        inset 0 0 28px rgba(0,255,255,0.08);
}

/* Neon side glow strip */
.card::before {
    content: "";
    position: absolute;
    left: -2px;
    top: 18%;
    height: 66%;
    width: 4px;
    background: linear-gradient(
        rgba(0,255,255,0),
        rgba(0,255,255,0.8),
        rgba(0,255,255,0)
    );
    border-radius: 4px;
    opacity: 0;
    transition: var(--transition);
}

.card:hover::before {
    opacity: 1;
}

/* Title + Subtext */
.card-title {
    font-size: 23px;
    font-weight: 500;
    margin-bottom: 9px;
}
.card-sub {
    color: var(--color-text-soft);
    font-size: 14px;
}

/* ===========================================
   FOOTER
   =========================================== */
footer {
    text-align: center;
    font-size: 14px;
    opacity: 0.65;
    padding-bottom: 60px;
}

/* ===========================================
   RESPONSIVE
   =========================================== */
@media(max-width: 1180px) {
    .categories {
        grid-template-columns: repeat(2, 340px);
    }
}

@media(max-width: 780px) {
    .categories {
        grid-template-columns: 1fr;
    }
    header {
        flex-direction: column;
        text-align: center;
    }
    nav {
        margin-top: 10px;
    }
    .logo-large {
        height: 180px;
    }
    .hero h1 {
        font-size: 42px;
    }
}
/* ==============================
   AUDIO PAGE TITLE
   ============================== */

.sub-title {
    text-align: center;
    margin-top: 40px;
    font-size: 36px;
    font-weight: 500;
}

.sub-info {
    text-align: center;
    color: var(--color-text-soft);
    margin-bottom: 40px;
}


/* ==============================
   UPLOAD BOX
   ============================== */

.upload-box {
    width: 60%;
    max-width: 720px;
    margin: auto;
    padding: 70px 0;
    border: 2px dashed rgba(0,255,255,0.35);
    border-radius: var(--radius);
    backdrop-filter: blur(12px);
    background: rgba(255,255,255,0.05);
    cursor: pointer;
    transition: 0.4s ease;
    text-align: center;
    position: relative;
}

.upload-box:hover {
    border-color: rgba(0,255,255,0.85);
    box-shadow: 0 0 42px rgba(0,255,255,0.35);
    transform: translateY(-3px);
}

.upload-text {
    font-size: 22px;
    margin-bottom: 10px;
}
.upload-sub {
    font-size: 15px;
    color: var(--color-text-soft);
}

/* hide actual input */
#file-input {
    position: absolute;
    height: 100%;
    width: 100%;
    opacity: 0;
    cursor: pointer;
}

/* ==============================
   BACK BUTTON
   ============================== */

.back-logo:hover {
    filter: drop-shadow(0 0 55px var(--color-accent));
    transform: scale(1.03);
}

.security-note {
    margin-top: 22px;
    text-align: center;
    color: #77b1c7;
    font-size: 14px;
    opacity: 0.9;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.security-note::before {
    content: "🔒";
    font-size: 20px;
    opacity: 1;
}
.file-info {
    margin: 30px auto;
    padding: 20px 26px;
    width: 440px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    backdrop-filter: blur(18px);
    font-size: 16px;
    line-height: 1.6;
    box-shadow: 0 0 22px rgba(0,0,0,0.25);
    text-align: left;
}

.file-line {
    margin-bottom: 6px;
}

.file-line strong {
    color: var(--color-text);
    display: inline-block;
    width: 140px;
    font-weight: 600;
    opacity: 0.9;
}


/* FORMAT BUTTON GRID */
.format-grid {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 16px;
    margin-bottom: 12px;
}

/* FORMAT BUTTON */
.format-btn {
    padding: 10px 22px;
    border-radius: 12px;
    border: 1px solid rgba(0,255,255,0.25);
    background: rgba(255,255,255,0.04);
    cursor: pointer;
    transition: 0.25s ease;
    font-size: 15px;
    letter-spacing: 0.4px;
    user-select: none;
}

.format-btn:hover {
    background: rgba(0,255,255,0.16);
    border-color: rgba(0,255,255,0.65);
}

/* FORMAT BUTTON SELECTED */
.format-active {
    background: rgba(0,255,255,0.30) !important;
    border-color: rgba(0,255,255,0.95) !important;
    font-weight: 600;
}

/* SELECTED FORMAT TEXT */
.selected-format {
    margin-top: 12px;
    font-size: 17px;
    color: var(--color-text);
    opacity: 0.9;
    text-align: center;
    letter-spacing: 0.3px;
}

/* SELECT OUTPUT TEXT */
.format-title {
    text-align: center;
    margin-bottom: 10px;
    font-size: 18px;
    opacity: 0.9;
    font-weight: 500;
}


/* CONVERT BUTTON */
.convert-btn {
    display: block;
    margin: 30px auto 12px auto;
    padding: 14px 30px;
    font-size: 18px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    background: linear-gradient(90deg, #00b7ff, #00ffe1);
    color: #001015;
    font-weight: 600;
    transition: 0.25s ease;
    box-shadow: 0 0 18px rgba(0,255,255,0.3);
}

.convert-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(0,255,255,0.5);
}

/* PROGRESS BAR */
#img-progress-bar {
    width: 440px;
    margin: 18px auto;
    height: 10px;
    background: rgba(255,255,255,0.12);
    border-radius: 10px;
    overflow: hidden;
}

#img-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #00ffe8, #0078ff);
    transition: width 0.25s ease;
}


/* PROGRESS WRAPPER */
.progress-wrap {
    width: 440px;
    margin: auto;
}


/* OPTIONAL: MOBILE RESPONSIVE */
@media (max-width: 520px) {

    .file-info,
    #img-progress-bar,
    .progress-wrap {
        width: 92%;
    }

    .convert-btn {
        width: 90%;
        text-align: center;
    }

    .format-btn {
        padding: 8px 18px;
        font-size: 14px;
    }
}
.download-btn {
    display: none;
    padding: 14px 32px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 14px;
    background: linear-gradient(90deg, #00ffe1, #0099ff);
    color: #001016 !important;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0,255,255,0.35);
    transition: 0.25s ease;
    width: fit-content;
    text-align: center;
    
    /* DIESE ZEILEN SIND ENTSCHEIDEND */
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 24px;
}

.download-btn:hover {
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 0 40px rgba(0,255,255,0.6);
}
/* ===================== */
/*  CONTENT SECTIONS     */
/* ===================== */

.content-section {
    max-width: 900px;
    margin: 80px auto;
    padding: 10px 20px;
    line-height: 1.65;
    font-size: 18px;
    color: #dddddd;
    text-align: left;
}

.content-section h2 {
    margin-bottom: 18px;
    margin-top: 20px;
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
}

.content-section h3 {
    margin-top: 20px;
    font-size: 22px;
    font-weight: 600;
    color: #00bfff;
}

.content-section p {
    margin-bottom: 14px;
}

.content-section ul {
    padding-left: 25px;
    margin-bottom: 14px;
}

.content-section li {
    margin-bottom: 6px;
    line-height: 1.5;
}

/* ===================== */
/*  INTERNAL NAVIGATION  */
/* ===================== */

nav a {
    cursor: pointer;
}

html {
    scroll-behavior: smooth;
}

/* ===================== */
/*  MOBILE OPTIMIZATION  */
/* ===================== */

@media (max-width: 760px) {
    .content-section {
        margin: 55px 15px;
        padding: 0 5px;
        font-size: 17px;
    }
    .content-section h2 {
        font-size: 26px;
    }
    .content-section h3 {
        font-size: 20px;
    }
}

/* ===================== */
/*  FOOTER IMPROVEMENT   */
/* ===================== */

footer {
    margin-top: 80px;
    padding: 25px;
    font-size: 15px;
    color: #bbb;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.08);
}

/* ===================== */
/*  LIGHT BLUE LINKS     */
/* ===================== */

a {
    color: #00a3ff;
    text-decoration: none;
}
a:hover {
    color: #57c3ff;
}

.card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0px 8px 25px rgba(0,0,0,0.25);
    cursor: pointer;
}
.hero h1, .hero p {
    animation: fadeUp 0.8s ease forwards;
    opacity: 0;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(25px); }
    to   { opacity: 1; transform: translateY(0); }
}
