/* =====================================================
   SMART DATA SIMULATOR - MAIN STYLESHEET
   ===================================================== */

/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary-color: #667eea;
    --primary-dark: #5a67d8;
    --secondary-color: #764ba2;
    --accent-color: #10b981;
    
    --healthcare-color: #ef4444;
    --banking-color: #3b82f6;
    --enterprise-color: #8b5cf6;
    
    /* Neutrals */
    --text-dark: #1a202c;
    --text-medium: #4a5568;
    --text-light: #718096;
    --border-color: #e2e8f0;
    --bg-light: #f7fafc;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ========== NAVIGATION ========== */
.navbar {
    background: #fff;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-brand i {
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.btn-login {
    padding: 0.625rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ========== HERO SECTIONS ========== */
.hero {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: var(--spacing-2xl) 0;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-overlay {
    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 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,101.3C1248,85,1344,75,1392,69.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.hero-description {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

/* Page Hero */
.page-hero {
    padding: var(--spacing-xl) 0;
    min-height: 300px;
}

.healthcare-hero {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.banking-hero {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.page-hero-content {
    position: relative;
    z-index: 1;
}

.breadcrumb {
    color: rgba(255,255,255,0.9);
    margin-bottom: var(--spacing-sm);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
}

.breadcrumb i {
    font-size: 0.75rem;
    margin: 0 0.5rem;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.page-hero .lead {
    font-size: 1.25rem;
    opacity: 0.95;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--bg-light);
}

.btn-light {
    background: white;
    color: var(--primary-color);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ========== SECTIONS ========== */
section {
    padding: var(--spacing-2xl) 0;
}

.section-light {
    background: var(--bg-light);
}

.section-white {
    background: white;
}

.section-accent {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-medium);
}

.lead-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: var(--spacing-md);
}

/* ========== CONTENT LAYOUTS ========== */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.content-split {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.content-text h3 {
    font-size: 1.75rem;
    margin: var(--spacing-lg) 0 var(--spacing-md);
    color: var(--text-dark);
}

.content-text p {
    margin-bottom: var(--spacing-md);
    color: var(--text-medium);
}

/* ========== VISUAL CARDS ========== */
.content-visual {
    display: grid;
    gap: var(--spacing-md);
}

.visual-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.visual-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.visual-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.visual-card p {
    color: var(--text-medium);
}

/* ========== FEATURE HIGHLIGHTS ========== */
.feature-highlight {
    background: white;
    padding: var(--spacing-md);
    border-radius: 8px;
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: var(--spacing-md);
}

.feature-highlight i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.feature-highlight h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.feature-highlight p {
    color: var(--text-medium);
    font-size: 0.95rem;
}

/* ========== STATS ROW ========== */
.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-md);
    background: white;
    border-radius: 8px;
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.stat-item p {
    color: var(--text-medium);
    font-size: 0.9rem;
}

/* ========== KEY BENEFITS ========== */
.key-benefits {
    margin-top: var(--spacing-xl);
}

.benefit-item {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-md);
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.benefit-item i {
    font-size: 1.75rem;
    color: var(--accent-color);
}

.benefit-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.benefit-item p {
    color: var(--text-medium);
    font-size: 0.95rem;
}

/* ========== USE CASE CARDS ========== */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
}

.use-case-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
}

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

.icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    font-size: 2rem;
    color: white;
}

.icon-wrapper.healthcare {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.icon-wrapper.banking {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.icon-wrapper.enterprise {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.use-case-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.use-case-card > p {
    color: var(--text-medium);
    margin-bottom: var(--spacing-md);
}

.use-case-features {
    list-style: none;
    margin-bottom: var(--spacing-md);
}

.use-case-features li {
    padding: 0.5rem 0;
    color: var(--text-medium);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.use-case-features i {
    color: var(--accent-color);
}

.card-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.card-link:hover {
    gap: 0.75rem;
}

/* ========== FEATURES GRID ========== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.feature-box {
    text-align: center;
    padding: var(--spacing-xl);
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.feature-box:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.feature-box i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.feature-box h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.feature-box p {
    color: var(--text-medium);
}

/* ========== EHR CARDS ========== */
.ehr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.ehr-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--healthcare-color);
}

.ehr-logo {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.ehr-logo i {
    font-size: 2rem;
    color: var(--healthcare-color);
}

.ehr-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.ehr-card > p {
    color: var(--text-medium);
    margin-bottom: var(--spacing-md);
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 0.5rem 0;
    color: var(--text-medium);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-list i {
    color: var(--accent-color);
    font-size: 0.875rem;
}

/* ========== HL7 MESSAGING ========== */
.hl7-content {
    display: grid;
    gap: var(--spacing-xl);
}

.hl7-info h3 {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.message-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.message-type-box {
    background: white;
    padding: var(--spacing-lg);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.message-type-box h4 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.message-type-box h4 i {
    color: var(--healthcare-color);
}

.message-type-box p {
    color: var(--text-medium);
    margin-bottom: var(--spacing-sm);
    font-size: 0.95rem;
}

.msg-examples {
    display: block;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: var(--text-light);
    background: var(--bg-light);
    padding: 0.5rem;
    border-radius: 4px;
    margin-top: 0.5rem;
}

.hl7-versions h3 {
    font-size: 2rem;
    margin-bottom: var(--spacing-lg);
    color: var(--text-dark);
}

.version-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.version-box {
    background: white;
    padding: var(--spacing-lg);
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.version-box i {
    font-size: 2.5rem;
    color: var(--healthcare-color);
    margin-bottom: var(--spacing-sm);
}

.version-box h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.version-box p {
    color: var(--text-medium);
    font-size: 0.9rem;
}

/* ========== SCENARIOS ========== */
.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.scenario-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid transparent;
    transition: all 0.3s;
}

.scenario-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.scenario-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    font-size: 1.75rem;
    color: white;
}

.scenario-icon.emergency { background: linear-gradient(135deg, #ef4444, #dc2626); }
.scenario-icon.surgery { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.scenario-icon.maternity { background: linear-gradient(135deg, #ec4899, #db2777); }
.scenario-icon.medication { background: linear-gradient(135deg, #10b981, #059669); }
.scenario-icon.lab { background: linear-gradient(135deg, #f59e0b, #d97706); }
.scenario-icon.radiology { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.scenario-icon.retail { background: linear-gradient(135deg, #10b981, #059669); }
.scenario-icon.payments { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.scenario-icon.fraud { background: linear-gradient(135deg, #ef4444, #dc2626); }
.scenario-icon.wealth { background: linear-gradient(135deg, #f59e0b, #d97706); }
.scenario-icon.international { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.scenario-icon.compliance { background: linear-gradient(135deg, #64748b, #475569); }

.scenario-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.scenario-card ul {
    list-style: none;
}

.scenario-card li {
    padding: 0.5rem 0;
    color: var(--text-medium);
    border-bottom: 1px solid var(--border-color);
}

.scenario-card li:last-child {
    border-bottom: none;
}

/* ========== OPEN BANKING ========== */
.open-banking-grid {
    display: grid;
    gap: var(--spacing-xl);
}

.api-category {
    background: white;
    padding: var(--spacing-xl);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.api-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--border-color);
}

.api-header i {
    font-size: 2rem;
    color: var(--banking-color);
}

.api-header h3 {
    font-size: 1.75rem;
    color: var(--text-dark);
}

.api-category > p {
    color: var(--text-medium);
    margin-bottom: var(--spacing-lg);
}

.api-endpoints {
    display: grid;
    gap: var(--spacing-sm);
}

.endpoint {
    padding: var(--spacing-md);
    background: var(--bg-light);
    border-radius: 8px;
    border-left: 4px solid var(--banking-color);
}

.endpoint .method {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-right: 0.75rem;
    color: white;
}

.method.get {
    background: #10b981;
}

.method.post {
    background: #3b82f6;
}

.endpoint code {
    font-family: 'Courier New', monospace;
    color: var(--text-dark);
    font-weight: 600;
}

.endpoint p {
    color: var(--text-medium);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* ========== ISO 20022 ========== */
.iso-content {
    background: white;
    padding: var(--spacing-xl);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.iso-info h3 {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.message-families {
    display: grid;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.message-family {
    background: var(--bg-light);
    padding: var(--spacing-lg);
    border-radius: 8px;
}

.message-family h4 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.message-family h4 i {
    color: var(--banking-color);
}

.message-types-list {
    display: grid;
    gap: var(--spacing-sm);
}

.msg-type {
    background: white;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.msg-type code {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    color: var(--banking-color);
}

.msg-type span {
    color: var(--text-medium);
    font-size: 0.9rem;
}

/* ========== PAYMENT STANDARDS ========== */
.standards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.standard-box {
    background: white;
    padding: var(--spacing-xl);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.standard-box i {
    font-size: 3rem;
    color: var(--banking-color);
    margin-bottom: var(--spacing-md);
}

.standard-box h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.standard-box > p {
    color: var(--text-medium);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-md);
}

.standard-box ul {
    list-style: none;
    text-align: left;
}

.standard-box li {
    padding: 0.5rem 0;
    color: var(--text-medium);
    font-size: 0.9rem;
}

/* ========== BENEFITS ========== */
.benefits-section {
    background: var(--bg-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.benefit-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.3s;
}

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

.benefit-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.benefit-card p {
    color: var(--text-medium);
}

/* ========== CTA SECTION ========== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: var(--spacing-2xl) 0;
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--text-dark);
    color: white;
    padding: var(--spacing-2xl) 0 var(--spacing-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: var(--spacing-md);
}

.footer-col h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-col p {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-links a:hover {
    background: white;
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--spacing-md);
    text-align: center;
    opacity: 0.8;
}

/* ========== MODAL ========== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 450px;
    box-shadow: var(--shadow-xl);
    animation: slideIn 0.3s;
}

.modal-header {
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 1.5rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.close {
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: var(--text-dark);
}

.modal-body {
    padding: var(--spacing-xl);
}

/* ========== FORMS ========== */
.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group input {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.forgot-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-link:hover {
    text-decoration: underline;
}

.form-footer {
    text-align: center;
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
}

.form-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .content-grid,
    .content-split {
        grid-template-columns: 1fr;
    }

    .stats-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}
