/* ===================================
   Koshk Unified Theme System
   =================================== */

:root {
    --brand-primary: #1f86ff;
    --brand-primary-rgb: 31, 134, 255;
    --brand-primary-dark: #0b3470;
    --brand-primary-dark-rgb: 11, 52, 112;
    --brand-primary-soft: rgba(31, 134, 255, 0.12);
    --brand-secondary: #2f68c8;
    --brand-secondary-rgb: 47, 104, 200;
    --brand-secondary-dark: #123f86;
    --brand-accent: #59a9ff;
    --brand-accent-rgb: 89, 169, 255;
    --brand-ink: #0b2556;
    --brand-ink-rgb: 11, 37, 86;
    --brand-ink-soft: #4a6287;
    --brand-surface: #ffffff;
    --brand-surface-alt: #f8faff;
    --brand-border: #dbe4f0;
    --brand-border-strong: #c5d2e3;
    --brand-success: #10b981;
    --brand-success-rgb: 16, 185, 129;
    --brand-danger: #ef4444;
    --brand-danger-rgb: 239, 68, 68;
    --brand-warning: #f59e0b;
    --brand-warning-rgb: 245, 158, 11;
    --brand-info: #0ea5e9;
    --brand-info-rgb: 14, 165, 233;
    --brand-radius-sm: 12px;
    --brand-radius-md: 18px;
    --brand-radius-lg: 28px;
    --brand-shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.06);
    --brand-shadow-md: 0 20px 45px rgba(15, 23, 42, 0.12);
    --brand-shadow-lg: 0 28px 70px rgba(15, 23, 42, 0.18);
    --brand-gradient: linear-gradient(135deg, #1f86ff 0%, #2f68c8 48%, #0b3470 100%);
    --brand-gradient-deep: linear-gradient(135deg, #071733 0%, #0b3470 45%, #1f86ff 100%);
    --brand-grid: radial-gradient(circle at top, rgba(255, 255, 255, 0.25), transparent 45%), linear-gradient(135deg, rgba(31, 134, 255, 0.08), rgba(11, 52, 112, 0.08));
    --brand-gradient-soft: linear-gradient(135deg, rgba(31, 134, 255, 0.08) 0%, rgba(89, 169, 255, 0.16) 100%);
    --brand-gradient-surface: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
    --brand-gradient-success: linear-gradient(135deg, #10b981 0%, #0f9f6e 100%);
    --brand-gradient-warning: linear-gradient(135deg, #f59e0b 0%, #c67b08 100%);
    --brand-gradient-dark: linear-gradient(135deg, #0b2556 0%, #0b3470 100%);
    --primary-color: var(--brand-primary);
    --primary-dark: var(--brand-primary-dark);
    --primary-light: #7db8ff;
    --secondary-color: var(--brand-secondary);
    --accent-color: var(--brand-accent);
    --dark-color: var(--brand-ink);
    --light-color: #f8fafc;
    --success-color: var(--brand-success);
    --danger-color: var(--brand-danger);
    --warning-color: var(--brand-warning);
    --info-color: var(--brand-info);
    --border-radius: var(--brand-radius-md);
    --shadow-sm: var(--brand-shadow-sm);
    --shadow-md: var(--brand-shadow-md);
    --shadow-lg: var(--brand-shadow-lg);
    --shadow-xl: 0 35px 80px rgba(15, 23, 42, 0.22);
    --admin-primary: var(--brand-primary);
    --admin-primary-dark: var(--brand-primary-dark);
    --admin-primary-soft: rgba(31, 134, 255, 0.1);
    --admin-success: var(--brand-success);
    --admin-success-dark: #0f9f6e;
    --admin-success-soft: rgba(16, 185, 129, 0.12);
    --admin-warning: var(--brand-warning);
    --admin-warning-dark: #c67b08;
    --admin-warning-soft: rgba(245, 158, 11, 0.12);
    --admin-danger: var(--brand-danger);
    --admin-danger-dark: #dc2626;
    --admin-danger-soft: rgba(239, 68, 68, 0.12);
    --admin-info: var(--brand-info);
    --admin-info-dark: #0284c7;
    --admin-info-soft: rgba(14, 165, 233, 0.12);
    --admin-surface: var(--brand-surface);
    --admin-surface-muted: var(--brand-surface-alt);
    --admin-surface-alt: #eef4ff;
    --admin-border: var(--brand-border);
    --admin-border-strong: var(--brand-border-strong);
    --admin-text: var(--brand-ink);
    --admin-text-muted: var(--brand-ink-soft);
    --admin-shadow-sm: var(--brand-shadow-sm);
    --admin-shadow-md: var(--brand-shadow-md);
    --admin-shadow-lg: var(--brand-shadow-lg);
    --admin-radius-sm: var(--brand-radius-sm);
    --admin-radius-md: var(--brand-radius-md);
    --admin-radius-lg: var(--brand-radius-lg);
    --admin-gradient-primary: var(--brand-gradient-deep);
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--brand-ink);
    background: radial-gradient(circle at top, rgba(31, 134, 255, 0.1), transparent 30%), #f5f7fb;
    font-family: 'Cairo', sans-serif;
}

::selection {
    background: rgba(31, 134, 255, 0.18);
    color: var(--brand-ink);
}

a {
    color: var(--brand-primary);
    transition: color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

a:hover {
    color: var(--brand-primary-dark);
    text-decoration: none;
}

.btn,
button,
input[type="submit"],
input[type="button"] {
    border-radius: 14px !important;
}

.btn-primary,
.bg-login,
.register-header,
.button,
.theme-installer .header,
.theme-auth .auth-shell__badge,
.theme-auth .auth-panel__icon,
.theme-auth .navbar-brand,
.theme-auth .btn-primary,
.theme-installer .button,
.theme-installer .step__item.active .step__icon,
.theme-installer .step__item.active ~ .step__divider,
.theme-installer .step__item.active ~ .step__item .step__icon {
    background-image: var(--brand-gradient) !important;
    background-color: transparent !important;
    border-color: transparent !important;
    color: #fff !important;
}

.btn-primary:hover,
.button:hover,
.theme-installer .button:hover,
.theme-auth .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--brand-shadow-md) !important;
}

.btn-outline-primary {
    border-color: rgba(31, 134, 255, 0.22);
    color: var(--brand-primary);
}

.btn-outline-primary:hover {
    background: var(--brand-primary-soft);
    color: var(--brand-primary-dark);
}

.form-control,
.custom-select,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="url"],
textarea,
select {
    border-radius: 14px !important;
    border-color: var(--brand-border) !important;
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: none !important;
}

.form-control:focus,
.custom-select:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="url"]:focus,
textarea:focus,
select:focus {
    border-color: rgba(31, 134, 255, 0.45) !important;
    box-shadow: 0 0 0 4px rgba(31, 134, 255, 0.12) !important;
}

.card,
.box,
.theme-auth .auth-panel,
.theme-installer .box {
    border: 1px solid rgba(219, 228, 240, 0.9) !important;
    box-shadow: var(--brand-shadow-md) !important;
}

.alert {
    border-radius: 16px;
    border: 1px solid rgba(219, 228, 240, 0.95);
}

.theme-frontend .navbar-modern {
    background: #ffffff !important;
    border-bottom: 1px solid rgba(219, 228, 240, 0.95) !important;
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.08) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.theme-frontend .navbar-modern.navbar-scrolled {
    background: #ffffff !important;
    border-bottom: 1px solid rgba(219, 228, 240, 1) !important;
}

.theme-frontend .brand-text-modern {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.theme-frontend .btn-login-modern,
.theme-frontend .btn-dashboard-modern {
    background: var(--brand-gradient);
    color: #fff;
    box-shadow: var(--brand-shadow-sm);
}

.theme-frontend .btn-register-modern {
    background: linear-gradient(135deg, #1f86ff 0%, #0b5ed7 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(11, 94, 215, 0.45) !important;
    box-shadow: 0 10px 24px rgba(31, 134, 255, 0.26) !important;
}

.theme-frontend .btn-register-modern:hover,
.theme-frontend .btn-register-modern:focus {
    background: linear-gradient(135deg, #0b5ed7 0%, #084298 100%) !important;
    color: #ffffff !important;
    border-color: rgba(8, 66, 152, 0.55) !important;
}

.theme-frontend .btn-action-modern:hover {
    transform: translateY(-3px);
    box-shadow: var(--brand-shadow-md);
}

.theme-frontend .footer-custom {
    background: #000000 !important;
    position: relative;
    overflow: hidden;
}

.theme-frontend .footer-custom::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
    opacity: 1;
    pointer-events: none;
}

.theme-frontend .footer-custom > .container {
    position: relative;
    z-index: 1;
}

.theme-auth {
    min-height: 100vh;
    background: radial-gradient(circle at top right, rgba(31, 134, 255, 0.16), transparent 24%), radial-gradient(circle at top left, rgba(11, 52, 112, 0.16), transparent 28%), #f5f7fb;
}

.theme-auth .auth-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.theme-auth .auth-shell__header {
    padding: 1.5rem 0;
}

.theme-auth .auth-shell__main {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 1rem 0 3rem;
}

.theme-auth .auth-shell__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem 1.1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(219, 228, 240, 0.9);
    box-shadow: var(--brand-shadow-sm);
}

.theme-auth .auth-shell__brand img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.theme-auth .auth-shell__brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.theme-auth .auth-shell__title {
    margin: 0;
    font-weight: 800;
    color: var(--brand-ink);
}

.theme-auth .auth-shell__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
    box-shadow: var(--brand-shadow-sm);
}

.theme-auth .auth-panel {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 28px;
    overflow: hidden;
}

.theme-auth .auth-panel__header {
    padding: 2rem 2rem 1rem;
}

.theme-auth .auth-panel__icon {
    width: 64px;
    height: 64px;
    border-radius: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: var(--brand-shadow-sm);
    margin-bottom: 1rem;
}

.theme-auth .auth-panel__body {
    padding: 0 2rem 2rem;
}

.theme-auth .auth-panel__title {
    margin-bottom: 0.45rem;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--brand-ink);
}

.theme-auth .auth-panel__text,
.theme-auth .auth-panel__help {
    color: var(--brand-ink-soft);
    font-size: 1rem;
}

.theme-auth .auth-panel__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.theme-auth .auth-panel__divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.45), transparent);
    margin: 1.5rem 0;
}

.theme-dashboard .main-content,
.theme-dashboard .page-content,
.theme-dashboard #vue {
    background: transparent;
}

.theme-installer {
    min-height: 100vh;
    background: radial-gradient(circle at top, rgba(31, 134, 255, 0.18), transparent 30%), #eef4ff;
}

.theme-installer .master {
    background: transparent !important;
    padding: 2rem 1rem;
}

.theme-installer .box {
    width: min(100%, 860px);
    border-radius: 30px;
    overflow: hidden;
    margin: 0 auto;
}

.theme-installer .header {
    padding: 2rem 2rem 2.8rem;
    position: relative;
    overflow: hidden;
}

.theme-installer .header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--brand-grid);
    opacity: 0.7;
}

.theme-installer .header > * {
    position: relative;
    z-index: 1;
}

.theme-installer .installer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.theme-installer .installer-brand img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.theme-installer .installer-brand__text {
    text-align: right;
}

.theme-installer .installer-brand__text strong,
.theme-installer .header__title,
.theme-installer .header__step {
    color: #fff;
}

.theme-installer .main {
    padding: 2.5rem 2rem 2rem;
    background: rgba(255, 255, 255, 0.98);
}

.theme-installer .step {
    margin-inline: 1.25rem;
}

.theme-installer .step__divider {
    background-color: rgba(31, 134, 255, 0.16);
}

.theme-installer .step__icon {
    box-shadow: 0 8px 20px rgba(31, 134, 255, 0.15);
}

.theme-installer .button {
    border-radius: 14px;
    padding: 0.75rem 1.3rem;
    font-weight: 700;
}

.app-loader {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: radial-gradient(circle at top, rgba(31, 134, 255, 0.28), transparent 25%), linear-gradient(135deg, #071733 0%, #0b3470 48%, #1f86ff 100%);
    overflow: hidden;
    z-index: 999999;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.app-loader::before,
.app-loader::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    filter: blur(10px);
    opacity: 0.5;
}

.app-loader::before {
    width: 320px;
    height: 320px;
    top: -120px;
    inset-inline-start: -80px;
    background: rgba(31, 134, 255, 0.24);
}

.app-loader::after {
    width: 260px;
    height: 260px;
    bottom: -80px;
    inset-inline-end: -60px;
    background: rgba(11, 52, 112, 0.24);
}

.app-loader.hide {
    opacity: 0;
    visibility: hidden;
}

.app-loader[hidden] {
    display: none !important;
}

.app-loader__content {
    position: relative;
    z-index: 1;
    text-align: center;
    width: min(100%, 440px);
}

.app-loader__logo-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 186px;
    height: 186px;
    margin-inline: auto;
    animation: appLoaderCoreFloat 3.6s ease-in-out infinite;
}

.app-loader__logo-wrap::before {
    content: '';
    position: absolute;
    inset: 24px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.58) 38%, rgba(255, 255, 255, 0.18) 68%, rgba(255, 255, 255, 0) 100%);
    filter: blur(18px);
    opacity: 0.9;
    animation: appLoaderGlowPulse 2.4s ease-in-out infinite;
}

.app-loader__logo-wrap::after {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-top-color: rgba(255, 255, 255, 0.72);
    border-inline-start-color: rgba(103, 232, 249, 0.55);
    box-shadow: 0 0 36px rgba(103, 232, 249, 0.14);
    animation: appLoaderOrbit 4.8s linear infinite;
}

.app-loader__logo {
    position: relative;
    z-index: 1;
    width: 150px;
    height: 150px;
    object-fit: contain;
    filter: brightness(1.02) drop-shadow(0 0 32px rgba(255, 255, 255, 0.42));
    animation: appLoaderLogoDrift 3.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes appLoaderGlowPulse {
    0%, 100% {
        transform: scale(0.88);
        opacity: 0.76;
    }
    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}

@keyframes appLoaderCoreFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    35% {
        transform: translateY(-10px) rotate(-2deg);
    }
    70% {
        transform: translateY(6px) rotate(2deg);
    }
}

@keyframes appLoaderOrbit {
    0% {
        transform: rotate(0deg) scale(0.98);
        opacity: 0.68;
    }
    50% {
        transform: rotate(180deg) scale(1.03);
        opacity: 1;
    }
    100% {
        transform: rotate(360deg) scale(0.98);
        opacity: 0.68;
    }
}

@keyframes appLoaderLogoDrift {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
        filter: brightness(1.02) drop-shadow(0 0 22px rgba(255,255,255,0.32));
    }
    25% {
        transform: translate3d(4px, -10px, 0) scale(1.04) rotate(2deg);
        filter: brightness(1.05) drop-shadow(-8px 18px 34px rgba(255,255,255,0.38));
    }
    60% {
        transform: translate3d(-6px, 6px, 0) scale(0.98) rotate(-2deg);
        filter: brightness(1.08) drop-shadow(8px 20px 42px rgba(255,255,255,0.48));
    }
}

.app-loader__progress {
    width: 100%;
    height: 8px;
    margin-top: 1.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    overflow: hidden;
}

.app-loader__progress-bar {
    width: 35%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), #f8fafc 30%, #67e8f9 100%);
    animation: appLoaderProgress 1.7s ease-in-out infinite;
}

.app-loader__particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.app-loader__particle {
    position: absolute;
    bottom: -32px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.32);
    box-shadow: 0 0 18px rgba(103, 232, 249, 0.22);
    animation: appLoaderFloat 5.8s linear infinite;
}

.app-loader__particle:nth-child(1) { inset-inline-start: 10%; animation-delay: 0s; }
.app-loader__particle:nth-child(2) { inset-inline-start: 22%; animation-delay: 0.7s; }
.app-loader__particle:nth-child(3) { inset-inline-start: 34%; animation-delay: 1.2s; }
.app-loader__particle:nth-child(4) { inset-inline-start: 48%; animation-delay: 1.8s; }
.app-loader__particle:nth-child(5) { inset-inline-start: 61%; animation-delay: 2.5s; }
.app-loader__particle:nth-child(6) { inset-inline-start: 73%; animation-delay: 3.1s; }
.app-loader__particle:nth-child(7) { inset-inline-start: 85%; animation-delay: 3.8s; }
.app-loader__particle:nth-child(8) { inset-inline-start: 92%; animation-delay: 4.4s; }

@keyframes appLoaderSpin {
    to { transform: rotate(360deg); }
}

@keyframes appLoaderPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

@keyframes appLoaderDot {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.45; }
    40% { transform: translateY(-8px); opacity: 1; }
}

@keyframes appLoaderProgress {
    0% { transform: translateX(-130%); }
    100% { transform: translateX(360%); }
}

@keyframes appLoaderFloat {
    0% { transform: translateY(0) scale(0.4); opacity: 0; }
    20% { opacity: 1; }
    100% { transform: translateY(-110vh) scale(1.2); opacity: 0; }
}

@media (max-width: 991.98px) {
    .theme-auth .auth-shell__header {
        padding-bottom: 0.5rem;
    }
}

@media (max-width: 767.98px) {
    .theme-auth .auth-shell__header .d-flex,
    .theme-auth .auth-panel__actions {
        flex-direction: column;
        align-items: stretch !important;
    }

    .theme-auth .auth-panel__header,
    .theme-auth .auth-panel__body,
    .theme-installer .header,
    .theme-installer .main {
        padding-inline: 1.35rem;
    }

    .app-loader__device {
        width: 168px;
        height: 208px;
    }

    .app-loader__title {
        font-size: 1.65rem;
    }
}

/* ===================================
   Welcome Experience
   =================================== */

.theme-welcome {
    min-height: 100vh;
    background:
        radial-gradient(circle at top right, rgba(31, 134, 255, 0.16), transparent 25%),
        radial-gradient(circle at bottom left, rgba(11, 52, 112, 0.14), transparent 30%),
        #f5f7fb;
}

.welcome-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 2rem 1rem;
}

.welcome-panel {
    width: min(100%, 1180px);
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(219, 228, 240, 0.9);
    border-radius: 32px;
    box-shadow: var(--brand-shadow-lg);
    overflow: hidden;
}

.welcome-hero {
    position: relative;
    padding: 3rem;
    background: var(--brand-gradient-deep);
    overflow: hidden;
}

.welcome-hero::before,
.welcome-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.welcome-hero::before {
    width: 260px;
    height: 260px;
    top: -120px;
    inset-inline-end: -80px;
}

.welcome-hero::after {
    width: 180px;
    height: 180px;
    bottom: -80px;
    inset-inline-start: -40px;
}

.welcome-hero__content,
.welcome-hero__stats {
    position: relative;
    z-index: 1;
}

.welcome-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.94);
    font-size: 0.86rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.welcome-brand {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.welcome-brand__logo {
    width: 72px;
    height: 72px;
    padding: 0.8rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.22);
}

.welcome-brand__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.welcome-brand__title,
.welcome-hero__title {
    color: #fff;
}

.welcome-brand__title {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 800;
}

.welcome-brand__subtitle,
.welcome-hero__text {
    color: rgba(255, 255, 255, 0.82);
}

.welcome-brand__subtitle {
    margin: 0.15rem 0 0;
    font-size: 0.92rem;
}

.welcome-hero__title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.welcome-hero__text {
    max-width: 640px;
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.welcome-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.welcome-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-width: 180px;
    padding: 0.95rem 1.25rem;
    border-radius: 16px;
    font-weight: 800;
    text-decoration: none;
}

.welcome-btn--primary {
    background: #fff;
    color: var(--brand-primary-dark);
    box-shadow: 0 18px 32px rgba(2, 6, 23, 0.2);
}

.welcome-btn--secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.welcome-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.welcome-stat {
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.welcome-stat__value {
    margin: 0;
    color: #fff;
    font-size: 1.7rem;
    font-weight: 900;
}

.welcome-stat__label {
    margin: 0.35rem 0 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.9rem;
}

.welcome-body {
    padding: 2.4rem 3rem 3rem;
}

.welcome-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.5rem;
}

.welcome-card {
    height: 100%;
    background: linear-gradient(135deg, rgba(248, 250, 255, 0.95), rgba(255, 255, 255, 0.98));
    border: 1px solid rgba(219, 228, 240, 0.9);
    border-radius: 24px;
    box-shadow: var(--brand-shadow-sm);
    padding: 1.6rem;
}

.welcome-card__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(31, 134, 255, 0.08);
    color: var(--brand-primary);
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 0.95rem;
}

.welcome-card__title {
    margin: 0 0 0.75rem;
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--brand-ink);
}

.welcome-card__text {
    margin-bottom: 1.2rem;
    color: var(--brand-ink-soft);
    line-height: 1.85;
}

.welcome-feature-list {
    display: grid;
    gap: 0.9rem;
}

.welcome-feature {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(219, 228, 240, 0.85);
}

.welcome-feature__icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-gradient-soft);
    color: var(--brand-primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.welcome-feature__title {
    margin: 0 0 0.25rem;
    color: var(--brand-ink);
    font-size: 1rem;
    font-weight: 800;
}

.welcome-feature__text {
    margin: 0;
    color: var(--brand-ink-soft);
    line-height: 1.75;
    font-size: 0.95rem;
}

.welcome-quick-links {
    display: grid;
    gap: 0.85rem;
}

.welcome-quick-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.05rem;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(219, 228, 240, 0.9);
    color: var(--brand-ink);
    font-weight: 700;
    text-decoration: none;
}

.welcome-quick-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--brand-shadow-sm);
}

.welcome-quick-link i:first-child {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(31, 134, 255, 0.08);
    color: var(--brand-primary);
}

.welcome-quick-link span {
    flex: 1;
}

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

    .welcome-hero,
    .welcome-body {
        padding-inline: 1.6rem;
    }
}

@media (max-width: 767.98px) {
    .welcome-hero,
    .welcome-body {
        padding: 1.5rem;
    }

    .welcome-hero__stats {
        grid-template-columns: 1fr;
    }

    .welcome-actions,
    .welcome-btn {
        width: 100%;
    }

    .welcome-brand {
        align-items: flex-start;
    }
}

/* ===================================
   Public Legal Pages
   =================================== */

.legal-page-section {
    padding: 100px 0 60px;
    background: var(--brand-gradient-surface);
    min-height: 100vh;
}

.legal-page-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--brand-border);
}

.legal-page-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--brand-ink);
    margin-bottom: 15px;
}

.legal-page-subtitle,
.legal-page-footer p {
    font-size: 1.2rem;
    color: var(--brand-ink-soft);
}

.legal-page-content {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--brand-shadow-md);
    margin-bottom: 40px;
    border: 1px solid rgba(var(--brand-primary-rgb), 0.06);
}

.legal-page-content h2 {
    color: var(--brand-ink);
    font-weight: 800;
    margin-top: 30px;
    margin-bottom: 20px;
    font-size: 2rem;
}

.legal-page-content h3 {
    color: var(--brand-ink);
    font-weight: 700;
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.legal-page-content p,
.legal-page-content ul,
.legal-page-content ol {
    color: var(--brand-ink-soft);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.legal-page-content ul,
.legal-page-content ol {
    padding-right: 30px;
}

.legal-page-content li {
    margin-bottom: 10px;
}

.legal-page-footer {
    text-align: center;
    padding-top: 30px;
    border-top: 2px solid var(--brand-border);
}

/* ===================================
   Auth Journey Pages
   =================================== */

.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.step-indicator::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 25%;
    right: 25%;
    height: 2px;
    background: var(--brand-border);
    z-index: 0;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--brand-border);
    color: var(--brand-ink-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: 700;
    transition: all 0.3s;
}

.step.active .step-circle {
    background: var(--brand-gradient);
    color: white;
}

.step.completed .step-circle {
    background: var(--brand-gradient-success);
    color: white;
}

.step-title {
    font-size: 12px;
    color: var(--brand-ink-soft);
}

.step.active .step-title {
    color: var(--brand-primary);
    font-weight: 600;
}

.step.completed .step-title {
    color: var(--brand-success);
}

.verification-section {
    display: none;
    padding: 20px;
    background: var(--brand-surface-alt);
    border-radius: 10px;
    margin-top: 20px;
    border: 1px solid rgba(var(--brand-primary-rgb), 0.08);
}

.verification-section.active {
    display: block;
    animation: registerFadeIn 0.3s;
}

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

.code-input {
    text-align: center;
    font-size: 24px;
    letter-spacing: 10px;
    font-weight: 700;
}

.btn-send-code {
    background: var(--brand-gradient);
    border: none;
    color: white;
    padding: 10px 30px;
    border-radius: 8px;
    cursor: pointer;
}

.btn-send-code:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(var(--brand-primary-rgb), 0.28);
}

.btn-send-code:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.success-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-gradient-deep);
    animation: successPageFadeIn 0.5s ease-in;
}

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

.success-card {
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(var(--brand-ink-rgb), 0.28);
    overflow: hidden;
    background: white;
    max-width: 600px;
    width: 100%;
    margin: 20px;
    animation: successPageSlideUp 0.6s ease-out;
}

@keyframes successPageSlideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.success-header {
    background: var(--brand-gradient);
    padding: 40px 30px;
    text-align: center;
    color: white;
}

.success-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: successPageScaleIn 0.5s ease-out;
}

.success-icon i {
    font-size: 50px;
    color: white;
}

@keyframes successPageScaleIn {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.success-header h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.success-header p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 0;
}

.success-body {
    padding: 40px 30px;
}

.info-box {
    background: var(--brand-surface-alt);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid rgba(var(--brand-primary-rgb), 0.08);
}

.info-box h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--brand-ink);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-box h3 i {
    color: var(--brand-primary);
}

.info-box p {
    color: var(--brand-ink-soft);
    line-height: 1.8;
    margin-bottom: 0;
    font-size: 15px;
}

.next-steps {
    list-style: none;
    padding: 0;
    margin: 0;
}

.next-steps li {
    padding: 12px 0;
    border-bottom: 1px solid var(--brand-border);
    display: flex;
    align-items: start;
    gap: 15px;
}

.next-steps li:last-child {
    border-bottom: none;
}

.next-steps li i {
    color: var(--brand-primary);
    margin-top: 3px;
    font-size: 18px;
    flex-shrink: 0;
}

.next-steps li span {
    color: var(--brand-ink-soft);
    line-height: 1.6;
}

.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn-home,
.btn-login {
    flex: 1;
    padding: 14px 30px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
}

.btn-home {
    background: var(--brand-gradient);
    color: white;
    border: none;
}

.btn-home:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(var(--brand-primary-rgb), 0.28);
    color: white;
}

.btn-login {
    background: white;
    color: var(--brand-primary);
    border: 2px solid var(--brand-primary);
}

.btn-login:hover {
    background: var(--brand-primary);
    color: white;
    transform: translateY(-2px);
}

.contact-support {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--brand-border);
}

.contact-support p {
    color: var(--brand-ink-soft);
    margin-bottom: 10px;
}

.contact-support a {
    color: var(--brand-primary);
    font-weight: 600;
    text-decoration: none;
}

.contact-support a:hover {
    text-decoration: underline;
}

/* ===================================
   Stores Pages
   =================================== */

.stores-hero {
    background: var(--brand-gradient-deep);
    color: white;
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
    margin-top: -80px;
    padding-top: 180px;
}

.stores-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    opacity: 0.6;
}

.stores-hero::after,
.store-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/images/pattern.png') repeat;
    opacity: 0.03;
}

.store-hero::before {
    opacity: 0.1;
}

.stores-hero-content,
.store-hero-content {
    position: relative;
    z-index: 2;
}

.stores-hero-content {
    text-align: center;
}

.stores-hero h1,
.store-hero h1 {
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.stores-hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.stores-hero p {
    font-size: 1.4rem;
    font-weight: 400;
    opacity: 0.95;
    line-height: 1.6;
    margin-bottom: 0;
}

.map-section,
.store-info-section {
    padding: 80px 0;
    background: var(--brand-gradient-surface);
}

.map-section {
    padding-top: 100px;
    padding-bottom: 100px;
}

.map-container,
.store-info-section .info-card,
.no-stores-message,
.no-products {
    background: white;
    border-radius: 25px;
    box-shadow: var(--brand-shadow-md);
    border: 1px solid rgba(var(--brand-primary-rgb), 0.06);
}

.map-container {
    border-width: 2px;
    border-color: var(--brand-border);
    transition: all 0.3s ease;
}

.map-container:hover {
    box-shadow: var(--brand-shadow-lg);
    border-color: var(--brand-primary);
}

.map-title,
.store-info-section .info-card h3,
.stores-grid-section .section-title,
.products-section .section-title {
    color: var(--brand-ink);
}

.map-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.map-title i,
.store-info-section .info-card h3 i,
.store-info-section .info-item i,
.store-hero-fallback-icon {
    color: var(--brand-primary);
}

#map,
.stores-map-placeholder {
    width: 100%;
    height: 600px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: none;
}

.stores-map-placeholder {
    background: var(--brand-surface-alt);
}

.stores-grid-section,
.products-section {
    padding: 100px 0;
}

.stores-grid-section {
    background: var(--brand-surface-alt);
}

.products-section {
    background: white;
}

.stores-grid-section .section-title,
.products-section .section-title {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: -0.02em;
}

.products-section .section-title {
    font-size: 2.5rem;
    letter-spacing: normal;
}

.stores-grid-section .section-subtitle,
.products-section .section-subtitle {
    font-size: 1.2rem;
    color: var(--brand-ink-soft);
    margin-bottom: 60px;
    text-align: center;
}

.stores-grid-section .section-subtitle {
    font-size: 1.3rem;
}

.store-card,
.product-card {
    background: white;
    border: 1px solid var(--brand-border);
    transition: all 0.3s ease;
}

.store-card {
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.store-card:hover,
.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--brand-primary);
}

.store-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.store-logo,
.store-logo-hero {
    background: white;
}

.store-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(var(--brand-primary-rgb), 0.1) 0%, rgba(var(--brand-accent-rgb), 0.16) 100%);
    color: var(--brand-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.25rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

.store-card:hover .store-logo {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-accent) 100%);
    color: white;
    transform: rotate(5deg) scale(1.1);
}

.store-logo-hero {
    width: 150px;
    height: 150px;
    border-radius: 25px;
    border: 5px solid white;
    object-fit: cover;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.store-name,
.product-name,
.product-price,
.info-value {
    color: var(--brand-ink);
}

.store-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.store-category,
.product-category {
    color: var(--brand-primary) !important;
    font-weight: 600;
}

.store-category {
    font-size: 0.9rem !important;
    margin-bottom: 0.5rem !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.store-location,
.store-description,
.store-info-section .info-label,
.product-description,
.no-stores-message h3,
.no-products h3 {
    color: var(--brand-ink-soft);
}

.store-location {
    font-size: 0.85rem !important;
    margin-bottom: 0.5rem !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.store-description {
    font-size: 0.85rem !important;
    color: rgba(var(--brand-ink-rgb), 0.52) !important;
    margin-top: 0.5rem !important;
    line-height: 1.4;
    flex: 1;
}

.store-card .btn,
.btn-filter,
.btn-map {
    background: var(--brand-gradient);
    color: white;
    border: none;
}

.store-card .btn,
.btn-filter {
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(var(--brand-primary-rgb), 0.28);
}

.store-card .btn {
    margin-top: auto;
    padding: 0.75rem 2rem;
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    display: inline-block;
}

.store-card .btn:hover,
.btn-filter:hover,
.btn-map:hover {
    transform: translateY(-2px);
    color: white;
}

.store-card .btn:hover,
.btn-filter:hover {
    box-shadow: 0 6px 20px rgba(var(--brand-primary-rgb), 0.34);
}

.filter-section {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--brand-border);
    margin-bottom: 40px;
}

.filter-label {
    font-weight: 600;
    color: var(--brand-ink);
    font-size: 0.95rem;
    margin-bottom: 8px;
    display: block;
}

.filter-label i {
    color: var(--brand-primary);
    margin-left: 5px;
}

.filter-input,
.filter-select {
    border: 2px solid var(--brand-border);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--brand-surface-alt);
}

.filter-input:focus,
.filter-select:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(var(--brand-primary-rgb), 0.1);
    background: white;
    outline: none;
}

.btn-filter {
    padding: 12px 24px;
    font-weight: 700;
}

.btn-filter-reset {
    background: white;
    border: 2px solid var(--brand-border);
    color: var(--brand-ink-soft);
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-filter-reset:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    background: var(--brand-surface-alt);
}

.stores-alert {
    border-radius: 15px;
    border-right: 5px solid var(--brand-primary);
    background: linear-gradient(135deg, rgba(var(--brand-primary-rgb), 0.08) 0%, rgba(var(--brand-accent-rgb), 0.16) 100%);
    border-top: none;
    border-left: none;
    border-bottom: none;
    box-shadow: 0 4px 15px rgba(var(--brand-primary-rgb), 0.12);
}

.stores-alert__icon,
.stores-map-count,
.stores-map-loading i {
    color: var(--brand-primary);
}

.stores-alert__title {
    color: var(--brand-primary-dark);
    font-size: 1.1rem;
}

.stores-alert__text,
.stores-map-empty-title,
.stores-info-address,
.stores-info-phone,
.stores-info-email,
.stores-service-name,
.no-stores-message p,
.no-products p {
    color: var(--brand-ink-soft);
}

.stores-map-loading {
    padding: 50px;
    text-align: center;
    color: var(--brand-ink-soft);
}

.store-status-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
}

.store-status-badge--mapped {
    background: var(--brand-gradient-success);
    box-shadow: 0 2px 8px rgba(var(--brand-success-rgb), 0.32);
}

.store-status-badge--pending {
    background: var(--brand-gradient-warning);
    box-shadow: 0 2px 8px rgba(var(--brand-warning-rgb), 0.32);
}

.store-hero {
    background: var(--brand-gradient-deep);
    padding: 100px 0 60px;
    color: white;
    position: relative;
    overflow: hidden;
}

.store-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.store-hero-meta {
    font-size: 1.15rem;
    opacity: 0.95;
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    align-items: center;
}

.store-hero-meta i {
    margin-left: 8px;
}

.store-info-section .info-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.store-info-section .info-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--brand-border);
    transition: all 0.3s ease;
    border-radius: 12px;
}

.store-info-section .info-item:hover {
    background: var(--brand-surface-alt);
    transform: translateX(-5px);
}

.store-info-section .info-item:last-child {
    border-bottom: none;
}

.store-info-section .info-item i {
    font-size: 1.8rem;
    width: 50px;
    margin-left: 20px;
}

.store-info-section .info-label {
    font-weight: 700;
    min-width: 150px;
    font-size: 1.05rem;
}

.store-info-card {
    padding: 2rem;
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.store-section-heading {
    margin-bottom: 1.75rem;
}

.store-section-heading__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    background: rgba(var(--brand-primary-rgb), 0.08);
    color: var(--brand-primary-dark);
    font-size: 0.88rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.store-section-heading__row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.store-section-heading__row h3,
.store-section-heading__row .section-title {
    margin-bottom: 0.6rem;
}

.store-section-heading__row p,
.store-section-heading__row .section-subtitle {
    margin-bottom: 0;
    color: var(--brand-ink-soft);
    max-width: 720px;
}

.store-section-heading__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.78rem 1rem;
    border-radius: 16px;
    background: rgba(var(--brand-accent-rgb), 0.1);
    color: var(--brand-primary-dark);
    border: 1px solid rgba(var(--brand-primary-rgb), 0.1);
    font-weight: 800;
    white-space: nowrap;
}

.store-section-heading__badge--strong {
    background: linear-gradient(135deg, rgba(var(--brand-primary-rgb), 0.1) 0%, rgba(var(--brand-accent-rgb), 0.14) 100%);
    box-shadow: 0 12px 28px rgba(var(--brand-primary-rgb), 0.12);
}

.store-section-heading--centered {
    text-align: center;
    margin-bottom: 3rem;
}

.store-section-heading__row--centered {
    justify-content: center;
    align-items: center;
}

.store-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.store-info-item {
    border: 1px solid rgba(var(--brand-primary-rgb), 0.08);
    border-radius: 22px;
    padding: 1.1rem 1.2rem;
    background: linear-gradient(180deg, #ffffff 0%, rgba(var(--brand-primary-rgb), 0.03) 100%);
    align-items: flex-start;
    gap: 1rem;
    min-height: 100%;
}

.store-info-item:hover {
    transform: translateY(-4px);
    background: rgba(var(--brand-primary-rgb), 0.04);
    border-color: rgba(var(--brand-primary-rgb), 0.16);
}

.store-info-item__icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(var(--brand-primary-rgb), 0.12) 0%, rgba(var(--brand-accent-rgb), 0.16) 100%);
}

.store-info-item__icon i {
    width: auto;
    margin: 0;
    font-size: 1.2rem;
}

.store-info-item__content {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
    min-width: 0;
}

.store-info-item .info-label {
    min-width: 0;
    margin: 0;
    color: var(--brand-ink-soft);
    font-size: 0.95rem;
}

.store-info-item .info-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--brand-ink);
    line-height: 1.7;
    word-break: break-word;
}

.store-info-item--wide {
    grid-column: 1 / -1;
}

.store-info-item--map {
    align-items: center;
}

.store-info-item--map .btn-map {
    margin-inline-start: auto;
}

.btn-map {
    padding: 12px 30px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(var(--brand-primary-rgb), 0.24);
    display: inline-block;
    text-decoration: none;
}

.btn-map:hover {
    box-shadow: 0 8px 25px rgba(var(--brand-primary-rgb), 0.3);
}

.products-section--store {
    background: linear-gradient(180deg, #ffffff 0%, rgba(var(--brand-primary-rgb), 0.03) 100%);
}

.products-grid-store .product-card {
    border-radius: 24px;
    border: 1px solid rgba(var(--brand-primary-rgb), 0.08);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
}

.products-grid-store .product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--brand-primary-rgb), 0.18);
}

.products-grid-store .product-body {
    padding: 1.35rem;
}

.products-grid-store .product-price {
    color: var(--brand-primary-dark);
}

.no-products-card {
    max-width: 760px;
    margin: 0 auto;
    padding: 2.25rem 2rem;
    border-radius: 30px;
    text-align: center;
    border: 1px solid rgba(var(--brand-primary-rgb), 0.08);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
    background: linear-gradient(180deg, #ffffff 0%, rgba(var(--brand-primary-rgb), 0.03) 100%);
}

.no-products-card__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    background: rgba(var(--brand-primary-rgb), 0.08);
    color: var(--brand-primary-dark);
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
}

.no-products-card__icon {
    width: 92px;
    height: 92px;
    margin: 0 auto 1.35rem;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(var(--brand-primary-rgb), 0.12) 0%, rgba(var(--brand-accent-rgb), 0.18) 100%);
    box-shadow: 0 18px 36px rgba(var(--brand-primary-rgb), 0.16);
}

.no-products-card__icon i {
    font-size: 2.1rem;
    color: var(--brand-primary-dark);
}

.no-products-card h3 {
    color: var(--brand-ink);
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 0.8rem;
}

.no-products-card p {
    max-width: 560px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--brand-ink-soft);
}

.no-products-card__actions {
    margin-top: 1.6rem;
    display: flex;
    justify-content: center;
}

.no-products-card__actions .btn-map {
    min-width: 220px;
}

.product-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: 0 20px 50px rgba(var(--brand-primary-rgb), 0.18);
}

.product-image-container {
    width: 100%;
    height: 250px;
    position: relative;
    overflow: hidden;
    background: var(--brand-surface-alt);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    display: inline-block;
    font-size: 0.85rem;
    background: rgba(var(--brand-primary-rgb), 0.08);
    padding: 6px 15px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    min-height: 55px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-description {
    font-size: 0.95rem;
    margin-bottom: 15px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}

.product-price {
    font-size: 1.7rem;
    font-weight: 800;
    margin-top: auto;
    padding-top: 15px;
    border-top: 2px solid var(--brand-border);
}

.product-image-placeholder {
    background: var(--brand-gradient);
}

@media (max-width: 991px) {
    .legal-page-content {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .legal-page-title,
    .stores-hero h1,
    .store-hero h1 {
        font-size: 2rem;
    }

    .stores-hero {
        padding: 120px 0 60px;
        margin-top: -60px;
        padding-top: 140px;
    }

    .stores-hero p {
        font-size: 1.1rem;
    }

    #map,
    .stores-map-placeholder,
    .product-image-container {
        height: 400px;
    }

    .store-logo {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .store-logo-hero {
        width: 100px;
        height: 100px;
        margin-bottom: 25px;
    }

    .store-info-section .info-item,
    .action-buttons {
        flex-direction: column;
    }

    .store-info-section .info-item {
        align-items: flex-start;
    }

    .store-info-card {
        padding: 1.25rem;
    }

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

    .store-info-item--map {
        align-items: flex-start;
    }

    .store-info-item--map .btn-map {
        margin-inline-start: 0;
        width: 100%;
        text-align: center;
    }

    .store-info-section .info-label {
        min-width: auto;
        margin-bottom: 5px;
    }

    .store-section-heading__badge {
        width: 100%;
        justify-content: center;
    }

    .no-products-card {
        padding: 1.5rem 1.1rem;
        border-radius: 24px;
    }

    .no-products-card h3 {
        font-size: 1.55rem;
    }

    .no-products-card p {
        font-size: 0.96rem;
    }

    .no-products-card__actions .btn-map {
        width: 100%;
        min-width: 0;
    }
}

/* ===================================
   Home Experience Sections
   =================================== */

.app-download-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(var(--brand-accent-rgb), 0.08) 0%, rgba(var(--brand-primary-rgb), 0.12) 100%);
    position: relative;
    overflow: hidden;
}

.app-download-section::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(var(--brand-accent-rgb), 0.14) 0%, transparent 70%);
    border-radius: 50%;
}

.app-download-section::after {
    content: '';
    position: absolute;
    bottom: -15%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(var(--brand-primary-rgb), 0.14) 0%, transparent 70%);
    border-radius: 50%;
}

.app-download-card {
    background: white;
    border-radius: 30px;
    padding: 60px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.app-content {
    padding-right: 20px;
}

.app-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--brand-accent) 0%, var(--brand-primary) 100%);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.app-badge i {
    margin-left: 8px;
}

.app-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--brand-ink);
    margin-bottom: 20px;
    line-height: 1.2;
}

.app-description {
    font-size: 1.1rem;
    color: var(--brand-ink-soft);
    line-height: 1.8;
    margin-bottom: 30px;
}

.app-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 35px;
}

.app-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: var(--brand-ink-soft);
    font-weight: 600;
}

.app-feature-item i {
    color: var(--brand-success);
    font-size: 1.2rem;
}

.app-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.app-button {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 30px;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    min-width: 200px;
}

.app-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.app-button.google-play {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-accent) 100%);
    color: white;
}

.app-button.app-store {
    background: var(--brand-gradient-dark);
    color: white;
}

.app-button i {
    font-size: 2.5rem;
}

.button-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.small-text {
    font-size: 0.75rem;
    opacity: 0.9;
}

.large-text {
    font-size: 1.1rem;
    font-weight: 700;
}

.app-mockup {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.app-mockup {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.phone-frame {
    width: 260px;
    height: 530px;
    background: #1a1a1a;
    border-radius: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 0 2px #3a3a3a,
        0 0 0 6px #1a1a1a,
        0 0 0 8px #444,
        0 40px 80px rgba(0,0,0,0.45),
        0 20px 40px rgba(var(--brand-primary-rgb), 0.18);
    position: relative;
    animation: homePhoneFloat 3.5s ease-in-out infinite;
    overflow: hidden;
}

/* Dynamic island */
.phone-frame::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 28px;
    background: #1a1a1a;
    border-radius: 20px;
    z-index: 10;
    box-shadow: 0 0 0 1px #333;
}

/* Side button */
.phone-frame::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 130px;
    width: 4px;
    height: 60px;
    background: #3a3a3a;
    border-radius: 0 4px 4px 0;
    box-shadow: 0 70px 0 #3a3a3a;
}

.phone-screen {
    width: calc(100% - 12px);
    height: calc(100% - 12px);
    border-radius: 38px;
    background: linear-gradient(160deg, #e8f4ff 0%, #f0f7ff 40%, #e0eeff 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    overflow: hidden;
    position: relative;
}

.phone-screen::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(var(--brand-primary-rgb), 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.phone-screen::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(var(--brand-accent-rgb), 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.phone-screen-logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
    border-radius: 22px;
    box-shadow: 0 8px 24px rgba(var(--brand-primary-rgb), 0.25);
    position: relative;
    z-index: 2;
}

.phone-screen-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-primary);
    letter-spacing: 0.03em;
    position: relative;
    z-index: 2;
}

.phone-screen-sub {
    font-size: 0.7rem;
    color: var(--brand-ink-soft);
    position: relative;
    z-index: 2;
    margin-top: -10px;
}

.phone-frame i {
    display: none;
}

@keyframes homePhoneFloat {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

.banners-section {
    padding: 60px 0 40px;
    background: white;
}

.banner-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: white;
    border-radius: 20px;
    border: 2px solid var(--brand-border);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.banner-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--banner-color, var(--brand-primary)) 0%, transparent 50%);
    opacity: 0.05;
    transition: opacity 0.3s ease;
}

.banner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--banner-color, var(--brand-primary));
    text-decoration: none;
}

.banner-card:hover::before {
    opacity: 0.1;
}

.banner-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--banner-color, var(--brand-primary)) 0%, var(--banner-color, var(--brand-primary)) 100%);
    border-radius: 16px;
    color: white;
    font-size: 28px;
    box-shadow: 0 8px 20px rgba(var(--brand-primary-rgb), 0.24);
}

.banner-content {
    flex: 1;
    min-width: 0;
}

.banner-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-ink);
    margin: 0 0 5px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.banner-description {
    font-size: 0.9rem;
    color: var(--brand-ink-soft);
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.calculator-section {
    padding: 100px 0;
    background: var(--brand-gradient-surface);
}

.calculator-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    border: 2px solid var(--brand-border);
    box-shadow: 0 10px 40px rgba(var(--brand-primary-rgb), 0.08);
}

.calc-info-row {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.calc-info-item {
    flex: 1;
    min-width: 140px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(var(--brand-primary-rgb), 0.08), rgba(var(--brand-accent-rgb), 0.14));
    border-radius: 14px;
    padding: 16px;
    border: 1px solid rgba(var(--brand-primary-rgb), 0.16);
}

.calc-info-icon {
    width: 44px;
    height: 44px;
    background: var(--brand-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.calc-info-label {
    font-size: 0.78rem;
    color: var(--brand-ink-soft);
    font-weight: 600;
}

.calc-info-value {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--brand-ink);
}

.calc-label {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-ink);
    margin-bottom: 10px;
    direction: rtl;
}

.calc-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.calc-input {
    width: 100%;
    padding: 16px 60px 16px 20px;
    font-size: 1.4rem;
    font-weight: 700;
    border: 2px solid rgba(var(--brand-primary-rgb), 0.16);
    border-radius: 14px;
    outline: none;
    color: var(--brand-ink);
    direction: ltr;
    text-align: right;
    transition: border-color 0.2s;
}

.calc-input:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 4px rgba(var(--brand-primary-rgb), 0.1);
}

.calc-input-suffix {
    position: absolute;
    left: 16px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--brand-ink-soft);
    pointer-events: none;
}

.calc-result {
    margin-top: 28px;
    animation: homeCalcFadeInUp 0.3s ease;
}

@keyframes homeCalcFadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.calc-result-row {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.calc-result-box {
    text-align: center;
    padding: 28px 50px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-accent) 100%);
    color: white;
    min-width: 260px;
}

.calc-result-label {
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0.9;
    margin-bottom: 8px;
}

.calc-result-amount {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 6px;
}

.calc-result-currency {
    font-size: 0.9rem;
    opacity: 0.85;
}

.calc-result-details {
    background: var(--brand-surface-alt);
    border-radius: 14px;
    border: 1px solid var(--brand-border);
    overflow: hidden;
}

.calc-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid var(--brand-border);
    font-size: 0.93rem;
    direction: rtl;
}

.calc-detail-item:last-child {
    border-bottom: none;
}

.calc-detail-item.highlight {
    background: rgba(var(--brand-primary-rgb), 0.08);
}

.calc-detail-label {
    color: var(--brand-ink-soft);
    font-weight: 600;
}

.calc-detail-value {
    color: var(--brand-ink);
    font-weight: 700;
}

.calc-detail-item.highlight .calc-detail-value {
    color: var(--brand-primary);
    font-size: 1.05rem;
}

.calc-note,
.bank-note {
    margin-top: 20px;
    padding: 14px 18px;
    background: rgba(var(--brand-warning-rgb), 0.12);
    border: 1px solid rgba(var(--brand-warning-rgb), 0.28);
    border-radius: 12px;
    font-size: 0.88rem;
    color: var(--admin-warning-dark);
    direction: rtl;
    line-height: 1.7;
}

.calc-note i,
.bank-note i {
    color: var(--brand-warning);
    margin-left: 6px;
}

.section-badge-center {
    display: inline-block;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-accent) 100%);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
}

.section-title-modern,
.section-title-final {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--brand-ink);
    margin-bottom: 15px;
}

.section-title-modern {
    font-size: 3rem;
}

.section-subtitle-modern {
    font-size: 1.2rem;
    color: var(--brand-ink-soft);
}

.bank-section {
    padding: 0 0 80px;
    background: var(--brand-gradient-surface);
}

.bank-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    border: 2px solid var(--brand-border);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    direction: rtl;
}

.bank-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--brand-border);
}

.bank-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(var(--brand-primary-rgb), 0.24);
}

.bank-title {
    margin: 0 0 4px 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--brand-ink);
}

.bank-subtitle {
    margin: 0;
    font-size: 0.88rem;
    color: var(--brand-primary);
    font-weight: 600;
}

.bank-details {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.bank-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--brand-border);
    gap: 12px;
    flex-wrap: wrap;
}

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

.bank-label {
    font-size: 0.88rem;
    color: var(--brand-ink-soft);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.bank-label i {
    color: var(--brand-primary);
}

.bank-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-ink);
    letter-spacing: 0.5px;
}

.bank-value.iban {
    font-family: monospace;
    font-size: 1.05rem;
    color: var(--brand-primary);
    letter-spacing: 1px;
}

.bank-value-copy {
    display: flex;
    align-items: center;
    gap: 10px;
}

.copy-btn {
    width: 34px;
    height: 34px;
    background: rgba(var(--brand-primary-rgb), 0.08);
    border: 1px solid rgba(var(--brand-primary-rgb), 0.16);
    border-radius: 8px;
    color: var(--brand-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all 0.2s;
    flex-shrink: 0;
}

.copy-btn:hover {
    background: var(--brand-primary);
    color: white;
    border-color: var(--brand-primary);
}

.stores-section-new {
    padding: 100px 0;
    background: white;
}

.about-section-final {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(var(--brand-primary-rgb), 0.08) 0%, rgba(var(--brand-accent-rgb), 0.14) 100%);
    position: relative;
    overflow: hidden;
}

.about-section-final::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(var(--brand-primary-rgb), 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.about-content-final {
    position: relative;
    z-index: 1;
}

.about-text-final,
.stat-label-final {
    color: var(--brand-ink-soft);
}

.about-text-final {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-stats-final {
    display: grid;
    gap: 20px;
    margin-top: 40px;
}

.stat-item-final {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.stat-item-final:hover {
    transform: translateX(-10px);
    box-shadow: 0 8px 30px rgba(var(--brand-primary-rgb), 0.15);
}

.stat-icon-final {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-accent) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    flex-shrink: 0;
}

.stat-number-final {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 5px;
}

.about-logo-final {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-wrapper-final {
    width: 400px;
    height: 400px;
    background: white;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(var(--brand-primary-rgb), 0.18);
    position: relative;
    padding: 40px;
    animation: homeLogoFloat 3s ease-in-out infinite;
}

@keyframes homeLogoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.logo-wrapper-final::before {
    content: '';
    position: absolute;
    inset: -15px;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
    z-index: -1;
    opacity: 0.2;
    animation: homeLogoPulse 2s ease-in-out infinite;
}

@keyframes homeLogoPulse {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.05); }
}

@media (max-width: 991px) {
    .app-download-card {
        padding: 40px 30px;
    }

    .app-title {
        font-size: 2.2rem;
    }

    .app-content {
        padding-right: 0;
        text-align: center;
    }

    .app-features {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .app-buttons {
        justify-content: center;
    }

    .phone-frame {
        width: 220px;
        height: 450px;
        border-radius: 38px;
        margin-top: 40px;
    }

    .phone-screen-logo {
        width: 75px;
        height: 75px;
    }

    .banners-section {
        padding: 40px 0 20px;
    }

    .banner-card {
        padding: 20px;
        gap: 15px;
    }

    .banner-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .section-title-modern {
        font-size: 2rem;
    }

    .price-amount-new {
        font-size: 3rem;
    }

    .logo-wrapper-final {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 576px) {
    .app-download-card {
        padding: 30px 20px;
    }

    .app-title {
        font-size: 1.8rem;
    }

    .app-buttons {
        flex-direction: column;
        width: 100%;
    }

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

    .phone-frame {
        width: 180px;
        height: 370px;
        border-radius: 32px;
    }

    .phone-screen-logo {
        width: 60px;
        height: 60px;
        border-radius: 16px;
    }

    .phone-screen-text {
        font-size: 0.75rem;
    }

    .phone-screen-sub {
        font-size: 0.65rem;
    }

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

    .banner-card {
        flex-direction: column;
        text-align: center;
        padding: 25px 15px;
    }

    .banner-title {
        white-space: normal;
    }
}

/* =========================================
   Contact Page Styles
   ========================================= */

.contact-hero-section {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, rgba(var(--brand-primary-rgb), 0.05) 0%, rgba(var(--brand-accent-rgb), 0.05) 100%);
    border-bottom: 1px solid var(--brand-border);
}

.contact-hero-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--brand-ink);
    margin-bottom: 0.75rem;
}

.contact-hero-subtitle {
    font-size: 1.1rem;
    color: var(--brand-ink-soft);
    max-width: 500px;
    margin: 0 auto;
}

.contact-section {
    padding: 70px 0 100px;
    background: white;
}

/* Contact Cards */
.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px 24px;
    background: white;
    border: 2px solid var(--brand-border);
    border-radius: 24px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--brand-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: right;
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(var(--brand-primary-rgb), 0.14);
    border-color: rgba(var(--brand-primary-rgb), 0.3);
    color: inherit;
}

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

.contact-card__icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.contact-card--whatsapp .contact-card__icon {
    background: rgba(37, 211, 102, 0.12);
    color: #25d366;
}

.contact-card--email .contact-card__icon {
    background: rgba(var(--brand-primary-rgb), 0.1);
    color: var(--brand-primary);
}

.contact-card--twitter .contact-card__icon {
    background: rgba(0, 0, 0, 0.07);
    color: #000;
}

.contact-card__body {
    flex: 1;
}

.contact-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-ink);
    margin-bottom: 4px;
}

.contact-card__desc {
    font-size: 0.85rem;
    color: var(--brand-ink-soft);
    margin-bottom: 6px;
    line-height: 1.5;
}

.contact-card__value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand-primary);
}

.contact-card__arrow {
    color: var(--brand-ink-soft);
    font-size: 1rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.contact-card:hover .contact-card__arrow {
    transform: translateX(-6px);
    color: var(--brand-primary);
}

/* Contact Form Card */
.contact-form-card {
    background: white;
    border: 2px solid var(--brand-border);
    border-radius: 28px;
    padding: 40px;
    box-shadow: 0 8px 40px rgba(var(--brand-primary-rgb), 0.07);
}

.contact-form-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--brand-border);
}

.contact-form-icon {
    width: 56px;
    height: 56px;
    background: var(--brand-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    flex-shrink: 0;
}

.contact-form-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--brand-ink);
    margin-bottom: 2px;
}

.contact-form-subtitle {
    font-size: 0.9rem;
    color: var(--brand-ink-soft);
    margin: 0;
}

.contact-input-group {
    margin-bottom: 4px;
}

.contact-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand-ink);
    margin-bottom: 8px;
}

.contact-input-wrapper {
    position: relative;
}

.contact-input-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--brand-ink-soft);
    font-size: 0.9rem;
    z-index: 2;
}

.contact-input {
    width: 100%;
    padding: 13px 44px 13px 16px;
    border: 2px solid var(--brand-border);
    border-radius: 14px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.95rem;
    color: var(--brand-ink);
    background: white;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    outline: none;
}

.contact-input:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 4px rgba(var(--brand-primary-rgb), 0.1);
}

.contact-textarea {
    padding: 13px 44px 13px 16px;
    resize: vertical;
    min-height: 130px;
}

.contact-error {
    display: block;
    font-size: 0.82rem;
    color: #dc3545;
    margin-top: 5px;
}

.contact-submit-btn {
    width: 100%;
    padding: 15px 32px;
    background: var(--brand-gradient);
    color: white;
    border: none;
    border-radius: 14px;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(var(--brand-primary-rgb), 0.35);
    opacity: 0.92;
}

.alert-success-custom {
    background: rgba(25, 195, 125, 0.1);
    border: 1.5px solid rgba(25, 195, 125, 0.35);
    border-radius: 14px;
    padding: 14px 20px;
    color: #0d7a50;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .contact-hero-title { font-size: 2rem; }
    .contact-form-card { padding: 24px 18px; }
    .contact-card { padding: 20px 16px; gap: 14px; }
    .contact-card__icon { width: 52px; height: 52px; font-size: 1.5rem; }
}
