/* ================================================================
   باشگاه ورزشی کولاک - استایل اصلی سایت
   ================================================================ */

/* ---------- فونت وزیرمتن (self-host) ---------- */
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary: #ff003c;
    --primary-hover: #d60032;
    --accent: #ff2e4d;
    --bg: #0d0e12;
    --card: #161820;
    --border: #272a38;
    --text: #f1f3f9;
    --muted: #9aa0b4;
    --glass: rgba(22, 24, 32, 0.85);
    --glow: rgba(255, 0, 60, 0.25);
    --shadow: 0 18px 45px rgba(0, 0, 0, .35);
    --transition: all .3s cubic-bezier(.25, .8, .25, 1);
    --grad: linear-gradient(135deg, var(--primary), #b3002a);
    --radius: 16px;
}

/* ---------- تم روشن ---------- */
[data-theme="light"] {
    --bg: #f3f5fb;
    --card: #ffffff;
    --border: #dfe5f2;
    --text: #181a20;
    --muted: #5b6478;
    --glass: rgba(255, 255, 255, 0.88);
    --glow: rgba(255, 0, 60, 0.14);
    --shadow: 0 14px 40px rgba(23, 30, 60, .10);
}

[data-theme="light"] body {
    background: var(--bg);
    background-image:
        radial-gradient(circle at 8% 12%, rgba(255, 0, 60, .14), transparent 32%),
        radial-gradient(circle at 90% 8%, rgba(255, 120, 0, .12), transparent 30%),
        radial-gradient(circle at 82% 85%, rgba(255, 0, 60, .10), transparent 30%),
        radial-gradient(circle at 12% 88%, rgba(59, 130, 255, .10), transparent 32%),
        linear-gradient(135deg, #fdf0f4 0%, #f3f5fb 35%, #eef3ff 70%, #fdf1ea 100%);
    background-attachment: fixed;
}

[data-theme="light"] .site-header {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 6px 30px rgba(23, 30, 60, .07);
}

[data-theme="light"] .btn-theme {
    background: var(--card);
    border-color: var(--border);
    color: var(--text);
    box-shadow: 0 4px 15px rgba(23, 30, 60, .08);
}

[data-theme="light"] .stat-card {
    background: var(--card);
    box-shadow: var(--shadow);
}

[data-theme="light"] .service-card-3d,
[data-theme="light"] .blog-card,
[data-theme="light"] .contact-card,
[data-theme="light"] .schedule-table-wrap,
[data-theme="light"] .modal-content,
[data-theme="light"] .info-card {
    background: var(--card);
    box-shadow: var(--shadow);
}

[data-theme="light"] footer {
    background:
        radial-gradient(circle at 18% 20%, rgba(255, 0, 60, .10), transparent 30%),
        radial-gradient(circle at 82% 70%, rgba(255, 46, 77, .08), transparent 28%),
        linear-gradient(135deg, #eef0f7 0%, #f8f9fd 45%, #eceef6 100%);
    border-top: 1px solid rgba(255, 0, 60, .18);
}

[data-theme="light"] .footer-card {
    background: rgba(255, 255, 255, .85);
    border: 1px solid rgba(23, 30, 60, .08);
    box-shadow: 0 14px 35px rgba(23, 30, 60, .08);
}

[data-theme="light"] .footer-card::before {
    background: radial-gradient(circle, rgba(255, 0, 60, .15), transparent 65%);
}

[data-theme="light"] .social-btn {
    background: rgba(23, 30, 60, .04);
    border-color: rgba(23, 30, 60, .1);
    color: var(--text);
}

[data-theme="light"] .form-control {
    background: #f6f8fc;
}

[data-theme="light"] .form-control:focus {
    background: #fff;
}

[data-theme="light"] .hero {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.70), rgba(255, 255, 255, 0.85)),
        var(--hero-bg) center/cover no-repeat;
}

[data-theme="light"] .hero::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, .25), transparent 75%);
}

[data-theme="light"] .hero-logo-large {
    background: rgba(255, 255, 255, .65);
}

[data-theme="light"] .review-card {
    background: var(--card);
    box-shadow: var(--shadow);
}

[data-theme="light"] .reviews-section,
[data-theme="light"] section#about,
[data-theme="light"] section#services,
[data-theme="light"] section#schedule,
[data-theme="light"] section#contact,
[data-theme="light"] section#reviews {
    background: transparent;
}

[data-theme="light"] .about-img-box,
[data-theme="light"] .founder-img-box {
    box-shadow: 0 22px 50px rgba(255, 0, 60, .18);
}

/* ================================================================ پایه */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    transition: background-color .4s, color .4s;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

::-webkit-scrollbar {
    width: 9px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary), var(--primary-hover));
    border-radius: 20px;
}

::selection {
    background: var(--primary);
    color: #fff;
}

/* ================================================================ افکت‌ها */
.scroll-progress {
    position: fixed;
    top: 0;
    right: 0;
    height: 3px;
    width: 0;
    background: var(--grad);
    z-index: 3000;
    box-shadow: 0 0 12px var(--primary);
    transition: width .1s linear;
}

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity .8s cubic-bezier(.25, .8, .25, 1), transform .8s cubic-bezier(.25, .8, .25, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal[data-delay="1"] {
    transition-delay: .1s;
}

.reveal[data-delay="2"] {
    transition-delay: .2s;
}

.reveal[data-delay="3"] {
    transition-delay: .3s;
}

.back-to-top {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--grad);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: var(--transition);
    z-index: 1500;
    box-shadow: 0 10px 25px rgba(255, 0, 60, .4);
}

.back-to-top.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.back-to-top:hover {
    transform: translateY(-4px);
}

/* ================================================================ هدر */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--glass);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 12px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: padding .3s, box-shadow .3s;
}

.site-header.scrolled {
    padding: 8px 6%;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .25);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
    font-weight: 900;
    font-size: 20px;
    z-index: 1001;
}

.brand-logo img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    box-shadow: 0 0 12px var(--glow);
    object-fit: cover;
    animation: logoPulse 3s infinite alternate;
}

@keyframes logoPulse {
    from {
        box-shadow: 0 0 8px rgba(255, 0, 60, .3);
    }
    to {
        box-shadow: 0 0 20px rgba(255, 0, 60, .7);
    }
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 15px;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0%;
    height: 2px;
    background: var(--grad);
    border-radius: 2px;
    transition: var(--transition);
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

nav a:hover,
nav a.active {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1001;
}

.btn-theme {
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--text);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
}

.btn-theme:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: rotate(20deg);
}

.btn-cta {
    background: var(--grad);
    color: #fff;
    padding: 11px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    box-shadow: 0 4px 15px var(--glow);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .25) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform .6s;
}

.btn-cta:hover::before {
    transform: translateX(100%);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 0, 60, .45);
}

.btn-cta.btn-lg {
    padding: 15px 34px;
    font-size: 16px;
}

.btn-cta.btn-outline {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text);
    box-shadow: none;
}

.btn-cta.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-cta.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-cta.btn-sm {
    padding: 8px 18px;
    font-size: 13px;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary);
    z-index: 1001;
    transition: var(--transition);
}

/* ================================================================ هیرو */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 130px;
    padding-bottom: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, rgba(13, 14, 18, 0.55), rgba(13, 14, 18, 0.88)),
        var(--hero-bg) center/cover no-repeat;
    background-attachment: fixed;
    background-position: center;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 30%, rgba(255, 0, 60, .10), transparent 60%);
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .25);
}

.hero-blob,
.hero-shine {
    display: none;
}

.hero-container {
    max-width: 900px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-logo-large {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 4px solid var(--primary);
    box-shadow: 0 0 35px var(--primary);
    margin-bottom: 22px;
    animation: pulseGlow 3s infinite alternate;
    object-fit: contain;
    background: rgba(255, 255, 255, .06);
    backdrop-filter: blur(4px);
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 20px rgba(255, 0, 60, .4);
        transform: scale(1);
    }
    100% {
        box-shadow: 0 0 45px rgba(255, 0, 60, .85);
        transform: scale(1.03);
    }
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 0, 60, .15);
    border: 1px solid var(--primary);
    color: var(--accent);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
    backdrop-filter: blur(6px);
}

.hero h1 {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.3;
    letter-spacing: -1px;
    background: linear-gradient(90deg, var(--text), var(--accent), var(--text));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGrad 5s linear infinite;
}

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

.hero p {
    font-size: clamp(14px, 2vw, 18px);
    color: var(--muted);
    margin-bottom: 35px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 44px;
    border: 2px solid var(--primary);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-indicator span {
    width: 4px;
    height: 9px;
    background: var(--primary);
    border-radius: 4px;
    animation: scrollDot 1.8s ease-in-out infinite;
}

@keyframes scrollDot {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(14px);
        opacity: 0;
    }
}

/* ================================================================ آمار */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: -45px;
    position: relative;
    z-index: 10;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.stat-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 25px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: var(--grad);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .4s;
}

.stat-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-number {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 5px;
    text-shadow: 0 0 25px var(--glow);
}

.stat-label {
    font-size: 14px;
    color: var(--muted);
    font-weight: 600;
}

/* ================================================================ بخش‌ها */
section {
    padding: 100px 6% 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 14px;
    display: block;
    margin-bottom: 8px;
}

.section-title {
    font-size: 36px;
    font-weight: 900;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    right: 50%;
    transform: translateX(50%);
    width: 70px;
    height: 4px;
    border-radius: 4px;
    background: var(--grad);
}

/* ================================================================ درباره */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-img-box {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid var(--border);
    box-shadow: var(--shadow);
}

.about-img-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 60%, rgba(255, 0, 60, .25));
    pointer-events: none;
}

.about-img-box img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    transition: transform .6s ease, filter .6s ease;
}

.about-img-box:hover img {
    transform: scale(1.06);
    filter: saturate(1.15);
}

.about-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--glass);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 12px;
    border-right: 4px solid var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
}

.about-badge h4 {
    font-size: 18px;
    color: var(--text);
}

.about-badge p {
    font-size: 13px;
    color: var(--muted);
}

.about-text h2 {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 800;
}

.about-desc {
    color: var(--muted);
    margin-bottom: 15px;
}

.features-list {
    list-style: none;
    margin-top: 25px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 15px;
    padding: 10px 14px;
    background: rgba(255, 0, 60, .05);
    border: 1px solid rgba(255, 0, 60, .1);
    border-radius: 12px;
    transition: var(--transition);
}

.features-list li:hover {
    border-color: var(--primary);
    transform: translateX(-4px);
    background: rgba(255, 0, 60, .09);
}

.features-list i {
    color: var(--primary);
    font-size: 18px;
}

/* ================================================================ بنیان‌گذار */
.founder-section {
    margin-top: 60px;
}

.founder-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.founder-img-box {
    position: relative;
    width: 420px;
    height: 420px;
    margin: 0 auto;
    border-radius: 50%;
    padding: 10px;
    background: linear-gradient(135deg, var(--primary), #111, var(--accent));
    box-shadow: 0 0 25px rgba(255, 0, 60, .45), 0 0 60px rgba(255, 0, 60, .25),
        inset 0 0 25px rgba(255, 255, 255, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: founderGlow 3s ease-in-out infinite alternate;
}

.founder-img-box::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 0, 60, .35);
    box-shadow: 0 0 35px rgba(255, 0, 60, .35);
    animation: founderRotate 8s linear infinite;
}

.founder-img-box::after {
    content: '';
    position: absolute;
    inset: 18px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, .18);
    pointer-events: none;
}

.founder-img-box img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    display: block;
    position: relative;
    z-index: 2;
    border: 5px solid var(--card);
    transition: transform .5s ease, filter .5s ease;
}

.founder-img-box:hover img {
    transform: scale(1.04);
    filter: contrast(1.08) saturate(1.1);
}

@keyframes founderGlow {
    0% {
        box-shadow: 0 0 20px rgba(255, 0, 60, .35), 0 0 45px rgba(255, 0, 60, .18),
            inset 0 0 20px rgba(255, 255, 255, .06);
    }
    100% {
        box-shadow: 0 0 35px rgba(255, 0, 60, .65), 0 0 80px rgba(255, 0, 60, .35),
            inset 0 0 28px rgba(255, 255, 255, .1);
    }
}

@keyframes founderRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.founder-badge {
    position: absolute;
    bottom: 15px;
    right: 50%;
    transform: translateX(50%);
    z-index: 4;
    width: max-content;
    max-width: 85%;
    background: rgba(22, 24, 32, 0.88);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 40px;
    border: 1px solid rgba(255, 0, 60, .45);
    box-shadow: 0 0 20px rgba(255, 0, 60, .25);
    text-align: center;
}

.founder-badge h4 {
    font-size: 15px;
    color: var(--text);
    margin-bottom: 2px;
}

.founder-badge p {
    font-size: 12px !important;
    color: var(--muted);
}

.founder-text h2 {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 800;
}

.founder-text p {
    color: var(--muted);
    line-height: 2;
    margin-bottom: 15px;
}

.founder-signature {
    color: var(--primary);
    font-size: 18px;
    font-weight: 800;
    margin-top: 25px;
    position: relative;
    display: inline-block;
}

.founder-signature::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 0;
    width: 100%;
    height: 2px;
    background: var(--grad);
    border-radius: 2px;
}

/* ================================================================ خدمات */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    perspective: 1000px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card-3d {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 35px 28px;
    position: relative;
    transition: transform .1s ease, box-shadow .3s ease, border-color .3s ease;
    transform-style: preserve-3d;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.service-card-3d::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 0, 60, .22), transparent 65%);
    transition: var(--transition);
}

.service-card-3d:hover {
    border-color: var(--primary);
    box-shadow: 0 15px 35px var(--glow);
}

.service-card-3d:hover::before {
    transform: scale(1.6);
}

.card-icon-wrap {
    width: 70px;
    height: 70px;
    background: rgba(255, 0, 60, .1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 25px;
    transform: translateZ(40px);
    transition: var(--transition);
}

.service-card-3d:hover .card-icon-wrap {
    background: var(--grad);
    color: #fff;
    box-shadow: 0 10px 25px var(--glow);
    transform: translateZ(40px) rotate(-8deg) scale(1.1);
}

.service-card-3d h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
    transform: translateZ(30px);
}

.service-card-3d p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 25px;
    transform: translateZ(20px);
}

.btn-card-more {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    transform: translateZ(25px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: inherit;
}

.service-card-3d:hover .btn-card-more {
    background: var(--grad);
    color: #fff;
}

/* ================================================================ گالری */
.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    font-size: 14px;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--grad);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 8px 20px var(--glow);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1250px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 240px;
    cursor: pointer;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.gallery-item:hover {
    border-color: var(--primary);
    box-shadow: 0 12px 30px var(--glow);
}

.gallery-item:hover img {
    transform: scale(1.12) rotate(1deg);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .85), transparent);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 20px;
    opacity: 0;
    transition: opacity .3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.gallery-overlay span {
    color: var(--primary);
    font-size: 18px;
    background: rgba(0, 0, 0, .5);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ================================================================ لایت‌باکس */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .94);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 40px;
}

.lightbox.open {
    display: flex;
    animation: fadeIn .3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.lightbox img {
    max-width: 85%;
    max-height: 78vh;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(255, 0, 60, .2);
    animation: lightboxZoom .35s ease;
}

@keyframes lightboxZoom {
    from {
        transform: scale(.85);
    }
    to {
        transform: scale(1);
    }
}

.lightbox-caption {
    color: #fff;
    margin-top: 18px;
    font-size: 16px;
    font-weight: 700;
}

.lightbox-close {
    position: absolute;
    top: 25px;
    left: 25px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 0, 60, .2);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: var(--primary);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .05);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-nav:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.lightbox-nav.prev {
    right: 25px;
}

.lightbox-nav.next {
    left: 25px;
}

/* ================================================================ وبلاگ */
.blog-section {
    max-width: 1250px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

.blog-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 45px var(--glow);
}

.blog-card-img {
    position: relative;
    display: block;
    height: 200px;
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.1);
}

.blog-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .4), transparent 55%);
}

.blog-cat {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    background: var(--grad);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 20px;
    box-shadow: 0 6px 16px rgba(255, 0, 60, .4);
}

.blog-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-meta {
    display: flex;
    gap: 16px;
    color: var(--muted);
    font-size: 12.5px;
    margin-bottom: 10px;
}

.blog-meta i {
    color: var(--primary);
}

.blog-card h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.6;
}

.blog-card h3 a {
    text-decoration: none;
    transition: var(--transition);
}

.blog-card h3 a:hover {
    color: var(--primary);
}

.blog-card-body p {
    color: var(--muted);
    font-size: 13.5px;
    margin-bottom: 15px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-more {
    color: var(--primary);
    font-weight: 800;
    font-size: 13.5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: var(--transition);
}

.blog-more:hover {
    gap: 12px;
}

.blog-all-btn {
    text-align: center;
    margin-top: 45px;
}

.blog-toolbar {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 40px;
}

.blog-search {
    display: flex;
    gap: 10px;
    align-items: center;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 40px;
    padding: 6px 8px 6px 6px;
    max-width: 480px;
    margin: 0 auto;
    transition: var(--transition);
}

.blog-search:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 0, 60, .1);
}

.blog-search i {
    color: var(--muted);
    padding-right: 14px;
}

.blog-search input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    padding: 8px 0;
}

.blog-cats {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.blog-cats a {
    padding: 7px 18px;
    border-radius: 25px;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.blog-cats a:hover,
.blog-cats a.active {
    background: var(--grad);
    color: #fff;
    border-color: var(--primary);
}

.pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 45px;
    flex-wrap: wrap;
}

.pagination a {
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border-radius: 12px;
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--text);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
}

.pagination a:hover,
.pagination a.active {
    background: var(--grad);
    border-color: var(--primary);
    color: #fff;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--muted);
}

.empty-state i {
    font-size: 50px;
    display: block;
    margin-bottom: 16px;
    color: var(--border);
}

.empty-state h3 {
    color: var(--text);
    margin-bottom: 8px;
}

/* ================================================================ صفحه مقاله */
.page-header {
    position: relative;
    padding: 160px 6% 70px;
    text-align: center;
    background: linear-gradient(to bottom, rgba(13, 14, 18, 0.78), rgba(13, 14, 18, 0.93)),
        var(--page-bg) center/cover no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 40%, rgba(255, 0, 60, .15), transparent 55%);
}

.page-header-inner {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.page-header h1 {
    font-size: clamp(26px, 4.5vw, 42px);
    font-weight: 900;
    margin-bottom: 14px;
    line-height: 1.4;
}

.page-header p {
    color: var(--muted);
    font-size: 16px;
}

.breadcrumb {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 13px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--accent);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb i {
    font-size: 10px;
    color: var(--muted);
}

.post-meta-bar {
    display: flex;
    gap: 18px;
    justify-content: center;
    color: var(--muted);
    font-size: 13.5px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.post-meta-bar i {
    color: var(--primary);
}

.tag {
    display: inline-block;
    padding: 3px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    background: rgba(255, 0, 60, .15);
    color: var(--accent);
    border: 1px solid rgba(255, 0, 60, .35);
}

.post-container {
    max-width: 820px;
    margin: -45px auto 0;
    position: relative;
    z-index: 5;
    padding: 0 20px;
}

.post-image {
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid var(--border);
    box-shadow: var(--shadow);
}

.post-image img {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    display: block;
}

.post-content {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 35px;
    margin-top: 25px;
    box-shadow: var(--shadow);
}

.post-content h2 {
    font-size: 24px;
    font-weight: 900;
    margin: 30px 0 15px;
    position: relative;
    padding-right: 16px;
}

.post-content h2::before {
    content: '';
    position: absolute;
    right: 0;
    top: 8px;
    bottom: 8px;
    width: 4px;
    border-radius: 4px;
    background: var(--grad);
}

.post-content h3 {
    font-size: 19px;
    font-weight: 800;
    margin: 24px 0 12px;
    color: var(--primary);
}

.post-content p {
    color: var(--muted);
    line-height: 2.1;
    margin-bottom: 16px;
    font-size: 15.5px;
}

.post-list {
    list-style: none;
    margin: 16px 0;
    display: grid;
    gap: 10px;
}

.post-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 0, 60, .05);
    border: 1px solid rgba(255, 0, 60, .12);
    border-radius: 12px;
    padding: 11px 16px;
    font-weight: 600;
    font-size: 14.5px;
}

.post-list i {
    color: var(--primary);
}

.post-share {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    margin: 35px 0 10px;
    color: var(--muted);
    font-weight: 700;
    font-size: 14px;
}

.social-btn {
    width: 44px;
    height: 44px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    text-decoration: none;
    font-size: 17px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad);
    opacity: 0;
    transition: var(--transition);
}

.social-btn i {
    position: relative;
    z-index: 2;
}

.social-btn:hover {
    transform: translateY(-5px) rotate(-5deg);
    box-shadow: 0 12px 25px var(--glow);
    border-color: var(--primary);
}

.social-btn:hover::before {
    opacity: 1;
}

.social-btn:hover i {
    color: #fff;
}

.related-section {
    max-width: 1250px;
    margin: 0 auto;
}

/* ================================================================ برنامه */
.schedule-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    background: var(--card);
    border: 2px solid var(--border);
    color: var(--text);
    padding: 12px 30px;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
    font-family: inherit;
}

.tab-btn.active,
.tab-btn:hover {
    border-color: var(--primary);
    background: rgba(255, 0, 60, .12);
    color: var(--accent);
    box-shadow: 0 8px 20px var(--glow);
}

.schedule-table-wrap {
    overflow-x: auto;
    background: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    max-width: 1100px;
    margin: 0 auto;
    box-shadow: var(--shadow);
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    text-align: right;
    min-width: 600px;
}

.schedule-table th,
.schedule-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}

.schedule-table th {
    background: rgba(255, 0, 60, .1);
    color: var(--primary);
    font-weight: 800;
    font-size: 14px;
}

.schedule-table tr:last-child td {
    border-bottom: none;
}

.schedule-table tbody tr {
    transition: var(--transition);
}

.schedule-table tbody tr:hover {
    background: rgba(255, 0, 60, .04);
}

/* ================================================================ تماس */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 35px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-card:hover {
    border-color: rgba(255, 0, 60, .4);
}

.contact-card h3 {
    font-size: 22px;
    margin-bottom: 22px;
}

.contact-card h3 i {
    color: var(--primary);
}

.contact-info-list {
    list-style: none;
    display: grid;
    gap: 18px;
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.9;
}

.contact-info-list i {
    min-width: 42px;
    height: 42px;
    background: rgba(255, 0, 60, .1);
    color: var(--primary);
    border: 1px solid rgba(255, 0, 60, .25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.contact-map-glow {
    margin-top: 28px;
    background: var(--grad);
    border-radius: 16px;
    padding: 22px;
    text-align: center;
    color: #fff;
    box-shadow: 0 15px 35px var(--glow);
    position: relative;
    overflow: hidden;
}

.contact-map-glow::before {
    content: '';
    position: absolute;
    inset: -30px;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .15) 50%, transparent 70%);
    animation: shineMove 5s linear infinite;
}

.contact-map-glow i {
    font-size: 26px;
    margin-bottom: 6px;
    display: block;
}

.contact-map-glow p {
    font-weight: 800;
    position: relative;
    z-index: 2;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    outline: none;
    font-size: 15px;
    transition: var(--transition);
    font-family: inherit;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 0, 60, .1);
    transform: translateY(-1px);
}

/* ================================================================ نظرات کاربران */
.reviews-section {
    max-width: 1150px;
    margin: 0 auto;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.review-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 0, 60, .4);
    box-shadow: 0 18px 40px var(--glow);
}

.review-stars-display {
    display: flex;
    gap: 4px;
    direction: ltr;
}

.review-stars-display i {
    color: var(--border);
    font-size: 15px;
}

.review-stars-display i.on {
    color: #f5b301;
}

.review-text {
    color: var(--muted);
    font-size: 14.5px;
    line-height: 2;
    flex: 1;
}

.review-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px dashed var(--border);
    padding-top: 14px;
}

.review-footer strong {
    color: var(--text);
    font-size: 15px;
}

.review-date {
    color: var(--muted);
    font-size: 12.5px;
}

.reviews-empty {
    text-align: center;
    color: var(--muted);
    grid-column: 1 / -1;
    padding: 40px 0;
    font-size: 15px;
}

.reviews-summary {
    text-align: center;
    margin: 35px auto 10px;
    color: var(--muted);
    font-size: 14px;
}

.reviews-summary strong {
    color: #f5b301;
    font-size: 18px;
}

.review-form-box {
    max-width: 640px;
    margin: 45px auto 0;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 35px;
    box-shadow: var(--shadow);
}

.review-form-box h3 {
    font-size: 21px;
    margin-bottom: 6px;
    text-align: center;
}

.review-form-box h3 i {
    color: var(--primary);
}

.review-form-note {
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 25px;
}

.review-stars {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 5px;
    direction: rtl;
}

.review-stars input[type="radio"] {
    display: none;
}

.review-stars label {
    font-size: 26px;
    color: var(--border);
    cursor: pointer;
    transition: color .2s, transform .2s;
}

.review-stars label:hover,
.review-stars label:hover ~ label,
.review-stars label.checked,
.review-stars label.checked ~ label {
    color: #f5b301;
    transform: scale(1.1);
}

/* ================================================================ مودال */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
}

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

.modal-content {
    background: var(--card);
    border: 1px solid var(--primary);
    border-radius: 24px;
    max-width: 750px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 35px;
    position: relative;
    transform: scale(.9);
    transition: transform .3s ease;
    box-shadow: 0 20px 50px rgba(255, 0, 60, .3);
}

.modal-backdrop.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 0, 60, .1);
    border: none;
    color: var(--primary);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--grad);
    color: #fff;
    transform: rotate(90deg);
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.modal-header i {
    font-size: 45px;
    color: var(--primary);
}

.modal-body {
    line-height: 1.8;
    color: var(--muted);
}

.modal-info-box {
    background: rgba(255, 255, 255, .03);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.modal-info-item h5 {
    color: var(--text);
    margin-bottom: 5px;
    font-size: 14px;
}

/* ================================================================ فوتر */
footer {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 20%, rgba(255, 0, 60, .22), transparent 30%),
        radial-gradient(circle at 82% 70%, rgba(255, 46, 77, .16), transparent 28%),
        linear-gradient(135deg, #07080b 0%, #0d0e12 45%, #090a0d 100%);
    border-top: 1px solid rgba(255, 0, 60, .25);
    padding: 90px 6% 28px;
    margin-top: 70px;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
    animation: footerLine 4s linear infinite;
}

@keyframes footerLine {
    0% {
        transform: translateX(35%);
    }
    100% {
        transform: translateX(-35%);
    }
}

footer::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .9), transparent);
    pointer-events: none;
}

.footer-glow {
    position: absolute;
    width: 270px;
    height: 270px;
    border-radius: 50%;
    background: rgba(255, 0, 60, .16);
    filter: blur(45px);
    animation: floatGlow 6s ease-in-out infinite alternate;
    pointer-events: none;
}

.footer-glow.one {
    top: 30px;
    right: -90px;
}

.footer-glow.two {
    bottom: -110px;
    left: -70px;
    animation-delay: 1.5s;
}

@keyframes floatGlow {
    from {
        transform: translateY(0) scale(1);
    }
    to {
        transform: translateY(-25px) scale(1.12);
    }
}

.footer-main {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.3fr .9fr .9fr 1fr;
    gap: 28px;
    max-width: 1250px;
    margin: 0 auto;
}

.footer-card {
    background: rgba(22, 24, 32, .72);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 22px;
    padding: 28px;
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .22);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.footer-card::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 0, 60, .25), transparent 65%);
    transition: var(--transition);
}

.footer-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 0, 60, .55);
    box-shadow: 0 25px 55px rgba(255, 0, 60, .14);
}

.footer-card:hover::before {
    transform: scale(1.35);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.footer-brand img {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    object-fit: cover;
    box-shadow: 0 0 22px rgba(255, 0, 60, .4);
}

.footer-brand h3 {
    font-size: 22px;
    font-weight: 900;
}

.footer-brand span {
    display: block;
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    margin-top: 3px;
}

.footer-desc {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 22px;
}

.footer-mini-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.footer-mini-stat {
    background: rgba(255, 0, 60, .08);
    border: 1px solid rgba(255, 0, 60, .18);
    border-radius: 14px;
    padding: 10px;
    text-align: center;
    transition: var(--transition);
}

.footer-mini-stat:hover {
    background: rgba(255, 0, 60, .16);
}

.footer-mini-stat strong {
    display: block;
    color: var(--primary);
    font-size: 18px;
    font-weight: 900;
}

.footer-mini-stat span {
    color: var(--muted);
    font-size: 11px;
}

.footer-title {
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-title i {
    color: var(--primary);
}

.footer-links {
    list-style: none;
    display: grid;
    gap: 12px;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    transition: var(--transition);
}

.footer-links a i {
    color: var(--primary);
    font-size: 11px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(-6px);
}

.footer-links a:hover i {
    transform: rotate(-35deg);
}

.footer-contact-list {
    list-style: none;
    display: grid;
    gap: 14px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--muted);
    font-size: 14px;
}

.footer-contact-list i {
    min-width: 36px;
    height: 36px;
    background: rgba(255, 0, 60, .1);
    color: var(--primary);
    border: 1px solid rgba(255, 0, 60, .24);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-socials {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.footer-newsletter {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.footer-newsletter input {
    flex: 1;
    min-width: 0;
    background: rgba(0, 0, 0, .25);
    border: 1px solid rgba(255, 255, 255, .08);
    color: var(--text);
    border-radius: 14px;
    padding: 12px 14px;
    outline: none;
    transition: var(--transition);
    font-family: inherit;
}

.footer-newsletter input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 0, 60, .09);
}

.footer-newsletter button {
    width: 48px;
    border: none;
    border-radius: 14px;
    background: var(--grad);
    color: #fff;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 24px rgba(255, 0, 60, .25);
}

.footer-newsletter button:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(255, 0, 60, .38);
}

.footer-bottom {
    position: relative;
    z-index: 2;
    max-width: 1250px;
    margin: 30px auto 0;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 13px;
}

.footer-credit {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-designer {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 0, 60, .08);
    border: 1px solid rgba(255, 0, 60, .18);
    color: var(--text);
    padding: 9px 14px;
    border-radius: 30px;
    text-decoration: none;
    transition: var(--transition);
}

.footer-designer:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.footer-designer strong {
    color: var(--primary);
    font-weight: 900;
}

/* ================================================================ توست */
#toastWrap {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 5000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--card);
    border: 1px solid var(--primary);
    color: var(--text);
    padding: 13px 20px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 700;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .5);
    animation: toastIn .3s ease;
}

.toast.success {
    border-color: #10b981;
}

.toast.error {
    border-color: #f87171;
}

.toast.info {
    border-color: #3b82f6;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateX(15px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ================================================================ ریسپانسیو */
@media (max-width: 1100px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .site-header {
        padding: 12px 5%;
    }

    .menu-toggle {
        display: block;
    }

    nav {
        position: fixed;
        top: 77px;
        right: -100%;
        width: 75%;
        height: calc(100vh - 77px);
        background: var(--card);
        box-shadow: -10px 0 30px rgba(0, 0, 0, .5);
        transition: var(--transition);
        z-index: 999;
        border-left: 1px solid var(--border);
        overflow-y: auto;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        padding: 40px 30px;
        gap: 20px;
    }

    nav a {
        font-size: 18px;
        display: block;
    }

    .about-grid,
    .contact-grid,
    .founder-grid {
        grid-template-columns: 1fr;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .modal-info-box {
        grid-template-columns: 1fr;
    }

    .hero {
        background-attachment: scroll;
    }
}

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

    footer {
        padding: 70px 5% 25px;
    }

    .footer-mini-stats {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }

    .footer-newsletter {
        flex-direction: column;
    }

    .footer-newsletter button {
        width: 100%;
        height: 46px;
    }

    .founder-img-box {
        width: 290px;
        height: 290px;
        padding: 8px;
    }

    .founder-img-box::before {
        inset: -7px;
    }

    .founder-img-box::after {
        inset: 14px;
    }

    .founder-badge {
        bottom: 8px;
        padding: 9px 14px;
    }

    .founder-badge h4 {
        font-size: 12px;
    }

    .founder-badge p {
        font-size: 10px !important;
    }

    .founder-text h2 {
        font-size: 24px;
    }

    .section-title {
        font-size: 27px;
    }

    section {
        padding: 80px 5% 30px;
    }

    .stats-bar {
        margin-top: -30px;
    }

    .scroll-indicator {
        display: none;
    }

    .post-content {
        padding: 25px 18px;
    }
}