/* 
 * MediChatApp Modern Overhaul CSS
 * High-end SaaS Aesthetic
 */

:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --secondary: #0f172a;
    --accent: #06b6d4;
    --text-main: #334155;
    --text-dark: #0f172a;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: -0.025em;
}

.display-1, .display-2, .display-3, .display-4 {
    font-weight: 800;
    letter-spacing: -0.05em;
}

/* Navigation Overhaul */
.navbar-marketing {
    padding-top: 1rem;
    padding-bottom: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.navbar-marketing .navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary) !important;
    letter-spacing: -0.03em;
}

.navbar-marketing .nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s ease;
}

.navbar-marketing .nav-link:hover {
    color: var(--primary) !important;
}

/* Buttons */
.btn {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Hero Section */
.page-header-ui {
    padding: 8rem 0 6rem;
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.05), transparent),
                radial-gradient(circle at bottom left, rgba(6, 182, 212, 0.05), transparent);
}

.page-header-ui-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.page-header-ui-text {
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 2.5rem;
}

/* Cards & Features */
.card {
    border: none;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.icon-stack {
    height: 3rem;
    width: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    background-color: var(--secondary) !important;
    color: rgba(255, 255, 255, 0.7);
    padding: 5rem 0 2rem;
}

.footer h6, .footer .footer-brand {
    color: var(--white) !important;
}

.footer a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer a:hover {
    color: var(--white);
}

/* Mobile Navigation Fixes */
@media (max-width: 991.98px) {
    .navbar-marketing {
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
    }
    .navbar-marketing .navbar-brand {
        font-size: 1.25rem !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 70%;
    }
    .navbar-marketing .navbar-toggler {
        padding: 0.25rem 0.5rem !important;
    }
    /* Prevent page cutoff */
    body {
        padding-top: 60px !important;
    }
    .page-header-ui {
        padding-top: 4rem !important;
        padding-bottom: 3rem !important;
    }
}

/* Single-Page Registration Form Styles */
.registration-card {
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 1.5rem;
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-lg);
}
.registration-header {
    background: var(--primary);
    color: var(--white);
    padding: 2rem;
    text-align: center;
}
.registration-body {
    padding: 2.5rem;
}
.form-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--bg-light);
}
.pricing-summary-card {
    background: var(--bg-light);
    border-radius: 1rem;
    padding: 1.5rem;
    position: sticky;
    top: 100px;
}
