/* ========================================
   DentistHub Landing Page - Styles
   Dark/Light + LTR/RTL
   ======================================== */

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

/* ---------- Dark Theme (default) ---------- */
:root,
[data-theme="dark"] {
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --primary-glow: rgba(99, 102, 241, 0.3);
    --accent: #06b6d4;
    --accent-light: #22d3ee;
    --bg: #0a0a0f;
    --bg-card: #111118;
    --bg-card-hover: #16161f;
    --bg-elevated: #1a1a24;
    --surface: #1e1e2a;
    --border: rgba(255, 255, 255, 0.06);
    --border-light: rgba(255, 255, 255, 0.1);
    --text: #f1f1f4;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --white: #ffffff;
    --black: #000000;
    --gradient-primary: linear-gradient(135deg, #6366f1, #06b6d4);
    --gradient-bg: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(6, 182, 212, 0.08));
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.15);
    --phone-bg: #1a1a24;
    --store-btn-bg: #ffffff;
    --store-btn-color: #0a0a0f;
}

/* ---------- Light Theme ---------- */
[data-theme="light"] {
    --bg: #f8f9fc;
    --bg-card: #ffffff;
    --bg-card-hover: #f3f4f8;
    --bg-elevated: #ffffff;
    --surface: #eef0f5;
    --border: rgba(0, 0, 0, 0.06);
    --border-light: rgba(0, 0, 0, 0.1);
    --text: #1a1a2e;
    --text-secondary: #5a5f72;
    --text-muted: #8b8fa3;
    --white: #1a1a2e;
    --black: #ffffff;
    --gradient-bg: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(6, 182, 212, 0.04));
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.1);
    --phone-bg: #e8eaf0;
    --store-btn-bg: #1a1a2e;
    --store-btn-color: #ffffff;
}

/* ---------- Common Variables ---------- */
:root {
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background 0.4s, color 0.4s;
}

/* Arabic Font - Cairo only for all RTL content */
[dir="rtl"] body,
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4, [dir="rtl"] h5, [dir="rtl"] h6,
[dir="rtl"] p, [dir="rtl"] a, [dir="rtl"] span, [dir="rtl"] li, [dir="rtl"] button,
[dir="rtl"] input, [dir="rtl"] textarea,
[dir="rtl"] .hero-title,
[dir="rtl"] .section-title,
[dir="rtl"] .section-tag,
[dir="rtl"] .section-subtitle,
[dir="rtl"] .nav-logo span,
[dir="rtl"] .nav-link,
[dir="rtl"] .footer-logo span,
[dir="rtl"] .preloader-text,
[dir="rtl"] .btn,
[dir="rtl"] .metric-number,
[dir="rtl"] .metric-suffix,
[dir="rtl"] .stat-number,
[dir="rtl"] .stat-number-decimal,
[dir="rtl"] .stat-suffix,
[dir="rtl"] .pc-amount,
[dir="rtl"] .step-card__badge,
[dir="rtl"] .step-card__title,
[dir="rtl"] .lang-label {
    font-family: 'Cairo', sans-serif !important;
}

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

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

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

/* ---------- Preloader ---------- */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-inner { text-align: center; }

.preloader-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.tooth-icon {
    color: var(--primary);
    animation: toothPulse 2s ease-in-out infinite;
}

@keyframes toothPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.08); opacity: 1; }
}

.preloader-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: var(--surface);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin: 0 auto 12px;
}

.preloader-progress {
    width: 0%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: width 0.1s linear;
}

.preloader-percent {
    font-size: 13px;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

/* ---------- Cursor ---------- */
.cursor-follower,
.cursor-dot {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    border-radius: 50%;
    display: none;
}

@media (hover: hover) and (pointer: fine) {
    .cursor-follower, .cursor-dot { display: block; }
}

.cursor-follower {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(99, 102, 241, 0.4);
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s;
}

.cursor-follower.hovering {
    width: 56px;
    height: 56px;
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.08);
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    transform: translate(-50%, -50%);
}

/* ---------- Navigation ---------- */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

#navbar.scrolled {
    padding: 10px 0;
    background: color-mix(in srgb, var(--bg) 85%, transparent);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 20px;
    flex-shrink: 0;
}

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

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

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

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

[dir="rtl"] .nav-link::after {
    left: auto;
    right: 0;
}

.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Toggle Buttons */
.toggle-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.toggle-btn:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
    color: var(--primary);
}

.lang-toggle {
    width: auto;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 600;
    gap: 4px;
}

.lang-label { font-family: 'Cairo', sans-serif; }

/* Theme icon visibility */
[data-theme="dark"] .theme-icon-dark { display: block; }
[data-theme="dark"] .theme-icon-light { display: none; }
[data-theme="light"] .theme-icon-dark { display: none; }
[data-theme="light"] .theme-icon-light { display: block; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: color-mix(in srgb, var(--bg) 95%, transparent);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.mobile-menu.active { opacity: 1; pointer-events: auto; }

.mobile-menu-links {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-link {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
}

.mobile-link:hover { color: var(--white); }

.mobile-menu-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
}

.mobile-menu-controls .toggle-btn {
    width: auto;
    padding: 0 16px;
    gap: 8px;
}

.mobile-menu-controls .toggle-btn span {
    font-size: 14px;
}

.mobile-menu-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

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

.btn-outline:hover {
    background: rgba(99, 102, 241, 0.06);
    border-color: var(--primary-light);
    color: var(--white);
}

.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { color: var(--white); }

.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 16px 32px; font-size: 16px; border-radius: var(--radius-lg); }
.btn-full { width: 100%; }

/* ---------- Hero Section ---------- */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.orb-1 { width: 600px; height: 600px; background: rgba(99, 102, 241, 0.15); top: -200px; right: -100px; }
.orb-2 { width: 400px; height: 400px; background: rgba(6, 182, 212, 0.1); bottom: -100px; left: -100px; }
.orb-3 { width: 300px; height: 300px; background: rgba(99, 102, 241, 0.08); top: 50%; left: 50%; transform: translate(-50%, -50%); }

[dir="rtl"] .orb-1 { right: auto; left: -100px; }
[dir="rtl"] .orb-2 { left: auto; right: -100px; }

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: 24px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(40px, 5.5vw, 68px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

[dir="rtl"] .hero-title { letter-spacing: 0; line-height: 1.3; }

.title-line { display: block; overflow: hidden; }

.title-gradient,
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 36px;
}

[dir="rtl"] .hero-description { line-height: 1.9; }

.hero-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.play-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition);
}

.btn-ghost:hover .play-circle {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-light);
}

.hero-metrics {
    display: flex;
    align-items: center;
    gap: 24px;
}

.metric { text-align: center; }

.metric-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    display: inline;
}

.metric-suffix {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.metric-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 2px;
}

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

/* Hero Visual / Phone Mockup */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup { position: relative; }

.phone-frame {
    width: 280px;
    height: 580px;
    background: var(--phone-bg);
    border-radius: 40px;
    border: 2px solid var(--border-light);
    padding: 12px;
    position: relative;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.phone-frame.small {
    width: 220px;
    height: 440px;
    border-radius: 32px;
}

.phone-notch {
    width: 120px;
    height: 28px;
    background: var(--phone-bg);
    border-radius: 0 0 16px 16px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

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

.phone-frame.small .phone-screen { border-radius: 24px; }

.phone-glow {
    position: absolute;
    inset: -40px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    z-index: -1;
}

/* App Preview Inside Phone */
.app-preview {
    padding: 40px 16px 16px;
    height: 100%;
}

.app-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.app-greeting { font-size: 13px; font-weight: 600; color: var(--white); }

.app-icons { display: flex; gap: 12px; color: var(--text-secondary); font-size: 16px; }

.app-search-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--surface);
    border-radius: var(--radius);
    margin-bottom: 16px;
    font-size: 12px;
    color: var(--text-muted);
}

.app-categories { display: flex; gap: 8px; margin-bottom: 16px; overflow: hidden; }

.app-cat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    background: var(--surface);
    border-radius: var(--radius-sm);
    font-size: 9px;
    color: var(--text-muted);
    min-width: 52px;
}

.app-cat.active { background: rgba(99, 102, 241, 0.15); color: var(--primary-light); }
.app-cat i { font-size: 16px; }

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

.app-product-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 12px;
    text-align: center;
}

.product-img-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: rgba(99, 102, 241, 0.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary-light);
    margin-bottom: 8px;
}

.product-name { display: block; font-size: 10px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.product-price { font-size: 10px; color: var(--primary-light); font-weight: 700; }

/* Floating Cards */
.floating-card {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    z-index: 3;
}

.floating-card i { font-size: 20px; color: var(--primary); }
.fc-title { display: block; font-size: 13px; font-weight: 600; color: var(--white); }
.fc-sub { display: block; font-size: 11px; color: var(--text-muted); }

.card-1 { top: 10%; right: -20px; }
.card-2 { bottom: 25%; left: -30px; }
.card-3 { bottom: 8%; right: -10px; }

[dir="rtl"] .card-1 { right: auto; left: -20px; }
[dir="rtl"] .card-2 { left: auto; right: -30px; }
[dir="rtl"] .card-3 { right: auto; left: -10px; }

.fc-avatar-stack { display: flex; }

.fc-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    border: 2px solid var(--bg-card);
    margin-left: -8px;
}

.fc-avatar:first-child { margin-left: 0; }

[dir="rtl"] .fc-avatar { margin-left: 0; margin-right: -8px; }
[dir="rtl"] .fc-avatar:first-child { margin-right: 0; }

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

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.mouse-wheel {
    width: 3px;
    height: 8px;
    background: var(--primary);
    border-radius: var(--radius-full);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(12px); }
}

.scroll-indicator span {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---------- Marquee Section ---------- */
.marquee-section {
    padding: 32px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 40px;
    padding-right: 40px;
}

[dir="rtl"] .marquee-content { padding-right: 0; padding-left: 40px; }

.marquee-item {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
    opacity: 0.5;
}

.marquee-dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.4;
    flex-shrink: 0;
}

/* ---------- Section Headers ---------- */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-light);
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

[dir="rtl"] .section-title { letter-spacing: 0; line-height: 1.4; }

.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

[dir="rtl"] .section-subtitle { line-height: 1.9; }

/* ---------- Features Section ---------- */
#features { padding: 120px 0; }

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

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

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-bg);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: rgba(99, 102, 241, 0.2);
    transform: translateY(-4px);
}

.feature-card:hover::before { opacity: 1; }
.feature-card > * { position: relative; z-index: 1; }

.feature-large {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.feature-icon-wrap { margin-bottom: 20px; }

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background: rgba(99, 102, 241, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary);
}

.feature-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--white);
}

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

/* Feature Visual - Catalog Preview */
.catalog-preview { display: flex; flex-direction: column; gap: 10px; }

.catalog-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.ci-img {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(99, 102, 241, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

.ci-info { flex: 1; }
.ci-info span:first-child { display: block; font-size: 13px; font-weight: 600; color: var(--text); }
.ci-price { font-size: 12px; color: var(--primary-light); font-weight: 600; }

.ci-btn {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background: var(--gradient-primary);
    border: none;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition);
    flex-shrink: 0;
}

.ci-btn:hover { transform: scale(1.1); }

/* Feature Mini Visuals */
.feature-mini-visual { margin-top: 20px; }

/* Delivery Track */
.delivery-track {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 8px;
}

.delivery-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--surface);
    border: 2px solid var(--border-light);
    flex-shrink: 0;
    transition: var(--transition);
}

.delivery-dot.active {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.4);
}

.delivery-line {
    flex: 1;
    height: 2px;
    background: var(--border-light);
}

.delivery-labels {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: var(--text-muted);
}

/* Payment Methods */
.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.payment-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
}

.payment-chip i { color: var(--primary); font-size: 14px; }

/* Loyalty Preview */
.loyalty-preview { }

.loyalty-bar {
    height: 8px;
    background: var(--surface);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 8px;
}

.loyalty-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: width 1s ease;
}

.loyalty-info {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-secondary);
}

.loyalty-info span:first-child { font-weight: 700; color: var(--primary-light); }
.loyalty-next { font-size: 11px; color: var(--text-muted); }

/* Chat Preview */
.chat-preview {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chat-bubble {
    padding: 8px 14px;
    border-radius: 14px;
    font-size: 12px;
    max-width: 85%;
    line-height: 1.5;
}

.chat-incoming {
    background: var(--surface);
    color: var(--text-secondary);
    border-bottom-left-radius: 4px;
    align-self: flex-start;
}

.chat-outgoing {
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary-light);
    border-bottom-right-radius: 4px;
    align-self: flex-end;
}

[dir="rtl"] .chat-incoming {
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 4px;
    align-self: flex-end;
}

[dir="rtl"] .chat-outgoing {
    border-bottom-right-radius: 14px;
    border-bottom-left-radius: 4px;
    align-self: flex-start;
}

/* Mini Chart */
.mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 60px;
}

.chart-bar {
    flex: 1;
    background: var(--surface);
    border-radius: 4px 4px 0 0;
    transition: var(--transition);
}

.chart-bar.active { background: var(--gradient-primary); }
.chart-bar:hover { background: rgba(99, 102, 241, 0.3); }

/* ---------- Products Section ---------- */
#products {
    padding: 120px 0;
    background: linear-gradient(180deg, transparent, rgba(99, 102, 241, 0.02), transparent);
}

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

.product-category-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.product-category-card:hover {
    border-color: rgba(99, 102, 241, 0.2);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.pcc-image {
    height: 160px;
    background: var(--gradient-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--primary);
}

.pcc-content { padding: 24px; }

.pcc-count {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pcc-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin: 8px 0;
}

.pcc-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.pcc-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-light);
}

.pcc-link:hover { gap: 10px; color: var(--white); }

[dir="rtl"] .pcc-link i { transform: scaleX(-1); }

/* ---------- Stats Section ---------- */
#stats { padding: 100px 0; position: relative; overflow: hidden; }

.stats-bg { position: absolute; inset: 0; }
.stats-gradient { position: absolute; inset: 0; background: var(--gradient-bg); }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
    z-index: 1;
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.stat-card:hover { border-color: rgba(99, 102, 241, 0.2); transform: translateY(-4px); }

.stat-icon { font-size: 28px; color: var(--primary); margin-bottom: 16px; }

.stat-number,
.stat-number-decimal {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    display: inline;
}

.stat-suffix {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}

.stat-label { font-size: 14px; color: var(--text-secondary); margin-top: 8px; }

/* ---------- How It Works ---------- */
#how-it-works {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

/* Decorative background orbs */
.hiw-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    opacity: 0.35;
}
.hiw-bg-orb--1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--primary), transparent 70%);
    top: -100px; left: -150px;
}
.hiw-bg-orb--2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, var(--accent), transparent 70%);
    bottom: -80px; right: -100px;
}

.steps-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 0;
    position: relative;
}

/* ---- Step Card ---- */
.step-card {
    position: relative;
    text-align: center;
    padding: 48px 28px 40px;
    border-radius: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(16px);
    transition: transform 0.4s cubic-bezier(.4,0,.2,1), box-shadow 0.4s cubic-bezier(.4,0,.2,1), border-color 0.4s ease;
    overflow: hidden;
}
.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.15), 0 0 0 1px rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.3);
}

/* Card hover glow */
.step-card__glow {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.08), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.step-card:hover .step-card__glow { opacity: 1; }

/* Badge (step number) */
.step-card__badge {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: var(--gradient-primary);
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}
[dir="rtl"] .step-card__badge { right: auto; left: 16px; }

/* Icon ring */
.step-card__icon-ring {
    width: 96px;
    height: 96px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(6, 182, 212, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.step-card__icon-ring::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--primary), var(--accent), var(--primary));
    mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
    opacity: 0.5;
    transition: opacity 0.4s ease;
}
.step-card:hover .step-card__icon-ring::before { opacity: 1; }
.step-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #fff;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.25);
}

.step-card__title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.step-card__desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 280px;
    margin: 0 auto;
}

/* ---- Connector between steps ---- */
.step-connector {
    position: relative;
    width: 80px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 8px;
}
.step-connector__svg {
    width: 100%;
    height: 100%;
}
.step-connector__path {
    stroke: var(--primary-light);
    opacity: 0.5;
}
.step-connector__dot {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.6);
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* Light theme adjustments */
[data-theme="light"] .step-card {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}
[data-theme="light"] .step-card:hover {
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.12), 0 4px 24px rgba(0, 0, 0, 0.06);
}
[data-theme="light"] .hiw-bg-orb { opacity: 0.15; }

/* ---------- Testimonials ---------- */
#testimonials {
    padding: 120px 0;
    background: linear-gradient(180deg, transparent, rgba(6, 182, 212, 0.02), transparent);
}

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

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

.testimonial-card:hover { border-color: rgba(99, 102, 241, 0.2); transform: translateY(-4px); }

.tc-stars { display: flex; gap: 2px; color: #fbbf24; font-size: 16px; margin-bottom: 20px; }
[dir="rtl"] .tc-stars { direction: ltr; justify-content: flex-end; }

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

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

.tc-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: #ffffff;
    flex-shrink: 0;
}

.tc-name { display: block; font-size: 14px; font-weight: 600; color: var(--white); }
.tc-role { font-size: 12px; color: var(--text-muted); }

/* ---------- Pricing ---------- */
#pricing { padding: 120px 0; }

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

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px;
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover { border-color: rgba(99, 102, 241, 0.2); transform: translateY(-4px); }

.pricing-popular {
    border-color: rgba(99, 102, 241, 0.3);
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.08), var(--bg-card));
    transform: scale(1.03);
    box-shadow: var(--shadow-glow);
}

.pricing-popular:hover { transform: scale(1.03) translateY(-4px); }

.pc-header { margin-bottom: 24px; }

.pc-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-light);
    padding: 4px 12px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}

.pc-header h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}

.pc-header p { font-size: 13px; color: var(--text-muted); }

.pc-price {
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
}

.pc-amount {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 40px;
    font-weight: 800;
    color: var(--white);
}

.pc-currency { font-size: 16px; font-weight: 600; color: var(--text-secondary); margin-left: 4px; }
[dir="rtl"] .pc-currency { margin-left: 0; margin-right: 4px; }

.pc-period { font-size: 14px; color: var(--text-muted); }

.pc-features {
    list-style: none;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pc-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

.pc-features i { color: var(--primary); font-size: 16px; flex-shrink: 0; }

/* ---------- FAQ Section ---------- */
#faq { padding: 120px 0; }

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

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

.faq-item:hover { border-color: rgba(99, 102, 241, 0.15); }
.faq-item.active { border-color: rgba(99, 102, 241, 0.3); }

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

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

.faq-icon {
    font-size: 20px;
    color: var(--text-muted);
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-item.active .faq-icon { transform: rotate(45deg); color: var(--primary); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s;
    padding: 0 24px;
}

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

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

/* ---------- Contact Section ---------- */
#contact { padding: 120px 0; }

.contact-card {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 60px;
}

.contact-content .section-tag { margin-bottom: 12px; }
.contact-content .section-title { text-align: start; margin-bottom: 12px; }
.contact-content .section-subtitle { text-align: start; margin: 0 0 32px 0; max-width: none; }

.contact-form { display: flex; flex-direction: column; gap: 16px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

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

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

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

.contact-info-card {
    padding: 20px;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.cic-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(99, 102, 241, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 12px;
}

.contact-info-card h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.contact-info-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ---------- Download CTA ---------- */
#download { padding: 120px 0; }

.download-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 80px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.download-bg { position: absolute; inset: 0; }

.download-orb { position: absolute; border-radius: 50%; filter: blur(80px); }
.orb-a { width: 400px; height: 400px; background: rgba(99, 102, 241, 0.12); top: -100px; right: -100px; }
.orb-b { width: 300px; height: 300px; background: rgba(6, 182, 212, 0.08); bottom: -100px; left: -50px; }

[dir="rtl"] .orb-a { right: auto; left: -100px; }
[dir="rtl"] .orb-b { left: auto; right: -50px; }

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

.download-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--white);
}

.download-content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 440px;
}

.download-buttons { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }

.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    background: var(--store-btn-bg);
    color: var(--store-btn-color);
    border-radius: var(--radius);
    transition: var(--transition);
}

.store-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.store-btn i { font-size: 28px; }
.store-sub { display: block; font-size: 10px; opacity: 0.7; }
.store-name { display: block; font-size: 16px; font-weight: 700; }

.download-qr { display: flex; align-items: center; gap: 12px; }

.qr-placeholder {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--text-muted);
}

.download-qr span { font-size: 13px; color: var(--text-muted); }

.download-visual { display: flex; justify-content: center; position: relative; z-index: 1; }

.download-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
}

.dp-icon { margin-bottom: 16px; }
.dp-name { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.dp-tagline { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 16px; }
.dp-rating { display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; color: #fbbf24; }

/* ---------- Footer ---------- */
#footer {
    padding: 80px 0 0;
    border-top: 1px solid var(--border);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--white);
    margin-bottom: 16px;
}

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

.footer-brand p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 300px;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-social a:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
    color: var(--primary);
}

.footer-links-group h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-links-group a { font-size: 14px; color: var(--text-secondary); }
.footer-links-group a:hover { color: var(--white); }

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p { font-size: 13px; color: var(--text-muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-description { margin: 0 auto 36px; }
    .hero-cta { justify-content: center; }
    .hero-metrics { justify-content: center; }
    .hero-visual { display: none; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-large { grid-column: 1 / -1; grid-template-columns: 1fr; }
    .products-showcase { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-container { grid-template-columns: 1fr; gap: 24px; }
    .step-connector { width: 20px; height: 60px; margin: 0 auto; transform: rotate(90deg); }
    .step-card { max-width: 400px; margin: 0 auto; width: 100%; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .pricing-popular { transform: none; }
    .pricing-popular:hover { transform: translateY(-4px); }
    .download-card { grid-template-columns: 1fr; padding: 48px; text-align: center; }
    .download-content p { margin: 0 auto 32px; }
    .download-buttons { justify-content: center; }
    .download-qr { justify-content: center; }
    .download-visual { display: none; }
    .contact-card { grid-template-columns: 1fr; padding: 40px; }
    .contact-content .section-title { text-align: center; }
    .contact-content .section-subtitle { text-align: center; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions { display: none; }
    .nav-toggle { display: flex; }
    .hero-title { font-size: clamp(32px, 8vw, 48px); }
    .features-grid { grid-template-columns: 1fr; }
    .products-showcase { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .stat-card { padding: 24px 16px; }
    .stat-number, .stat-number-decimal { font-size: 36px; }
    .download-card { padding: 32px 24px; }
    .contact-card { padding: 32px 24px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
    .hero-cta { flex-direction: column; align-items: stretch; }
    .hero-metrics { flex-direction: column; gap: 16px; }
    .metric-divider { width: 40px; height: 1px; }
    .download-buttons { flex-direction: column; align-items: center; }
    .store-btn { width: 100%; justify-content: center; }
}
