/* style.css */

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: #fff;
    color: #111827;
    min-height: 100vh;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px 24px;
}

/* ── Header ──────────────────────────────────────────────── */

.header {
    text-align: center;
    margin-bottom: 90px;
}

.top-nav {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 56px;
    font-size: 1.4rem;
    font-weight: 500;
    color: #374151;
}

.top-nav a {
    color: currentColor;
    text-decoration: none;
}

.top-nav a:hover {
    color: #2563eb;
}

.logo {
    font-size: 4.2rem;
    font-weight: 900;
    letter-spacing: -3px;
    line-height: 0.88;
    margin-bottom: 8px;
}

.subtitle {
    font-size: 1.65rem;
    font-weight: 500;
    color: #4b5563;
}

/* ── Main content ────────────────────────────────────────── */

.main-content {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.column {
    text-align: center;
}

.column h2 {
    font-size: 1.65rem;
    font-weight: 800;
    margin-bottom: 40px;
    color: #111827;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 620px;
    margin: 0 auto 18px;
}

.input-wrapper {
    flex: 1;
    text-align: center;
}

.search-form input {
    width: 100%;
    padding: 18px 28px;
    font-size: 1.18rem;
    border: 2px solid #d1d5db;
    border-radius: 9999px;
    transition: all 0.22s;
    text-align: center;
}

.search-form input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.14);
}

.search-form input::placeholder {
    color: #94a3b8;
}

.btn-search {
    min-width: 120px;
    padding: 18px 32px;
    font-size: 1.08rem;
    font-weight: 600;
    color: white;
    background: #2563eb;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-search:hover {
    background: #1d4ed8;
}

.helper-text {
    font-size: 1.03rem;
    color: #6b7280;
}

.result-area {
    margin-top: 32px;
    font-size: 1.45rem;
    font-weight: 700;
    min-height: 2.4rem;
}

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 980px) {
    .columns {
        grid-template-columns: 1fr;
        gap: 100px;
    }

    .header {
        margin-bottom: 70px;
    }

    .top-nav {
        gap: 32px;
        flex-wrap: wrap;
    }

    .logo {
        font-size: 4.2rem;
    }

    .subtitle {
        font-size: 1.45rem;
    }

    .column h2 {
        font-size: 2.1rem;
    }
}


.result-page .main-content {
    display: block;
    text-align: center;
}

.result-box {
    max-width: 680px;
    margin: 0 auto 60px;
    padding: 60px 40px;
    background: #f8fafc;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
        text-align: center;
}

.result-box h2 {
    font-size: 2.8rem;
    margin-bottom: 24px;
}

.big-result {
    font-size: 2.1rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 48px;
}

.big-result strong {
    color: #2563eb;
    font-weight: 900;
}

.big-result .query {
    color: #475569;
    font-weight: 700;
}

.cta-section {
    font-size: 1.35rem;
    color: #475569;
}

.cta-section .strong {
    font-weight: 700;
    margin: 8px 0 28px;
}

.btn-register {
    display: inline-block;
    padding: 18px 48px;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    background: #2563eb;
    border-radius: 9999px;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-register:hover {
    background: #1d4ed8;
}

/* About page specific styles */

.about-page .page-wrapper {
    padding-top: 60px;
    padding-bottom: 80px;
}

.page-title {
    font-size: 3.4rem;
    font-weight: 900;
    letter-spacing: -1.5px;
    text-align: center;
    margin: 0 0 80px;
    line-height: 1.1;
    color: #111827;
}

.about-content .section {
    max-width: 920px;
    margin: 0 auto 100px;
}

.about-content h2 {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 32px;
    color: #111827;
}

.lead {
    font-size: 1.38rem;
    font-weight: 600;
    margin-bottom: 28px;
}

.highlight {
    font-size: 1.32rem;
    font-weight: 600;
    color: #2563eb;
    margin-top: 32px;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin: 36px 0;
}

.feature {
    font-size: 1.15rem;
    line-height: 1.6;
}

.feature strong {
    color: #2563eb;
}

.feature-list {
    margin: 28px 0 36px 0;
    padding-left: 0;
    list-style: none;
}

.feature-list li {
    font-size: 1.18rem;
    margin-bottom: 14px;
    padding-left: 32px;
    position: relative;
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 18px;
    height: 18px;
    background: #2563eb;
    border-radius: 50%;
    display: inline-block;
}

.cta-text {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 36px 0 24px;
}

.contact-box {
    background: #f8fafc;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    margin-top: 28px;
}

.contact-box p {
    font-size: 1.18rem;
    margin-bottom: 12px;
}

.contact-box strong {
    color: #111827;
}

.last-section {
    margin-bottom: 60px;
}

/* Responsive adjustments */
@media (max-width: 980px) {
    .page-title {
        font-size: 2.8rem;
    }

    .about-content h2 {
        font-size: 2.2rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
