/* ===== UNBAND.SHOP - Premium Design System v2.0 ===== */
/* Complete Redesign with Better Mobile Support */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    /* Premium Color Palette */
    --primary: #7c3aed;
    --primary-light: #a78bfa;
    --primary-dark: #5b21b6;
    --accent: #ec4899;
    --accent-light: #f472b6;
    
    /* Backgrounds */
    --bg-dark: #030014;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --bg-glass: rgba(255, 255, 255, 0.04);
    
    /* Borders */
    --border: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.12);
    --border-glow: rgba(124, 58, 237, 0.4);
    
    /* Text */
    --text: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.75);
    --text-muted: rgba(255, 255, 255, 0.45);
    
    /* Status Colors */
    --success: #10b981;
    --success-light: #34d399;
    --warning: #f59e0b;
    --danger: #ef4444;
    
    /* Effects */
    --glow-primary: rgba(124, 58, 237, 0.5);
    --glow-accent: rgba(236, 72, 153, 0.4);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    
    /* Fonts */
    --font-en: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-ar: 'Tajawal', 'Inter', sans-serif;
    
    /* Spacing */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 28px;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-en);
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html[dir="rtl"] body { font-family: var(--font-ar); }

/* ===== Premium Background Effects ===== */
.bg-main {
    position: fixed;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(124, 58, 237, 0.18), transparent),
        radial-gradient(ellipse 60% 40% at 100% 50%, rgba(236, 72, 153, 0.12), transparent),
        radial-gradient(ellipse 60% 40% at 0% 80%, rgba(124, 58, 237, 0.12), transparent),
        linear-gradient(180deg, #030014 0%, #0a0020 50%, #030014 100%);
    z-index: -10;
}

.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -5;
    pointer-events: none;
    opacity: 0.5;
}

.bg-glow-1 {
    width: min(600px, 80vw); height: min(600px, 80vw);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    top: -20%; right: -10%;
    animation: glowPulse1 20s ease-in-out infinite;
}

.bg-glow-2 {
    width: min(500px, 70vw); height: min(500px, 70vw);
    background: linear-gradient(135deg, var(--accent), var(--primary));
    bottom: -15%; left: -10%;
    animation: glowPulse2 25s ease-in-out infinite;
}

.bg-glow-3 {
    width: min(300px, 50vw); height: min(300px, 50vw);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    top: 50%; left: 40%;
    animation: glowPulse3 18s ease-in-out infinite;
}

@keyframes glowPulse1 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
    50% { transform: translate(-50px, 40px) scale(1.15); opacity: 0.6; }
}

@keyframes glowPulse2 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.35; }
    50% { transform: translate(40px, -30px) scale(1.1); opacity: 0.5; }
}

@keyframes glowPulse3 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.25; }
    50% { transform: translate(-30px, 30px) scale(1.08); opacity: 0.4; }
}

/* Floating Shapes */
.floating-shapes {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -3;
    overflow: hidden;
}

.shape {
    position: absolute;
    border: 1px solid rgba(124, 58, 237, 0.1);
    animation: shapeFloat 30s ease-in-out infinite;
}

.shape-1 {
    width: min(250px, 40vw); height: min(250px, 40vw);
    top: 10%; left: 5%;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.04), transparent);
}

.shape-2 {
    width: min(180px, 30vw); height: min(180px, 30vw);
    top: 55%; right: 5%;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.04), transparent);
    animation-delay: -10s;
}

.shape-3 {
    width: min(120px, 25vw); height: min(120px, 25vw);
    bottom: 15%; left: 20%;
    border-radius: 40% 60% 60% 40% / 60% 40% 40% 60%;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.03), transparent);
    animation-delay: -20s;
}

@keyframes shapeFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(15px, -20px) rotate(3deg); }
    50% { transform: translate(-10px, 15px) rotate(-2deg); }
    75% { transform: translate(18px, 10px) rotate(2deg); }
}

.grid-pattern {
    position: fixed;
    inset: 0;
    z-index: -6;
    pointer-events: none;
    background-image: 
        linear-gradient(rgba(124, 58, 237, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 58, 237, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent);
}

/* ===== Animations ===== */
.animate-fade-in {
    opacity: 0;
    transform: translateY(25px);
    animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ===== Premium Navbar - Mobile First ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0.75rem 1rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {
    top: 8px;
    left: 8px;
    right: 8px;
    padding: 0.6rem 1rem;
    background: rgba(3, 0, 20, 0.6);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

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

html[dir="rtl"] .nav-container {
    flex-direction: row-reverse;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 800;
    font-size: 1.1rem;
    text-decoration: none;
    color: var(--text);
    letter-spacing: -0.02em;
    flex-shrink: 0;
    order: 0;
}

html[dir="rtl"] .logo {
    font-size: 1.1rem;
    font-family: var(--font-en);
    order: 0;
    flex-direction: row-reverse;
}

html[dir="rtl"] .logo-icon {
    order: -1;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px var(--glow-primary);
}

.logo-icon svg { width: 20px; height: 20px; color: white; }

/* Mobile Menu */
.nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 8px;
    right: 8px;
    background: rgba(3, 0, 20, 0.98);
    backdrop-filter: blur(25px);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 0.75rem;
    gap: 0.25rem;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

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

.nav-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.1rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--radius-lg);
    transition: all 0.25s ease;
}

.nav-links a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.nav-links a.active {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.18), rgba(236, 72, 153, 0.12));
    border: 1px solid rgba(124, 58, 237, 0.25);
    color: var(--primary-light);
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    padding: 10px;
    transition: all 0.3s ease;
}

.menu-toggle:hover { background: rgba(255, 255, 255, 0.1); }

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.lang-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
}

.lang-toggle svg { width: 16px; height: 16px; }

/* Desktop Navbar */
@media (min-width: 768px) {
    .navbar { padding: 1rem 1.5rem; }
    
    .navbar.scrolled {
        top: 12px;
        left: 20px;
        right: 20px;
        padding: 0.7rem 1.25rem;
    }
    
    .menu-toggle { display: none; }
    
    .nav-links {
        display: flex;
        flex-direction: row;
        position: static;
        background: none;
        border: none;
        padding: 0;
        gap: 0.25rem;
        box-shadow: none;
        max-height: none;
        overflow: visible;
    }
    
    .nav-links a {
        padding: 0.5rem 0.9rem;
        font-size: 0.88rem;
    }
    
    .logo { font-size: 1.2rem; }
    html[dir="rtl"] .logo { font-size: 1.2rem; }
    .logo-icon { width: 40px; height: 40px; }
    .logo-icon svg { width: 22px; height: 22px; }
}

/* ===== Hero Section - Mobile First ===== */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 1rem 2rem;
    position: relative;
}

.hero-content {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.hero-text { 
    text-align: center;
    width: 100%;
    max-width: 550px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.9rem;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.18), rgba(236, 72, 153, 0.12));
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.hero-badge .instagram-icon {
    width: 16px;
    height: 16px;
    color: #E1306C;
}

.badge-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: badgeShine 4s ease-in-out infinite;
}

@keyframes badgeShine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.hero-text h1 {
    font-size: clamp(2rem, 8vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

html[dir="rtl"] .hero-text h1 {
    font-size: clamp(1.8rem, 7vw, 3rem);
    line-height: 1.25;
}

.highlight {
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero-subtitle {
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

html[dir="rtl"] .hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.05rem);
    line-height: 1.8;
}

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

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

/* Premium CTA Button */
.hero-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 4px 25px var(--glow-primary);
    overflow: hidden;
    text-decoration: none;
    width: 100%;
    max-width: 280px;
}

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

.hero-cta:hover::before { left: 100%; }

.hero-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.15) inset,
        0 8px 40px var(--glow-primary);
}

.hero-cta:active { transform: translateY(-1px) scale(1); }

.hero-cta svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.hero-cta:hover svg { transform: translateX(3px); }
html[dir="rtl"] .hero-cta:hover svg { transform: translateX(-3px); }

.hero-cta.large {
    padding: 1.1rem 2.5rem;
    font-size: 1.05rem;
}

/* Guarantee Badge */
.guarantee-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.1rem;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--success-light);
}

.guarantee-badge svg { width: 18px; height: 18px; }

/* Desktop Hero */
@media (min-width: 900px) {
    .hero { padding: 7rem 2rem 4rem; }
    
    .hero-content {
        flex-direction: row;
        gap: 4rem;
    }
    
    .hero-text { 
        text-align: left;
        flex: 1;
    }
    
    html[dir="rtl"] .hero-text { text-align: right; }
    
    .hero-actions {
        flex-direction: row;
        justify-content: flex-start;
        width: auto;
    }
    
    html[dir="rtl"] .hero-actions { justify-content: flex-end; }
    
    .hero-cta {
        width: auto;
        max-width: none;
    }
    
    .hero-visual { flex: 1; }
}

/* ===== Premium Phone Mockup ===== */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.phone-mockup { 
    position: relative;
    perspective: 1200px;
}

.phone-frame {
    width: min(220px, 60vw);
    height: min(440px, 120vw);
    background: linear-gradient(145deg, #1f1f35, #12121f);
    border-radius: 32px;
    padding: 6px;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset,
        0 0 80px rgba(124, 58, 237, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: phoneFloat 10s ease-in-out infinite;
    transform-style: preserve-3d;
    position: relative;
}

/* Subtle glass reflection */
.phone-frame::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 50%;
    bottom: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 60%);
    border-radius: 28px 0 0 0;
    pointer-events: none;
    z-index: 5;
}

@keyframes phoneFloat {
    0%, 100% { transform: translateY(0) rotateX(2deg) rotateY(-2deg); }
    50% { transform: translateY(-15px) rotateX(-2deg) rotateY(2deg); }
}

.phone-notch {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 22px;
    background: #0a0a14;
    border-radius: 0 0 12px 12px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #0a0014 0%, #120020 50%, #0a0014 100%);
    border-radius: 28px;
    overflow: hidden;
    position: relative;
}

.phone-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.3), transparent 70%);
    filter: blur(40px);
    z-index: 0;
}

.app-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 2rem 1rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.app-logo {
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-logo svg { width: 12px; height: 12px; color: white; }

.app-content {
    padding: 1.25rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.success-circle {
    width: 65px;
    height: 65px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.1));
    border: 2px solid rgba(16, 185, 129, 0.35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: successPulse 2.5s ease-in-out infinite;
}

@keyframes successPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(16, 185, 129, 0); }
}

.success-circle svg {
    width: 30px;
    height: 30px;
    color: var(--success-light);
}

.app-title {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.app-subtitle {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.app-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.75rem;
}

.card-row {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    font-size: 0.65rem;
}

.card-row:first-child { border-bottom: 1px solid var(--border); }
.card-row span:first-child { color: var(--text-muted); }

.status-badge {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.1));
    color: var(--success-light);
    padding: 0.15rem 0.5rem;
    border-radius: 50px;
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Floating Elements */
.phone-float {
    position: absolute;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: emojiFloat 4s ease-in-out infinite;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.phone-float svg { width: 18px; height: 18px; }

.float-1 { top: 12%; right: -15px; animation-delay: 0s; }
.float-1 svg { color: var(--success-light); }
.float-2 { top: 45%; left: -18px; animation-delay: -1.3s; }
.float-2 svg { color: var(--primary-light); }
.float-3 { bottom: 18%; right: -12px; animation-delay: -2.6s; }
.float-3 svg { color: #fbbf24; }

@keyframes emojiFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(4deg); }
}

/* Desktop Phone */
@media (min-width: 900px) {
    .phone-frame {
        width: 260px;
        height: 520px;
        border-radius: 40px;
        padding: 8px;
    }
    
    .phone-notch {
        width: 90px;
        height: 26px;
        top: 8px;
    }
    
    .phone-screen { border-radius: 34px; }
    
    .phone-float {
        width: 44px;
        height: 44px;
    }
    
    .phone-float svg { width: 20px; height: 20px; }
    
    .float-1 { right: -20px; }
    .float-2 { left: -24px; }
    .float-3 { right: -16px; }
    
    .success-circle { width: 75px; height: 75px; }
    .success-circle svg { width: 34px; height: 34px; }
    .app-title { font-size: 1.1rem; }
    .app-subtitle { font-size: 0.75rem; }
}

/* ===== Features Section ===== */
.features-section {
    padding: 2rem 1rem;
    position: relative;
}

.features-container {
    max-width: 1000px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-tag {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.18), rgba(236, 72, 153, 0.12));
    border: 1px solid rgba(124, 58, 237, 0.25);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header h2 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 900;
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .features-section { padding: 3rem 1.5rem; }
}

/* Premium Steps - Animated Timeline */
.steps-timeline-container {
    position: relative;
    padding: 1.5rem 1rem;
    max-width: 420px;
    margin: 0 auto;
}

.timeline-steps {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2rem; /* Fixed 2rem gap between steps */
}

.timeline-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.timeline-step:last-of-type {
    padding-bottom: 0;
}

/* Step circle */
.step-point {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 800;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

/*
   MOBILE: Line connects circles vertically
   Gap = 2rem (32px), line fills the entire gap
*/
.timeline-step:not(:last-child) .step-point::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    width: 4px;
    height: calc(2rem + 44px);
    border-radius: 4px;
    z-index: -1;
}

/* Animated glow */
.timeline-step:not(:last-child) .step-point::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    width: 4px;
    height: calc(2rem + 44px);
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.9), transparent);
    z-index: 3;
    animation: flowDown 2s ease-in-out infinite;
    border-radius: 4px;
}

@keyframes flowDown {
    0% { clip-path: inset(0 0 100% 0); }
    50% { clip-path: inset(0 0 0 0); }
    100% { clip-path: inset(100% 0 0 0); }
}

/* Line colors - using class selectors */
.timeline-step.step-1 .step-point::after {
    background: linear-gradient(180deg, var(--primary), var(--accent));
}
.timeline-step.step-1 .step-point::before { animation-delay: 0s; }

.timeline-step.step-2 .step-point::after {
    background: linear-gradient(180deg, var(--accent), #f59e0b);
}
.timeline-step.step-2 .step-point::before { animation-delay: 0.3s; }

.timeline-step.step-3 .step-point::after {
    background: linear-gradient(180deg, #f59e0b, var(--success));
}
.timeline-step.step-3 .step-point::before { animation-delay: 0.6s; }

/* Circle colors - using class selectors */
.timeline-step.step-1 .step-point {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}
.timeline-step.step-2 .step-point {
    background: linear-gradient(135deg, var(--accent), #db2777);
    box-shadow: 0 4px 20px rgba(236, 72, 153, 0.4);
}
.timeline-step.step-3 .step-point {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
}
.timeline-step.step-4 .step-point {
    background: linear-gradient(135deg, var(--success), #059669);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
}

/* Animations - using class selectors */
.timeline-step.step-1 { animation: stepIn 0.4s 0.1s both; }
.timeline-step.step-2 { animation: stepIn 0.4s 0.2s both; }
.timeline-step.step-3 { animation: stepIn 0.4s 0.3s both; }
.timeline-step.step-4 { animation: stepIn 0.4s 0.4s both; }

@keyframes stepIn {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

html[dir="rtl"] .timeline-step { animation-name: stepInRTL; }

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

/* Hover - using class selectors */
.timeline-step:hover .step-point {
    transform: scale(1.1);
}
.timeline-step.step-1:hover .step-point {
    box-shadow: 0 6px 30px rgba(124, 58, 237, 0.6);
}
.timeline-step.step-2:hover .step-point {
    box-shadow: 0 6px 30px rgba(236, 72, 153, 0.6);
}
.timeline-step.step-3:hover .step-point {
    box-shadow: 0 6px 30px rgba(245, 158, 11, 0.6);
}
.timeline-step.step-4:hover .step-point {
    box-shadow: 0 6px 30px rgba(16, 185, 129, 0.6);
}

/* Step info card */
.step-info {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

html[dir="rtl"] .step-info { text-align: right; }

.timeline-step:hover .step-info {
    border-color: rgba(124, 58, 237, 0.3);
    background: var(--bg-card-hover);
}

.step-info h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: var(--text);
}

.step-info p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0;
}

/* ========== DESKTOP ========== */
@media (min-width: 900px) {
    .steps-timeline-container {
        padding: 2rem 1rem;
        max-width: 800px;
    }

    .timeline-steps {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 0;
        position: relative;
    }
    
    /* Background line that connects all circles */
    /* calc: من مركز أول دائرة (12.5%) إلى مركز آخر دائرة (87.5%) */
    .timeline-steps::before {
        content: '';
        position: absolute;
        top: 24px;
        left: 12.5%;
        width: 75%;
        height: 4px;
        background: linear-gradient(90deg, var(--primary), var(--accent), #f59e0b, var(--success));
        border-radius: 4px;
        z-index: 0;
    }
    
    html[dir="rtl"] .timeline-steps::before {
        background: linear-gradient(270deg, var(--primary), var(--accent), #f59e0b, var(--success));
    }

    .timeline-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
        flex: 1;
        padding: 0;
        position: relative;
    }

    /* Hide the individual lines on desktop - using the full background line instead */
    .timeline-step:not(:last-child) .step-point::after,
    .timeline-step:not(:last-child) .step-point::before {
        display: none;
    }

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

    html[dir="rtl"] .timeline-step { animation-name: stepIn; }

    .step-point {
        width: 48px;
        height: 48px;
        min-width: 48px;
        font-size: 1.1rem;
        position: relative;
        z-index: 2;
    }

    .step-info {
        width: 100%;
        padding: 1rem;
        text-align: center;
        margin-top: 0.75rem;
        max-width: 140px;
    }

    html[dir="rtl"] .step-info { text-align: center; }

    .timeline-step:hover .step-info { transform: translateY(-3px); }

    .step-info h3 { font-size: 1rem; }
    .step-info p { font-size: 0.85rem; }
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    padding: 2rem 0;
    overflow: hidden;
}

.testimonials-container {
    max-width: 100%;
    margin: 0 auto;
}

.testimonials-track {
    display: flex;
    gap: 1rem;
    width: max-content;
    animation: scrollTestimonials 30s linear infinite;
}

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

.testimonial-card {
    flex-shrink: 0;
    width: 280px;
    padding: 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: rgba(124, 58, 237, 0.3);
    transform: translateY(-4px);
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    letter-spacing: 1px;
}

.testimonial-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.875rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.author-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8rem;
}

.testimonial-author span {
    font-size: 0.85rem;
    font-weight: 600;
}

.no-reviews {
    text-align: center;
    color: var(--text-muted);
    padding: 2rem;
    width: 100%;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .testimonials-section { padding: 3rem 0; }
    .testimonial-card { width: 300px; }
}

/* ===== Trust Section ===== */
.trust-section {
    padding: 1.5rem 1rem;
}

.trust-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.trust-item:hover {
    border-color: rgba(124, 58, 237, 0.3);
    transform: translateY(-2px);
}

.trust-item svg {
    width: 18px;
    height: 18px;
    color: var(--primary-light);
}

.trust-item span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}

@media (min-width: 768px) {
    .trust-section { padding: 2rem 1.5rem; }
    .trust-container { gap: 0.75rem; }
    .trust-item { padding: 0.7rem 1.25rem; }
    .trust-item svg { width: 20px; height: 20px; }
    .trust-item span { font-size: 0.85rem; }
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 2rem 1rem;
}

.cta-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(236, 72, 153, 0.05));
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15), transparent 70%);
    filter: blur(50px);
    pointer-events: none;
}

.cta-container h2 {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    position: relative;
}

.cta-container p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    position: relative;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .cta-section { padding: 3rem 1.5rem; }
    .cta-container { padding: 2.5rem 2rem; }
}

/* ===== Premium Modal ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    overflow-y: auto;
}

.modal-overlay.active { display: flex; }

.modal-container {
    width: 100%;
    max-width: 420px;
    background: linear-gradient(180deg, #0d0818 0%, #030010 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    position: relative;
    max-height: 92vh;
    overflow-y: auto;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.modal-step {
    display: none;
    padding: 1.5rem 1.25rem;
}

.modal-step.active { display: block; }

.modal-close {
    position: absolute;
    top: 0.875rem;
    right: 0.875rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

html[dir="rtl"] .modal-close { right: auto; left: 0.875rem; }

.modal-close:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: var(--danger);
}

.modal-close svg { width: 16px; height: 16px; }

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

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

.back-btn svg { width: 14px; height: 14px; }

/* Desktop optimization for step indicators */
@media (min-width: 768px) {
    .modal-overlay { padding: 1rem; }
    .modal-container { max-width: 450px; }
    .modal-step { padding: 2rem 1.75rem; }

    /* Larger spacing on desktop for better visual balance */
    .indicator-line {
        width: 50px; /* Larger gap on desktop: 50px */
        margin: 0 6px; /* Slightly larger margin */
    }

    .indicator {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .indicator.done svg { width: 16px; height: 16px; }
}

/* Mobile optimization for step indicators */
@media (max-width: 400px) {
    .indicator-line {
        width: 30px; /* Smaller gap on very small screens: 30px */
        margin: 0 3px; /* Smaller margin */
    }

    .indicator {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }

    .indicator.done svg { width: 12px; height: 12px; }
}

/* Step Indicator - Connected Design */
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0; /* No gap - lines connect directly to circles */
    margin-bottom: 1.25rem;
}

.indicator {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--border);
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.indicator.active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 12px var(--glow-primary);
}

.indicator.done {
    background: var(--success);
    border-color: transparent;
    color: white;
}

.indicator.done svg { width: 14px; height: 14px; }

/*
   Modal Step Indicator Lines - Connected to Circles
   Line extends from edge of circle to edge of next circle
   Circle diameter: 32px, so line width = gap between circles
   Default gap: 40px (2.5rem) for better visual balance
*/
.indicator-line {
    width: 40px; /* Gap between circle edges: 2.5rem = 40px */
    height: 2px;
    background: var(--border);
    transition: all 0.4s ease;
    border-radius: 2px;
    position: relative;
    margin: 0 4px; /* Small margin for visual separation */
}

.indicator-line.active {
    background: linear-gradient(90deg, var(--success), var(--primary));
}

/* Animated flow effect for active lines */
.indicator-line.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    animation: flowIndicator 1.5s ease-in-out infinite;
    border-radius: 2px;
}

@keyframes flowIndicator {
    0% { left: -100%; }
    50% { left: 0%; }
    100% { left: 100%; }
}

.modal-header {
    text-align: center;
    margin-bottom: 1.25rem;
}

.modal-header h2 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.modal-header p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* ===== Premium Form Elements ===== */
.input-group {
    margin-bottom: 1rem;
}

.input-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.input-hint {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: -0.2rem;
    margin-bottom: 0.4rem;
}

.input-field {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 0.875rem;
    width: 16px;
    height: 16px;
    color: var(--text-muted);
    pointer-events: none;
    transition: color 0.3s ease;
}

html[dir="rtl"] .input-icon { left: auto; right: 0.875rem; }

.input-prefix {
    position: absolute;
    left: 0.875rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

html[dir="rtl"] .input-prefix { left: auto; right: 0.875rem; }

.input-field input,
.input-field textarea {
    width: 100%;
    padding: 0.75rem 0.875rem 0.75rem 2.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text);
    font-size: 0.9rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

html[dir="rtl"] .input-field input,
html[dir="rtl"] .input-field textarea {
    padding: 0.75rem 2.5rem 0.75rem 0.875rem;
}

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

.input-field input:focus,
.input-field textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
    background: rgba(255, 255, 255, 0.05);
}

.input-field input:focus + .input-icon,
.input-field:focus-within .input-icon {
    color: var(--primary-light);
}

textarea {
    width: 100%;
    padding: 0.75rem 0.875rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text);
    font-size: 0.95rem;
    font-family: inherit;
    resize: vertical;
    min-height: 110px;
    transition: all 0.3s ease;
}

textarea::placeholder { color: var(--text-muted); }

textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
    background: rgba(255, 255, 255, 0.06);
}

/* Price Box */
.price-box {
    display: none;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(236, 72, 153, 0.06));
    border: 1px solid rgba(124, 58, 237, 0.25);
    border-radius: var(--radius-lg);
    padding: 1.1rem;
    margin-bottom: 1.25rem;
}

.price-box.active { display: block; }

.price-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.price-loading.hidden { display: none; }

.loader {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.price-result {
    display: none;
    justify-content: space-between;
    align-items: center;
}

.price-result.active { display: flex; }

.price-info {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.15rem;
}

.price-value {
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price-delivery {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.price-delivery svg { width: 16px; height: 16px; color: var(--primary-light); }

/* ===== Upload Area ===== */
.upload-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.upload-area:hover {
    border-color: var(--primary);
    background: rgba(124, 58, 237, 0.06);
}

.upload-area.dragover {
    border-color: var(--primary);
    background: rgba(124, 58, 237, 0.1);
    transform: scale(1.01);
}

.upload-area svg {
    width: 36px;
    height: 36px;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.upload-area:hover svg { color: var(--primary-light); }

.upload-area span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.upload-area small {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.upload-preview {
    margin-top: 0.875rem;
    display: none;
}

.upload-preview.active { display: block; }

.preview-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: var(--radius-md);
}

.preview-item img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.preview-info {
    flex: 1;
    min-width: 0;
}

.preview-info span {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.preview-info small {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.preview-remove {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.12);
    border: none;
    border-radius: var(--radius-sm);
    color: var(--danger);
    cursor: pointer;
    transition: all 0.3s ease;
}

.preview-remove:hover {
    background: rgba(239, 68, 68, 0.2);
}

.preview-remove svg { width: 16px; height: 16px; }

/* ===== Submit Button ===== */
.submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1rem 1.75rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    font-size: 0.95rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px var(--glow-primary);
    position: relative;
    overflow: hidden;
}

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

.submit-btn:not(:disabled):hover::before { left: 100%; }

.submit-btn:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 35px var(--glow-primary);
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

.submit-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.submit-btn:not(:disabled):hover svg { transform: translateX(3px); }
html[dir="rtl"] .submit-btn:not(:disabled):hover svg { transform: translateX(-3px); }

.submit-btn.loading {
    pointer-events: none;
}

.submit-btn.loading span { opacity: 0; }

.submit-btn.loading::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* ===== Payment Options ===== */
.order-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-top: 0.875rem;
    font-size: 0.9rem;
}

.summary-price {
    font-weight: 800;
    color: var(--primary-light);
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-option:hover {
    border-color: var(--border-light);
    background: rgba(255, 255, 255, 0.05);
}

.payment-option.selected {
    border-color: var(--primary);
    background: rgba(124, 58, 237, 0.1);
}

.payment-radio {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.payment-option.selected .payment-radio {
    border-color: var(--primary);
}

.payment-option.selected .payment-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 9px;
    height: 9px;
    background: var(--primary);
    border-radius: 50%;
}

.payment-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.payment-icon img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.payment-icon svg { width: 26px; height: 26px; }

.payment-info {
    flex: 1;
}

.payment-name {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.1rem;
}

.payment-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Payment Details */
.payment-details {
    display: none;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 1.25rem;
}

.payment-details.active { display: block; }

.payment-details h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.875rem;
    color: var(--text-secondary);
}

.payment-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border);
}

.payment-detail-row:last-child { border-bottom: none; }

.payment-detail-row span:first-child {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.payment-detail-row span:last-child {
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.copy-value {
    padding: 0.25rem;
    background: rgba(255, 255, 255, 0.06);
    border: none;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-value:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
}

.copy-value svg { width: 14px; height: 14px; }

/* Receipt Upload */
.receipt-upload {
    display: none;
    margin-bottom: 1.25rem;
}

.receipt-upload.active { display: block; }

.receipt-upload label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.refund-text {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.875rem;
}

/* ===== Success Step ===== */
#confettiCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

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

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.1));
    border: 3px solid rgba(16, 185, 129, 0.35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: successBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes successBounce {
    0% { transform: scale(0); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.success-icon svg {
    width: 40px;
    height: 40px;
    color: var(--success-light);
}

.success-content h2 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
}

.success-content > p {
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
    font-size: 0.9rem;
}

.order-id-box {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(236, 72, 153, 0.06));
    border: 1px solid rgba(124, 58, 237, 0.25);
    border-radius: var(--radius-lg);
    padding: 1rem;
    margin-bottom: 1.25rem;
}

.oid-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.oid-value {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.oid-value span {
    font-size: 1.1rem;
    font-weight: 800;
    font-family: 'SF Mono', 'Fira Code', monospace;
    letter-spacing: 0.5px;
}

.copy-btn {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
}

.copy-btn svg { width: 16px; height: 16px; }

.order-details {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 0.4rem 0.875rem;
    margin-bottom: 1.25rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.85rem;
}

.detail-row:last-child { border-bottom: none; }

.detail-row span:first-child { color: var(--text-muted); }
.detail-row span:last-child { font-weight: 600; }

.warning-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: var(--radius-md);
    margin-bottom: 1.25rem;
    font-size: 0.8rem;
    color: var(--warning);
}

.warning-notice svg { width: 18px; height: 18px; flex-shrink: 0; }

.success-actions {
    display: flex;
    gap: 0.875rem;
}

.secondary-btn {
    flex: 1;
    padding: 0.9rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-light);
}

/* ===== Toast Notifications ===== */
#toastContainer {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    z-index: 300;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.toast {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: rgba(3, 0, 20, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    animation: toastIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(15px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.toast.hiding {
    animation: toastOut 0.3s ease forwards;
}

@keyframes toastOut {
    to {
        opacity: 0;
        transform: translateY(-8px) scale(0.95);
    }
}

.toast-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.toast.success .toast-icon { color: var(--success-light); }
.toast.error .toast-icon { color: var(--danger); }
.toast.warning .toast-icon { color: var(--warning); }
.toast.info .toast-icon { color: var(--primary-light); }

.toast-message {
    flex: 1;
    font-size: 0.85rem;
    font-weight: 500;
}

.toast-close {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: none;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}

.toast-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
}

.toast-close svg { width: 14px; height: 14px; }

@media (min-width: 768px) {
    #toastContainer {
        left: auto;
        right: 2rem;
        bottom: 2rem;
        max-width: 350px;
    }
    
    html[dir="rtl"] #toastContainer { right: auto; left: 2rem; }
}

/* ===== Page Specific Styles ===== */

/* Page Hero */
.page-hero {
    min-height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 1rem 3rem;
    text-align: center;
}

.page-hero-content {
    max-width: 550px;
}

.page-hero h1 {
    font-size: clamp(1.75rem, 6vw, 2.75rem);
    font-weight: 900;
    margin-bottom: 0.875rem;
    letter-spacing: -0.02em;
}

.page-hero p {
    color: var(--text-secondary);
    font-size: clamp(0.95rem, 2.5vw, 1.05rem);
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .page-hero { padding: 8rem 1.5rem 4rem; }
}

/* Track Page */
.track-section {
    padding: 0 1rem 3rem;
}

.track-container {
    max-width: 480px;
    margin: 0 auto;
}

.track-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
}

.track-result {
    display: none;
    margin-top: 1.5rem;
}

.track-result.active { display: block; }

.status-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    margin-bottom: 1.25rem;
}

.status-card.status-warning { border-color: rgba(245, 158, 11, 0.35); }
.status-card.status-info { border-color: rgba(59, 130, 246, 0.35); }
.status-card.status-purple { border-color: rgba(124, 58, 237, 0.35); }
.status-card.status-success { border-color: rgba(16, 185, 129, 0.35); }
.status-card.status-danger { border-color: rgba(239, 68, 68, 0.35); }

.status-icon-large {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

.status-card.status-warning .status-icon-large { background: rgba(245, 158, 11, 0.15); color: var(--warning); }
.status-card.status-info .status-icon-large { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.status-card.status-purple .status-icon-large { background: rgba(124, 58, 237, 0.15); color: var(--primary-light); }
.status-card.status-success .status-icon-large { background: rgba(16, 185, 129, 0.15); color: var(--success-light); }
.status-card.status-danger .status-icon-large { background: rgba(239, 68, 68, 0.15); color: var(--danger); }

.status-icon-large svg { width: 35px; height: 35px; }

.status-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-value {
    font-size: 1.35rem;
    font-weight: 800;
}

.order-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.info-row:last-child { border-bottom: none; }
.info-row span:first-child { color: var(--text-muted); }
.info-row span:last-child { font-weight: 600; }

.track-not-found {
    display: none;
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    margin-top: 1.5rem;
}

.track-not-found.active { display: block; }

.not-found-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.15);
    border-radius: 50%;
}

.not-found-icon svg {
    width: 35px;
    height: 35px;
    color: var(--danger);
}

.track-not-found h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.track-not-found p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
    .track-section { padding: 0 1.5rem 5rem; }
    .track-form { padding: 2rem; }
}

/* ===== About Page ===== */
.about-section {
    padding: 0 1rem 2rem;
}

.about-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Main Card - Hero style */
.about-main-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(236, 72, 153, 0.04));
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: var(--radius-xl);
    padding: 2rem 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.about-main-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.about-main-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 25px var(--glow-primary);
}

.about-main-icon svg {
    width: 36px;
    height: 36px;
    color: white;
}

.about-main-content h2 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--text), var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-main-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 550px;
    margin: 0 auto;
}

/* Features Grid */
.about-features-grid {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.about-feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.about-feature-card:hover {
    border-color: rgba(124, 58, 237, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon-wrapper {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(124, 58, 237, 0.05));
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.about-feature-card:hover .feature-icon-wrapper {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-color: transparent;
}

.about-feature-card:hover .feature-icon-wrapper svg {
    color: white;
}

.feature-icon-wrapper svg {
    width: 26px;
    height: 26px;
    color: var(--primary-light);
    transition: all 0.3s ease;
}

.feature-icon-wrapper.success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05));
    border-color: rgba(16, 185, 129, 0.2);
}

.feature-icon-wrapper.success svg {
    color: var(--success-light);
}

.about-feature-card:hover .feature-icon-wrapper.success {
    background: linear-gradient(135deg, #10b981, #059669);
}

.feature-icon-wrapper.accent {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.15), rgba(236, 72, 153, 0.05));
    border-color: rgba(236, 72, 153, 0.2);
}

.feature-icon-wrapper.accent svg {
    color: var(--accent-light);
}

.about-feature-card:hover .feature-icon-wrapper.accent {
    background: linear-gradient(135deg, var(--accent), #db2777);
}

.about-feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--text);
}

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

.about-feature-card p strong {
    color: var(--primary-light);
    font-weight: 600;
}

/* CTA Section */
.about-cta {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(236, 72, 153, 0.06));
    border: 1px solid rgba(124, 58, 237, 0.25);
    border-radius: var(--radius-xl);
    padding: 2rem 1.5rem;
    text-align: center;
}

.about-cta-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
    .about-section { padding: 0 1.5rem 3rem; }
    
    .about-main-card {
        flex-direction: row;
        text-align: left;
        padding: 2.5rem;
        gap: 2rem;
    }
    
    html[dir="rtl"] .about-main-card {
        text-align: right;
    }
    
    .about-main-icon {
        width: 80px;
        height: 80px;
        flex-shrink: 0;
    }
    
    .about-main-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .about-main-content h2 {
        font-size: 1.5rem;
    }
    
    .about-main-content p {
        margin: 0;
    }
    
    .about-features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-cta { padding: 2.5rem; }
}

/* ===== Review Page ===== */
.review-section {
    padding: 0 1rem 2rem;
}

.review-container {
    max-width: 450px;
    margin: 0 auto;
    position: relative;
}

#reviewConfetti {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.review-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
}

.star-rating {
    display: flex;
    gap: 0.4rem;
    direction: ltr;
}

.star-rating .star {
    font-size: 2.25rem;
    color: var(--border);
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
}

.star-rating .star:hover,
.star-rating .star.active {
    color: #fbbf24;
    transform: scale(1.08);
}

.review-success {
    display: none;
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
}

.review-success.active { display: block; }

.review-success .success-icon,
.support-success .success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.1));
    border: 2px solid rgba(16, 185, 129, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-success .success-icon svg,
.support-success .success-icon svg {
    width: 40px;
    height: 40px;
    color: var(--success-light);
}

.review-success h2,
.support-success h2 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.review-success p,
.support-success p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.review-success .hero-cta,
.support-success .hero-cta {
    display: inline-flex;
    margin-top: 0.5rem;
}

@media (min-width: 768px) {
    .review-section { padding: 0 1.5rem 5rem; }
    .review-form { padding: 2rem; }
}

/* ===== Support Page ===== */
.support-section {
    padding: 0 1rem 2rem;
}

.support-container {
    max-width: 700px;
    margin: 0 auto;
}

.contact-methods {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: rgba(124, 58, 237, 0.3);
    transform: translateY(-3px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
}

.contact-icon.email-icon {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(236, 72, 153, 0.1));
}

.contact-icon.instagram-icon {
    background: linear-gradient(135deg, rgba(225, 48, 108, 0.15), rgba(131, 58, 180, 0.1));
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary-light);
}

.contact-icon.instagram-icon svg {
    color: #E1306C;
}

.contact-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.contact-card p {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-light);
}

.contact-link.instagram:hover {
    background: rgba(225, 48, 108, 0.1);
    border-color: rgba(225, 48, 108, 0.3);
    color: #E1306C;
}

.contact-link svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.contact-link:hover svg { transform: translateX(3px); }
html[dir="rtl"] .contact-link:hover svg { transform: translateX(-3px); }

.support-form-container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
}

.support-form-container h2 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.form-row {
    display: grid;
    gap: 1rem;
}

.support-form {
    display: block;
}

.support-success {
    display: none;
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
}

.support-success.active { display: block; }

@media (min-width: 768px) {
    .support-section { padding: 0 1.5rem 3rem; }
    
    .contact-methods {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .support-form-container { padding: 1.5rem; }
    
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== RTL Support ===== */
html[dir="rtl"] {
    direction: rtl;
}

html[dir="rtl"] .hero-cta svg,
html[dir="rtl"] .submit-btn svg,
html[dir="rtl"] .contact-link svg {
    transform: scaleX(-1);
}

html[dir="rtl"] .hero-cta:hover svg,
html[dir="rtl"] .submit-btn:not(:disabled):hover svg,
html[dir="rtl"] .contact-link:hover svg {
    transform: scaleX(-1) translateX(-3px);
}

html[dir="rtl"] .back-btn svg {
    transform: scaleX(-1);
}

html[dir="rtl"] .timeline-step:not(:last-child)::after,
html[dir="rtl"] .timeline-step:not(:last-child)::before {
    left: auto;
    right: 24px;
}

@media (min-width: 900px) {
    html[dir="rtl"] .timeline-step:not(:last-child)::after,
    html[dir="rtl"] .timeline-step:not(:last-child)::before {
        left: auto;
        right: calc(50% + 35px);
    }
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* ===== Selection ===== */
::selection {
    background: rgba(124, 58, 237, 0.35);
    color: white;
}

/* ===== Focus Visible ===== */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: none;
}

/* ===== Print Styles ===== */
@media print {
    .bg-main, .bg-glow, .floating-shapes, .grid-pattern,
    .navbar, .modal-overlay, #toastContainer {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* ===== Safe Area Support for Mobile ===== */
@supports (padding: max(0px)) {
    .navbar {
        padding-top: max(0.75rem, env(safe-area-inset-top));
    }
    
    .hero {
        padding-top: max(5.5rem, calc(env(safe-area-inset-top) + 4rem));
    }
    
    #toastContainer {
        bottom: max(1rem, env(safe-area-inset-bottom));
    }
}

/* ===== Debug Mode - Show Timeline Spacing ===== */
/* Add ?debug=timeline to URL to see spacing measurements */
body.debug-timeline .timeline-step::before {
    content: attr(data-step);
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 0, 0, 0.8);
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: bold;
    z-index: 10;
}

/* Show spacing measurements */
body.debug-timeline .timeline-step:not(:last-of-type)::after {
    content: '32px';
    position: absolute;
    top: 50%;
    left: calc(50% + 25px);
    transform: translateY(-50%);
    background: rgba(0, 255, 0, 0.8);
    color: white;
    padding: 2px 4px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: bold;
    z-index: 10;
}

@media (min-width: 900px) {
    body.debug-timeline .timeline-step:not(:last-of-type)::after {
        content: '48px';
        top: calc(50% + 25px);
        left: 50%;
        transform: translateX(-50%);
    }
}

/* ===== Debug Mode - Show Modal Step Indicator Spacing ===== */
/* Add ?debug=modal to URL to see modal spacing measurements */
body.debug-modal .indicator::before {
    content: attr(data-indicator);
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 100, 255, 0.8);
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: bold;
    z-index: 10;
}

/* Show spacing measurements for modal indicators - Mobile */
body.debug-modal .indicator-line::after {
    content: '40px';
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 0, 255, 0.8);
    color: white;
    padding: 2px 4px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: bold;
    z-index: 10;
}

/* Desktop spacing measurements */
@media (min-width: 768px) {
    body.debug-modal .indicator-line::after {
        content: '50px';
    }
}

/* Mobile small screen spacing */
@media (max-width: 400px) {
    body.debug-modal .indicator-line::after {
        content: '30px';
    }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== Additional Toast Styles ===== */
.toast {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: rgba(3, 0, 20, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    animation: toastIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.success { border-color: rgba(16, 185, 129, 0.35); }
.toast.error { border-color: rgba(239, 68, 68, 0.35); }
.toast.warning { border-color: rgba(245, 158, 11, 0.35); }
.toast.info { border-color: rgba(124, 58, 237, 0.35); }

/* ===== Payment Details Styles ===== */
.payment-details .detail-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.payment-details .detail-value {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.875rem;
    word-break: break-all;
}

.payment-details .copy-detail {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.payment-details .copy-detail:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
}

.payment-details .copy-detail svg {
    width: 16px;
    height: 16px;
}

/* USDT Amount Display */
.usdt-amount {
    background: linear-gradient(135deg, rgba(38, 161, 123, 0.15), rgba(38, 161, 123, 0.08));
    border: 1px solid rgba(38, 161, 123, 0.35);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.usdt-amount .usdt-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.35rem;
}

.usdt-amount .usdt-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #26A17B;
}

/* ===== File Upload Styles ===== */
.upload-area.has-file {
    border-color: var(--success);
    background: rgba(16, 185, 129, 0.06);
}

.upload-preview .file-name {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.upload-preview .remove-file {
    background: rgba(239, 68, 68, 0.12);
    border: none;
    color: var(--danger);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    margin-left: 0.5rem;
    transition: all 0.3s ease;
}

.upload-preview .remove-file:hover {
    background: rgba(239, 68, 68, 0.2);
}

/* ===== Extra Mobile Optimizations ===== */
@media (max-width: 400px) {
    .hero-text h1 {
        font-size: 1.75rem;
    }
    
    .hero-badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }
    
    .hero-cta {
        padding: 0.9rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .guarantee-badge {
        font-size: 0.75rem;
        padding: 0.5rem 0.9rem;
    }
    
    .phone-frame {
        width: 200px;
        height: 400px;
    }
    
    .section-header h2 {
        font-size: 1.35rem;
    }
    
    .step-point {
        width: 42px;
        height: 42px;
        min-width: 42px;
        font-size: 1rem;
    }
    
    .step-info h3 {
        font-size: 0.9rem;
    }
    
    .step-info p {
        font-size: 0.8rem;
    }
    
    .modal-step {
        padding: 1.5rem 1rem;
    }
    
    .indicator {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }
    
    .indicator-line {
        width: 20px;
    }
}

/* ===== Landscape Mobile Fix ===== */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 5rem 1rem 2rem;
    }
    
    .hero-content {
        flex-direction: row;
        gap: 2rem;
    }
    
    .hero-visual {
        display: none;
    }
    
    .page-hero {
        min-height: auto;
        padding: 5rem 1rem 2rem;
    }
}

/* ===== iOS Input Zoom Fix ===== */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea,
    select {
        font-size: 16px;
    }
}
