/* Reset and base styles */
@font-face {
    font-family: 'Avenir Next Cyr';
    src: url('../fonts/AvenirNextCyr-UltraLight.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir Next Cyr';
    src: url('../fonts/AvenirNextCyr-Thin.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir Next Cyr';
    src: url('../fonts/AvenirNextCyr-Light.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir Next Cyr';
    src: url('../fonts/AvenirNextCyr-Regular.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir Next Cyr';
    src: url('../fonts/AvenirNextCyr-Medium.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir Next Cyr';
    src: url('../fonts/AvenirNextCyr-Demi.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir Next Cyr';
    src: url('../fonts/AvenirNextCyr-Bold.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Hangbird';
    src: url('../fonts/Mika Melvas - Hangbird Regular (3).otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

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

:root {
    --primary-color: #2d3436;
    --secondary-color: #ffffff;
    --accent-color: #00b894;
    --text-color: #2d3436;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-primary: linear-gradient(135deg, #9747ff 0%, #537ffc 100%);
    --gradient-secondary: linear-gradient(135deg, #2d3436 0%, #0984e3 100%);
    --ui-background: var(--LIGHT,#fff)var(--DARK,#1d1c1f);
    --ui-shadow-strength: var(--LIGHT,var(--CONTRAST_DEFAULT,rgba(36,41,49,.25))var(--CONTRAST_HIGH,rgba(36,41,49,.5)))var(--DARK,var(--CONTRAST_DEFAULT,rgba(9,9,11,.88))var(--CONTRAST_HIGH,#09090b));
    --CONTRAST_HIGH: ;
    --CONTRAST_DEFAULT: initial;
    --LIGHT: initial;
    --DARK: ;
    --ui-text: var(--LIGHT, var(--CONTRAST_DEFAULT, rgba(28, 43, 52, .98)) var(--CONTRAST_HIGH, #000)) var(--DARK, var(--CONTRAST_DEFAULT, rgba(255, 255, 255, .76)) var(--CONTRAST_HIGH, #fff));
}

body {
    font-family: 'Avenir Next Cyr', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
    background-image: 
        radial-gradient(circle at 100% 100%, rgba(9, 132, 227, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 0% 0%, rgba(0, 184, 148, 0.05) 0%, transparent 50%);
    background-attachment: fixed;

}

/* Header and Navigation */
header {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--ui-text);
}

.logo {
    font-family: 'Hangbird', 'Avenir Next Cyr', sans-serif;
    font-size: 2.2rem;
    font-weight: normal;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 0;
    padding-right: 0.2rem;
}


.nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

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

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

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

.nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding-top: 5.5rem;
    padding-bottom: 3rem;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

/* Virtual Try-On Component */
.virtual-try-on {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 1300px;
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 2rem;
}

.virtual-try-on-2 {
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow);
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 2rem;
}

.model-selector,
.clothes-selector {
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.model-selector h3,
.clothes-selector h3 {
    font-size: 1.1rem;
    font-weight: 200;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.8;
}

.model-options,
.clothes-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.result-view {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.current-model img,
.try-on-result img {
    width: 100%;
    height: 475px;
    object-fit: cover;
    border-radius: 0.5rem;
}

.current-model,
.try-on-result {
    position: relative;
}

.image-caption {
    position: absolute;
    bottom: 6px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.4);
    color: white;
    padding: 0.5rem;
    text-align: center;
    font-size: 0.9rem;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

/* Features Section */
.features {
    padding: 12rem 3rem;
    background: var(--white);
    position: relative;
}

h2 {
    font-size: 1.9rem;
    margin-bottom: 2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    font-weight: 600;
    line-height: 1.2;
}

p {
    font-size: 1.2rem;
    text-align: center;
    max-width: 800px;
    margin: auto;
    line-height: 1.3;
}

.feature-grid {
    max-width: 1200px;
    margin: 3rem auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    padding: 2.5rem;
    background: var(--light-bg);
    border-radius: 1rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.feature-card:hover::before {
    opacity: 0.05;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
    position: relative;
    font-weight: 600;
    line-height: 1.2;
    color: #474747
}

/* How It Works Section */
.how-it-works {
    padding: 4rem 2rem;
    background: var(--light-bg);
    position: relative;
    padding-top: 15rem;
}

.how-it-works-content {
    max-width: 1400px;
    margin: 2rem auto 0;
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.steps-section {
    flex: 1;
    min-width: 0;
}

.before-after-section {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.steps {
    max-width: 1200px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.step {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 1rem;
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Before/After Component */
.before-after-component {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.before-after-images {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 700px;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    cursor: ew-resize;
}

.before-image,
.after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.before-image {
    z-index: 1;
}

.after-image {
    z-index: 2;
    clip-path: polygon(50% 0%, 100% 0%, 100% 100%, 50% 100%);
}

.before-image img,
.after-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-label {
    position: absolute;
    top: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    z-index: 10;
    transition: var(--transition);
}

.before-image .image-label {
    left: 20px;
}

.after-image .image-label {
    right: 20px;
}

.slider-line {
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    background: white;
    z-index: 10;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    will-change: transform;
}

.slider-handle {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 11;
    cursor: ew-resize;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: none;
    will-change: transform;
}

.slider-handle:hover:not(.dragging) {
    transform: translate(-50%, -50%) scale(1.1);
}

.handle-arrow-left,
.handle-arrow-right {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
}

.handle-arrow-left {
    left: 15px;
    border-width: 6px 8px 6px 0;
    border-color: transparent #333 transparent transparent;
}

.handle-arrow-right {
    right: 15px;
    border-width: 6px 0 6px 8px;
    border-color: transparent transparent transparent #333;
}

/* Contact Section */
.contact {
    padding: 6rem 2rem;
    text-align: center;
    background: var(--white);
    position: relative;
}

.contact-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 2rem;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(9, 132, 227, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(9, 132, 227, 0.3);
}

.login-btn {
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    transition: var(--transition);
}

.login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(45, 52, 54, 0.2);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



@media (max-width: 1024px) {
    .how-it-works-content {
        flex-direction: column;
        gap: 3rem;
        margin: 2rem auto 0;
    }

    .before-after-images {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 1rem;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 1rem;
        transition: var(--transition);
        z-index: 1000;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-menu li:last-child {
        order: -1;
        padding: 0 1.5rem;
    }

    .nav-menu li:last-child a {
        background: var(--gradient-primary);
        color: var(--white);
        border-radius: 2rem;
        padding: 0.8rem 2rem;
        font-weight: 600;
        font-size: 1.1rem;
        box-shadow: 0 4px 15px rgba(9, 132, 227, 0.2);
    }

    .nav-menu li:last-child a::after {
        display: none;
    }

    .nav-menu a {
        display: block;
        padding: 1rem;
        font-size: 1.2rem;
        width: 100%;
    }

    .logo {
        font-size: 1.8rem;
    }

    .hero {
        padding-top: 8rem;
        padding-bottom: 2rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .virtual-try-on-2 {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .result-view {
        grid-template-columns: 1fr;
    }

    .current-model img,
    .try-on-result img {
        height: 300px;
    }

    .model-selector h3,
    .clothes-selector h3 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin: 2rem auto;
    }

    .feature-card {
        padding: 2rem;
    }

    .steps {
        gap: 1.5rem;
        margin: 2rem auto;
    }

    .step {
        padding: 1.5rem;
    }

    .how-it-works-content {
        flex-direction: column;
        gap: 2rem;
        margin: 2rem auto 0;
    }

    .before-after-images {
        height: 350px;
        max-width: 90%;
        margin: 0 auto;
    }

    .slider-handle {
        width: 40px;
        height: 40px;
    }

    .handle-arrow-left {
        left: 12px;
        border-width: 4px 6px 4px 0;
    }

    .handle-arrow-right {
        right: 12px;
        border-width: 4px 0 4px 6px;
    }

    .contact-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }


    .onboarding-ui_primary-hero__description {
        margin-left: 20px !important;
    }

    .onboarding-ui_primary-hero__asset {
        height: 250px;
        background-size: contain;
        display: none;
    }

    .features,
    .how-it-works,
    .contact {
        padding: 4rem 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .current-model img,
    .try-on-result img {
        height: 250px;
    }

    .virtual-try-on-2 {
        padding: 0.8rem;
        gap: 1.5rem;
    }

    .model-selector,
    .clothes-selector {
        padding: 1rem;
    }

    .cta-button {
        padding: 0.7rem 1.5rem;
        font-size: 0.85rem;
    }

    .onboarding-ui_primary-hero__description {
        margin-left: 0px !important;
    }

    .onboarding-ui_primary-hero__asset {
        height: 200px;
        display: none;
    }

    .feature-card,
    .step {
        padding: 1.2rem;
    }

    .features,
    .how-it-works,
    .contact {
        padding: 3rem 0.5rem;
    }

    .how-it-works-content {
        flex-direction: column;
        gap: 1.5rem;
        margin: 2rem auto 0;
    }

    .before-after-images {
        height: 300px;
        margin: 0 auto;
        max-width: 95%;
    }

    .slider-handle {
        width: 35px;
        height: 35px;
    }

    .handle-arrow-left {
        left: 10px;
        border-width: 3px 5px 3px 0;
    }

    .handle-arrow-right {
        right: 10px;
        border-width: 3px 0 3px 5px;
    }

    .image-label {
        font-size: 12px;
        padding: 6px 12px;
        top: 15px;
    }

    .before-image .image-label {
        left: 15px;
    }

    .after-image .image-label {
        right: 15px;
    }
}

/* Cloth Buttons and Image Loading */
.cloth-btn, .model-btn {
    border: none;
    background: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.cloth-btn img, .model-btn img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 0.5rem;
}

.cloth-btn span, .model-btn span {
    font-size: 0.9rem;
    color: var(--text-color);
}

.cloth-btn:hover, .model-btn:hover {
    transform: translateY(-2px);
}
.cloth-btn.active, .model-btn.active {
    box-shadow: 0 0 0 2px var(--secondary-color);
}

.image-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.image-container img {
    transition: opacity 0.3s ease;
}

.image-caption {
    transition: opacity 0.3s ease;
}

.image-skeleton {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 475px;
    background: rgba(248, 249, 250, 0.3);
    border-radius: 0.5rem;
    display: none;
    overflow: hidden;
}

.image-skeleton::before,
.image-skeleton::after {
    content: '✦';
    position: absolute;
    color: #9747ff;
    font-size: 32px;
    opacity: 0.8;
}

.image-skeleton::before {
    animation: stars-fly-random-1 4s linear infinite;
}

.image-skeleton::after {
    content: '✧';
    font-size: 28px;
    animation: stars-fly-random-2 3.5s linear infinite;
    animation-delay: -1.5s;
}

/* Additional star elements */
.star-1, .star-2, .star-3, .star-4 {
    position: absolute;
    color: #9747ff;
    font-size: 24px;
    opacity: 0.8;
    pointer-events: none;
}

.star-1 {
    content: '✦';
    animation: stars-fly-random-3 5s linear infinite;
    animation-delay: -2s;
}

.star-2 {
    content: '✧';
    animation: stars-fly-random-4 4.5s linear infinite;
    animation-delay: -1s;
}

.star-3 {
    content: '✦';
    animation: stars-fly-random-5 3.8s linear infinite;
    animation-delay: -3.5s;
}

.star-4 {
    content: '✧';
    animation: stars-fly-random-6 4.2s linear infinite;
    animation-delay: -2.8s;
}

/* Multiple random star paths */
@keyframes stars-fly-random-1 {
    0% {
        top: 100%;
        left: 10%;
        opacity: 0;
        transform: rotate(0deg);
    }
    15% {
        opacity: 0.8;
        left: 25%;
    }
    30% {
        left: 45%;
        top: 70%;
    }
    50% {
        left: 65%;
        top: 40%;
    }
    70% {
        left: 85%;
        top: 20%;
        opacity: 0.8;
    }
    85% {
        opacity: 0.6;
    }
    100% {
        top: -20px;
        left: 90%;
        opacity: 0;
        transform: rotate(360deg);
    }
}

@keyframes stars-fly-random-2 {
    0% {
        top: 100%;
        right: 15%;
        opacity: 0;
        transform: rotate(0deg) scale(0.5);
    }
    20% {
        opacity: 0.9;
        right: 35%;
        top: 80%;
    }
    40% {
        right: 55%;
        top: 60%;
    }
    60% {
        right: 75%;
        top: 30%;
        opacity: 0.9;
    }
    80% {
        opacity: 0.7;
    }
    100% {
        top: -20px;
        right: 85%;
        opacity: 0;
        transform: rotate(-360deg) scale(1.2);
    }
}

@keyframes stars-fly-random-3 {
    0% {
        top: 100%;
        left: 20%;
        opacity: 0;
        transform: rotate(0deg) scale(0.8);
    }
    25% {
        opacity: 0.7;
        left: 40%;
        top: 75%;
    }
    50% {
        left: 60%;
        top: 50%;
    }
    75% {
        left: 80%;
        top: 25%;
        opacity: 0.7;
    }
    100% {
        top: -20px;
        left: 95%;
        opacity: 0;
        transform: rotate(-180deg) scale(1.1);
    }
}

@keyframes stars-fly-random-4 {
    0% {
        top: 100%;
        right: 25%;
        opacity: 0;
        transform: rotate(0deg) scale(0.6);
    }
    30% {
        opacity: 0.8;
        right: 45%;
        top: 70%;
    }
    60% {
        right: 65%;
        top: 35%;
    }
    90% {
        right: 85%;
        top: 15%;
        opacity: 0.8;
    }
    100% {
        top: -20px;
        right: 95%;
        opacity: 0;
        transform: rotate(540deg) scale(1.3);
    }
}

@keyframes stars-fly-random-5 {
    0% {
        top: 100%;
        left: 5%;
        opacity: 0;
        transform: rotate(0deg) scale(0.9);
    }
    20% {
        opacity: 0.6;
        left: 30%;
        top: 85%;
    }
    50% {
        left: 55%;
        top: 45%;
    }
    80% {
        left: 75%;
        top: 15%;
        opacity: 0.6;
    }
    100% {
        top: -20px;
        left: 88%;
        opacity: 0;
        transform: rotate(720deg) scale(0.8);
    }
}

@keyframes stars-fly-random-6 {
    0% {
        top: 100%;
        right: 8%;
        opacity: 0;
        transform: rotate(0deg) scale(0.7);
    }
    25% {
        opacity: 0.9;
        right: 28%;
        top: 75%;
    }
    55% {
        right: 58%;
        top: 40%;
    }
    85% {
        right: 78%;
        top: 10%;
        opacity: 0.9;
    }
    100% {
        top: -20px;
        right: 92%;
        opacity: 0;
        transform: rotate(-450deg) scale(1.4);
    }
}

/* Footer */
footer {
    background: linear-gradient(135deg, rgb(184, 221, 249) 0%, rgb(164, 211, 249) 100%);
    color: #333;
    text-align: center;
    padding: 3rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.payment-methods {
    max-width: 50%;
    height: auto;
    margin-bottom: 1.5rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

footer p {
    margin: 0.5rem auto;
    font-size: 1rem;
    opacity: 0.9;
    text-align: center;
    display: block;
    width: 100%;
}

footer p:first-of-type {
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
    display: block;
    width: 100%;
} 

.onboarding-ui_primary-hero {
    margin: 52px 0;
}

a.anchor {
    display: block;
    position: relative;
    top: -275px;
    visibility: hidden;
}

a.anchor-2 {
    display: block;
    position: relative;
    top: -145px;
    visibility: hidden;
}

.onboarding-ui_primary-hero__wrapper {
    box-sizing: border-box;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0 16px;
    display: flex;
    margin-top: 0!important;
}

.onboarding-ui_primary-hero__container {
    box-sizing: border-box;
    display: flex;
    align-items: flex-end;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: nowrap;
    
    width: 100%;
    max-width: 1320px;
    box-shadow: 0 0 1px rgba(36,41,49,.1),0 8px 36px var(--ui-shadow-strength);
    background: var(--active-theme-primary-background);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    background-color: color-mix(in srgb,var(--ui-background),transparent 50%);
    border-radius: 30px;
}

.onboarding-ui_primary-hero__description {
    box-sizing: border-box;
    line-height: var(--ui-header-line-height,var(--ui-base-line-height,inherit));
    font-weight: var(--ui-header-font-weight,inherit);
    font-size: var(--ui-header-font-size,13px);
    margin-left: 48px;
    max-width: 52em;
    --ui-vertical-spacing-modifier: 0;
    --ui-custom-reduced-vertical-spacing: .75;
    --ui-custom-reduced-vertical-line-height: .9;
    align-self: center;
    position: relative;
    width: 600px;
    color: var(--ui-text);
}


.onboarding-ui_primary-hero__asset{
    box-sizing: border-box;
    background-repeat: no-repeat;
    border-radius: 4px 0;
    width: 100%;
    max-width: 600px;
    background-size: 100%;
    background-image: url("../images/models/model5.jpg");
    height: 500px;
}

/* Creative styling for "Для кого?" section */
.onboarding-ui_primary-hero__description {
    padding: 3rem 0 !important;
    text-align: left !important;
}

.onboarding-ui_primary-hero__description h2 {
    margin-bottom: 2rem;
    text-align: center;
}

.onboarding-ui_primary-hero__description p {
    position: relative;
    padding-left: 2rem;
    padding-right: 2rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

/* Payment page styling */
.onboarding-ui_primary-hero__description.payment-page {
    text-align: center !important;
    padding: 3rem 2rem !important;
    max-width: 1200px;
    margin: auto;
    width: auto;
}

.onboarding-ui_primary-hero__description.payment-page h1,
.onboarding-ui_primary-hero__description.payment-page h2,
.onboarding-ui_primary-hero__description.payment-page h3 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.onboarding-ui_primary-hero__description.payment-page p {
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 1.5rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.onboarding-ui_primary-hero__description.payment-page ol,
.onboarding-ui_primary-hero__description.payment-page ul {
    text-align: left;
    max-width: 900px;
    margin: 1.5rem auto;
}

.onboarding-ui_primary-hero__description.payment-page li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* Prices page styling */
.onboarding-ui_primary-hero__description.prices-page {
    text-align: center !important;
    padding: 3rem 2rem !important;
    max-width: 1200px;
    margin: auto;
    width: auto;
}

.onboarding-ui_primary-hero.prices-page {
    padding-top: 102px;
}

.onboarding-ui_primary-hero__description.prices-page h1,
.onboarding-ui_primary-hero__description.prices-page h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.onboarding-ui_primary-hero__description.prices-page h3 {
    text-align: center;
    margin-bottom: 1rem;
}

.onboarding-ui_primary-hero__description.prices-page p {
    text-align: center;
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-packages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem auto;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    border: 2px solid var(--accent-color);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
}


.package-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.package-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.package-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
}

.featured-badge {
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0 1.5rem 0 15px;
    font-size: 0.85rem;
    font-weight: 600;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    margin-top: -2.5rem;
    margin-right: -2.5rem;
}

.package-price {
    text-align: center;
    margin-bottom: 2rem;
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.price-currency {
    font-size: 1.2rem;
    color: #666;
    margin-left: 0.5rem;
}

.package-description {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.package-description h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.package-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.package-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 2rem;
    text-align: left;
}

.package-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.package-features li:last-child {
    border-bottom: none;
}

.package-button {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    text-align: center;
    display: block;
    margin-top: auto;
}

.pricing-info {
    margin-top: 4rem;
    text-align: center;
}

.pricing-info h2 {
    margin-bottom: 1.5rem;
}

.pricing-info h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.info-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 1.5rem auto;
}

.info-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
    text-align: left;
    font-size: 1.1rem;
}

.info-list li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Mobile responsive for pricing */
@media (max-width: 768px) {
    .pricing-packages {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
    }
    
    .pricing-card {
        padding: 2rem;
    }
    
    .price-amount {
        font-size: 2.5rem;
    }
    
    .package-header h2 {
        font-size: 1.5rem;
    }
}


.onboarding-ui_primary-hero.payment_page {
    margin-top: 105px;
    margin-bottom: 20px;
}

.llm_intro_page-intro__scroll-container{
    box-sizing: border-box;
    height: 100%;
    overflow-y: auto;
}


.llm_intro_page-intro {
    background-color: #b8ddf9;
    background-image: radial-gradient(at var(--gradient1x) var(--gradient1y), #f6928d 0px, transparent 50%), radial-gradient(at var(--gradient2x) var(--gradient2y), #a747d7 0px, transparent 50%), radial-gradient(at var(--gradient3x) var(--gradient3y), #f6918d 0px, transparent 50%), radial-gradient(at var(--gradient4x) var(--gradient4y), #a94ad9 0px, transparent 50%);
    animation-name: backgroundGradient;
    animation-duration: 5s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

@property --gradient1x {
    syntax: "<percentage>";
    inherits: false;
    initial-value: 48%
}

@property --gradient1y {
    syntax: "<percentage>";
    inherits: false;
    initial-value: 100%
}

@property --gradient2x {
    syntax: "<percentage>";
    inherits: false;
    initial-value: 93%
}

@property --gradient2y {
    syntax: "<percentage>";
    inherits: false;
    initial-value: 41%
}

@property --gradient3x {
    syntax: "<percentage>";
    inherits: false;
    initial-value: 91%
}

@property --gradient3y {
    syntax: "<percentage>";
    inherits: false;
    initial-value: 92%
}

@property --gradient4x {
    syntax: "<percentage>";
    inherits: false;
    initial-value: 42%
}

@property --gradient4y {
    syntax: "<percentage>";
    inherits: false;
    initial-value: 81%
}

@keyframes backgroundGradient {
    0% {
        --gradient1x: 48%;
        --gradient1y: 100%;
        --gradient2x: 93%;
        --gradient2y: 41%;
        --gradient3x: 91%;
        --gradient3y: 92%;
        --gradient4x: 42%;
        --gradient4y: 81%
    }

    to {
        --gradient1x: 28%;
        --gradient1y: 97%;
        --gradient2x: 88%;
        --gradient2y: 79%;
        --gradient3x: 42%;
        --gradient3y: 74%;
        --gradient4x: 49%;
        --gradient4y: 41%
    }
}

/* ═══════════════════════════════════════════════════════════
   NEW LANDING PAGE STYLES
═══════════════════════════════════════════════════════════ */

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* ─── Hero Section ─────────────────────────────────────── */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 2rem 5rem;
    position: relative;
    overflow: hidden;
}

.hero-inner {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 2rem;
    padding: 0.45rem 1.2rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #2d1b69;
    width: fit-content;
    letter-spacing: 0.3px;
}

.hero-text h1 {
    font-size: 3.6rem;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -1.5px;
    color: #1a1a2e;
    margin: 0;
}

.hero-text h1 em {
    font-style: normal;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-desc {
    font-size: 1.2rem;
    color: rgba(45, 52, 54, 0.82);
    max-width: 460px;
    text-align: left;
    line-height: 1.65;
    margin: 0;
}

.hero-cta-group {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.hero-cta-primary {
    font-size: 1.05rem;
    padding: 1rem 2.5rem;
}

.hero-cta-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #2d3436;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    border: 1.5px solid rgba(45, 52, 54, 0.2);
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: var(--transition);
}

.hero-cta-ghost:hover {
    border-color: rgba(45, 52, 54, 0.4);
    background: rgba(255, 255, 255, 0.55);
}

.hero-cta-ghost:hover .ghost-arrow {
    transform: translateY(3px);
}

.ghost-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
    font-size: 0.9rem;
    opacity: 0.7;
}

.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: rgba(45, 52, 54, 0.65);
    margin: 0;
    text-align: left;
}

.proof-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00b894;
    display: inline-block;
    animation: pulse-dot 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 184, 148, 0.4); }
    50% { box-shadow: 0 0 0 6px rgba(0, 184, 148, 0); }
}

/* ─── Hero Media ───────────────────────────────────────── */
.hero-media {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-media video {
    width: 100%;
    max-width: 360px;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.media-placeholder {
    width: 100%;
    max-width: 360px;
    aspect-ratio: 3 / 4;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 1.75rem;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(151, 71, 255, 0.12),
        0 24px 64px rgba(151, 71, 255, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* Animated glow behind the placeholder */
.media-placeholder__glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(ellipse at 50% 60%, rgba(151, 71, 255, 0.25) 0%, transparent 70%);
    animation: glow-pulse 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.media-placeholder__content {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 2rem;
}

.media-placeholder__play {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.4rem;
    color: white;
    box-shadow: 0 8px 30px rgba(151, 71, 255, 0.45);
    animation: pulse-play 2.5s ease-in-out infinite;
}

@keyframes pulse-play {
    0%, 100% {
        box-shadow: 0 8px 30px rgba(151, 71, 255, 0.45);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 8px 50px rgba(151, 71, 255, 0.65);
        transform: scale(1.06);
    }
}

.media-placeholder__title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #2d3436;
    margin-bottom: 0.4rem;
    text-align: center;
}

.media-placeholder__sub {
    font-size: 0.88rem;
    color: rgba(45, 52, 54, 0.6);
    text-align: center;
    max-width: 190px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Corner brackets */
.media-placeholder__corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: rgba(151, 71, 255, 0.45);
    border-style: solid;
}

.media-placeholder__corner--tl { top: 16px; left: 16px; border-width: 2px 0 0 2px; border-radius: 4px 0 0 0; }
.media-placeholder__corner--tr { top: 16px; right: 16px; border-width: 2px 2px 0 0; border-radius: 0 4px 0 0; }
.media-placeholder__corner--bl { bottom: 16px; left: 16px; border-width: 0 0 2px 2px; border-radius: 0 0 0 4px; }
.media-placeholder__corner--br { bottom: 16px; right: 16px; border-width: 0 2px 2px 0; border-radius: 0 0 4px 0; }

/* ─── Scroll hint ──────────────────────────────────────── */
.scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-decoration: none;
    color: rgba(45, 52, 54, 0.55);
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: bounce-hint 2.2s ease-in-out infinite;
}

.scroll-hint__arrow {
    font-size: 1.5rem;
    line-height: 1;
}

@keyframes bounce-hint {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(7px); }
}

/* ─── Compare / Before-After Section ──────────────────── */
.compare-section {
    padding: 7rem 2rem;
    background: var(--white);
    position: relative;
}

.compare-inner {
    max-width: 660px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.compare-text {
    text-align: center;
}

.compare-text h2 {
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: -1.2px;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.compare-text p {
    font-size: 1.1rem;
    color: rgba(45, 52, 54, 0.72);
    max-width: 420px;
    margin: 0 auto;
}

/* Override before-after-images size for this section */
#before-after-main {
    height: 580px;
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
    border-radius: 1.5rem;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
}

/* Drag hint overlay */
.slider-drag-hint {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 7px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    z-index: 15;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.5s ease;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.slider-drag-hint.hidden {
    opacity: 0;
}

.compare-cta {
    display: block;
    width: fit-content;
    font-size: 1rem;
    padding: 0.9rem 2.2rem;
}

/* ─── Features Section ─────────────────────────────────── */
.features-section {
    padding: 8rem 2rem;
    background: var(--light-bg);
}

.features-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.features-header {
    text-align: center;
    margin-bottom: 4rem;
}

.features-header h2 {
    margin-bottom: 1rem;
}

.features-header p {
    color: rgba(45, 52, 54, 0.72);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.feature-card {
    padding: 2.5rem 2rem;
    background: var(--white);
    border-radius: 1.25rem;
    border: 1px solid transparent;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(151, 71, 255, 0.15);
    box-shadow: 0 16px 48px rgba(151, 71, 255, 0.1);
}

/* Hero feature card — main differentiator */
.feature-card--hero {
    background: linear-gradient(135deg, #f3eeff 0%, #eef2ff 100%);
    border: 1.5px solid rgba(151, 71, 255, 0.2);
}

.feature-card--hero .feature-icon {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.feature-card--hero h3 {
    color: #1a1a2e;
}

.feature-card--hero:hover {
    box-shadow: 0 20px 56px rgba(151, 71, 255, 0.15);
    border-color: rgba(151, 71, 255, 0.3);
}

.feature-main-badge {
    display: inline-block;
    width: fit-content;
    background: var(--gradient-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 0.25rem 0.8rem;
    border-radius: 2rem;
    margin-bottom: 0.5rem;
}

.feature-icon {
    font-size: 2.4rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.65rem;
    color: #2d3436;
    margin-top: 0;
}

.feature-card p {
    font-size: 0.98rem;
    color: rgba(45, 52, 54, 0.72);
    text-align: left;
    margin: 0;
    line-height: 1.65;
}

/* ─── Wardrobe Highlight Section ──────────────────────── */
.wardrobe-section {
    padding: 7rem 2rem;
    background: var(--white);
}

.wardrobe-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.wardrobe-label {
    display: inline-block;
    background: linear-gradient(135deg, rgba(151, 71, 255, 0.1) 0%, rgba(83, 127, 252, 0.1) 100%);
    border: 1px solid rgba(151, 71, 255, 0.25);
    border-radius: 2rem;
    padding: 0.4rem 1.1rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #9747ff;
    letter-spacing: 0.3px;
    margin-bottom: 1.25rem;
    display: block;
    width: fit-content;
}

.wardrobe-text h2 {
    text-align: left;
    margin-bottom: 1.25rem;
    font-size: 2.1rem;
    letter-spacing: -0.5px;
}

.wardrobe-text > p {
    text-align: left;
    font-size: 1.05rem;
    color: rgba(45, 52, 54, 0.78);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.wardrobe-perks {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.wardrobe-perks li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 1rem;
    color: rgba(45, 52, 54, 0.85);
    line-height: 1.5;
    text-align: left;
}

.perk-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 0.05rem;
}

/* Decorative wardrobe grid */
.wardrobe-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.wardrobe-grid-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    max-width: 340px;
    width: 100%;
}

.wgp-item {
    aspect-ratio: 1;
    background: var(--light-bg);
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    border: 1px solid rgba(151, 71, 255, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: wgp-float linear infinite;
}

.wgp-item--1 { animation-duration: 4.0s; animation-delay: 0.0s; }
.wgp-item--2 { animation-duration: 4.5s; animation-delay: 0.4s; }
.wgp-item--3 { animation-duration: 3.8s; animation-delay: 0.8s; }
.wgp-item--4 { animation-duration: 4.2s; animation-delay: 0.2s; }
.wgp-item--5 { animation-duration: 3.6s; animation-delay: 0.6s; }
.wgp-item--6 { animation-duration: 4.4s; animation-delay: 1.0s; }

@keyframes wgp-float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-7px); }
}

.wgp-item:hover {
    box-shadow: 0 12px 32px rgba(151, 71, 255, 0.15);
    transform: translateY(-8px) scale(1.05);
}

@media (max-width: 960px) {
    .wardrobe-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .wardrobe-text h2 {
        text-align: center;
    }

    .wardrobe-text > p {
        text-align: center;
    }

    .wardrobe-label {
        margin-left: auto;
        margin-right: auto;
    }

    .wardrobe-perks li {
        justify-content: flex-start;
    }

    .wardrobe-text .cta-button {
        display: block;
        width: fit-content;
        margin: 0 auto;
    }
}

/* ─── For Who Section ──────────────────────────────────── */
.for-who-section {
    padding: 0;
}

.for-who-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    padding: 6rem 2rem;
    gap: 4rem;
}

.for-who-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.for-who-text h2 {
    text-align: left;
    margin: 0;
}

.for-who-sub {
    font-size: 1.05rem;
    color: rgba(45, 52, 54, 0.8);
    text-align: left;
    margin: 0;
    line-height: 1.6;
}

.for-who-pills {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.pill {
    display: inline-block;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 2rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: #2d1b69;
    cursor: default;
    transition: var(--transition);
    width: fit-content;
}

.pill:hover {
    background: rgba(255, 255, 255, 0.65);
    transform: translateX(5px);
}

.for-who-asset {
    background-image: url("../images/models/model5.jpg");
    background-size: cover;
    background-position: center top;
    border-radius: 1.5rem;
    min-height: 480px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.15);
}

/* ─── How It Works ─────────────────────────────────────── */
.how-section {
    padding: 8rem 2rem;
    background: var(--white);
    text-align: center;
}

.how-inner {
    max-width: 1320px;
    margin: 0 auto;
}

.how-header {
    margin-bottom: 4rem;
}

.how-subtitle {
    font-size: 1.1rem;
    color: rgba(45, 52, 54, 0.7);
    margin: 0.75rem auto 0;
    max-width: 400px;
}

.steps-row {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 1.5rem;
}

.step-card {
    flex: 1 1 0;
    min-width: 0;
    background: var(--light-bg);
    border-radius: 1.25rem;
    padding: 2.5rem 1.75rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.step-arrow {
    font-size: 2rem;
    color: rgba(151, 71, 255, 0.35);
    flex-shrink: 0;
    line-height: 1;
    align-self: center;
}

.how-cta {
    display: block;
    width: fit-content;
    margin: 3.5rem auto 0;
    font-size: 1.05rem;
    padding: 1rem 2.5rem;
}

/* ─── Final CTA Section ────────────────────────────────── */
.final-cta-section {
    padding: 8rem 2rem;
    text-align: center;
}

.final-cta-inner {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.final-cta-inner h2 {
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: -1px;
    color: #1a1a2e;
    line-height: 1.2;
}

.final-cta-inner p {
    font-size: 1.15rem;
    color: rgba(45, 52, 54, 0.78);
}

.cta-button--white {
    background: white !important;
    color: #9747ff !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15) !important;
    font-size: 1.05rem;
    padding: 1rem 2.5rem;
}

.cta-button--white:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
}

/* ─── Scroll Reveal Animations ─────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for grid children */
.features-grid .feature-card:nth-child(1) { transition-delay: 0ms; }
.features-grid .feature-card:nth-child(2) { transition-delay: 80ms; }
.features-grid .feature-card:nth-child(3) { transition-delay: 160ms; }
.features-grid .feature-card:nth-child(4) { transition-delay: 80ms; }
.features-grid .feature-card:nth-child(5) { transition-delay: 160ms; }
.features-grid .feature-card:nth-child(6) { transition-delay: 240ms; }

.steps-row .step-card:nth-child(1) { transition-delay: 0ms; }
.steps-row .step-card:nth-child(3) { transition-delay: 120ms; }
.steps-row .step-card:nth-child(5) { transition-delay: 240ms; }
.steps-row .step-card:nth-child(7) { transition-delay: 360ms; }

/* ─── Capsule Wardrobe Landing Page ─────────────────────── */
.hero-section--landing {
    overflow: visible;
    min-height: auto;
    padding-top: 160px;
    padding-bottom: 6rem;
}

.hero-inner--landing {
    grid-template-columns: 0.75fr 1.25fr;
    gap: 2.5rem;
    align-items: center;
    padding-top: 1.5rem;
}

.hero-inner--landing .landing-showcase {
    max-width: none;
    width: 100%;
}

.landing-showcase {
    width: 100%;
    margin: 0 auto;
}

.landing-showcase__composition {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.landing-showcase__panel {
    margin: 0;
    border-radius: 1rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    line-height: 0;
}

.landing-showcase__panel img {
    width: 100%;
    height: auto;
    display: block;
}

.landing-showcase__panel--primary {
    width: 100%;
    position: relative;
    z-index: 1;
}

.landing-showcase__panel--secondary {
    position: relative;
    z-index: 2;
    align-self: flex-end;
    width: min(52%, 360px);
    margin: clamp(-7rem, -16vw, -4.5rem) clamp(0.25rem, 2vw, 1rem) 0 0;
    border: 4px solid #fff;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.2);
}

.landing-photo {
    width: 100%;
    max-width: 900px;
    height: auto;
    display: block;
    border-radius: 1.25rem;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.15);
}

.landing-image-section {
    padding: 5rem 2rem;
    background: var(--white);
}

.landing-image-section__inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    line-height: 0;
}

.landing-content-section {
    padding: 8rem 2rem;
    background: var(--light-bg);
}

.landing-content-section--white {
    background: var(--white);
}

.landing-prose-block {
    max-width: 800px;
    margin: 0 auto;
}

.landing-prose-block h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.landing-prose-block p {
    text-align: left;
    font-size: 1.05rem;
    color: rgba(45, 52, 54, 0.85);
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.landing-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.landing-list li {
    position: relative;
    padding: 1rem 1rem 1rem 2.5rem;
    background: rgba(151, 71, 255, 0.04);
    border-radius: 0.75rem;
    border-left: 3px solid #9747ff;
    text-align: left;
    color: rgba(45, 52, 54, 0.85);
    line-height: 1.6;
}

.landing-list li::before {
    content: '✓';
    position: absolute;
    left: 0.85rem;
    top: 1rem;
    color: #9747ff;
    font-weight: 700;
}

.landing-audience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.landing-audience-item {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(151, 71, 255, 0.12);
    border-radius: 1.25rem;
    padding: 1.75rem;
    text-align: left;
}

.landing-audience-item h3 {
    font-size: 1.15rem;
    margin: 0 0 0.75rem;
    color: #1a1a2e;
    text-align: left;
}

.landing-audience-item p {
    margin: 0;
    text-align: left;
}

.landing-section-note {
    max-width: 720px;
    margin: 3rem auto 0;
    text-align: center;
    font-size: 1.05rem;
    color: rgba(45, 52, 54, 0.78);
    line-height: 1.7;
}

.landing-faq-section {
    padding: 8rem 2rem;
    background: var(--white);
}

.landing-faq-inner {
    max-width: 800px;
    margin: 0 auto;
}

.landing-faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

.landing-faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.landing-faq-item {
    background: var(--light-bg);
    border-radius: 1.25rem;
    padding: 1.75rem 2rem;
    text-align: left;
}

.landing-faq-item h3 {
    font-size: 1.1rem;
    margin: 0 0 0.75rem;
    color: #1a1a2e;
    text-align: left;
}

.landing-faq-item p {
    margin: 0;
    color: rgba(45, 52, 54, 0.78);
    line-height: 1.65;
    text-align: left;
}

/* ─── Responsive ───────────────────────────────────────── */
@media (max-width: 960px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-text {
        align-items: center;
    }

    .hero-desc {
        text-align: center;
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: 2.6rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .for-who-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 5rem 2rem;
    }

    .for-who-asset {
        min-height: 320px;
    }

    .steps-row {
        flex-direction: column;
        gap: 1rem;
    }

    .step-arrow {
        transform: rotate(90deg);
        font-size: 1.5rem;
    }

    .step-card {
        max-width: 100%;
        width: 100%;
    }

    .landing-showcase__panel--secondary {
        align-self: center;
        width: 100%;
        margin: 1.25rem 0 0;
        border-width: 0;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    }

    .hero-inner--landing {
        grid-template-columns: 1fr;
    }

    .landing-audience-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero-section {
        padding: 90px 1.25rem 4rem;
    }

    .hero-text h1 {
        font-size: 2rem;
        letter-spacing: -0.5px;
    }

    .hero-desc {
        font-size: 1.05rem;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .media-placeholder {
        max-width: 280px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    #before-after-main {
        height: 380px;
    }

    .compare-text h2 {
        font-size: 2rem;
    }

    .final-cta-inner h2 {
        font-size: 1.9rem;
    }

    .for-who-text h2 {
        text-align: center;
    }

    .for-who-sub {
        text-align: center;
    }

    .pill {
        font-size: 0.93rem;
        padding: 0.65rem 1.2rem;
    }
}