/* ==========================================================================
   Landing Page — Standalone Styles
   ========================================================================== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --l-primary: #b8a38c;
    --l-accent: #1f2937;
    --l-gradient: linear-gradient(180deg, #CADBEA, #F4E9DC, #f8f9fb);

    --l-bg: #faf9f7;
    --l-bg-alt: #f3f1ed;
    --l-surface: #ffffff;
    --l-border: #e8e5df;
    --l-border-light: #f0ede8;

    --l-text: #2d2a26;
    --l-text-secondary: #6b6560;
    --l-text-muted: #a09a93;

    --l-radius: 12px;
    --l-radius-lg: 20px;
    --l-radius-xl: 28px;

    --l-shadow-sm: 0 1px 3px rgba(0,0,0,.04);
    --l-shadow: 0 4px 20px rgba(0,0,0,.06);
    --l-shadow-lg: 0 12px 40px rgba(0,0,0,.10);

    --l-transition: .25s cubic-bezier(.4,0,.2,1);
    --l-transition-slow: .5s cubic-bezier(.4,0,.2,1);

    --l-container: 1200px;
    --l-gutter: 24px;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--l-text);
    background: var(--l-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* --- Container --- */
.l-container {
    max-width: var(--l-container);
    margin: 0 auto;
    padding: 0 var(--l-gutter);
}

/* --- Section headers --- */
.l-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.l-section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 400;
    color: var(--l-accent);
    line-height: 1.2;
    margin-bottom: 12px;
}

.l-section-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--l-text-secondary);
    max-width: 565px;
    margin: 0 auto;
}

/* --- Buttons --- */
.l-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 100px;
    transition: all var(--l-transition);
    white-space: nowrap;
}

.l-btn--primary {
    background: var(--l-accent);
    color: #fff;
    box-shadow: 0 2px 12px rgba(31, 41, 55, .2);
}

.l-btn--primary:hover {
    background: #111827;
    box-shadow: 0 4px 20px rgba(31, 41, 55, .3);
    transform: translateY(-1px);
}

.l-btn--light {
    background: #fff;
    color: var(--l-accent);
    box-shadow: 0 2px 12px rgba(0,0,0,.1);
}

.l-btn--light:hover {
    background: #f8f8f8;
    box-shadow: 0 4px 24px rgba(0,0,0,.15);
    transform: translateY(-1px);
}

/* ==========================================================================
   Header
   ========================================================================== */
   .l-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,0);
    /*! background: rgba(250, 249, 247, .85); */
    /*! backdrop-filter: blur(16px); */
    /*! -webkit-backdrop-filter: blur(16px); */
    /*! border-bottom: 1px solid transparent; */
    /*! transition: border-color var(--l-transition), box-shadow var(--l-transition),
                background var(--l-transition), color var(--l-transition); */
}

.l-header.scrolled {
    border-bottom-color: var(--l-border);
    box-shadow: 0 1px 8px rgba(0,0,0,.04);
}

/* Transparent header over cinematic hero */
.l-header--over-hero {
    position: fixed;
    width: 100%;
    background: rgba(0,0,0,0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    border-bottom: 1px solid rgba(255,255,255,0);
    transition: 0.5s;;
}

.l-header--over-hero .l-header__link:hover {
    color: #fff;
    background: rgba(255,255,255,.1);
}

.l-header--over-hero .l-header__cta-sm:hover {
    background: rgba(255,255,255,.25);
}

.l-header--over-hero.scrolled {
    background: rgba(250, 249, 247, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.l-header--over-hero.scrolled .l-header__name {
    color: var(--l-accent);
}

.l-header--over-hero.scrolled .l-header__link {
    color: var(--l-text-secondary);
}

.l-header--over-hero.scrolled .l-header__link:hover {
    color: var(--l-accent);
    background: var(--l-bg-alt);
}

.l-header--over-hero.scrolled .l-header__cta-sm {
    background: var(--l-accent);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.l-header--over-hero.scrolled .l-header__cta-sm:hover {
    background: #111827;
}

.l-header--over-hero.scrolled .head_logo_wrap .sub_name {
    background: var(--accent);
}

.l-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.l-header__brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.l-header__logo {
    height: 32px;
    width: auto;
}

.l-header__name {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--l-accent);
    letter-spacing:1px;
    color: rgba(255,255,255,.85);
    transition: 1s;
}
.head_logo_wrap {
    position: relative;
}
.head_logo_wrap .sub_name {
    position: absolute;
    left: 100%;
    margin: 5px 0 0 3px;
    font-size: 10px;
    font-weight: bold;
    background: var(--accent);
    color: #fff;
    padding: 0 4px;
    border-radius: 3px;
    letter-spacing: 0.5px;
    transition: 1s;
    background: rgba(255,255,255,.2);
}

.l-header__nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.l-header__link {
    padding: 8px 18px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,.85);
    border-radius: 100px;
    transition: color var(--l-transition), background var(--l-transition);
}

.l-header__link:hover {
    color: var(--l-accent);
    background: var(--l-bg-alt);
}

.l-header__cta-sm {
    padding: 8px 22px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    border-radius: 100px;
    transition: all var(--l-transition);
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.2);
}

.l-header__cta-sm:hover {
    background: #111827;
    transform: translateY(-1px);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.l-hero {
    padding: 80px 0 100px;
    background: var(--l-gradient);
    overflow: hidden;
}

.l-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.l-hero__content {
    max-width: 540px;
}

.l-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--l-accent);
    margin-bottom: 20px;
    animation: fadeSlideUp .7s ease-out both;
}

.l-hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.65;
    color: var(--l-text-secondary);
    margin-bottom: 36px;
    animation: fadeSlideUp .7s ease-out .15s both;
}

.l-hero__btn {
    animation: fadeSlideUp .7s ease-out .3s both;
}

/* Hero visual — cycling images */
.l-hero__visual {
    animation: fadeSlideUp .8s ease-out .2s both;
}

.l-hero__image-wrap {
    position: relative;
    border-radius: var(--l-radius-xl);
    overflow: hidden;
    box-shadow: var(--l-shadow-lg);
    aspect-ratio: 16 / 10;
}

.l-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.l-hero__image--active {
    opacity: 1;
}

.l-hero__badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    background: rgba(31, 41, 55, .7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 100px;
    transition: opacity .4s ease;
}

/* ==========================================================================
   Cinematic Hero (v2) — fullscreen, parallax, scroll-reveal
   ========================================================================== */
.l-hero2 {
    --hero-expand: 0;
    --hero-parallax: 0;

    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--l-gradient);
}

/* --- Fullscreen media layer --- */
.l-hero2__media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.l-hero2__image-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: translateY(calc(var(--hero-parallax) * 1px)) scale(calc(1.0 + 0.06 * var(--hero-expand)));
    will-change: transform;
}

.l-hero2__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.l-hero2__image--active {
    opacity: 1;
}

/* --- Dark overlay gradient for text readability --- */
.l-hero2__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(to top,  rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 45%, transparent 100%),
        linear-gradient(to bottom, rgba(0,0,0,.3) 0%, transparent 30%);
    pointer-events: none;
}

/* --- Content layer (text + CTA) --- */
.l-hero2__content-wrap {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    will-change: opacity, transform;
}

.l-hero2__title {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 5.5vw, 4rem);
    font-weight: 400;
    line-height: 1.12;
    color: #fff;
    margin-bottom: 20px;
    animation: fadeSlideUp .8s ease-out both;
    text-shadow: 0 2px 20px rgba(0,0,0,.3);
}

.l-hero2__subtitle {
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    line-height: 1.65;
    color: rgb(255, 255, 255);
    max-width: 530px;
    margin: 0 auto 45px;
    animation: fadeSlideUp .8s ease-out .15s both;
    text-shadow: 0 1px 30px rgba(0, 0, 0, 0.9);
}

.l-hero2__btn {
    animation: fadeSlideUp .8s ease-out .3s both;
}

/* --- Style badge --- */
.l-hero2__badge {
    display: block;
    width: fit-content;
    margin: 24px auto 0;
    padding: 6px 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 100px;
    animation: fadeSlideUp .8s ease-out .45s both;
    transition: opacity .4s ease;
}

/* --- Scroll-down hint --- */
.l-hero2__scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255,255,255,.6);
    animation: hero2ScrollPulse 2s ease-in-out infinite;
    transition: opacity .4s ease;
}

.l-hero2__scroll-hint svg {
    display: block;
}

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

/* ==========================================================================
   Demo Sandbox — uses app.css classes (.card, .generate-layout, etc.)
   Only overrides specific to the landing context live here.
   ========================================================================== */
.l-demo {
    padding: 100px 0;
    background: var(--l-bg);
}

.l-demo__card {
    border: 1px solid var(--l-border-light);
}

.l-demo .preset-card--disabled {
    opacity: .35;
    pointer-events: none;
}

.l-demo .upload-preview__thumb {
    transition: opacity .4s ease;
}

.l-demo .upload-preview__thumb.fading {
    opacity: 0;
}

.l-demo .upload-preview__zoom {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: none;
    background: rgba(0, 0, 0, .42);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .15s, transform .15s;
    z-index: 2;
}

.l-demo .upload-preview__zoom:hover {
    background: rgba(0, 0, 0, .7);
    transform: scale(1.1);
}

/* Panel actions row — «Создать» + CTA side by side */
.l-demo__panel-actions {
    display: flex;
    gap: 10px;
    align-items: stretch;
    margin-top: var(--sp-20);
}

.l-demo__create-btn {
    flex: 2;
    min-width: 0;
    background: var(--l-accent);
    color: #fff;
}

.l-demo__create-btn:hover:not(:disabled) {
    background: #111827;
}

.l-demo__create-btn:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.l-demo__cta-btn {
    flex: 3;
    text-decoration: none;
    min-width: 0;
    justify-content: center;
}

@media (max-width: 479px) {
    .l-demo__panel-actions { flex-direction: column; }
    .l-demo__create-btn,
    .l-demo__cta-btn { flex: none; width: 100%; }
}

/* ==========================================================================
   Demo — Room picker modal cards
   ========================================================================== */
.demo-room-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.demo-room-card {
    border-radius: var(--l-radius);
    overflow: hidden;
    border: 2px solid var(--l-border);
    cursor: pointer;
    transition: border-color var(--l-transition), box-shadow var(--l-transition), transform var(--l-transition);
    background: var(--l-surface);
}

.demo-room-card:hover {
    border-color: var(--l-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--l-primary) 20%, transparent);
    transform: translateY(-2px);
}

.demo-room-card--active {
    border-color: var(--l-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--l-primary) 25%, transparent);
}

.demo-room-card__img-wrap {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--l-bg-alt);
}

.demo-room-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 300ms ease;
    display: block;
}

.demo-room-card:hover .demo-room-card__img-wrap img {
    transform: scale(1.05);
}

.demo-room-card__name {
    padding: 8px 10px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--l-text);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Upload own photo row */
.demo-room-upload-row {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--l-border-light);
}

.demo-room-upload-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--l-text-secondary);
    border: 1.5px dashed var(--l-border);
    border-radius: var(--l-radius);
    background: transparent;
    cursor: pointer;
    transition: border-color var(--l-transition), color var(--l-transition), background var(--l-transition);
}

.demo-room-upload-btn:hover {
    border-color: var(--l-primary);
    color: var(--l-accent);
    background: color-mix(in srgb, var(--l-primary) 6%, transparent);
}

@media (max-width: 479px) {
    .demo-room-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Demo — History of generations
   ========================================================================== */
.l-demo__history {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--l-border-light);
}

.l-demo__history-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.l-demo__history-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

/* Override app.css progress-bar fill for the demo context */
.l-demo__history .progress-bar__fill {
    background: var(--l-primary);
    transition: width 8s ease-out;
}

/* Style name shown inside the pending card */
.demo-card-style-name {
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-muted, #9ca3af);
    font-style: italic;
}

/* Entrance animation when a new card is inserted */
.l-demo__history-grid .history-card {
    animation: demoCardIn .3s ease-out both;
}

/* Image reveal animation when generation completes */
.demo-card-reveal .history-card__img-wrap img {
    animation: demoImgReveal .5s ease-out both;
}

@keyframes demoCardIn {
    from { opacity: 0; transform: scale(.94); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes demoImgReveal {
    from { opacity: 0; transform: scale(1.04); }
    to   { opacity: 1; transform: scale(1); }
}

@media (max-width: 767px) {
    .l-demo__history-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   Audience
   ========================================================================== */
.l-audience {
    padding: 100px 0;
    background: var(--l-bg-alt);
}

.l-audience__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.l-audience__card {
    background: var(--l-surface);
    border-radius: var(--l-radius-lg);
    padding: 36px 28px;
    border: 1px solid var(--l-border-light);
    transition: all var(--l-transition);
}

.l-audience__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--l-shadow);
}

.l-audience__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--l-primary) 12%, white);
    border-radius: 16px;
    color: var(--l-primary);
    margin-bottom: 20px;
}

.l-audience__name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--l-accent);
    margin-bottom: 10px;
}

.l-audience__text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--l-text-secondary);
}

/* Карточка с загруженным фото */
.l-audience__card--has-img {
    padding: 0;
    overflow: hidden;
}
.l-audience__card-img-wrap {
    height: 300px;
    overflow: hidden;
}
.l-audience__card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.l-audience__card--has-img:hover .l-audience__card-img {
    transform: scale(1.04);
}
.l-audience__card--has-img:hover {
    transform: translateY(-4px);
}
.l-audience__card-content {
    padding: 24px 28px 28px;
}
.l-audience__card--has-img .l-audience__icon {
    display: none;
}

/* ==========================================================================
   Before / After comparison slider
   ========================================================================== */
.l-compare {
    padding: 100px 0;
}

.l-compare__stage {
    position: relative;
    border-radius: var(--l-radius-xl);
    overflow: hidden;
    aspect-ratio: 16 / 9;
    box-shadow: var(--l-shadow-lg);
    cursor: col-resize;
    user-select: none;
    -webkit-user-select: none;
}

.l-compare__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    pointer-events: none;
}

.l-compare__img--after {
    clip-path: inset(0 40% 0 0); /* initial 60% — updated by JS */
}

/* Labels */
.l-compare__label {
    position: absolute;
    top: 20px;
    padding: 5px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: .03em;
    color: #fff;
    background: rgba(0, 0, 0, .45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 100px;
    pointer-events: none;
    white-space: nowrap;
}

.l-compare__label--before { left: 20px; }
.l-compare__label--after  { right: 20px; }

/* Drag handle */
.l-compare__handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 60%; /* matches initial clip-path, updated by JS */
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 48px;
    pointer-events: none;
    z-index: 10;
}

.l-compare__handle-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 0 8px rgba(0, 0, 0, .35);
}

.l-compare__handle-btn {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    color: var(--l-accent);
    box-shadow: 0 2px 16px rgba(0, 0, 0, .25);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .15s ease, box-shadow .15s ease;
    flex-shrink: 0;
}

.l-compare__stage:active .l-compare__handle-btn,
.l-compare__stage.dragging .l-compare__handle-btn {
    transform: scale(1.12);
    box-shadow: 0 4px 24px rgba(0, 0, 0, .3);
}

@media (max-width: 767px) {
    .l-compare { padding: 72px 0; }
    .l-compare__stage { aspect-ratio: 4 / 3; }
    .l-compare__label { font-size: 0.72rem; padding: 4px 10px; top: 12px; }
    .l-compare__label--before { left: 12px; }
    .l-compare__label--after  { right: 12px; }
    .l-compare__handle-btn { width: 38px; height: 38px; }
}

@media (max-width: 479px) {
    .l-compare__stage { aspect-ratio: 1 / 1; border-radius: var(--l-radius-lg); }
}

/* ==========================================================================
   Final CTA
   ========================================================================== */
.l-final-cta {
    padding: 100px 0;
    background: var(--l-accent);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.l-final-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(184,163,140,.15) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 50%, rgba(184,163,140,.1) 0%, transparent 50%);
    pointer-events: none;
}

.l-final-cta__title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 400;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 16px;
    position: relative;
}

.l-final-cta__text {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: rgba(255,255,255,.7);
    margin-bottom: 36px;
    position: relative;
}

.l-final-cta__btn {
    position: relative;
}

/* ==========================================================================
   Pricing
   ========================================================================== */
.l-pricing {
    padding: 52px 0 44px;
    background: var(--l-accent);
    border-top: 1px solid rgba(255,255,255,.05);
}

.l-pricing__free {
    margin-bottom: 28px;
}

.l-pricing__free-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(184,163,140,.18);
    border-radius: 14px;
    padding: 20px 24px;
    max-width: 640px;
    margin: 0 auto;
}

.l-pricing__free-icon {
    font-size: 1.3rem;
    color: var(--l-primary);
    flex-shrink: 0;
    opacity: .8;
}

.l-pricing__free-text {
    flex: 1;
    min-width: 0;
}

.l-pricing__free-headline {
    font-size: 0.95rem;
    color: rgba(255,255,255,.8);
    margin-bottom: 3px;
    line-height: 1.4;
}

.l-pricing__free-headline strong {
    font-weight: 600;
    color: #fff;
}

.l-pricing__free-sub {
    font-size: 0.78rem;
    color: rgba(255,255,255,.35);
}

.l-pricing__free-btn {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 0.82rem;
    font-weight: 500;
    padding: 8px 16px;
    border: 1px solid rgba(184,163,140,.35);
    border-radius: 8px;
    color: var(--l-primary);
    background: transparent;
    transition: background var(--l-transition), border-color var(--l-transition), color var(--l-transition);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.l-pricing__free-btn:hover {
    background: rgba(184,163,140,.1);
    border-color: var(--l-primary);
    color: #fff;
}

.l-pricing__plans {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 710px;
    margin: 0 auto 20px;
}

.l-pricing__plan {
    display: flex;
    align-items: baseline;
    gap: 4px;
    padding: 6px 16px;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.025);
    transition: border-color var(--l-transition);
}

.l-pricing__plan:hover {
    border-color: rgba(255,255,255,.16);
}

.l-pricing__plan-credits {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255,255,255,.75);
}

.l-pricing__plan-unit {
    font-size: 0.72rem;
    color: rgba(255,255,255,.3);
}

.l-pricing__plan-sep {
    font-size: 0.65rem;
    color: rgba(255,255,255,.18);
    margin: 0 2px;
}

.l-pricing__plan-price {
    font-size: 0.82rem;
    color: rgba(255,255,255,.45);
}

.l-pricing__plan-pergen {
    font-size: 0.72rem;
    color: rgba(255,255,255,.35);
}

.l-pricing__plan-badge {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 1px 6px;
    border-radius: 4px;
    background: rgba(255,255,255,.12);
    color: rgba(255,255,255,.7);
    margin-right: 2px;
}

.l-pricing__plan--popular {
    border-color: rgba(255,255,255,.2);
    background: rgba(255,255,255,.06);
}

.l-pricing__plan--best-deal {
    border-color: rgba(34,197,94,.35);
    background: rgba(34,197,94,.06);
}

.l-pricing__plan--best-deal .l-pricing__plan-badge {
    background: rgba(34,197,94,.2);
    color: rgba(34,197,94,.9);
}

.l-pricing__plan--recommended {
    border-color: rgba(255,255,255,.18);
    background: rgba(255,255,255,.05);
}

.l-pricing__hint {
    margin-top: 16px;
    text-align: center;
    font-size: 0.72rem;
    color: rgba(255,255,255,.2);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.l-footer {
    padding: 28px 0;
    background: #111214;
}

.l-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.l-footer__copy {
    font-size: 0.85rem;
    color: rgba(255,255,255,.4);
}

.l-footer__link {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,.5);
    transition: color var(--l-transition);
}

.l-footer__link:hover {
    color: #fff;
}

.l-footer__legal {
    margin-top: 16px;
    font-size: 0.7rem;
    color: rgba(255,255,255,.2);
    line-height: 1.6;
}

.l-footer__contact {
    margin-top: 8px;
    font-size: 0.75rem;
    color: rgba(255,255,255,.35);
}

.l-footer__contact a {
    color: inherit;
    text-decoration: none;
}

.l-footer__contact a:hover {
    color: rgba(255,255,255,.6);
    text-decoration: underline;
}

.l-footer__social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
    margin-bottom: 4px;
}

.l-footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.5);
    font-size: 18px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.15s;
}

.l-footer__social-link:hover {
    background: rgba(255,255,255,.18);
    color: #fff;
    transform: translateY(-2px);
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Scroll reveal */
.l-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .6s ease-out, transform .6s ease-out;
}

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

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1023px) {
    .l-hero { padding: 60px 0 80px; }

    .l-hero__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .l-hero__content {
        max-width: 100%;
        text-align: center;
    }

    .l-hero__btn { margin: 0 auto; }

    .l-hero__image-wrap { max-width: 600px; margin: 0 auto; }

    .l-demo, .l-audience, .l-final-cta { padding: 72px 0; }
    .l-pricing { padding: 44px 0 36px; }

    /* Hero2 responsive — tablet */
    .l-hero2__content-wrap { padding-bottom: 48px; }
}

@media (max-width: 767px) {
    :root { --l-gutter: 16px; }

    .l-hero { padding: 40px 0 60px; }
    .l-hero__title br { display: none; }

    .l-demo__card.card { padding: var(--sp-20) var(--sp-16); }

    .l-audience__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .l-audience__card { padding: 28px 24px; }

    .l-section-header { margin-bottom: 32px; }

    .l-demo, .l-audience, .l-final-cta { padding: 56px 0; }
    .l-pricing { padding: 36px 0 28px; }

    .l-btn { padding: 13px 28px; font-size: 0.95rem; }

    /* Hero2 responsive — mobile */
    .l-hero2__title br { display: none; }
    .l-hero2__content-wrap { padding-bottom: 32px; }
    .l-hero2__scroll-hint { bottom: 20px; }
}

@media (max-width: 479px) {
    .l-hero__image-wrap { aspect-ratio: 4 / 3; }

    .l-pricing__free-inner {
        flex-wrap: wrap;
        gap: 12px;
    }

    .l-pricing__free-btn {
        width: 100%;
        text-align: center;
    }

    .l-footer__inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    /* Hero2 responsive — small mobile */
    .l-hero2__subtitle { margin-bottom: 32px; }
    .l-hero2__badge { margin-top: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .l-hero2__scroll-hint { animation: none; }
}

/* ===== Examples Slider ===================================================== */
.l-examples {
    padding: 100px 0 0;
    overflow: hidden;
}

.l-examples__swiper {
    overflow: visible;
    padding-bottom: 52px;
}

.l-examples__swiper .swiper-wrapper {
    align-items: center;
}

.l-examples__swiper.swiper-backface-hidden .swiper-slide {
    transform: none;
}
.l-examples__swiper{
    --slide-transition: 0.7s cubic-bezier(.4,0,.2,1);
}

.l-examples__swiper .swiper-slide.l-examples__slide {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #e5e7eb;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .10);
    transform: scale(.9) translateZ(0);
    opacity: .5;
    filter: blur(10px);
    border: 10px solid #f9f4ea;
    aspect-ratio: 3/2;
    transition: transform var(--slide-transition),
                opacity var(--slide-transition),
                filter var(--slide-transition),
                box-shadow var(--slide-transition);
}

.l-examples__swiper .swiper-slide-active.l-examples__slide {
    transform: scale(1) translateZ(0);
    opacity: 1;
    filter: blur(0);
    box-shadow: 0 12px 48px rgba(0, 0, 0, .18);
    z-index: 2;
}

.l-examples__swiper .swiper-slide-prev.l-examples__slide,
.l-examples__swiper .swiper-slide-next.l-examples__slide {
    opacity: .65;
    filter: blur(2px);
}

.l-examples__slide img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.l-examples__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    background: linear-gradient(to top, rgba(0,0,0,.6) 0%, transparent 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    opacity: 0;
    transition: opacity .35s;
}

.l-examples__slide.swiper-slide-active .l-examples__caption {
    opacity: 1;
}

/* Nav arrows */
.l-examples__swiper .swiper-button-prev,
.l-examples__swiper .swiper-button-next {
    color: var(--l-accent, #1f2937);
    background: rgba(255,255,255,.92);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0,0,0,.10);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: transform .2s, box-shadow .2s;
}

.l-examples__swiper .swiper-button-prev:hover,
.l-examples__swiper .swiper-button-next:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 20px rgba(0,0,0,.16);
}

.l-examples__swiper .swiper-button-prev::after,
.l-examples__swiper .swiper-button-next::after {
    font-size: 15px;
    font-weight: 700;
}

/* Pagination */
.l-examples__swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: var(--l-accent, #1f2937);
    opacity: .2;
    transition: opacity .25s, transform .25s;
}

.l-examples__swiper .swiper-pagination-bullet-active {
    background: var(--l-primary, #b8a38c);
    opacity: 1;
    transform: scale(1.3);
}

@media (max-width: 767px) {
    .l-examples {
        padding: 64px 0 0;
    }

    .l-examples__swiper .swiper-button-prev,
    .l-examples__swiper .swiper-button-next {
        display: none;
    }
    .l-examples__swiper .swiper-slide.l-examples__slide {
        aspect-ratio: auto;
    }
}
