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

:root {
    --color-bg: #0a0a0f;
    --color-text: #f0f0f0;
    --color-muted: #8888aa;
    --color-glass-border: rgba(255, 255, 255, 0.08);
    --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.5);
    --radius-glass: 20px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Space Grotesk', sans-serif;
    color: var(--color-text);
    padding-top: 100px;
    min-height: 100vh;
    position: relative;
    background-color: #0a0a0f;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url('img/hero.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: -2;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 15, 0.35) 0%,
        rgba(10, 10, 15, 0.5) 40%,
        rgba(10, 10, 15, 0.75) 70%,
        rgba(10, 10, 15, 0.92) 100%
    );
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

ul {
    list-style: none;
}

.header {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 640px;
    z-index: 1000;
    padding: 0 10px;
    border-radius: var(--radius-glass);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    top: 16px;
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 6px;
    width: 100%;
    position: relative;
}

.logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    order: 1;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo__image {
    display: block;
    height: 68px;
    width: auto;
    max-height: 52px;
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 0 0 rgba(137, 170, 204, 0));
}

.logo:hover .logo__image {
    transform: scale(1.08);
    filter: drop-shadow(0 0 30px rgba(137, 170, 204, 0.15))
            drop-shadow(0 0 60px rgba(137, 170, 204, 0.05));
}

.nav {
    order: 2;
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav__link {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
    transition: var(--transition);
    position: relative;
    padding: 4px 0;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 2px;
    background: #89AACC;
    transition: width 0.35s ease;
}

.nav__link:hover {
    color: #ffffff;
}

.nav__link:hover::after {
    width: 100%;
}

.nav__link.active {
    color: #ffffff;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-shrink: 0;
    order: 3;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #ffffff;
    border-radius: 4px;
    transition: var(--transition);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px 20px 80px;
    background: transparent;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(137, 170, 204, 0.15), rgba(108, 99, 255, 0.05));
    filter: blur(1px);
    animation: floatParticle3D var(--duration, 15s) ease-in-out infinite alternate;
}

@keyframes floatParticle3D {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); opacity: 0.2; }
    25% { transform: translate(var(--tx1, 50px), var(--ty1, -30px)) scale(1.2) rotate(90deg); opacity: 0.6; }
    50% { transform: translate(var(--tx2, -40px), var(--ty2, 50px)) scale(0.8) rotate(180deg); opacity: 0.8; }
    75% { transform: translate(var(--tx3, 30px), var(--ty3, -40px)) scale(1.1) rotate(270deg); opacity: 0.5; }
    100% { transform: translate(0, 0) scale(1) rotate(360deg); opacity: 0.2; }
}

.hero__container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero__content {
    opacity: 0;
    transform: translateY(60px) scale(0.98);
    animation: heroReveal 1.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    text-align: center;
}

@keyframes heroReveal {
    0% { opacity: 0; transform: translateY(60px) scale(0.98); filter: blur(10px); }
    60% { opacity: 1; transform: translateY(-10px) scale(1.01); filter: blur(0); }
    100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 24px;
    border-radius: 50px;
    border: 1px solid rgba(137, 170, 204, 0.12);
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.5s ease;
    box-shadow: 0 0 40px rgba(137, 170, 204, 0);
}

.hero__badge:hover {
    border-color: rgba(137, 170, 204, 0.25);
    color: #ffffff;
    box-shadow: 0 0 60px rgba(137, 170, 204, 0.05);
}

.hero__badge-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ECDC4;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); box-shadow: 0 0 20px rgba(78, 205, 196, 0.2); }
}

.hero__title {
    font-size: 4.8rem;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 24px;
    color: #ffffff;
    text-align: center;
}

.hero__line {
    display: block;
    text-align: center;
}

.hero__line--static {
    background: linear-gradient(135deg, #ffffff 30%, #89AACC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    position: relative;
    text-align: center;
}

.hero__line--static::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 100%, rgba(137, 170, 204, 0.08), transparent 70%);
    filter: blur(40px);
    z-index: -1;
}

.hero__line--typing {
    display: inline-block;
    font-size: 4.8rem;
    font-weight: 800;
    color: #89AACC;
    min-height: 1.2em;
    text-shadow: 0 0 30px rgba(137, 170, 204, 0.15), 0 0 60px rgba(137, 170, 204, 0.05);
    text-align: center;
    white-space: nowrap;
}

.hero__cursor {
    display: inline-block;
    font-size: 4.8rem;
    font-weight: 300;
    color: #89AACC;
    animation: blinkCursor 0.7s step-end infinite;
    margin-right: 4px;
}

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

.hero__desc {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.35);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.9;
    letter-spacing: 0.3px;
    font-weight: 300;
    text-align: center;
}

.hero__actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 44px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    perspective: 800px;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.btn--3d {
    transform: rotateX(0deg) rotateY(0deg) translateZ(0);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn--3d:hover {
    transform: rotateX(4deg) rotateY(-2deg) translateZ(20px) scale(1.04);
}

.btn--primary {
    background: linear-gradient(135deg, #6C63FF, #3f37c9);
    color: #ffffff;
    box-shadow: 0 4px 30px rgba(108, 99, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.btn--primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transform: translateX(-100%);
    transition: transform 0.7s ease;
    border-radius: 60px;
}

.btn--primary:hover::before {
    transform: translateX(100%);
}

.btn--primary:hover {
    box-shadow: 0 8px 60px rgba(108, 99, 255, 0.4), inset 0 0 40px rgba(255, 255, 255, 0.02);
}

.btn--primary:active {
    transform: rotateX(0) rotateY(0) translateZ(0) scale(0.95);
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.02);
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(4px);
}

.btn--ghost::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 60px;
    background: linear-gradient(135deg, rgba(137, 170, 204, 0.1), rgba(108, 99, 255, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.btn--ghost:hover::before {
    opacity: 1;
}

.btn--ghost:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 60px rgba(137, 170, 204, 0.02);
}

.btn__glow {
    position: absolute;
    inset: 0;
    border-radius: 60px;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.04), transparent 60%);
    opacity: 0.4;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.btn:hover .btn__glow {
    opacity: 1;
}

.btn__icon {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-size: 1.1rem;
}

.btn:hover .btn__icon {
    transform: translateX(6px) scale(1.1);
}

.btn--ghost .btn__icon {
    font-size: 0.9rem;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.15);
    font-size: 0.6rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: scrollBounce 2.5s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.6; }
    50% { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

.hero-scroll__line {
    display: block;
    width: 1px;
    height: 30px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent);
}

.works {
    padding: 100px 0;
    background: #0a0a0f;
    position: relative;
    text-align: center;
}

.works__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 60px;
    gap: 24px;
}

.works__header-left {
    flex: 1;
    text-align: center;
    width: 100%;
}

.works__title {
    font-family: 'Estedad', 'Vazirmatn', sans-serif;
    font-size: 3.2rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--color-text);
    margin-bottom: 12px;
    text-align: center;
    line-height: 1.15;
}

.works__title-italic {
    font-style: normal;
    font-weight: 900;
    color: #89AACC;
    position: relative;
    display: inline-block;
}

.works__title-italic::after {
    content: '';
    position: absolute;
    bottom: 4px;
    right: 0;
    left: 0;
    height: 8px;
    background: linear-gradient(90deg,
        rgba(137, 170, 204, 0.15),
        rgba(108, 99, 255, 0.25));
    border-radius: 4px;
    z-index: -1;
}

.works__subtitle {
    font-family: 'Estedad', 'Vazirmatn', sans-serif;
    font-weight: 400;
    letter-spacing: 0;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.4);
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.works__view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 26px;
    margin-top: 8px;

    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(137, 170, 204, 0.18);
    border-radius: 50px;

    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
    font-family: 'Estedad', 'Vazirmatn', sans-serif;
    letter-spacing: 0.3px;
    text-decoration: none;

    transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.works__view-all-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(137, 170, 204, 0.1), rgba(108, 99, 255, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.works__view-all-btn svg {
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
}

.works__view-all-btn:hover {
    color: #ffffff;
    border-color: rgba(137, 170, 204, 0.4);
    background: rgba(137, 170, 204, 0.06);
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 10px 40px rgba(137, 170, 204, 0.12),
        0 0 60px rgba(108, 99, 255, 0.08);
}

.works__view-all-btn:hover::before {
    opacity: 1;
}

.works__view-all-btn:hover svg {
    transform: translateX(-6px);
}

.works__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    width: 100%;
}
.works__grid--single {
    grid-template-columns: 1fr;
    max-width: 100%;
    margin: 0 auto;
    gap: 30px;
}

.work-card {
    background: linear-gradient(165deg,
        rgba(255, 255, 255, 0.035) 0%,
        rgba(255, 255, 255, 0.015) 100%);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    position: relative;
    text-align: center;
    min-width: 0;
    width: 100%;

    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.25),
        0 0 0 rgba(137, 170, 204, 0);

    isolation: isolate;
}

.work-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(145deg,
        rgba(137, 170, 204, 0.35),
        rgba(108, 99, 255, 0.15) 50%,
        transparent 100%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
    pointer-events: none;
}

.work-card:hover {
    transform: translateY(-12px) scale(1.005);
    border-color: rgba(137, 170, 204, 0.2);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(137, 170, 204, 0.1);
    background: linear-gradient(165deg,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0.02) 100%);
}

.work-card:hover::before {
    opacity: 1;
}

.work-card__image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 50%,
            rgba(137, 170, 204, 0.08) 0%,
            #0a0a0f 80%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.work-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    display: block;
    z-index: 1;
    padding: 0;

    filter: brightness(0.92) saturate(1.05);
    transition:
        transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        filter 0.5s ease;
    will-change: transform;
}

.work-card__img-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 15, 0.0) 0%,
        rgba(10, 10, 15, 0.0) 60%,
        rgba(10, 10, 15, 0.35) 85%,
        rgba(10, 10, 15, 0.65) 100%
    );
    opacity: 1;
    transition: opacity 0.4s ease;
}

.work-card__badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 3;

    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;

    background: rgba(10, 10, 15, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border: 1px solid rgba(137, 170, 204, 0.25);
    border-radius: 50px;

    color: #89AACC;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    font-family: 'Estedad', 'Vazirmatn', sans-serif;

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.work-card__badge::before {
    content: '✦';
    color: #4ECDC4;
    font-size: 0.75rem;
}

.work-card:hover .work-card__img {
    transform: scale(1.05);
    filter: brightness(1) saturate(1.1);
}

.work-card:hover .work-card__img-overlay {
    opacity: 0.6;
}

.work-card__body {
    padding: 28px 32px 32px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.work-card__tag {
    display: inline-block;
    padding: 3px 16px;
    border-radius: 50px;
    background: rgba(137, 170, 204, 0.08);
    font-size: 0.65rem;
    font-weight: 700;
    color: #89AACC;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 14px;
    border: 1px solid rgba(137, 170, 204, 0.15);
}

.work-card__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    text-align: center;
    letter-spacing: -0.3px;
    font-family: 'Inter', 'Estedad', sans-serif;
}

.work-card__desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.75;
    margin-bottom: 24px;
    text-align: center;
    font-family: 'Estedad', 'Vazirmatn', sans-serif;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.work-card__link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 14px 36px;
    border-radius: 50px;

    background: linear-gradient(135deg, #6C63FF, #3f37c9);
    color: #ffffff;

    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Inter', 'Estedad', sans-serif;
    letter-spacing: 0.3px;
    text-decoration: none;

    box-shadow:
        0 4px 20px rgba(108, 99, 255, 0.25),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);

    transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.work-card__link-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.15),
        transparent);
    transform: translateX(-100%);
    transition: transform 0.7s ease;
}

.work-card__link-btn svg {
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
}

.work-card__link-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow:
        0 10px 40px rgba(108, 99, 255, 0.5),
        0 0 60px rgba(108, 99, 255, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.work-card__link-btn:hover::before {
    transform: translateX(100%);
}

.work-card__link-btn:hover svg {
    transform: translateX(-5px);
}

.work-card__link-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.work-card--soon {
    cursor: default;
    position: relative;
    isolation: isolate;
}

.work-card--soon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 28px;
    padding: 4px;
    background: conic-gradient(
        from var(--angle, 0deg),
        #6C63FF 0%,
        #00CFFF 25%,
        #6C63FF 50%,
        #00CFFF 75%,
        #6C63FF 100%
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 10;
    pointer-events: none;
    animation: rotateBorderSoon 2.5s linear infinite;
    filter: drop-shadow(0 0 12px rgba(0, 207, 255, 1))
            drop-shadow(0 0 24px rgba(108, 99, 255, 1))
            drop-shadow(0 0 36px rgba(0, 207, 255, 0.7));
}

@keyframes rotateBorderSoon {
    0% {
        --angle: 0deg;
    }
    100% {
        --angle: 360deg;
    }
}

@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.work-card--soon .work-card__img {
    filter: brightness(0.75) saturate(0.9);
    transform: scale(1.02);
}

.work-card--soon:hover .work-card__img {
    filter: brightness(0.9) saturate(1);
    transform: scale(1.06);
}

.work-card--soon .work-card__badge {
    border-color: rgba(255, 200, 100, 0.35);
    color: #FFC864;
    background: rgba(10, 10, 15, 0.85);
    animation: soonBadgePulse 2.5s ease-in-out infinite;
}

.work-card--soon .work-card__badge::before {
    content: '⏳';
    color: #FFC864;
}

@keyframes soonBadgePulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 rgba(255, 200, 100, 0);
    }
    50% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 25px rgba(255, 200, 100, 0.2);
    }
}

.work-card--soon .work-card__tag {
    background: rgba(255, 200, 100, 0.08);
    color: #FFC864;
    border-color: rgba(255, 200, 100, 0.2);
}

.work-card--soon .work-card__link-btn {
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.4);
    border: 1px dashed rgba(255, 200, 100, 0.25);
    box-shadow: none;
    pointer-events: none;
    cursor: default;
}

.work-card--soon .work-card__link-btn::before {
    display: none;
}

.work-card--soon .work-card__link-btn:hover {
    transform: none;
    box-shadow: none;
    color: rgba(255, 255, 255, 0.4);
}

.work-card--soon .work-card__link-btn:hover svg {
    transform: none;
}

.brand-section {
    padding: 0;
    background: #0a0a0f;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.brand-container {
    max-width: 1200px;
    margin: 0 auto;
}

.brand-cover {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('img/brand.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0 0 var(--radius-glass) var(--radius-glass);
    overflow: hidden;
    margin-bottom: 60px;
    text-align: center;
}

.brand-cover__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 15, 0.3) 0%, rgba(10, 10, 15, 0.7) 60%, rgba(10, 10, 15, 0.95) 100%);
    z-index: 1;
}

.brand-cover__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 80px 24px;
}

.brand-badge {
    display: inline-block;
    padding: 6px 20px;
    border-radius: 50px;
    border: 1px solid rgba(137, 170, 204, 0.15);
    font-size: 0.78rem;
    font-weight: 600;
    color: #89AACC;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-family: 'Courier New', monospace;
    background: rgba(137, 170, 204, 0.06);
    backdrop-filter: blur(12px);
}

.brand-title {
    font-family: 'Estedad', 'Vazirmatn', sans-serif;
    font-size: 4.6rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #ffffff;
    line-height: 1.1;
    text-align: center;
}

.brand-title__light {
    display: block;
    font-family: 'Estedad', 'Vazirmatn', sans-serif;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.55em;
    letter-spacing: 4px;
    text-align: center;
    margin-bottom: 6px;
}

.brand-title__highlight {
    display: block;
    font-family: 'Estedad', 'Vazirmatn', sans-serif;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 20%, #89AACC 60%, #6C63FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.brand-content {
    padding: 0 24px 80px;
    text-align: center;
}

.brand-intro {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto 70px;
    padding: 60px 50px;
    position: relative;
    min-height: 60vh;
    align-items: center;
    border-radius: var(--radius-glass);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.03);
    background-color: #0a0a1a;
    text-align: center;
    isolation: isolate;
}

.brand-intro::after {
    content: '';
    position: absolute;
    inset: -10px;
    background-image: url('img/brandIntro.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(1px) brightness(1) saturate(1);
    z-index: 0;
    pointer-events: none;
    transform: scale(1.02);
}

.brand-intro::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at center,
        rgba(10, 10, 15, 0.15) 0%,
        rgba(10, 10, 15, 0.35) 60%,
        rgba(10, 10, 15, 0.6) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.brand-intro__left {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
}

.brand-intro__right {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.brand-logo-container {
    position: relative;
    width: 100%;
    max-width: 280px;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-glass);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand-logo-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(137, 170, 204, 0.06) 0%, rgba(10, 10, 15, 0.85) 100%);
    z-index: 0;
    pointer-events: none;
    border-radius: var(--radius-glass);
}

.brand-logo-image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: drop-shadow(0 0 40px rgba(137, 170, 204, 0.1));
    transition: all 0.4s ease;
}

.brand-logo-container:hover {
    transform: scale(1.02);
}

.brand-logo-container:hover .brand-logo-image {
    filter: drop-shadow(0 0 60px rgba(137, 170, 204, 0.2));
}

.brand-logo-glow {
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle at 60% 50%, rgba(137, 170, 204, 0.06) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.brand-logo-container:hover .brand-logo-glow {
    opacity: 1;
}

.brand-pronounce-modern {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 4px;
    text-align: center;
}

.brand-pronounce-phonetic {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.04);
    padding: 4px 16px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.brand-pronounce-hint {
    font-size: 0.9rem;
    color: #89AACC;
    font-weight: 500;
    letter-spacing: 0.5px;
    background: rgba(137, 170, 204, 0.06);
    padding: 2px 12px;
    border-radius: 50px;
}

.brand-intro__desc {
    font-size: 1.09rem;
    line-height: 1.95;
    letter-spacing: 0.3px;
    font-weight: 300;
    text-align: center;
    margin: 0;
    max-width: 100%;
    color: rgba(255, 255, 255, 0.92);
    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.9),
        0 0 20px rgba(10, 10, 15, 0.8);
}

.brand-intro__highlight {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #6537ee;
    background-clip: text;
    transition: all 0.4s ease;
    cursor: default;
    display: inline-block;
}

.brand-intro__highlight:hover {
    -webkit-text-fill-color: #ffffff;
    text-shadow: 0 0 30px rgba(137, 170, 204, 0.15);
}

.brand-intro__desc strong {
    color: #6537ee;
    font-weight: 700;
    transition: all 0.3s ease;
}

.brand-intro__desc strong:hover {
    color: #ffffff;
    text-shadow: 0 0 20px rgba(137, 170, 204, 0.15);
}

.brand-intro__desc:first-of-type {
    border-bottom: 1px solid rgba(137, 170, 204, 0.06);
    padding-bottom: 20px;
}

.brand-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto 30px;
    padding: 70px 50px;
    position: relative;
    background: #0a0a0f;
    border: 1px solid rgba(137, 170, 204, 0.06);
    border-radius: var(--radius-glass);
    isolation: isolate;
    overflow: hidden;
}

.brand-value {
    position: relative;
    padding: 55px 40px;
    border-radius: var(--radius-glass);
    text-align: center;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: default;
    overflow: hidden;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.brand-value::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 15, 0.55);
    z-index: 0;
    border-radius: var(--radius-glass);
    transition: background 0.4s ease;
}

.brand-value:hover::before {
    background: rgba(10, 10, 15, 0.30);
}

.brand-value__icon,
.brand-value__title,
.brand-value__desc {
    position: relative;
    z-index: 1;
    text-align: center;
}

.brand-value:nth-child(1) {
    background-image: url('img/brandValueR.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.brand-value:nth-child(2) {
    background-image: url('img/brandValueM.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.brand-value:nth-child(3) {
    background-image: url('img/brandValueL.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.brand-value:hover {
    transform: translateY(-6px) scale(1.015);
    border-color: rgba(137, 170, 204, 0.2);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.35);
}

.brand-value:hover::before {
    background: rgba(10, 10, 15, 0.30);
}

.brand-value__title {
    font-size: 1.35rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 14px;
    text-align: center;
}

.brand-value__desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.81);
    line-height: 1.85;
    text-align: center;
    max-width: 90%;
}

.brand-cta {
    position: relative;
    padding: 80px 50px;
    border-radius: var(--radius-glass);
    text-align: center;
    overflow: hidden;
    max-width: 900px;
    margin: 20px auto;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(137, 170, 204, 0.06);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    isolation: isolate;
}

.brand-cta__glow {
    position: absolute;
    inset: -50%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 50%, rgba(108, 99, 255, 0.12), rgba(137, 170, 204, 0.04));
    filter: blur(70px);
    pointer-events: none;
    animation: glowDance 8s ease-in-out infinite alternate;
    z-index: 0;
}

.brand-cta__glow::after {
    content: '';
    position: absolute;
    inset: -30%;
    border-radius: 50%;
    background: radial-gradient(circle at 70% 80%, rgba(137, 170, 204, 0.06), transparent 60%);
    filter: blur(60px);
    animation: glowDance2 10s ease-in-out infinite alternate;
}

@keyframes glowDance {
    0% { transform: translate(-10%, -10%) scale(1); opacity: 0.6; }
    50% { transform: translate(10%, 5%) scale(1.2); opacity: 1; }
    100% { transform: translate(-5%, 15%) scale(0.9); opacity: 0.7; }
}

@keyframes glowDance2 {
    0% { transform: translate(10%, 10%) scale(1.1); opacity: 0.5; }
    50% { transform: translate(-15%, -5%) scale(0.8); opacity: 0.8; }
    100% { transform: translate(5%, -15%) scale(1.3); opacity: 0.4; }
}

.brand-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(137, 170, 204, 0.008) 2px,
        rgba(137, 170, 204, 0.008) 4px
    );
    pointer-events: none;
    z-index: 0;
    animation: scanLines 20s linear infinite;
}

@keyframes scanLines {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

.brand-cta__content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.brand-cta__badge {
    display: inline-block;
    padding: 6px 20px;
    border-radius: 50px;
    border: 1px solid rgba(137, 170, 204, 0.12);
    font-size: 0.78rem;
    font-weight: 600;
    color: #89AACC;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
    background: rgba(137, 170, 204, 0.04);
    backdrop-filter: blur(4px);
    transition: all 0.4s ease;
    animation: badgePulse 4s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { border-color: rgba(137, 170, 204, 0.12); box-shadow: 0 0 20px rgba(137, 170, 204, 0); }
    50% { border-color: rgba(137, 170, 204, 0.25); box-shadow: 0 0 30px rgba(137, 170, 204, 0.05); }
}

.brand-cta__title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
    line-height: 1.15;
    text-shadow: 0 0 40px rgba(137, 170, 204, 0.05);
    text-align: center;
}

.brand-cta__highlight {
    background: linear-gradient(135deg, #89AACC, #6C63FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.brand-cta__highlight::after {
    content: '';
    position: absolute;
    inset: 0 0 -4px 0;
    background: linear-gradient(90deg, transparent, rgba(137, 170, 204, 0.1), transparent);
    filter: blur(12px);
    z-index: -1;
    animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0; transform: translateX(-20%); }
    50% { opacity: 1; transform: translateX(20%); }
}

.brand-cta__desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto 32px;
    letter-spacing: 0.3px;
    line-height: 1.8;
    text-align: center;
}

.brand-cta__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
}

.brand-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 42px;
    border-radius: 60px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.brand-cta__btn--primary {
    background: linear-gradient(135deg, #6C63FF, #3f37c9);
    color: #ffffff;
    box-shadow: 0 4px 30px rgba(108, 99, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.brand-cta__btn--primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    border-radius: 60px;
}

.brand-cta__btn--primary:hover::before {
    transform: translateX(100%);
}

.brand-cta__btn--primary:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 8px 50px rgba(108, 99, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.08);
}

.brand-cta__btn--primary:active {
    transform: scale(0.94);
}

.brand-cta__btn--ghost {
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.brand-cta__btn--ghost::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.02);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
    border-radius: 60px;
}

.brand-cta__btn--ghost:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.brand-cta__btn--ghost:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.15);
    transform: scale(1.03);
    box-shadow: 0 0 30px rgba(137, 170, 204, 0.04);
}

.brand-cta__arrow {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-size: 1.1rem;
}

.brand-cta__btn--primary:hover .brand-cta__arrow,
.brand-cta__btn--ghost:hover .brand-cta__arrow {
    transform: translateX(6px);
}

.footer {
    padding: 48px 0 32px;
    background: #0a0a0f;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    text-align: center;
}

.footer__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer__social {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.footer__social-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer__social-link:hover {
    color: #89AACC;
    background: rgba(137, 170, 204, 0.06);
    transform: translateY(-2px);
}

.footer__social-tooltip {
    position: absolute;
    bottom: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.5);
    padding: 6px 18px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer__social-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgba(255, 255, 255, 0.04);
}

.footer__social-link:hover .footer__social-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

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

.footer__nav-link {
    color: rgba(255, 255, 255, 0.25);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

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

.footer__divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.04);
    margin: 32px 0 24px;
}

.footer__bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer__copy {
    color: rgba(255, 255, 255, 0.15);
    font-size: 0.75rem;
    margin: 0;
    letter-spacing: 0.5px;
    text-align: center;
}

.footer__copy-brand {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}

button.footer__social-link {
    background: none;
    border: none;
    font-family: inherit;
    cursor: pointer;
    padding: 0;
}

.phone-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.phone-modal.active {
    opacity: 1;
    visibility: visible;
}

.phone-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.phone-modal__content {
    position: relative;
    width: 100%;
    max-width: 380px;
    padding: 40px 30px 32px;
    background: rgba(20, 20, 30, 0.95);
    border: 1px solid rgba(137, 170, 204, 0.15);
    border-radius: var(--radius-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
    text-align: center;
    transform: scale(0.85) translateY(20px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    isolation: isolate;
    overflow: hidden;
}

.phone-modal.active .phone-modal__content {
    transform: scale(1) translateY(0);
}

.phone-modal__content::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: radial-gradient(circle at 50% 0%, rgba(108, 99, 255, 0.15), transparent 60%);
    filter: blur(60px);
    z-index: -1;
    animation: modalGlow 6s ease-in-out infinite alternate;
}

@keyframes modalGlow {
    0% { transform: translate(-20%, -10%) scale(1); opacity: 0.5; }
    100% { transform: translate(20%, 10%) scale(1.2); opacity: 1; }
}

.phone-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.phone-modal__close:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    transform: rotate(90deg);
}

.phone-modal__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6C63FF, #3f37c9);
    color: #ffffff;
    box-shadow: 0 10px 40px rgba(108, 99, 255, 0.3);
    animation: phoneIconPulse 2.5s ease-in-out infinite;
}

@keyframes phoneIconPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 10px 40px rgba(108, 99, 255, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 15px 50px rgba(108, 99, 255, 0.5); }
}

.phone-modal__title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
    text-align: center;
}

.phone-modal__subtitle {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 22px;
    line-height: 1.6;
    text-align: center;
}

.phone-modal__number {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1.5px;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 14px;
    background: rgba(137, 170, 204, 0.06);
    border: 1px solid rgba(137, 170, 204, 0.12);
    margin-bottom: 20px;
    transition: all 0.3s ease;
    direction: ltr;
}

.phone-modal__number:hover {
    color: #89AACC;
    border-color: rgba(137, 170, 204, 0.35);
    background: rgba(137, 170, 204, 0.1);
    transform: scale(1.03);
}

.phone-modal__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    border-radius: 50px;
    background: linear-gradient(135deg, #6C63FF, #3f37c9);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 6px 25px rgba(108, 99, 255, 0.3);
}

.phone-modal__btn:hover {
    transform: scale(1.03) translateY(-2px);
    box-shadow: 0 10px 40px rgba(108, 99, 255, 0.45);
}

.phone-modal__btn svg {
    transition: transform 0.3s ease;
}

.phone-modal__btn:hover svg {
    transform: rotate(-15deg) scale(1.1);
}

.apex-toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    z-index: 10000;

    display: inline-flex;
    align-items: center;
    gap: 12px;

    padding: 16px 26px 16px 22px;
    max-width: calc(100% - 40px);
    min-width: 260px;

    background: rgba(20, 20, 30, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);

    border: 1px solid rgba(137, 170, 204, 0.18);
    border-radius: 60px;

    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 500;
    font-family: 'Inter', 'Estedad', 'Vazirmatn', sans-serif;
    letter-spacing: 0.2px;
    direction: rtl;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(108, 99, 255, 0.08);

    opacity: 0;
    pointer-events: none;
    transition:
        transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity 0.4s ease;

    overflow: hidden;
    cursor: pointer;
    user-select: none;
}

.apex-toast.is-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: all;
}

.apex-toast.is-hiding {
    transform: translateX(-50%) translateY(30px) scale(0.95);
    opacity: 0;
}

.apex-toast__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;
    flex-shrink: 0;

    border-radius: 50%;
    font-size: 1rem;
    font-weight: 700;

    background: linear-gradient(135deg, #6C63FF, #3f37c9);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(108, 99, 255, 0.4);

    animation: toastIconPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes toastIconPop {
    0% { transform: scale(0) rotate(-180deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.apex-toast__text {
    flex: 1;
    line-height: 1.5;
    text-align: right;
    color: rgba(255, 255, 255, 0.92);
}

.apex-toast__progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;

    background: linear-gradient(90deg,
        rgba(108, 99, 255, 0.9),
        rgba(137, 170, 204, 0.9));

    transform-origin: right;
    animation: toastProgress linear forwards;
}

@keyframes toastProgress {
    0% { transform: scaleX(1); }
    100% { transform: scaleX(0); }
}

.apex-toast--success .apex-toast__icon {
    background: linear-gradient(135deg, #6C63FF, #3f37c9);
    box-shadow: 0 4px 20px rgba(108, 99, 255, 0.4);
}

.apex-toast--info .apex-toast__icon {
    background: linear-gradient(135deg, #4ECDC4, #2b9d95);
    box-shadow: 0 4px 20px rgba(78, 205, 196, 0.4);
}

.apex-toast--warning .apex-toast__icon {
    background: linear-gradient(135deg, #FF6B6B, #d63434);
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.4);
}

@media (max-width: 992px) {
    .container {
        padding: 0 20px;
    }

    .brand-container {
        padding: 0 20px;
    }

    .brand-values {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .brand-value {
        padding: 45px 30px;
        min-height: 340px;
    }

    .brand-value__title {
        font-size: 1.2rem;
    }

    .brand-value__desc {
        font-size: 0.95rem;
    }

    .brand-intro {
        grid-template-columns: 1fr 1.6fr;
        gap: 30px;
        padding: 40px 30px;
    }

    .works__title {
        font-size: 2.8rem;
    }

    .brand-title {
        font-size: 4rem;
    }
}

@media (max-width: 758px) {
    body {
        padding-top: 90px;
    }

    .header {
        width: calc(100% - 32px);
        max-width: 100%;
        top: 16px;
        padding: 0 10px;
    }

    .header.scrolled {
        top: 12px;
    }

    .logo__image {
        height: 60px;
        max-height: 46px;
    }

    .hamburger {
        display: flex;
    }

    .nav {
        position: absolute;
        top: calc(100% + 12px);
        right: 0;
        left: 0;
        background: rgba(10, 10, 15, 0.92);
        backdrop-filter: blur(24px) saturate(220%);
        -webkit-backdrop-filter: blur(24px) saturate(220%);
        border-radius: var(--radius-glass);
        padding: 20px 24px;
        border: 1px solid rgba(255, 255, 255, 0.06);
        box-shadow: var(--shadow-glass);
        opacity: 0;
        transform: translateY(-12px) scale(0.96);
        pointer-events: none;
        transition: var(--transition);
    }

    .nav.open {
        opacity: 1;
        transform: translateY(0) scale(1);
        pointer-events: all;
    }

    .nav__list {
        flex-direction: column;
        gap: 16px;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .nav__link {
        font-size: 1rem;
        padding: 8px 0;
        text-align: center;
        width: 100%;
        display: block;
        color: rgba(255, 255, 255, 0.4);
    }

    .nav__link::after {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        bottom: 0;
        height: 2px;
        background: #89AACC;
        width: 0;
    }

    .nav__link:hover {
        color: #ffffff;
    }

    .nav__link:hover::after {
        width: 60%;
    }

    .nav__link.active {
        color: #ffffff;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        min-height: 100vh;
        padding: 30px 20px 80px;
    }

    .hero-particles {
        opacity: 1;
    }

    .hero-scroll {
        display: flex;
    }

    .brand-intro {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 24px;
        min-height: auto;
    }

    .brand-intro::after {
        background-image: url('img/brandIntro2.png');
        filter: blur(1px) brightness(1) saturate(1);
    }

    .brand-logo-container {
        max-width: 220px;
    }

    .brand-values {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 40px 24px;
        margin-bottom: 20px;
    }

    .brand-value {
        min-height: 320px;
        padding: 40px 24px;
    }

    .brand-value__title {
        font-size: 1.15rem;
    }

    .brand-value__desc {
        font-size: 0.9rem;
    }

    .brand-value:nth-child(3) {
        grid-column: 1 / -1;
        width: 60%;
        justify-self: center;
    }

    .brand-cta {
        max-width: 90%;
        padding: 50px 24px;
        margin: 20px auto;
    }

    .works__title {
        font-size: 2.4rem;
    }

    .works__subtitle {
        font-size: 1rem;
    }

    .brand-title {
        font-size: 3rem;
    }

    .footer__top {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .footer__nav {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .hero__title {
        overflow: hidden;
        width: 100%;
        padding: 0 10px;
    }

    .hero__line--typing,
    .hero__cursor {
        font-size: 1.6rem;
    }

    .works__grid,
    .works__grid--single {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 80px;
    }

    .header {
        width: calc(100% - 24px);
        top: 12px;
        padding: 0 8px;
    }

    .logo__image {
        height: 52px;
        max-height: 40px;
    }

    .hero {
        padding: 20px 14px 60px;
    }

    .hero__title {
        font-size: 2.2rem;
        padding: 0 8px;
    }

    .hero__line--typing,
    .hero__cursor {
        font-size: 1.3rem;
    }

    .btn {
        padding: 18px 44px;
        font-size: 1rem;
        gap: 12px;
    }

    .btn--ghost .btn__icon {
        font-size: 0.9rem;
    }

    .works__title {
        font-size: 1.9rem;
    }

    .works__subtitle {
        font-size: 0.9rem;
    }

    .work-card__body {
        padding: 20px 20px 24px;
    }

    .work-card__title {
        font-size: 1.2rem;
    }

    .work-card__desc {
        font-size: 0.85rem;
    }

    .work-card__link-btn {
        padding: 12px 26px;
        font-size: 0.85rem;
    }

    .works__view-all-btn {
        padding: 10px 22px;
        font-size: 0.85rem;
    }

    .brand-title {
        font-size: 2.3rem;
    }

    .brand-intro {
        padding: 30px 20px;
        gap: 24px;
    }

    .brand-intro::after {
        filter: blur(1px) brightness(1) saturate(1);
    }

    .brand-logo-container {
        max-width: 180px;
    }

    .brand-values {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 30px 16px;
        margin-bottom: 16px;
    }

    .brand-value {
        min-height: 280px;
        padding: 30px 16px;
    }

    .brand-value__title {
        font-size: 1rem;
    }

    .brand-value__desc {
        font-size: 0.78rem;
        line-height: 1.7;
    }

    .brand-value:nth-child(3) {
        grid-column: 1 / -1;
        width: 100%;
    }

    .brand-cta {
        max-width: 85%;
        padding: 40px 20px;
    }

    .apex-toast {
        bottom: 20px;
        padding: 14px 20px 14px 18px;
        font-size: 0.85rem;
        min-width: 0;
        width: calc(100% - 32px);
        max-width: 420px;
    }

    .apex-toast__icon {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }
}

@media (max-width: 400px) {
    .hero__line--typing,
    .hero__cursor {
        font-size: 1.1rem;
    }

    .works__title {
        font-size: 1.7rem;
    }

    .brand-title {
        font-size: 2rem;
    }
}

@media (max-width: 360px) {
    .hero__line--typing,
    .hero__cursor {
        font-size: 1rem;
    }

    .hero__title {
        font-size: 1.95rem;
    }

    .works__title {
        font-size: 1.65rem;
    }

    .brand-title {
        font-size: 1.85rem;
    }

    .footer__nav {
        gap: 12px;
    }

    .footer__nav-link {
        font-size: 0.72rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}