:root {
    /* Premium Dark Theme Variables */
    --bg-base: #0B051D;
    --bg-surface: rgba(255, 255, 255, 0.03);
    --bg-surface-hover: rgba(255, 255, 255, 0.05);
    
    --purple-glow: #8B5CF6;
    --yellow-glow: #F59E0B;
    --yellow-bright: #FBBF24;
    
    --text-pure: #ffffff;
    --text-muted: #9CA3AF;
    --border-subtle: rgba(255, 255, 255, 0.1);
    
    /* Typography */
    --font-heading: 'Tajawal', sans-serif;
    --font-body: 'Tajawal', sans-serif;
}

[dir="ltr"] {
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-base);
    color: var(--text-pure);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    user-select: none; /* Modern app feel for textual non-essentials */
}
p, h1, h2, h3, h4, span { user-select: text; }

/* Typography Globals */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

[dir="ltr"] h1, [dir="ltr"] h2 {
    letter-spacing: -0.04em;
}

/* Utilities */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-yellow { color: var(--yellow-bright); }
.text-sm { font-size: 0.875rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 2rem; }
.text-4xl { font-size: clamp(2rem, 4vw, 3rem); }
.font-bold { font-weight: 700; }
.font-light { font-weight: 300; }
.italic { font-style: italic; }
.relative { position: relative; }
.z-10 { z-index: 10; }
.overflow-hidden { overflow: hidden; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.d-none { display: none !important; }
.w-12 { width: 3rem; }
.h-12 { height: 3rem; }
.w-1\/2 { width: 50%; }
.w-3\/4 { width: 75%; }
.rounded-full { border-radius: 9999px; }
.object-cover { object-fit: cover; }

.mt-1 { margin-top: 0.25rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-20 { margin-top: 5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3.5rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.border-t { border-top: 1px solid var(--border-subtle); }
.inline-block { display: inline-block; }

/* Text Gradients */
.text-gradient {
    background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Background Animated Mesh */
.mesh-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background: var(--bg-base);
}
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    animation: sway 20s infinite alternate ease-in-out;
}
.purple-blob {
    background: var(--purple-glow);
    width: 600px;
    height: 600px;
    top: -200px;
    left: -200px;
    animation-delay: -5s;
}
.yellow-blob {
    background: rgba(245, 158, 11, 0.4);
    width: 500px;
    height: 500px;
    bottom: -100px;
    right: -100px;
    animation-delay: -2s;
    animation-direction: alternate-reverse;
}
.deep-blob {
    background: #4C1D95;
    width: 700px;
    height: 700px;
    top: 30%;
    right: 30%;
    opacity: 0.2;
}

.noise-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    pointer-events: none;
}

@keyframes sway {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(100px, 50px) scale(1.2); }
    100% { transform: translate(-50px, 100px) scale(0.9); }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-family: var(--font-heading);
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.1rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
.btn-primary {
    background: var(--text-pure);
    color: var(--bg-base);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}
.btn-yellow {
    background: linear-gradient(135deg, var(--yellow-bright) 0%, #D97706 100%);
    color: var(--bg-base);
}
.btn-lg { padding: 18px 36px; font-size: 1.15rem; }
.btn-xl { padding: 20px 48px; font-size: 1.25rem; }
.btn-full { width: 100%; }

.shine-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-20deg);
    animation: shine 4s infinite;
}
@keyframes shine {
    0%, 70% { left: -100%; }
    100% { left: 200%; }
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}
.btn-yellow:hover {
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
}

/* Navbar */
.glass-nav {
    background: rgba(11, 5, 29, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}
.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 100;
    padding: 16px 0;
    transition: padding 0.3s;
}
.nav-content {
    display: flex; justify-content: space-between; align-items: center;
}
.logo {
    display: flex; align-items: center; gap: 8px;
    font-size: 1.5rem; font-weight: 800; font-family: var(--font-heading);
}
.lang-switch {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 6px 16px;
    color: var(--text-muted);
    font-weight: 600; font-size: 0.9rem;
    display: flex; gap: 8px; cursor: pointer; transition: 0.3s;
}
.lang-switch:hover { background: var(--bg-surface-hover); }
.lang-switch .active { color: var(--text-pure); }

/* Glass Cards */
.glass-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}

/* Hero */
.hero { position: relative; padding: 180px 0 100px; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 10; }

/* === HERO ENTRANCE ANIMATIONS === */

/* Staggered text entrance */
.hero-text .badge-premium {
    animation: heroSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}
.hero-text .t-hero-headline {
    animation: heroSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}
.hero-text .t-hero-sub {
    animation: heroSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both;
}
.hero-text .hero-p {
    animation: heroSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.65s both;
}
.hero-text .hero-actions {
    animation: heroSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.75s both;
}

@keyframes heroSlideUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
        filter: blur(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* 3D Mockup Entrance */
.hero-visual {
    animation: mockupEntrance 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
    perspective: 1200px;
}
@keyframes mockupEntrance {
    0% {
        opacity: 0;
        transform: perspective(1200px) rotateY(-15deg) translateX(80px) scale(0.85);
        filter: blur(10px);
    }
    60% {
        opacity: 1;
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: perspective(1200px) rotateY(0deg) translateX(0) scale(1);
        filter: blur(0);
    }
}

[dir="ltr"] .hero-visual {
    animation-name: mockupEntranceLTR;
}
@keyframes mockupEntranceLTR {
    0% {
        opacity: 0;
        transform: perspective(1200px) rotateY(15deg) translateX(-80px) scale(0.85);
        filter: blur(10px);
    }
    60% {
        opacity: 1;
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: perspective(1200px) rotateY(0deg) translateX(0) scale(1);
        filter: blur(0);
    }
}

/* Phone mockup bounces in separately */
.mockup-mobile {
    animation: phoneSlideIn 1s cubic-bezier(0.34, 1.56, 0.64, 1) 1s both;
}
@keyframes phoneSlideIn {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.7);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Glowing border shimmer on laptop */
.laptop-frame {
    position: relative;
}
.laptop-frame::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 14px 14px 0 0;
    background: linear-gradient(135deg, var(--purple-glow), var(--yellow-bright), var(--purple-glow));
    background-size: 200% 200%;
    animation: borderShimmer 4s ease-in-out infinite;
    z-index: -1;
    opacity: 0.5;
}
@keyframes borderShimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Mobile frame glow */
.mobile-frame::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 38px;
    background: linear-gradient(135deg, var(--yellow-bright), var(--purple-glow), var(--yellow-bright));
    background-size: 200% 200%;
    animation: borderShimmer 5s ease-in-out infinite 1s;
    z-index: -1;
    opacity: 0.4;
}

/* Glow ring pulse */
.glow-ring {
    animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
        box-shadow: 0 0 80px rgba(245, 158, 11, 0.1);
    }
    50% {
        transform: scale(1.15);
        opacity: 0.8;
        box-shadow: 0 0 120px rgba(139, 92, 246, 0.25), 0 0 60px rgba(245, 158, 11, 0.2);
    }
}

/* Floating screen content subtle zoom */
.mockup-laptop .mockup-screen {
    animation: subtleZoom 12s ease-in-out infinite;
}
@keyframes subtleZoom {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* CTA button glow pulse */
.hero-actions .btn-primary {
    animation: ctaGlow 3s ease-in-out infinite 1.5s;
}
@keyframes ctaGlow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: 0 4px 30px rgba(255, 255, 255, 0.3), 0 0 60px rgba(255, 255, 255, 0.1);
    }
}

/* Trusted-by counter entrance */
.trusted-by {
    animation: heroSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1s both;
}

/* Avatar pop-in */
.avatars .avatar:nth-child(1) { animation: avatarPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 1.1s both; }
.avatars .avatar:nth-child(2) { animation: avatarPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 1.2s both; }
.avatars .avatar:nth-child(3) { animation: avatarPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 1.3s both; }
.avatars .avatar-more { animation: avatarPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 1.4s both; }
@keyframes avatarPop {
    0% { opacity: 0; transform: scale(0); }
    100% { opacity: 1; transform: scale(1); }
}

/* Hero New Background & Particles */
.hero-bg-layer {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(76, 29, 149, 0.4) 0%, transparent 60%),
                radial-gradient(circle at bottom left, rgba(245, 158, 11, 0.15) 0%, transparent 50%);
}
.hero-golden-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--yellow-bright), transparent);
    opacity: 0.3;
}
.hero-particles {
    position: absolute;
    inset: 0;
}
.particle {
    position: absolute;
    background: var(--yellow-bright);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--yellow-bright), 0 0 20px var(--yellow-bright);
    animation: float-particle 8s infinite linear;
    opacity: 0;
}
@keyframes float-particle {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; transform: translateY(80vh) scale(1.5); }
    90% { opacity: 0.8; transform: translateY(20vh) scale(1); }
    100% { transform: translateY(-10vh) scale(0); opacity: 0; }
}
.p1 { left: 10%; width: 3px; height: 3px; animation-duration: 9s; animation-delay: 0s; }
.p2 { left: 20%; width: 4px; height: 4px; animation-duration: 12s; animation-delay: 2s; }
.p3 { left: 30%; width: 2px; height: 2px; animation-duration: 7s; animation-delay: 4s; }
.p4 { left: 40%; width: 5px; height: 5px; animation-duration: 15s; animation-delay: 1s; }
.p5 { left: 50%; width: 3px; height: 3px; animation-duration: 8s; animation-delay: 5s; }
.p6 { left: 60%; width: 4px; height: 4px; animation-duration: 11s; animation-delay: 3s; }
.p7 { left: 70%; width: 2px; height: 2px; animation-duration: 10s; animation-delay: 7s; }
.p8 { left: 80%; width: 5px; height: 5px; animation-duration: 14s; animation-delay: 2s; }
.p9 { left: 90%; width: 3px; height: 3px; animation-duration: 9s; animation-delay: 6s; }
.p10 { left: 15%; width: 6px; height: 6px; animation-duration: 16s; animation-delay: 0.5s; background: var(--purple-glow); box-shadow: 0 0 10px var(--purple-glow); }
.p11 { left: 85%; width: 4px; height: 4px; animation-duration: 13s; animation-delay: 4.5s; background: var(--purple-glow); box-shadow: 0 0 10px var(--purple-glow); }
.p12 { left: 45%; width: 5px; height: 5px; animation-duration: 10s; animation-delay: 1.5s; }

.badge-premium {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: var(--yellow-bright);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600; font-size: 0.85rem;
    margin-bottom: 24px;
}
.badge-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--yellow-bright);
    box-shadow: 0 0 10px var(--yellow-bright);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.t-hero-headline { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 1rem; }
.t-hero-sub { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1.5rem; font-weight: 500; }
.hero-p { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 40px; max-width: 500px; }

.trusted-by { margin-top: 48px; display: flex; align-items: center; gap: 16px; }
.avatars { display: flex; }
[dir="rtl"] .avatar, [dir="rtl"] .avatar-more { margin-left: -12px; border: 2px solid var(--bg-base); }
[dir="ltr"] .avatar, [dir="ltr"] .avatar-more { margin-right: -12px; border: 2px solid var(--bg-base); }
.avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.avatar-more {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--bg-surface);
    color: var(--text-pure);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem; font-weight: 700;
}

/* Mockups Showcase */
.mockup-showcase { height: 600px; display: flex; align-items: center; justify-content: center; position: relative; }
.hero-dev-image {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(139, 92, 246, 0.3)) drop-shadow(0 0 60px rgba(245, 158, 11, 0.15));
    position: relative;
    z-index: 2;
}
.glow-ring {
    position: absolute;
    width: 450px; height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    /* box-shadow handled by glowPulse animation */
}
.mockup-laptop {
    position: absolute; width: 95%;
    top: 15%;
    perspective: 1000px;
    z-index: 2;
}
[dir="rtl"] .mockup-laptop { left: -5%; }
[dir="ltr"] .mockup-laptop { right: -5%; }

.laptop-frame {
    background: #111;
    border-radius: 12px 12px 0 0;
    padding: 10px 10px 0 10px;
    border: 2px solid #333;
    border-bottom: none;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.laptop-screen {
    background: #000;
    border-radius: 4px 4px 0 0;
    overflow: hidden;
    position: relative;
    border: 2px solid #000;
}
.laptop-base {
    height: 12px;
    background: linear-gradient(to bottom, #444, #222);
    border-radius: 0 0 16px 16px;
    position: relative;
    width: 106%;
    left: -3%;
    box-shadow: inset 0 2px 0 rgba(255,255,255,0.2), 0 15px 30px rgba(0,0,0,0.6);
}
.laptop-base::after {
    content: '';
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 20%; height: 4px;
    background: #111;
    border-radius: 0 0 4px 4px;
}

.mockup-browser-bar { height: 24px; background: rgba(255,255,255,0.05); display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #FF5F56; }
.dot.yellow-dot { background: #FFBD2E; }
.dot.green { background: #27C93F; }
.mockup-screen { width: 100%; aspect-ratio: 16/9; display: block; object-fit: cover; }

.mockup-mobile {
    position: absolute; width: 28%; bottom: 0%;
    z-index: 5;
}
[dir="rtl"] .mockup-mobile { right: -5%; }
[dir="ltr"] .mockup-mobile { left: -5%; }
.mobile-frame {
    background: #111;
    border: 10px solid #222;
    border-radius: 36px;
    padding: 0;
    position: relative;
    overflow: hidden;
    box-shadow: -10px 20px 40px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(255,255,255,0.1);
}
.mobile-frame .mockup-screen { aspect-ratio: 9/19.5; border-radius: 24px; }
.mockup-notch {
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 45%; height: 24px; background: #222;
    border-bottom-left-radius: 16px; border-bottom-right-radius: 16px; z-index: 2;
}

.floating-anim { animation: floatLaptop 6s ease-in-out infinite 1.5s; }
.floating-anim-reverse { animation: floatPhone 7s ease-in-out infinite 2s; }
@keyframes floatLaptop {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-12px) rotate(0.5deg); }
    75% { transform: translateY(5px) rotate(-0.3deg); }
}
@keyframes floatPhone {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    30% { transform: translateY(10px) rotate(-1deg); }
    70% { transform: translateY(-8px) rotate(0.5deg); }
}

/* Bento Box Grid */
.section { padding: 100px 0; }
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.bento-box {
    padding: 40px;
    position: relative;
    overflow: hidden;
}
.bento-box:hover {
    background: var(--bg-surface-hover);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}
.step-badge {
    position: absolute; top: 24px;
    font-size: 4rem; font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1; pointer-events: none;
}
[dir="rtl"] .step-badge { left: 24px; }
[dir="ltr"] .step-badge { right: 24px; }

.icon-box {
    width: 60px; height: 60px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px; color: var(--text-pure);
    transition: all 0.3s;
}
.glow-icon { background: rgba(245, 158, 11, 0.1); color: var(--yellow-bright); }
.group:hover .icon-box { transform: scale(1.1); background: var(--text-pure); color: var(--bg-base); }
.group:hover .glow-icon { background: var(--yellow-bright); color: var(--bg-base); box-shadow: 0 0 20px rgba(245, 158, 11, 0.4); }

.bento-illustration {
    background: rgba(0,0,0,0.2);
    border-radius: 12px; padding: 16px;
    border: 1px solid var(--border-subtle);
}
.mini-browser { border-radius: 8px; overflow: hidden; }
.mini-bar { display: flex; gap: 4px; padding: 6px; background: rgba(255,255,255,0.05); }
.mini-bar span { width: 6px; height: 6px; border-radius: 50%; background: var(--border-subtle); }
.mini-content { padding: 12px; gap: 8px; display: flex; flex-direction: column; }
.skel-line { height: 6px; border-radius: 4px; background: rgba(255,255,255,0.1); }
.skel-box { height: 40px; border-radius: 4px; background: rgba(255,255,255,0.05); margin-top: 4px; }
.skeleton-anim .skel-line, .skeleton-anim .skel-box {
    position: relative; overflow: hidden;
}
.skeleton-anim *:after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shine 2s infinite;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.gallery-card {
    position: relative; border-radius: 20px; overflow: hidden;
    aspect-ratio: 4/3; cursor: pointer;
}
.gallery-card img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.group:hover img { transform: scale(1.05); }
.gallery-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    display: flex; align-items: flex-end; justify-content: space-between;
    padding: 24px; opacity: 0.8; transition: opacity 0.3s;
}
.group:hover .gallery-overlay { opacity: 1; }
.like-badge {
    background: rgba(255,255,255,0.1); backdrop-filter: blur(8px);
    padding: 6px 12px; border-radius: 50px; display: flex; align-items: center; gap: 6px;
    font-size: 0.9rem; font-weight: 600; border: 1px solid rgba(255,255,255,0.2);
}

/* Features List Box */
.feature-showcase {
    max-width: 800px; padding: 60px; margin: 0 auto;
    position: relative; overflow: hidden;
}
.feature-row {
    display: flex; align-items: center; gap: 16px;
    padding: 20px 0; border-bottom: 1px solid var(--border-subtle);
    font-size: 1.15rem; font-weight: 500; transition: all 0.3s;
}
.border-none { border-bottom: none; }
.f-icon {
    width: 32px; height: 32px; border-radius: 50%;
    background: rgba(245, 158, 11, 0.1);
    display: flex; align-items: center; justify-content: center;
}
.hover-glow:hover { transform: translateX(-8px); color: var(--yellow-bright); }
[dir="ltr"] .hover-glow:hover { transform: translateX(8px); }

.scarcity-alert {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    padding: 16px; background: rgba(245, 158, 11, 0.05); border: 1px dashed rgba(245, 158, 11, 0.3);
    border-radius: 12px; font-weight: 600;
}
.animate-pulse { animation: pulse-opacity 2s infinite; }
@keyframes pulse-opacity { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

/* Testimonials */
.testimonials-slider { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.testimonial-box { padding: 40px; position: relative; }
.quote-icon {
    position: absolute; top: 40px; font-size: 4rem; opacity: 0.05;
}
[dir="rtl"] .quote-icon { left: 40px; transform: scaleX(-1); }
[dir="ltr"] .quote-icon { right: 40px; }
.hover-tilt { transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.hover-tilt:hover { transform: translateY(-10px) rotate(1deg); border-color: rgba(255,255,255,0.2); }

/* Final CTA */
.final-cta-box {
    padding: 80px 40px; background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
}
.cta-glow {
    position: absolute; width: 300px; height: 300px;
    background: var(--purple-glow); filter: blur(100px); opacity: 0.2;
    top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none;
}
.shadow-glow { box-shadow: 0 0 40px rgba(245, 158, 11, 0.3); }

/* Premium Footer - Redesigned */
.footer-new {
    background: #060211;
    padding-top: 80px;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-accent-line {
    position: absolute; top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--purple-glow), var(--yellow-bright), transparent);
    opacity: 0.5;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}
.footer-brand-col {
    max-width: 400px;
}
.footer-logo-link {
    display: inline-block; margin-bottom: 24px;
}
.footer-desc {
    font-size: 1.05rem; line-height: 1.7; margin-bottom: 32px;
}
.footer-social-row {
    display: flex; gap: 16px;
}
.footer-social-icon {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-pure);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255,255,255,0.05);
}
.footer-social-icon:hover {
    background: var(--purple-glow);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
}
.footer-social-icon.wa-icon:hover {
    background: #25D366;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    border-color: #25D366;
}

.footer-col-title {
    font-size: 1.25rem; font-weight: 700; color: #fff;
    margin-bottom: 24px; position: relative;
    display: inline-block;
}
.footer-col-title::after {
    content: ''; position: absolute; bottom: -8px; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--yellow-bright), transparent);
}
[dir="rtl"] .footer-col-title::after { background: linear-gradient(270deg, var(--yellow-bright), transparent); }
[dir="ltr"] .footer-col-title::after { background: linear-gradient(90deg, var(--yellow-bright), transparent); }

.footer-nav-list {
    display: flex; flex-direction: column; gap: 12px;
}
.footer-link {
    color: var(--text-muted); text-decoration: none; transition: 0.3s;
    font-size: 1.05rem; display: inline-block;
}
.footer-link:hover {
    color: var(--yellow-bright);
    transform: translateX(-6px);
}
[dir="ltr"] .footer-link:hover { transform: translateX(6px); }

.footer-contact-list {
    display: flex; flex-direction: column; gap: 16px;
}
.footer-contact-item {
    display: flex; align-items: center; gap: 16px;
    color: var(--text-muted); text-decoration: none; transition: 0.3s;
}
.fc-icon {
    width: 36px; height: 36px; border-radius: 10px;
    background: rgba(255,255,255,0.03); display: flex; align-items: center; justify-content: center;
    color: var(--yellow-bright); border: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s;
}
.footer-contact-item.fc-whatsapp { color: #25D366; }
.footer-contact-item.fc-whatsapp .fc-icon { color: #25D366; background: rgba(37, 211, 102, 0.1); border-color: rgba(37, 211, 102, 0.2); }

.footer-contact-item:hover { color: #fff; }
.footer-contact-item:hover .fc-icon {
    background: var(--yellow-bright); color: #000; transform: scale(1.1);
}
.footer-contact-item.fc-whatsapp:hover { color: #25D366; }
.footer-contact-item.fc-whatsapp:hover .fc-icon {
    background: #25D366; color: #fff;
}

.footer-bottom-bar {
    padding: 24px 0; border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center; color: var(--text-muted); font-size: 0.95rem;
}
.footer-bottom-bar strong { color: #fff; }

@media (max-width: 992px) {
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-brand-col { max-width: 100%; text-align: center; }
    .footer-social-row { justify-content: center; }
    .footer-col-title { text-align: center; }
    .footer-col-title::after { left: 50%; transform: translateX(-50%); width: 40px; background: var(--yellow-bright); }
    .footer-nav-list, .footer-contact-list { align-items: center; }
}

/* Floating WhatsApp */
.floating-wa {
    position: fixed; bottom: 30px; width: 60px; height: 60px;
    background: #25D366; color: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    z-index: 100; box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}
[dir="rtl"] .floating-wa { left: 30px; }
[dir="ltr"] .floating-wa { right: 30px; }
.hover-scale { transition: transform 0.3s; }
.hover-scale:hover { transform: scale(1.1); }

/* Sticky CTA Mobile */
.sticky-cta-mobile {
    display: none; position: fixed; bottom: 0; left: 0; width: 100%;
    padding: 16px; z-index: 90;
}

/* Fade in animations */
.fade-in-up {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Modal Structure */
.modal-system {
    position: fixed; inset: 0; z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    visibility: hidden; opacity: 0; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-system.show { visibility: visible; opacity: 1; }

.modal-overlay {
    position: absolute; inset: 0; background: rgba(0, 0, 0, 0.85); 
    backdrop-filter: blur(8px); z-index: -1;
}

.modal-content {
    background: var(--bg-base); border: 1px solid var(--border-subtle);
    max-width: 800px; width: 92%; padding: 40px; border-radius: 24px;
    transform: translateY(20px) scale(0.95); transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-height: 90vh; overflow-y: auto; position: relative;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}
.modal-system.show .modal-content { transform: translateY(0) scale(1); }
.modal-close {
    position: absolute; top: 20px; width: 40px; height: 40px;
    background: rgba(255, 255, 255, 0.05); border: none; border-radius: 50%;
    color: var(--text-muted); cursor: pointer; display: flex;
    align-items: center; justify-content: center; transition: 0.3s;
}
[dir="rtl"] .modal-close { left: 20px; }
[dir="ltr"] .modal-close { right: 20px; }
.modal-close:hover { background: rgba(255, 255, 255, 0.1); color: var(--text-pure); }

.lead-form { width: 100%; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.full-width { grid-column: 1 / -1; }
.form-group { display: flex; flex-direction: column; gap: 8px; text-align: start; }
.form-group label { font-size: 0.95rem; font-weight: 600; color: var(--text-pure); }
.input-wrapper { position: relative; display: flex; align-items: center; }
.input-wrapper.align-top { align-items: flex-start; }
.input-wrapper i {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 20px; height: 20px; color: var(--text-muted); pointer-events: none;
}
.input-wrapper.align-top i { top: 16px; transform: none; }
[dir="rtl"] .input-wrapper i { right: 16px; }
[dir="ltr"] .input-wrapper i { left: 16px; }

.form-control {
    width: 100%; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px; padding: 14px 16px; color: var(--text-pure); font-family: inherit; font-size: 1rem; outline: none; transition: 0.3s;
}
[dir="rtl"] .form-control { padding-right: 48px; }
[dir="ltr"] .form-control { padding-left: 48px; }
.text-left-dir { direction: ltr; }
[dir="rtl"] .text-left-dir { text-align: left; }
.form-control:focus { border-color: var(--yellow-bright); background: rgba(255, 255, 255, 0.08); box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1); }
.form-control::placeholder { color: var(--text-muted); opacity: 0.6; }
textarea.form-control { resize: vertical; min-height: 120px; line-height: 1.5; }

.modal-content::-webkit-scrollbar { width: 8px; }
.modal-content::-webkit-scrollbar-track { background: transparent; }
.modal-content::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }

/* Responsive Media Queries */
@media (max-width: 992px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-visual { display: none; }
    .trusted-by { justify-content: center; }
    [dir="rtl"] .badge-premium i { margin: 0; }
    .bento-grid { grid-template-columns: 1fr; }
    .featured-bento { grid-column: auto; }
}
@media (max-width: 768px) {
    .testimonials-slider { grid-template-columns: 1fr; }
    .feature-showcase { padding: 40px 24px; }
    .footer-content { flex-direction: column; gap: 40px; }
    .form-grid { grid-template-columns: 1fr; }
    .modal-content { padding: 30px 20px; }
}
@media (max-width: 600px) {
    .hero { padding: 140px 0 60px; }
    .t-hero-headline { font-size: 2.5rem; }
    .floating-wa { bottom: 90px; width: 50px; height: 50px; }
    [dir="rtl"] .floating-wa { left: 20px; }
    [dir="ltr"] .floating-wa { right: 20px; }
    .sticky-cta-mobile { display: block; }
    header .hero-actions .btn { display: none; }
}
/* Success Modal Styles */
/* Success Card specific tweaks */
.success-card {
    position: relative; background: #1a1a1a; width: 90%; max-width: 450px;
    border-radius: 30px; border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    overflow: hidden; transform: scale(0.9) translateY(20px);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.modal-system.show .success-card { transform: scale(1) translateY(0); }
.success-top {
    height: 200px; background: linear-gradient(135deg, #FFD700 0%, #B8860B 100%);
    position: relative; display: flex; align-items: center; justify-content: center;
}
.success-check-lottie {
    width: 100px; height: 100px; background: rgba(255,255,255,0.2);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    border: 4px solid #fff; box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    animation: success-bounce 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes success-bounce {
    0% { transform: scale(0) rotate(-45deg); opacity: 0; }
    80% { transform: scale(1.1) rotate(5deg); }
    100% { transform: scale(1) rotate(0); opacity: 1; }
}

/* Confetti Effect Simulation */

/* Confetti Effect Simulation */
.confetti-container {
    position: absolute; inset: 0; pointer-events: none;
}
.modal-system.show .confetti-container::before {
    content: '✨'; position: absolute; left: 20%; top: 20%; animation: float 3s infinite;
}
.modal-system.show .confetti-container::after {
    content: '🎉'; position: absolute; right: 20%; bottom: 20%; animation: float 4s infinite 1s;
}
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-20px) rotate(20deg); }
}
