/* ════════════════════════════════════════════════════════
   HiShare Landing Page — CSS Design System
   ════════════════════════════════════════════════════════ */

/* ─── CSS Variables ─── */
:root {
    /* Core Palette */
    --primary-dark: #0A0A10;
    --primary: #15161F;
    --primary-light: #353744;
    --secondary: #596097;
    --secondary-light: #ECF0FD;
    --secondary-dark: #3E466A;

    /* Accents */
    --accent-purple: #6100D6;
    --accent-orange: #F05924;
    --accent-gold: #D4A017;
    --accent-cyan: #00C3FF;
    --accent-blue: #3E6DEF;
    --accent-green: #5CB366;
    --accent-pink: #F448CD;

    /* Gradients */
    --gradient-main: linear-gradient(135deg, #6100D6 0%, #F05924 50%, #D4A017 100%);
    --gradient-purple-orange: linear-gradient(135deg, #6100D6, #F05924);
    --gradient-orange-gold: linear-gradient(135deg, #F05924, #D4A017);
    --gradient-glow: radial-gradient(circle, rgba(97, 0, 214, 0.15) 0%, transparent 70%);

    /* Neutrals */
    --white: #FFFFFF;
    --grey-100: #F6F6F6;
    --grey-200: #DCDEDD;
    --grey-400: #979898;
    --grey-600: #565859;
    --grey-800: #2A2C2D;
    --black: #000000;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
    --shadow-glow-purple: 0 0 60px rgba(97, 0, 214, 0.3);
    --shadow-glow-orange: 0 0 60px rgba(240, 89, 36, 0.3);

    /* Typography */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-md: 1rem;
    --fs-lg: 1.125rem;
    --fs-xl: 1.25rem;
    --fs-2xl: 1.5rem;
    --fs-3xl: 2rem;
    --fs-4xl: 2.5rem;
    --fs-5xl: 3.5rem;
    --fs-6xl: 4.5rem;

    /* Spacing */
    --section-padding: 120px 0;
    --container-max: 1200px;
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;

    /* Transitions */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 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;
    scroll-padding-top: 80px;
}

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

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

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

ul { list-style: none; }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── Utility Classes ─── */
.gradient-text {
    background: var(--gradient-purple-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* ─── Reveal Animations ─── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* stagger children */
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.4s; }
.reveal:nth-child(6) { transition-delay: 0.5s; }

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 600;
    font-size: var(--fs-md);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-purple-orange);
    color: var(--white);
    box-shadow: 0 4px 24px rgba(97, 0, 214, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(97, 0, 214, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

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

/* ─── Section Shared Styles ─── */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.section-header--left {
    text-align: left;
    margin: 0 0 40px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(97, 0, 214, 0.12);
    border: 1px solid rgba(97, 0, 214, 0.25);
    border-radius: 100px;
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-purple);
    margin-bottom: 20px;
}

.section-title {
    font-size: var(--fs-4xl);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: var(--fs-lg);
    color: var(--grey-400);
    line-height: 1.7;
}

/* ════════════════════════════════════════════════════════
   NAVIGATION
   ════════════════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 10, 16, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 10px 0;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: var(--fs-xl);
    z-index: 101;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

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

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-links a {
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--grey-400);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-purple-orange);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

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

.nav-cta {
    padding: 10px 24px;
    background: var(--gradient-purple-orange);
    border-radius: 100px;
    font-weight: 600;
    font-size: var(--fs-sm);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(97, 0, 214, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(97, 0, 214, 0.5);
}

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

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

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

/* ════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 24px 80px;
    gap: 60px;
}

#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-glow {
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(97, 0, 214, 0.15) 0%, transparent 70%);
    z-index: 0;
    animation: floatGlow 8s ease-in-out infinite;
}

@keyframes floatGlow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-50px, 30px) scale(1.1); }
    66% { transform: translate(30px, -50px) scale(0.95); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 580px;
    flex-shrink: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(97, 0, 214, 0.1);
    border: 1px solid rgba(97, 0, 214, 0.2);
    border-radius: 100px;
    font-size: var(--fs-sm);
    font-weight: 500;
    margin-bottom: 24px;
    color: var(--grey-200);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(92, 179, 102, 0.5); }
    50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(92, 179, 102, 0); }
}

.hero-title {
    font-size: var(--fs-6xl);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: var(--fs-lg);
    color: var(--grey-400);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 480px;
}

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

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

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

.hero-stat-number {
    font-size: var(--fs-2xl);
    font-weight: 800;
    color: var(--white);
}

.hero-stat-suffix {
    font-size: var(--fs-lg);
    font-weight: 700;
    color: var(--accent-orange);
}

.hero-stat-label {
    font-size: var(--fs-xs);
    color: var(--grey-400);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Visual — Phone Mockup */
.hero-visual {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.phone-mockup {
    position: relative;
    width: 300px;
    height: 580px;
    background: linear-gradient(145deg, #1a1b28, #0e0e18);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-lg),
                inset 0 0 0 2px rgba(255, 255, 255, 0.06);
    animation: phoneFloat 6s ease-in-out infinite;
}

@keyframes phoneFloat {
    0%, 100% { transform: translateY(0px) rotate(2deg); }
    50% { transform: translateY(-20px) rotate(-1deg); }
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    background: var(--primary);
}

.phone-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phone-glow {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 100px;
    background: radial-gradient(ellipse, rgba(97, 0, 214, 0.3), transparent);
    filter: blur(30px);
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 1;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent-purple), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; height: 40px; }
    50% { opacity: 1; height: 60px; }
}

.hero-scroll-indicator span {
    font-size: var(--fs-xs);
    color: var(--grey-400);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ════════════════════════════════════════════════════════
   ABOUT
   ════════════════════════════════════════════════════════ */
.about {
    padding: var(--section-padding);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(97, 0, 214, 0.3), transparent);
}

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

.about-card {
    padding: 36px 28px;
    text-align: center;
}

.about-card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
}

.about-card-icon svg {
    width: 100%;
    height: 100%;
}

.about-card h3 {
    font-size: var(--fs-lg);
    font-weight: 700;
    margin-bottom: 12px;
}

.about-card p {
    font-size: var(--fs-sm);
    color: var(--grey-400);
    line-height: 1.7;
}

/* ════════════════════════════════════════════════════════
   HOW IT WORKS (USERS)
   ════════════════════════════════════════════════════════ */
.how-it-works {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--primary-dark) 0%, rgba(97, 0, 214, 0.03) 50%, var(--primary-dark) 100%);
}

.steps-timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 32px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-purple), var(--accent-orange), var(--accent-gold));
    opacity: 0.3;
}

.step-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 32px;
    position: relative;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-number {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-xl);
    font-weight: 800;
    background: var(--gradient-purple-orange);
    border-radius: 50%;
    color: var(--white);
    position: relative;
    z-index: 1;
    box-shadow: 0 0 30px rgba(97, 0, 214, 0.3);
}

.step-card {
    flex: 1;
    padding: 28px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

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

.step-card h3 {
    font-size: var(--fs-md);
    font-weight: 700;
    margin-bottom: 6px;
}

.step-card p {
    font-size: var(--fs-sm);
    color: var(--grey-400);
    line-height: 1.6;
}

/* ════════════════════════════════════════════════════════
   FOR BUSINESS
   ════════════════════════════════════════════════════════ */
.for-business {
    padding: var(--section-padding);
    position: relative;
}

.business-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.business-visual {
    position: relative;
}

.business-img-wrapper {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.business-img {
    width: 100%;
    border-radius: var(--border-radius-lg);
    position: relative;
    z-index: 1;
}

.business-img-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(240, 89, 36, 0.15) 0%, transparent 70%);
    border-radius: var(--border-radius-xl);
    filter: blur(30px);
    z-index: 0;
}

.business-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.business-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: var(--transition);
}

.business-step:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(240, 89, 36, 0.2);
    transform: translateX(8px);
}

.business-step-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: var(--fs-sm);
    background: var(--gradient-orange-gold);
    border-radius: 10px;
    color: var(--white);
}

.business-step h4 {
    font-size: var(--fs-md);
    font-weight: 700;
    margin-bottom: 4px;
}

.business-step p {
    font-size: var(--fs-sm);
    color: var(--grey-400);
    line-height: 1.6;
}

/* ════════════════════════════════════════════════════════
   FEATURES
   ════════════════════════════════════════════════════════ */
.features {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--primary-dark) 0%, rgba(240, 89, 36, 0.02) 50%, var(--primary-dark) 100%);
}

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

.feature-card {
    padding: 36px 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: var(--gradient-purple-orange);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover::before {
    opacity: 1;
    width: 100%;
}

.feature-icon-wrapper {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: rgba(97, 0, 214, 0.08);
    border-radius: 16px;
    border: 1px solid rgba(97, 0, 214, 0.15);
}

.feature-card h3 {
    font-size: var(--fs-lg);
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: var(--fs-sm);
    color: var(--grey-400);
    line-height: 1.7;
}

/* ════════════════════════════════════════════════════════
   TESTIMONIALS
   ════════════════════════════════════════════════════════ */
.testimonials {
    padding: var(--section-padding);
}

.testimonials-carousel {
    position: relative;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
    min-width: calc(33.333% - 16px);
    padding: 36px;
    flex-shrink: 0;
}

.testimonial-stars {
    color: var(--accent-gold);
    font-size: var(--fs-lg);
    margin-bottom: 16px;
    letter-spacing: 4px;
}

.testimonial-text {
    font-size: var(--fs-md);
    color: var(--grey-200);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

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

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-purple-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--fs-lg);
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: var(--fs-sm);
    font-weight: 600;
}

.testimonial-author span {
    font-size: var(--fs-xs);
    color: var(--grey-400);
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background: var(--gradient-purple-orange);
    width: 24px;
    border-radius: 4px;
}

/* ════════════════════════════════════════════════════════
   STATS
   ════════════════════════════════════════════════════════ */
.stats {
    padding: 80px 0;
    position: relative;
}

.stats::before,
.stats::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(240, 89, 36, 0.3), transparent);
}

.stats::before { top: 0; }
.stats::after { bottom: 0; }

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

.stat-card {
    text-align: center;
    padding: 40px 24px;
}

.stat-number {
    font-size: var(--fs-4xl);
    font-weight: 900;
    background: var(--gradient-purple-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: var(--fs-sm);
    color: var(--grey-400);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.stat-bar {
    width: 60px;
    height: 3px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    margin: 0 auto;
    overflow: hidden;
}

.stat-bar-fill {
    height: 100%;
    width: 0;
    background: var(--gradient-purple-orange);
    border-radius: 3px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card.revealed .stat-bar-fill {
    width: var(--fill-width);
}

/* ════════════════════════════════════════════════════════
   DOWNLOAD / CTA
   ════════════════════════════════════════════════════════ */
.download {
    padding: var(--section-padding);
}

.download-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding: 60px;
    background: linear-gradient(135deg, rgba(97, 0, 214, 0.1), rgba(240, 89, 36, 0.08));
    border: 1px solid rgba(97, 0, 214, 0.15);
    border-radius: var(--border-radius-xl);
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(240, 89, 36, 0.1), transparent);
    filter: blur(60px);
}

.download-content {
    position: relative;
    z-index: 1;
    max-width: 500px;
}

.download-content .section-title {
    text-align: left;
    margin-bottom: 16px;
}

.download-content p {
    color: var(--grey-400);
    font-size: var(--fs-md);
    line-height: 1.7;
    margin-bottom: 32px;
}

.download-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    transition: var(--transition);
    color: var(--white);
}

.store-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.store-btn small {
    font-size: var(--fs-xs);
    color: var(--grey-400);
    display: block;
}

.store-btn strong {
    font-size: var(--fs-md);
    font-weight: 600;
    display: block;
}

.download-visual {
    position: relative;
    z-index: 1;
}

.download-logo {
    width: 200px;
    height: 200px;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    animation: phoneFloat 6s ease-in-out infinite;
}

/* ════════════════════════════════════════════════════════
   CONTACT
   ════════════════════════════════════════════════════════ */
.contact {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--primary-dark) 0%, rgba(97, 0, 214, 0.03) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
}

.contact-form {
    padding: 40px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: var(--fs-sm);
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--grey-200);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-sm);
    color: var(--white);
    font-family: var(--font);
    font-size: var(--fs-md);
    transition: var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--grey-600);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px rgba(97, 0, 214, 0.15);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23979898' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-group select option {
    background: var(--primary);
    color: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-info-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(97, 0, 214, 0.1);
    border-radius: 12px;
    color: var(--accent-purple);
}

.contact-info-card h4 {
    font-size: var(--fs-md);
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-info-card p {
    font-size: var(--fs-sm);
    color: var(--grey-400);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--grey-400);
    transition: var(--transition);
}

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

/* ════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════ */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: var(--fs-xl);
    margin-bottom: 16px;
}

.footer-logo-img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.footer-brand p {
    color: var(--grey-400);
    font-size: var(--fs-sm);
    line-height: 1.7;
    max-width: 300px;
}

.footer-links-group h4 {
    font-size: var(--fs-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--grey-200);
    margin-bottom: 20px;
}

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

.footer-links-group a {
    font-size: var(--fs-sm);
    color: var(--grey-400);
}

.footer-links-group a:hover {
    color: var(--white);
    transform: translateX(4px);
    display: inline-block;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-bottom p {
    font-size: var(--fs-sm);
    color: var(--grey-600);
}

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

.footer-social a {
    color: var(--grey-600);
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--white);
    transform: translateY(-2px);
}

/* ════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ════════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
    :root {
        --fs-6xl: 3.5rem;
        --fs-5xl: 2.5rem;
        --fs-4xl: 2rem;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 140px 24px 80px;
    }

    .hero-content {
        max-width: 600px;
    }

    .hero-subtitle {
        max-width: 100%;
    }

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

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

    .phone-mockup {
        width: 240px;
        height: 460px;
    }

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

    .business-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

    .testimonial-card {
        min-width: calc(50% - 12px);
    }

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

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

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

    .download-card {
        flex-direction: column;
        text-align: center;
        padding: 48px 36px;
    }

    .download-content .section-title {
        text-align: center;
    }

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

/* Mobile */
@media (max-width: 768px) {
    :root {
        --fs-6xl: 2.5rem;
        --fs-5xl: 2rem;
        --fs-4xl: 1.75rem;
        --fs-3xl: 1.5rem;
        --section-padding: 80px 0;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 16, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        z-index: 100;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: var(--fs-xl);
    }

    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 120px 20px 60px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .hero-stat-divider {
        width: 40px;
        height: 1px;
    }

    .phone-mockup {
        width: 200px;
        height: 380px;
        border-radius: 30px;
    }

    .phone-screen {
        border-radius: 22px;
    }

    .hero-scroll-indicator {
        display: none;
    }

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

    .timeline-line {
        left: 20px;
    }

    .step-number {
        width: 42px;
        height: 42px;
        font-size: var(--fs-sm);
    }

    .step-card {
        flex-direction: column;
        padding: 20px;
    }

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

    .testimonial-card {
        min-width: 100%;
    }

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

    .download-card {
        padding: 36px 24px;
    }

    .download-logo {
        width: 140px;
        height: 140px;
    }

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

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

    .section-header {
        margin-bottom: 48px;
    }

    .carousel-controls {
        margin-top: 24px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    :root {
        --fs-6xl: 2rem;
        --fs-4xl: 1.5rem;
    }

    .container {
        padding: 0 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        justify-content: center;
    }

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

    .download-buttons {
        flex-direction: column;
    }
}

/* ─── Custom Scrollbar ─── */
::-webkit-scrollbar {
    width: 6px;
}

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

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

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

/* ─── Selection Color ─── */
::selection {
    background: rgba(97, 0, 214, 0.3);
    color: var(--white);
}

/* ════════════════════════════════════════════════════════
   ARABIC FONT & RTL SUPPORT
   ════════════════════════════════════════════════════════ */
html[lang="ar"] {
    --font: 'Noto Sans Arabic', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html[dir="rtl"] .timeline-line {
    left: auto;
    right: 32px;
}

html[dir="rtl"] .business-step:hover {
    transform: translateX(-8px);
}

html[dir="rtl"] .download-content .section-title {
    text-align: right;
}

html[dir="rtl"] .footer-links-group a:hover {
    transform: translateX(-4px);
}

html[dir="rtl"] .form-group select {
    background-position: left 16px center;
}

@media (max-width: 768px) {
    html[dir="rtl"] .timeline-line {
        right: 20px;
    }
}

/* ════════════════════════════════════════════════════════
   NAV CONTROLS (Theme Toggle + Language)
   ════════════════════════════════════════════════════════ */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 101;
}

.theme-toggle {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    padding: 3px;
    gap: 2px;
}

.theme-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--grey-400);
    cursor: pointer;
    transition: var(--transition);
}

.theme-btn:hover {
    color: var(--white);
}

.theme-btn.active {
    background: var(--gradient-purple-orange);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(97, 0, 214, 0.3);
}

.lang-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    background: transparent;
    color: var(--grey-200);
    font-weight: 700;
    font-size: var(--fs-sm);
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font);
    letter-spacing: 0.5px;
}

.lang-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .nav-controls {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1001;
        background: rgba(10, 10, 16, 0.9);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 100px;
        padding: 8px 16px;
        gap: 8px;
    }

    .nav-cta {
        display: none !important;
    }
}

/* ════════════════════════════════════════════════════════
   LIGHT THEME
   ════════════════════════════════════════════════════════ */
[data-theme="light"] {
    --primary-dark: #F5F5F7;
    --primary: #FFFFFF;
    --primary-light: #E8E8ED;
    --white: #1a1a1a;
    --grey-100: #2A2C2D;
    --grey-200: #333333;
    --grey-400: #666666;
    --grey-600: #999999;
    --grey-800: #E0E0E0;
    --black: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] body {
    background: var(--primary-dark);
    color: var(--white);
}

[data-theme="light"] .navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .glass-card {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .glass-card:hover {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .phone-mockup {
    background: linear-gradient(145deg, #e0e0e8, #f0f0f5);
    box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .hero-glow {
    background: radial-gradient(circle, rgba(97, 0, 214, 0.06) 0%, transparent 70%);
}

[data-theme="light"] .theme-toggle {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .theme-btn {
    color: #888;
}

[data-theme="light"] .theme-btn:hover {
    color: #333;
}

[data-theme="light"] .lang-toggle {
    border-color: rgba(0, 0, 0, 0.15);
    color: #333;
}

[data-theme="light"] .lang-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .hamburger span {
    background: #333;
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select,
[data-theme="light"] .form-group textarea {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #333;
}

[data-theme="light"] .form-group input::placeholder,
[data-theme="light"] .form-group textarea::placeholder {
    color: #999;
}

[data-theme="light"] .form-group select option {
    background: #fff;
    color: #333;
}

[data-theme="light"] .store-btn {
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #333;
}

[data-theme="light"] .store-btn:hover {
    background: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .social-link {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: #666;
}

[data-theme="light"] .carousel-btn {
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(0, 0, 0, 0.03);
    color: #333;
}

[data-theme="light"] .carousel-dot {
    background: rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .stat-bar {
    background: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .business-step {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .business-step:hover {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(240, 89, 36, 0.2);
}

[data-theme="light"] .feature-icon-wrapper {
    background: rgba(97, 0, 214, 0.06);
    border: 1px solid rgba(97, 0, 214, 0.1);
}

[data-theme="light"] .section-tag {
    background: rgba(97, 0, 214, 0.06);
    border: 1px solid rgba(97, 0, 214, 0.15);
}

[data-theme="light"] .hero-badge {
    background: rgba(97, 0, 214, 0.05);
    border-color: rgba(97, 0, 214, 0.12);
}

[data-theme="light"] .footer {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .download-card {
    background: linear-gradient(135deg, rgba(97, 0, 214, 0.05), rgba(240, 89, 36, 0.04));
    border: 1px solid rgba(97, 0, 214, 0.1);
}

[data-theme="light"] .contact-info-icon {
    background: rgba(97, 0, 214, 0.06);
}

[data-theme="light"] .nav-links a {
    color: #666;
}

[data-theme="light"] .nav-links a:hover,
[data-theme="light"] .nav-links a.active {
    color: #1a1a1a;
}

[data-theme="light"] ::-webkit-scrollbar-track {
    background: var(--primary-dark);
}

[data-theme="light"] ::-webkit-scrollbar-thumb {
    background: #ccc;
}

[data-theme="light"] ::selection {
    background: rgba(97, 0, 214, 0.15);
    color: #1a1a1a;
}

[data-theme="light"] .hero-stat-divider {
    background: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .testimonial-text {
    color: #444;
}

@media (max-width: 768px) {
    [data-theme="light"] .nav-links {
        background: rgba(255, 255, 255, 0.97);
    }

    [data-theme="light"] .nav-links a {
        color: #444;
    }

    [data-theme="light"] .nav-controls {
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid rgba(0, 0, 0, 0.08);
    }
}

/* ─── Smooth theme transition ─── */
body,
.navbar,
.glass-card,
.phone-mockup,
.theme-toggle,
.lang-toggle,
.form-group input,
.form-group select,
.form-group textarea,
.store-btn,
.social-link,
.carousel-btn,
.business-step,
.feature-icon-wrapper,
.section-tag,
.hero-badge,
.footer,
.download-card {
    transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
