:root {
    --green: #1ECA51;
    --dark: #191A2F;
    --light-purple: #DDD6F2;
    --soft-bg: #E8E7F2;
    --text: #111;
    --gray: #666;
}

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

/* BODY */
body {
    font-family: 'Montserrat', sans-serif;
    background: #fff; /* 👈 mejor fondo SaaS */
    color: var(--text);
}

/* TYPO */
h1, h2, h3, h4 {
    font-style: italic;
    font-weight: 900;
}

p {
    color: var(--gray);
}

/* CONTAINER */
.container {
    max-width: 1500px;
    margin: auto;
    padding: 0 40px;
}

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

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
}

.logo img {
    height: 30px;
}

/* NAV */
nav a {
    margin: 10px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 800;
    padding: 10px 20px;
    font-size: 16px;
    font-style: italic;
    border-radius: 50px;
    transition: all 0.25s ease;
}

nav a:hover {
    background: var(--light-purple);
    transform: translateY(-2px);
}

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

.hero {
    text-align: center;
    padding: 80px 40px;
    background: var(--soft-bg);
    border-radius: 20px;
    margin: 20px 50px 150px;
}

.hero-content {
    max-width: 80%;
    margin: auto;
}

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

.hero p {
    margin: 15px 0 25px;
}

/* ===================== */
/* UPLOAD BOX */
/* ===================== */

.upload-box {
    background: var(--light-purple);
    padding: 60px 40px 40px;
    border-radius: 16px;
    width: 80%;
    margin: auto;
    margin-top: 60px;
    margin-bottom: -200px;
    border: 5px #fff solid;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.06),
        0 40px 120px rgba(30, 202, 81, 0.08),
        0 0 150px rgba(30, 202, 81, 0.06);

    transition: all 0.3s ease;
}

.upload-box.active {
    transform: scale(1.02);
}

.upload-box.processing {
    opacity: 0.7;
    pointer-events: none;
}

.upload-title {
    font-weight: 700;
    margin-bottom: 10px;
}

.error-text {
    color: #ff4d4d;
    font-weight: 700;
}

/* ===================== */
/* BUTTONS */
/* ===================== */

.btn {
    font-size: 16px;
    font-weight: 900;
    font-style: italic;
    border-radius: 50px;
    padding: 14px 24px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-primary {
    background: var(--green);
    color: white;
    box-shadow: 0 8px 20px rgba(30, 202, 81, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(30, 202, 81, 0.35);
}

.btn-soft {
    background: #fff;
    border: 2px solid #ddd;
}

.btn.active {
    background: var(--dark);
    color: white;
}

/* ===================== */
/* COMPRESSION OPTIONS */
/* ===================== */

.compression-options {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
}

.tag {
    display: block;
    font-size: 11px;
    margin-top: 4px;
    opacity: 0.7;
}

/* ===================== */
/* SECTIONS */
/* ===================== */

.section {
    padding: 80px 20px;
    text-align: center;
}

/* FEATURES */
.features {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
}

.feature img {
    width: 40px;
    margin-bottom: 10px;
}

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

.steps {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.step {
    background: var(--soft-bg);
    padding: 16px 22px;
    border-radius: 12px;
}

/* ===================== */
/* DARK SECTION */
/* ===================== */

.dark {
    background: var(--dark);
    color: white;
    border-radius: 20px;
    margin: 60px auto;
    max-width: 1000px;
    padding: 40px;
}

/* CHECKLIST */
.checklist {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
}

.checklist li {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ===================== */
/* PRIVACY */
/* ===================== */

.privacy {
    display: flex;
    justify-content: center;
}

.privacy-box {
    background: var(--soft-bg);
    padding: 30px;
    border-radius: 16px;
    max-width: 450px;
}

/* ===================== */
/* PRICING */
/* ===================== */

.pricing {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
}

.card {
    background: white;
    padding: 25px;
    border-radius: 16px;
    width: 240px;
    transition: all 0.25s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.card.pro {
    background: var(--dark);
    color: white;
}

.card.green {
    background: var(--green);
    color: white;
}

/* ===================== */
/* CTA */
/* ===================== */

.cta {
    text-align: center;
    margin: 60px 0;
}

/* ===================== */
/* MODAL */
/* ===================== */

.modal {
    position: fixed;
    inset: 0;
    background: rgba(25, 26, 47, 0.6);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: white;
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    max-width: 420px;
    width: 90%;
    animation: modalIn 0.25s ease;
}

@keyframes modalIn {
    from {
        transform: translateY(20px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ===================== */
/* PROGRESS */
/* ===================== */

.progress-bar {
    width: 100%;
    height: 10px;
    background: #eee;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

#progressFill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #1ECA51, #6ef3a5);
    transition: width 0.4s ease;
}

.progress-bar::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shine 1.5s infinite;
}

@keyframes shine {
    from { transform: translateX(-100%); }
    to { transform: translateX(100%); }
}

#progressText {
    font-size: 12px;
    margin-top: 6px;
    color: #666;
    font-weight: 600;
}

/* RESULT */
#resultInfo {
    margin-top: 10px;
    font-size: 14px;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 30px;
    font-size: 12px;
    color: #777;
}