/* --- GLOBAL ECOSYSTEM STYLES --- */
:root {
    /* Core Brand Colors */
    --bg-color: #f8fdf2;
    --brand-main: #71d200;
    --brand-dark: #4f9300;
    --brand-light: rgba(113, 210, 0, 0.12);
    
    /* Text Colors */
    --text-black: #111111;
    --text-dark: #222222;
    --text-medium: #555555;
    --text-muted: #666666;
    
    /* Backgrounds & Cards */
    --card-bg: rgba(255, 255, 255, 0.85);
    --white: #ffffff;
    --white-95: rgba(255, 255, 255, 0.95);
    --white-alpha-70: rgba(255, 255, 255, 0.7);
    --white-alpha-0: rgba(255, 255, 255, 0);
    
    /* Grays */
    --gray-light: #fafafa;
    --gray-border: #cccccc;
    --gray-shadow: #bbbbbb;

    /* Alpha (Transparent) Brand Variations */
    --brand-main-alpha-5: rgba(113, 210, 0, 0.05);
    --brand-main-alpha-15: rgba(113, 210, 0, 0.15);
    --brand-main-alpha-20: rgba(113, 210, 0, 0.2);
    --brand-main-alpha-25: rgba(113, 210, 0, 0.25);
    --brand-main-alpha-30: rgba(113, 210, 0, 0.3);

    --brand-dark-alpha-15: rgba(79, 147, 0, 0.15);
    --brand-dark-alpha-20: rgba(79, 147, 0, 0.2);
    --brand-dark-alpha-30: rgba(79, 147, 0, 0.3);
    --brand-dark-alpha-35: rgba(79, 147, 0, 0.35);

    --black-alpha-15: rgba(0, 0, 0, 0.15);

    /* Gradients */
    --gradient-color-1: #5cb300;
    --gradient-color-2: #c5f299;

    /* Pricing Themes - Bronze */
    --bronze-main: #cd7f32;
    --bronze-dark: #a05d1c;
    --bronze-bg: #fffbf5;
    --bronze-alpha-25: rgba(205, 127, 50, 0.25);
    --bronze-alpha-40: rgba(205, 127, 50, 0.4);

    /* Pricing Themes - Silver */
    --silver-main: #9ba1a6;
    --silver-dark: #72787d;
    --silver-bg: #f4f5f7;
    --silver-alpha-25: rgba(155, 161, 166, 0.25);
    --silver-alpha-40: rgba(155, 161, 166, 0.4);

    /* Pricing Themes - Gold */
    --gold-main: #d4af37;
    --gold-dark: #b8860b;
    --gold-bg: #fffdf5;
    --gold-alpha-35: rgba(212, 175, 55, 0.35);
    --gold-alpha-40: rgba(212, 175, 55, 0.4);
}

html, body, * {
    -webkit-text-size-adjust: 100% !important; 
    text-size-adjust: 100% !important;
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
    -webkit-tap-highlight-color: transparent; 
}

@font-face {
    font-family: 'Vazir';
    src: url('../res/Vazir.ttf') format('truetype');
    font-weight: normal; 
    font-style: normal;
}

body, html {
    background-color: var(--bg-color); 
    color: var(--text-dark);
    overflow-x: hidden; 
    font-family: 'Vazir', 'Segoe UI', Tahoma, sans-serif; 
    line-height: 1.6;
    background-image: radial-gradient(var(--brand-main-alpha-25) 1.5px, transparent 1.5px);
    background-size: 30px 30px; 
    animation: panBackground 15s linear infinite;
}

.container { 
    width: 100%; 
    max-width: 1140px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

.footer-text {
    margin-top: auto;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 10px;
    font-size: clamp(9.5px, 1.6vh, 11.5px);
    color: var(--text-muted);
    letter-spacing: 1px;
    opacity: 0;
    animation: fadeIn 1s ease forwards 1s;
}
    
/* --- HEADER & NAVBAR --- */
header { 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    padding: 10px 15px; 
}

.nav-container {
    display: flex; 
    flex-wrap: wrap; 
    justify-content: space-between; 
    align-items: center;
    background-color: var(--card-bg); 
    border: 3px solid var(--brand-main); 
    border-radius: 20px;
    box-shadow: 0 5px 0 var(--brand-main); 
    padding: 12.5px; 
    max-width: 800px; 
    margin: 0 auto; 
    backdrop-filter: blur(5px);
}

.nav-brand { 
    display: flex; 
    align-items: center; 
    text-decoration: none; 
    gap: 10px; 
}

.nav-brand img { 
    width: 38px; 
    height: 38px; 
    border-radius: 10px; 
}

.nav-brand span { 
    font-size: 13.5px; 
    font-weight: 900; 
    color: var(--brand-dark); 
}

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

.nav-item { 
    position: relative; 
}

.nav-link { 
    color: var(--text-dark); 
    text-decoration: none; 
    font-weight: 700; 
    font-size: 14px; 
    padding: 8px 16px; 
    border-radius: 14px; 
    transition: all 0.2s ease; 
    display: flex; 
    align-items: center; 
    gap: 6px; 
}

.nav-link:hover, .btn-link:hover { 
    color: var(--brand-dark); 
    background-color: var(--brand-light); 
}

.dropdown-menu { 
    display: none; 
    position: absolute; 
    top: calc(100% + 8px); 
    right: 0; 
    min-width: 175px; 
    list-style: none; 
    animation: fadeIn 0.3s ease; 
    background-color: var(--card-bg); 
    border: 3px solid var(--brand-main); 
    border-radius: 20px; 
    box-shadow: 0 5px 0 var(--brand-main); 
    padding: 10px; 
}

.nav-item:hover .dropdown-menu { 
    display: block; 
}

.dropdown-menu li a { 
    display: block; 
    padding: 8px 12px; 
    color: var(--text-dark); 
    text-decoration: none; 
    font-weight: 700; 
    font-size: 13px; 
    border-radius: 10px; 
    transition: all 0.2s; 
}

.dropdown-menu li a:hover { 
    background-color: var(--brand-light); 
    color: var(--brand-dark); 
}

.nav-toggle { 
    display: none; 
    background: none; 
    border: none; 
    font-size: 22px; 
    color: var(--brand-dark); 
    cursor: pointer; 
}

/* --- HERO SECTION --- */
.banner_section { 
    padding: clamp(40px, 8vh, 80px) 0 30px 0; 
}

.hero-row { 
    display: flex; 
    flex-direction: row; 
    align-items: center; 
    justify-content: center; 
    gap: 6vw; 
}

.logo-wrapper { 
    position: relative; 
    display: inline-flex; 
    justify-content: center; 
    align-items: center; 
    border-radius: 40px; 
    animation: premiumFloat 5s ease-in-out infinite; 
}

.zistmist-glow:before, .zistmist-glow:after { 
    content: ""; 
    position: absolute; 
    background: linear-gradient(45deg, var(--gradient-color-1), var(--brand-main), var(--gradient-color-2), var(--gradient-color-1)); 
    background-size: 300% 300%; 
    border-radius: 40px; 
    animation: glowingBorder 5s linear infinite; 
    z-index: -1; 
}

.zistmist-glow:before { 
    top: -10px; 
    left: -10px; 
    right: -10px; 
    bottom: -10px; 
    filter: blur(20px); 
    opacity: 0.85; 
}

.zistmist-glow:after { 
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0; 
}

.logo-img { 
    width: clamp(180px, 20vw, 250px); 
    height: clamp(180px, 20vw, 250px); 
    object-fit: contain; 
    border-radius: 40px; 
    z-index: 1; 
}

.hero-info { 
    max-width: 450px; 
    text-align: center; 
}

.animate-charcter { 
    background-image: linear-gradient(-225deg, var(--brand-dark) 0%, var(--brand-main) 35%, var(--gradient-color-2) 50%, var(--brand-main) 65%, var(--brand-dark) 100%); 
    background-size: 200% auto; 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
    animation: textclip 2.5s linear infinite; 
    font-size: clamp(25px, 4vw, 40px); 
    font-weight: 900; 
}

.description-card { 
    padding: 15px 0; 
    border-top: 2px dashed var(--brand-main-alpha-30); 
    border-bottom: 2px dashed var(--brand-main-alpha-30); 
}

.description { 
    font-size: clamp(13.5px, 2.5vw, 16px); 
    font-weight: 700; 
    color: var(--text-muted); 
}

/* --- 3D COMPONENTS & GRIDS --- */
.page-content { 
    padding-top: 40px; 
}

.section-title { 
    text-align: center; 
}

.section-title p { 
    font-size: clamp(13px, 2.5vw, 15px); 
    font-weight: 600; 
    color: var(--text-muted); 
    margin-top: 5px; 
}

.mb-large { 
    margin-bottom: 10px; 
}

/* The Core Theme Card Box */
.card-3d { 
    background-color: var(--card-bg); 
    border: 3px solid var(--brand-main); 
    border-radius: 20px; 
    box-shadow: 0 6px 0 var(--brand-main); 
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1); 
}

.card-3d:hover { 
    transform: translateY(4px); 
    box-shadow: 0 2px 0 var(--brand-main); 
}

/* The Core Theme Interactive Button Box */
.btn-link { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    width: 100%; 
    background-color: var(--card-bg); 
    border: 3px solid var(--brand-main); 
    border-radius: 20px; 
    padding: 12px 20px; 
    text-decoration: none; 
    box-shadow: 0 6px 0 var(--brand-main); 
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1); 
    cursor: pointer; 
    color: var(--text-dark); 
}

.btn-link:active, .btn-link:hover { 
    transform: translateY(6px); 
    box-shadow: 0 0px 0 var(--brand-main); 
    background-color: var(--brand-light); 
    color: var(--brand-dark); 
}

.btn-text { 
    display: flex; 
    flex-direction: column; 
    text-align: right; 
    max-width: 400px;
}

.btn-text span:first-child { 
    font-weight: 900; 
    font-size: clamp(14px, 3vw, 16px); 
}

.btn-subtext { 
    font-size: clamp(10.5px, 2.2vw, 12px); 
    font-weight: 600; 
    margin-top: 4px; 
    color: var(--text-muted); 
}

.btn-icon-img { 
    width: 38px; 
    height: 38px; 
    object-fit: contain; 
    transition: transform 0.3s ease; 
}

.btn-link:hover .btn-icon-img { 
    transform: scale(1.15) rotate(-5deg); 
}

/* --- 2x2 PREMIUM FEATURES GRID --- */
.features-premium-grid { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 25px; 
    max-width: 900px; 
    margin: 0 auto 80px auto; 
}

.feature-premium-card { 
    display: flex; 
    align-items: center; 
    gap: 20px; 
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--white-95) 100%); 
    border: 3px solid var(--brand-light); 
    border-bottom: 5px solid var(--brand-main); 
    border-radius: 20px; 
    padding: 25px; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    box-shadow: 0 10px 20px var(--brand-main-alpha-5); 
}

.feature-premium-card:hover { 
    transform: translateY(-5px); 
    border-color: var(--brand-main); 
    box-shadow: 0 15px 30px var(--brand-main-alpha-15); 
}

.feature-premium-card .icon-wrap img { 
    width: 65px; 
    height: 65px; 
    object-fit: contain; 
    filter: drop-shadow(0 5px 10px var(--brand-dark-alpha-20)); 
}

.feature-premium-card .text-wrap { 
    text-align: right; 
}

.feature-premium-card .text-wrap h3 { 
    font-size: clamp(16px, 3vw, 19px); 
    font-weight: 900; 
    color: var(--brand-dark); 
    margin-bottom: 6px; 
}

.feature-premium-card .text-wrap p { 
    font-size: clamp(12.5px, 2vw, 14px); 
    font-weight: 600; 
    color: var(--text-muted); 
    line-height: 1.6; 
}

/* --- DUAL SCREENSHOT PARALLAX (App Sections) --- */
.feature-row { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 100px; 
    margin-bottom: 100px; 
}

.feature-row.reverse { 
    flex-direction: row-reverse; 
    gap: 0px; 
}

.feature-img-wrapper { 
    position: relative; 
    flex: 0 0 auto; 
    width: 320px; 
    height: 420px; 
    margin: 0; 
}

.img-back { 
    position: absolute; 
    top: 0; 
    right: 0; 
    width: 65%; 
    height: auto; 
    border: none; 
    background: transparent; 
    outline: none; 
    animation: floatBack 6s ease-in-out infinite; 
    filter: drop-shadow(0 15px 25px var(--brand-dark-alpha-15)); 
    z-index: 1; 
}

.img-front { 
    position: absolute; 
    bottom: 0; 
    left: 0; 
    width: 65%; 
    height: auto; 
    border: none; 
    background: transparent; 
    outline: none; 
    animation: floatFront 6s ease-in-out infinite reverse; 
    filter: drop-shadow(0 20px 35px var(--brand-dark-alpha-30)); 
    z-index: 2; 
}

.feature-text { 
    flex: 1; 
    max-width: 450px; 
}

.custom-list { 
    list-style: none; 
    padding-right: 0; 
    margin-top: 15px; 
    max-width: 375px; 
}

.custom-list li { 
    font-size: clamp(13px, 2.5vw, 15px); 
    font-weight: 600; 
    color: var(--text-muted); 
    margin-bottom: 12px; 
    position: relative; 
    padding-right: 20px; 
    line-height: 1.7; 
}

.custom-list li::before { 
    content: "✧"; 
    position: absolute; 
    right: 0; 
    color: var(--brand-main); 
    font-weight: 900; 
    font-size: 16px; 
}

/* --- SINGLE PREMIUM STATS BAR --- */
.stats-premium-bar { 
    display: flex; 
    justify-content: space-around; 
    align-items: center; 
    flex-wrap: wrap; 
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--white-95) 100%); 
    border: 3px solid var(--brand-main); 
    border-radius: 40px; 
    box-shadow: 0 8px 0 var(--brand-main); 
    padding: 30px 20px; 
    max-width: 800px; 
    margin: 0 auto 80px auto; 
    gap: 15px; 
    animation: premiumFloat 6s ease-in-out infinite; 
}

.stat-item { 
    text-align: center; 
    flex: 1; 
    min-width: 140px; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
}

.stat-icon { 
    width: 75px; 
    height: 75px; 
    margin-bottom: 12px; 
    filter: drop-shadow(0 4px 6px var(--brand-dark-alpha-20)); 
}

.stat-item h3 { 
    font-size: clamp(24px, 4vw, 32px); 
    font-weight: 900; 
    color: var(--brand-dark); 
    margin-bottom: 5px; 
}

.stat-item p { 
    font-size: clamp(13px, 2.5vw, 15px); 
    font-weight: 700; 
    color: var(--text-muted); 
}

.divider { 
    width: 2px; 
    height: 70px; 
    background-color: var(--brand-main-alpha-20); 
    flex: none; 
    min-width: 0; 
    border-radius: 2px; 
}

/* --- 3D COVERFLOW SLIDER --- */
.slider-3d-wrapper { 
    position: relative; 
    width: 100%; 
    padding: 40px 0; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    overflow: hidden; 
}

.slider-3d-track { 
    position: relative; 
    width: 100%; 
    height: 520px; 
    perspective: 1200px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}

.slide-3d { 
    position: absolute; 
    width: 240px; 
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.6s ease; 
    background: transparent; 
    border: none; 
    outline: none; 
}

.slide-3d img { 
    width: 100%; 
    height: auto; 
    display: block; 
    border: none; 
    background: transparent; 
    filter: drop-shadow(0 15px 30px var(--black-alpha-15)); 
}

.slide-center { 
    transform: translateX(0) scale(1) translateZ(0); 
    opacity: 1; 
    z-index: 10; 
}

.slide-center img { 
    filter: drop-shadow(0 20px 45px var(--brand-dark-alpha-35)); 
}

.slide-right { 
    transform: translateX(65%) scale(0.85) rotateY(-15deg) translateZ(-50px); 
    opacity: 0.7; 
    z-index: 5; 
}

.slide-left { 
    transform: translateX(-65%) scale(0.85) rotateY(15deg) translateZ(-50px); 
    opacity: 0.7; 
    z-index: 5; 
}

.slide-hidden { 
    transform: translateX(0) scale(0.5) translateZ(-200px); 
    opacity: 0; 
    z-index: 1; 
}

.slider-dots { 
    display: flex; 
    gap: 8px; 
    margin-top: 20px; 
}

.dot { 
    width: 12px; 
    height: 12px; 
    background: var(--brand-main-alpha-30); 
    border-radius: 50%; 
    cursor: pointer; 
    transition: 0.3s; 
}

.dot.active { 
    background: var(--brand-main); 
    transform: scale(1.3); 
}

/* ========================================================
   PRICING 3D CAROUSEL (Themed Cover-flow)
   ======================================================== */
.pricing-carousel-section { 
    position: relative; 
}

.carousel-stage {
    position: relative; 
    width: 100%; 
    max-width: 1000px;
    margin: 0 auto; 
    overflow: hidden; 
    padding: 35px 0;
}

.carousel-track {
    display: flex; 
    align-items: center; 
    justify-content: center;
    position: relative; 
    width: 100%; 
    height: 375px;
}

/* Base Individual Pricing Card */
.pricing-card-3d {
    position: absolute;
    width: 300px;
    background-color: var(--card-bg);
    border: 3px solid transparent; /* Colored by themes below */
    border-radius: 28px;
    padding: 35px 22px 25px;
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    text-align: center;
    cursor: pointer; 
    user-select: none;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), 
                opacity 0.6s ease, box-shadow 0.6s ease, filter 0.6s ease, border-color 0.6s ease;
    opacity: 0; 
    pointer-events: none;
    transform: scale(0.6) translateX(0); 
    z-index: 1;
}

/* Base Active/Inactive States */
.pricing-card-3d.active {
    opacity: 1; 
    pointer-events: auto; 
    z-index: 10;
    transform: scale(1.15) translateX(0);
}

.pricing-card-3d.next {
    opacity: 0.65; 
    pointer-events: auto; 
    z-index: 5;
    transform: scale(0.85) translateX(-260px); 
    filter: blur(0.8px);
}

.pricing-card-3d.prev {
    opacity: 0.65; 
    pointer-events: auto; 
    z-index: 5;
    transform: scale(0.85) translateX(260px); 
    filter: blur(0.8px);
}

/* ================= THEMES ================= */
/* 1. BRONZE THEME */
.bronze-premium { border-color: var(--bronze-main); box-shadow: 0 5px 0 var(--bronze-main); }
.bronze-premium.active { border-color: var(--bronze-dark); box-shadow: 0 20px 45px var(--bronze-alpha-25), 0 8px 0 var(--bronze-dark); background: linear-gradient(180deg, var(--white) 0%, var(--bronze-bg) 100%); }
.bronze-premium .theme-badge { background: var(--bronze-main); box-shadow: 0 4px 10px var(--bronze-alpha-40); }
.bronze-premium h3 { color: var(--bronze-dark); }
.bronze-premium .btn-buy { color: var(--bronze-dark); border-color: var(--bronze-main); box-shadow: 0 4px 0 var(--bronze-main); }

/* 2. SILVER THEME */
.silver-premium { border-color: var(--silver-main); box-shadow: 0 5px 0 var(--silver-main); }
.silver-premium.active { border-color: var(--silver-dark); box-shadow: 0 20px 45px var(--silver-alpha-25), 0 8px 0 var(--silver-dark); background: linear-gradient(180deg, var(--white) 0%, var(--silver-bg) 100%); }
.silver-premium .theme-badge { background: var(--silver-main); box-shadow: 0 4px 10px var(--silver-alpha-40); }
.silver-premium h3 { color: var(--silver-dark); }
.silver-premium .btn-buy { color: var(--silver-dark); border-color: var(--silver-main); box-shadow: 0 4px 0 var(--silver-main); }

/* 3. GOLD THEME */
.gold-premium { border-color: var(--gold-main); box-shadow: 0 5px 0 var(--gold-main); }
.gold-premium.active { border-color: var(--gold-dark); box-shadow: 0 25px 50px var(--gold-alpha-35), 0 8px 0 var(--gold-dark); background: linear-gradient(180deg, var(--white) 0%, var(--gold-bg) 100%); }
.gold-premium .theme-badge { background: var(--gold-main); box-shadow: 0 4px 10px var(--gold-alpha-40); }
.gold-premium h3 { color: var(--gold-dark); }
.gold-premium .btn-buy { color: var(--gold-dark); border-color: var(--gold-main); box-shadow: 0 4px 0 var(--gold-main); }

/* --- Internal Elements --- */
.theme-badge { 
    position: absolute; 
    top: -14px; 
    left: 50%; 
    transform: translateX(-50%); 
    color: var(--white); 
    padding: 6px 18px; 
    border-radius: 20px; 
    font-size: 12px; 
    font-weight: 900; 
    z-index: 10; 
    border: none;
}

.pricing-card-3d .price { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 6px; 
    width: 100%; 
    margin: 15px 0 0px; 
    font-size: 26px; 
    font-weight: 900; 
    color: var(--text-dark); 
}

.pricing-card-3d .price span { 
    font-size: 13px; 
    color: var(--text-muted); 
    font-weight: 600; 
}

/* Single Line Description */
.package-desc { 
    font-size: 15px; 
    font-weight: 700; 
    color: var(--text-medium); 
    margin: 0px 0 20px; 
    line-height: 1.8; 
}

.package-desc strong { 
    color: var(--text-black); 
    font-weight: 900; 
    font-size: 15px;
}

/* Button Base */
.btn-buy { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 8px; 
    margin-top: auto; 
    padding: 10px 20px; 
    font-size: 14px; 
    font-weight: 900; 
    border-radius: 12px; 
    background: transparent; 
    border-width: 2px; 
    border-style: solid; 
    transition: all 0.2s ease; 
    text-decoration: none; 
}

.btn-buy:hover { 
    transform: translateY(4px); 
    box-shadow: 0 0px 0 transparent !important; 
}

/* Key Animations */
.pricing-key { 
    display: block; 
    margin: 0 auto; 
    perspective: 1000px; 
    transform-style: preserve-3d; 
}

.side-key { 
    width: 110px; 
    filter: drop-shadow(0 10px 10px var(--black-alpha-15)); 
    animation: keyFloat 4s ease-in-out infinite; 
}

.gold-key { 
    width: 145px; 
    filter: drop-shadow(0 15px 20px var(--gold-alpha-40)); 
    animation: keyFloat 3.5s ease-in-out infinite; 
    margin-top: -10px; 
}

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

/* Controls */
.carousel-controls { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 20px; 
    margin-top: 25px; 
}

.nav-arrow {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--card-bg);
    border: 2px solid var(--brand-main);
    box-shadow: 0 4px 0 var(--brand-main);
    color: var(--brand-dark);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.1s ease;
}

.nav-arrow:hover {
    transform: translateY(2px);
    box-shadow: 0 0px 0 var(--brand-main);
    background-color: var(--brand-light);
}

.carousel-dots { 
    display: flex; 
    gap: 8px; 
    align-items: center; 
}

.carousel-dot { 
    width: 12px; 
    height: 12px; 
    border-radius: 50%; 
    background-color: var(--black-alpha-15); 
    cursor: pointer; 
    transition: all 0.3s ease; 
}

.carousel-dot.active { 
    width: 28px; 
    border-radius: 12px; 
    background-color: var(--brand-main); 
    box-shadow: 0 2px 6px var(--black-alpha-15); 
}

/* Mobile */
@media (max-width: 768px) {
    .pricing-card-3d.prev { transform: scale(0.8) translateX(150px); opacity: 0.3; }
    .pricing-card-3d.next { transform: scale(0.8) translateX(-150px); opacity: 0.3; }
    .pricing-card-3d.active { transform: scale(1.05) translateX(0); }
    .carousel-track { height: 325px; }
}

/* =======================================================
   2. DOWNLOAD SECTION (Correct Sizing & Floating Parallax)
   ======================================================= */
.download-split-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    max-width: 850px;
    margin: 0 auto 80px auto;
}

/* Left: Proportional, Compact Mockup Bounding Box */
.download-mockups {
    position: relative;
    flex: 0 0 260px;
    height: 350px;
    margin: 0;
}

.mockup-back {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: auto;
    border-radius: 12px;
    animation: floatBack 5s ease-in-out infinite;
    filter: drop-shadow(0 10px 18px var(--brand-dark-alpha-20));
    z-index: 1;
}

.mockup-front {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 65%;
    height: auto;
    border-radius: 12px;
    animation: floatFront 5s ease-in-out infinite reverse;
    filter: drop-shadow(0 16px 25px var(--brand-dark-alpha-30));
    z-index: 2;
}

.download-grid {
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px;
    max-width: 650px; 
    margin: 0 auto 80px auto; 
    width: 100%;
}

.download-wrapper { 
    width: 100%; 
    position: relative; 
}

.animated-shine-btn { 
    position: relative; 
    overflow: hidden; 
}

.animated-shine-btn::after {
    content: ''; 
    position: absolute; 
    top: 0; 
    left: -100%; 
    width: 50%; 
    height: 100%;
    background: linear-gradient(to right, var(--white-alpha-0) 0%, var(--white-alpha-70) 50%, var(--white-alpha-0) 100%);
    transform: skewX(-25deg); 
    animation: shineLine 4s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.qr-popup {
    position: absolute;
    bottom: calc(100% + 12px); 
    left: 50%;
    transform: translateX(-50%) translateY(8px) scale(0.9);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    
    align-items: center;
    justify-content: center;
    background-color: var(--card-bg);
    border: 1.5px solid var(--brand-main);
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 2.5px 0 var(--brand-main);
    transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.1s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.qr-popup img {
    width: 110px;
    height: 110px;
    display: block;
    border-radius: 8px;
    object-fit: contain;
}

.download-wrapper:hover .qr-popup {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
    pointer-events: auto;
}

/* --- FAQ --- */
.faq-container { 
    max-width: 700px; 
    margin: 0 auto; 
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
}

.faq-card { 
    cursor: pointer; 
    padding: 15px 20px; 
}

.faq-card summary { 
    font-weight: 900; 
    font-size: clamp(14px, 3vw, 15px); 
    color: var(--brand-dark); 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    list-style: none; 
    outline: none; 
}

.faq-card summary::-webkit-details-marker { 
    display: none; 
}

.faq-content { 
    margin-top: 15px; 
    font-size: clamp(12.5px, 2.5vw, 14px); 
    font-weight: 600; 
    color: var(--text-muted); 
    line-height: 1.8; 
}

.faq-card[open] summary i { 
    transform: rotate(180deg); 
}

.links-container {
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 2vh, 15px);
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--card-bg);
    border: 3px solid var(--brand-main);
    border-radius: 20px;
    padding: clamp(10px, 2vh, 14px) 18px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: clamp(14px, 2vh, 16px);
    box-shadow: 0 6px 0 var(--brand-main);
    transform: translateY(0);
    transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.1s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.btn-link:active, .btn-link:hover {
    transform: translateY(5px) !important;
    box-shadow: 0 0px 0 var(--brand-main) !important;
    background-color: var(--brand-light) !important;
}

.btn-link.disabled {
    border-color: var(--gray-border) !important;
    box-shadow: 0 6px 0 var(--gray-shadow) !important;
    background-color: var(--gray-light) !important;
    cursor: not-allowed;
}

.btn-link.disabled:hover, .btn-link.disabled:active {
    transform: none !important;
    box-shadow: 0 6px 0 var(--gray-shadow) !important;
    background-color: var(--gray-light);
}

.btn-icon-img {
    width: clamp(32px, 4.5vh, 40px);
    height: clamp(32px, 4.5vh, 40px);
    object-fit: contain;
    transition: transform 0.3s ease;
}

.btn-link:hover .btn-icon-img {
    transform: scale(1.25) rotate(-5deg);
}

.btn-subtext {
    font-size: clamp(10.5px, 1.6vh, 12px);
    font-weight: 500;
    color: var(--text-muted);
    margin-top: 3px;
    letter-spacing: 0.2px;
}

/* --- FOOTER --- */
footer { 
    padding: 0px 0 0 0; 
}

.footer-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr 1.2fr; 
    gap: 25px; 
    align-items: center; 
    background-color: var(--card-bg); 
    border: 3px solid var(--brand-main); 
    border-radius: 20px; 
    box-shadow: 0 5px 0 var(--brand-main); 
    padding: 30px 20px; 
    max-width: 900px; 
    margin: 0 auto; 
}

.footer-about { 
    text-align: center; 
}

.footer-logo { 
    width: 80px; 
    height: 80px; 
    border-radius: 18px; 
    margin-bottom: 12px; 
}

.social-links { 
    display: flex; 
    justify-content: center; 
    gap: 12px; 
    margin-top: 15px; 
}

.social-btn { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    width: 40px; 
    height: 40px; 
    border-radius: 12px; 
    background: var(--card-bg); 
    border: 1.5px solid var(--brand-main); 
    box-shadow: 0 2.5px 0 var(--brand-main); 
    transition: all 0.1s ease; 
}

.social-btn:hover { 
    transform: translateY(3px); 
    box-shadow: 0 0px 0 var(--brand-main); 
    background-color: var(--brand-light); 
}

.footer-links h4 { 
    font-weight: 900; 
    color: var(--brand-dark); 
    margin-bottom: 15px; 
    font-size: 16px; 
}

.footer-links ul { 
    list-style: none; 
}

.footer-links li { 
    margin-bottom: 10px; 
}

.footer-links a { 
    color: var(--text-dark); 
    text-decoration: none; 
    font-weight: 700; 
    font-size: 14px; 
    transition: color 0.2s; 
}

.footer-links a:hover { 
    color: var(--brand-dark); 
}

.footer-certs-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 12px; 
    max-width: 350px; 
    margin: 0 auto; 
}

.cert-3d-btn { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    background-color: var(--card-bg); 
    border: 1.5px solid var(--brand-main); 
    border-radius: 20px; 
    padding: 10px; 
    min-height: 75px; 
    box-shadow: 0 3px 0 var(--brand-main); 
    transition: all 0.1s ease; 
}

.cert-3d-btn:hover { 
    transform: translateY(3px); 
    box-shadow: 0 0 0 var(--brand-main); 
    background-color: var(--brand-light); 
}

.cert-3d-btn img { 
    width: 50px; 
    height: 50px; 
    object-fit: contain; 
}

.bottom_footer { 
    border-top: 2px dashed var(--brand-dark-alpha-20); 
    padding: 25px 0; 
    margin-top: 40px; 
    text-align: center; 
    font-size: 11.5px; 
    font-weight: 700; 
    color: var(--brand-dark); 
}

/* --- RESPONSIVENESS (MOBILE TWEAKS) --- */
@media (max-width: 900px) {
    .hero-row { 
        flex-direction: column; 
        text-align: center; 
    }
    
    .features-premium-grid { 
        grid-template-columns: 1fr; 
        max-width: 450px; 
    } 
    
    .grid-3-cols { 
        grid-template-columns: 1fr; 
        max-width: 380px; 
        margin: 0 auto 60px auto; 
    }
    
    .active-pricing { 
        transform: scale(1); 
        margin-top: 20px; 
    }
    
    .active-pricing:hover { 
        transform: translateY(-4px) scale(1.02); 
    }
    
    .download-split-container { 
        flex-direction: column; 
        text-align: center; 
        gap: 30px; 
    }
    
    .stats-premium-bar { 
        border-radius: 30px; 
    }
    
    .divider { 
        display: none; 
    }
}

@media (max-width: 768px) {
    .nav-toggle { 
        display: block; 
    }
    
    .nav-menu { 
        display: none; 
        width: 100%; 
        flex-direction: column; 
        margin-top: 10px; 
    }
    
    .nav-menu.open { 
        display: flex; 
    }
    
    .dropdown-menu { 
        position: static; 
        box-shadow: none; 
        border: 1px dashed var(--brand-main); 
        width: 100%; 
        margin-top: 5px; 
    }
    
    .feature-row, .feature-row.reverse { 
        flex-direction: column; 
        text-align: center; 
        gap: 30px; 
        margin-bottom: 100px; 
    }
    
    .feature-img-wrapper { 
        width: 260px; 
        height: 340px; 
        margin-bottom: 10px; 
    }
    
    .download-mockups { 
        width: 220px; 
        height: 300px; 
        margin: 0 auto; 
    }
    
    .custom-list { 
        display: inline-block; 
        text-align: right; 
    }
    
    .stat-item { 
        flex: 1 1 40%; 
        margin-bottom: 15px; 
    }
    
    .slider-3d-track { 
        height: 400px; 
    }
    
    .slide-3d { 
        width: 180px; 
    }
    
    .slide-left { 
        transform: translateX(-55%) scale(0.85) rotateY(15deg) translateZ(-40px); 
    }
    
    .slide-right { 
        transform: translateX(55%) scale(0.85) rotateY(-15deg) translateZ(-40px); 
    }

    .qr-popup { 
        display: none !important; 
    }
    
    .footer-grid { 
        grid-template-columns: 1fr; 
        text-align: center; 
        gap: 30px; 
    }
}

/* Animations */
@keyframes premiumFloat { 
    0%, 100% { transform: translateY(0); } 
    50% { transform: translateY(-8px); } 
}

@keyframes floatBack { 
    0%, 100% { transform: translateY(0px) rotate(0deg); } 
    50% { transform: translateY(-8px) rotate(1.5deg); } 
}

@keyframes floatFront { 
    0%, 100% { transform: translateY(0px) rotate(0deg); } 
    50% { transform: translateY(-10px) rotate(-2deg) scale(1.02); } 
}

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

@keyframes shineLine { 
    0% { left: -100%; } 
    20% { left: 200%; } 
    100% { left: 200%; } 
}

@keyframes textclip { 
    to { background-position: 200% center; } 
}

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


/* =========================================
   Local Font Awesome Icons Replacement 
========================================= */

/* استایل پایه برای تمام آیکون‌ها */
i.fa-solid {
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: currentColor; /* رنگ را از متن یا استایل می‌گیرد */
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  vertical-align: -0.125em; /* تنظیم ارتفاع آیکون با خط متن */
}

/* 1. آیکون منوی همبرگری (fa-bars) */
i.fa-bars {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 448 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 448 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z'/%3E%3C/svg%3E");
}

/* 2. آیکون ضربدر برای بسته شدن منو (fa-xmark - استفاده شده در جاوا اسکریپت شما) */
i.fa-xmark {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 384 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 384 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z'/%3E%3C/svg%3E");
}

/* 3. آیکون فلش رو به پایین (fa-chevron-down) */
i.fa-chevron-down {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z'/%3E%3C/svg%3E");
}

/* 4. آیکون دانلود (fa-download) */
i.fa-download {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32V274.7l-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7V32zM64 352c-35.3 0-64 28.7-64 64v32c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V416c0-35.3-28.7-64-64-64H346.5l-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352H64zm368 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32V274.7l-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7V32zM64 352c-35.3 0-64 28.7-64 64v32c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V416c0-35.3-28.7-64-64-64H346.5l-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352H64zm368 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z'/%3E%3C/svg%3E");
}

/* 5. آیکون فلش سمت چپ برای دکمه‌های خرید (fa-arrow-left) */
i.fa-arrow-left {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 448 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.2 288 416 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-306.7 0L214.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 448 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.2 288 416 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-306.7 0L214.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z'/%3E%3C/svg%3E");
}

/* 6. آیکون شورون چپ برای اسلایدرها (fa-chevron-left) */
i.fa-chevron-left {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 320 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 320 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z'/%3E%3C/svg%3E");
}

/* 7. آیکون شورون راست برای اسلایدرها (fa-chevron-right) */
i.fa-chevron-right {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 320 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 320 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z'/%3E%3C/svg%3E");
}