/* ==========================================================================
   UP-Smart Showcase Landing Page Custom Stylesheet (Vanilla CSS)
   Visual System: Dark Midnight Ink, Linear-SaaS Grid, Aurora Glows, Glassmorphism
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Theme Variables & Reset
   -------------------------------------------------------------------------- */
:root {
    /* Color Tokens from AppPalette.dark */
    --bg-dark: #050a15;
    --bg-mid: #081125;
    --bg-light: #0d1a38;
    --primary: #4f73f6;
    --primary-light: #7592ff;
    --accent: #26c0d0;
    --accent-purple: #8132aa;
    --accent-cyan: #0fa2e8;
    --card-glass: rgba(13, 26, 56, 0.45);
    --card-solid: #0d1a38;
    --text-primary: #f2f5ff;
    --text-muted: #8493b2;
    --border-glass: rgba(117, 146, 255, 0.12);
    --border-highlight: rgba(117, 146, 255, 0.08);
    
    /* Semantic Colors */
    --success: #279663;
    --danger: #e03c41;
    --warning: #db8323;
    --info: #3b82f6;
    --youtube: #e02c24;
    
    /* Font Families */
    --font-sans: 'IBM Plex Sans Arabic', sans-serif;
    --font-display: 'Alexandria', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Transition Variables */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-quick: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-sans);
    direction: rtl;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text-primary);
}

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

/* --------------------------------------------------------------------------
   2. Background Grid Overlay & Glows
   -------------------------------------------------------------------------- */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(to right, rgba(117, 146, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(117, 146, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: -1;
}

.aurora {
    position: absolute;
    width: 50vw;
    height: 50vw;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -2;
    pointer-events: none;
    opacity: 0.16;
    mix-blend-mode: screen;
    animation: floatGlow 25s infinite alternate ease-in-out;
}

.aurora-1 {
    top: -5vw;
    right: -5vw;
    background: radial-gradient(circle, var(--accent) 0%, rgba(43, 202, 217, 0) 70%);
}

.aurora-2 {
    top: 25vw;
    left: -15vw;
    background: radial-gradient(circle, var(--primary) 0%, rgba(91, 134, 229, 0) 70%);
    animation-delay: -6s;
}

.aurora-3 {
    bottom: -5vw;
    right: 5vw;
    background: radial-gradient(circle, var(--accent-purple) 0%, rgba(122, 46, 158, 0) 70%);
    animation-delay: -12s;
}

@keyframes floatGlow {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(60px, 40px) scale(1.1);
    }
}

/* --------------------------------------------------------------------------
   3. Glassmorphism Card System & Scroll Reveal
   -------------------------------------------------------------------------- */
.glass-card {
    background-color: var(--card-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-highlight), transparent);
    pointer-events: none;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
    transition-duration: 0.8s;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   4. Layout Containers & Typography Helpers
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 50%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 56px auto;
}

.section-title h2 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 26px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-quick);
    border: none;
    outline: none;
    font-family: var(--font-sans);
}

.btn-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #3553bd 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(79, 115, 246, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 115, 246, 0.5);
}

.btn-gradient:active {
    transform: translateY(0);
}

.btn-outline {
    background-color: rgba(117, 146, 255, 0.08);
    color: var(--primary-light);
    border: 1px solid rgba(117, 146, 255, 0.2);
}

.btn-outline:hover {
    background-color: rgba(117, 146, 255, 0.15);
    border-color: var(--primary-light);
    color: white;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 15.5px;
    border-radius: 14px;
}

.btn-full {
    width: 100%;
}

/* --------------------------------------------------------------------------
   6. Navigation Header & App Icon
   -------------------------------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(5, 10, 21, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition-smooth);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-title h2 {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.1;
}

.logo-title p {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}

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

.nav-links a {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition-quick);
    position: relative;
    padding: 6px 0;
}

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

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-quick);
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
}

/* --------------------------------------------------------------------------
   7. Mobile Drawer Navigation
   -------------------------------------------------------------------------- */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -300px;
    width: 290px;
    height: 100vh;
    background-color: var(--bg-mid);
    border-left: 1px solid var(--border-glass);
    z-index: 1100;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 36px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.6);
}

.mobile-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.drawer-header .logo-text {
    font-size: 22px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
}

.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.drawer-link {
    font-size: 15.5px;
    font-weight: 600;
    color: var(--text-muted);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-glass);
}

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

/* --------------------------------------------------------------------------
   8. Hero Section & Premium Floating Dashboard Mockups
   -------------------------------------------------------------------------- */
.hero-section {
    padding-top: 160px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
}

.badge-new {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 99px;
    background-color: rgba(117, 146, 255, 0.1);
    border: 1px solid rgba(117, 146, 255, 0.2);
    color: var(--primary-light);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 24px;
}

.hero-content h1 {
    font-size: 46px;
    line-height: 1.25;
    margin-bottom: 20px;
    letter-spacing: -0.8px;
}

.hero-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 580px;
    line-height: 1.7;
}

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

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--border-glass);
    padding-top: 28px;
    max-width: 500px;
}

.stat-box {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 800;
    color: var(--accent);
}

.stat-label {
    font-size: 12.5px;
    color: var(--text-muted);
    margin-top: 3px;
}

/* Floating Cards Visual Styling */
.floating-cards-container {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
    transform-style: preserve-3d;
}

.floating-glow-bg {
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(79, 115, 246, 0.14) 0%, transparent 60%);
    filter: blur(40px);
    z-index: 1;
}

.floating-card {
    position: absolute;
    background: rgba(13, 26, 56, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(117, 146, 255, 0.18);
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    z-index: 2;
    transition: var(--transition-quick);
}

.floating-card:hover {
    transform: scale(1.05) translateZ(30px);
    border-color: var(--primary-light);
}

/* Card 1: Next Up Card in Hero */
.card-next-up {
    width: 260px;
    top: 20px;
    right: 0px;
    background: linear-gradient(135deg, rgba(22, 36, 79, 0.8) 0%, rgba(13, 26, 56, 0.9) 100%);
    transform: rotateY(-10deg) rotateX(5deg);
    animation: floatCard1 8s infinite alternate ease-in-out;
}

.floating-card-header {
    display: flex;
    justify-content: space-between;
    font-size: 9.5px;
    font-weight: 700;
    margin-bottom: 8px;
}

.f-badge-time {
    padding: 3px 6px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
}

.f-badge-online {
    color: var(--accent);
    padding: 3px 6px;
    background-color: rgba(38, 192, 208, 0.15);
    border-radius: 20px;
}

.card-next-up h3 {
    font-size: 13.5px;
    margin-bottom: 2px;
}

.f-code {
    font-size: 10px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.f-timer {
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 700;
    color: var(--warning);
}

/* Card 2: AI Chat Bubble in Hero */
.card-ai-chat {
    width: 240px;
    bottom: 40px;
    left: 0px;
    border-color: rgba(38, 192, 208, 0.25);
    transform: rotateY(12deg) rotateX(-5deg);
    animation: floatCard2 7s infinite alternate ease-in-out;
    animation-delay: -2s;
}

.f-chat-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10.5px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 6px;
}

.f-chat-msg {
    font-size: 11px;
    color: var(--text-primary);
    line-height: 1.4;
}

/* Card 3: Streak Medal Card in Hero */
.card-streak {
    width: 210px;
    top: 170px;
    left: 50px;
    display: flex;
    align-items: center;
    gap: 14px;
    transform: rotateZ(3deg) translateZ(10px);
    animation: floatCard3 9s infinite alternate ease-in-out;
    animation-delay: -4s;
}

.card-streak i {
    font-size: 26px;
}

.card-streak h4 {
    font-size: 11px;
    font-weight: 700;
}

.card-streak p {
    font-size: 10px;
    color: var(--text-muted);
}

@keyframes floatCard1 {
    0% { transform: translateY(0px) rotateY(-10deg) rotateX(5deg); }
    100% { transform: translateY(-15px) rotateY(-8deg) rotateX(2deg); }
}

@keyframes floatCard2 {
    0% { transform: translateY(0px) rotateY(12deg) rotateX(-5deg); }
    100% { transform: translateY(-18px) rotateY(10deg) rotateX(-2deg); }
}

@keyframes floatCard3 {
    0% { transform: translateY(0px) rotateZ(3deg) scale(0.98); }
    100% { transform: translateY(-12px) rotateZ(1deg) scale(1.02); }
}

/* --------------------------------------------------------------------------
   9. Phone Mockup Graphics (Simulator Section)
   -------------------------------------------------------------------------- */
.phone-mockup-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.glow-ring {
    position: absolute;
    width: 330px;
    height: 530px;
    background: radial-gradient(circle, rgba(79, 115, 246, 0.16) 0%, transparent 60%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(40px);
    z-index: 1;
}

.phone-mockup {
    width: 300px;
    height: 590px;
    background-color: #000;
    border: 10px solid #1f273b;
    border-radius: 44px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 22px;
    background-color: #000;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    padding: 28px 16px 16px 16px;
    display: flex;
    flex-direction: column;
    font-size: 12px;
    overflow-y: hidden;
    position: relative;
}

/* Simulated Header */
.phone-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 12px;
    flex-shrink: 0;
}

.greeting-box {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.greeting-time {
    font-size: 10px;
    color: var(--text-muted);
}

.greeting-name {
    font-family: var(--font-display);
    font-size: 14.5px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.portal-badge {
    padding: 4px 8px;
    background-color: rgba(79, 115, 246, 0.1);
    color: var(--primary-light);
    border-radius: 8px;
    font-size: 9px;
    font-weight: 700;
}

/* Device View Switching Container */
.phone-view {
    display: none;
    flex: 1;
    overflow-y: auto;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 24px;
}

.phone-view.active {
    display: flex;
}

/* Hide scrollbars inside mobile mockup screen */
.phone-view::-webkit-scrollbar {
    display: none;
}
.phone-view {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* VIEW: HOME */
.mock-next-up {
    background: linear-gradient(135deg, #16244f 0%, #0d1b38 100%);
    border-radius: 16px;
    border: 1px solid rgba(117, 146, 255, 0.25);
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    position: relative;
}

.mock-next-up::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--primary-light);
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
}

.next-up-header {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    font-weight: 700;
}

.badge-time {
    padding: 3px 6px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    color: white;
}

.badge-online {
    padding: 3px 6px;
    background-color: rgba(43, 202, 217, 0.15);
    border-radius: 20px;
    color: var(--accent);
}

.mock-next-up h3 {
    font-size: 13px;
    color: white;
    line-height: 1.3;
}

.course-code {
    font-size: 10px;
    color: var(--text-muted);
}

.countdown-wrapper {
    margin-top: 2px;
}

.countdown-label {
    font-size: 8.5px;
    color: var(--text-muted);
}

.countdown-timer {
    font-family: var(--font-mono);
    font-size: 17px;
    font-weight: 700;
    color: var(--warning);
}

.btn-mock-action {
    width: 100%;
    padding: 8px 0;
    background: linear-gradient(to bottom, #ffffff, #f4f6fa);
    border: none;
    border-radius: 8px;
    color: var(--bg-dark);
    font-weight: 700;
    font-size: 9.5px;
    margin-top: 4px;
    cursor: pointer;
}

.mock-section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mock-section-title h4 {
    font-size: 11px;
    color: var(--text-primary);
}

.mock-section-title span {
    font-size: 9.5px;
    color: var(--text-muted);
}

.mock-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.mock-course-card {
    background-color: var(--bg-mid);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 10px;
}

.mock-code {
    font-family: var(--font-mono);
    font-size: 8px;
    color: var(--primary-light);
    background-color: rgba(117, 146, 255, 0.08);
    padding: 2px 4px;
    border-radius: 4px;
    font-weight: 700;
}

.mock-course-card h5 {
    font-size: 10.5px;
    margin-top: 6px;
    line-height: 1.25;
}

.mock-course-card p {
    font-size: 9px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* VIEW: COMMON HEADER TITLE */
.mock-view-header-title {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 8px;
    margin-bottom: 4px;
    flex-shrink: 0;
}

/* VIEW: COURSES LIST */
.mock-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mock-list-item {
    background-color: var(--bg-mid);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 10px 12px;
}

.mock-item-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.mock-credits {
    font-size: 9px;
    color: var(--text-muted);
}

.mock-list-item h5 {
    font-size: 11.5px;
    font-weight: 700;
}

.mock-lecturer {
    font-size: 9.5px;
    color: var(--text-muted);
    margin-top: 2px;
}

.mock-item-actions {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}

.mock-action-pill {
    padding: 3px 6px;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    border-radius: 4px;
    font-size: 8px;
    color: var(--text-primary);
    cursor: pointer;
}

/* VIEW: CHAT SIMULATOR INSIDE PHONE */
.mock-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--bg-mid);
    border-bottom: 1px solid var(--border-glass);
    padding: 8px 10px;
    margin-top: -4px;
    margin-horizontal: -16px;
    flex-shrink: 0;
}

.mock-bot-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mock-bot-avatar {
    width: 26px;
    height: 26px;
    background-color: rgba(38, 192, 208, 0.1);
    border: 1px solid rgba(38, 192, 208, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 11px;
}

.mock-bot-info h5 {
    font-size: 11px;
    font-weight: 700;
}

.mock-bot-info p {
    font-size: 8.5px;
    color: var(--text-muted);
}

.chat-simulator-reset-btn {
    font-size: 11px;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    transition: var(--transition-quick);
}

.chat-simulator-reset-btn:hover {
    color: var(--text-primary);
}

.mock-chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 8px 2px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mock-chat-body::-webkit-scrollbar {
    display: none;
}

.mock-chat-msg {
    max-width: 85%;
    padding: 8px 11px;
    border-radius: 12px;
    font-size: 10.5px;
    line-height: 1.4;
}

.mock-chat-msg-bot {
    align-self: flex-start;
    background-color: var(--bg-mid);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    border-bottom-right-radius: 3px;
}

.mock-chat-msg-user {
    align-self: flex-end;
    background-color: rgba(79, 115, 246, 0.16);
    border: 1px solid rgba(79, 115, 246, 0.25);
    color: var(--text-primary);
    border-bottom-left-radius: 3px;
}

.mock-chat-footer {
    padding-top: 6px;
    border-top: 1px solid var(--border-glass);
    flex-shrink: 0;
}

.mock-chat-input {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    padding: 4px 10px;
}

.mock-chat-placeholder {
    font-size: 10px;
    color: var(--text-muted);
    flex: 1;
}

.mock-send-btn {
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, var(--primary) 0%, #304a9e 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 9px;
}

/* VIEW: FORUM */
.mock-tabs {
    display: flex;
    gap: 6px;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 6px;
    margin-bottom: 4px;
    flex-shrink: 0;
}

.mock-tab {
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 6px;
    color: var(--text-muted);
    cursor: pointer;
}

.mock-tab.active {
    background-color: rgba(117, 146, 255, 0.1);
    color: var(--primary-light);
    font-weight: 700;
}

.mock-forum-posts {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mock-post {
    background-color: var(--bg-mid);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 10px;
}

.mock-post-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.mock-user-avatar {
    width: 24px;
    height: 24px;
    background-color: var(--accent-purple);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
}

.mock-post-header h6 {
    font-size: 10px;
    font-weight: 700;
}

.mock-post-header p {
    font-size: 8px;
    color: var(--text-muted);
}

.mock-post-body {
    font-size: 10px;
    line-height: 1.4;
    color: var(--text-primary);
}

.mock-post-footer {
    display: flex;
    gap: 12px;
    margin-top: 8px;
    font-size: 8.5px;
    color: var(--text-muted);
}

/* VIEW: PROFILE */
.mock-profile-card {
    background-color: var(--bg-mid);
    border: 1px solid var(--border-glass);
    border-radius: 14px;
    padding: 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.mock-profile-card h4 {
    font-size: 13px;
    font-weight: 700;
}

.mock-profile-card p {
    font-size: 9.5px;
    color: var(--text-muted);
}

.mock-status-pill {
    margin-top: 8px;
    padding: 3px 8px;
    background-color: rgba(39, 150, 99, 0.12);
    color: #40c487;
    border-radius: 20px;
    font-size: 8px;
    font-weight: 700;
}

.mock-profile-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.mock-stat-item {
    background-color: var(--bg-mid);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mock-stat-item i {
    font-size: 14px;
}

.mock-stat-item h6 {
    font-size: 9.5px;
    font-weight: 700;
}

.mock-stat-item p {
    font-size: 8.5px;
    color: var(--text-muted);
}

.mock-menu-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mock-menu-item {
    background-color: var(--bg-mid);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.mock-menu-item i {
    font-size: 11px;
    color: var(--text-muted);
}

.mock-menu-item span {
    font-size: 10px;
}

/* Persistent Bottom Navigation */
.phone-bottom-nav {
    margin-top: auto;
    display: flex;
    justify-content: space-around;
    padding-top: 10px;
    border-top: 1px solid var(--border-glass);
    background-color: rgba(5, 10, 21, 0.95);
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 8px;
    padding-right: 8px;
    flex-shrink: 0;
}

.phone-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 8px;
    transition: var(--transition-quick);
}

.phone-nav-item i {
    font-size: 14px;
}

.phone-nav-item span {
    font-size: 7.5px;
}

.phone-nav-item.active {
    color: var(--primary-light);
}

/* --------------------------------------------------------------------------
   10. Core Features Grid Section
   -------------------------------------------------------------------------- */
.features-section {
    padding: 90px 0;
    position: relative;
    border-top: 1px solid var(--border-glass);
}

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

.feature-card {
    padding: 30px;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(117, 146, 255, 0.25);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    margin-bottom: 20px;
}

.accent-blue {
    background-color: rgba(117, 146, 255, 0.12);
    color: var(--primary-light);
    border: 1px solid rgba(117, 146, 255, 0.2);
}

.accent-teal {
    background-color: rgba(38, 192, 208, 0.12);
    color: var(--accent);
    border: 1px solid rgba(38, 192, 208, 0.2);
}

.accent-purple {
    background-color: rgba(129, 50, 170, 0.12);
    color: #c5a3ff;
    border: 1px solid rgba(129, 50, 170, 0.2);
}

.accent-green {
    background-color: rgba(39, 150, 99, 0.12);
    color: #40c487;
    border: 1px solid rgba(39, 150, 99, 0.2);
}

.accent-orange {
    background-color: rgba(219, 131, 35, 0.12);
    color: var(--warning);
    border: 1px solid rgba(219, 131, 35, 0.2);
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.65;
}

/* --------------------------------------------------------------------------
   10b. "Who is this for" — the four majors across both colleges
   -------------------------------------------------------------------------- */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.audience-card {
    padding: 30px 22px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition-smooth);
}

.audience-card:hover {
    transform: translateY(-5px);
    border-color: rgba(117, 146, 255, 0.25);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.audience-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
}

.audience-college {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.audience-card h3 {
    font-size: 17px;
    line-height: 1.4;
}

/* --------------------------------------------------------------------------
   11. Dedicated Simulator Section (Professional SaaS Layout)
   -------------------------------------------------------------------------- */
.simulator-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-glass);
    background-color: rgba(8, 17, 37, 0.25);
}

.simulator-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
}

.sim-panels {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 12px;
}

.sim-panel {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    border-radius: 16px;
    background-color: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(117, 146, 255, 0.08);
    cursor: pointer;
    transition: var(--transition-quick);
}

.sim-panel:hover {
    background-color: rgba(255, 255, 255, 0.03);
    border-color: rgba(117, 146, 255, 0.2);
}

.sim-panel.active {
    background-color: rgba(79, 115, 246, 0.08);
    border-color: rgba(79, 115, 246, 0.35);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.panel-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: var(--transition-quick);
}

.sim-panel:hover .panel-icon {
    color: var(--text-primary);
    border-color: var(--primary-light);
}

.sim-panel.active .panel-icon {
    background-color: rgba(79, 115, 246, 0.2);
    border-color: var(--primary-light);
    color: white;
}

.sim-panel h4 {
    font-size: 15.5px;
    font-weight: 700;
    margin-bottom: 4px;
    transition: var(--transition-quick);
}

.sim-panel:hover h4 {
    color: white;
}

.sim-panel.active h4 {
    color: var(--primary-light);
}

.sim-panel p {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Mobile Simulator Navigation Tabs (< 768px) */
.sim-mobile-tabs {
    display: none;
    justify-content: space-around;
    align-items: center;
    background-color: var(--bg-mid);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 10px;
    margin-bottom: 20px;
    width: 100%;
}

.sim-mobile-tab {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--text-muted);
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    cursor: pointer;
    transition: var(--transition-quick);
}

.sim-mobile-tab.active {
    background-color: rgba(79, 115, 246, 0.15);
    color: var(--primary-light);
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(79, 115, 246, 0.25);
}

/* --------------------------------------------------------------------------
   12. Trainings Section (Gated card layout)
   -------------------------------------------------------------------------- */
.trainings-section {
    padding: 90px 0;
    border-top: 1px solid var(--border-glass);
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-quick);
    font-family: var(--font-sans);
}

.filter-btn:hover {
    border-color: var(--primary-light);
    color: var(--text-primary);
}

.filter-btn.active {
    background-color: rgba(117, 146, 255, 0.12);
    border-color: var(--primary);
    color: var(--primary-light);
}

.training-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.training-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-smooth);
    border-color: var(--border-glass);
}

.training-card:hover {
    border-color: rgba(38, 192, 208, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    transform: translateY(-2px);
}

.tr-badge-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.tr-category {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.tr-platform-icon {
    font-size: 15px;
}

.youtube-color {
    color: var(--youtube);
}

.other-platform-color {
    color: var(--primary-light);
}

.training-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.45;
}

.tr-provider {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.tr-meta-pills {
    margin-top: auto;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.tr-pill {
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 10.5px;
    font-weight: 700;
}

.tr-pill-free {
    background-color: rgba(39, 150, 99, 0.12);
    color: #40c487;
}

.tr-pill-level {
    background-color: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    border: 1px solid var(--border-glass);
}

.tr-link-btn {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 11px 0;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text-primary);
    transition: var(--transition-quick);
    cursor: pointer;
}

.tr-link-btn:hover {
    background-color: rgba(117, 146, 255, 0.12);
    border-color: var(--primary);
    color: var(--primary-light);
}

/* --------------------------------------------------------------------------
   13. Courses Section (Gated Card Layout)
   -------------------------------------------------------------------------- */
.courses-section {
    padding: 90px 0;
    background-color: rgba(8, 17, 37, 0.3);
    border-top: 1px solid var(--border-glass);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.course-card {
    padding: 24px;
    border-color: var(--border-glass);
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    border-color: rgba(117, 146, 255, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    transform: translateY(-2px);
}

.course-code-badge {
    align-self: flex-start;
    padding: 3px 8px;
    background-color: rgba(117, 146, 255, 0.08);
    color: var(--primary-light);
    border: 1px solid rgba(117, 146, 255, 0.2);
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    margin-bottom: 14px;
}

.course-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
}

.course-instructor {
    font-size: 12.5px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.course-stats-row {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 22px;
}

.course-stats-row span i {
    margin-left: 4px;
}

.course-actions-row {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-youtube {
    background-color: rgba(224, 44, 36, 0.1);
    color: #ff5b5b;
    border: 1px solid rgba(224, 44, 36, 0.25);
}

.btn-youtube:hover {
    background-color: rgba(224, 44, 36, 0.25);
    color: white;
}

.btn-materials {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
}

.btn-materials:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.btn-instructor-chat {
    background-color: rgba(39, 150, 99, 0.08);
    border: 1px solid rgba(39, 150, 99, 0.2);
    color: #4cdb96;
}

.btn-instructor-chat:hover {
    background-color: rgba(39, 150, 99, 0.18);
    color: white;
}

/* --------------------------------------------------------------------------
   14. Download & Web App Methods Grid Section
   -------------------------------------------------------------------------- */
.download-section {
    padding: 90px 0;
    border-top: 1px solid var(--border-glass);
}

.download-container {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 60px;
    padding: 56px;
    align-items: center;
    border-color: rgba(117, 146, 255, 0.2);
}

.dl-header-logo-row {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 32px;
}

.dl-app-icon {
    width: 76px;
    height: 76px;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(79, 115, 246, 0.3);
    border: 1px solid var(--border-glass);
    flex-shrink: 0;
}

.download-text h2 {
    font-size: 34px;
    margin-bottom: 8px;
}

.download-text p {
    color: var(--text-muted);
    font-size: 15.5px;
    line-height: 1.6;
}

/* Methods grid (APK vs Web App) */
.dl-methods-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.dl-method-card {
    padding: 24px;
    border-color: var(--border-glass);
    display: flex;
    flex-direction: column;
    gap: 12px;
    background-color: rgba(255, 255, 255, 0.01);
}

.dl-method-card h3 {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--primary-light);
}

.dl-method-card p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
    flex: 1;
}

.method-meta {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 8px;
    border-top: 1px solid var(--border-glass);
    padding-top: 8px;
}

.method-meta span i {
    margin-left: 4px;
}

/* PWA Installation instructions Guide */
.pwa-install-guide {
    padding: 24px;
    background-color: rgba(219, 131, 35, 0.04);
    border: 1px solid rgba(219, 131, 35, 0.15);
    border-radius: 16px;
}

.pwa-install-guide h4 {
    font-size: 14.5px;
    color: var(--warning);
    margin-bottom: 16px;
    font-weight: 700;
}

.pwa-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pwa-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.pwa-step i {
    font-size: 18px;
    margin-top: 3px;
    flex-shrink: 0;
}

.pwa-step div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pwa-step strong {
    font-size: 13px;
    color: var(--text-primary);
}

.pwa-step span {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Left Column stats row metadata */
.apk-info {
    display: grid;
    grid-template-columns: 1fr 1.1fr 0.9fr;
    gap: 20px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-item i {
    font-size: 18px;
    color: var(--primary-light);
}

.info-item div {
    display: flex;
    flex-direction: column;
}

.info-item span {
    font-size: 11px;
    color: var(--text-muted);
}

.info-item strong {
    font-size: 13px;
    color: var(--text-primary);
}

.text-success {
    color: #40c487 !important;
}

.download-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* QR Code Box */
.download-qr {
    display: flex;
    justify-content: center;
}

.qr-box {
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 250px;
    text-align: center;
    background-color: rgba(8, 17, 37, 0.4);
    border-color: var(--border-glass);
}

.qr-code {
    width: 140px;
    height: 140px;
    background-color: white;
    padding: 8px;
    border-radius: 12px;
    position: relative;
}

.qr-svg {
    width: 100%;
    height: 100%;
}

.qr-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
    width: 26px;
    height: 26px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 11px;
    color: white;
    border: 2px solid white;
}

.qr-box p {
    font-size: 10.5px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* --------------------------------------------------------------------------
   15. Gated Content Modal Overlay (Glassmorphism Modal Prompt)
   -------------------------------------------------------------------------- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(5, 10, 21, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    max-width: 460px;
    width: 90%;
    padding: 36px;
    text-align: center;
    border-color: rgba(117, 146, 255, 0.25);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.open .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 26px;
    cursor: pointer;
    transition: var(--transition-quick);
}

.modal-close:hover {
    color: white;
}

.modal-icon {
    width: 56px;
    height: 56px;
    background-color: rgba(117, 146, 255, 0.12);
    border: 1px solid rgba(117, 146, 255, 0.25);
    color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 20px auto;
}

.modal-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.modal-content p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 28px;
}

/* --------------------------------------------------------------------------
   16. Footer Section
   -------------------------------------------------------------------------- */
.footer {
    background-color: #03050c;
    border-top: 1px solid var(--border-glass);
    padding: 64px 0 24px 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-info .logo-area {
    margin-bottom: 18px;
}

.footer-info .logo-area h2 {
    font-size: 22px;
}

.footer-info p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links h4 {
    font-size: 15.5px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.footer-links a {
    font-size: 13.5px;
    color: var(--text-muted);
    transition: var(--transition-quick);
}

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

.footer-contact h4 {
    font-size: 15.5px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.footer-contact p {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13.5px;
    color: var(--text-primary);
    transition: var(--transition-quick);
}

.contact-item i {
    font-size: 19px;
}

.success-color {
    color: #40c487;
}

.instagram-color {
    color: #c5a3ff;
}

.contact-item:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid var(--border-glass);
    padding-top: 24px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
}

.tagline-footer {
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   17. Media Queries & Responsive Layouts
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }
    
    .hero-content h1 {
        font-size: 38px;
    }
    
    .hero-subtitle {
        margin: 0 auto 30px auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        margin: 0 auto;
    }
    
    .floating-cards-container {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .audience-grid {
        grid-template-columns: 1fr 1fr;
    }

    .simulator-container {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .simulator-text {
        text-align: center;
    }
    
    .simulator-text .section-title {
        text-align: center !important;
    }
    
    .sim-panels {
        display: none; /* Hide large panels on tablet/mobile */
    }
    
    .sim-mobile-tabs {
        display: flex; /* Show horizontal tabs on tablet/mobile */
    }
    
    .training-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .courses-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .download-container {
        grid-template-columns: 1fr;
        padding: 36px;
        text-align: center;
    }
    
    .dl-header-logo-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }
    
    .dl-methods-grid {
        grid-template-columns: 1fr;
    }
    
    .apk-info {
        grid-template-columns: 1fr 1fr;
        max-width: 500px;
        margin: 0 auto 30px auto;
    }
    
    .download-actions {
        justify-content: center;
    }
    
    .footer-container {
        grid-template-columns: 1.2fr 1.2fr;
        gap: 40px;
    }
    
    .footer-contact {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .training-grid {
        grid-template-columns: 1fr;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .download-qr {
        display: none; /* Physically impossible to scan your own mobile screen */
    }
    
    .download-container {
        grid-template-columns: 1fr;
        padding: 28px 20px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-contact {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
    }
    
    /* Hero Floating Cards Mobilization (Vertical Stack) */
    .floating-cards-container {
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        align-items: center !important;
        perspective: none !important;
        transform-style: flat !important;
        transform: none !important;
        margin: 40px auto 0 auto !important;
        max-width: 320px !important;
    }
    
    .floating-card {
        position: relative !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        transform: none !important;
        animation: none !important;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3) !important;
        background: rgba(13, 26, 56, 0.85) !important;
    }
}

@media (max-width: 576px) {
    .hero-stats {
        gap: 20px;
        justify-content: space-between;
        width: 100%;
        max-width: 100%;
    }
    
    .stat-number {
        font-size: 22px;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    .phone-mockup {
        width: 280px;
        height: 550px;
        border-radius: 36px;
    }
    
    .glow-ring {
        width: 300px;
        height: 480px;
    }
}

@media (max-width: 400px) {
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .phone-mockup {
        width: 260px;
        height: 510px;
        border-radius: 32px;
    }
    
    .pwa-step {
        gap: 12px;
    }
    
    .pwa-step i {
        font-size: 20px;
    }
}
@media (min-width: 993px) {
    .simulator-container {
        grid-template-columns: 1.15fr 0.85fr;
    }
}

/* --------------------------------------------------------------------------
   10. New Features & Improvements
   -------------------------------------------------------------------------- */

section {
    scroll-margin-top: 100px;
}

/* Scroll Progress Bar */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--primary) 50%, var(--accent-purple) 100%);
    width: 0%;
    z-index: 9999;
    box-shadow: 0 0 10px var(--primary);
    transition: width 0.1s ease;
}

/* Floating Device Animation */
@keyframes floatPhone {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.phone-mockup {
    animation: floatPhone 6s ease-in-out infinite;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px; /* on RTL left side is usually better */
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-purple) 100%);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(79, 115, 246, 0.5);
}

/* Testimonials Section */
.testimonials-section {
    padding-top: 100px;
    padding-bottom: 80px;
    position: relative;
    z-index: 5;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.testimonial-card {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: var(--transition-smooth);
}
.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-light);
}
.quote-icon {
    font-size: 30px;
    color: var(--accent);
    opacity: 0.5;
}
.testimonial-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-primary);
    flex-grow: 1;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
    border-top: 1px solid var(--border-glass);
    padding-top: 20px;
}
.author-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    color: white;
}
.author-info h4 {
    font-size: 14px;
    margin-bottom: 3px;
}
.author-info span {
    font-size: 12px;
    color: var(--text-muted);
}

/* FAQ Section */
.faq-section {
    padding-top: 80px;
    padding-bottom: 100px;
    position: relative;
    z-index: 5;
}
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.faq-item {
    background-color: var(--card-glass);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    overflow: hidden;
}
.faq-question {
    width: 100%;
    text-align: right;
    padding: 20px 25px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-quick);
}
.faq-question:hover {
    background-color: rgba(255, 255, 255, 0.02);
}
.faq-question i {
    transition: transform 0.3s ease;
    color: var(--primary-light);
}
.faq-question.active i {
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.answer-content {
    padding: 0 25px 20px 25px;
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.7;
}

/* Mobile Toggle Hamburger Animation */
.menu-toggle i {
    transition: var(--transition-quick);
}

