/* ============================================
   AEVUM HEALTH AI - BASE STYLES
   ============================================ */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Manrope:wght@200;300;400;500;600;700;800&display=swap');

/* ============================================
   GLOBAL CSS VARIABLES & TYPOGRAPHY SYSTEM
   ============================================ */
:root {
    /* Font families */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --font-display: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    
    /* Font weights */
    --fw-light: 300;
    --fw-normal: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-extrabold: 800;
    --fw-black: 900;
    
    /* Line heights */
    --lh-tight: 1.1;
    --lh-normal: 1.5;
    --lh-relaxed: 1.7;
    
    /* Color palette */
    --primary-gradient-start: #667eea;
    --primary-gradient-end: #764ba2;
    --text-white-80: rgba(255, 255, 255, 0.8);
    --text-white-70: rgba(255, 255, 255, 0.7);
    --text-white-50: rgba(255, 255, 255, 0.5);
}

/* Base typography with OpenType features */
* {
    font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Remove default margins and eliminate white lines */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-family: var(--font-primary);
    font-weight: var(--fw-normal);
    line-height: var(--lh-normal);
    padding-top: 0;
    margin: 0;
    background: #f8f9fa;
}

main {
    margin: 0;
    padding: 0;
}

/* Auth pages specific adjustments */
.login-split-bg {
    margin-top: 70px !important; /* Account for fixed navbar */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    line-height: var(--lh-tight);
}

/* ============================================
   ENHANCED NAVBAR LOGO STYLES - COMMON
   ============================================ */
.navbar.fixed-top {
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    background: #222 !important;
    z-index: 1030;
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 1%;
}

/* Navbar hover effects */
.navbar-nav .nav-link {
    font-weight: 500;
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover {
    color: #667eea !important;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar-nav .nav-link.active {
    color: #667eea !important;
    font-weight: 600;
}

.navbar .logo-enhanced {
    display: flex !important;
    align-items: center;
    text-decoration: none !important;
}

.navbar .logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar .logo-icon {
    position: relative;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.navbar .logo-icon i {
    color: white;
    font-size: 1.2rem;
    z-index: 2;
}

.navbar .logo-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.4);
    animation: navLogoPulse 2s ease-in-out infinite;
}

@keyframes navLogoPulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

.navbar .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.navbar .logo-main {
    font-size: 1.8rem;
    font-weight: var(--fw-extrabold);
    font-family: var(--font-display);
    background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.navbar .logo-tagline {
    font-size: 0.7rem;
    color: var(--text-white-70);
    font-weight: var(--fw-medium);
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: -2px;
}

/* Logo hover effects */
.navbar-brand:hover .logo-main {
    background: linear-gradient(135deg, var(--primary-gradient-end), var(--primary-gradient-start));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-brand:hover .logo-pulse {
    animation-duration: 1s;
}

/* Responsive navbar logo */
@media (max-width: 768px) {
    .navbar .logo-main {
        font-size: 1.5rem;
    }
    
    .navbar .logo-tagline {
        font-size: 0.6rem;
    }
    
    .navbar .logo-icon {
        width: 35px;
        height: 35px;
    }
    
    .navbar .logo-icon i {
        font-size: 1rem;
    }
}

/* ============================================
   COMMON ANIMATIONS & EFFECTS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.fade-in.delay-1 { animation-delay: 0.2s; }
.fade-in.delay-2 { animation-delay: 0.4s; }
.fade-in.delay-3 { animation-delay: 0.6s; }
.fade-in.delay-4 { animation-delay: 0.8s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   HERO SECTION STYLES
   ============================================ */
.hero-section {
    background: linear-gradient(135deg, var(--primary-gradient-start) 0%, var(--primary-gradient-end) 100%);
    color: white;
    position: relative;
    overflow: hidden;
    padding-top: 72px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

/* ============================================
   FEATURE CARDS & COMPONENTS
   ============================================ */
.feature-card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-gradient-start) 0%, var(--primary-gradient-end) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.feature-icon i {
    color: white;
    font-size: 2rem;
}

/* ============================================
   GLASS EFFECT STYLES
   ============================================ */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.glass-card h2, 
.glass-card h3, 
.glass-card p, 
.glass-card span {
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.btn-gradient {
    background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
    border: none;
    color: white;
    font-weight: var(--fw-medium);
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    background: linear-gradient(135deg, var(--primary-gradient-end), var(--primary-gradient-start));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 992px) {
    .hero-section {
        padding-top: 100px;
    }
}

@media (max-width: 768px) {
    .feature-card {
        margin-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem !important;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

/* ============================================
   FOOTER STYLES - SITE-WIDE
   ============================================ */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.5), transparent);
}

.footer-content {
    position: relative;
    z-index: 2;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.footer-brand .logo-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    position: relative;
}

.footer-brand .logo-icon::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #667eea, #764ba2, #ffd700);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
    animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.05); }
}

.footer-brand .logo-icon i {
    color: white;
    font-size: 1.8rem;
    z-index: 2;
}

.footer-brand-text h3 {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    line-height: 1;
    letter-spacing: -1px;
}

.footer-brand-text p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

.footer-section h5 {
    color: #667eea;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
}

.footer-section h5::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 400;
    position: relative;
    display: inline-block;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    width: 0;
    height: 1px;
    background: #667eea;
    transition: width 0.3s ease;
    transform: translateY(-50%);
}

.footer-links a:hover {
    color: #667eea;
    transform: translateX(10px);
}

.footer-links a:hover::before {
    width: 8px;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.footer-social a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transition: left 0.4s ease;
    z-index: -1;
}

.footer-social a:hover::before {
    left: 0;
}

.footer-social a:hover {
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.footer-social a i {
    font-size: 1.2rem;
    z-index: 2;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-bottom a:hover {
    color: #667eea;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Responsive footer */
@media (max-width: 768px) {
    .footer-brand {
        justify-content: center;
        text-align: center;
    }
    
    .footer-brand-text h3 {
        font-size: 1.8rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-bottom .col-md-6:last-child {
        text-align: center !important;
        margin-top: 1rem;
    }
} 