/* Main CSS - Style.css üzerine eklemeler */

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
    background: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    padding: var(--space-4) 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
}

.site-branding {
    flex-shrink: 0;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    text-decoration: none;
}

.logo-image {
    height: 50px;
    width: auto;
    border-radius: 8px;
    background: white;
    padding: 4px;
}

.site-title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-dark);
    margin: 0;
}

/* Navigation Menu */
.main-navigation {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: var(--space-2);
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    display: block;
    padding: var(--space-3) var(--space-4);
    color: var(--color-gray-700);
    font-weight: 600;
    font-size: var(--text-base);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-menu a:hover,
.nav-menu .current-menu-item a,
.nav-menu .current_page_item a {
    background: var(--color-primary-light);
    color: var(--color-primary-dark);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    padding: var(--space-2);
    cursor: pointer;
    z-index: calc(var(--z-sticky) + 1);
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--color-dark);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

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

/* Mobile Menu Backdrop */
.mobile-menu-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: calc(var(--z-sticky) - 1);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.mobile-menu-backdrop.active {
    display: block;
    opacity: 1;
}

/* Tablet & Mobile */
@media (max-width: 991px) {
    .site-title {
        font-size: var(--text-lg);
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--color-white);
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transform: translateX(100%);
        transition: transform var(--transition-base);
        padding: calc(var(--space-16) + var(--space-4)) var(--space-6) var(--space-6);
        overflow-y: auto;
    }

    .main-navigation.active {
        transform: translateX(0);
    }

    .nav-menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--color-gray-100);
    }

    .nav-menu a {
        padding: var(--space-4);
        border-radius: 0;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    padding: var(--space-12) 0;
    background: linear-gradient(135deg, #FFF8E1 0%, #FFFFFF 100%);
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background: var(--color-primary-light);
    color: var(--color-primary-dark);
    font-weight: 600;
    font-size: var(--text-sm);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-4);
}

.hero-title {
    margin-bottom: var(--space-6);
}

.text-highlight {
    color: var(--color-primary-dark);
    position: relative;
    display: inline-block;
}

.text-highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background: var(--color-primary);
    opacity: 0.3;
    z-index: -1;
    transform: rotate(-2deg);
}

.hero-description {
    font-size: var(--text-lg);
    color: var(--color-gray-600);
    margin-bottom: var(--space-8);
}

.hero-actions {
    display: flex;
    gap: var(--space-4);
}

.hero-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    max-width: 600px;
    z-index: 1;
}

@media (max-width: 991px) {
    .hero-section {
        text-align: center;
        padding: var(--space-8) 0;
    }

    .hero-content {
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image {
        position: relative;
        width: 100%;
        max-width: 400px;
        margin: var(--space-8) auto 0;
        transform: none;
        right: auto;
        top: auto;
    }
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    padding: var(--space-8) 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-gray-100);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    text-align: center;
}

.stat-icon {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-2);
}

.stat-number {
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--color-dark);
}

.stat-label {
    color: var(--color-gray-500);
    font-weight: 500;
}

/* ============================================
   CATEGORIES SECTION
   ============================================ */
.categories-section {
    padding: var(--space-16) 0;
    background: var(--color-light);
}

.section-header {
    margin-bottom: var(--space-10);
}

.section-title {
    font-size: var(--text-3xl);
    color: var(--color-dark);
    margin-bottom: var(--space-2);
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--color-gray-500);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-6);
}

.category-card {
    background: var(--color-white);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    text-decoration: none;
    transition: all var(--transition-base);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.category-icon {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-4);
    background: var(--color-gray-50);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
}

.category-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-2);
}

.category-desc {
    color: var(--color-gray-600);
    margin-bottom: var(--space-6);
    flex-grow: 1;
}

.category-link {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--color-primary-dark);
}

/* Category Specific Colors */
.isg-card:hover {
    border-color: var(--color-primary);
}

.isg-card .category-icon {
    background: var(--color-primary-light);
}

.ih-card:hover {
    border-color: var(--color-success);
}

.ih-card .category-icon {
    background: var(--color-success-light);
}

.ih-card .category-link {
    color: var(--color-success-dark);
}

.dsp-card:hover {
    border-color: var(--color-info);
}

.dsp-card .category-icon {
    background: var(--color-info-light);
}

.dsp-card .category-link {
    color: var(--color-info-dark);
}

/* ============================================
   LESSONS SECTION
   ============================================ */
.lessons-section {
    padding: var(--space-16) 0;
    background: #f9fafb;
}

/* Compact Grid Layout */
.lessons-compact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-6);
}

.lesson-compact-card {
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
}

.lesson-compact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.lesson-compact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FFC107 0%, #FF9800 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.lesson-compact-card:hover::before {
    opacity: 1;
}

.lesson-compact-image {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.lesson-compact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.lesson-compact-card:hover .lesson-compact-image img {
    transform: scale(1.1);
}

.lesson-compact-category {
    position: absolute;
    top: var(--space-3);
    left: var(--space-3);
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    color: var(--color-dark);
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.lesson-compact-content {
    padding: var(--space-5);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    flex: 1;
}

.lesson-compact-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
    color: var(--color-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lesson-compact-title a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
    background: linear-gradient(to right, #FFC107 0%, #FFC107 100%);
    background-size: 0% 2px;
    background-repeat: no-repeat;
    background-position: left bottom;
    transition: background-size 0.3s ease;
}

.lesson-compact-title a:hover {
    color: var(--color-primary-dark);
    background-size: 100% 2px;
}

.lesson-compact-meta {
    display: flex;
    gap: var(--space-4);
    align-items: center;
    font-size: 0.875rem;
    color: var(--color-gray-600);
    padding-top: var(--space-3);
    border-top: 1px solid var(--color-gray-100);
    margin-top: auto;
}

.lesson-compact-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-weight: 600;
}

.lesson-compact-meta .meta-item svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

/* Zorluk renkleri için özel stiller */
.lesson-compact-meta .meta-item[style*="#10B981"] {
    background: #ECFDF5;
    padding: 0.25rem 0.625rem;
    border-radius: 12px;
    color: #10B981;
}

.lesson-compact-meta .meta-item[style*="#F59E0B"] {
    background: #FEF3C7;
    padding: 0.25rem 0.625rem;
    border-radius: 12px;
    color: #F59E0B;
}

.lesson-compact-meta .meta-item[style*="#EF4444"] {
    background: #FEE2E2;
    padding: 0.25rem 0.625rem;
    border-radius: 12px;
    color: #EF4444;
}

@media (max-width: 768px) {
    .lessons-compact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-5);
    }

    .lesson-compact-image {
        height: 200px;
    }

    .lesson-compact-title {
        font-size: 1rem;
    }
}

/* ============================================
   QUICK TIPS SECTION
   ============================================ */
.quick-tips-section {
    padding: var(--space-16) 0;
    background: var(--color-white);
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-8);
}

.tip-card {
    background: var(--color-light);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--color-primary);
}

.tip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-3);
}

.tip-category {
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-gray-500);
}

.tip-favorite {
    background: none;
    border: none;
    color: var(--color-gray-400);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.tip-favorite:hover,
.tip-favorite.active {
    color: var(--color-danger);
    fill: var(--color-danger);
}

.tip-title a {
    color: var(--color-dark);
    text-decoration: none;
}

.tip-excerpt {
    font-size: var(--text-sm);
    color: var(--color-gray-600);
    margin-bottom: var(--space-4);
}

.tip-read-more {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-primary-dark);
}

/* ============================================
   APP HERO SECTION - MODERN MOBILE APP PROMOTION
   ============================================ */
.app-hero-section {
    padding: var(--space-16) 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0f9ff 100%);
    position: relative;
    overflow: hidden;
}

.app-hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.app-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Left Side - Text Content */
.app-hero-text {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.app-hero-section .app-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: var(--color-white);
    padding: 0.625rem 1.25rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.875rem;
    width: fit-content;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    transition: all var(--transition-base);
}

.app-hero-section .app-badge-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.app-hero-section .app-badge-tag svg {
    width: 20px;
    height: 20px;
}

.app-hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--color-dark);
    margin: 0;
}

.gradient-text {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.app-hero-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-gray-600);
    margin: 0;
}

/* Feature Badges Grid */
.app-features-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all var(--transition-base);
}

.feature-badge:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

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

.feature-badge-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.feature-badge-text strong {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.2;
}

.feature-badge-text span {
    font-size: 0.8125rem;
    color: var(--color-gray-500);
    line-height: 1.2;
}

/* Download Buttons */
.app-download-buttons {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.app-download-btn {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: 0.625rem 1.125rem;
    background: var(--color-dark);
    color: var(--color-white);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all var(--transition-base);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    min-width: 140px;
}

.app-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    background: var(--color-gray-800);
}

.app-download-btn svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.app-download-btn .btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.125rem;
}

.app-download-btn .btn-label {
    font-size: 0.625rem;
    opacity: 0.8;
    font-weight: 500;
}

.app-download-btn .btn-title {
    font-size: 0.875rem;
    font-weight: 700;
}

.app-store-btn {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
}

.google-play-btn {
    background: linear-gradient(135deg, #01875f 0%, #00a86b 100%);
}

.google-play-btn:hover {
    background: linear-gradient(135deg, #016f4d 0%, #008f5a 100%);
}

/* App Stats */
.app-stats {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    padding: var(--space-5);
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.app-stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.app-stat-item .stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-dark);
    line-height: 1;
}

.app-stat-item .stat-label {
    font-size: 0.8125rem;
    color: var(--color-gray-500);
    font-weight: 500;
}

.app-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--color-gray-200);
}

/* Right Side - Visual/Carousel */
.app-hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Carousel Container */
.app-screenshots-carousel {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    border-radius: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    background: #1a1a1a;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-item {
    min-width: 100%;
    position: relative;
    height: 600px;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.screenshot-label {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    color: var(--color-white);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.carousel-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-gray-300);
    cursor: pointer;
    transition: all var(--transition-base);
}

.carousel-dots .dot:hover {
    background: var(--color-gray-400);
    transform: scale(1.2);
}

.carousel-dots .dot.active {
    background: var(--color-info);
    width: 24px;
    border-radius: 50px;
}

/* Floating Badges - Decorative */
.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--color-white);
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--color-dark);
    animation: float 3s ease-in-out infinite;
}

.floating-badge .badge-emoji {
    font-size: 1.25rem;
}

.badge-1 {
    top: 10%;
    right: -5%;
    animation-delay: 0s;
}

.badge-2 {
    bottom: 15%;
    left: -8%;
    animation-delay: 1.5s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .app-hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }

    .app-hero-text {
        text-align: center;
        align-items: center;
    }

    .app-hero-section .app-badge-tag {
        margin: 0 auto;
    }

    .app-features-showcase {
        max-width: 600px;
        margin: 0 auto;
    }

    .app-download-buttons {
        justify-content: center;
    }

    .app-stats {
        max-width: 500px;
        margin: 0 auto;
    }

    .app-hero-visual {
        order: -1;
    }

    .floating-badge {
        display: none;
    }
}

@media (max-width: 768px) {
    .app-hero-section {
        padding: var(--space-12) 0;
    }

    .app-hero-content {
        gap: var(--space-8);
    }

    .app-hero-title {
        font-size: 2rem;
    }

    .app-hero-description {
        font-size: 1rem;
    }

    .app-features-showcase {
        grid-template-columns: 1fr;
        gap: var(--space-2);
    }

    .feature-badge {
        padding: var(--space-3);
    }

    .app-download-buttons {
        flex-direction: column;
        width: 100%;
    }

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

    .app-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-4);
    }

    .app-stat-divider {
        display: none;
    }

    .app-screenshots-carousel {
        max-width: 320px;
    }
}

@media (max-width: 480px) {
    .app-hero-section {
        padding: var(--space-10) 0;
    }

    .app-hero-title {
        font-size: 1.75rem;
    }

    .app-download-btn {
        padding: 0.875rem 1.5rem;
        min-width: auto;
    }

    .app-download-btn svg {
        width: 28px;
        height: 28px;
    }

    .app-download-btn .btn-title {
        font-size: 1rem;
    }

    .app-screenshots-carousel {
        max-width: 280px;
    }
}

/* ============================================
   APP BANNER (STICKY)
   ============================================ */
.app-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--color-white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: var(--z-fixed);
    padding: var(--space-3) 0;
    transform: translateY(100%);
    transition: transform var(--transition-base);
}

.app-banner.is-visible {
    transform: translateY(0);
}

.app-banner-content {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.app-banner-icon img {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
}

.app-banner-text {
    flex-grow: 1;
}

.app-banner-title {
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0;
    line-height: 1.2;
}

.app-banner-desc {
    font-size: var(--text-xs);
    color: var(--color-gray-500);
    margin-bottom: 0;
}

.app-banner-close {
    background: none;
    border: none;
    color: var(--color-gray-400);
    cursor: pointer;
    padding: var(--space-1);
}

/* ============================================
   EXAM INTERFACE - FOCUS MODE
   ============================================ */
.exam-container {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-6);
}

.exam-header {
    background: var(--color-white);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-6);
    box-shadow: var(--shadow-sm);
}

.question-card {
    background: var(--color-white);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-6);
}

.question-text {
    font-size: var(--text-lg);
    color: var(--color-dark);
    margin-bottom: var(--space-6);
    line-height: 1.7;
    font-weight: 500;
}

.options-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.option-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--color-gray-50);
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
}

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

.option-item.selected {
    background: var(--color-primary-light);
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.2);
}

.option-marker {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border: 2px solid var(--color-gray-300);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.option-item.selected .option-marker {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.option-content {
    flex: 1;
    font-size: var(--text-base);
    color: var(--color-dark);
    line-height: 1.6;
}

.exam-controls {
    display: flex;
    gap: var(--space-3);
    justify-content: space-between;
}

.exam-controls .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .exam-container {
        padding: var(--space-3);
    }

    .exam-header {
        padding: var(--space-3);
        margin-bottom: var(--space-4);
    }

    .question-card {
        padding: var(--space-4);
        margin-bottom: var(--space-4);
    }

    .question-text {
        font-size: var(--text-base);
        margin-bottom: var(--space-4);
    }

    .options-list {
        gap: var(--space-2);
    }

    .option-item {
        padding: var(--space-3);
        gap: var(--space-2);
    }

    .option-marker {
        width: 28px;
        height: 28px;
        font-size: var(--text-sm);
    }

    .option-content {
        font-size: var(--text-sm);
    }

    .exam-controls {
        flex-direction: column;
        gap: var(--space-2);
    }

    .exam-controls .btn {
        width: 100%;
        padding: var(--space-3);
    }
}

/* Small Mobile (< 375px) */
@media (max-width: 374px) {
    .exam-container {
        padding: var(--space-2);
    }

    .question-text {
        font-size: var(--text-sm);
    }

    .option-content {
        font-size: 0.8125rem;
    }
}

/* Progress Bar Update */
.progress-bar-wrapper {
    background: var(--color-gray-200);
    height: 6px;
}

.progress-bar {
    background: var(--color-primary);
    border-radius: var(--radius-full);
}

/* ============================================
   APP DOWNLOAD PAGE
   ============================================ */
.app-download-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: var(--space-16) 0;
}

.app-download-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* Hero Section */
.app-hero {
    text-align: center;
    margin-bottom: var(--space-12);
}

.app-icon {
    margin-bottom: var(--space-6);
}

.app-icon img {
    width: 120px;
    height: 120px;
    border-radius: 28px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: white;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.app-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: white;
    margin-bottom: var(--space-4);
    font-weight: 800;
}

.app-subtitle {
    font-size: var(--text-xl);
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Redirect Message */
.redirect-message {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    text-align: center;
    margin-bottom: var(--space-8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto var(--space-4);
    border: 4px solid rgba(102, 126, 234, 0.2);
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.redirect-message p {
    margin: 0;
    font-weight: 600;
    color: var(--color-dark);
}

/* Download Buttons */
.app-download-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-bottom: var(--space-12);
}

.app-store-button {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-5) var(--space-6);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    text-decoration: none;
    transition: all var(--transition-base);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.app-store-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.app-store-button:hover::before {
    left: 100%;
}

.app-store-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.app-store-button.recommended {
    background: linear-gradient(135deg, #FFC107 0%, #FF9800 100%);
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.4);
}

.app-store-button.recommended:hover {
    box-shadow: 0 15px 40px rgba(255, 193, 7, 0.5);
}

.app-store-button.recommended .button-text {
    color: white;
}

.store-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.google-play .store-icon {
    color: #34A853;
}

.app-store .store-icon {
    color: #000;
}

.app-store-button.recommended .store-icon {
    color: white;
}

.button-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: var(--color-dark);
}

.button-text .small {
    font-size: var(--text-sm);
    font-weight: 500;
    opacity: 0.8;
}

.button-text .large {
    font-size: var(--text-xl);
    font-weight: 700;
}

/* Features */
.app-features {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.app-features h2 {
    text-align: center;
    margin-bottom: var(--space-8);
    color: var(--color-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-6);
}

.feature-item {
    text-align: center;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--space-3);
}

.feature-item h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-2);
    color: var(--color-dark);
}

.feature-item p {
    font-size: var(--text-sm);
    color: var(--color-gray-600);
    margin: 0;
}

/* QR Code Section */
.qr-code-section {
    text-align: center;
    padding: var(--space-8);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.qr-text {
    color: var(--color-gray-600);
    margin-bottom: var(--space-4);
}

.qr-code-placeholder {
    display: inline-block;
    padding: var(--space-4);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .app-download-page {
        padding: var(--space-8) 0;
    }

    .app-icon img {
        width: 100px;
        height: 100px;
    }

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

    .app-subtitle {
        font-size: var(--text-lg);
    }

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .category-card {
        padding: 20px 10px;
    }

    .category-icon {
        font-size: 32px;
        margin-bottom: 10px;
    }

    .category-title {
        font-size: 14px;
    }

    .category-description {
        font-size: 11px;
        margin: 8px 0;
    }

    .category-stats {
        font-size: 11px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .app-store-button {
        padding: var(--space-4) var(--space-5);
    }

    .store-icon {
        width: 40px;
        height: 40px;
    }
}