/* CSS Design System for Summit Study Landing Page (RTL) */

:root {
    /* Main Font matching the iOS App: Cairo for Arabic & Inter for English */
    --font-primary: 'Cairo', 'Inter', sans-serif;
    
    /* Discovered Colors from iOS App Asset Configuration */
    --primary: #0A90B0;
    --primary-dark: #004353;
    --primary-light: #E8F7FA;
    
    /* Neutral & Background Colors */
    --text-dark: #1f2937;
    --text-muted: #4b5563;
    --bg-white: #ffffff;
    --bg-light: #f3f4f6;
    --bg-card: #ffffff;
    --border-color: #e5e7eb;
    
    /* Gradients matching the theme colors */
    --gradient-purple: linear-gradient(135deg, #0A90B0, #087a96);
    --gradient-blue: linear-gradient(135deg, #004353, #087a96);
    --gradient-orange: linear-gradient(135deg, #f97316, #ea580c);
    --gradient-green: linear-gradient(135deg, #10b981, #059669);
    --gradient-premium: linear-gradient(135deg, #004353, #0A90B0);
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

/* Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%; /* 1rem = 10px */
}

body {
    font-family: var(--font-primary);
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
    padding-bottom: 70px; /* Space for mobile bottom bar */
}

@media (min-width: 769px) {
    body {
        padding-bottom: 0;
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

input:focus {
    outline: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2.4rem;
}

/* Main Header */
.main-header {
    background-color: var(--bg-light);
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 0.9rem 0;
    transition: var(--transition-smooth);
}

.header-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2.4rem;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    gap: 2.4rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.5px;
    text-decoration: none;
}

.logo-img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-wordmark {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.3px;
}

.logo-accent {
    color: var(--primary);
}

/* Tabs Navigation */
.nav-tabs-list {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    list-style: none;
}

.nav-tab-btn {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-muted);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.nav-tab-btn:hover, .nav-tab-btn.active {
    color: var(--primary);
}

/* Tab contents switcher */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Dropdown */
.categories-dropdown {
    position: relative;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    padding: 0.8rem 1.2rem;
    border-radius: var(--radius-sm);
}

.dropdown-trigger:hover {
    background-color: var(--bg-light);
}

.chevron-icon {
    width: 1.6rem;
    height: 1.6rem;
    transition: var(--transition-smooth);
}

.categories-dropdown:hover .chevron-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 260px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    padding: 1rem;
}

.categories-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 1rem 1.6rem;
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
}

.dropdown-menu a:hover {
    background-color: var(--primary-light);
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.8rem;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 8px;
    transition: var(--transition-smooth);
    gap: 0.8rem;
}

.btn-large {
    padding: 1.6rem 3.6rem;
    font-size: 1.6rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-white);
    box-shadow: 0 4px 14px rgba(10, 144, 176, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 144, 176, 0.4);
}

.btn-secondary {
    background-color: var(--primary-light);
    color: var(--primary-dark);
    border: 1px solid rgba(10, 144, 176, 0.2);
}

.btn-secondary:hover {
    background-color: rgba(10, 144, 176, 0.15);
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

/* Mobile menu toggle */
.mobile-menu-btn {
    display: none;
    color: var(--text-dark);
}

.mobile-menu-btn svg {
    width: 2.8rem;
    height: 2.8rem;
}

/* Hero Section */
.hero-section {
    background: radial-gradient(circle at 10% 20%, rgba(232, 247, 250, 0.8) 0%, rgba(255, 255, 255, 0) 90%);
    padding: 8rem 0;
    position: relative;
}

.hero-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2.4rem;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 6rem;
}

.badge {
    background-color: var(--primary-light);
    color: var(--primary-dark);
    font-size: 1.3rem;
    font-weight: 700;
    padding: 0.6rem 1.6rem;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 2rem;
}

.hero-text-content h1 {
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1.6rem;
    color: var(--text-dark);
}

.typewriter-cursor {
    animation: blink 0.7s infinite;
    font-weight: 300;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-text-content h1 {
    font-size: 3.6rem;
    font-weight: 900;
    line-height: 1.3;
    color: var(--text-dark);
    margin-bottom: 2rem;
    letter-spacing: -0.5px;
}

.hero-text-content p {
    font-size: 1.8rem;
    color: var(--text-muted);
    margin-bottom: 4rem;
    max-width: 540px;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 2.4rem;
    margin-bottom: 5rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 4rem;
    border-top: 1px solid var(--border-color);
    padding-top: 3rem;
}

.stat-item h3 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-item p {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin: 0;
}

/* Visual Card Code Blocks */
.hero-image-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-card {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: 380px;
    background: var(--gradient-premium);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2.4rem;
}

.visual-decor {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 1;
}

.dec-1 {
    width: 200px;
    height: 200px;
    background: rgba(10, 144, 176, 0.4);
    top: -20px;
    right: -20px;
}

.dec-2 {
    width: 150px;
    height: 150px;
    background: rgba(0, 67, 83, 0.5);
    bottom: -10px;
    left: -10px;
}

.visual-main-box {
    background: rgba(10, 30, 35, 0.9);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    z-index: 2;
    box-shadow: var(--shadow-md);
}

.code-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.2rem 1.6rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background-color: #ff5f56; }
.dot.yellow { background-color: #ffbd2e; }
.dot.green { background-color: #27c93f; }

.tab-title {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.2rem;
    margin-right: auto;
    font-family: monospace;
}

.code-body {
    padding: 2.4rem;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.4rem;
    color: #e2e8f0;
    direction: ltr;
    text-align: left;
}

.keyword { color: #22d3ee; font-weight: bold; }
.string { color: #34d399; }

.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 1.2rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    box-shadow: var(--shadow-md);
    z-index: 3;
    animation: floating 4s ease-in-out infinite;
}

.floating-svg-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.floating-svg-icon svg {
    width: 2.2rem;
    height: 2.2rem;
}

.floating-badge h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
}

.floating-badge p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.badge-top {
    top: 40px;
    right: -40px;
}

.badge-bottom {
    bottom: 40px;
    left: -40px;
    animation-delay: 2s;
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Partners Banner */
.partners-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-subtitle-center {
    font-size: 1.4rem;
    color: var(--text-muted);
    text-align: center;
    font-weight: 600;
    margin-bottom: 2.4rem;
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6rem;
}

.partner-logo {
    font-size: 2rem;
    font-weight: 800;
    color: hsl(220, 10%, 75%);
    transition: var(--transition-smooth);
}

.partner-logo:hover {
    color: var(--text-dark);
}

/* Features Section */
.features-section {
    padding: 10rem 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 6rem;
}

.section-header h2 {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.6rem;
}

.section-header p {
    font-size: 1.6rem;
    color: var(--text-muted);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3.2rem;
}

.feature-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 4rem 3.2rem;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.4rem;
}

.feature-icon svg {
    width: 2.8rem;
    height: 2.8rem;
}

.bg-purple {
    background-color: var(--primary-light);
    color: var(--primary);
}

.bg-pink {
    background-color: #ffe4e6;
    color: #e11d48;
}

.bg-blue {
    background-color: #dbeafe;
    color: #2563eb;
}

.feature-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.feature-card p {
    font-size: 1.5rem;
    color: var(--text-muted);
}

/* FAQ Section */
.faq-section {
    padding: 8rem 0;
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item.open {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(10, 144, 176, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2.2rem 2.8rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: right;
    gap: 1.6rem;
    font-family: inherit;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 2.8rem;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 2.8rem 2.2rem;
}

.faq-answer p {
    font-size: 1.5rem;
    color: var(--text-muted);
    line-height: 1.8;
    border-top: 1px solid var(--border-color);
    padding-top: 1.6rem;
}

/* Courses Section */
.courses-section {
    padding: 6rem 0 10rem;
    background-color: var(--bg-light);
}

.section-header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 5rem;
    flex-wrap: wrap;
    gap: 2.4rem;
}

.section-header-row h2 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
}

.section-header-row p {
    font-size: 1.6rem;
    color: var(--text-muted);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.8rem;
}

.course-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.course-badge {
    position: absolute;
    top: 1.6rem;
    right: 1.6rem;
    background-color: var(--primary);
    color: var(--bg-white);
    font-size: 1.1rem;
    font-weight: 700;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    z-index: 2;
}

.course-badge.hot {
    background-color: #ef4444;
}

.course-image-placeholder {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
}

.purple-gradient { background: var(--gradient-premium); }
.blue-gradient { background: var(--gradient-blue); }
.orange-gradient { background: var(--gradient-orange); }
.green-gradient { background: var(--gradient-green); }

.course-svg-icon {
    width: 4.8rem;
    height: 4.8rem;
    stroke-width: 1.5;
}

.course-content {
    padding: 2.4rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.course-category {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.course-title {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.course-title a:hover {
    color: var(--primary);
}

.course-instructor {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
}

.course-rating {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.rating-stars-svg {
    display: flex;
    align-items: center;
    gap: 2px;
}

.star-icon {
    width: 1.6rem;
    height: 1.6rem;
    color: #fbbf24;
}

.star-icon.star-empty {
    color: #d1d5db;
}

.rating-score {
    font-weight: 700;
    color: var(--text-dark);
}

.rating-count {
    color: var(--text-muted);
}

.course-footer {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    padding-top: 1.6rem;
}

.price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark);
}

.original-price {
    font-size: 1.4rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* Testimonials Section */
.testimonials-section {
    padding: 10rem 0;
}

.testimonials-slider {
    position: relative;
    margin-top: 4rem;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonials-track {
    position: relative;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
}

.testimonial-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 2rem 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    text-align: center;
}

.testimonial-card.active {
    opacity: 1;
    position: relative;
    pointer-events: auto;
}

.user-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 1.6rem;
}

.user-avatar-placeholder {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-weight: bold;
    font-size: 1.6rem;
    background: var(--primary);
}

.user-avatar-placeholder.purple { background-color: var(--primary); }
.user-avatar-placeholder.blue   { background-color: var(--primary-dark); }
.user-avatar-placeholder.orange { background-color: #f97316; }
.user-avatar-placeholder.green  { background-color: #10b981; }

.user-info h4 {
    font-size: 1.6rem;
    font-weight: 700;
}

.user-info p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.comment {
    font-size: 1.6rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-top: 1.2rem;
}

/* ================= App store details styling ================= */
.app-details-container {
    max-width: 900px;
    margin: 4rem auto;
    padding: 0 2.4rem;
}

.app-store-header {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 4rem;
    margin-bottom: 6rem;
    align-items: start;
}

.app-icon-large {
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.app-title-block h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
}

.app-subtitle {
    font-size: 1.6rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 2.4rem;
}

.app-stats-row {
    display: flex;
    gap: 4rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 2rem;
    margin-bottom: 3rem;
}

.app-stat-box {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 2.2rem;
    font-weight: 800;
}

.stat-value-rating {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.stat-label {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.app-actions-group {
    display: flex;
    gap: 1.6rem;
    margin-bottom: 2rem;
}

.app-facebook-link {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-size: 1.4rem;
}

.fb-text {
    font-weight: 700;
    color: var(--text-muted);
}

.btn-link-action {
    color: var(--primary);
    font-weight: 800;
}

/* Screenshots mockups carousel */
.screenshots-section {
    margin-bottom: 6rem;
}

.screenshots-section h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 2.4rem;
}

/* Carousel outer container with arrow buttons */
.screenshots-carousel {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    position: relative;
}

/* Arrow buttons */
.scroll-arrow {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-white);
    border: 1.5px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-dark);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

.scroll-arrow svg {
    width: 1.8rem;
    height: 1.8rem;
}

.scroll-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--bg-white);
    box-shadow: 0 4px 14px rgba(10, 144, 176, 0.3);
}

.scroll-arrow:disabled {
    opacity: 0.3;
    pointer-events: none;
}

/* Scroll track */
.screenshots-wrapper {
    display: flex;
    gap: 1.4rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    flex: 1;
    padding-bottom: 0.4rem;
}

/* Hide native scrollbar */
.screenshots-wrapper::-webkit-scrollbar { display: none; }
.screenshots-wrapper { -ms-overflow-style: none; scrollbar-width: none; }

/* Each screenshot — Google Play style small phone frame */
.screenshot-real {
    flex: 0 0 calc(20% - 1.12rem);
    width: calc(20% - 1.12rem);
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    scroll-snap-align: start;
    background: transparent;
    box-shadow: none;
}

.screenshot-real img {
    height: auto;
    width: 100%;
    display: block;
    object-fit: cover;
    border-radius: 12px;
}


.screenshot-mockup {
    flex: 0 0 240px;
    height: 440px;
    background: #111827;
    border-radius: 36px;
    padding: 1.2rem 1rem;
    box-shadow: var(--shadow-md);
    position: relative;
    border: 4px solid #374151;
    scroll-snap-align: start;
}

.mockup-header {
    width: 60px;
    height: 15px;
    background: #374151;
    border-radius: 10px;
    margin: 0 auto 1rem;
    position: relative;
}

.mockup-camera {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #1f2937;
    border-radius: 50%;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
}

.mockup-screen {
    height: calc(100% - 25px);
    border-radius: 24px;
    padding: 1.6rem;
    overflow: hidden;
    position: relative;
}

.bg-premium {
    background: var(--gradient-premium);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.6rem;
}

.screen-brand {
    color: var(--bg-white);
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.mockup-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    padding: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    text-align: right;
}

.mockup-btn {
    width: 100%;
    background: var(--primary);
    color: var(--bg-white);
    font-weight: 700;
    text-align: center;
    padding: 1rem;
    border-radius: 30px;
    font-size: 1.2rem;
    margin-top: 1rem;
}

.bg-light-screen {
    background: #f9fafb;
    color: var(--text-dark);
}

.bg-dark-screen {
    background: #111827;
    color: var(--bg-white);
}

.screen-title-bar {
    font-size: 1.4rem;
    font-weight: 800;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.8rem;
    margin-bottom: 1.6rem;
}

.mockup-item-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.mockup-item-img {
    width: 32px;
    height: 32px;
    border-radius: 4px;
}

.blue-grad { background: var(--gradient-blue); }
.purple-grad { background: var(--gradient-purple); }

.mockup-item-text {
    font-size: 1.1rem;
    font-weight: 700;
}

.mockup-video-box {
    width: 100%;
    height: 180px;
    background: #1f2937;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-play-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    position: relative;
}

.video-play-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 45%;
    transform: translate(-50%, -50%);
    border-width: 8px 0 8px 14px;
    border-style: solid;
    border-color: transparent transparent transparent #fff;
}

.mockup-video-info {
    margin-top: 1.6rem;
}

.mockup-video-info h5 {
    font-size: 1.2rem;
    font-weight: 700;
}

.mockup-video-info p {
    font-size: 1rem;
    color: #9ca3af;
}

.mockup-pdf-line {
    height: 8px;
    background: #e5e7eb;
    margin-bottom: 1rem;
    border-radius: 4px;
}

.mockup-pdf-line.w-70 { width: 70%; }

.mockup-pdf-badge {
    background: #fee2e2;
    color: #ef4444;
    font-size: 0.9rem;
    font-weight: 800;
    padding: 0.6rem;
    border-radius: 4px;
    text-align: center;
    margin-top: 3rem;
}

.chat-bubble {
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    font-size: 1rem;
    max-width: 80%;
    margin-bottom: 1rem;
}

.chat-bubble.sender {
    background: var(--primary-light);
    color: var(--primary-dark);
    margin-right: auto;
    border-top-left-radius: 0;
}

.chat-bubble.receiver {
    background: #e5e7eb;
    color: var(--text-dark);
    margin-left: auto;
    border-top-right-radius: 0;
}

.mockup-profile-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-light);
    margin: 2rem auto 1rem;
}

.mockup-profile-name {
    font-size: 1.2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1.6rem;
}

.mockup-badge-item {
    background: #d1fae5;
    color: #065f46;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    padding: 0.6rem;
    border-radius: 20px;
}

.mockup-progress-bar-container {
    width: 100%;
    height: 10px;
    background: #e5e7eb;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 4rem;
}

.mockup-progress-fill {
    height: 100%;
    background: var(--primary);
}

.quiz-question-box {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 1.6rem;
}

.quiz-option {
    border: 1px solid var(--border-color);
    padding: 0.8rem;
    border-radius: 6px;
    font-size: 1rem;
    margin-bottom: 0.8rem;
}

.quiz-option.active {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary-dark);
}

/* How to use */
.app-info-section {
    margin-bottom: 6rem;
}

.app-info-section h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 3rem;
}

.usage-steps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.step-box {
    background-color: var(--bg-light);
    padding: 3rem;
    border-radius: var(--radius-lg);
    position: relative;
}

.step-number {
    position: absolute;
    top: -20px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    box-shadow: var(--shadow-sm);
}

.step-box h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.step-box p {
    font-size: 1.4rem;
    color: var(--text-muted);
}

/* About and Features Info */
.app-info-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 6rem;
    margin-bottom: 6rem;
}

.info-block h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.info-block p {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 1.6rem;
}

.warning-text {
    background-color: #fffbeb;
    border-right: 4px solid #d97706;
    padding: 1.2rem 1.6rem;
    color: #b45309;
    font-weight: 700;
    border-radius: var(--radius-sm);
    font-size: 1.4rem !important;
}

.features-bullet-list {
    list-style: none;
}

.features-bullet-list li {
    position: relative;
    padding-right: 2.4rem;
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
    color: var(--text-muted);
}

.features-bullet-list li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--primary);
    font-weight: 800;
}

/* Ratings & reviews dashboard */
.ratings-section {
    margin-bottom: 6rem;
}

.ratings-section h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 3rem;
}

.ratings-dashboard {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 6rem;
    background: var(--bg-light);
    padding: 4rem;
    border-radius: var(--radius-lg);
    align-items: center;
}

.rating-big-number {
    text-align: center;
}

.rating-big-number > span:first-child {
    font-size: 6.4rem;
    font-weight: 900;
    display: block;
    line-height: 1;
    color: var(--text-dark);
}

.stars-row-yellow {
    color: #fbbf24;
    font-size: 2.2rem;
    margin: 1rem 0;
}

.total-reviews {
    font-size: 1.4rem;
    color: var(--text-muted);
    font-weight: 700;
}

.rating-bars-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.rating-bar-row {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.rating-bar-row span {
    width: 10px;
}

.rating-progress {
    flex: 1;
    height: 10px;
    background: var(--border-color);
    border-radius: 5px;
    overflow: hidden;
}

.rating-progress .progress-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 5px;
}

/* Tech info table */
.app-technical-info {
    margin-bottom: 6rem;
}

.app-technical-info h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 2.4rem;
}

.tech-info-table {
    width: 100%;
    border-collapse: collapse;
}

.tech-info-table tr {
    border-bottom: 1px solid var(--border-color);
}

.tech-info-table td {
    padding: 1.6rem 0;
    font-size: 1.5rem;
}

.tech-info-table td:first-child {
    font-weight: 700;
    color: var(--text-muted);
    width: 30%;
}

.tech-info-table td:last-child {
    color: var(--text-dark);
    font-weight: 600;
}

/* Mobile Bottom Navigation Bar */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
    z-index: 1000;
    justify-content: space-around;
    align-items: center;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 700;
}

.mobile-nav-item svg {
    width: 2.2rem;
    height: 2.2rem;
}

.mobile-nav-item.active {
    color: var(--primary);
}

/* Footer Link Buttons */
.footer-tab-link {
    background: none;
    border: none;
    font-size: 1.4rem;
    color: #d1d5db;
    cursor: pointer;
    font-family: inherit;
    text-align: right;
    padding: 0.4rem 0;
}

.footer-tab-link:hover {
    color: var(--bg-white);
}

/* Footer styling */
.main-footer {
    background-color: var(--bg-light);
    color: var(--text-dark);
    padding: 1rem 0 0.5rem;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-brand {
    order: 3;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer-brand .logo {
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-brand p {
    font-size: 1.4rem;
    color: var(--text-muted);
    max-width: 320px;
}

.footer-links h4 {
    color: var(--text-dark);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    font-size: 1.4rem;
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 0.75rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 1.3rem;
    color: var(--text-muted);
}

/* Drawer CSS updates */
.drawer-tab-btn {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark);
    display: block;
    width: 100%;
    text-align: right;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--border-color);
}

.drawer-tab-btn.active {
    color: var(--primary);
}

/* Drawer mobile styling */
.side-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    right: -300px;
    width: 280px;
    background-color: var(--bg-card);
    z-index: 1002;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.side-drawer.active {
    right: 0;
}

/* Drawer header & content */
.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 2.4rem;
    border-bottom: 1px solid var(--border-color);
}

.drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 2rem 2.4rem;
}

.drawer-menu {
    list-style: none;
}

.menu-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0 0 1.2rem;
    margin-bottom: 0.8rem;
}

.menu-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 2rem 0;
}

.close-btn {
    color: var(--text-muted);
    cursor: pointer;
    line-height: 0;
}

.close-btn svg {
    width: 2.6rem;
    height: 2.6rem;
}

.close-btn:hover {
    color: var(--text-dark);
}

/* Drawer auth buttons */
.drawer-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 1.2rem;
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    transition: var(--transition-smooth);
}

.btn-secondary-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-secondary-outline:hover {
    background-color: var(--primary-light);
}

.btn-primary-full {
    background-color: var(--primary);
    color: var(--bg-white);
    box-shadow: 0 4px 14px rgba(10, 144, 176, 0.3);
}

.btn-primary-full:hover {
    background-color: var(--primary-dark);
}

/* Overlay backdrop behind drawer */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.45);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* bg-primary-light utility for floating badge icons */
.bg-primary-light {
    background-color: var(--primary-light);
}

/* Loading state for courses grid */
.loading-placeholder {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.6rem;
    padding: 6rem 0;
    color: var(--text-muted);
    font-size: 1.5rem;
    font-weight: 600;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--primary-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Real screenshot images from the app */
.screenshot-real {
    flex: 0 0 auto;
    height: 480px;
    width: auto;
    scroll-snap-align: start;
}

.screenshot-real img {
    height: 100%;
    width: auto;
    display: block;
    object-fit: contain;
}

/* Screenshots scrollbar styling */
.screenshots-wrapper::-webkit-scrollbar {
    height: 6px;
}

.screenshots-wrapper::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 10px;
}

.screenshots-wrapper::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

/* Responsive updates for App Details section */
@media (max-width: 768px) {
    .desktop-nav, .auth-buttons {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .mobile-bottom-nav {
        display: flex;
    }

    /* Hero */
    .hero-section {
        padding: 5rem 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }

    .hero-text-content h1 {
        font-size: 3.2rem;
    }

    .hero-text-content p {
        font-size: 1.6rem;
        max-width: 100%;
    }

    .hero-cta-group {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.6rem;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 2.4rem;
    }

    .hero-image-content {
        display: none;
    }

    /* Sections */
    .section-header h2 {
        font-size: 2.4rem;
    }

    .section-header-row h2 {
        font-size: 2.4rem;
    }

    .features-section {
        padding: 6rem 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .courses-section {
        padding: 4rem 0 6rem;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-section {
        padding: 6rem 0;
    }

    .testimonials-slider {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    /* App store header */
    .app-store-header {
        grid-template-columns: 1fr;
        gap: 2.4rem;
        text-align: center;
        justify-items: center;
    }

    .app-icon-large {
        width: 120px;
        height: 120px;
        border-radius: 28px;
        font-size: 2.2rem;
    }

    .app-title-block h1 {
        font-size: 2.4rem;
    }

    .app-stats-row {
        justify-content: center;
        gap: 2.4rem;
    }

    .app-actions-group {
        justify-content: center;
    }

    .app-facebook-link {
        justify-content: center;
    }

    .usage-steps-grid {
        grid-template-columns: 1fr;
        gap: 3.6rem;
    }

    .app-info-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .ratings-dashboard {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 2.4rem;
    }

    .app-details-container {
        padding: 0 1.6rem;
        margin: 2rem auto;
    }

    .screenshots-section h2,
    .app-info-section h2,
    .info-block h2,
    .ratings-section h2,
    .app-technical-info h2 {
        font-size: 2rem;
    }

    /* Partners strip */
    .partners-logos {
        gap: 3.6rem;
    }

    .partner-logo {
        font-size: 1.6rem;
    }
}

/* Tablet breakpoint */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .hero-text-content h1 {
        font-size: 3.6rem;
    }

    .visual-card {
        max-width: 380px;
        height: 300px;
    }

    .badge-top,
    .badge-bottom {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .app-store-header {
        grid-template-columns: 140px 1fr;
    }

    .app-icon-large {
        width: 140px;
        height: 140px;
    }
}

#tab-app {
    background-color: var(--bg-light);
}

/* ================= Colleges / Courses Page Styles ================= */

.colleges-hero {
    background: transparent;
    padding: 3rem 0 2rem;
    text-align: center;
}

.colleges-hero-text h1 {
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.colleges-hero-text p {
    font-size: 1.6rem;
    color: var(--text-muted);
    margin-bottom: 2.4rem;
}

.colleges-search-bar {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: #fff;
    border-radius: 50px;
    padding: 1.2rem 2rem;
    max-width: 520px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.colleges-search-bar svg {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.colleges-search-bar input {
    flex: 1;
    border: none;
    outline: none;
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--text-dark);
    background: transparent;
    direction: rtl;
}

.colleges-search-bar input::placeholder {
    color: var(--text-muted);
}

/* Filter Chips */
.colleges-filter-section {
    padding: 2.4rem 0 0;
    background: var(--bg-light);
}

.colleges-chips-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.colleges-chips-wrapper::-webkit-scrollbar { display: none; }

.colleges-chips {
    display: flex;
    gap: 1rem;
    padding-bottom: 1.6rem;
    flex-wrap: nowrap;
    width: max-content;
}

.college-chip {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 1.8rem;
    border-radius: 50px;
    border: none;
    background: #fff;
    color: var(--text-dark);
    font-family: var(--font-primary);
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.college-chip:hover {
    color: var(--primary);
}

.college-chip.active {
    background: var(--primary);
    color: #fff;
}

.college-chip .chip-icon {
    font-size: 1.6rem;
}

.college-chip .chip-count {
    background: rgba(255,255,255,0.25);
    border-radius: 50px;
    padding: 0.1rem 0.7rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.college-chip:not(.active) .chip-count {
    background: var(--bg-light);
    color: var(--text-muted);
}

/* No results message */
.no-results-msg {
    text-align: center;
    padding: 6rem 2rem;
    color: var(--text-muted);
    font-size: 1.6rem;
}

.no-results-msg svg {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    display: block;
    color: var(--border-color);
}
