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

:root {
    --red: #ff0000;
    --red-dark: #c90000;
    --red-glow: rgba(255, 0, 0, 0.18);
    --black: #020302;
    --white: #ffffff;
    --gray-100: #f5f5f5;
    --gray-200: #eeeeee;
    --gray-400: #aaaaaa;
    --gray-600: #666666;
    --gray-800: #222222;
    --surface: #ffffff;
    --surface-alt: #fafafa;
    --border: #e8e8e8;
    --text: #111111;
    --text-muted: #666666;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.12);
    --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Vazirmatn FD NL', 'Vazirmatn', Tahoma, sans-serif;
    background: var(--white);
    color: var(--text);
    direction: rtl;
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

/* ── Live Rates Top Bar ── */
.rates-top-bar {
    background: #0a0a0a;
    border-bottom: 1px solid rgba(255, 0, 0, 0.2);
    padding: 7px 0;
    overflow: hidden;
    position: relative;
}

.rates-top-bar::before,
.rates-top-bar::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 2;
    pointer-events: none;
}

.rates-top-bar::before {
    right: 0;
    background: linear-gradient(to left, #0a0a0a, transparent);
}

.rates-top-bar::after {
    left: 0;
    background: linear-gradient(to right, #0a0a0a, transparent);
}

.rates-top-inner {
    display: flex;
    align-items: center;
    gap: 0;
}

.rates-top-label {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--red);
    white-space: nowrap;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 5px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    position: relative;
    z-index: 3;
    background: #0a0a0a;
}

.dot-live {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--red);
    animation: pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

.rates-top-scroll-wrap {
    flex: 1;
    overflow: hidden;
}

.rates-top-scroll {
    display: flex;
    gap: 0;
    white-space: nowrap;
}

.rates-top-scroll.animating {
    animation: scrollRates 30s linear infinite;
}

.rate-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 18px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.78rem;
}

.rate-item:first-child {
    border-left: none;
}

.rate-item .r-name {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
}

.rate-item .r-val {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
}

.rate-item .r-change {
    font-size: 0.68rem;
    font-weight: 700;
}

.rate-item .r-change.up {
    color: #4ade80;
}

.rate-item .r-change.down {
    color: #f87171;
}

@keyframes scrollRates {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

/* ── Announcement Bar ── */
.announcement-bar {
    background: var(--black);
    color: var(--white);
    font-size: 0.82rem;
    padding: 10px 0;
    text-align: center;
    letter-spacing: 0.01em;
    position: relative;
    z-index: 100;
}

.announcement-bar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.announcement-bar i {
    color: var(--red);
    font-size: 0.85rem;
}

.announcement-bar strong {
    color: var(--red);
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* ── Container ── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Header ── */
.main-header {
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 99;
    backdrop-filter: blur(12px);
}

.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 12px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-area img {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.logo-area h1 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--black);
    letter-spacing: -0.02em;
}

.logo-area h1 span {
    color: var(--red);
}

/* ── Main Nav ── */
.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: center;
}

.main-nav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 13px;
    border-radius: 10px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--gray-600);
    transition: var(--transition);
    white-space: nowrap;
}

.main-nav a i {
    font-size: 0.78rem;
}

.main-nav a:hover {
    background: var(--gray-100);
    color: var(--black);
}

.main-nav a.active {
    background: rgba(255, 0, 0, 0.07);
    color: var(--red);
}

/* ── Header Actions ── */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.user-panel-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--gray-100);
    color: var(--gray-800);
    font-size: 0.84rem;
    font-weight: 700;
    padding: 9px 16px;
    border-radius: 50px;
    transition: var(--transition);
    border: 1.5px solid var(--border);
}

.user-panel-btn:hover {
    border-color: var(--red);
    color: var(--red);
    background: rgba(255, 0, 0, 0.04);
}

.user-panel-btn i {
    font-size: 0.9rem;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--red);
    color: var(--white);
    font-size: 0.86rem;
    font-weight: 700;
    padding: 9px 18px;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 2px 16px var(--red-glow);
}

.contact-btn:hover {
    background: var(--red-dark);
    transform: translateY(-1px);
}

/* ── Mobile Menu Toggle ── */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.3rem;
    color: var(--black);
    padding: 6px;
    border-radius: 8px;
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    background: var(--gray-100);
}

/* ── Mobile Nav Drawer ── */
.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
}

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

.mobile-nav-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

.mobile-nav-drawer {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: var(--white);
    padding: 0;
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.open .mobile-nav-drawer {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 16px;
    border-bottom: 1px solid var(--border);
}

.mobile-nav-header .logo-area h1 {
    font-size: 1.1rem;
}

.mobile-nav-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--gray-600);
    padding: 6px;
    border-radius: 8px;
}

.mobile-nav-close:hover {
    background: var(--gray-100);
}

.mobile-nav-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.mobile-nav-section {
    margin-bottom: 20px;
}

.mobile-nav-section-title {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0 8px;
    margin-bottom: 8px;
}

.mobile-nav-body a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 12px;
    border-radius: 12px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
    transition: var(--transition);
    margin-bottom: 2px;
}

.mobile-nav-body a i {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--gray-600);
    flex-shrink: 0;
    transition: var(--transition);
}

.mobile-nav-body a:hover {
    background: var(--gray-100);
}

.mobile-nav-body a:hover i {
    background: rgba(255, 0, 0, 0.1);
    color: var(--red);
}

.mobile-nav-footer {
    padding: 16px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-user-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 12px;
    background: var(--gray-100);
    border: 1.5px solid var(--border);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gray-800);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.mobile-user-btn:hover {
    border-color: var(--red);
    color: var(--red);
    background: rgba(255, 0, 0, 0.04);
}

.mobile-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 12px;
    background: var(--red);
    color: var(--white);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: 0 2px 16px var(--red-glow);
}

.mobile-contact-btn:hover {
    background: var(--red-dark);
}

/* ── Hero ── */
.hero {
    background: var(--black);
    color: var(--white);
    padding: 88px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -120px;
    left: -120px;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.14) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.09) 0%, transparent 70%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

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

    .hero-right {
        display: none;
    }
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.8rem;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero-tag .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--red);
    animation: pulse 2s ease-in-out infinite;
}

.hero h2 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.hero h2 .accent {
    color: var(--red);
}

.hero-left p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: 600px;
    margin-bottom: 40px;
    line-height: 1.85;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--red);
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 4px 24px rgba(255, 0, 0, 0.3);
    cursor: pointer;
    border: none;
}

.btn-primary:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: transparent;
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 50px;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    transition: var(--transition);
    cursor: pointer;
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.06);
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.04em;
    line-height: 1;
}

.stat-number span {
    color: var(--red);
}

.stat-label {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
}

/* Hero Right */
.hero-right {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 24px;
    backdrop-filter: blur(10px);
}

.hero-rates-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-rates-title .live-badge {
    background: var(--red);
    color: var(--white);
    font-size: 0.68rem;
    padding: 3px 8px;
    border-radius: 50px;
    font-weight: 700;
}

.hero-rate-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.hero-rate-row:last-child {
    border-bottom: none;
}

.hero-rate-flag {
    width: 32px;
    height: 22px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    overflow: hidden;
}

.hero-rate-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-rate-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--white);
}

.hero-rate-full {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.4);
}

.hero-rate-price {
    text-align: left;
}

.hero-rate-toman {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--white);
}

.hero-rate-usd {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
}

.hero-rate-change {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 50px;
}

.hero-rate-change.up {
    background: rgba(22, 163, 74, 0.15);
    color: #4ade80;
}

.hero-rate-change.down {
    background: rgba(255, 0, 0, 0.15);
    color: #f87171;
}

/* ── Calculator ── */
.calculator-section {
    background: var(--gray-100);
    padding: 72px 0;
}

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

.section-eyebrow {
    display: inline-block;
    color: var(--red);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 900;
    color: var(--black);
    letter-spacing: -0.03em;
    line-height: 1.25;
}

.section-subtitle {
    font-size: 0.97rem;
    color: var(--text-muted);
    max-width: 520px;
    margin: 12px auto 0;
}

.calc-card {
    background: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.calc-tabs {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    background: var(--gray-100);
    border-bottom: 1px solid var(--border);
    padding: 8px 8px 0;
    gap: 4px;
}

.calc-tabs::-webkit-scrollbar {
    display: none;
}

.calc-tab-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    padding: 10px 18px;
    border-radius: 12px 12px 0 0;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.87rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.calc-tab-btn.active {
    background: var(--white);
    color: var(--red);
    box-shadow: 0 -2px 0 var(--red) inset;
}

.calc-tab-btn:hover:not(.active) {
    background: rgba(0, 0, 0, 0.04);
    color: var(--text);
}

.calc-body {
    padding: 32px;
}

.calc-tab-content {
    display: none;
}

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

.calc-form-row {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr auto auto;
    gap: 14px;
    align-items: end;
}

@media (max-width: 900px) {
    .calc-form-row {
        grid-template-columns: 1fr 1fr;
    }

    .calc-form-row .calc-submit-wrap {
        grid-column: span 2;
    }
}

@media (max-width: 540px) {
    .calc-form-row {
        grid-template-columns: 1fr;
    }

    .calc-form-row .calc-submit-wrap {
        grid-column: span 1;
    }
}

.calc-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.calc-form-group label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 5px;
}

.calc-select,
.calc-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--text);
    background: var(--white);
    outline: none;
    transition: var(--transition);
    appearance: none;
    -webkit-appearance: none;
}

.calc-select:focus,
.calc-input:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.08);
}

.calc-select-wrap {
    position: relative;
}

.calc-select-wrap::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
    color: var(--gray-400);
    pointer-events: none;
}

.calc-price-display {
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    color: var(--text-muted);
    background: var(--gray-100);
    min-height: 46px;
    display: flex;
    align-items: center;
}

.calc-price-value {
    font-weight: 800;
    color: var(--black);
    font-size: 1rem;
}

.calc-submit-btn {
    padding: 12px 28px;
    background: var(--red);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 16px rgba(255, 0, 0, 0.2);
}

.calc-submit-btn:hover {
    background: var(--red-dark);
    transform: translateY(-1px);
}

.calc-info-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 12px 16px;
    background: rgba(255, 0, 0, 0.04);
    border: 1px solid rgba(255, 0, 0, 0.1);
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    color: var(--red-dark);
}

.sub-service-group {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sub-pill {
    padding: 6px 14px;
    border-radius: 50px;
    border: 1.5px solid var(--border);
    background: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-muted);
}

.sub-pill.selected {
    border-color: var(--red);
    background: rgba(255, 0, 0, 0.06);
    color: var(--red);
}

.sub-pill:hover:not(.selected) {
    border-color: var(--gray-400);
    color: var(--text);
}

/* ── Why Us ── */
.why-section {
    padding: 88px 0;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

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

.why-image-wrap {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: var(--gray-100);
}

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

.why-image-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--white);
    border-radius: 14px;
    padding: 14px 18px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
}

.why-image-badge .icon-wrap {
    width: 40px;
    height: 40px;
    background: rgba(255, 0, 0, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    font-size: 1rem;
}

.why-image-badge .badge-text strong {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    color: var(--black);
    line-height: 1;
}

.why-image-badge .badge-text span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.why-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    border: 1.5px solid transparent;
}

.why-feature:hover {
    border-color: rgba(255, 0, 0, 0.12);
    background: var(--white);
    box-shadow: var(--shadow);
}

.why-feature-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: var(--red);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
}

.why-feature-text h4 {
    font-size: 0.97rem;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 4px;
}

.why-feature-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ── Services ── */
.services-section {
    background: var(--black);
    padding: 88px 0;
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(45deg, transparent, transparent 60px, rgba(255, 255, 255, 0.012) 60px, rgba(255, 255, 255, 0.012) 61px);
    pointer-events: none;
}

.services-section .section-title,
.services-section .section-subtitle {
    color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

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

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

.service-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: var(--transition);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    border-color: rgba(255, 0, 0, 0.28);
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-4px);
}

.service-icon {
    width: 52px;
    height: 52px;
    background: rgba(255, 0, 0, 0.12);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    font-size: 1.2rem;
    margin-bottom: 18px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--red);
    color: var(--white);
}

.service-card h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.75;
}

/* ── Brands (Infinite Scrolling Loop) ── */
.brands-section {
    padding: 56px 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.brands-section .section-eyebrow {
    display: block;
    text-align: center;
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.brands-section-subtitle {
    text-align: center;
    font-size: 0.83rem;
    color: var(--text-muted);
    margin-bottom: 36px;
}

.brands-marquee-wrap {
    width: 100%;
    overflow: hidden;
    position: relative;
    direction: ltr;
    /* Ensure consistent flow in standard direction wrapper */
}

.brands-marquee-wrap::before,
.brands-marquee-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 3;
    pointer-events: none;
}

.brands-marquee-wrap::before {
    left: 0;
    background: linear-gradient(to right, var(--white), transparent);
}

.brands-marquee-wrap::after {
    right: 0;
    background: linear-gradient(to left, var(--white), transparent);
}

.brands-marquee-inner {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: marqueeBrands 32s linear infinite;
}

.brands-marquee-inner:hover {
    animation-play-state: paused;
}

@keyframes marqueeBrands {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

.brand-icon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    width: 105px;
    height: 105px;
    border-radius: 16px;
    border: 1.5px solid var(--border);
    background: var(--white);
    transition: var(--transition);
    cursor: pointer;
    flex-shrink: 0;
}

.brand-icon-card:hover {
    border-color: rgba(255, 0, 0, 0.2);
    background: rgba(255, 0, 0, 0.01);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.brand-icon-card .b-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: var(--transition);
}

.brand-icon-card:hover .b-icon {
    transform: scale(1.1);
}

.brand-icon-card .b-name {
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.2;
    font-family: sans-serif;
}

.brand-icon-card:hover .b-name {
    color: var(--text);
}

/* Icon colors styling */
.bi-visa {
    background: #1a1f71;
    color: #fff;
}

.bi-mastercard {
    background: #eb001b;
    color: #fff;
}

.bi-paypal {
    background: #003087;
    color: #fff;
}

.bi-amazon {
    background: #ff9900;
    color: #fff;
}

.bi-apple {
    background: #000;
    color: #fff;
}

.bi-google {
    background: #4285f4;
    color: #fff;
}

.bi-steam {
    background: #1b2838;
    color: #fff;
}

.bi-playstation {
    background: #003087;
    color: #fff;
}

.bi-xbox {
    background: #107c10;
    color: #fff;
}

.bi-itunes {
    background: #ea4cc0;
    color: #fff;
}

.bi-netflix {
    background: #e50914;
    color: #fff;
}

.bi-spotify {
    background: #1db954;
    color: #fff;
}

.bi-adobe {
    background: #fa0f00;
    color: #fff;
}

.bi-openai {
    background: #10a37f;
    color: #fff;
}

.bi-github {
    background: #24292e;
    color: #fff;
}

.bi-coursera {
    background: #0056d2;
    color: #fff;
}

.bi-udemy {
    background: #a435f0;
    color: #fff;
}

.bi-wise {
    background: #00b9ff;
    color: #fff;
}

.bi-nintendo {
    background: #e60012;
    color: #fff;
}

.bi-microsoft {
    background: #00a4ef;
    color: #fff;
}

.bi-figma {
    background: #f24e1e;
    color: #fff;
}

.bi-canva {
    background: #00c4cc;
    color: #fff;
}

.bi-grammarly {
    background: #15c39a;
    color: #fff;
}

/* ── Redesigned Popular Services ── */
.popular-section {
    padding: 88px 0;
    background: var(--gray-100);
}

.popular-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 36px;
}

@media (max-width: 1024px) {
    .popular-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

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

.popular-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.popular-card:hover {
    border-color: rgba(255, 0, 0, 0.2);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.popular-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
}

.popular-card-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.popular-badge {
    font-size: 0.68rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 50px;
    display: inline-block;
}

.popular-card-body h4 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 8px;
    line-height: 1.5;
}

.popular-card-body p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.popular-card-footer {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--gray-100);
}

.popular-card-footer span {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--red);
}

.popular-card-footer i {
    font-size: 0.8rem;
    color: var(--red);
    transition: var(--transition);
}

.popular-card:hover .popular-card-footer i {
    transform: translateX(-4px);
}

/* Popular card icon theme gradients */
.p-theme-toefl {
    background: linear-gradient(135deg, #1d4ed8, #3b82f6);
}

.p-theme-gre {
    background: linear-gradient(135deg, #0f766e, #14b8a6);
}

.p-theme-canada {
    background: linear-gradient(135deg, #b91c1c, #ef4444);
}

.p-theme-ielts {
    background: linear-gradient(135deg, #4338ca, #6366f1);
}

.p-theme-swiss {
    background: linear-gradient(135deg, #be123c, #fb7185);
}

.p-theme-uni {
    background: linear-gradient(135deg, #ea580c, #f97316);
}

.p-theme-uk {
    background: linear-gradient(135deg, #6d28d9, #8b5cf6);
}

.p-theme-cimea {
    background: linear-gradient(135deg, #047857, #10b981);
}

.p-badge-red {
    background: rgba(255, 0, 0, 0.08);
    color: var(--red);
}

.p-badge-green {
    background: rgba(16, 185, 129, 0.08);
    color: #10b981;
}

.p-badge-blue {
    background: rgba(59, 130, 246, 0.08);
    color: #3b82f6;
}

.popular-see-all {
    text-align: center;
    margin-top: 36px;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--black);
    font-size: 0.92rem;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 50px;
    border: 2px solid var(--black);
    transition: var(--transition);
    cursor: pointer;
}

.btn-ghost:hover {
    background: var(--black);
    color: var(--white);
}

/* ── Testimonials ── */
.testimonials-section {
    padding: 88px 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

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

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

.testimonial-card {
    background: var(--gray-100);
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    padding: 24px;
    transition: var(--transition);
    position: relative;
}

.testimonial-card:hover {
    border-color: rgba(255, 0, 0, 0.15);
    box-shadow: var(--shadow);
    background: var(--white);
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 14px;
    left: 18px;
    font-size: 3rem;
    line-height: 1;
    color: rgba(255, 0, 0, 0.12);
    font-family: Georgia, serif;
}

.testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 12px;
}

.testimonial-stars i {
    color: #f59e0b;
    font-size: 0.82rem;
}

.testimonial-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--red);
    background: rgba(255, 0, 0, 0.06);
    padding: 3px 9px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.testimonial-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 16px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.testimonial-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    flex-shrink: 0;
}

.testimonial-author-name {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--black);
}

.testimonial-author-service {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ── Blog ── */
.blog-section {
    padding: 88px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

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

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

.blog-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    border-color: rgba(255, 0, 0, 0.15);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.blog-card-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 2rem;
}

.blog-card-body {
    padding: 18px;
}

.blog-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--red);
    background: rgba(255, 0, 0, 0.06);
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.blog-card-body h4 {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--black);
    line-height: 1.55;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-body p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.blog-card-footer .date {
    font-size: 0.75rem;
    color: var(--gray-400);
}

.blog-card-footer .read-more {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--red);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ── Notice ── */
.notice-section {
    background: rgba(255, 0, 0, 0.04);
    border-top: 1px solid rgba(255, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 0, 0, 0.1);
    padding: 18px 0;
}

.notice-section .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
}

.notice-section i {
    color: var(--red);
    font-size: 1rem;
    flex-shrink: 0;
}

.notice-section p {
    font-size: 0.87rem;
    color: var(--red-dark);
    font-weight: 600;
}

/* ── Footer ── */
.main-footer {
    background: var(--black);
    color: rgba(255, 255, 255, 0.65);
    padding: 72px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 1fr;
    gap: 48px;
}

@media (max-width: 1000px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 540px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo img {
    height: 130px;
    width: auto;
}

.footer-logo span {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--white);
}

.footer-col h4 {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 28px;
    height: 2px;
    background: var(--red);
    border-radius: 2px;
}

.footer-col > p {
    font-size: 0.85rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.45);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-col ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.55;
}

.footer-col ul li i {
    color: var(--red);
    font-size: 0.8rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-col ul li a {
    color: inherit;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--white);
}

.enamad-logo {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
}

.enamad-logo a img {
    width: 80px;
    border-radius: 8px;
}

.footer-bottom {
    margin-top: 56px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom .copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-social-link:hover {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}

/* ── Fade in ── */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: none;
}

.fade-in-delay-1 {
    transition-delay: 0.1s;
}

.fade-in-delay-2 {
    transition-delay: 0.2s;
}

.fade-in-delay-3 {
    transition-delay: 0.3s;
}

.fade-in-delay-4 {
    transition-delay: 0.4s;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .main-nav a span {
        display: none;
    }

    .main-nav a {
        padding: 8px 10px;
    }
}

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

    .mobile-menu-toggle {
        display: flex;
    }

    .contact-btn {
        display: none;
    }

    .user-panel-btn span {
        display: none;
    }

    .user-panel-btn {
        padding: 9px 12px;
    }

    .hero {
        padding: 56px 0 52px;
    }

    .hero-stats {
        gap: 24px;
    }

    .calc-body {
        padding: 20px;
    }

    .services-section,
    .popular-section,
    .blog-section,
    .why-section,
    .testimonials-section {
        padding: 60px 0;
    }
}

/* ── Hero Image Custom Style ── */
.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-container img {
    width: 100%;
    max-width: 500px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.hero-image-container img:hover {
    transform: scale(1.02);
}

/* ── Developer Credit ── */
.developer-credit {
    background: #0a0a0a;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 16px 0;
}

.developer-credit .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.credit-content {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.credit-text {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 400;
}

.credit-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 4px 0;
    position: relative;
}

.credit-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--red);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: right;
}

.credit-link:hover {
    color: var(--red);
}

.credit-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.credit-link i.fa-code {
    font-size: 0.75rem;
    color: var(--red);
    transition: transform 0.3s ease;
}

.credit-link:hover i.fa-code {
    transform: rotate(15deg) scale(1.1);
}

.credit-link i.fa-external-link-alt {
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.credit-link:hover i.fa-external-link-alt {
    opacity: 0.7;
    transform: translateX(0);
}

@media (max-width: 480px) {
    .credit-content {
        flex-direction: column;
        gap: 4px;
    }

    .credit-text {
        font-size: 0.72rem;
    }

    .credit-link {
        font-size: 0.78rem;
    }
}

/* ═══ FLOATING SUPPORT BUTTONS ═══ */
.floating-support {
    position: fixed;
    bottom: 32px;
    left: 32px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.support-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: floatIn 0.5s ease backwards;
}

/* انیمیشن ورود */
.support-btn:nth-child(1) {
    animation-delay: 0.1s;
}

.support-btn:nth-child(2) {
    animation-delay: 0.2s;
}

.support-btn:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateX(30px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* واتس‌آپ */
.support-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.support-whatsapp i {
    font-size: 1.8rem;
    color: #ffffff;
}

/* تلگرام */
.support-telegram {
    background: linear-gradient(135deg, #2AABEE, #229ED9);
}

.support-telegram i {
    font-size: 1.7rem;
    color: #ffffff;
}

/* بله */
.support-bale {
    background: linear-gradient(135deg, #00b894, #00a381);
}

.support-bale .bale-icon {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

/* Tooltip */
.support-tooltip {
    position: absolute;
    left: 68px;
    background: rgba(0, 0, 0, 0.85);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 8px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Vazirmatn FD NL', 'Vazirmatn', Tahoma, sans-serif;
}

.support-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -5px;
    transform: translateY(-50%);
    border-width: 5px 6px 5px 0;
    border-style: solid;
    border-color: transparent rgba(0, 0, 0, 0.85) transparent transparent;
}

/* افکت‌های هاور */
.support-btn:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.support-btn:hover .support-tooltip {
    opacity: 1;
    transform: translateX(0);
}

.support-btn:hover .bale-icon {
    transform: rotate(10deg) scale(1.1);
}

/* پالس گلو */
.support-btn::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    z-index: -1;
    animation: pulseGlow 2s ease-in-out infinite;
}

.support-whatsapp::before {
    background: rgba(37, 211, 102, 0.4);
    animation-delay: 0s;
}

.support-telegram::before {
    background: rgba(42, 171, 238, 0.4);
    animation-delay: 0.5s;
}

.support-bale::before {
    background: rgba(0, 184, 148, 0.4);
    animation-delay: 1s;
}

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* موبایل */
@media (max-width: 768px) {
    .floating-support {
        bottom: 20px;
        left: 16px;
        gap: 10px;
    }

    .support-btn {
        width: 48px;
        height: 48px;
    }

    .support-whatsapp i {
        font-size: 1.5rem;
    }

    .support-telegram i {
        font-size: 1.4rem;
    }

    .support-bale .bale-icon {
        width: 24px;
        height: 24px;
    }

    .support-tooltip {
        display: none; /* مخفی کردن tooltip در موبایل */
    }
}

/* مخفی کردن دکمه‌ها هنگام اسکرول در فوتر */
@media (max-height: 700px) {
    .floating-support {
        bottom: 16px;
    }

    .support-btn {
        width: 44px;
        height: 44px;
    }
}

/* ═══ Footer Contact List (Redesigned) ═══ */
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 0;
}

/* آیکون باکس */
.contact-icon-box {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-icon-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--red);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 10px;
}

.contact-icon-box i {
    font-size: 0.9rem;
    color: var(--red);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.footer-contact-list li:hover .contact-icon-box::before {
    opacity: 1;
}

.footer-contact-list li:hover .contact-icon-box i {
    color: #ffffff;
    transform: scale(1.15);
}

/* اطلاعات تماس */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    padding-top: 2px;
}

.contact-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    transition: color 0.3s ease;
}

.contact-link {
    text-decoration: none;
    display: inline-block;
    position: relative;
}

.contact-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--red);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: right;
}

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

.contact-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* بج ساعات کاری */
.contact-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    padding: 2px 8px;
    border-radius: 50px;
    margin-right: 6px;
    vertical-align: middle;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* موبایل */
@media (max-width: 768px) {
    .contact-icon-box {
        width: 36px;
        height: 36px;
        min-width: 36px;
        border-radius: 8px;
    }

    .contact-icon-box i {
        font-size: 0.8rem;
    }

    .contact-value {
        font-size: 0.8rem;
    }
}