/* =========================================
   Landify Store - Global Stylesheet
   Design: Dark Premium + Purple Glow
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800;900&family=Outfit:wght@400;600;700;800;900&display=swap');

/* ---- Variables ---- */
:root {
    --primary:      #7c3aed;
    --primary-light:#9f67ff;
    --primary-glow: rgba(124, 58, 237, 0.4);
    --accent:       #06b6d4;
    --bg:           #080810;
    --bg-2:         #0f0f1a;
    --card:         rgba(255,255,255,0.03);
    --card-hover:   rgba(255,255,255,0.05);
    --border:       rgba(255,255,255,0.08);
    --text:         #f1f1f1;
    --muted:        #8b8fa8;
    --success:      #10b981;
    --warning:      #f59e0b;
    --danger:       #ef4444;
    --radius-xl:    24px;
    --radius-lg:    16px;
    --radius-md:    10px;
    --radius-sm:    6px;
    --shadow:       0 25px 50px rgba(0,0,0,0.6);
    --t:            all 0.3s cubic-bezier(.4,0,.2,1);
}

/* ---- Resets ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Cairo', sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 15px;
    line-height: 1.7;
    direction: rtl;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: var(--t); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
input, textarea, select, button { font-family: inherit; }

/* ---- Layout ---- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.text-center { text-align: center; }

/* ---- Blobs ---- */
body::before, body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
    z-index: -1;
    pointer-events: none;
}
body::before { width: 600px; height: 600px; top: -100px; right: -150px; background: var(--primary); }
body::after  { width: 600px; height: 600px; bottom: 0; left: -200px; background: var(--accent);  opacity: 0.15; }

/* ---- Typography ---- */
h1 { font-size: clamp(36px, 5vw, 64px); font-weight: 900; line-height: 1.15; }
h2 { font-size: clamp(28px, 3vw, 44px); font-weight: 800; line-height: 1.2; }
h3 { font-size: 22px; font-weight: 700; }
h4 { font-size: 18px; font-weight: 700; }

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

/* ---- Buttons ---- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 28px; border-radius: var(--radius-md);
    font-size: 15px; font-weight: 700; cursor: pointer; border: none;
    transition: var(--t); white-space: nowrap;
}
.btn-primary   { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; box-shadow: 0 0 20px var(--primary-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 30px var(--primary-glow); }
.btn-outline   { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-glass     { background: rgba(255,255,255,0.07); backdrop-filter: blur(10px); color: #fff; border: 1px solid var(--border); }
.btn-glass:hover { background: rgba(255,255,255,0.12); }
.btn-danger    { background: var(--danger); color: #fff; }
.btn-success   { background: var(--success); color: #fff; }
.btn-sm        { padding: 8px 18px; font-size: 13px; }
.btn-lg        { padding: 16px 40px; font-size: 17px; }

/* ---- Cards ---- */
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--t);
}
.card:hover { background: var(--card-hover); border-color: rgba(255,255,255,0.12); transform: translateY(-6px); }
.glass-card {
    background: rgba(15,15,26,0.7);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
}

/* ---- Badge & Tag ---- */
.badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 14px; border-radius: 100px; font-size: 13px; font-weight: 700;
}
.badge-primary { background: rgba(124,58,237,0.15); color: var(--primary-light); border: 1px solid rgba(124,58,237,0.3); }
.badge-success { background: rgba(16,185,129,0.15); color: var(--success); }
.badge-warning { background: rgba(245,158,11,0.15); color: var(--warning); }
.badge-danger  { background: rgba(239,68,68,0.15);  color: var(--danger); }
.badge-info    { background: rgba(6,182,212,0.15);   color: var(--accent); }

/* ---- Forms ---- */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 14px; color: var(--muted); }
.form-control {
    width: 100%; padding: 12px 18px; background: rgba(255,255,255,0.04);
    border: 1px solid var(--border); border-radius: var(--radius-md);
    color: var(--text); font-size: 15px; font-family: inherit;
    transition: var(--t);
}
.form-control:focus { outline: none; border-color: var(--primary); background: rgba(124,58,237,0.05); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control option { background: #1a1a2e; }

/* ---- Navbar ---- */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 999;
    padding: 18px 0; transition: var(--t);
}
.navbar.scrolled {
    background: rgba(8,8,16,0.9);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--border);
    padding: 12px 0;
}
.nav-logo { font-family: 'Outfit', sans-serif; font-size: 24px; font-weight: 900; color: #fff; display: flex; align-items: center; gap: 10px; }
.nav-logo i { color: var(--primary); }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 15px; padding: 8px 0; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -2px; right: 0; width: 0; height: 2px; background: var(--primary); transition: width 0.3s; }
.nav-links a:hover,.nav-links a.active { color: #fff; }
.nav-links a:hover::after,.nav-links a.active::after { width: 100%; }
.nav-links { display: flex; gap: 30px; }
.nav-bar { display: flex; align-items: center; justify-content: space-between; }
.nav-actions { display: flex; gap: 12px; align-items: center; }

/* ---- Section Heading ---- */
.section-heading { margin-bottom: 60px; }
.section-heading .pre-label { color: var(--primary-light); font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; display: block; margin-bottom: 12px; }
.section-heading p { color: var(--muted); font-size: 17px; max-width: 600px; margin: 15px auto 0; }

/* ---- Product Cards (Store) ---- */
.product-card { overflow: hidden; padding: 0; }
.product-card .thumb { height: 240px; overflow: hidden; position: relative; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .thumb img { transform: scale(1.07); }
.product-card .thumb-overlay {
    position: absolute; inset: 0; background: rgba(0,0,0,0.6);
    opacity: 0; transition: opacity 0.3s;
    display: flex; align-items: center; justify-content: center; gap: 12px;
}
.product-card:hover .thumb-overlay { opacity: 1; }
.product-card .body { padding: 20px 22px; }
.product-card .meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 13px; }
.product-card .cat { color: var(--accent); font-weight: 700; }
.product-card .rating { color: #fbbf24; font-weight: 700; }
.product-card .title { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.product-card .title a { color: #fff; }
.product-card .excerpt { color: var(--muted); font-size: 13px; line-height: 1.6; margin-bottom: 18px; min-height: 40px; }
.product-card .card-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--border); }
.product-card .price { font-family: 'Outfit', sans-serif; font-size: 22px; font-weight: 900; color: var(--primary-light); }

/* ---- Category Filters ---- */
.filters-wrap { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn { background: transparent; border: 1px solid var(--border); color: var(--muted); padding: 9px 22px; border-radius: 100px; cursor: pointer; font-family: inherit; font-size: 14px; font-weight: 600; transition: var(--t); }
.filter-btn.active, .filter-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---- Packages Section ---- */
.package-card { padding: 36px; text-align: center; position: relative; }
.package-card.featured { border-color: var(--primary); box-shadow: 0 0 30px var(--primary-glow); }
.package-card.featured .badge-featured { position: absolute; top: -16px; right: 50%; transform: translateX(50%); background: var(--primary); color: #fff; padding: 5px 18px; border-radius: 100px; font-size: 13px; font-weight: 700; }
.package-price { font-family: 'Outfit', sans-serif; font-size: 48px; font-weight: 900; color: #fff; margin: 20px 0; }
.package-price span { font-size: 18px; color: var(--muted); font-weight: 400; }
.package-icon { width: 64px; height: 64px; border-radius: 50%; background: rgba(124,58,237,0.15); border: 1px solid rgba(124,58,237,0.3); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; color: var(--primary-light); font-size: 22px; }
.features-list { text-align: right; margin: 24px 0; }
.features-list li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--border); color: var(--muted); font-size: 14px; }
.features-list li:last-child { border: none; }
.features-list li i { color: var(--success); }

/* ---- Order Success / Alert ---- */
.alert { padding: 16px 20px; border-radius: var(--radius-md); font-weight: 600; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.alert-success { background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.3); color: var(--success); }
.alert-danger   { background: rgba(239,68,68,0.1);  border: 1px solid rgba(239,68,68,0.3);  color: var(--danger); }
.alert-warning  { background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.3); color: var(--warning); }

/* ---- Status Badges ---- */
.status-pending   { @extend .badge; background: rgba(245,158,11,0.15); color: var(--warning); }
.status-confirmed { @extend .badge; background: rgba(6,182,212,0.15); color: var(--accent); }
.status-delivered { @extend .badge; background: rgba(16,185,129,0.15); color: var(--success); }
.status-cancelled { @extend .badge; background: rgba(239,68,68,0.15); color: var(--danger); }

/* ---- Hero ---- */
.hero-section { min-height: 100vh; display: flex; align-items: center; padding-top: 100px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.hero-label { color: var(--primary-light); font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; display: block; margin-bottom: 16px; }
.hero-desc { color: var(--muted); font-size: 18px; max-width: 520px; margin: 24px 0 40px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats-wrap { display: flex; gap: 36px; padding-top: 32px; border-top: 1px solid var(--border); }
.hero-stat h3 { font-family: 'Outfit', sans-serif; font-size: 36px; font-weight: 900; color: #fff; background: linear-gradient(135deg, var(--primary-light), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-stat p { color: var(--muted); font-size: 13px; font-weight: 600; margin-top: 2px; }

/* ---- Live Preview Box ---- */
.mockup { position: relative; }
.mockup-browser { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow); }
.mockup-topbar { display: flex; gap: 6px; align-items: center; padding: 12px 16px; background: rgba(255,255,255,0.02); border-bottom: 1px solid var(--border); }
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dot-r { background: #ef4444; }
.mockup-dot-y { background: #f59e0b; }
.mockup-dot-g { background: #10b981; }
.mockup-url   { flex: 1; background: rgba(255,255,255,0.04); border-radius: 6px; padding: 5px 12px; font-size: 12px; color: var(--muted); margin: 0 10px; }
.mockup-screen img { width: 100%; }
.float-tag { position: absolute; background: rgba(15,15,26,0.9); backdrop-filter: blur(10px); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 12px 18px; font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.float-tag i { color: var(--primary); }
.ft-1 { top: 10%; right: -40px; animation: floater 4s ease-in-out infinite alternate; }
.ft-2 { bottom: 10%; left: -40px; animation: floater 4s ease-in-out infinite alternate-reverse; color: var(--accent);}
@keyframes floater { from { transform: translateY(-8px); } to { transform: translateY(8px); } }

/* ---- CTA Section ---- */
.cta-section { padding: 80px 0; }
.cta-box { padding: 80px 60px; text-align: center; }
.cta-box p { color: var(--muted); font-size: 18px; max-width: 600px; margin: 16px auto 40px; }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--border); padding: 70px 0 30px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-about p { color: var(--muted); font-size: 14px; margin-top: 14px; max-width: 280px; line-height: 1.8; }
.footer-col h5 { font-size: 16px; margin-bottom: 20px; }
.footer-col a { display: block; color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.footer-col a:hover { color: var(--primary-light); padding-right: 4px; }
.socials-wrap { display: flex; gap: 12px; margin-top: 16px; }
.social-icon { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 15px; }
.social-icon:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.copy { text-align: center; color: var(--muted); font-size: 13px; padding-top: 24px; border-top: 1px solid var(--border); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; }
    .mockup { display: none; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-links, .nav-actions { display: none; }
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr; }
    .cta-box { padding: 40px 24px; }
    .hero-btns { flex-direction: column; }
}
