﻿:root {
    --primary: #1f4fd8;
    --primary-dark: #173ea8;
    --secondary: #0f766e;
    --background: #f5f7fb;
    --surface: #ffffff;
    --text: #1f2937;
    --muted: #6b7280;
    --border: #e5e7eb;
    --success: #047857;
    --danger: #b91c1c;
    --shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 18px 48px rgba(15, 23, 42, 0.14);
    --radius: 16px;
    --radius-lg: 22px;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: var(--background);
    color: var(--text);
}

input,
select,
textarea {
    max-width: none;
}

/* Main shell */

.site-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 18px;
}

/* Header / Footer */

.site-header,
.site-footer {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.site-footer {
    border-top: 1px solid var(--border);
    border-bottom: none;
    margin-top: 32px;
}

/* Hero */

.hero-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #ffffff;
    padding: 54px 26px;
    border-radius: 18px;
    margin: 22px 0;
    text-align: center;
}

.hero-title {
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 14px;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    max-width: 760px;
    margin: 0 auto 26px auto;
    color: #eef2ff;
}

.hero-search {
    max-width: 760px;
    margin: 0 auto;
    background: #ffffff;
    padding: 14px;
    border-radius: 14px;
}

/* Sections */

.section-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 24px;
    margin: 18px 0;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #111827;
}

/* Feature / CTA Cards */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.split-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.feature-card,
.cta-card {
    background: #f9fafb;
    border-radius: 14px;
    padding: 20px;
    border: 1px solid var(--border);
}

.cta-card {
    background: #eef2ff;
    border-color: #c7d2fe;
}

.feature-icon {
    font-size: 30px;
    margin-bottom: 10px;
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #111827;
}

.feature-text {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
}

/* Business Card */

.business-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    display: flex;
    gap: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.business-card-logo {
    flex: 0 0 80px;
}

.business-card-body {
    flex: 1;
}

.business-card-title {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin: 4px 0;
}

.business-card-meta {
    display: block;
    font-size: 13px;
    color: var(--muted);
    margin-top: 3px;
}

.business-card-text {
    display: block;
    font-size: 14px;
    color: #374151;
    line-height: 1.5;
    margin-top: 8px;
}

/* Authentication / OTP */

.auth-wrapper {
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 42px 16px;
}

.auth-card {
    width: 100%;
    max-width: 460px;
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 34px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.auth-title {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 8px;
    text-align: center;
}

.auth-subtitle {
    display: block;
    font-size: 15px;
    line-height: 1.6;
    color: var(--muted);
    margin-bottom: 22px;
    text-align: center;
}

.auth-label {
    font-size: 14px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 8px;
}

.auth-input {
    font-size: 16px;
}

.otp-input {
    letter-spacing: 8px;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
}

.auth-message-success {
    color: var(--success);
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 12px;
    border-radius: 12px;
    display: block;
}

.auth-message-error {
    color: var(--danger);
    background: #fef2f2;
    border: 1px solid #fecaca;
    padding: 12px;
    border-radius: 12px;
    display: block;
}

/* Mobile */

@media (max-width: 760px) {
    .site-shell {
        padding: 0 12px;
    }

    .hero-section {
        padding: 34px 16px;
        border-radius: 14px;
    }

    .hero-title {
        font-size: 26px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .feature-grid,
    .split-grid {
        grid-template-columns: 1fr;
    }

    .business-card {
        flex-direction: column;
        text-align: center;
    }

    .business-card-logo {
        flex: none;
    }

    .auth-card {
        padding: 24px;
        border-radius: 18px;
    }

    .auth-title {
        font-size: 24px;
    }

    .otp-input {
        letter-spacing: 5px;
        font-size: 20px;
    }
    .home-audience-section {
        padding: 34px 40px 44px 40px;
        background-color: #ffffff;
    }

    .home-audience-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
        max-width: 1700px;
        margin: 0 auto;
    }

    .home-audience-card {
        background-color: #f1f4ff;
        border: 1px solid #cbd7ff;
        border-radius: 24px;
        padding: 34px 42px;
        text-align: right;
        min-height: 285px;
    }

        .home-audience-card h2 {
            margin: 0 0 22px 0;
            font-size: 34px;
            font-weight: 700;
            color: #172033;
        }

        .home-audience-card p {
            margin: 0 0 24px 0;
            font-size: 18px;
            line-height: 2;
            color: #525d6f;
        }

    .home-audience-button {
        display: block;
        width: 50%;
        min-width: 220px;
        margin: 20px auto 0 auto;
        padding: 10px 18px;
        text-align: center;
        background-color: #ffffff;
        border: 1px solid #9ca6b5;
        color: #172033 !important;
        text-decoration: none !important;
        font-weight: 600;
    }

    .home-platform-section {
        margin-top: 28px;
        padding: 42px 40px 50px 40px;
        background-color: #ffffff;
        border-radius: 28px;
    }

    .home-platform-title {
        margin: 0 0 28px 0;
        text-align: right;
        font-size: 34px;
        font-weight: 700;
        color: #172033;
    }

    .home-platform-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    .home-platform-card {
        background-color: #fbfcfe;
        border: 1px solid #e1e5ec;
        border-radius: 22px;
        padding: 38px 30px;
        text-align: center;
        min-height: 280px;
    }

    .home-platform-icon {
        margin-bottom: 18px;
        font-size: 38px;
    }

    .home-platform-card h3 {
        margin: 0 0 15px 0;
        font-size: 25px;
        font-weight: 700;
        color: #172033;
    }

    .home-platform-card p {
        margin: 0;
        font-size: 16px;
        line-height: 2;
        color: #5f6878;
    }

    @media (max-width: 900px) {
        .home-audience-grid,
        .home-platform-grid {
            grid-template-columns: 1fr;
        }

        .home-audience-section,
        .home-platform-section {
            padding-left: 18px;
            padding-right: 18px;
        }

        .home-audience-card h2,
        .home-platform-title {
            font-size: 26px;
        }

        .home-audience-button {
            width: 100%;
            min-width: 0;
        }
    }
}
