﻿/* ========== GLOBAL RESET & TYPOGRAPHY ========== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #0f172a;
    background: radial-gradient(circle at top, #4f46e5 0%, #0ea5e9 45%, #0f766e 100%);
}

/* Links */
a {
    text-decoration: none;
    color: inherit;
}

/* Container helpers */
.public-nav__inner,
.section__inner,
.public-footer__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== PUBLIC NAVBAR ========== */
.public-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(10px);
    color: #e5e7eb;
}

.public-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.public-nav__brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.logo-dot {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, #4f46e5, #22c55e);
}

.logo-text span {
    color: #22c55e;
}

.public-nav__links {
    display: flex;
    gap: 22px;
    font-size: 0.95rem;
}

    .public-nav__links a {
        color: #e5e7eb;
        opacity: 0.85;
        position: relative;
        padding-bottom: 2px;
    }

        .public-nav__links a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -2px;
            width: 0;
            height: 2px;
            border-radius: 999px;
            background: linear-gradient(90deg, #22c55e, #38bdf8);
            transition: width 0.18s ease-out;
        }

        .public-nav__links a:hover::after {
            width: 100%;
        }

/* ========== PAGE LAYOUT ========== */
.page {
    min-height: calc(100vh - 60px - 64px);
}

/* HERO SECTION */
.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: center;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 56px 20px 40px;
    color: #f9fafb;
}

.hero__content {
    max-width: 540px;
}

.hero__eyebrow {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #a5b4fc;
    margin: 0 0 8px;
}

.hero__title {
    font-size: clamp(2.1rem, 3vw, 2.6rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 12px;
}

.hero__subtitle {
    font-size: 0.98rem;
    line-height: 1.6;
    color: #e5e7eb;
    max-width: 480px;
    margin-bottom: 16px;
}

.hero__bullets {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.95rem;
    display: grid;
    gap: 4px;
    color: #d1fae5;
}

/* LOGIN AREA */
.hero__login {
    display: flex;
    justify-content: center;
}

.login-card {
    width: 360px;
    max-width: 100%;
    background: #ffffff;
    border-radius: 20px;
    padding: 24px 24px 26px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.32);
}

.login-card__title {
    margin: 0 0 4px;
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    text-align: left;
}

.login-card__subtitle {
    margin: 0 0 16px;
    font-size: 0.9rem;
    color: #6b7280;
}

/* Form elements */
.form-row {
    margin-bottom: 12px;
    text-align: left;
}

    .form-row label {
        display: block;
        margin-bottom: 4px;
        font-size: 0.85rem;
        font-weight: 600;
        color: #374151;
    }

.input {
    width: 100%;
    padding: 9px 11px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

    .input:focus {
        border-color: #4f46e5;
        box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.35);
    }

/* Button */
.btn-primary {
    margin-top: 4px;
    display: inline-block;
    width: 100%;
    padding: 10px 12px;
    border-radius: 999px;
    border: none;
    font-weight: 600;
    font-size: 0.95rem;
    background: linear-gradient(135deg, #1d4ed8, #4f46e5);
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.35);
    transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

    .btn-primary:hover {
        filter: brightness(1.05);
        transform: translateY(-1px);
        box-shadow: 0 14px 28px rgba(37, 99, 235, 0.45);
    }

/* Links below form */
.form-links {
    margin-top: 10px;
    font-size: 0.8rem;
    text-align: right;
}

    .form-links a {
        color: #2563eb;
    }

.form-divider {
    margin: 14px 0 8px;
    text-align: center;
    font-size: 0.8rem;
    color: #9ca3af;
    position: relative;
}

    .form-divider::before,
    .form-divider::after {
        content: "";
        position: absolute;
        top: 50%;
        width: 30%;
        height: 1px;
        background: #e5e7eb;
    }

    .form-divider::before {
        left: 0;
    }

    .form-divider::after {
        right: 0;
    }

.signup-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    margin-top: 4px;
}

.signup-cta__link {
    color: #16a34a;
    font-weight: 600;
}

/* Message styles */
.msg {
    display: block;
    margin-bottom: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 0.8rem;
    text-align: left;
}

    .msg.error {
        background: #fef2f2;
        color: #b91c1c;
        border: 1px solid #fecaca;
    }

    .msg.success {
        background: #ecfdf3;
        color: #15803d;
        border: 1px solid #bbf7d0;
    }

/* ========== SECTIONS BELOW HERO ========== */
.section {
    padding: 40px 0 46px;
}

.section--light {
    background: #f9fafb;
    color: #111827;
}

.section--dark {
    background: #020617;
    color: #e5e7eb;
}

.section__inner h2 {
    margin-top: 0;
    margin-bottom: 18px;
    font-size: 1.5rem;
}

/* Features */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.feature-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 16px 16px 18px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
    font-size: 0.9rem;
}

    .feature-card h3 {
        margin: 0 0 6px;
        font-size: 1rem;
    }

/* About */
.section__inner--split {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    align-items: flex-start;
}

    .section__inner--split p {
        font-size: 0.95rem;
        line-height: 1.7;
        color: #cbd5f5;
    }

.about-highlights {
    display: grid;
    gap: 16px;
}

.about-number {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
}

.about-label {
    font-size: 0.85rem;
    color: #9ca3af;
}

/* ========== FOOTER ========== */
.public-footer {
    background: #020617;
    color: #6b7280;
    padding: 14px 0 16px;
    font-size: 0.8rem;
}

.public-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.public-footer__links {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

    .public-footer__links a {
        color: #9ca3af;
    }

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: minmax(0, 1fr);
        padding-top: 40px;
    }

    .hero__login {
        justify-content: flex-start;
    }

    .login-card {
        margin-top: 12px;
    }

    .public-nav__links {
        display: none; /* keep navbar super clean on mobile */
    }

    .section__inner--split {
        flex-direction: column;
    }

    .feature-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

/* FULL-PAGE SIGNUP FORM */
.signup-full {
    min-height: calc(100vh - 60px);
    padding: 40px 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.signup-container {
    max-width: 900px;
    width: 100%;
    margin-top: 20px;
}

.signup-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.signup-card-full {
    background: #ffffff;
    border-radius: 20px;
    padding: 25px 28px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.18);
}

    .signup-card-full .input {
        background: #f9fafb;
    }

.signup-btn {
    margin-top: 15px;
    padding: 12px;
    font-size: 1rem;
}

/* PACKAGE SUMMARY CARD */
.package-container {
    max-width: 700px;
}

.package-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px 26px 22px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.25);
}

.package-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 0.95rem;
}

.package-row--highlight {
    font-weight: 600;
    margin-top: 4px;
}

.package-label {
    color: #6b7280;
}

.package-value {
    color: #111827;
}

.package-divider {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 12px 0 8px;
}

.package-actions {
    margin-top: 18px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.btn-secondary {
    display: inline-block;
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: #f9fafb;
    font-size: 0.9rem;
    cursor: pointer;
}

.package-paybtn {
    width: auto;
    padding-inline: 24px;
}
