:root {
    --primary: #7B2CBF;
    --primary-dark: #4c1d88;
    --bs-primary: var(--primary);
    --bs-primary-rgb: 123, 44, 191;
    --accent: #f29bc2;
    --surface: #ffffff;
    --muted: #5e4c80;
    --bg: #f7f1ff;
    --border: #eadfff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "IRANSans", "Vazirmatn", sans-serif;
    background: var(--bg);
    color: #1e1238;
    line-height: 1.7;
    --nav-height: 0px;
}

a {
    text-decoration: none;
}

.container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

.top-shell .container {
    width: 100%;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
}

@media (min-width: 640px) {
    .top-shell .container {
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    .top-shell .container {
        max-width: 768px;
    }
}

@media (min-width: 1024px) {
    .top-shell .container {
        max-width: 1024px;
    }
}

@media (min-width: 1280px) {
    .top-shell .container {
        max-width: 1280px;
    }
}

@media (min-width: 1536px) {
    .top-shell .container {
        max-width: 1536px;
    }
}

.home-page {
    background: linear-gradient(180deg, #f8f4ff 0%, #ffffff 60%);
}

.home-logo {
    display: flex;
    justify-content: center;
    margin-top: 8px;
    margin-bottom: 8px;
}

.home-logo__img {
    width: 260px;
    height: auto;
    display: block;
}

/* HEADER */
.top-shell {
    background: linear-gradient(180deg, #f7f1ff 0%, #ffffff 100%);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 35px rgba(53, 18, 110, 0.08);
}

.info-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    font-size: 13px;
    color: #111;
    flex-wrap: wrap;
}

.info-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.info-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    color: #111;
    font-weight: 700;
    background: transparent;
    border: none;
}

.info-icon {
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.info-icon svg {
    width: 16px;
    height: 16px;
    display: block;
}

.info-sep {
    color: #b9a9d6;
    font-weight: 700;
}

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

.social {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #dcdcdc;
    background: #ffffff;
    color: #222;
    font-weight: 700;
    display: grid;
    place-items: center;
    font-size: 12px;
    transition: all 0.2s ease;
}

.social:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.social svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.info-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-name {
    font-weight: 800;
    letter-spacing: 0.2px;
    color: #181528;
}

.brand-tagline {
    font-size: 12px;
    color: #6a578d;
}

.nav-row {
    position: relative;
    z-index: 1200;
    background: var(--primary);
    box-shadow: 0 10px 28px rgba(18, 7, 57, 0.12);
    width: 100%;
}

.nav-row::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: linear-gradient(90deg, rgba(123, 44, 191, 0) 0%, rgba(123, 44, 191, 0.28) 50%, rgba(123, 44, 191, 0) 100%);
    pointer-events: none;
}

.nav-row.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

.home-page.nav-fixed {
    padding-top: calc(var(--nav-height) + 10px);
}

.nav-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 1px 2px 2px;
    flex-wrap: wrap;
    direction: rtl;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.nav-links a {
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: auto;
}

.nav-link {
    color: #ffffff;
    font-weight: 600;
    padding: 8px 10px;
    border-radius: 12px;
}

.btn-pill {
    background: var(--primary);
    color: white;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(123, 44, 191, 0.25);
}

.user-menu {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.user-button {
    border: 1px solid #e2d9f7;
    background: #f6f0ff;
    color: #361b63;
    padding: 6px 10px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: #ffffff;
    border: 1px solid #e6ddff;
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(18, 7, 57, 0.15);
    padding: 8px;
    min-width: 180px;
    display: none;
    flex-direction: column;
    z-index: 1300;
}

.user-dropdown a {
    color: #2f1b54;
    padding: 8px 10px;
    border-radius: 8px;
    font-weight: 600;
}

.user-dropdown a:hover {
    background: #efe7ff;
}

.user-menu:hover .user-dropdown,
.user-menu:focus-within .user-dropdown {
    display: flex;
}

.nav-brand {
    margin-bottom: -24px;
    margin-top: -24px;
}

.nav-brand img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(87, 37, 143, 0.25));
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid #e6ddff;
    background: #f7f3ff;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: #2f1b54;
    border-radius: 2px;
}

/* HERO SLIDER */
.hero-slider {
    width: min(1200px, 92%);
    margin: 20px auto 70px;
    position: relative;
}

.slider {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    min-height: 340px;
    background: #120d2b;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide.active {
    position: relative;
    opacity: 1;
    transform: scale(1);
}

.slide img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(18, 7, 57, 0.72) 10%, rgba(18, 7, 57, 0.35) 55%, rgba(18, 7, 57, 0));
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    padding: 40px;
}

.overlay-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.eyebrow {
    margin: 0;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #f0d7ff;
}

.slide-overlay h1 {
    margin: 0;
    font-size: 32px;
    line-height: 1.3;
}

.lead {
    margin: 0;
    max-width: 620px;
    color: #f3e9ff;
}

.hero-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.hero-slider .hero-buttons {
    display: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
}

.btn.primary {
    background: #f6f0ff;
    color: #5a2ca0;
}

.btn.ghost {
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.btn.primary:hover {
    background: #ffffff;
    box-shadow: 0 10px 22px rgba(255, 255, 255, 0.35);
}

.btn.ghost:hover {
    background: rgba(255, 255, 255, 0.2);
}

.slider-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 14px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    border: 1px solid #c7b6ef;
    background: #f2ebff;
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 0;
}

.slider-dot.active {
    background: var(--primary);
    border-color: var(--primary);
    width: 28px;
}

/* ADS CAROUSEL (home) — 3 cards per view, cycles through admin-managed ads */
.ads-carousel {
    width: min(1200px, 92%);
    margin: 20px auto 70px;
    position: relative;
}

.ads-viewport {
    overflow: hidden;
    padding: 6px;
    margin: -6px;
}

.ads-track {
    display: flex;
    gap: 20px;
    transition: transform 0.95s ease-in-out;
    will-change: transform;
}

.ad-card {
    flex: 0 0 calc((100% - 40px) / 3);
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #efe9fb;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(70, 30, 130, 0.08);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ad-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(70, 30, 130, 0.16);
}

.ad-card__media {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #f3eefb;
    overflow: hidden;
}

.ad-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ad-card__body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.ad-card__title {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    color: #2b1055;
    line-height: 1.5;
}

.ad-card__subtitle {
    margin: 0;
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
}

.ad-card__desc {
    margin: 0;
    font-size: 13px;
    line-height: 1.9;
    color: #5c5470;
    text-align: justify;
}

.ad-card__prices {
    margin-top: auto;
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 8px;
}

.ad-card__price-old {
    font-size: 13px;
    color: #a79fbc;
    text-decoration: line-through;
}

.ad-card__price-new {
    font-size: 18px;
    font-weight: 800;
    color: #1a7f45;
}

.ad-card__unit {
    font-size: 12px;
    font-weight: 600;
}

.ads-nav {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: var(--primary);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(70, 30, 130, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: background 0.2s ease, color 0.2s ease;
}

.ads-nav:hover {
    background: var(--primary);
    color: #fff;
}

.ads-prev { right: -14px; }
.ads-next { left: -14px; }

.ads-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 18px;
    flex-wrap: wrap;
}

.ads-dots .ads-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 1px solid #c7b6ef;
    background: #f2ebff;
    cursor: pointer;
    padding: 0;
    transition: all 0.25s ease;
}

.ads-dots .ads-dot.active {
    background: var(--primary);
    border-color: var(--primary);
    width: 26px;
}

@media (max-width: 900px) {
    .ad-card { flex-basis: calc((100% - 20px) / 2); }
}

@media (max-width: 600px) {
    .ad-card { flex-basis: 100%; }
    .ads-prev { right: 2px; }
    .ads-next { left: 2px; }
}

/* SECTIONS */
.section {
    padding: 70px 0;
    text-align: center;
}

.section .container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

.section-title {
    font-size: 28px;
    margin-bottom: 12px;
    color: #2d1a51;
}

.section-lead {
    margin: 0 auto 32px;
    max-width: 760px;
    color: var(--muted);
}

.section.light {
    background: #f9f6ff;
}

.impact {
    text-align: right;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    align-items: center;
}

.impact-visual {
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(18, 7, 57, 0.16);
}

.impact-video {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    display: block;
}

.impact-details .section-title {
    text-align: right;
}

.impact .eyebrow {
    color: #5a2ca0;
    font-weight: 800;
}

.stat-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 20px;
}

.stat-item {
    background: #f6f3ff;
    border: 1px solid #e6ddff;
    border-radius: 14px;
    padding: 12px 14px;
}

.stat-label {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    color: #1f1535;
    gap: 10px;
}

.stat-value {
    color: var(--primary);
}

.stat-bar {
    margin-top: 10px;
    height: 10px;
    border-radius: 999px;
    background: #e6dfff;
    overflow: hidden;
}

.stat-bar-fill {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #7b2cbf, #a85ad9);
    border-radius: inherit;
    transition: width 1.2s ease;
}

.stat-list.in-view .stat-bar-fill {
    width: var(--value);
}

/* GRID & CARDS */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
}

.card {
    background: var(--surface);
    padding: 20px;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(43, 8, 90, 0.08);
    text-align: right;
    border: 1px solid transparent;
}

.card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 14px;
}

.card h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: #2d1a51;
}

.card p {
    margin: 0;
    color: var(--muted);
}

.problems .card {
    border-color: #efe4ff;
}

.section.light .card {
    border-color: #e9dcff;
    background: #ffffff;
}

/* TABS */
.tabs {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.tab {
    padding: 10px 18px;
    border-radius: 12px;
    border: 1px solid #e3d5ff;
    background: #efe7ff;
    cursor: pointer;
    font-weight: 700;
    color: #432c76;
    transition: all 0.2s ease;
}

.tab.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(123, 44, 191, 0.25);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.benefit-grid {
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.benefit-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f7f3ff;
    border: 1px solid #e5dcff;
    font-weight: 700;
    color: #2d1a51;
}

.benefit-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(123, 44, 191, 0.16);
}

.benefit-section {
    padding: 30px 0 10px;
}

/* CTA */
.cta {
    width: min(1100px, 90%);
    margin: 50px auto 80px;
    padding: 60px;
    border-radius: 26px;
    text-align: center;
    background: linear-gradient(135deg, rgba(123, 44, 191, 0.9), rgba(68, 18, 119, 0.9)), url('https://images.unsplash.com/photo-1553877522-43269d4ea984?auto=format&fit=crop&w=1400&q=80') center/cover;
    color: white;
    box-shadow: 0 22px 45px rgba(93, 34, 160, 0.35);
}

.cta h2 {
    margin: 0;
    font-size: 30px;
}

.cta p {
    margin: 14px auto 26px;
    max-width: 640px;
    color: #f7eefe;
}

.support {
    text-align: right;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    align-items: center;
}

.support-visual {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 16px 38px rgba(18, 7, 57, 0.14);
}

.support-video {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    display: block;
}

.support-content .section-title {
    text-align: right;
}

.support .eyebrow {
    color: #5a2ca0;
    font-weight: 800;
}

.support-list {
    margin: 18px 0;
    padding: 0 20px;
    color: #2d1a51;
    line-height: 1.9;
}

.support-list li {
    margin-bottom: 6px;
}

/* FAQ accordion */
#faqAccordion .faq-btn {
    padding: 4px 12px;
}

#faqAccordion .faq-panel {
    padding: 8px 12px;
}

.logo-bar {
    background: #0f0724;
    padding: 22px 0;
}

.auth-body {
    background: linear-gradient(180deg, #f7f3ff 0%, #ffffff 60%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
}

.auth-section {
    padding: 0 0 10px;
    flex: 1;
}

.auth-card {
    width: min(560px, 92vw);
    margin: 20px auto;
    background: #ffffff;
    border-radius: 20px;
    padding: 24px 24px 30px;
    box-shadow: 0 30px 60px rgba(12, 5, 30, 0.18);
}

.auth-title {
    margin: 0 0 16px;
    color: #2d1a51;
    font-size: 20px;
    text-align: center;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.auth-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #2d1a51;
    font-weight: 700;
    font-size: 14px;
}

.auth-form input,
.auth-form select,
.auth-form textarea {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #e2d9f7;
    font-family: inherit;
}

.auth-form input:focus,
.auth-form select:focus,
.auth-form textarea:focus {
    outline: 2px solid rgba(123, 44, 191, 0.25);
    border-color: var(--primary);
}

.auth-note {
    margin: 4px 0 0;
    color: #6c5a8d;
    font-size: 12px;
    text-align: center;
}

.auth-switch {
    margin-top: 12px;
    text-align: center;
    color: #5a4c78;
    font-weight: 600;
}

.auth-section .btn.primary:hover {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(123, 44, 191, 0.35);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

.auth-toast-center {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    pointer-events: none;
}

.auth-toast {
    background: #b42318;
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(24, 12, 56, 0.2);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    max-width: min(90vw, 420px);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: auto;
}

.auth-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.w-100 {
    width: 100%;
    justify-content: center;
}

.captcha-box {
    display: grid;
    place-items: center;
    background: #f1edff;
    border: 1px dashed #c5b7e9;
    border-radius: 10px;
    min-height: 46px;
    font-weight: 700;
    color: #483673;
    position: relative;
    overflow: hidden;
}

.captcha-box::after {
    content: "";
    position: absolute;
    top: 50%;
    left: -10%;
    width: 120%;
    height: 2px;
    background: rgba(72, 54, 115, 0.35);
    transform: rotate(-8deg);
}

.logo-marquee {
    --marquee-gap: 30px;
    overflow: hidden;
    display: flex;
    gap: var(--marquee-gap);
    position: relative;
    direction: ltr;
}

.marquee-track {
    display: flex;
    gap: 12px;
    min-width: max-content;
    flex-shrink: 0;
    animation: marquee 25s linear infinite;
}

.logo-chip {
    padding: 10px 16px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.08);
    color: #f2e9ff;
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-weight: 700;
    font-size: 12px;
    white-space: nowrap;
    direction: rtl;
}

@keyframes marquee {
    from { transform: translateX(calc(-100% - var(--marquee-gap, 30px))); }
    to { transform: translateX(0); }
}

/* FOOTER */
.footer {
    background: #1a0d33;
    color: #d4c7f3;
    padding: 24px 0 6px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    align-items: flex-start;
    padding-bottom: 0;
}

.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-brand img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.footer-info div {
    margin-bottom: 6px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-title {
    color: #ffffff;
    font-weight: 700;
}

.footer-link {
    color: #d4c7f3;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #ffffff;
}

.footer-social {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer-note {
    color: #b7aad8;
    margin-top: 12px;
}

.footer-logo {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    direction: ltr;
    padding: 0;
    align-self: flex-start;
}

.footer-logo img {
    width: 160px;
    height: 160px;
    object-fit: contain;
    display: block;
    transform: scale(1.2);
    transform-origin: top center;
}

.footer .socials .social {
    background: rgba(255, 255, 255, 0.08);
    border-color: transparent;
    color: #ffffff;
}

.footer .socials .social:hover {
    background: #ffffff;
    color: #2d1a51;
}

.footer-bottom {
    text-align: center;
    margin-top: 0;
    color: #a99dd4;
    font-size: 13px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .nav-row {
        gap: 10px;
    }

    .nav-links {
        width: 100%;
    }

    .nav-actions {
        margin-right: 0;
    }

    .nav-inner {
        position: relative;
        align-items: flex-start;
    }

    .menu-toggle {
        display: inline-flex;
        order: 1;
    }

    .nav-brand {
        order: 3;
    }

    .nav-actions {
        display: flex;
        order: 2;
        width: auto;
        background: transparent;
        padding: 0;
        box-shadow: none;
        flex-direction: row;
        gap: 6px;
    }

    .nav-links {
        display: none;
        order: 4;
        width: 100%;
        background: #ffffff;
        border-radius: 12px;
        padding: 10px 12px;
        box-shadow: 0 12px 30px rgba(18, 7, 57, 0.12);
    }

    .nav-links {
        flex-direction: column;
        gap: 6px;
        margin-top: 10px;
    }

    .nav-links a {
        color: #2f1b54;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: #f3e8ff;
        color: #2f1b54;
        box-shadow: inset 0 0 0 1px rgba(123, 44, 191, 0.2);
    }

    .user-menu {
        width: auto;
    }

    .user-button {
        width: auto;
        justify-content: center;
    }

    .user-dropdown {
        position: absolute;
        box-shadow: 0 12px 24px rgba(18, 7, 57, 0.15);
        width: auto;
    }

    .top-shell.menu-open .nav-links {
        display: flex;
    }

    .auth-section {
        padding-left: 16px;
        padding-right: 16px;
    }

    .auth-section .container {
        display: flex;
        justify-content: center;
    }

    .auth-card {
        width: min(520px, 100%);
    }

    .contact-page .contact-grid {
        justify-items: center;
    }

    .contact-page .contact-card {
        width: min(720px, 100%);
    }

    .slider {
        min-height: 420px;
    }

    .slide img {
        height: 420px;
    }

    .benefit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cta {
        padding: 40px 26px;
    }
}

@media (max-width: 600px) {
    .info-bar {
        justify-content: center;
    }

    .nav-row {
        position: sticky;
    }

    /* موبایل: فشرده‌کردن فاصله‌ها تا نوار بالا در یک خط بماند و لوگو پایین نیفتد */
    .nav-inner {
        gap: 8px;
        flex-wrap: nowrap;
    }

    .nav-actions {
        gap: 4px;
    }

    .nav-actions .nav-link {
        padding: 6px 7px;
        font-size: 14px;
    }

    .menu-toggle {
        width: 36px;
        height: 36px;
    }

    .nav-brand {
        margin-top: 0;
        margin-bottom: 0;
    }

    .nav-brand img {
        width: 58px;
        height: 58px;
    }

    .benefit-grid {
        grid-template-columns: 1fr;
    }

    .stat-label {
        flex-direction: column;
        align-items: flex-start;
    }

    .logo-chip {
        font-size: 12px;
        padding: 8px 12px;
    }
}
