/* Force Western/Latin numerals (0-9) instead of Eastern Arabic (٠-٩) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800;900&display=swap');

@font-face {
    font-family: 'Tajawal';
    src: local('Inter'), local('Arial');
    unicode-range: U+0030-0039, U+002B, U+002C, U+002E, U+002F, U+0025;
}

/* ===== CSS Variables & Design Tokens ===== */
:root {
    --bg-primary: #0a0e1a;
    --bg-secondary: #111827;
    --bg-card: rgba(17, 24, 39, 0.8);
    --bg-card-hover: rgba(30, 41, 59, 0.9);
    --bg-glass: rgba(255, 255, 255, 0.04);
    --bg-glass-hover: rgba(255, 255, 255, 0.08);

    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --accent-primary: #3b82f6;
    --accent-secondary: #8b5cf6;
    --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
    --accent-gradient-2: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #8b5cf6 100%);
    --accent-glow: 0 0 40px rgba(59, 130, 246, 0.3);

    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(59, 130, 246, 0.3);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 60px rgba(59, 130, 246, 0.15);

    --font-family: 'Tajawal', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    font-feature-settings: "lnum";
    -webkit-locale: "fr";
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* ===== Particles Background ===== */
#particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {

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

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

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

@keyframes rotate-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes data-flow {
    0% {
        opacity: 0;
        transform: translate(var(--x), var(--y)) scale(0.5);
    }

    50% {
        opacity: 1;
        transform: translate(var(--x), var(--y)) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(50%, 50%) scale(0.5);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

.animate-fade-up {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.animate-fade-left {
    animation: fadeInLeft 0.8s ease forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.15s;
}

.delay-2 {
    animation-delay: 0.3s;
}

.delay-3 {
    animation-delay: 0.45s;
}

.delay-4 {
    animation-delay: 0.6s;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    backdrop-filter: blur(0px);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.6rem;
    font-weight: 800;
    z-index: 1001;
}

.logo-img {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    object-fit: contain;
}

.logo-icon {
    font-size: 2rem;
}

.logo-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    border-radius: 2px;
    transition: var(--transition);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.download-btn-nav {
    background: var(--accent-gradient);
    color: white !important;
    padding: 10px 24px !important;
    border-radius: var(--radius-full);
    font-weight: 600;
    -webkit-text-fill-color: white;
}

.download-btn-nav::after {
    display: none;
}

.download-btn-nav:hover {
    transform: scale(1.05);
    box-shadow: var(--accent-glow);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 5px;
}

.hamburger span {
    width: 28px;
    height: 2.5px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

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

.btn-outline:hover {
    border-color: var(--accent-primary);
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-3px);
}

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

/* ===== Gradient Text ===== */
.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-light {
    background: linear-gradient(135deg, #60a5fa, #a78bfa, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Section Common ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 6px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-primary);
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(59, 130, 246, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 80%, rgba(236, 72, 153, 0.08) 0%, transparent 60%);
    z-index: 0;
}

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

.hero-content {
    padding: 40px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent-primary);
    margin-bottom: 24px;
}

.hero-badge i {
    color: #fbbf24;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-subtitle strong {
    color: var(--accent-primary);
    font-weight: 700;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 24px 32px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-suffix {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

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

/* Hero Image */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse-glow 3s ease-in-out infinite;
    z-index: 0;
}

.hero-phone-img {
    position: relative;
    z-index: 1;
    max-width: 100%;
    max-height: 580px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
    object-fit: contain;
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    z-index: 2;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: auto;
}

/* ===== Features Section ===== */
.features-section {
    padding: 100px 0;
    position: relative;
}

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

.feature-card {
    position: relative;
    padding: 36px 28px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    background: var(--bg-glass-hover);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon-wrap {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    margin: 0 auto 20px;
    overflow: hidden;
    transition: var(--transition);
}

.feature-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.feature-card:hover .feature-icon-wrap {
    transform: scale(1.1) rotate(-5deg);
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.feature-card-highlight {
    border-color: var(--border-glow);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(139, 92, 246, 0.05));
}

.feature-card-highlight .feature-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

/* ===== AI Section ===== */
.ai-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.ai-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(6, 182, 212, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 50%, rgba(139, 92, 246, 0.06) 0%, transparent 60%);
}

.ai-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
}

.ai-text .section-title {
    text-align: right;
}

.ai-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 36px;
}

.ai-features-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ai-feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.ai-feature-item:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-glow);
    transform: translateX(-8px);
}

.ai-feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient-2);
    border-radius: var(--radius-sm);
    color: white;
    font-size: 1.2rem;
}

.ai-feature-item h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.ai-feature-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* AI Visual */
.ai-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-circle-animation {
    position: relative;
    width: 300px;
    height: 300px;
}

.ai-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid;
    animation: rotate-slow linear infinite;
}

.ai-circle-1 {
    width: 200px;
    height: 200px;
    border-color: rgba(59, 130, 246, 0.3);
    animation-duration: 8s;
}

.ai-circle-2 {
    width: 280px;
    height: 280px;
    border-color: rgba(139, 92, 246, 0.2);
    animation-duration: 12s;
    animation-direction: reverse;
}

.ai-circle-3 {
    width: 360px;
    height: 360px;
    border-color: rgba(6, 182, 212, 0.15);
    animation-duration: 16s;
}

.ai-brain-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    border-radius: 50%;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 0 60px rgba(59, 130, 246, 0.4);
    z-index: 2;
}

.ai-data-flow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.data-point {
    position: absolute;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--accent-primary);
    font-size: 1rem;
    left: var(--x);
    top: var(--y);
    animation: pulse-glow 3s ease-in-out infinite;
    animation-delay: var(--delay);
}

/* ===== Trust Section ===== */
.trust-section {
    padding: 100px 0;
    position: relative;
}

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

.trust-card {
    padding: 40px 32px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.trust-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
}

.trust-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    border-radius: var(--radius-md);
    font-size: 1.5rem;
    color: white;
    margin-bottom: 20px;
}

.trust-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.trust-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.trust-badge-img {
    margin-top: 20px;
    border-radius: var(--radius-md);
    overflow: hidden;
    max-width: 240px;
}

.trust-badge-img img {
    border-radius: var(--radius-md);
    opacity: 0.85;
    transition: var(--transition);
}

.trust-card:hover .trust-badge-img img {
    opacity: 1;
    transform: scale(1.02);
}

/* ===== How It Works ===== */
.how-section {
    padding: 100px 0;
    position: relative;
}

.steps-container {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.step {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px 32px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.step:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-glow);
    transform: translateX(-8px);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 60px;
}

.step-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-icon {
    margin-right: auto;
    width: 50px;
    height: 50px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--accent-primary);
    font-size: 1.2rem;
}

.step-connector {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent-primary), transparent);
    margin: 0 auto;
    opacity: 0.5;
}

/* ===== Testimonials ===== */
.testimonials-section {
    padding: 100px 0;
    position: relative;
}

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

.testimonial-card {
    padding: 36px 28px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

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

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    color: #fbbf24;
    font-size: 1rem;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

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

.author-avatar {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    border-radius: 50%;
    color: white;
    font-size: 1.1rem;
}

.testimonial-author h4 {
    font-size: 1rem;
    font-weight: 700;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== FAQ Section ===== */
.faq-section {
    padding: 100px 0;
}

.faq-container {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--border-glow);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: right;
}

.faq-question:hover {
    color: var(--accent-primary);
}

.faq-question i {
    transition: var(--transition);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--accent-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

.faq-answer p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===== Store Badge in App Cards ===== */
.app-store-badges {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.store-badge-app {
    display: inline-block;
    transition: var(--transition);
}

.store-badge-app:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.store-badge-app-img {
    height: 40px;
    width: auto;
    display: block;
}

/* Google Play badge PNG has built-in padding, make it taller to match App Store */
.store-badge-app:first-child .store-badge-app-img {
    height: 58px;
    margin: -9px 0;
}

/* ===== Download Section ===== */
.download-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(139, 92, 246, 0.05));
}

.download-bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.download-circle {
    position: absolute;
    border-radius: 50%;
    background: var(--accent-gradient);
    opacity: 0.04;
}

.download-circle-1 {
    width: 500px;
    height: 500px;
    top: -200px;
    right: -100px;
}

.download-circle-2 {
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: -50px;
}

.download-circle-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.download-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.download-app-icon {
    width: 90px;
    height: 90px;
    border-radius: var(--radius-lg);
    margin: 0 auto 24px;
    object-fit: contain;
    box-shadow: var(--shadow-md);
}

.download-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 16px;
}

.download-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.store-badge {
    display: inline-block;
    transition: var(--transition);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.store-badge:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.store-badge-img {
    height: 50px;
    width: auto;
    display: block;
}

/* Google Play badge PNG has built-in padding */
.store-badge:first-child .store-badge-img {
    height: 74px;
    margin: -12px 0;
}

.download-or {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.dev-logo-btn {
    display: inline-block;
    margin-bottom: 32px;
    transition: var(--transition);
    cursor: pointer;
    border-radius: 50%;
}

.dev-logo-btn:hover {
    transform: translateY(-4px) scale(1.08);
}

.dev-logo-btn-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.25);
    transition: var(--transition);
}

.dev-logo-btn:hover .dev-logo-btn-img {
    box-shadow: 0 8px 35px rgba(34, 197, 94, 0.5);
}

.download-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.download-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.download-info-item i {
    color: var(--accent-primary);
}

/* ===== Footer ===== */
.footer {
    padding: 60px 0 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    object-fit: contain;
}

.footer-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent-gradient);
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
}

.footer-links h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-primary);
    padding-right: 8px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--accent-primary);
    font-size: 0.9rem;
    min-width: 18px;
}

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

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: var(--text-muted);
}

.footer-bottom-links a:hover {
    color: var(--accent-primary);
}

/* ===== Scroll to Top ===== */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: var(--accent-glow);
    z-index: 999;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    transform: translateY(-5px);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.8rem;
    }

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

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ai-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .ai-visual {
        height: 400px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        transition: var(--transition-slow);
        border-left: 1px solid var(--border-color);
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

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

    .hero-subtitle {
        margin: 0 auto 36px;
    }

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

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }

    .hero-image {
        order: -1;
    }

    .hero-phone-img {
        max-height: 400px;
    }

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

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-slider {
        grid-template-columns: 1fr;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .step {
        flex-wrap: wrap;
    }

    .step-icon {
        margin-right: 0;
    }

    .ai-text .section-title {
        text-align: center;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 1.6rem;
        line-height: 1.4;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .btn-lg {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .hero-stats {
        padding: 12px;
        gap: 12px;
    }

    .stat-number {
        font-size: 1.3rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

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

    .section-subtitle {
        font-size: 0.85rem;
    }

    .section-badge {
        font-size: 0.75rem;
        padding: 6px 14px;
    }

    /* Features on mobile */
    .features-grid {
        gap: 16px;
    }

    .feature-card {
        padding: 20px 16px;
    }

    .feature-icon-wrap {
        width: 60px;
        height: 60px;
    }

    .feature-card h3 {
        font-size: 1.05rem;
    }

    .feature-card p {
        font-size: 0.82rem;
    }

    /* Apps section on mobile */
    .apps-section {
        padding: 60px 0;
    }

    .app-card-header {
        padding: 20px;
    }

    .app-card-icon {
        width: 60px;
        height: 60px;
    }

    .app-card-body {
        padding: 20px;
    }

    .app-card-body h3 {
        font-size: 1.2rem;
    }

    .app-card-desc {
        font-size: 0.85rem;
    }

    .app-features-list li {
        font-size: 0.82rem;
    }

    .app-store-badges {
        justify-content: center;
    }

    .store-badge-app-img {
        height: 34px;
    }

    .store-badge-app:first-child .store-badge-app-img {
        height: 50px;
        margin: -8px 0;
    }

    /* AI Section */
    .ai-section {
        padding: 60px 0;
    }

    .ai-visual {
        height: 300px;
    }

    .ai-feature-item h4 {
        font-size: 0.95rem;
    }

    .ai-feature-item p {
        font-size: 0.82rem;
    }

    /* Trust on mobile */
    .trust-section {
        padding: 60px 0;
    }

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

    .trust-card {
        padding: 20px;
    }

    /* How section on mobile */
    .how-section {
        padding: 60px 0;
    }

    .step {
        padding: 16px;
    }

    /* Testimonials on mobile */
    .testimonials-section {
        padding: 60px 0;
    }

    /* FAQ on mobile */
    .faq-section {
        padding: 60px 0;
    }

    .faq-question {
        padding: 14px 16px;
        font-size: 0.9rem;
    }

    /* Download on mobile */
    .download-section {
        padding: 60px 0;
    }

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

    .download-subtitle {
        font-size: 0.95rem;
    }

    .download-buttons {
        gap: 12px;
    }

    .store-badge-img {
        height: 40px;
    }

    .store-badge:first-child .store-badge-img {
        height: 58px;
        margin: -9px 0;
    }

    /* Footer on mobile */
    .footer {
        padding: 40px 0 20px;
    }

    .footer-brand p {
        font-size: 0.82rem;
    }

    .social-links {
        gap: 8px;
    }

    .social-link {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
}

/* Ultra small phones (320px-360px) */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.4rem;
    }

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

    .hero-stats {
        flex-direction: column;
    }

    .download-title {
        font-size: 1.3rem;
    }

    .app-store-badges {
        flex-direction: column;
        align-items: center;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-secondary);
}

/* ===== Selection ===== */
::selection {
    background: rgba(59, 130, 246, 0.3);
    color: white;
}

/* ===== Two Apps Section ===== */
.apps-section {
    padding: 100px 0;
    position: relative;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.app-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition);
}

.app-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
}

.app-card-header {
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    position: relative;
}

.app-customer-header {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.1));
}

.app-driver-header {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(6, 182, 212, 0.1));
}

.app-card-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-lg);
    object-fit: contain;
    box-shadow: var(--shadow-md);
}

.app-card-badge {
    display: inline-block;
    padding: 4px 16px;
    background: var(--accent-gradient);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

.badge-driver {
    background: linear-gradient(135deg, #22c55e, #06b6d4);
}

.app-card-body {
    padding: 28px 32px 32px;
}

.app-card-body h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.app-card-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.app-features-list {
    list-style: none;
    margin-bottom: 24px;
}

.app-features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.app-features-list li i {
    color: #22c55e;
    font-size: 0.9rem;
}

.btn-app {
    width: 100%;
    justify-content: center;
    border-radius: var(--radius-md);
}

/* Developer Tag */
.developer-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 8px 18px;
    background: var(--bg-glass-hover);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-primary);
}

.developer-tag i {
    color: var(--accent-secondary);
}

/* ===== Apps Section Responsive ===== */
@media (max-width: 768px) {
    .apps-grid {
        grid-template-columns: 1fr;
    }

    .store-badge-img {
        height: 50px;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
}