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

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: #f8fafc;
    color: #1a1a2e;
}

/* NAVBAR */
.navbar {
    background-color: #ffffff;
    padding: 16px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e8edf2;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.navbar .logo {
    color: #1a1a2e;
    font-size: 22px;
    font-weight: 800;
    text-decoration: none;
}

.navbar .logo span {
    color: #00d4ff;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-right p {
    color: #666;
    font-size: 14px;
}

.nav-badge {
    background: #e8f9ff;
    color: #0099cc;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

/* HERO */
.hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    text-align: center;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0,212,255,0.05) 0%, transparent 60%);
    pointer-events: none;
}

.hero-badge {
    display: inline-block;
    background: rgba(0,212,255,0.15);
    border: 1px solid rgba(0,212,255,0.3);
    color: #00d4ff;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: 52px;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.15;
    letter-spacing: -1px;
}

.hero h1 span {
    color: #00d4ff;
}

.hero p {
    font-size: 19px;
    color: #b0bec5;
    max-width: 580px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
}

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

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 28px;
    font-weight: 800;
    color: #00d4ff;
}

.stat p {
    font-size: 13px;
    color: #888;
    margin: 0;
}

/* HOW IT WORKS */
.how-it-works {
    background: white;
    padding: 60px 20px;
    text-align: center;
    border-bottom: 1px solid #e8edf2;
}

.how-it-works h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 40px;
    color: #1a1a2e;
}

.steps {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    flex: 1;
    padding: 20px;
}

.step-number {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    margin: 0 auto 16px auto;
}

.step h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a1a2e;
}

.step p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* MAIN FORM AREA */
.container {
    max-width: 920px;
    margin: 50px auto;
    padding: 0 20px;
}

.section-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 24px;
    color: #1a1a2e;
    text-align: center;
}

.card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    border: 1px solid #e8edf2;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.card-header h2 {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a2e;
}

.card-header .tip {
    font-size: 12px;
    color: #999;
    margin-left: auto;
}

.card textarea {
    width: 100%;
    padding: 16px;
    border: 1.5px solid #e8edf2;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    outline: none;
    transition: border 0.2s, box-shadow 0.2s;
    color: #333;
    line-height: 1.6;
    background: #fafbfc;
}

.card textarea:focus {
    border-color: #00d4ff;
    box-shadow: 0 0 0 3px rgba(0,212,255,0.1);
    background: white;
}

/* BUTTON */
.btn-primary {
    display: block;
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: white;
    font-size: 19px;
    font-weight: 800;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(0,153,204,0.4);
    letter-spacing: 0.3px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,153,204,0.5);
}

.btn-primary:active {
    transform: translateY(0);
}

/* TRUST STRIP */
.trust-strip {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
}

.trust-item span {
    color: #00aa55;
    font-weight: 700;
}

/* LOADING */
.loading {
    display: none;
    text-align: center;
    padding: 30px;
    margin-top: 20px;
}

.loading-spinner {
    width: 44px;
    height: 44px;
    border: 4px solid #e8edf2;
    border-top: 4px solid #00d4ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.loading p {
    font-size: 14px;
    color: #888;
}

/* RESULT PAGE */
.result-hero {
    background: linear-gradient(135deg, #00aa55, #007a3d);
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.result-hero h1 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 12px;
}

.result-hero p {
    font-size: 17px;
    color: rgba(255,255,255,0.85);
}

.download-buttons {
    display: flex;
    gap: 16px;
    margin: 30px 0;
}

.btn-docx {
    flex: 1;
    padding: 16px;
    background: linear-gradient(135deg, #1a1a2e, #0f3460);
    color: white;
    text-align: center;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    font-size: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    transition: transform 0.2s;
}

.btn-docx:hover {
    transform: translateY(-2px);
}

.btn-docx .rec {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: #00d4ff;
    margin-top: 4px;
}

.btn-pdf {
    flex: 1;
    padding: 16px;
    background: white;
    color: #1a1a2e;
    text-align: center;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    font-size: 16px;
    border: 2px solid #e8edf2;
    transition: transform 0.2s;
}

.btn-pdf:hover {
    transform: translateY(-2px);
}

.result-box {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    border: 1px solid #e8edf2;
    white-space: pre-wrap;
    font-size: 14px;
    line-height: 1.9;
    color: #333;
}

.result-badges {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.result-badge {
    background: #e8f9f0;
    color: #00aa55;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.btn-back {
    display: inline-block;
    margin-top: 20px;
    color: #0099cc;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
}

.btn-back:hover {
    text-decoration: underline;
}

/* FOOTER */
.footer {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 13px;
    border-top: 1px solid #e8edf2;
    margin-top: 60px;
}

.footer a {
    color: #0099cc;
    text-decoration: none;
}/* DIFFERENCE GRID */
.difference-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 10px;
}

.diff-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e8edf2;
}

.diff-icon {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0;
}

.diff-item strong {
    display: block;
    font-size: 15px;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.diff-item p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}
/* MOBILE RESPONSIVE */
@media (max-width: 768px) {

    .navbar {
        padding: 14px 20px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .navbar .logo {
        font-size: 18px;
    }

    .nav-right {
        gap: 10px;
    }

    .nav-right a {
        font-size: 12px !important;
        padding: 6px 12px !important;
    }

    .hero {
        padding: 40px 16px;
    }

    .hero h1 {
        font-size: 28px;
        letter-spacing: -0.5px;
    }

    .hero p {
        font-size: 15px;
    }

    .hero-stats {
        gap: 20px;
        flex-wrap: wrap;
    }

    .stat h3 {
        font-size: 22px;
    }

    .steps {
        flex-direction: column;
        gap: 20px;
        padding: 0 16px;
    }

    .container {
        padding: 0 16px;
        margin: 24px auto;
    }

    .card {
        padding: 20px 16px;
    }

    .card textarea {
        font-size: 16px;
    }

    .btn-primary {
        font-size: 16px;
        padding: 16px;
    }

    .download-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .btn-docx, .btn-pdf {
        font-size: 14px;
        padding: 14px;
    }

    .trust-strip {
        gap: 12px;
        justify-content: flex-start;
    }

    .trust-item {
        font-size: 12px;
    }

    .difference-grid {
        gap: 12px;
    }

    .diff-item {
        padding: 12px;
    }

    .hero-badge {
        font-size: 12px;
        padding: 6px 14px;
    }

    .result-box {
        padding: 20px 16px;
        font-size: 13px;
    }

    .result-badges {
        flex-wrap: wrap;
        gap: 8px;
    }

    .how-it-works {
        padding: 40px 16px;
    }

    .how-it-works h2 {
        font-size: 22px;
    }

    .footer {
        padding: 30px 16px;
        font-size: 12px;
    }
}