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

/* =========================================================
   BASE VARIABLES & RESET
   ========================================================= */
:root {
    --bg-body: #ffffff;
    --text-body: #111827;
}

[data-theme="dark"] {
    --bg-body: #0a0f1c;
    --text-body: #f8fafc;
}

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

html {
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    background: var(--bg-body);
}

body {
    font-family: "Vazirmatn", sans-serif;
    background: var(--bg-body);
    color: var(--text-body);
    direction: rtl;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

/* =========================================================
   FINAL HEADER — CLEAN ICON MENU / LEFT ACTIONS / PASTEL ICONS
   ========================================================= */

.site-header {
    width: min(1280px, calc(100% - 42px));
    margin: 22px auto 0;
    position: sticky;
    top: 18px;
    z-index: 1000;
    direction: rtl;
}

.header-shell {
    width: 100%;
    min-height: 86px;
    display: flex !important;
    align-items: center;
    justify-content: flex-start !important;
    gap: 26px;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    overflow: visible !important;
}

.header-shell::before,
.header-shell::after {
    display: none !important;
}

.logo {
    order: 1;
    width: 78px;
    height: 78px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 28px;
    overflow: hidden;
    text-decoration: none;

    background: rgba(255, 255, 255, 0.82) !important;
    border: 1px solid rgba(255, 255, 255, 0.88) !important;

    box-shadow:
        0 20px 52px rgba(15, 23, 42, 0.10),
        0 8px 20px rgba(15, 23, 42, 0.045),
        inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;

    backdrop-filter: blur(22px) saturate(170%);
    -webkit-backdrop-filter: blur(22px) saturate(170%);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.logo::before {
    display: none !important;
}

.logo:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow:
        0 26px 64px rgba(15, 23, 42, 0.14),
        0 10px 26px rgba(15, 23, 42, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}

.logo img {
    display: block;
    height: 56px;
    width: auto;
    object-fit: contain;
}

.main-nav.modern-mobile-menu {
    order: 2;
    position: relative;
    direction: rtl;
    width: auto !important;
    max-width: none;
    min-height: auto !important;
    flex: 0 0 auto;

    display: inline-flex !important;
    align-items: center;
    justify-content: flex-start !important;
    flex-wrap: nowrap;
    gap: 28px;

    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;

    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;

    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: none;
}

.main-nav.modern-mobile-menu::-webkit-scrollbar {
    display: none;
}

.main-nav.modern-mobile-menu::before,
.main-nav.modern-mobile-menu::after {
    display: none !important;
}

.main-nav.modern-mobile-menu .menu__item {
    --lineWidth: 0px;
    --item-color: #111827;

    position: relative;
    width: 48px;
    min-width: 48px;
    height: 58px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    box-shadow: none !important;

    color: #111827;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    isolation: isolate;

    transition:
        width 0.32s cubic-bezier(.2, .85, .2, 1),
        min-width 0.32s cubic-bezier(.2, .85, .2, 1),
        color 0.22s ease,
        transform 0.22s ease;
}

.main-nav.modern-mobile-menu .menu__item::before {
    display: none !important;
}

.main-nav.modern-mobile-menu .menu__item::after {
    content: "";
    position: absolute;
    right: 44px;
    left: auto;
    bottom: 2px;
    width: var(--lineWidth);
    height: 4px;
    border-radius: 999px;
    background: currentColor;
    opacity: 0;
    transform: scaleX(0.2);
    transform-origin: right;

    transition:
        opacity 0.22s ease,
        transform 0.3s cubic-bezier(.2, .85, .2, 1),
        width 0.22s ease;
}

.main-nav.modern-mobile-menu .menu__item:hover,
.main-nav.modern-mobile-menu .menu__item.active {
    width: 112px;
    min-width: 112px;
    color: var(--item-color);
    background: transparent !important;
    box-shadow: none !important;
    transform: translateY(-2px);
}

.main-nav.modern-mobile-menu .menu__item:hover::after,
.main-nav.modern-mobile-menu .menu__item.active::after {
    opacity: 1;
    transform: scaleX(1);
}

.main-nav.modern-mobile-menu .menu__item:nth-child(1) {
    --item-color: #111827;
}

.main-nav.modern-mobile-menu .menu__item:nth-child(2) {
    --item-color: #111827;
}

.main-nav.modern-mobile-menu .menu__item:nth-child(3) {
    --item-color: #111827;
}

.main-nav.modern-mobile-menu .menu__item:nth-child(4) {
    --item-color: #111827;
}

.main-nav.modern-mobile-menu .menu__item:nth-child(5) {
    --item-color: #111827;
}

.main-nav.modern-mobile-menu .menu__icon {
    position: relative;
    width: 34px;
    height: 34px;
    min-width: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.main-nav.modern-mobile-menu .menu__icon::before {
    display: none !important;
}

.main-nav.modern-mobile-menu .menu__icon .icon {
    position: relative;
    z-index: 2;
    width: 32px;
    height: 32px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.45;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.main-nav.modern-mobile-menu .menu__item:hover .icon,
.main-nav.modern-mobile-menu .menu__item.active .icon {
    animation: iconBounce 0.58s ease;
}

.main-nav.modern-mobile-menu .menu__text {
    direction: rtl;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;

    color: currentColor;
    font-size: 16px;
    font-weight: 950;
    line-height: 1;

    transform: translateX(-8px);

    transition:
        max-width 0.32s cubic-bezier(.2, .85, .2, 1),
        opacity 0.22s ease,
        transform 0.26s ease;
}

.main-nav.modern-mobile-menu .menu__item:hover .menu__text,
.main-nav.modern-mobile-menu .menu__item.active .menu__text {
    max-width: 82px;
    opacity: 1;
    transform: translateX(0);
}

.navbar-actions {
    order: 3;
    display: inline-flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    flex: 0 0 auto;
    margin-inline-start: auto !important;
    margin-inline-end: 56px !important;
}

.theme-toggle {
    position: relative;
    width: 58px;
    height: 58px;
    flex: 0 0 auto;
    border: 1px solid rgba(15, 23, 42, 0.06) !important;
    border-radius: 22px;
    cursor: pointer;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #111827;
    background:
        radial-gradient(circle at 30% 20%, rgba(250, 204, 21, 0.14), transparent 42%),
        linear-gradient(135deg, #ffffff, #f8fafc) !important;

    box-shadow:
        0 18px 42px rgba(15, 23, 42, 0.10),
        0 8px 20px rgba(15, 23, 42, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.88) !important;

    backdrop-filter: blur(22px) saturate(170%);
    -webkit-backdrop-filter: blur(22px) saturate(170%);

    transition:
        transform 0.24s ease,
        box-shadow 0.24s ease,
        background-color 0.24s ease,
        color 0.24s ease;
}

.theme-toggle:hover {
    transform: translateY(-2px) rotate(-3deg);
    box-shadow:
        0 24px 56px rgba(15, 23, 42, 0.14),
        0 10px 24px rgba(15, 23, 42, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;
}

.theme-toggle-icon {
    position: absolute;
    inset: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition:
        opacity 0.24s ease,
        transform 0.24s ease;
}

.theme-toggle-icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.25;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.theme-toggle-moon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.theme-toggle-sun {
    opacity: 0;
    transform: scale(0.72) rotate(-45deg);
}

[data-theme="dark"] .theme-toggle-moon {
    opacity: 0;
    transform: scale(0.72) rotate(45deg);
}

[data-theme="dark"] .theme-toggle-sun {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.theme-toggle-text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    white-space: nowrap;
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
}

.header-cta {
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 28px;
    border-radius: 22px;

    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 950;
    white-space: nowrap;

    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 36%),
        linear-gradient(135deg, #111827 0%, #263449 52%, #334155 100%) !important;

    box-shadow:
        0 20px 48px rgba(15, 23, 42, 0.22),
        0 8px 22px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.16) !important;

    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);

    transition:
        transform 0.24s ease,
        box-shadow 0.24s ease,
        filter 0.24s ease,
        background 0.24s ease,
        color 0.24s ease;
}

.header-cta:hover {
    transform: translateY(-2px);
    filter: none;
    box-shadow:
        0 26px 62px rgba(15, 23, 42, 0.28),
        0 10px 26px rgba(15, 23, 42, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.20) !important;
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateY(0);
    }

    20% {
        transform: translateY(-0.3em);
    }

    40% {
        transform: translateY(0);
    }

    60% {
        transform: translateY(-0.1em);
    }

    80% {
        transform: translateY(0);
    }
}

[data-theme="dark"] .logo,
[data-theme="dark"] .theme-toggle {
    background:
        linear-gradient(135deg, rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.78)) !important;
    border-color: rgba(255, 255, 255, 0.10) !important;
    color: #f8fafc;
}

[data-theme="dark"] .header-cta {
    color: #0f172a;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.52), transparent 36%),
        linear-gradient(135deg, #f8fafc 0%, #dbeafe 50%, #c4b5fd 100%) !important;
    box-shadow:
        0 22px 54px rgba(15, 23, 42, 0.30),
        0 10px 24px rgba(15, 23, 42, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.72) !important;
}

[data-theme="dark"] .header-cta:hover {
    box-shadow:
        0 28px 68px rgba(15, 23, 42, 0.34),
        0 12px 28px rgba(15, 23, 42, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.84) !important;
}

[data-theme="dark"] .main-nav.modern-mobile-menu .menu__item {
    --item-color: #f8fafc;
    color: rgba(248, 250, 252, 0.86);
}

@media (max-width: 1200px) {
    .site-header {
        width: calc(100% - 32px);
    }

    .main-nav.modern-mobile-menu {
        gap: 24px;
    }

    .navbar-actions {
        margin-inline-end: 26px !important;
    }
}

@media (max-width: 1050px) {
    .site-header {
        width: calc(100% - 28px);
        margin-top: 16px;
        top: 12px;
    }

    .header-shell {
        gap: 18px;
        flex-wrap: wrap;
    }

    .logo {
        width: 66px;
        height: 66px;
        border-radius: 24px;
    }

    .logo img {
        height: 48px;
    }

    .main-nav.modern-mobile-menu {
        gap: 22px;
        max-width: calc(100vw - 260px);
    }

    .navbar-actions {
        margin-inline-end: 10px !important;
    }
}

@media (max-width: 760px) {
    .site-header {
        width: calc(100% - 22px);
        margin-top: 12px;
    }

    .header-shell {
        gap: 14px;
    }

    .logo {
        width: 58px;
        height: 58px;
        border-radius: 21px;
    }

    .logo img {
        height: 42px;
    }

    .main-nav.modern-mobile-menu {
        order: 3;
        width: 100% !important;
        max-width: 100%;
        gap: 18px;
        padding: 4px 0 !important;
    }

    .navbar-actions {
        order: 2;
        margin-inline-start: auto !important;
        margin-inline-end: 0 !important;
    }

    .main-nav.modern-mobile-menu .menu__item {
        width: 46px;
        min-width: 46px;
        height: 52px;
    }

    .main-nav.modern-mobile-menu .menu__item:hover,
    .main-nav.modern-mobile-menu .menu__item.active {
        width: 104px;
        min-width: 104px;
    }

    .main-nav.modern-mobile-menu .menu__item::after {
        right: 42px;
    }

    .main-nav.modern-mobile-menu .menu__icon {
        width: 30px;
        height: 30px;
        min-width: 30px;
    }

    .main-nav.modern-mobile-menu .menu__icon .icon {
        width: 28px;
        height: 28px;
    }

    .main-nav.modern-mobile-menu .menu__text {
        font-size: 15px;
    }

    .theme-toggle {
        width: 50px;
        height: 50px;
        border-radius: 18px;
    }

    .header-cta {
        min-height: 50px;
        padding: 0 18px;
        font-size: 13px;
        border-radius: 18px;
    }
}

@media (max-width: 460px) {
    .header-shell {
        gap: 12px;
    }

    .navbar-actions {
        gap: 8px;
    }

    .header-cta {
        padding: 0 14px;
        font-size: 12px;
    }

    .theme-toggle {
        width: 48px;
        height: 48px;
    }

    .main-nav.modern-mobile-menu {
        gap: 14px;
    }

    .main-nav.modern-mobile-menu .menu__item:hover,
    .main-nav.modern-mobile-menu .menu__item.active {
        width: 96px;
        min-width: 96px;
    }
}

/* =========================================================
   FOOTER WRAPPER
   ========================================================= */
.site-footer {
    position: relative;
    padding-top: 110px;
    padding-bottom: 0;
    margin: 0;
    overflow: visible;
}

.footer-shell {
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
}

/* =========================================================
   FOOTER TOP MORPH ANIMATION
   ========================================================= */
.footer-morph-strip {
    position: relative;
    width: 100%;
    min-height: 230px;
    margin: 0 0 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    overflow: visible;
}

.footer-filters {
    position: absolute;
    width: 0;
    height: 0;
    pointer-events: none;
}

.footer-morph-inner {
    min-height: 230px;
    padding: 10px 16px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.footer-morph-container {
    position: relative;
    font-family: "Anton", "Vazirmatn", sans-serif;
    font-size: clamp(4rem, 13vw, 11rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.03em;
    user-select: none;
    direction: ltr;
    filter: url("#footer-threshold");
}

.footer-word-rotator {
    position: relative;
    height: 1.08em;
    width: 100%;
    min-width: 11ch;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-word {
    position: absolute;
    top: 50%;
    left: 50%;
    color: #0b1730;
    white-space: nowrap;
    opacity: 0;
    transform: translate(-50%, -50%);
    animation: footer-rotate-words 9s infinite ease-in-out;
}

[data-theme="dark"] .footer-word {
    color: #f8fafc;
}

.footer-word:nth-child(1) {
    animation-delay: 0s;
}

.footer-word:nth-child(2) {
    animation-delay: 3s;
}

.footer-word:nth-child(3) {
    animation-delay: 6s;
}

.footer-morph-subtext {
    margin-top: 18px;
    color: #64748b;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    direction: ltr;
}

@keyframes footer-rotate-words {
    0% {
        opacity: 0;
        filter: blur(18px);
        transform: translate(-50%, -50%) scale(0.82);
    }

    6% {
        opacity: 0.55;
        filter: blur(8px);
    }

    16%,
    36% {
        opacity: 1;
        filter: blur(0);
        transform: translate(-50%, -50%) scale(1);
    }

    46% {
        opacity: 0.45;
        filter: blur(8px);
    }

    52%,
    100% {
        opacity: 0;
        filter: blur(18px);
        transform: translate(-50%, -50%) scale(1.15);
    }
}

/* =========================================================
   HOVER FOOTER CARD
   ========================================================= */
.hover-footer-card {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    border-radius: 38px;
    color: #f8fafc;
    direction: ltr;
    isolation: isolate;
    background: rgba(15, 15, 17, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.035);
    box-shadow:
        0 45px 110px rgba(2, 6, 23, 0.28),
        0 18px 42px rgba(2, 6, 23, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.hover-footer-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 74%, transparent 100%);
    opacity: 0.42;
}

.hover-footer-card::after,
.footer-no-blue-dots::after {
    display: none;
}

.hover-footer-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(125% 125% at 50% 10%, rgba(15, 15, 17, 0.38) 45%, rgba(60, 162, 250, 0.20) 100%),
        linear-gradient(180deg, #0f0f11 0%, #0f0f11 48%, #101923 100%);
}

.hover-footer-bg::before {
    content: "";
    position: absolute;
    inset: auto -12% -42% -12%;
    height: 58%;
    background:
        radial-gradient(circle at 50% 0%, rgba(60, 162, 250, 0.24), transparent 58%),
        radial-gradient(circle at 18% 30%, rgba(59, 130, 246, 0.10), transparent 34%),
        radial-gradient(circle at 82% 25%, rgba(14, 165, 233, 0.10), transparent 38%);
    filter: blur(8px);
}

.hover-footer-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 9% 16%, rgba(255, 255, 255, 0.030), transparent 20%),
        radial-gradient(circle at 90% 13%, rgba(60, 162, 250, 0.07), transparent 22%);
}

.hover-footer-inner {
    position: relative;
    z-index: 4;
    padding: 68px 62px 28px;
}

.hover-footer-top {
    display: grid;
    grid-template-columns: 1.22fr 0.95fr 0.95fr 1.12fr;
    gap: 58px;
    align-items: start;
    padding-bottom: 58px;
}

.hover-footer-brand,
.hover-footer-column,
.hover-footer-contact {
    min-width: 0;
}

.hover-footer-brand-mark {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 13px;
    direction: ltr;
    text-decoration: none;
    margin-bottom: 24px;
}

.hover-footer-brand-mark-fa {
    direction: rtl;
    gap: 14px;
}

.hover-footer-heart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #3ca2fa;
    font-size: 36px;
    line-height: 1;
    filter: drop-shadow(0 0 18px rgba(60, 162, 250, 0.36));
    transform: translateY(-1px);
}

.hover-footer-brand-name {
    color: #ffffff;
    font-size: 34px;
    font-weight: 950;
    letter-spacing: -0.04em;
    line-height: 1;
}

.hover-footer-brand-name-fa {
    font-size: 38px;
    font-weight: 950;
    letter-spacing: -0.04em;
    background: linear-gradient(90deg, #ffffff 0%, #dbeafe 48%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(60, 162, 250, 0.14);
}

.hover-footer-brand p {
    max-width: 310px;
    color: rgba(248, 250, 252, 0.86);
    font-size: 15px;
    font-weight: 600;
    line-height: 2.05;
}

.hover-footer-column h3,
.hover-footer-contact h3 {
    margin-bottom: 28px;
    color: #ffffff;
    font-size: 21px;
    font-weight: 950;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hover-footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hover-footer-column a {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: rgba(248, 250, 252, 0.92);
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    transition:
        color 0.22s ease,
        transform 0.22s ease;
}

.hover-footer-column a::before {
    content: "";
    position: absolute;
    right: 0;
    left: 0;
    bottom: -7px;
    height: 2px;
    border-radius: 999px;
    background: #3ca2fa;
    transform: scaleX(0);
    transform-origin: right;
    opacity: 0;
    transition: 0.24s ease;
}

.hover-footer-column a:hover {
    color: #3ca2fa;
    transform: translateX(-4px);
}

.hover-footer-column a:hover::before {
    opacity: 1;
    transform: scaleX(1);
}

.hover-footer-live-link {
    gap: 0;
}

.hover-footer-live-link span {
    display: none;
}

.hover-footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hover-footer-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 17px;
    color: rgba(248, 250, 252, 0.92);
    text-decoration: none;
    font-size: 17px;
    font-weight: 750;
    line-height: 1.35;
    margin-bottom: 22px;
    transition:
        color 0.22s ease,
        transform 0.22s ease;
}

.hover-footer-contact-item svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    fill: none;
    stroke: #3ca2fa;
    stroke-width: 2.15;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 10px rgba(60, 162, 250, 0.22));
}

.hover-footer-contact-item:hover {
    color: #3ca2fa;
    transform: translateX(-4px);
}

.hover-footer-address {
    align-items: flex-start;
}

.hover-footer-address span {
    max-width: 390px;
    line-height: 1.95;
}

.hover-footer-divider {
    width: 100%;
    height: 1px;
    background:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(148, 163, 184, 0.18) 8%,
            rgba(148, 163, 184, 0.44) 50%,
            rgba(148, 163, 184, 0.18) 92%,
            transparent 100%
        );
}

.hover-footer-lower {
    position: relative;
    min-height: 270px;
}

.footer-hover-word-wrap {
    position: absolute;
    z-index: 3;
    left: 2%;
    right: 2%;
    top: 14px;
    bottom: -116px;
    height: 330px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
}

.footer-hover-text-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.footer-hover-text-svg text {
    font-family: "Anton", "Vazirmatn", sans-serif;
    font-size: 74px;
    font-weight: 400;
    letter-spacing: 0.035em;
    text-transform: uppercase;
    fill: transparent;
    stroke-width: 0.62;
    paint-order: stroke;
}

.footer-hover-text-ghost {
    stroke: rgba(248, 250, 252, 0.72);
    opacity: 0;
    transition:
        opacity 0.24s ease,
        stroke 0.24s ease;
}

.footer-hover-text-outline {
    stroke: rgba(60, 162, 250, 0.76);
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: footer-text-draw 4s ease-in-out 0.3s forwards;
    filter: drop-shadow(0 0 14px rgba(60, 162, 250, 0.12));
}

.footer-hover-text-gradient {
    stroke: url("#hoshanaTextGradient");
    opacity: 0;
    transition: opacity 0.22s ease;
    filter: drop-shadow(0 0 18px rgba(60, 162, 250, 0.16));
}

.footer-hover-word-wrap.is-hovered .footer-hover-text-ghost {
    opacity: 0.58;
}

.footer-hover-word-wrap.is-hovered .footer-hover-text-gradient {
    opacity: 1;
}

.footer-hover-mask-circle {
    transition:
        cx 0.04s linear,
        cy 0.04s linear;
}

@keyframes footer-text-draw {
    from {
        stroke-dashoffset: 1000;
    }

    to {
        stroke-dashoffset: 0;
    }
}

/* =========================================================
   BOTTOM PINK LIQUID FOOTER
   ========================================================= */
.liquid-footer {
    --liquid-bg: #ED5565;
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 12rem;
    margin: 10rem 0 0;
    padding: 0;
    background: var(--liquid-bg);
    overflow: visible;
    isolation: isolate;
    border-radius: 0;
    box-shadow: none;
}

.liquid-bubbles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 1rem;
    background: var(--liquid-bg);
    filter: url("#liquid-blob");
    z-index: 1;
    pointer-events: none;
}

.liquid-bubble {
    position: absolute;
    left: clamp(calc(var(--size, 4rem) / 2), var(--position, 50%), calc(100% - (var(--size, 4rem) / 2)));
    bottom: -4rem;
    width: var(--size, 4rem);
    height: var(--size, 4rem);
    background: var(--liquid-bg);
    border-radius: 100%;
    transform: translate(-50%, 100%);
    animation:
        liquid-bubble-size var(--time, 4s) ease-in infinite var(--delay, 0s),
        liquid-bubble-move var(--time, 4s) ease-in infinite var(--delay, 0s);
}

.liquid-blob-svg {
    position: fixed;
    top: 100vh;
    width: 0;
    height: 0;
    pointer-events: none;
}

.liquid-bubble:nth-child(1) { --size: 3.2rem; --distance: 8rem; --position: -3%; --time: 3.2s; --delay: -1.4s; }
.liquid-bubble:nth-child(2) { --size: 5.1rem; --distance: 9rem; --position: 3%; --time: 3.8s; --delay: -2.6s; }
.liquid-bubble:nth-child(3) { --size: 2.4rem; --distance: 7rem; --position: 8%; --time: 2.9s; --delay: -1.1s; }
.liquid-bubble:nth-child(4) { --size: 4.8rem; --distance: 8.5rem; --position: 13%; --time: 3.6s; --delay: -2.2s; }
.liquid-bubble:nth-child(5) { --size: 3.8rem; --distance: 7.8rem; --position: 18%; --time: 3.1s; --delay: -1.7s; }
.liquid-bubble:nth-child(6) { --size: 5.5rem; --distance: 10rem; --position: 23%; --time: 4s; --delay: -3s; }
.liquid-bubble:nth-child(7) { --size: 3rem; --distance: 7rem; --position: 28%; --time: 2.8s; --delay: -1.2s; }
.liquid-bubble:nth-child(8) { --size: 4.6rem; --distance: 8.8rem; --position: 33%; --time: 3.7s; --delay: -2.7s; }
.liquid-bubble:nth-child(9) { --size: 3.2rem; --distance: 7.2rem; --position: 38%; --time: 3s; --delay: -1.6s; }
.liquid-bubble:nth-child(10) { --size: 5.8rem; --distance: 10rem; --position: 43%; --time: 4.1s; --delay: -3.2s; }
.liquid-bubble:nth-child(11) { --size: 3.6rem; --distance: 8rem; --position: 48%; --time: 3.4s; --delay: -2.1s; }
.liquid-bubble:nth-child(12) { --size: 4.9rem; --distance: 9.3rem; --position: 53%; --time: 3.9s; --delay: -2.8s; }
.liquid-bubble:nth-child(13) { --size: 3.1rem; --distance: 7.5rem; --position: 58%; --time: 3s; --delay: -1.3s; }
.liquid-bubble:nth-child(14) { --size: 5.3rem; --distance: 9.8rem; --position: 63%; --time: 4s; --delay: -3.3s; }
.liquid-bubble:nth-child(15) { --size: 4rem; --distance: 8.2rem; --position: 68%; --time: 3.4s; --delay: -2.4s; }
.liquid-bubble:nth-child(16) { --size: 2.9rem; --distance: 7rem; --position: 73%; --time: 2.9s; --delay: -1.5s; }
.liquid-bubble:nth-child(17) { --size: 4.7rem; --distance: 8.9rem; --position: 78%; --time: 3.6s; --delay: -2.9s; }
.liquid-bubble:nth-child(18) { --size: 3.5rem; --distance: 7.7rem; --position: 83%; --time: 3.2s; --delay: -1.8s; }
.liquid-bubble:nth-child(19) { --size: 5.7rem; --distance: 10rem; --position: 88%; --time: 4.2s; --delay: -3.4s; }
.liquid-bubble:nth-child(20) { --size: 3.3rem; --distance: 7.5rem; --position: 93%; --time: 3.1s; --delay: -1.4s; }
.liquid-bubble:nth-child(21) { --size: 4.4rem; --distance: 8.6rem; --position: 98%; --time: 3.5s; --delay: -2.6s; }
.liquid-bubble:nth-child(22) { --size: 5.1rem; --distance: 9.4rem; --position: 103%; --time: 4s; --delay: -3s; }
.liquid-bubble:nth-child(23) { --size: 3.2rem; --distance: 7rem; --position: 6%; --time: 2.8s; --delay: -1.6s; }
.liquid-bubble:nth-child(24) { --size: 4.8rem; --distance: 9rem; --position: 30%; --time: 3.8s; --delay: -2.5s; }
.liquid-bubble:nth-child(25) { --size: 3.7rem; --distance: 8rem; --position: 51%; --time: 3.3s; --delay: -2.2s; }
.liquid-bubble:nth-child(26) { --size: 5.4rem; --distance: 10rem; --position: 72%; --time: 4.1s; --delay: -3.1s; }
.liquid-bubble:nth-child(27) { --size: 2.7rem; --distance: 7.2rem; --position: 96%; --time: 2.7s; --delay: -1.2s; }
.liquid-bubble:nth-child(28) { --size: 4.2rem; --distance: 8.8rem; --position: 15%; --time: 3.4s; --delay: -2.4s; }
.liquid-bubble:nth-child(29) { --size: 5.6rem; --distance: 9.8rem; --position: 41%; --time: 4.2s; --delay: -3.2s; }
.liquid-bubble:nth-child(30) { --size: 3.4rem; --distance: 7.4rem; --position: 66%; --time: 3s; --delay: -1.6s; }
.liquid-bubble:nth-child(31) { --size: 4.9rem; --distance: 9.2rem; --position: 86%; --time: 3.8s; --delay: -2.8s; }
.liquid-bubble:nth-child(32) { --size: 3.1rem; --distance: 7rem; --position: 50%; --time: 2.9s; --delay: -1.3s; }

@keyframes liquid-bubble-size {
    0%,
    75% {
        width: var(--size, 4rem);
        height: var(--size, 4rem);
    }

    100% {
        width: 0;
        height: 0;
    }
}

@keyframes liquid-bubble-move {
    0% {
        bottom: -4rem;
    }

    100% {
        bottom: var(--distance, 10rem);
    }
}

/* =========================================================
   RESPONSIVE FOOTER
   ========================================================= */
@media (max-width: 1320px) {
    .hover-footer-top {
        gap: 42px;
    }

    .hover-footer-inner {
        padding-right: 54px;
        padding-left: 54px;
    }
}

@media (max-width: 1100px) {
    .hover-footer-card {
        min-height: auto;
    }

    .hover-footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 42px 56px;
    }

    .footer-hover-word-wrap {
        top: 26px;
        height: 280px;
        bottom: -92px;
    }

    .footer-hover-text-svg text {
        font-size: 66px;
    }

    .hover-footer-lower {
        min-height: 235px;
    }
}

@media (max-width: 900px) {
    .site-footer {
        padding-top: 84px;
    }

    .footer-shell {
        width: calc(100% - 32px);
    }

    .footer-morph-strip {
        min-height: 190px;
        margin-bottom: 34px;
    }

    .footer-morph-inner {
        min-height: 190px;
    }

    .footer-morph-container {
        font-size: clamp(3.2rem, 16vw, 6.2rem);
    }

    .hover-footer-card {
        border-radius: 30px;
    }

    .hover-footer-inner {
        padding: 44px 30px 32px;
    }

    .hover-footer-top {
        grid-template-columns: 1fr;
        gap: 34px;
        padding-bottom: 36px;
    }

    .hover-footer-column h3,
    .hover-footer-contact h3 {
        margin-bottom: 18px;
    }

    .hover-footer-column a,
    .hover-footer-contact-item {
        margin-bottom: 15px;
    }

    .hover-footer-lower {
        min-height: auto;
    }

    .footer-hover-word-wrap {
        display: none;
    }

    .hover-footer-card::after {
        display: none;
    }

    .hover-footer-address span {
        max-width: none;
    }

    .liquid-footer {
        margin-top: 8rem;
    }
}

@media (max-width: 760px) {
    .footer-shell {
        width: calc(100% - 28px);
    }

    .footer-morph-strip {
        min-height: 170px;
        margin-bottom: 28px;
    }

    .footer-morph-inner {
        min-height: 170px;
        padding: 0 10px;
    }

    .footer-morph-container {
        font-size: clamp(3rem, 18vw, 5.5rem);
    }

    .footer-morph-subtext {
        margin-top: 12px;
        font-size: 11px;
        letter-spacing: 0.18em;
    }

    .hover-footer-brand-name,
    .hover-footer-brand-name-fa {
        font-size: 30px;
    }

    .hover-footer-heart {
        font-size: 31px;
    }

    .hover-footer-brand p {
        max-width: none;
        font-size: 14px;
    }

    .hover-footer-column h3,
    .hover-footer-contact h3 {
        font-size: 19px;
    }

    .hover-footer-column a,
    .hover-footer-contact-item {
        font-size: 15px;
    }
}

@media (max-width: 460px) {
    .site-footer {
        padding-top: 64px;
    }

    .footer-shell {
        width: calc(100% - 24px);
    }

    .footer-morph-strip {
        min-height: 145px;
    }

    .footer-morph-inner {
        min-height: 145px;
    }

    .footer-morph-container {
        font-size: clamp(2.4rem, 17vw, 4.3rem);
    }

    .footer-morph-subtext {
        font-size: 10px;
    }

    .hover-footer-card {
        border-radius: 24px;
    }

    .hover-footer-inner {
        padding: 34px 22px 28px;
    }

    .hover-footer-brand-mark {
        margin-bottom: 18px;
    }

    .hover-footer-brand-name,
    .hover-footer-brand-name-fa {
        font-size: 27px;
    }

    .hover-footer-heart {
        font-size: 28px;
    }

    .hover-footer-top {
        gap: 28px;
    }

    .liquid-footer {
        margin-top: 7rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .footer-word,
    .footer-hover-text-outline,
    .hover-footer-live-link span,
    .liquid-bubble,
    .main-nav.modern-mobile-menu .menu__item:hover .icon,
    .main-nav.modern-mobile-menu .menu__item.active .icon {
        animation: none;
    }

    .logo,
    .theme-toggle,
    .header-cta,
    .hover-footer-column a,
    .hover-footer-contact-item,
    .main-nav.modern-mobile-menu .menu__item,
    .main-nav.modern-mobile-menu .menu__text {
        transition: none;
    }
}
.header-account-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.72);
    color: #111827;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

[data-theme="dark"] .header-account-link {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: #f8fafc;
}
