/* ===== LANDING PAGE STYLES ===== */

html {
    scroll-behavior: smooth;
}

/* ===== NAVBAR ===== */
.landing-navbar {
    background: linear-gradient(135deg, #1a237e 0%, #1565c0 100%);
    padding: 0.75rem 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    z-index: 1040;
}

.landing-navbar .navbar-brand {
    font-size: 1.4rem;
    color: #fff !important;
    letter-spacing: 0.5px;
}

.landing-navbar .nav-link {
    font-weight: 500;
    transition: opacity 0.2s;
}

.landing-navbar .nav-link:hover {
    opacity: 0.85;
}

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #0d47a1 0%, #1565c0 40%, #1e88e5 100%);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-section .display-3 {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-section .lead {
    font-size: 1.25rem;
    opacity: 0.92;
}

/* ===== PAIN POINTS SECTION ===== */
.pain-card {
    border-left: 4px solid #dc3545 !important;
    border-radius: 8px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pain-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
}

.pain-card h5 {
    color: #2c2c2c;
    font-size: 1.05rem;
    line-height: 1.5;
}

.pain-card .text-danger {
    opacity: 0.85;
}

/* ===== FEATURES SECTION ===== */
.feature-card {
    background: #f4f6ff;
    border-radius: 12px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    background: #fff;
}

.feature-card .text-primary {
    color: #1565c0 !important;
}

/* ===== BENEFITS / TRUST SECTION ===== */
.benefits-section {
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
}

.benefits-section i {
    opacity: 0.9;
}

.benefits-section p {
    opacity: 0.85;
    font-size: 0.95rem;
}

/* ===== CTA SECTION ===== */
.cta-section .btn-primary {
    background: linear-gradient(135deg, #1565c0 0%, #1e88e5 100%);
    border: none;
    padding: 0.75rem 2.5rem;
    font-size: 1.1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-section .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(21, 101, 192, 0.35);
}

/* ===== LOGIN & SIGNUP MODALS ===== */
#loginModal .modal-content,
#signUpModal .modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

#loginModal .modal-header,
#signUpModal .modal-header {
    padding: 1.25rem 1.5rem 0.5rem;
}

#loginModal .modal-body,
#signUpModal .modal-body {
    padding: 0 1.5rem 1.5rem;
}

#loginModal .s-Panel,
#signUpModal .s-Panel {
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
}

#loginModal .password-container,
#signUpModal .password-container {
    width: 100% !important;
}

#loginModal .password-container input,
#signUpModal .password-container input {
    width: 100% !important;
    min-width: 0;
}

#loginModal .s-form-title-logo,
#loginModal .text-center.p-4,
#signUpModal .s-form-title-logo,
#signUpModal .text-center.p-4 {
    display: none;
}

#loginModal h5.text-center.my-4,
#signUpModal h5.text-center.my-4 {
    display: none;
}

/* ===== BODY OVERRIDES ===== */
body.landing-page {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

body.landing-page #PageBackground {
    display: none !important;
}

/* ===== FOOTER ===== */
.landing-footer {
    background: #1a1a2e;
}

.landing-footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.landing-footer a:hover {
    color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .hero-section {
        min-height: 85vh;
        padding-top: 100px;
    }

    .hero-section .display-3 {
        font-size: 2.2rem;
    }

    .hero-section .lead {
        font-size: 1.05rem;
    }
}

@media (max-width: 767px) {
    .hero-section {
        min-height: 75vh;
        padding-top: 90px;
    }

    .hero-section .display-3 {
        font-size: 1.8rem;
    }

    .pain-card {
        padding: 1rem !important;
    }

    .pain-card h5 {
        font-size: 0.95rem;
    }

    .landing-navbar .btn {
        padding: 0.35rem 0.75rem;
        font-size: 0.85rem;
    }
}
