@font-face {
    font-family: IRNYekan;
    src: url(../fonts/IRANYekanXVF.woff);
}

:root {
    --primary: #6C3BFF;
    --secondary: #214BFF;
    --accent: #8F6BFF;
    --background: #050816;
    --cards: #111827;
    --text: #FFFFFF;
    --secondaryText: #B8C0D9;
    --success: #22C55E;
    --danger: #EF4444;
    --gradient: linear-gradient(135deg, #6C3BFF 0%, #214BFF 100%);
    --glass-bg: rgba(17, 24, 39, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: IRNYekan, sans-serif;
}

body,
html {
    background-color: var(--background);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    margin: 15px;
    border-radius: 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg,
            rgba(108, 59, 255, 0.3),
            rgba(33, 75, 255, 0.1) 50%,
            rgba(143, 107, 255, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-img-wrapper {
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--gradient);
    overflow: hidden;
    box-shadow:
        0 4px 20px rgba(108, 59, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.logo-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            transparent 30%,
            rgba(255, 255, 255, 0.2) 50%,
            transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.logo:hover .logo-img-wrapper::after {
    transform: translateX(100%);
}

.logo-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    position: relative;
    z-index: 1;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text h2 {
    font-size: 18px;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.logo-text span {
    font-size: 11px;
    color: var(--secondaryText);
    line-height: 1;
}

.search-wrapper {
    flex: 1;
    max-width: 480px;
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    right: 16px;
    font-size: 16px;
    color: var(--secondaryText);
    pointer-events: none;
    transition: color 0.3s ease;
}

.search-wrapper input {
    width: 100%;
    height: 44px;
    padding: 0 100px 0 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text);
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.search-wrapper input::placeholder {
    color: var(--secondaryText);
    opacity: 0.7;
}

.search-wrapper input:focus {
    background: rgba(108, 59, 255, 0.08);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(108, 59, 255, 0.15);
}

.search-wrapper input:focus~.search-icon {
    color: var(--primary);
}

.search-wrapper kbd {
    position: absolute;
    left: 12px;
    padding: 4px 8px;
    font-size: 11px;
    font-family: monospace;
    color: var(--secondaryText);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    pointer-events: none;
}

.nav-menu {
    display: flex;
    gap: 4px;
}

.nav-link {
    position: relative;
    padding: 10px 16px;
    color: var(--secondaryText);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: var(--text);
    background: rgba(108, 59, 255, 0.15);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--gradient);
    border-radius: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-btn {
    position: relative;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s ease;
}

.icon-btn i,
.icon-btn svg {
    font-size: 18px;
    width: 20px;
    height: 20px;
}

.icon-btn:hover {
    background: rgba(108, 59, 255, 0.15);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.icon-btn .badge {
    position: absolute;
    top: -4px;
    left: -4px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--danger);
    color: white;
    font-size: 11px;
    font-weight: 700;
    border-radius: 10px;
    border: 2px solid var(--background);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.btn-login {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--gradient);
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
    box-shadow:
        0 4px 20px rgba(108, 59, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: left 0.5s ease;
}

.btn-login:hover::before {
    left: 100%;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow:
        0 6px 25px rgba(108, 59, 255, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-login i,
.btn-login svg {
    font-size: 16px;
    width: 18px;
    height: 18px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (max-width: 1024px) {
    .nav-menu {
        display: none;
    }

    .btn-login span {
        display: none;
    }

    .btn-login {
        padding: 10px;
    }
}

@media (max-width: 768px) {
    .header {
        margin: 10px;
    }

    .header-container {
        padding: 10px 14px;
        gap: 10px;
    }

    .logo-text {
        display: none;
    }

    .search-wrapper {
        max-width: none;
    }

    .search-wrapper kbd {
        display: none;
    }

    .search-wrapper input {
        padding: 0 40px 0 14px;
        font-size: 13px;
    }

    .icon-btn {
        width: 38px;
        height: 38px;
    }

    .mobile-menu-btn {
        display: flex;
    }
}

@media (max-width: 480px) {
    .btn-login {
        display: none;
    }

    .header-actions {
        gap: 4px;
    }
}

.header.scrolled {
    margin: 8px;
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero {
    position: relative;
    min-height: 100vh;
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    bottom: -100px;
    left: -100px;
    animation-delay: -7s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: var(--accent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
    opacity: 0.3;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(50px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(108, 59, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(108, 59, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    animation: rise linear infinite;
}

@keyframes rise {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-10vh) translateX(100px);
        opacity: 0;
    }
}

.hero-container {
    max-width: 1280px;
    width: 100%;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    animation: slideInRight 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(108, 59, 255, 0.1);
    border: 1px solid rgba(108, 59, 255, 0.3);
    border-radius: 100px;
    color: var(--text);
    font-size: 13px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-badge i,
.hero-badge svg {
    font-size: 12px;
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.hero-badge:hover i,
.hero-badge:hover svg {
    transform: translateX(-4px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.title-line {
    display: block;
}

.title-gradient {
    background: linear-gradient(135deg,
            #6C3BFF 0%,
            #8F6BFF 25%,
            #214BFF 50%,
            #8F6BFF 75%,
            #6C3BFF 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 4s linear infinite;
    display: inline-block;
}

@keyframes gradientShift {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

.hero-desc {
    font-size: 18px;
    line-height: 1.8;
    color: var(--secondaryText);
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--gradient);
    color: var(--text);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 14px;
    box-shadow:
        0 10px 30px rgba(108, 59, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow:
        0 15px 40px rgba(108, 59, 255, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary i,
.btn-primary svg {
    font-size: 16px;
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn-primary:hover i,
.btn-primary:hover svg {
    transform: translateX(-4px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 14px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.btn-secondary svg {
    width: 16px;
    height: 16px;
    fill: var(--primary);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 24px;
    background: rgba(17, 24, 39, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    max-width: fit-content;
}

.stat-value {
    font-size: 32px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: var(--secondaryText);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: slideInLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.visual-card {
    position: relative;
    width: 380px;
    height: 380px;
    background: linear-gradient(135deg, rgba(108, 59, 255, 0.15), rgba(33, 75, 255, 0.15));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    animation: cardFloat 6s ease-in-out infinite;
}

@keyframes cardFloat {

    0%,
    100% {
        transform: translateY(0) rotate(-2deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

.card-glow {
    position: absolute;
    inset: -2px;
    background: var(--gradient);
    border-radius: 30px;
    opacity: 0.5;
    filter: blur(30px);
    z-index: -1;
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 0.8;
    }
}

.hero-img {
    width: 70%;
    height: 70%;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(108, 59, 255, 0.5));
    border-radius: 20px;
}

.floating-tag {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: rgba(17, 24, 39, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: tagFloat 4s ease-in-out infinite;
}

.tag-1 {
    top: 10%;
    right: -20px;
    animation-delay: 0s;
}

.tag-2 {
    bottom: 20%;
    left: -30px;
    animation-delay: -1.5s;
}

.tag-3 {
    top: 50%;
    right: -40px;
    animation-delay: -3s;
}

@keyframes tagFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.tag-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    border-radius: 10px;
    font-size: 20px;
}

.tag-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}

.tag-sub {
    font-size: 11px;
    color: var(--secondaryText);
    margin-top: 2px;
}

.orbit {
    position: absolute;
    border: 1px dashed rgba(108, 59, 255, 0.3);
    border-radius: 50%;
    animation: spin 20s linear infinite;
}

.orbit-1 {
    width: 500px;
    height: 500px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.orbit-2 {
    width: 600px;
    height: 600px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-duration: 30s;
    animation-direction: reverse;
}

.orbit-dot {
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--primary);
}

@keyframes spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--secondaryText);
    font-size: 12px;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--accent));
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% {
        top: -40px;
    }

    100% {
        top: 100%;
    }
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-badge,
    .hero-actions,
    .hero-stats {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        height: 400px;
    }

    .visual-card {
        width: 300px;
        height: 300px;
    }

    .orbit-1 {
        width: 400px;
        height: 400px;
    }

    .orbit-2 {
        width: 480px;
        height: 480px;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 20px 15px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
        width: 100%;
        justify-content: center;
    }

    .stat-divider {
        display: none;
    }

    .stat {
        flex: 1;
        min-width: 100px;
        text-align: center;
    }

    .hero-visual {
        height: 350px;
    }

    .visual-card {
        width: 250px;
        height: 250px;
    }

    .floating-tag {
        padding: 8px 12px;
    }

    .tag-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .tag-title {
        font-size: 12px;
    }

    .tag-sub {
        font-size: 10px;
    }

    .tag-1 {
        right: -10px;
    }

    .tag-2 {
        left: -10px;
    }

    .tag-3 {
        right: -20px;
    }

    .orbit-1 {
        width: 320px;
        height: 320px;
    }

    .orbit-2 {
        width: 380px;
        height: 380px;
    }

    .scroll-indicator {
        display: none;
    }
}

.products {
    position: relative;
    padding: 100px 20px;
    overflow: hidden;
    isolation: isolate;
}

.section-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.25;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: 10%;
    right: -150px;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    bottom: 10%;
    left: -150px;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(108, 59, 255, 0.1);
    border: 1px solid rgba(108, 59, 255, 0.3);
    border-radius: 100px;
    color: var(--text);
    font-size: 13px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.title-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc {
    font-size: 17px;
    color: var(--secondaryText);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.filter-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-tabs {
    display: flex;
    gap: 8px;
    padding: 6px;
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    flex-wrap: wrap;
}

.filter-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: transparent;
    border: none;
    color: var(--secondaryText);
    font-size: 14px;
    font-weight: 500;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-family: inherit;
}

.filter-tab:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.filter-tab.active {
    background: var(--gradient);
    color: var(--text);
    box-shadow: 0 4px 20px rgba(108, 59, 255, 0.4);
}

.tab-icon {
    font-size: 14px;
    display: inline-flex;
}

.tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 20px;
    padding: 0 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
}

.filter-tab.active .tab-count {
    background: rgba(255, 255, 255, 0.25);
}

.filter-actions {
    display: flex;
    gap: 10px;
}

.sort-dropdown {
    position: relative;
}

.sort-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sort-btn:hover {
    border-color: var(--primary);
}

.sort-btn i,
.sort-btn svg {
    font-size: 14px;
    width: 16px;
    height: 16px;
}

.sort-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 180px;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 10;
}

.sort-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sort-menu button {
    display: block;
    width: 100%;
    padding: 10px 14px;
    background: transparent;
    border: none;
    color: var(--secondaryText);
    font-size: 14px;
    font-family: inherit;
    text-align: right;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sort-menu button:hover {
    background: rgba(108, 59, 255, 0.15);
    color: var(--text);
}

.view-toggle {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-toggle:hover {
    border-color: var(--primary);
}

.view-toggle i,
.view-toggle svg {
    font-size: 16px;
    width: 18px;
    height: 18px;
}

.view-toggle .list-icon {
    display: none;
}

.view-toggle[data-view="list"] .grid-icon {
    display: none;
}

.view-toggle[data-view="list"] .list-icon {
    display: block;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.products-grid.list-view {
    grid-template-columns: 1fr;
}

.products-grid.list-view .product-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 0;
}

.products-grid.list-view .card-image {
    height: 100%;
    min-height: 220px;
}

.product-card {
    position: relative;
    background: rgba(17, 24, 39, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    animation: fadeInUp 0.6s ease backwards;
}

.product-card:nth-child(1) {
    animation-delay: 0.05s;
}

.product-card:nth-child(2) {
    animation-delay: 0.1s;
}

.product-card:nth-child(3) {
    animation-delay: 0.15s;
}

.product-card:nth-child(4) {
    animation-delay: 0.2s;
}

.product-card:nth-child(5) {
    animation-delay: 0.25s;
}

.product-card:nth-child(6) {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(108, 59, 255, 0.4);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(108, 59, 255, 0.2);
}

.product-card.hidden {
    display: none;
}

.card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.badge-hot {
    background: rgba(239, 68, 68, 0.9);
    color: white;
}

.badge-new {
    background: rgba(34, 197, 94, 0.9);
    color: white;
}

.badge-sale {
    background: rgba(245, 158, 11, 0.9);
    color: white;
}

.card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(108, 59, 255, 0.2), rgba(33, 75, 255, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.gradient-blue {
    background: linear-gradient(135deg, rgba(33, 75, 255, 0.3), rgba(143, 107, 255, 0.3));
}

.gradient-purple {
    background: linear-gradient(135deg, rgba(108, 59, 255, 0.3), rgba(217, 70, 239, 0.3));
}

.placeholder-icon {
    font-size: 80px;
    color: rgba(255, 255, 255, 0.85);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    transition: transform 0.4s ease;
}

.product-card:hover .placeholder-icon {
    transform: scale(1.1) rotate(5deg);
}

.placeholder-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent);
    transition: left 0.8s ease;
}

.product-card:hover .placeholder-shine {
    left: 100%;
}

.card-actions {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    z-index: 2;
}

.product-card:hover .card-actions {
    opacity: 1;
    transform: translateX(0);
}

.action-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(17, 24, 39, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn i,
.action-btn svg {
    font-size: 14px;
    width: 16px;
    height: 16px;
}

.action-btn:hover {
    background: var(--gradient);
    transform: scale(1.1);
}

.quick-add {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    padding: 14px;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(20px);
    text-align: center;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    transition: bottom 0.3s ease;
}

.product-card:hover .quick-add {
    bottom: 0;
}

.card-content {
    padding: 20px;
}

.card-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.stars {
    color: #fbbf24;
    font-size: 13px;
    display: inline-flex;
    gap: 2px;
}

.rating-count {
    font-size: 12px;
    color: var(--secondaryText);
}

.card-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
    color: var(--text);
    transition: color 0.3s ease;
}

.product-card:hover .card-title {
    color: var(--accent);
}

.card-desc {
    font-size: 13px;
    color: var(--secondaryText);
    margin-bottom: 14px;
    line-height: 1.6;
}

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.feature {
    font-size: 11px;
    color: var(--success);
    background: rgba(34, 197, 94, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.card-price {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.price-old {
    font-size: 13px;
    color: var(--secondaryText);
    text-decoration: line-through;
}

.price-current {
    font-size: 18px;
    font-weight: 800;
    color: var(--text);
}

.toman {
    font-size: 12px;
    font-weight: 500;
    color: var(--secondaryText);
}

.add-to-cart {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    border: none;
    border-radius: 12px;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(108, 59, 255, 0.4);
}

.add-to-cart i,
.add-to-cart svg {
    font-size: 16px;
    width: 18px;
    height: 18px;
}

.add-to-cart:hover {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 6px 25px rgba(108, 59, 255, 0.6);
}

.add-to-cart.added {
    background: var(--success);
    animation: cartBounce 0.6s ease;
}

@keyframes cartBounce {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }
}

.load-more-wrapper {
    display: flex;
    justify-content: center;
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(108, 59, 255, 0.3);
    border-radius: 14px;
    color: var(--text);
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background: var(--gradient);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(108, 59, 255, 0.4);
}

.load-more-btn i,
.load-more-btn svg {
    font-size: 14px;
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.load-more-btn:hover i,
.load-more-btn:hover svg {
    transform: translateX(-4px);
}

@media (max-width: 768px) {
    .products {
        padding: 60px 15px;
    }

    .filter-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-tabs {
        overflow-x: auto;
        scrollbar-width: none;
        flex-wrap: nowrap;
        padding: 4px;
    }

    .filter-tabs::-webkit-scrollbar {
        display: none;
    }

    .filter-tab {
        flex-shrink: 0;
    }

    .filter-actions {
        justify-content: space-between;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .products-grid.list-view .product-card {
        grid-template-columns: 1fr;
    }

    .products-grid.list-view .card-image {
        min-height: 200px;
    }

    .card-image {
        height: 180px;
    }

    .placeholder-icon {
        font-size: 60px;
    }
}

@media (max-width: 480px) {
    .card-actions {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   POSTS / MAGAZINE SECTION (simplified)
   ============================================ */

.posts {
    position: relative;
    padding: 100px 20px;
    overflow: hidden;
    isolation: isolate;
}

.posts-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.posts-filter .filter-tabs {
    justify-content: center;
}

.posts-grid-simple {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.post-card {
    position: relative;
    background: rgba(17, 24, 39, 0.5);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-8px);
    border-color: rgba(108, 59, 255, 0.4);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(108, 59, 255, 0.2);
}

.post-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.post-image .image-placeholder {
    height: 100%;
    transition: transform 0.6s ease;
}

.post-card:hover .post-image .image-placeholder {
    transform: scale(1.08);
}

.post-image .placeholder-icon {
    font-size: 60px;
}

.post-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    z-index: 2;
    backdrop-filter: blur(10px);
}

.cat-guide {
    background: rgba(33, 75, 255, 0.85);
    color: white;
}

.cat-security {
    background: rgba(34, 197, 94, 0.85);
    color: white;
}

.post-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.post-meta-sm {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.meta-sm-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--secondaryText);
    font-size: 12px;
}

.post-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--text);
    margin: 0;
    transition: color 0.3s ease;
}

.post-card:hover .post-title {
    color: var(--accent);
}

.post-excerpt {
    font-size: 13px;
    color: var(--secondaryText);
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 1024px) {
    .posts-grid-simple {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .posts {
        padding: 60px 15px;
    }

    .posts-grid-simple {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .filter-tabs {
        overflow-x: auto;
        scrollbar-width: none;
        flex-wrap: nowrap !important;
        padding: 4px;
    }

    .filter-tabs::-webkit-scrollbar {
        display: none;
    }

    .filter-tab {
        flex-shrink: 0;
    }
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
    position: relative;
    padding: 100px 20px;
    overflow: hidden;
    isolation: isolate;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.about-card {
    position: relative;
    width: 100%;
    max-width: 360px;
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(108, 59, 255, 0.15), rgba(33, 75, 255, 0.15));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.about-img {
    width: 55%;
    height: 55%;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(108, 59, 255, 0.5));
}

.about-content .section-badge {
    margin-bottom: 20px;
}

.about-desc {
    font-size: 16px;
    line-height: 1.9;
    color: var(--secondaryText);
    margin: 20px 0 36px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px;
    background: rgba(17, 24, 39, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.about-feature:hover {
    border-color: rgba(108, 59, 255, 0.35);
    transform: translateX(-4px);
}

.about-feature-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    border-radius: 12px;
    font-size: 18px;
    color: white;
    box-shadow: 0 6px 16px rgba(108, 59, 255, 0.4);
}

.about-feature h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.about-feature p {
    font-size: 13px;
    color: var(--secondaryText);
    line-height: 1.6;
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-content .section-badge,
    .about-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .about-feature {
        text-align: right;
    }
}

@media (max-width: 640px) {
    .about {
        padding: 60px 15px;
    }
}
.footer {
    position: relative;
    margin-top: 80px;
    padding: 60px 20px 20px;
    background: linear-gradient(180deg, var(--background) 0%, #0a0e27 100%);
    overflow: hidden;
    isolation: isolate;
    color: var(--text);
}

.footer-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.footer-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
}

.footer-orb:nth-child(1) {
    width: 300px;
    height: 300px;
    background: var(--primary);
    top: -100px;
    right: -100px;
}

.footer-orb:nth-child(2) {
    width: 250px;
    height: 250px;
    background: var(--secondary);
    bottom: -100px;
    left: -100px;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Grid */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr) 1.3fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Brand */
.footer-brand p {
    font-size: 14px;
    color: var(--secondaryText);
    line-height: 1.7;
    margin: 0 0 20px 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    border-radius: 12px;
    font-size: 18px;
    font-weight: 800;
    color: white;
    box-shadow: 0 6px 20px rgba(108, 59, 255, 0.4);
}

.footer-logo h3 {
    font-size: 17px;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
}

.footer-logo span {
    font-size: 11px;
    color: var(--secondaryText);
}

/* Social */
.social-icons {
    display: flex;
    gap: 8px;
}

.social-icons a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: var(--secondaryText);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 15px;
}

.social-icons a:hover {
    background: var(--gradient);
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
}

/* Columns */
.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 16px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid;
    border-image: var(--gradient) 1;
    width: fit-content;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    font-size: 13.5px;
    color: var(--secondaryText);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-col a:hover {
    color: var(--primary);
    transform: translateX(-4px);
}

/* Newsletter */
.footer-newsletter h4 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.footer-newsletter p {
    font-size: 13px;
    color: var(--secondaryText);
    margin: 0 0 16px 0;
}

.newsletter-form {
    display: flex;
    gap: 6px;
    padding: 4px;
    background: rgba(17, 24, 39, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.newsletter-form input {
    flex: 1;
    min-width: 0;
    height: 38px;
    padding: 0 14px;
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 13px;
    font-family: inherit;
    outline: none;
}

.newsletter-form input::placeholder {
    color: var(--secondaryText);
}

.newsletter-form button {
    padding: 0 18px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    transform: translateX(-3px);
    box-shadow: 0 4px 15px rgba(108, 59, 255, 0.4);
}

/* Bottom */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 20px;
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--secondaryText);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    font-size: 13px;
    color: var(--secondaryText);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

/* Back to Top */
.back-to-top {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    border: none;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(108, 59, 255, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    font-size: 14px;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(108, 59, 255, 0.6);
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .footer-brand,
    .footer-newsletter {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .footer {
        padding: 40px 15px 20px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}