/* Raked Landing Page CSS - Design System & Styling */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;900&family=Outfit:wght@300;400;500;600;700;900&display=swap');

:root {
    /* Fonts */
    --font-ar: 'Cairo', sans-serif;
    --font-en: 'Outfit', sans-serif;

    /* Theme colors - Default (Dark Mode) */
    --bg-main: #0b0f19;
    --bg-surface: #131a2c;
    --bg-surface-elevated: #1e2942;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-hover: rgba(242, 94, 34, 0.3);
    
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    --primary: #f25e22; /* Raked Brand Orange */
    --primary-hover: #ff7842;
    --primary-glow: rgba(242, 94, 34, 0.25);
    
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    
    --glass-bg: rgba(19, 26, 44, 0.7);
    --glass-border: rgba(255, 255, 255, 0.06);
    --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --nav-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);

    /* Animation Easing */
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-speed: 0.3s;
}

[data-theme="light"] {
    --bg-main: #f8fafc;
    --bg-surface: #ffffff;
    --bg-surface-elevated: #f1f5f9;
    --border-color: rgba(0, 0, 0, 0.08);
    --border-color-hover: rgba(242, 94, 34, 0.3);
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.06);
    --card-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
    --nav-shadow: 0 4px 30px rgba(15, 23, 42, 0.03);
}

/* Reset and Globals */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-ar);
    transition: background-color var(--transition-speed) var(--ease-smooth), color var(--transition-speed) var(--ease-smooth);
    overflow-x: hidden;
    line-height: 1.6;
}

body[dir="ltr"] {
    font-family: var(--font-en);
}

/* Helper Utility Classes */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.section-padding {
    padding: 8rem 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 5rem 0;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.25s var(--ease-smooth);
    text-decoration: none;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 14px 0 var(--primary-glow);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 var(--primary-glow);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--border-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background-color: var(--bg-surface-elevated);
    border-color: var(--text-secondary);
    transform: translateY(-2px);
}

/* Navigation Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: transparent;
    transition: border-color 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
    border-bottom: 1px solid transparent;
}

/* Background/blur applied on a pseudo-element so the header does NOT become a
   containing block for the fixed .nav-menu (backdrop-filter traps fixed children). */
header::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0;
    background-color: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: opacity 0.3s var(--ease-smooth);
}

header.scrolled::before {
    opacity: 1;
}

header.scrolled {
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--nav-shadow);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.logo-orange {
    color: var(--primary);
}

.logo-img {
    height: 3.5rem;
    width: auto;
    display: block;
    padding: 0.25rem;
    border-radius: 0.5rem;
}

[data-theme="dark"] .logo-img {
    background-color: #ffffff;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.25s var(--ease-smooth);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Control Toggles */
.icon-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s var(--ease-smooth);
}

.icon-btn:hover {
    border-color: var(--primary);
    background-color: var(--bg-surface-elevated);
}

.lang-btn {
    font-family: var(--font-en);
    font-weight: bold;
    font-size: 0.85rem;
}

[dir="rtl"] .lang-btn {
    font-family: var(--font-en);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
}

@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 5rem;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--bg-main);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        padding: 2rem;
        transform: translateY(100%);
        transition: transform 0.4s cubic-bezier(0.77, 0.2, 0.05, 1);
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-link {
        font-size: 1.25rem;
        padding: 0.5rem 1rem;
    }

    .nav-menu .btn {
        font-size: 1.1rem;
        padding: 0.85rem 2rem;
    }

    /* Lock background scroll while the mobile menu is open */
    body.menu-open {
        overflow: hidden;
    }

    /* Animate hamburger into an X when open */
    .menu-toggle svg line {
        transition: transform 0.3s var(--ease-smooth), opacity 0.3s var(--ease-smooth);
        transform-origin: center;
    }

    /* HTML order: 1=middle (y12), 2=top (y6), 3=bottom (y18) */
    .menu-toggle.active svg line:nth-child(1) {
        opacity: 0;
    }

    .menu-toggle.active svg line:nth-child(2) {
        transform: translateY(6px) rotate(45deg);
    }

    .menu-toggle.active svg line:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 10rem;
    padding-bottom: 6rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(242, 94, 34, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(242, 94, 34, 0.05) 0%, transparent 40%);
    pointer-events: none;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    padding: 0.35rem 1rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

.hero-desc {
    color: var(--text-secondary);
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    max-width: 540px;
}

@media (max-width: 992px) {
    .hero-desc {
        margin-inline: auto;
    }
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

@media (max-width: 992px) {
    .hero-actions {
        justify-content: center;
    }
}

.download-badges {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 992px) {
    .download-badges {
        justify-content: center;
    }
}

.badge-link img {
    height: 40px;
    max-width: 100%;
    border-radius: 6px;
    transition: transform 0.2s var(--ease-smooth);
}

.badge-link:hover img {
    transform: scale(1.05);
}

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

.hero-image-decor {
    position: absolute;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    z-index: 1;
    filter: blur(20px);
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 2rem;
    z-index: 2;
    transform: perspective(1000px) rotateY(-8deg) rotateX(4deg);
    box-shadow: var(--card-shadow), 0 20px 40px -15px rgba(242, 94, 34, 0.2);
    border: 1px solid var(--border-color);
    transition: transform 0.5s var(--ease-smooth);
    animation: float 6s ease-in-out infinite;
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
}

@keyframes float {
    0%, 100% { transform: translateY(0) perspective(1000px) rotateY(-8deg) rotateX(4deg); }
    50% { transform: translateY(-12px) perspective(1000px) rotateY(-6deg) rotateX(3deg); }
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 4rem;
}

.section-tag {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    display: block;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-secondary);
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s var(--ease-smooth);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: var(--card-shadow), 0 10px 20px -10px var(--primary-glow);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    width: 4.5rem;
    height: 4.5rem;
    background-color: var(--bg-surface-elevated);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: transform 0.3s var(--ease-smooth);
}

.category-card:hover .category-icon {
    transform: rotateY(180deg);
}

.category-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.category-count {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Roles Feature Section */
.roles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 992px) {
    .roles-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.role-panel {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s var(--ease-smooth);
}

.role-panel::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    pointer-events: none;
}

.role-panel:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-4px);
    box-shadow: var(--card-shadow);
}

.role-badge {
    display: inline-flex;
    background-color: var(--primary-glow);
    color: var(--primary);
    padding: 0.35rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.role-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-item svg {
    margin-top: 0.25rem;
    flex-shrink: 0;
    color: var(--primary);
}

.feature-heading {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.feature-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Interactive App Simulator */
.simulator-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 992px) {
    .simulator-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
        justify-items: center;
    }
}

/* Phone Mockup Frame */
.phone-mockup {
    width: 330px;
    height: 660px;
    background-color: #000;
    border-radius: 3rem;
    border: 10px solid #1e293b;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 0 2px rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

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

.phone-screen {
    width: 100%;
    height: 100%;
    background-color: #0b0f19;
    color: #f3f4f6;
    font-family: var(--font-ar);
    padding: 2.25rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    position: relative;
}

body[dir="ltr"] .phone-screen {
    font-family: var(--font-en);
}

.phone-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 0.75rem;
}

.phone-header-title {
    font-size: 0.95rem;
    font-weight: 700;
}

.phone-content {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 3.5rem; /* Space for navbar */
}

/* Hide scrollbars for simulator */
.phone-content::-webkit-scrollbar {
    width: 0;
}

.phone-navbar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3.5rem;
    background-color: #131a2c;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 5;
}

.phone-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #6b7280;
    font-size: 0.7rem;
    cursor: pointer;
    gap: 0.15rem;
    transition: color 0.2s var(--ease-smooth);
}

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

/* Simulator Screens styling */
.sim-screen {
    display: none;
}

.sim-screen.active {
    display: block;
    animation: phoneFadeIn 0.3s var(--ease-smooth);
}

@keyframes phoneFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Auction Screen Simulator */
.sim-card {
    background-color: #131a2c;
    border-radius: 0.75rem;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.sim-image-container {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 0.75rem;
    aspect-ratio: 16/10;
    background-color: #1e2942;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sim-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s var(--ease-smooth);
    cursor: pointer;
}

.sim-image-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    background: rgba(0, 0, 0, 0.5);
    padding: 4px 8px;
    border-radius: 10px;
    z-index: 2;
}

.sim-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.2s var(--ease-smooth);
}

.sim-dot.active {
    background-color: var(--primary);
    width: 14px;
    border-radius: 4px;
}

.sim-zoom-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    z-index: 2;
}

.sim-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.sim-desc {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.sim-price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
}

.sim-price-label {
    color: #9ca3af;
}

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

.sim-bid-calc {
    background-color: #1e2942;
    border-radius: 0.5rem;
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.sim-calc-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
}

.sim-btn {
    width: 100%;
    padding: 0.5rem;
    border-radius: 0.5rem;
    background-color: var(--primary);
    color: #fff;
    border: none;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: background-color 0.2s var(--ease-smooth);
}

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

.sim-badge {
    background-color: rgba(242, 94, 34, 0.15);
    color: var(--primary);
    font-size: 0.65rem;
    padding: 0.15rem 0.4rem;
    border-radius: 0.25rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 0.25rem;
}

/* Warehouse Management Screen */
.sim-select-item {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background-color: #1e2942;
    padding: 0.6rem;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s var(--ease-smooth);
}

.sim-select-item:hover {
    border-color: rgba(242, 94, 34, 0.4);
}

.sim-select-item.selected {
    border-color: var(--primary);
    background-color: rgba(242, 94, 34, 0.08);
}

.sim-select-check {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #4b5563;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sim-select-item.selected .sim-select-check {
    border-color: var(--primary);
    background-color: var(--primary);
}

.sim-select-check::after {
    content: '';
    width: 6px;
    height: 6px;
    background-color: #fff;
    border-radius: 50%;
    display: none;
}

.sim-select-item.selected .sim-select-check::after {
    display: block;
}

.sim-warehouse-info {
    font-size: 0.75rem;
}

.sim-wh-name {
    font-weight: 700;
}

.sim-wh-addr {
    color: #9ca3af;
    font-size: 0.65rem;
}

.sim-form-group {
    margin-bottom: 0.6rem;
}

.sim-form-group label {
    display: block;
    font-size: 0.7rem;
    color: #9ca3af;
    margin-bottom: 0.25rem;
}

.sim-input {
    width: 100%;
    background-color: #1e2942;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.5rem;
    padding: 0.5rem;
    color: #fff;
    font-size: 0.75rem;
}

/* Lightbox Modal (For visitor image zoom testing) */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(11, 15, 25, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease-smooth);
}

.lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s var(--ease-smooth);
}

.lightbox-modal.active .lightbox-content {
    transform: scale(1);
}

.lightbox-image {
    width: 100%;
    height: auto;
    max-height: 75vh;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-close {
    position: absolute;
    top: -2.5rem;
    right: 0;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.lightbox-caption {
    color: #9ca3af;
    text-align: center;
    margin-top: 1rem;
    font-size: 0.95rem;
}

/* Simulator Description Panel */
.simulator-desc {
    padding-inline-start: 2rem;
}

@media (max-width: 992px) {
    .simulator-desc {
        padding-inline-start: 0;
        text-align: center;
    }
}

.sim-feature-badge {
    background-color: var(--primary-glow);
    color: var(--primary);
    padding: 0.35rem 0.85rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: inline-block;
}

.sim-feature-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.sim-feature-desc {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.sim-selectors {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.sim-selector-btn {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: 0.75rem;
    cursor: pointer;
    text-align: inherit;
    transition: all 0.25s var(--ease-smooth);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sim-selector-btn:hover {
    border-color: var(--primary);
    background-color: var(--bg-surface-elevated);
}

.sim-selector-btn.active {
    border-color: var(--primary);
    background-color: var(--bg-surface-elevated);
    box-shadow: 0 0 15px -5px var(--primary-glow);
}

.sim-num-badge {
    width: 2rem;
    height: 2rem;
    background-color: var(--primary-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 700;
    flex-shrink: 0;
}

.sim-selector-text {
    flex: 1;
}

.sim-sel-title {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}

.sim-sel-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Statistics Section */
.stats {
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

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

.stat-num {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1.1rem;
}

/* How It Works */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    position: relative;
}

.step-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2.5rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s var(--ease-smooth);
}

.step-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.step-number {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(242, 94, 34, 0.1);
    line-height: 1;
    z-index: 1;
}

[dir="rtl"] .step-number {
    right: auto;
    left: 2rem;
}

.step-content {
    position: relative;
    z-index: 2;
}

.step-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.step-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.step-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Download App Banner Section */
.download-banner {
    position: relative;
    border-radius: 2rem;
    background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-surface-elevated) 100%);
    border: 1px solid var(--border-color);
    padding: 4rem;
    overflow: hidden;
}

.download-banner::before {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    pointer-events: none;
}

.download-banner-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

@media (max-width: 992px) {
    .download-banner-grid {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }
}

.download-banner-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.download-banner-desc {
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 2rem;
}

.download-banner-mock {
    max-width: 100%;
    border-radius: 2rem;
    transform: rotate(5deg);
    transition: transform 0.3s var(--ease-smooth);
}

.download-banner:hover .download-banner-mock {
    transform: rotate(0deg) scale(1.05);
    border-radius: 2rem;
}

/* Footer Section */
footer {
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
    color: var(--text-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.footer-about-desc {
    margin-top: 1rem;
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-title {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color 0.25s var(--ease-smooth);
}

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

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.footer-contact-item a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.25s var(--ease-smooth);
}

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

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Additional small-screen optimizations */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .section-padding {
        padding: 3rem 0;
    }

    .hero {
        padding-top: 8rem;
        padding-bottom: 4rem;
    }

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

    .hero-desc {
        font-size: 1rem;
    }

    .hero-actions {
        gap: 1rem;
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .role-panel {
        padding: 1.5rem;
    }

    .role-title {
        font-size: 1.5rem;
    }

    .step-card {
        padding: 1.5rem;
    }

    .step-number {
        font-size: 3rem;
    }

    .download-banner {
        padding: 2rem;
    }

    .download-banner-title {
        font-size: 1.75rem;
    }

    .stat-num {
        font-size: 2.25rem;
    }

    .category-card {
        padding: 1.5rem;
    }

    .category-icon {
        width: 3.5rem;
        height: 3.5rem;
        font-size: 2rem;
    }
}

/* Extra small screens */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.75rem;
    }
}
