/* ==========================================================================
   Xcr9 Host - High-End Spatial Glassmorphism 2.0 (OLED Dark Theme)
   Clean, Ultra-Sleek, Luxury UI Layout & Components
   ========================================================================== */

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

:root {
    /* Pure OLED Dark Background */
    --bg-oled: #000000;
    --bg-surface: #070a12;
    --bg-surface-elevated: #0d1222;

    /* Glassmorphism 2.0 Spec */
    --glass-fill: rgba(255, 255, 255, 0.035);
    --glass-fill-hover: rgba(255, 255, 255, 0.075);
    --glass-border: rgba(255, 255, 255, 0.10);
    --glass-border-hover: rgba(0, 242, 254, 0.45);
    --glass-inner-light: inset 0 1px 1px 0 rgba(255, 255, 255, 0.18);

    /* Neon Accents */
    --neon-blue: #00f2fe;
    --neon-cyan: #38bdf8;
    --neon-violet: #7f53ac;
    --neon-purple: #9d4edd;
    --neon-teal: #00f5d4;
    --neon-emerald: #10b981;

    /* Text Colors */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    /* Spatial Gradients */
    --gradient-cyan-teal: linear-gradient(135deg, #00f2fe 0%, #00f5d4 100%);
    --gradient-purple-violet: linear-gradient(135deg, #9d4edd 0%, #7f53ac 100%);
    --gradient-btn-primary: linear-gradient(135deg, #00f2fe 0%, #00f5d4 100%);

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Fonts — Vazirmatn for all Persian text & numbers */
    --font-fa: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-en: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ==========================================================================
   Base Setup
   ========================================================================== */

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

html {
    font-family: var(--font-fa);
    direction: rtl;
    text-align: right;
    scroll-behavior: smooth;
    background-color: var(--bg-oled);
    color: var(--text-main);
    font-size: 15px;
    line-height: 1.6;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    background-color: var(--bg-oled);
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-oled); }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.15); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--neon-blue); }

::selection {
    background: rgba(0, 242, 254, 0.3);
    color: #ffffff;
}

/* ==========================================================================
   Ambient Neon Fluid Background
   ========================================================================== */

.ambient-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
    background: #000000;
}

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

.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.35;
    will-change: transform;
    animation: ambientMesh 20s ease-in-out infinite alternate;
}

.orb-blue {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.45) 0%, transparent 70%);
    top: -100px;
    left: -100px;
}

.orb-violet {
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(127, 83, 172, 0.45) 0%, transparent 70%);
    top: 35%;
    right: -150px;
    animation-delay: -6s;
}

.orb-teal {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 245, 212, 0.35) 0%, transparent 70%);
    bottom: -100px;
    left: 25%;
    animation-delay: -12s;
}

@keyframes ambientMesh {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -30px) scale(1.08); }
    100% { transform: translate(-20px, 20px) scale(0.95); }
}

.ambient-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.5;
}

/* ==========================================================================
   Spatial Glass Cards System
   ========================================================================== */

.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    position: relative;
    z-index: 1;
}

.glass-card {
    background: var(--glass-fill);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-inner-light), 0 20px 40px -15px rgba(0, 0, 0, 0.8);
    border-radius: var(--radius-xl);
    padding: 2.2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
    background: var(--glass-fill-hover);
    border-color: var(--glass-border-hover);
    box-shadow: inset 0 1px 2px 0 rgba(255, 255, 255, 0.25), 0 25px 50px -10px rgba(0, 242, 254, 0.18);
    transform: translateY(-4px);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

/* Typography Gradient */
.text-gradient {
    background: linear-gradient(to right, #00f2fe, #00f5d4, #7f53ac, #00f2fe);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 8s ease-in-out infinite;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ==========================================================================
   Translucent Floating Navigation Bar
   ========================================================================== */

.navbar-wrapper {
    position: fixed;
    top: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 3rem);
    max-width: 1280px;
    z-index: 1000;
}

.navbar {
    height: 64px;
    background: rgba(8, 12, 22, 0.65);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.2), 0 20px 40px rgba(0, 0, 0, 0.85);
    border-radius: var(--radius-full);
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(4, 7, 15, 0.90);
    border-color: rgba(0, 242, 254, 0.35);
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.25), 0 20px 40px rgba(0, 242, 254, 0.15);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 800;
    font-size: 1.2rem;
    white-space: nowrap;
}

.logo-badge {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.35);
    flex-shrink: 0;
    overflow: hidden;
    padding: 0;
}

.brand-title span {
    color: var(--neon-teal);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.8rem;
    list-style: none;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--neon-blue);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

/* Currency Selector Pills */
.currency-selector {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    padding: 3px;
}

.currency-btn {
    padding: 0.3rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    border: none;
    background: transparent;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.2s;
}

.currency-btn.active {
    background: var(--gradient-cyan-teal);
    color: #020617;
    box-shadow: 0 2px 10px rgba(0, 242, 254, 0.35);
}

/* Buttons System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.4rem;
    font-family: var(--font-fa);
    font-size: 0.88rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    user-select: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-btn-primary);
    color: #020617;
    box-shadow: 0 4px 20px rgba(0, 242, 254, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 245, 212, 0.45);
    filter: brightness(1.08);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text-main);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: var(--neon-blue);
    color: #ffffff;
}

/* Mobile hamburger */
.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
    display: none;
}

@media (max-width: 992px) {
    .nav-menu { display: none; }

    .nav-toggle { display: inline-flex; }

    .navbar {
        height: 58px;
        padding: 0 0.85rem;
        border-radius: 18px;
        gap: 0.5rem;
    }

    .navbar-wrapper {
        top: 0.75rem;
        width: calc(100% - 1.25rem);
    }

    .brand-title { font-size: 1.05rem; }

    .nav-actions .btn-secondary span { font-size: 0.8rem; }
    .nav-actions .btn-secondary { padding: 0.5rem 0.85rem; }
    .currency-btn { padding: 0.28rem 0.55rem; font-size: 0.72rem; }

    .mobile-nav {
        display: none;
        margin-top: 0.65rem;
        padding: 0.85rem;
        background: rgba(8, 12, 22, 0.92);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: var(--radius-lg);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.75);
    }

    .mobile-nav.open { display: block; }

    .mobile-nav ul {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 0.35rem;
    }

    .mobile-nav a {
        display: block;
        padding: 0.85rem 1rem;
        color: var(--text-main);
        text-decoration: none;
        font-weight: 700;
        font-size: 0.95rem;
        border-radius: var(--radius-md);
        transition: background 0.2s, color 0.2s;
    }

    .mobile-nav a:hover,
    .mobile-nav a:focus-visible {
        background: rgba(0, 242, 254, 0.1);
        color: var(--neon-blue);
    }
}

@media (max-width: 480px) {
    .nav-actions .btn-secondary span { display: none; }
    .nav-actions .btn-secondary::after { content: "ورود"; font-size: 0.8rem; font-weight: 700; }
}

/* ==========================================================================
   Hero Section Layout
   ========================================================================== */

.hero-section {
    padding-top: 8.5rem;
    padding-bottom: 4rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 1.5rem;
    align-items: stretch;
}

@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; }
}

.hero-main-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.35rem 0.9rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--neon-emerald);
    width: fit-content;
    margin-bottom: 1.25rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--neon-emerald);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-emerald);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Stat Box Grid inside Hero */
.hero-side-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stat-box-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.stat-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 1.2rem;
    text-align: center;
}

.stat-val {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--neon-blue);
    font-family: var(--font-en);
}

.stat-lbl {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3rem auto;
}

.section-tag {
    display: inline-block;
    padding: 0.3rem 0.9rem;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.22);
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--neon-blue);
    margin-bottom: 0.6rem;
    letter-spacing: 0.05em;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 0.6rem;
}

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

/* ==========================================================================
   Bento Features System
   ========================================================================== */

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.25rem;
}

.bento-span-8 { grid-column: span 8; }
.bento-span-4 { grid-column: span 4; }

@media (max-width: 992px) {
    .bento-span-8, .bento-span-4 { grid-column: span 12; }
}

.bento-icon {
    font-size: 2.2rem;
    margin-bottom: 0.6rem;
}

.bento-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.bento-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ==========================================================================
   Datacenter Tabs & Subfilters
   ========================================================================== */

.provider-tabs-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.provider-tabs {
    display: inline-flex;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    padding: 4px;
    gap: 0.4rem;
}

.tab-btn {
    padding: 0.6rem 1.6rem;
    font-family: var(--font-fa);
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-muted);
    border: none;
    background: transparent;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.25s;
}

.tab-btn.active {
    background: var(--gradient-cyan-teal);
    color: #020617;
    box-shadow: 0 4px 18px rgba(0, 242, 254, 0.3);
}

.subfilter-row {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.subfilter-pill {
    padding: 0.45rem 1.1rem;
    font-size: 0.82rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.subfilter-pill.active, .subfilter-pill:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--neon-teal);
    color: var(--text-main);
}

.provider-info-box {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 1.3rem 1.6rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.location-tags {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.location-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.8rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 600;
}

/* ==========================================================================
   Pricing Cards Grid
   ========================================================================== */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 992px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .pricing-grid { grid-template-columns: 1fr; }
}

.plan-card {
    display: flex;
    flex-direction: column;
}

.plan-card.popular {
    border-color: var(--neon-teal);
    background: linear-gradient(160deg, rgba(0, 245, 212, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.25), 0 20px 40px -10px rgba(0, 245, 212, 0.2);
}

.popular-badge {
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    padding: 0.2rem 0.7rem;
    background: var(--gradient-cyan-teal);
    color: #020617;
    font-size: 0.72rem;
    font-weight: 900;
    border-radius: var(--radius-full);
}

.plan-name {
    font-size: 1.35rem;
    font-weight: 900;
    margin-bottom: 0.3rem;
}

.plan-badge-tag {
    font-size: 0.76rem;
    color: var(--neon-cyan);
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.plan-price-box {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 1.2rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.price-val {
    font-size: 2rem;
    font-weight: 900;
    color: #ffffff;
    font-family: var(--font-en);
    direction: ltr;
}

.price-hourly {
    font-size: 0.75rem;
    color: var(--neon-teal);
    margin-top: 0.3rem;
    font-weight: 700;
}

.plan-specs {
    list-style: none;
    margin-bottom: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.88rem;
}

.spec-icon {
    width: 26px;
    height: 26px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

/* ==========================================================================
   Customizer Configurator
   ========================================================================== */

.customizer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .customizer-grid { grid-template-columns: 1fr; }
}

.slider-group {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.9rem;
}

.slider-label {
    font-weight: 700;
    font-size: 0.9rem;
}

.slider-value {
    font-family: var(--font-en);
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--neon-teal);
}

.range-slider {
    width: 100%;
    height: 7px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    -webkit-appearance: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gradient-cyan-teal);
    cursor: pointer;
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.5);
    transition: transform 0.15s;
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.customizer-summary {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 245, 212, 0.4);
    border-radius: var(--radius-lg);
    padding: 1.3rem 1.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.summary-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.summary-badge {
    padding: 0.3rem 0.75rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
}

/* ==========================================================================
   Old FAQ Accordion (Commented out to prevent conflict with Glassmorphism styles)
   ========================================================================== */
/*
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    max-width: 860px;
    margin: 0 auto;
}

.faq-item {
    background: var(--glass-fill);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.25s;
}

.faq-question {
    width: 100%;
    padding: 1.15rem 1.4rem;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-family: var(--font-fa);
    font-size: 1rem;
    font-weight: 700;
    text-align: right;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-icon {
    font-size: 0.75rem;
    color: var(--neon-teal);
    transition: transform 0.3s;
}

.faq-answer {
    padding: 0 1.4rem 1.15rem 1.4rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    display: none;
    line-height: 1.7;
}

.faq-item.active {
    border-color: rgba(0, 242, 254, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    display: block;
}
*/

/* ==========================================================================
   Translucent Action Modal
   ========================================================================== */

.modal-backdrop {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.glass-modal {
    background: rgba(10, 14, 24, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.25), 0 30px 80px rgba(0, 242, 254, 0.2);
    border-radius: var(--radius-xl);
    padding: 2.2rem;
    width: 100%;
    max-width: 500px;
    position: relative;
    transform: scale(0.95) translateY(15px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active .glass-modal {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.modal-title {
    font-size: 1.3rem;
    font-weight: 800;
}

.close-modal-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s;
}

.close-modal-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.form-group {
    margin-bottom: 1.1rem;
}

.form-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.form-input {
    width: 100%;
    padding: 0.7rem 0.9rem;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-main);
    font-family: var(--font-fa);
    font-size: 0.88rem;
    outline: none;
    transition: border-color 0.2s;
}

.form-input:focus {
    border-color: var(--neon-blue);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
    margin-bottom: 1.25rem;
}

.payment-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 0.7rem 0.4rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.payment-card.active {
    border-color: var(--neon-teal);
    background: rgba(0, 245, 212, 0.1);
    box-shadow: 0 0 15px rgba(0, 245, 212, 0.2);
}

.payment-icon {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.payment-name {
    font-size: 0.73rem;
    font-weight: 700;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    padding-top: 4rem;
    padding-bottom: 2.5rem;
    margin-top: 5rem;
    border-top: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.85);
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 3.5rem;
}

@media (max-width: 992px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .footer-grid { grid-template-columns: 1fr; }
}

.footer-col-title {
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 1.1rem;
    color: #ffffff;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--neon-blue);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-dim);
    font-size: 0.82rem;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ============================================================
   FAQ Accordion — Glassmorphism Spatial Style
   ============================================================ */

.faq-section {
    background: transparent;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 860px;
    margin: 2.5rem auto 0;
}

.faq-item {
    background: rgba(10, 16, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(0, 212, 255, 0.25);
}

.faq-item.active {
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.08);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    font-family: var(--font-fa);
    font-size: 1rem;
    font-weight: 600;
    text-align: right;
    direction: rtl;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: var(--neon-teal);
}

.faq-item.active .faq-question {
    color: var(--neon-teal);
}

.faq-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.1);
    color: var(--neon-teal);
    font-size: 1.2rem;
    font-weight: 300;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease;
    line-height: 1;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: rgba(0, 212, 255, 0.2);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    padding: 0 1.5rem;
    direction: rtl;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 1.5rem 1.3rem;
}

.faq-answer p {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.85;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1rem;
}

/* Fixed eNAMAD trust seal */
.enamad-float {
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 9999;
  display: block;
  line-height: 0;
  background: #000;
  border-radius: 12px;
  padding: 4px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.enamad-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
}
.enamad-float img {
  width: 104px;
  height: auto;
  display: block;
  cursor: pointer;
  border-radius: 8px;
}
@media (max-width: 640px) {
  .enamad-float { left: 10px; bottom: 10px; }
  .enamad-float img { width: 83px; }
}
