/* style.css - YMenu Premium Landing Page */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: #05050A;
    color: white;
    overflow-x: hidden;
    cursor: none;
    direction: rtl;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0F0F1A; }
::-webkit-scrollbar-thumb { background: #7C3AED; border-radius: 10px; }

/* Mouse Glow */
.mouse-glow {
    position: fixed;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, rgba(59, 130, 246, 0.1) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    filter: blur(45px);
}

/* Progress Bar */
.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 10000;
}
.progress-bar {
    height: 4px;
    background: linear-gradient(90deg, #8B5CF6, #3B82F6, #F97316);
    width: 0%;
    transition: width 0.1s ease-out;
}

/* Animated Backgrounds */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: radial-gradient(circle at 20% 30%, #0A0A14, #010101);
}
.animated-gradient-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(ellipse at 60% 40%, rgba(139, 92, 246, 0.12), transparent 60%);
    animation: subtleShift 14s infinite alternate;
}
@keyframes subtleShift {
    0% { transform: scale(1) translate(0%, 0%); opacity: 0.6; }
    100% { transform: scale(1.2) translate(5%, 3%); opacity: 1; }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    padding: 1.25rem 2rem;
    background: rgba(20, 20, 35, 0.55);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.25);
}
.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.nav-links {
    display: flex;
    gap: 2rem;
    font-weight: 500;
}
.nav-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}
.nav-links a:hover { color: #a855f7; }
.cta-nav {
    background: linear-gradient(135deg, #7c3aed, #2563eb);
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    color: white;
    box-shadow: 0 0 12px rgba(124, 58, 237, 0.4);
    transition: transform 0.2s;
}
.cta-nav:hover { transform: scale(1.05); }

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Hero Section */
.hero {
    padding: 7rem 0 5rem;
    position: relative;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.hero-content { z-index: 2; }
.hero-badge {
    display: inline-block;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 9999px;
    padding: 0.35rem 1rem;
    font-size: 0.875rem;
    color: #d8b4fe;
    margin-bottom: 1.5rem;
}
.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff, #c4b5fd, #93c5fd);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-title span { color: white; background: none; -webkit-background-clip: unset; }
.hero-subtitle {
    font-size: 1.25rem;
    color: #9ca3af;
    margin: 1.5rem 0 2rem;
    max-width: 90%;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary, .btn-secondary {
    padding: 0.75rem 2rem;
    border-radius: 1rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
}
.btn-primary {
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
    box-shadow: 0 10px 25px -5px rgba(124, 58, 237, 0.5);
    color: white;
}
.btn-primary:hover { transform: scale(1.02); box-shadow: 0 20px 30px -10px rgba(124, 58, 237, 0.6); }
.btn-secondary {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); }

.hero-mockup { position: relative; display: flex; justify-content: center; }
.mockup-card {
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(139,92,246,0.5);
    border-radius: 2rem;
    padding: 2rem;
    text-align: center;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 25px 40px -12px black;
}
.mockup-icon { font-size: 5rem; color: #a855f7; margin-bottom: 1rem; animation: float 5s infinite; }
.mockup-title { font-weight: bold; font-size: 1.2rem; display: block; margin: 1rem 0 0.5rem; }
.mockup-desc { color: #9ca3af; font-size: 0.875rem; }
.mockup-note { font-size: 0.7rem; color: #c084fc; margin-top: 1rem; }
.floating-icon {
    position: absolute;
    font-size: 2rem;
    opacity: 0.6;
}
.icon-1 { top: -1rem; left: -1rem; animation: float 4s infinite; }
.icon-2 { bottom: -1rem; right: -1rem; animation: float 5s infinite 1s; }
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}
.bg-icons { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.bg-icons i { position: absolute; font-size: 3rem; color: rgba(139,92,246,0.1); }
.bg-icons i:first-child { top: 20%; left: 5%; }
.bg-icons i:last-child { bottom: 15%; right: 8%; }

/* Section Common */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-title { font-size: 2.5rem; font-weight: 800; background: linear-gradient(135deg, #a855f7, #60a5fa); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-subtitle { font-size: 1.5rem; color: #f97316; margin-top: 0.5rem; }

/* Cards */
.glass-card {
    background: rgba(15, 15, 25, 0.45);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 1.5rem;
    padding: 1.5rem;
    transition: all 0.3s;
}
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.glass-card i { font-size: 2.5rem; color: #a855f7; margin-bottom: 1rem; display: inline-block; }
.glass-card h3 { font-size: 1.25rem; font-weight: bold; margin-bottom: 0.5rem; }
.glass-card p { color: #9ca3af; line-height: 1.5; }
.qr-note { font-size: 0.7rem; color: #f97316; margin-top: 0.75rem; }

/* Dashboard */
.dashboard { margin-bottom: 3rem; padding: 2rem; }
.dashboard h3 { display: flex; align-items: center; gap: 0.5rem; font-size: 1.5rem; margin-bottom: 1.5rem; }
.dashboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.chart-container canvas { max-height: 280px; width: 100%; background: rgba(0,0,0,0.3); border-radius: 1rem; padding: 0.5rem; }
.counters-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.counter-card { background: rgba(255,255,255,0.05); border-radius: 1rem; padding: 1rem; text-align: center; }
.counter-value { font-size: 2.5rem; font-weight: 800; color: #a855f7; }
.pos-features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.img-placeholder {
    background: linear-gradient(135deg, #1E1B2E, #0F0F1A);
    border-radius: 1.5rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    border: 1px dashed #8B5CF6;
    margin: 2rem 0;
    text-align: center;
}
.img-placeholder i { font-size: 3rem; color: #a855f7; }

/* Why Section */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; margin: 2rem 0; }
.text-center { text-align: center; }
.timeline-title { text-align: center; font-size: 1.8rem; font-weight: bold; margin: 3rem 0 1.5rem; }
.timeline-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.step { width: 180px; text-align: center; padding: 1rem; }
.step span { font-size: 2rem; font-weight: 800; color: #a855f7; display: block; }

/* Offers Section */
.offer-card {
    position: relative;
    padding: 2.5rem;
    text-align: center;
    border: 1px solid #f97316;
    overflow: hidden;
}
.offer-glow {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(249,115,22,0.2), transparent);
    animation: pulseGlowBg 6s infinite;
}
@keyframes pulseGlowBg {
    0% { opacity: 0.3; transform: scale(1);}
    100% { opacity: 0.6; transform: scale(1.1);}
}
.offer-badge {
    background: linear-gradient(135deg, #F97316, #EA580C);
    box-shadow: 0 0 18px #F97316;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-weight: bold;
    color: black;
    margin-bottom: 1rem;
}
.offer-title { font-size: 2.5rem; font-weight: 800; margin: 1rem 0 0.5rem; }
.offer-tagline { font-size: 1.3rem; color: #fdba74; }
.offer-prices { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; margin: 2rem 0; }
.price-item { background: rgba(0,0,0,0.4); border-radius: 1rem; padding: 1rem 1.5rem; min-width: 220px; }
.old-price { text-decoration: line-through; color: #9ca3af; font-size: 1.2rem; margin-left: 0.5rem; }
.new-price { font-size: 2rem; font-weight: 800; color: #f97316; }
.bundle-offer { background: linear-gradient(135deg, #f97316, #dc2626); border-radius: 1rem; padding: 1rem; font-weight: bold; font-size: 1.3rem; margin: 1rem 0; }
.offer-note { background: rgba(255,255,255,0.05); border-radius: 2rem; padding: 0.75rem; font-size: 0.9rem; margin: 1rem 0; }
.countdown { display: flex; justify-content: center; gap: 1.5rem; margin: 2rem 0; }
.countdown div { background: rgba(0,0,0,0.4); border-radius: 1rem; padding: 0.5rem 1rem; min-width: 80px; }
.countdown span { font-size: 2rem; font-weight: 800; display: block; }
.btn-offer { display: inline-block; background: white; color: black; padding: 1rem 2rem; border-radius: 9999px; font-weight: 800; text-decoration: none; margin-top: 1rem; transition: 0.2s; }
.btn-offer:hover { transform: scale(1.03); }

/* Footer */
.footer { text-align: center; padding: 3rem 0; border-top: 1px solid rgba(139,92,246,0.3); margin-top: 2rem; }
.social-icons { display: flex; justify-content: center; gap: 1.5rem; margin: 1.5rem 0; }
.social-icons a { font-size: 1.8rem; color: #c084fc; transition: 0.2s; }
.social-icons a:hover { color: white; }
.copyright { color: #6b7280; font-size: 0.8rem; }

/* Responsive */
@media (max-width: 768px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-subtitle { max-width: 100%; }
    .nav-links { display: none; }
    .dashboard-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 1.8rem; }
    .offer-prices { flex-direction: column; align-items: center; }
    .countdown div { min-width: 60px; }
    .container { padding: 0 1rem; }
}

/* Scroll Reveal base (JS will handle) */
.reveal-el { opacity: 0; transform: translateY(30px); }

/* 3D Tilt & Magnetic */
.tilt-card { transition: transform 0.2s; }
.magnetic-btn { display: inline-block; transition: transform 0.2s; }