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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #efeefe;
    background:
        radial-gradient(circle at 20% 20%, rgba(180, 73, 255, 0.35), transparent 20%),
        radial-gradient(circle at 80% 30%, rgba(95, 61, 255, 0.25), transparent 22%),
        radial-gradient(circle at 50% 80%, rgba(255, 70, 190, 0.18), transparent 20%),
        linear-gradient(180deg, #130422 0%, #1e0935 45%, #0e061a 100%);
}

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

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(14px);
    background: rgba(14, 7, 28, 0.65);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
}

.nav-brand i {
    color: #d77dff;
    font-size: 1.3rem;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
    transition: color 0.25s ease;
}

.nav-links a:hover {
    color: #ffb8ff;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 14px 22px;
    border-radius: 14px;
    border: 1px solid transparent;
    text-decoration: none;
    font-weight: 800;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #ff67c8 0%, #9f5bff 100%);
    box-shadow: 0 10px 30px rgba(184, 88, 255, 0.35);
}

.btn-primary:hover {
    box-shadow: 0 14px 36px rgba(184, 88, 255, 0.45);
}

.btn-secondary {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
}

.btn-outline {
    width: 100%;
    color: #ce8fff;
    border-color: rgba(186, 115, 255, 0.45);
    background: rgba(255, 255, 255, 0.03);
}

.btn-outline:hover {
    color: #fff;
    background: rgba(177, 88, 255, 0.2);
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 56px;
}

.hero-bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.hero-bg-glow-1 {
    width: 360px;
    height: 360px;
    background: rgba(182, 88, 255, 0.28);
    top: 40px;
    left: -80px;
}

.hero-bg-glow-2 {
    width: 420px;
    height: 420px;
    background: rgba(255, 92, 199, 0.18);
    right: -120px;
    top: 120px;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: center;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 30px rgba(183, 91, 255, 0.18);
}

.hero h1 {
    font-size: 3.7rem;
    line-height: 1.06;
    margin: 0 auto 20px;
    max-width: 700px;
    color: #ffffff;
    text-shadow: 0 6px 30px rgba(0, 0, 0, 0.25);
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.84);
    max-width: 640px;
    margin: 0 auto 16px;
}

.hero-offer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 0.98rem;
    font-weight: 700;
    color: #fff2ff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 24px rgba(184, 88, 255, 0.14);
}

.hero-platforms {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    margin-bottom: 30px;
}

.hero-points {
    display: grid;
    gap: 12px;
    max-width: 680px;
    margin: 0 auto;
    text-align: left;
}

.hero-point {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-point i {
    color: #76f0a5;
    margin-top: 4px;
    flex-shrink: 0;
}

.hero-point span {
    display: block;
    line-height: 1.5;
}

.platform-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #f7ebff;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.12);
}


.hero-buttons .btn {
    flex: 1 1 0;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
}


.hero-visual {
    position: relative;
    z-index: 2;
}

/* Glass cards */
.upload-card,
.guide-card,
.feature-card,
.step,
.pricing-card,
.final-cta-card {
    backdrop-filter: blur(16px);
}

/* Example card */
.upload-card {
    padding: 26px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.upload-card-header {
    text-align: center;
    margin-bottom: 24px;
}

.upload-card-header h3 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 6px;
}

.upload-card-header p {
    color: rgba(255, 255, 255, 0.76);
}

.examples-card {
    padding: 26px;
}

.examples-preview {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 18px;
    margin-bottom: 22px;
    align-items: start;
}

.preview-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-weight: 800;
    font-size: 1.1rem;
}

.preview-label.success {
    color: #8fffab;
}

.preview-label.source {
    color: #ffd88f;
}

.preview-photo {
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 190, 255, 0.6);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.source-photo {
    min-height: 380px;
    background-image:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.16)),
        url('https://storage.yandexcloud.net/photolab/landing_static/examples/IMG_7724.JPG');
}

.photo-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.12),
        transparent 35%,
        transparent 65%,
        rgba(255, 255, 255, 0.06)
    );
    pointer-events: none;
}

.style-photo-grid {
    display: flex;
    flex-wrap: wrap;
    column-gap: 12px;
    row-gap: 12px;
    width: 100%;
}

.style-photo {
    width: calc((100% - 12px) / 2);
    aspect-ratio: 3 / 4;
    min-height: 0;
    flex: 0 0 calc((100% - 12px) / 2);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.style-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(15, 7, 30, 0.48));
}

.style-photo span {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 1;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 800;
    color: #ffffff;
    background: rgba(10, 6, 22, 0.48);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
}

.style-photo-1 {
    background-image:
        /*linear-gradient(135deg, rgba(255, 103, 200, 0.18), rgba(159, 91, 255, 0.14)),*/
        url('https://storage.yandexcloud.net/photolab/landing_static/examples/IMG_7180.JPG');
    background-position: center top;
}

.style-photo-2 {
    background-image:
        /*linear-gradient(135deg, rgba(102, 178, 255, 0.18), rgba(20, 24, 60, 0.24)),*/
        url('https://storage.yandexcloud.net/photolab/landing_static/examples/IMG_7108.JPG');
}

.style-photo-3 {
    background-image:
        /*linear-gradient(135deg, rgba(255, 210, 230, 0.16), rgba(255, 140, 190, 0.14)),*/
        url('https://storage.yandexcloud.net/photolab/landing_static/examples/IMG_7194.JPG');
}

.style-photo-4 {
    background-image:
        /*linear-gradient(135deg, rgba(255, 180, 120, 0.16), rgba(90, 50, 150, 0.18)),*/
        url('https://storage.yandexcloud.net/photolab/landing_static/examples/IMG_8169.JPG');
}

.examples-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.rule-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    font-weight: 600;
}

.rule-item.ok {
    color: #f3fff7;
    background: rgba(88, 219, 128, 0.12);
    border: 1px solid rgba(88, 219, 128, 0.18);
}

.rule-item.bad {
    color: #fff5f8;
    background: rgba(255, 96, 141, 0.12);
    border: 1px solid rgba(255, 96, 141, 0.18);
}

.rule-item.ok i {
    color: #76f0a5;
}

.rule-item.bad i {
    color: #ff8aac;
}
.examples-benefits .rule-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.examples-benefits .rule-item i {
    flex-shrink: 0;
}

/* Sections */
.features,
.photo-guide,
.how-it-works,
.pricing,
.final-cta {
    padding: 88px 0;
}

.features,
.pricing {
    background: rgba(255, 255, 255, 0.03);
}

.section-heading {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 44px;
}

.pricing-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 26px;
    padding: 14px 20px;
    border-radius: 22px;
    color: #fff7ff;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(159, 91, 255, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 10px 30px rgba(184, 88, 255, 0.16);
    backdrop-filter: blur(12px);
}

.pricing-proof-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #ffd7fb;
    background: linear-gradient(135deg, rgba(255, 103, 200, 0.32), rgba(144, 92, 255, 0.32));
    box-shadow: 0 6px 18px rgba(184, 88, 255, 0.22);
    flex-shrink: 0;
}

.pricing-proof-text {
    font-size: 0.98rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
}

.pricing-proof-count {
    font-size: 1.3rem;
    font-weight: 900;
    line-height: 1;
    color: #ffffff;
    text-shadow: 0 4px 16px rgba(255, 103, 200, 0.24);
}

.section-kicker {
    display: inline-block;
    margin-bottom: 12px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #ffcbff;
    background: rgba(255, 255, 255, 0.08);
}

.section-heading h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 12px;
}

.section-heading p {
    color: rgba(255, 255, 255, 0.72);
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.feature-card {
    padding: 28px 24px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(214, 136, 255, 0.35);
}

.feature-card i {
    font-size: 2.2rem;
    color: #d688ff;
    margin-bottom: 16px;
}

.feature-card h3 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.72);
}

/* Photo guide */
.guide-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.guide-card {
    padding: 28px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.guide-card h3 {
    margin-bottom: 18px;
    font-size: 1.45rem;
    color: #fff;
}

.guide-card ul {
    list-style: none;
    display: grid;
    gap: 12px;
}

.guide-card li {
    position: relative;
    padding-left: 22px;
    color: rgba(255, 255, 255, 0.8);
}

.guide-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
}

.guide-card-good {
    border-color: rgba(84, 227, 132, 0.22);
}

.guide-card-bad {
    border-color: rgba(255, 112, 155, 0.22);
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
}

.step {
    padding: 28px 22px;
    text-align: center;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.step-number {
    width: 62px;
    height: 62px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff67c8, #905cff);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 800;
    box-shadow: 0 10px 26px rgba(184, 88, 255, 0.32);
}

.step h3 {
    color: #fff;
    margin-bottom: 10px;
}

.step p {
    color: rgba(255, 255, 255, 0.72);
}

/* Pricing */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
    align-items: stretch;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 30px 24px;
    border-radius: 24px;
    text-align: left;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.pricing-card:hover {
    transform: translateY(-6px);
    border-color: rgba(214, 136, 255, 0.35);
}

.pricing-card.featured {
    border: 2px solid rgba(208, 128, 255, 0.6);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(159, 91, 255, 0.08));
    box-shadow: 0 16px 48px rgba(168, 84, 255, 0.28);
}

.badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #ff67c8, #905cff);
    box-shadow: 0 10px 26px rgba(184, 88, 255, 0.28);
}

.pricing-card-top {
    margin-bottom: 18px;
}

.pricing-card h3 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.45rem;
    min-height: 40px;
}

.pricing-description {
    min-height: 72px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.98rem;
}

.price {
    margin-bottom: 18px;
}

.amount {
    font-size: 3rem;
    font-weight: 900;
    color: #f8d1ff;
}

.currency {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.72);
}

.generations-info {
    margin-bottom: 20px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 120px;
}

.generations-count {
    font-size: 2rem;
    font-weight: 800;
    color: #ce8fff;
    line-height: 1;
    margin-bottom: 4px;
}

.generations-label {
    color: rgba(255, 255, 255, 0.68);
    margin-bottom: 8px;
}

.price-per-generation {
    font-size: 0.95rem;
    font-weight: 700;
    color: #8fffab;
}

.pricing-features {
    list-style: none;
    display: grid;
    gap: 12px;
    margin-bottom: 24px;
    min-height: 132px;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, 0.82);
}

.pricing-features li i {
    color: #76f0a5;
    margin-top: 3px;
    flex-shrink: 0;
}

.pricing-actions {
    margin-top: auto;
    display: grid;
    gap: 12px;
}

.pricing-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
}

.pricing-actions .btn + .btn {
    margin-top: 0;
}

/* Final CTA */
.final-cta-card {
    padding: 42px 28px;
    text-align: center;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(255, 103, 200, 0.12), rgba(144, 92, 255, 0.16));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
}

.final-cta-card h2 {
    font-size: 2.25rem;
    color: #fff;
    margin-bottom: 12px;
}

.final-cta-card p {
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 24px;
}

/* Footer */
.footer {
    padding: 42px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 4, 16, 0.5);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-section h4 {
    color: #fff;
    margin-bottom: 8px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.66);
}

.footer-bottom {
    text-align: center;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.56);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-layout {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 3rem;
        max-width: 680px;
    }

    .examples-preview,
    .examples-benefits,
    .guide-grid {
        grid-template-columns: 1fr;
    }

    .source-photo {
        min-height: 340px;
    }

    .style-photo {
        min-height: auto;
        aspect-ratio: 3 / 4;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        padding-top: 44px;
    }

    .hero h1 {
        font-size: 2.3rem;
        max-width: 100%;
    }

    .hero-subtitle {
        font-size: 1.05rem;
        line-height: 1.6;
        margin-bottom: 14px;
    }

    .hero-offer {
        margin-bottom: 20px;
        padding: 9px 14px;
        font-size: 0.92rem;
    }

    .section-heading h2,
    .final-cta-card h2 {
        font-size: 1.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 24px;
    }

    .hero-points {
        gap: 10px;
    }

    .hero-point {
        padding: 10px 12px;
        gap: 10px;
    }

    .source-photo {
        min-height: 300px;
    }

    .style-photo-grid {
        column-gap: 10px;
        row-gap: 10px;
    }

    .style-photo {
        width: calc((100% - 10px) / 2);
        flex-basis: calc((100% - 10px) / 2);
    }

    .style-photo span {
        left: 10px;
        bottom: 10px;
        padding: 5px 8px;
        font-size: 0.78rem;
    }

    .pricing-description,
    .pricing-features,
    .generations-info,
    .pricing-card h3 {
        min-height: auto;
    }
    .pricing-proof {
        gap: 8px;
        padding: 12px 16px;
        margin-bottom: 22px;
        border-radius: 18px;
    }

    .pricing-proof-text {
        font-size: 0.9rem;
    }

    .pricing-proof-count {
        font-size: 1.12rem;
    }
}

@media (max-width: 560px) {
    .upload-card {
        padding: 18px;
    }

    .upload-card-header h3 {
        font-size: 1.6rem;
    }

    .style-photo-grid {
        column-gap: 8px;
        row-gap: 8px;
    }

    .style-photo {
        width: calc((100% - 8px) / 2);
        flex-basis: calc((100% - 8px) / 2);
        border-radius: 16px;
    }

    .style-photo span {
        left: 8px;
        bottom: 8px;
        padding: 4px 7px;
        font-size: 0.72rem;
    }

    .pricing-card {
        padding: 26px 20px;
    }
    .hero-badge {
        margin-bottom: 16px;
    }

    .hero h1 {
        font-size: 2.05rem;
        margin-bottom: 16px;
    }

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

    .hero-point {
        border-radius: 12px;
    }
    .pricing-proof {
        padding: 12px 14px;
        margin-bottom: 20px;
    }

    .pricing-proof-icon {
        width: 24px;
        height: 24px;
    }
}