/* ==================== GENERAL STYLES ==================== */
:root {
    --primary-color: #10b981;
    --primary-dark: #059669;
    --primary-light: #6ee7b7;
    --secondary-color: #1f2937;
    --accent-color: #f59e0b;
    --success-color: #34d399;
    --warning-color: #fbbf24;
    --danger-color: #f87171;
    --dark-bg: #0f172a;
    --light-bg: #f0fdf4;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --border-color: #e5e7eb;
    --shadow: 0 4px 12px rgba(16, 185, 129, 0.08);
    --shadow-lg: 0 12px 32px rgba(16, 185, 129, 0.12);
    --shadow-xl: 0 20px 48px rgba(16, 185, 129, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #e5e7eb;
    background-color: #000000;
    animation: fadeInBody 0.5s ease-out;
}

/* ==================== NAVBAR ==================== */
.navbar {
    background: #1a1a1a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(16, 185, 129, 0.3);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2rem;
}

.navbar-container-centered {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.navbar-brand-centered {
    display: flex;
    justify-content: center;
}

.navbar-brand-centered a {
    display: flex;
    align-items: center;
}

.navbar-brand a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -0.01em;
}

.logo {
    height: 70px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.brand-icon {
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    color: white;
    font-weight: bold;
}

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

.navbar-menu {
    display: none;
    list-style: none;
    gap: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.navbar-container-centered .navbar-menu {
    display: none;
    list-style: none;
    gap: 2.5rem;
    flex-direction: column;
    position: fixed;
    background: #1a1a1a;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    border-bottom: 2px solid #10b981;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding-top: 6rem;
    align-items: center;
}

.navbar-menu.active {
    display: flex;
}

.navbar-actions-wrapper {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    color: #e5e7eb;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

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

.navbar-actions {
    display: flex;
    gap: 1rem;
}

.navbar-actions-group {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 0.4rem;
    position: relative;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #e5e7eb;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
    z-index: 1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: white;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.2);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-action {
    background: #0a0a0a;
    color: #e5e7eb;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.75rem 1rem;
    margin: 0.5rem 0.25rem;
    font-size: 0.9rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 140px;
}

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

/* ==================== HERO SECTION ==================== */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.student-badge {
    display: inline-block;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    letter-spacing: 0.5px;
}

.hero-content p {
    font-size: 1.3rem;
    color: #9ca3af;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-graphic {
    width: 100%;
    max-width: 500px;
    height: auto;
    animation: float 5s ease-in-out infinite;
    filter: drop-shadow(0 30px 60px rgba(16, 185, 129, 0.2));
}

/* Floating molecules animation */
.hero-graphic .molecule-float-1 {
    animation: moleculeFloat 6s ease-in-out infinite;
}

@keyframes moleculeFloat {
    0%, 100% {
        transform: translate(0px, 0px);
        opacity: 0.6;
    }
    50% {
        transform: translate(15px, -20px);
        opacity: 0.9;
    }
}

/* Hexagon pulse animation */
.hero-graphic .hex-pulse {
    animation: hexPulse 2.5s ease-in-out infinite;
    transform-origin: 250px 230px;
}

@keyframes hexPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}

/* Pulse elements - pulsing outward */
.hero-graphic .pulse-element-1 {
    animation: pulseOut1 2s ease-out infinite;
}

.hero-graphic .pulse-element-2 {
    animation: pulseOut2 2s ease-out 0.8s infinite;
}

@keyframes pulseOut1 {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.8);
    }
}

@keyframes pulseOut2 {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(2);
    }
}

/* Floating bars animation */
.hero-graphic .bars-float {
    animation: barsFloat 4s ease-in-out infinite;
}

.hero-graphic .bar-1 {
    animation: barBounce1 3s ease-in-out infinite;
}

.hero-graphic .bar-2 {
    animation: barBounce2 3.5s ease-in-out 0.3s infinite;
}

.hero-graphic .bar-3 {
    animation: barBounce3 2.8s ease-in-out 0.6s infinite;
}

@keyframes barsFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes barBounce1 {
    0%, 100% {
        height: 60px;
        y: 280;
    }
    50% {
        height: 75px;
        y: 265;
    }
}

@keyframes barBounce2 {
    0%, 100% {
        height: 20px;
        y: 320;
    }
    50% {
        height: 35px;
        y: 305;
    }
}

@keyframes barBounce3 {
    0%, 100% {
        height: 80px;
        y: 260;
    }
    50% {
        height: 95px;
        y: 245;
    }
}

/* Accent circles animation */
.hero-graphic .accent-circle-1 {
    animation: rotateSlow 20s linear infinite;
}

.hero-graphic .accent-circle-2 {
    animation: rotateFast 30s linear infinite reverse;
}

@keyframes rotateSlow {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotateFast {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.hero-image svg {
    animation: float 4s ease-in-out infinite;
}

/* ==================== FEATURES SECTION ==================== */
.features {
    background: #000000;
    padding: 6rem 2rem;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.features h2 {
    text-align: center;
    font-size: 2.75rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: #1a1a1a;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
    transition: all 0.35s cubic-bezier(0.23, 1, 0.320, 1);
    text-align: center;
    border: 1px solid rgba(16, 185, 129, 0.3);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.1), transparent);
    transition: left 0.6s ease;
    z-index: 0;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 16px 32px rgba(16, 185, 129, 0.4);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 20px;
    color: white;
    box-shadow: 0 12px 24px rgba(16, 185, 129, 0.25);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 16px 32px rgba(16, 185, 129, 0.35);
}

.feature-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    color: var(--primary-light);
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: #9ca3af;
    font-size: 0.95rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* ==================== MODULES SECTION ==================== */
.modules-preview {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.modules-header {
    text-align: center;
    margin-bottom: 4rem;
}

.uk-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(52, 211, 153, 0.05));
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.08);
}

.modules-preview h2 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.modules-subtitle {
    font-size: 1.1rem;
    color: #9ca3af;
    font-weight: 500;
    max-width: 650px;
    margin: 0 auto;
}

.modules-simple-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.module-simple {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: #1a1a1a;
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 12px;
    min-height: 200px;
    position: relative;
    overflow: hidden;
}

.module-simple::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    opacity: 0;
}

.module-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.module-simple h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #e5e7eb;
    line-height: 1.4;
}

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

.modules-cta {
    text-align: center;
    position: relative;
    z-index: 1;
}

.btn-lg {
    padding: 1.1rem 2.5rem;
    font-size: 1.05rem;
}

/* ==================== AI PATIENT SECTION ==================== */
.ai-patient-preview {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d9488 100%);
    color: white;
    padding: 5rem 2rem;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
}

.ai-patient-preview::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.ai-patient-preview::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -50px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.ai-container {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.ai-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.ai-patient-preview h2 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    font-weight: 900;
    letter-spacing: -0.01em;
}

.ai-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
}

.ai-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

.ai-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.ai-stats-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.ai-stat {
    text-align: center;
}

.ai-stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.ai-stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.ai-features-box {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    flex-grow: 1;
}

.ai-features-box h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.ai-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ai-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.ai-features-list svg {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.ai-right {
    display: flex;
    align-items: center;
}

.patient-example-card {
    background: #1a1a1a;
    color: #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    width: 100%;
}

.card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.case-badge {
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.difficulty {
    background: rgba(255, 255, 255, 0.3);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

.card-body {
    padding: 2rem;
}

.patient-info {
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(16, 185, 129, 0.1);
    padding-bottom: 1.5rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.label {
    font-weight: 600;
    color: #9ca3af;
}

.value {
    font-weight: 700;
    color: var(--primary-color);
}

.vitals-display {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.vital {
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(52, 211, 153, 0.05));
    border-radius: 10px;
    border: 1px solid rgba(16, 185, 129, 0.1);
}

.vital-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.vital-value {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-color);
}

.vital-unit {
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 500;
}

.presentation {
    background: rgba(16, 185, 129, 0.05);
    padding: 1rem;
    border-radius: 10px;
    border-left: 3px solid var(--primary-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .ai-content {
        grid-template-columns: 1fr;
    }

    .ai-patient-preview {
        padding: 3rem 1.5rem;
    }

    .ai-patient-preview h2 {
        font-size: 2rem;
    }

    .vitals-display {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==================== STATS SECTION ==================== */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #9ca3af;
    font-size: 1.1rem;
}

/* ==================== CTA SECTION ==================== */
.cta {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    color: white;
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.cta h2 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    font-weight: 900;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 1;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* Override button styles for better visibility on black CTA background */
.cta .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.cta .btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.5);
}

.cta .btn-secondary {
    background: linear-gradient(135deg, var(--accent-color), #ea580c);
    color: white;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
}

.cta .btn-secondary:hover {
    background: linear-gradient(135deg, #f59e0b, #dc2626);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(245, 158, 11, 0.5);
}

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

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

/* ==================== PAGE HEADER ==================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 4.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.page-header h1 {
    font-size: 2.75rem;
    margin-bottom: 0.75rem;
    font-weight: 900;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: 1.15rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    font-weight: 500;
}

/* ==================== FEATURE PAGES ==================== */
.feature-details {
    padding: 4rem 2rem;
    background: #000000;
}

.feature-content-centered {
    max-width: 1000px;
    margin: 0 auto;
}

.feature-content-centered h2 {
    font-size: 2.25rem;
    color: #e5e7eb;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 800;
}

.feature-content-centered > p {
    font-size: 1.1rem;
    color: #9ca3af;
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.7;
}

.feature-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.highlight-card {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #2a2a2a;
    transition: all 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.1);
}

.highlight-card h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.highlight-card p {
    color: #9ca3af;
    line-height: 1.7;
    font-size: 1rem;
}

.access-callout {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 2px solid var(--primary-color);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 4rem;
}

.access-callout h3 {
    font-size: 1.8rem;
    color: #e5e7eb;
    margin-bottom: 1rem;
    font-weight: 800;
}

.access-callout p {
    font-size: 1.1rem;
    color: #9ca3af;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==================== AUTH PAGES ==================== */
.auth-section {
    min-height: 100vh;
    padding: 6rem 2rem 4rem 2rem;
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-container-modern {
    max-width: 500px;
    width: 100%;
}

.auth-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    border: 1px solid #2a2a2a;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.auth-header-modern {
    text-align: center;
    margin-bottom: 2.5rem;
}

.auth-logo {
    height: 80px;
    width: auto;
    margin-bottom: 1.5rem;
}

.auth-header-modern h1 {
    font-size: 2rem;
    color: #e5e7eb;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.auth-header-modern p {
    color: #9ca3af;
    font-size: 1rem;
}

.auth-form {
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form label {
    display: block;
    color: #e5e7eb;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
    width: 100%;
    padding: 0.875rem 1rem;
    background: #0a0a0a;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    color: #e5e7eb;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.auth-form input[type="text"]:focus,
.auth-form input[type="email"]:focus,
.auth-form input[type="password"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.auth-form small {
    display: block;
    color: #6b7280;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-group label {
    color: #9ca3af;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.checkbox-group label a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.checkbox-group label a:hover {
    text-decoration: underline;
}

.btn-full {
    width: 100%;
    margin-top: 1rem;
    padding: 1rem;
    font-size: 1.05rem;
    font-weight: 700;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #9ca3af;
    font-size: 0.9rem;
    cursor: pointer;
    margin-bottom: 0;
}

.remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

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

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

.auth-footer {
    text-align: center;
    color: #9ca3af;
    font-size: 0.95rem;
}

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

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

.message-box {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.message-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
}

.message-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

@media (max-width: 768px) {
    .auth-section {
        padding: 4rem 1.5rem 3rem 1.5rem;
    }
    
    .auth-card {
        padding: 2rem 1.5rem;
    }
    
    .auth-logo {
        height: 60px;
    }
    
    .auth-header-modern h1 {
        font-size: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ==================== MODULES PAGE ==================== */
.modules-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.modules-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.module-card {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.module-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.3);
}

.module-header {
    padding: 2rem;
    color: white;
    position: relative;
}

.module-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

.module-header h3 {
    font-size: 1.5rem;
}

.module-body {
    padding: 2rem;
}

.module-body p {
    color: #9ca3af;
    margin-bottom: 1.5rem;
}

.module-topics {
    list-style: none;
    margin-bottom: 1.5rem;
}

.module-topics li {
    padding: 0.4rem 0;
    color: #9ca3af;
    font-size: 0.95rem;
}

.module-stats {
    display: flex;
    justify-content: space-around;
    padding: 1rem 0;
    border-top: 1px solid rgba(16, 185, 129, 0.2);
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #9ca3af;
}

/* ==================== PREMIUM MODULES DESIGN ==================== */
.modules-section-premium {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.modules-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
}

.module-card-premium {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    cursor: pointer;
}

.module-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light), var(--primary-color));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.module-card-premium:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.3);
}

.module-card-premium:hover::before {
    opacity: 1;
}

.module-shine {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(16, 185, 129, 0.05) 50%, 
        transparent 70%);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    pointer-events: none;
}

.module-card-premium:hover .module-shine {
    right: -150%;
}

.module-number-large {
    font-size: 5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1.5rem;
    opacity: 0.3;
    letter-spacing: -0.05em;
}

.module-content-premium h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #e5e7eb;
    margin-bottom: 1rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.module-content-premium p {
    color: #9ca3af;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.module-tags {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-light);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.btn-module-premium {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-module-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn-module-premium:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
}

.btn-module-premium:hover::before {
    left: 100%;
}

.btn-module-premium svg {
    transition: transform 0.3s ease;
}

.btn-module-premium:hover svg {
    transform: translateX(5px);
}

/* Hover effects for individual cards */
.module-card-premium:nth-child(1):hover {
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
}

.module-card-premium:nth-child(2):hover {
    box-shadow: 0 20px 60px rgba(240, 147, 251, 0.3);
}

.module-card-premium:nth-child(3):hover {
    box-shadow: 0 20px 60px rgba(79, 172, 254, 0.3);
}

.module-card-premium:nth-child(4):hover {
    box-shadow: 0 20px 60px rgba(250, 112, 154, 0.3);
}

.module-card-premium:nth-child(5):hover {
    box-shadow: 0 20px 60px rgba(168, 237, 234, 0.3);
}

.module-card-premium:nth-child(6):hover {
    box-shadow: 0 20px 60px rgba(255, 154, 86, 0.3);
}

.module-card-premium:nth-child(7):hover {
    box-shadow: 0 20px 60px rgba(161, 196, 253, 0.3);
}

.module-card-premium:nth-child(8):hover {
    box-shadow: 0 20px 60px rgba(255, 107, 149, 0.3);
}

.module-card-premium:nth-child(9):hover {
    box-shadow: 0 20px 60px rgba(255, 236, 210, 0.3);
}

.module-card-premium:nth-child(10):hover {
    box-shadow: 0 20px 60px rgba(255, 154, 158, 0.3);
}

.module-card-premium:nth-child(11):hover {
    box-shadow: 0 20px 60px rgba(178, 123, 255, 0.3);
}

.module-card-premium:nth-child(12):hover {
    box-shadow: 0 20px 60px rgba(97, 218, 251, 0.3);
}

.module-card-premium:nth-child(13):hover {
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.4);
}

/* ==================== LEARNING PATH ==================== */
.learning-path {
    background: #000000;
    padding: 3rem 2rem;
    text-align: center;
}

.learning-path h2 {
    margin-bottom: 1rem;
}

.path-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.step {
    background: #1a1a1a;
    padding: 1.5rem;
    border-radius: 8px;
    min-width: 120px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.step-arrow {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* ==================== AI PATIENT PAGE ==================== */
.ai-patient-main {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.case-selection {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.case-selection h2 {
    margin-bottom: 2rem;
}

.case-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid rgba(16, 185, 129, 0.2);
}

.tab-btn {
    padding: 1rem 2rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-weight: 600;
    color: #9ca3af;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.case-option {
    background: #0a0a0a;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(16, 185, 129, 0.2);
}

.case-option:hover {
    background: #1a1a1a;
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.3);
}

.case-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 12px;
    color: white;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
}

.case-option:hover .case-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.3);
}

.case-option h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.case-option p {
    color: #9ca3af;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.difficulty {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: var(--warning-color);
    color: #333;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.difficulty {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.case-option:has-text(.difficulty) .difficulty {
    background: var(--warning-color);
    color: #333;
}

/* ==================== GENERATOR FORM ==================== */
.generator-form {
    max-width: 600px;
    margin: 0 auto;
}

.generator-form h3 {
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #e5e7eb;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    background: #0a0a0a;
    color: #e5e7eb;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.generator-form .btn {
    width: 100%;
}

/* ==================== CASE SIMULATOR ==================== */
.case-simulator {
    max-width: 900px;
}

.simulator-header {
    background: #1a1a1a;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
}

.patient-info-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.patient-name-age h3 {
    margin-bottom: 0.25rem;
}

.patient-name-age span {
    color: #9ca3af;
    font-size: 0.95rem;
}

.scene-timer {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.simulator-body {
    padding: 2rem;
}

.patient-presentation {
    margin-bottom: 2rem;
}

.presentation-section {
    margin-bottom: 1.5rem;
}

.presentation-section h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.presentation-section p {
    color: #9ca3af;
    line-height: 1.8;
}

.vitals-section {
    margin-bottom: 2rem;
    background: #1a1a1a;
    padding: 1.5rem;
    border-radius: 8px;
}

.vitals-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.vitals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.vital {
    background: #0a0a0a;
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
    border: 2px solid rgba(16, 185, 129, 0.2);
}

.vital-label {
    display: block;
    font-weight: 600;
    color: #9ca3af;
    font-size: 0.85rem;
}

.vital-value {
    display: block;
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
    margin: 0.5rem 0;
}

.vital-unit {
    display: block;
    font-size: 0.8rem;
    color: #9ca3af;
}

.assessment-section {
    margin-top: 2rem;
}

.assessment-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
}

.patient-response {
    background: #1a1a1a;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    border-left: 4px solid var(--secondary-color);
}

.response-text {
    margin-bottom: 1rem;
    color: #9ca3af;
    line-height: 1.8;
}

/* ==================== EXAMS PAGE ==================== */
.exams-section {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.exams-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
}

.exam-filters {
    background: #1a1a1a;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    height: fit-content;
}

.exam-filters h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.filter-group {
    margin-bottom: 1rem;
}

.filter-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    color: #e5e7eb;
    font-size: 0.9rem;
}

.filter-group select {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 4px;
    font-size: 0.9rem;
    background: #0a0a0a;
    color: #e5e7eb;
}

.exam-filters .btn {
    width: 100%;
}

.exams-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.exam-card {
    background: #1a1a1a;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transition: all 0.3s ease;
}

.exam-card:hover {
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.3);
    transform: translateY(-4px);
}

.exam-header {
    padding: 1.5rem;
    background: #0a0a0a;
    border-bottom: 2px solid rgba(16, 185, 129, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.exam-header h3 {
    margin: 0;
    color: var(--primary-color);
}

.exam-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.exam-details {
    padding: 1.5rem;
}

.exam-details p {
    margin-bottom: 0.5rem;
    color: #9ca3af;
    font-size: 0.95rem;
}

.exam-description {
    margin-bottom: 1.5rem !important;
    color: var(--text-dark) !important;
    line-height: 1.6;
}

.exam-details .btn {
    margin-top: 1rem;
}

/* ==================== ABOUT PAGE ==================== */
.about-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.about-section {
    margin-bottom: 3rem;
}

.about-section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-section p {
    color: #9ca3af;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-list {
    list-style: none;
    margin: 1rem 0;
}

.about-list li {
    padding: 0.75rem 0 0.75rem 2rem;
    color: #9ca3af;
    position: relative;
}

.about-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.difference-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.difference-card {
    background: #1a1a1a;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.difference-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.difference-card p {
    color: #9ca3af;
    font-size: 0.95rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
}

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.feature-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.feature-item p {
    color: #9ca3af;
    font-size: 0.95rem;
}

/* ==================== CONTACT PAGE ==================== */
.contact-section {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-item {
    display: flex;
    gap: 1rem;
}

.info-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.info-item h4 {
    color: #e5e7eb;
    margin-bottom: 0.25rem;
}

.info-item p {
    color: #9ca3af;
}

.info-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.info-item a:hover {
    text-decoration: underline;
}

.contact-form h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

#contactForm {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#contactForm .btn {
    margin-top: 1rem;
}

/* ==================== FAQ SECTION ==================== */
.faq-section {
    background: #000000;
    padding: 3rem 2rem;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: #1a1a1a;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.faq-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.faq-item p {
    color: #9ca3af;
    line-height: 1.6;
}

/* ==================== MODULE DETAIL PAGE ==================== */
.module-detail {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.module-detail-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
}

.module-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height: fit-content;
}

.module-progress,
.module-contents {
    background: #1a1a1a;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.module-progress h3,
.module-contents h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #0a0a0a;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.progress-fill {
    height: 100%;
    background: var(--success-color);
    transition: width 0.3s ease;
}

.module-progress p {
    color: #9ca3af;
    font-size: 0.95rem;
}

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

.lesson-link {
    display: block;
    padding: 0.75rem;
    color: #9ca3af;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.lesson-link:hover {
    background: #0a0a0a;
    color: var(--primary-color);
}

.module-main {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.lesson-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
}

.lesson-content h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.lesson-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    color: #9ca3af;
    font-size: 0.95rem;
}

.lesson-body {
    color: #9ca3af;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.lesson-body h3 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.lesson-body ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.lesson-body li {
    margin-bottom: 0.5rem;
}

.lesson-callout {
    background: #0a0a0a;
    border-left: 4px solid var(--secondary-color);
    padding: 1.5rem;
    border-radius: 6px;
    margin: 1.5rem 0;
}

.lesson-activities {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(16, 185, 129, 0.2);
}

.activity {
    margin-bottom: 1rem;
}

.activity h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.lesson-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(16, 185, 129, 0.2);
}

.feedback {
    text-align: center;
}

.feedback h4 {
    margin-bottom: 1rem;
}

.feedback-btn {
    padding: 0.6rem 1.2rem;
    margin: 0 0.5rem;
    background: #0a0a0a;
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    color: #e5e7eb;
}

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

/* ==================== FOOTER ==================== */
.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1a2332 100%);
    color: white;
    padding: 4rem 2rem 1.5rem;
    margin-top: 5rem;
    border-top: 1px solid rgba(16, 185, 129, 0.2);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    margin-bottom: 1.25rem;
    color: var(--primary-light);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}

.footer-logo {
    height: 120px;
    width: auto;
    margin-bottom: 1.5rem;
    display: block;
}

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer-section a:hover {
    color: var(--primary-light);
    transform: translateX(4px);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(16, 185, 129, 0.2);
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* ==================== PREMIUM ENHANCEMENTS ==================== */

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card Glow Effect */
.card-glow {
    position: relative;
    overflow: hidden;
}

.card-glow::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-glow:hover::before {
    opacity: 1;
}

/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.float {
    animation: float 3s ease-in-out infinite;
}

/* Heartbeat Animation */
@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.1);
    }
    50% {
        transform: scale(1);
    }
    75% {
        transform: scale(1.05);
    }
}

.heartbeat {
    animation: heartbeat 1.2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Enhanced Pulse Animation for SVG circles */
@keyframes pulse-glow {
    0%, 100% {
        r: 20px;
        opacity: 0.8;
        stroke-width: 2;
    }
    50% {
        r: 30px;
        opacity: 0.2;
        stroke-width: 1;
    }
}

.pulse-circle-outer {
    animation: pulse-glow 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite !important;
}

/* Line Animation - Heartbeat line */
@keyframes drawLine {
    0% {
        stroke-dashoffset: 500;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

.heartbeat-line {
    stroke-dasharray: 500;
    animation: drawLine 2s ease-in-out infinite;
}

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Slide In Animation */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in {
    animation: slideInRight 0.6s ease-out;
}

/* Glow Animation */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(16, 185, 129, 0.5), 0 0 10px rgba(16, 185, 129, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(16, 185, 129, 0.8), 0 0 30px rgba(16, 185, 129, 0.5);
    }
}

.glow {
    animation: glow 2s ease-in-out infinite;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
    z-index: 999;
    font-size: 1.5rem;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.5);
}

.back-to-top.show {
    display: flex;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .navbar-container {
        flex-direction: column;
        gap: 1rem;
    }

    .navbar-container-centered {
        padding: 1.5rem 1rem;
        gap: 1rem;
    }

    .navbar-actions-wrapper {
        position: absolute;
        right: 1rem;
        top: 1.5rem;
        width: auto;
        justify-content: flex-end;
        gap: 0.75rem;
    }

    .hamburger {
        display: flex;
        position: relative;
    }

    .navbar-menu {
        display: none;
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
        text-align: center;
        padding: 5rem 2rem 2rem 2rem;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: #1a1a1a;
        z-index: 999;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    }

    .navbar-menu.active {
        display: flex;
    }

    .navbar-actions {
        width: 100%;
        justify-content: center;
    }

    .navbar-actions .btn {
        flex: 1;
        text-align: center;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

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

    .hero-image {
        display: flex;
        justify-content: center;
        margin-top: 2rem;
    }

    .hero-graphic {
        max-width: 300px !important;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .modules-container {
        grid-template-columns: 1fr;
    }

    .ai-patient-content {
        grid-template-columns: 1fr;
    }

    .module-detail-container {
        grid-template-columns: 1fr;
    }

    .exams-container {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .feature-highlights {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .vitals-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .action-buttons {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-logo {
        height: 90px;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }

    .features-grid,
    .modules-container,
    .modules-list {
        grid-template-columns: 1fr;
    }

    .path-steps {
        flex-direction: column;
        gap: 0.5rem;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

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

    .vitals-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .action-buttons {
        grid-template-columns: 1fr;
    }

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

    .modules-grid-premium {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .module-card-premium {
        padding: 2rem;
    }

    .module-number-large {
        font-size: 3.5rem;
    }

    .module-content-premium h3 {
        font-size: 1.3rem;
    }

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

    .logo {
        height: 90px;
    }

    .footer-logo {
        height: 80px;
    }
}

/* Smooth fade transition for page loads */
body {
    animation: fadeInBody 0.5s ease-out;
}

@keyframes fadeInBody {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Enhanced link hover effects */
a {
    position: relative;
}

/* Improved card hover with depth */
.feature-card,
.module-card,
.exam-card {
    perspective: 1000px;
}

.feature-card:hover,
.module-card:hover,
.exam-card:hover {
    perspective-origin: center;
}

/* Text selection styling */
::selection {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

::-moz-selection {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

/* ==================== DASHBOARD ==================== */
.dashboard-section {
    min-height: 100vh;
    padding: 4rem 2rem;
    background: #000000;
}

.dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 3rem;
}

.dashboard-header h1 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #10b981, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.dashboard-header p {
    color: #9ca3af;
    font-size: 1.1rem;
}

.dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: #1a1a1a;
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: #10b981;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.2);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.stat-info h3 {
    font-size: 2rem;
    color: #10b981;
    margin-bottom: 0.25rem;
}

.stat-info p {
    color: #9ca3af;
    font-size: 0.95rem;
}

.dashboard-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.dashboard-card {
    background: #1a1a1a;
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    overflow: hidden;
}

.card-header-dash {
    padding: 1.5rem 2rem;
    background: rgba(16, 185, 129, 0.1);
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header-dash h2 {
    font-size: 1.5rem;
    color: #10b981;
}

.card-body-dash {
    padding: 2rem;
}

.empty-state {
    color: #6b7280;
    text-align: center;
    padding: 2rem;
    font-size: 0.95rem;
}

.dashboard-quick-actions {
    margin-top: 4rem;
}

.dashboard-quick-actions h2 {
    font-size: 2rem;
    color: #10b981;
    margin-bottom: 2rem;
    text-align: center;
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.action-card {
    background: #1a1a1a;
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    padding: 2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.action-card:hover {
    border-color: #10b981;
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.2);
}

.action-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1rem;
}

.action-card h3 {
    font-size: 1.25rem;
    color: #e5e7eb;
    margin-bottom: 0.5rem;
}

.action-card p {
    color: #9ca3af;
    font-size: 0.9rem;
}

.btn-outline-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border: 2px solid #10b981;
    color: #10b981;
    background: transparent;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-sm:hover {
    background: #10b981;
    color: white;
}

@media (max-width: 768px) {
    .dashboard-section {
        padding: 2rem 1rem;
    }
    
    .dashboard-header h1 {
        font-size: 2rem;
    }
    
    .dashboard-stats-grid,
    .dashboard-content-grid,
    .quick-actions-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
}
