@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&display=swap');

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

:root {
    --primary: #1E40AF;
    --primary-light: #3B82F6;
    --primary-dark: #1E3A8A;
    --secondary: #059669;
    --secondary-light: #10B981;
    --accent: #F59E0B;
    --accent-light: #FBBF24;
    --bg: #F8FAFC;
    --bg-white: #FFFFFF;
    --text: #1E293B;
    --text-light: #64748B;
    --text-lighter: #94A3B8;
    --border: #E2E8F0;
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.1);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    direction: rtl;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

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

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

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

.btn-secondary:hover {
    background: #047857;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-accent:hover {
    background: #D97706;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

.btn-lg {
    padding: 16px 36px;
    font-size: 18px;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.navbar-brand .logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.navbar-nav a {
    font-weight: 500;
    color: var(--text-light);
    transition: var(--transition);
}

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

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ===== HERO ===== */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #EFF6FF 0%, #F0FDF4 50%, #FFFBEB 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30,64,175,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

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

.hero .container {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(30,64,175,0.1);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--text);
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

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

.hero-stat .number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}

.hero-stat .label {
    font-size: 14px;
    color: var(--text-light);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image .mockup {
    width: 100%;
    max-width: 500px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 24px;
    transform: rotate(-2deg);
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mockup-dot.red { background: #EF4444; }
.mockup-dot.yellow { background: #F59E0B; }
.mockup-dot.green { background: #10B981; }

.mockup-content {
    background: var(--bg);
    border-radius: var(--radius-sm);
    padding: 20px;
}

.mockup-question {
    background: white;
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid var(--border);
}

.mockup-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.mockup-option:hover {
    background: #EFF6FF;
    border-color: var(--primary);
}

.mockup-option .circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--border);
    flex-shrink: 0;
}

.mockup-option.selected {
    background: #EFF6FF;
    border-color: var(--primary);
}

.mockup-option.selected .circle {
    background: var(--primary);
    border-color: var(--primary);
}

.mockup-progress {
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 16px;
}

.mockup-progress-bar {
    height: 100%;
    background: var(--secondary);
    border-radius: 3px;
    width: 45%;
}

/* ===== SECTION COMMON ===== */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(30,64,175,0.1);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== PRODUCTS ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.product-card-header {
    padding: 32px 24px 24px;
    text-align: center;
}

.product-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 16px;
}

.product-icon.blue { background: #EFF6FF; color: var(--primary); }
.product-icon.green { background: #F0FDF4; color: var(--secondary); }
.product-icon.orange { background: #FFFBEB; color: #D97706; }

.product-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.product-card .desc {
    color: var(--text-light);
    font-size: 15px;
}

.product-card-body {
    padding: 0 24px 24px;
}

.product-features {
    margin-bottom: 24px;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
}

.product-features li:last-child {
    border-bottom: none;
}

.product-features .check {
    color: var(--secondary);
    font-weight: bold;
}

.product-card-footer {
    padding: 0 24px 24px;
    text-align: center;
}

.product-price {
    margin-bottom: 16px;
}

.product-price .from {
    font-size: 14px;
    color: var(--text-light);
}

.product-price .price {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
}

.product-price .currency {
    font-size: 16px;
    color: var(--text-light);
}

/* ===== FEATURES ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: white;
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.feature-icon.blue { background: #EFF6FF; color: var(--primary); }
.feature-icon.green { background: #F0FDF4; color: var(--secondary); }
.feature-icon.orange { background: #FFFBEB; color: #D97706; }
.feature-icon.purple { background: #F5F3FF; color: #7C3AED; }
.feature-icon.red { background: #FEF2F2; color: #DC2626; }
.feature-icon.teal { background: #F0FDFA; color: #0D9488; }

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 15px;
}

/* ===== HOW IT WORKS ===== */
.steps {
    display: flex;
    gap: 32px;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 40px;
    right: 80px;
    left: 80px;
    height: 3px;
    background: var(--border);
    z-index: 0;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 0 0 6px white, 0 0 0 8px var(--primary);
}

.step h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.step p {
    color: var(--text-light);
    font-size: 15px;
}

/* ===== STATS ===== */
.stats-section {
    background: var(--primary);
    padding: 60px 0;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-item .number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-item .label {
    font-size: 16px;
    opacity: 0.8;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: white;
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
}

.testimonial-stars {
    color: #FBBF24;
    font-size: 20px;
    margin-bottom: 16px;
}

.testimonial-text {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.testimonial-info h4 {
    font-size: 16px;
    font-weight: 600;
}

.testimonial-info p {
    font-size: 14px;
    color: var(--text-lighter);
}

/* ===== CTA ===== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #EFF6FF 0%, #F0FDF4 100%);
}

.cta-box {
    background: white;
    border-radius: var(--radius-lg);
    padding: 60px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.cta-box h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-box p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--text);
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    line-height: 1.8;
}

.footer-links h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    color: rgba(255,255,255,0.7);
    padding: 6px 0;
    font-size: 15px;
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

/* ===== AUTH PAGES ===== */
.auth-page {
    min-height: 100vh;
    display: flex;
}

.auth-form-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.auth-image-section {
    flex: 1;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.auth-image-section::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%);
}

.auth-image-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 400px;
}

.auth-image-content h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.auth-image-content p {
    font-size: 18px;
    opacity: 0.8;
}

.auth-form-container {
    width: 100%;
    max-width: 440px;
}

.auth-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 40px;
}

.auth-form-container h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.auth-form-container .subtitle {
    color: var(--text-light);
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 16px;
    transition: var(--transition);
    background: white;
}

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

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

.form-footer {
    text-align: center;
    margin-top: 24px;
    color: var(--text-light);
    font-size: 14px;
}

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

/* ===== DASHBOARD ===== */
.dashboard {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 280px;
    background: white;
    border-left: 1px solid var(--border);
    padding: 24px 0;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
}

.sidebar-header {
    padding: 0 24px 24px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 16px;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.sidebar-nav {
    padding: 0 12px;
}

.sidebar-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-light);
    font-weight: 500;
    transition: var(--transition);
    margin-bottom: 4px;
    cursor: pointer;
}

.sidebar-nav-item:hover {
    background: var(--bg);
    color: var(--text);
}

.sidebar-nav-item.active {
    background: #EFF6FF;
    color: var(--primary);
}

.sidebar-nav-item .icon {
    font-size: 20px;
    width: 24px;
    text-align: center;
}

.sidebar-user {
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.sidebar-user-info h4 {
    font-size: 14px;
    font-weight: 600;
}

.sidebar-user-info p {
    font-size: 12px;
    color: var(--text-lighter);
}

.main-content {
    flex: 1;
    margin-right: 280px;
    padding: 32px;
}

.page-header {
    margin-bottom: 32px;
}

.page-header h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.page-header p {
    color: var(--text-light);
}

/* ===== DASHBOARD CARDS ===== */
.stats-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: white;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

.stat-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.stat-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.stat-card-icon.blue { background: #EFF6FF; color: var(--primary); }
.stat-card-icon.green { background: #F0FDF4; color: var(--secondary); }
.stat-card-icon.orange { background: #FFFBEB; color: #D97706; }
.stat-card-icon.purple { background: #F5F3FF; color: #7C3AED; }

.stat-card .value {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 4px;
}

.stat-card .label {
    color: var(--text-light);
    font-size: 14px;
}

.stat-card .change {
    font-size: 13px;
    font-weight: 600;
}

.stat-card .change.up { color: var(--secondary); }
.stat-card .change.down { color: #DC2626; }

/* ===== EXAM CARDS ===== */
.exam-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.exam-card {
    background: white;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.exam-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.exam-card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 16px;
}

.exam-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.exam-card p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 16px;
}

.exam-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--text-lighter);
}

/* ===== EXAM INTERFACE ===== */
.exam-page {
    min-height: 100vh;
    background: var(--bg);
}

.exam-topbar {
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.exam-topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.exam-timer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.exam-progress-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.exam-progress-bar {
    width: 200px;
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
}

.exam-progress-fill {
    height: 100%;
    background: var(--secondary);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.exam-body {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 24px;
}

.question-card {
    background: white;
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}

.question-number {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.question-text {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.8;
    margin-bottom: 32px;
}

.question-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
}

.option:hover {
    border-color: var(--primary-light);
    background: #F8FAFC;
}

.option.selected {
    border-color: var(--primary);
    background: #EFF6FF;
}

.option.correct {
    border-color: #059669;
    background: #F0FDF4;
}

.option.correct .letter {
    background: #059669;
    color: white;
}

.option.wrong {
    border-color: #DC2626;
    background: #FEF2F2;
}

.option.wrong .letter {
    background: #DC2626;
    color: white;
}

.option .letter {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-light);
    flex-shrink: 0;
    transition: var(--transition);
}

.option.selected .letter {
    background: var(--primary);
    color: white;
}

.exam-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.question-nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    max-width: 600px;
}

.question-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--border);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.question-nav-btn:hover {
    border-color: var(--primary);
}

.question-nav-btn.current {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.question-nav-btn.answered {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
}

/* ===== RESULT PAGE ===== */
.result-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.result-score {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 8px solid rgba(255,255,255,0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    background: rgba(255,255,255,0.1);
}

.result-score .score {
    font-size: 56px;
    font-weight: 700;
    line-height: 1;
}

.result-score .total {
    font-size: 18px;
    opacity: 0.8;
}

.result-details {
    padding: 40px 0;
}

.result-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.result-chart {
    background: white;
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
}

.result-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.result-stat-card {
    background: white;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    text-align: center;
}

.result-stat-card .value {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
}

.result-stat-card .label {
    color: var(--text-light);
    font-size: 14px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero h1 { font-size: 36px; }
    .hero p { margin: 0 auto 32px; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    
    .products-grid,
    .features-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .exam-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar-nav { display: none; }
    
    .hero h1 { font-size: 28px; }
    
    .products-grid,
    .features-grid,
    .testimonials-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .steps::before { display: none; }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .auth-page {
        flex-direction: column;
    }
    
    .auth-image-section {
        display: none;
    }
    
    .sidebar {
        display: none;
    }
    
    .main-content {
        margin-right: 0;
    }
    
    .stats-cards {
        grid-template-columns: 1fr;
    }
    
    .exam-cards {
        grid-template-columns: 1fr;
    }
    
    .result-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-box {
        padding: 40px 24px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}
