:root {
    --primary: #168b6a;
    --primary-dark: #106b51;
    --navy: #102b50;
    --text: #25364b;
    --muted: #758397;
    --background: #f5f8fc;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--text);
    background: #fff;
}

.navbar {
    background: var(--navy);
    padding: 16px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    color: white;
    font-size: 22px;
    letter-spacing: -.5px;
}

.navbar-brand:hover {
    color: white;
}

.nav-link {
    color: #dce7f2 !important;
    margin-left: 12px;
}

.nav-link:hover {
    color: #45d4a0 !important;
}

.hero-section {
    padding: 78px 0 65px;
    color: white;
    background:
        radial-gradient(circle at 80% 20%, rgba(51,190,146,.25), transparent 35%),
        linear-gradient(135deg, #102b50 0%, #176d70 100%);
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 30px;
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 22px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #45d4a0;
    border-radius: 50%;
}

.hero-section h1 {
    font-size: clamp(34px, 5vw, 55px);
    font-weight: 800;
    letter-spacing: -1.8px;
}

.hero-section h1 span {
    color: #48d5a0;
}

.hero-description {
    max-width: 650px;
    margin: 20px auto 32px;
    font-size: 17px;
    line-height: 1.7;
    color: #dce8f2;
}

.converter-card {
    max-width: 590px;
    background: white;
    color: var(--text);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 20px 55px rgba(0,0,0,.2);
}

.upload-area {
    border: 2px dashed #c5d5dc;
    border-radius: 13px;
    padding: 35px 15px;
    transition: .2s ease;
}

.upload-area.dragover {
    border-color: var(--primary);
    background: #effaf5;
}

.upload-area h3 {
    font-size: 20px;
    font-weight: 700;
    margin-top: 15px;
}

.upload-area p {
    color: var(--muted);
    font-size: 14px;
}

.upload-icon {
    margin-bottom: 8px;
}

.btn-outline-success {
    color: var(--primary);
    border-color: var(--primary);
    padding: 10px 22px;
    font-weight: 600;
}

.btn-outline-success:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.file-info {
    margin-top: 16px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.upload-limits {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--muted);
    font-size: 12px;
    margin: 18px 0;
}

.btn-convert {
    display: block;
    background: var(--primary);
    border: 0;
    color: white;
    font-size: 16px;
    font-weight: 700;
    padding: 15px 20px;
    border-radius: 9px;
    text-decoration: none;
}

.btn-convert:hover {
    background: var(--primary-dark);
    color: white;
}

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

.security-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 19px;
    font-size: 12px;
    color: var(--primary);
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-top: 28px;
    font-size: 13px;
    color: #e2f4ee;
}

.steps-section {
    padding: 85px 0;
}

.section-heading {
    margin-bottom: 45px;
}

.section-eyebrow {
    display: inline-block;
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.section-heading h2,
.info-section h2 {
    font-size: clamp(27px, 4vw, 36px);
    font-weight: 800;
    letter-spacing: -.8px;
}

.section-heading p {
    color: var(--muted);
    margin-top: 12px;
}

.step-card {
    height: 100%;
    padding: 30px;
    border: 1px solid #e8eef2;
    border-radius: 15px;
    position: relative;
    transition: .2s;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,.06);
}

.step-number {
    position: absolute;
    top: 18px;
    right: 20px;
    color: #e5ecef;
    font-size: 32px;
    font-weight: 800;
}

.step-icon {
    font-size: 38px;
    margin-bottom: 20px;
}

.step-card h3 {
    font-size: 19px;
    font-weight: 700;
}

.step-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 0;
}

.info-section {
    background: var(--background);
    padding: 80px 0;
}

.info-section p {
    color: var(--muted);
    line-height: 1.8;
}

.info-panel {
    background: white;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 10px 35px rgba(0,0,0,.04);
}

.info-panel-icon {
    font-size: 42px;
    margin-bottom: 18px;
}

.info-panel h3 {
    font-size: 22px;
    font-weight: 700;
}

.faq-section {
    padding: 85px 0;
}

.accordion {
    max-width: 850px;
}

.accordion-item {
    border: 1px solid #e8edf1 !important;
    border-radius: 9px !important;
    overflow: hidden;
    margin-bottom: 12px;
}

.accordion-button {
    font-weight: 600;
    padding: 19px;
}

.accordion-button:not(.collapsed) {
    background: #eef9f4;
    color: var(--primary-dark);
    box-shadow: none;
}

.accordion-body {
    color: var(--muted);
    line-height: 1.8;
}

.site-footer {
    background: var(--navy);
    color: white;
    padding: 45px 0 20px;
}

.footer-brand {
    color: white;
    text-decoration: none;
    font-size: 22px;
    font-weight: 800;
}

.footer-main p {
    color: #bdccda;
    font-size: 14px;
    margin-top: 10px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin: 25px 0;
}

.footer-links a {
    color: #dce7f2;
    text-decoration: none;
    font-size: 13px;
}

.footer-links a:hover {
    color: #48d5a0;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.15);
    padding-top: 20px;
    color: #bdccda;
    font-size: 12px;
}

.result-card {
    max-width: 520px;
    padding: 35px;
    background: white;
    border-radius: 17px;
    box-shadow: 0 10px 40px rgba(0,0,0,.06);
}

.result-success-icon {
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    margin: 0 auto 22px;
    background: #e4f8ee;
    color: var(--primary);
    font-size: 35px;
    font-weight: 800;
}

.result-card h1 {
    font-size: 26px;
    font-weight: 800;
}

.result-details {
    background: var(--background);
    border-radius: 10px;
    padding: 18px;
    margin-top: 25px;
}

.result-details div {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 8px 0;
    font-size: 13px;
}

.result-details span {
    color: var(--muted);
}

.result-details strong {
    overflow-wrap: anywhere;
    text-align: right;
}

@media(max-width:767px) {
    .hero-section {
        padding: 55px 0 45px;
    }

    .converter-card {
        padding: 18px;
    }

    .upload-area {
        padding: 27px 10px;
    }

    .hero-features {
        gap: 12px;
        font-size: 11px;
    }

    .steps-section,
    .faq-section {
        padding: 60px 0;
    }

    .info-section {
        padding: 55px 0;
    }

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