/* ===== CSS VARIABLES ===== */
:root {
    --bg-primary: #F5F0E8;
    --bg-secondary: #EDE8DF;
    --bg-card: rgba(232, 180, 184, 0.1);
    --bg-card-hover: rgba(232, 180, 184, 0.18);

    /* Accent — Soft Pink */
    --accent: #E8B4B8;
    --accent-light: #F0CDD0;
    --accent-dark: #D4959A;
    --accent-muted: #C9A9AB;

    --text-primary: #4A3228;
    --text-secondary: #6B4F44;
    --text-muted: #9C8478;

    --border-subtle: rgba(74, 50, 40, 0.1);
    --border-accent: rgba(232, 180, 184, 0.4);

    --glow-accent: rgba(232, 180, 184, 0.15);
    --glow-accent-strong: rgba(232, 180, 184, 0.3);

    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-full: 50%;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 40%, var(--bg-primary) 100%);
    background-size: 100% 200%;
    animation: bgShift 20s ease-in-out infinite;
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--tg-theme-bg-color, #F5F0E8);
}

@keyframes bgShift {
    0%, 100% { background-position: 0% 0%; }
    50% { background-position: 0% 100%; }
}

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

img {
    max-width: 100%;
    display: block;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
}

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

.section {
    padding: 60px 0;
    position: relative;
}

/* ===== MESH GRADIENT BACKGROUND ===== */
.bokeh-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bokeh-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.18;
    will-change: transform;
}

.bokeh-1 {
    width: 55vmax;
    height: 55vmax;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    top: -20%;
    right: -10%;
    animation: meshBlob1 10s ease-in-out infinite;
}

.bokeh-2 {
    width: 45vmax;
    height: 45vmax;
    background: radial-gradient(circle, #E8B4B8 0%, transparent 70%);
    top: 20%;
    left: -15%;
    animation: meshBlob2 12s ease-in-out infinite;
}

.bokeh-3 {
    width: 50vmax;
    height: 50vmax;
    background: radial-gradient(circle, var(--accent-light) 0%, transparent 70%);
    bottom: -10%;
    right: -5%;
    animation: meshBlob3 9s ease-in-out infinite;
}

.bokeh-4 {
    width: 40vmax;
    height: 40vmax;
    background: radial-gradient(circle, #F5D5CE 0%, transparent 70%);
    bottom: 20%;
    left: 10%;
    animation: meshBlob4 11s ease-in-out infinite;
}

.bokeh-5 {
    width: 35vmax;
    height: 35vmax;
    background: radial-gradient(circle, var(--accent-muted) 0%, transparent 70%);
    top: 40%;
    left: 40%;
    animation: meshBlob5 14s ease-in-out infinite;
}

@keyframes meshBlob1 {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    25% { transform: translate(8vw, 12vh) scale(1.2) rotate(10deg); }
    50% { transform: translate(-5vw, 8vh) scale(0.85) rotate(-5deg); }
    75% { transform: translate(10vw, -5vh) scale(1.1) rotate(8deg); }
}

@keyframes meshBlob2 {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    25% { transform: translate(12vw, -8vh) scale(1.15) rotate(-8deg); }
    50% { transform: translate(6vw, 15vh) scale(0.9) rotate(12deg); }
    75% { transform: translate(-8vw, 5vh) scale(1.05) rotate(-3deg); }
}

@keyframes meshBlob3 {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    25% { transform: translate(-10vw, -10vh) scale(1.1) rotate(6deg); }
    50% { transform: translate(8vw, -5vh) scale(0.95) rotate(-10deg); }
    75% { transform: translate(-3vw, 12vh) scale(1.2) rotate(4deg); }
}

@keyframes meshBlob4 {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(15vw, -12vh) scale(1.15) rotate(-6deg); }
    66% { transform: translate(-10vw, -8vh) scale(0.9) rotate(8deg); }
}

@keyframes meshBlob5 {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    20% { transform: translate(-12vw, 8vh) scale(1.1) rotate(12deg); }
    40% { transform: translate(8vw, 15vh) scale(0.85) rotate(-8deg); }
    60% { transform: translate(15vw, -10vh) scale(1.2) rotate(5deg); }
    80% { transform: translate(-5vw, -12vh) scale(0.95) rotate(-12deg); }
}

/* ===== CHANNEL HEADER ===== */
.channel-header {
    padding: 80px 0 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.channel-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 6vw, 48px);
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.02em;
    margin-bottom: 12px;
}

.channel-subtitle {
    font-size: clamp(14px, 3vw, 18px);
    color: var(--text-secondary);
    font-weight: 300;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== HERO PHONE MOCKUP ===== */
.hero-content {
    display: block;
}
.hero-phone {
    display: none;
}
.phone-mockup {
    position: relative;
    width: 280px;
    background: #1a1a1a;
    border-radius: 44px;
    padding: 12px;
    box-shadow:
        0 0 0 2px #2a2a2a,
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 0 0 2px #333;
}
.phone-notch {
    display: none;
}
.phone-video {
    width: 100%;
    display: block;
    border-radius: 32px;
    object-fit: cover;
    aspect-ratio: 886 / 1920;
}

/* ===== CAROUSEL ===== */
.carousel {
    padding: 20px 0 40px;
    position: relative;
    z-index: 1;
}

.carousel-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 0 20px;
}

.carousel-viewport::-webkit-scrollbar {
    display: none;
}

.carousel-track {
    display: flex;
    gap: 16px;
    padding-right: 20px;
}

/* Карточки каруселей: фиксированная высота, ширина по натуральному aspect-ratio фото.
   Это даёт каждой картинке свой "правильный" формат — без letterbox и без crop. */
.carousel-card {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    aspect-ratio: auto;
    height: clamp(300px, 60vw, 440px);
    scroll-snap-align: center;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    transition: var(--transition);
    cursor: pointer;
}

.carousel-card:active {
    transform: scale(0.97);
}

.carousel-card:hover {
    border-color: var(--border-accent);
    box-shadow: 0 4px 16px var(--glow-accent);
}

.carousel-photo {
    height: 100%;
    width: auto;
    aspect-ratio: auto;
    object-fit: cover;
    display: block;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: var(--text-muted);
    opacity: 0.4;
    transition: width 0.3s ease, background 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: width;
}

.carousel-dot.active {
    background: var(--accent);
    opacity: 1;
    width: 24px;
}

/* ===== CONTENT INTRO ===== */
.content-intro {
    padding: 0 0 20px;
    position: relative;
    z-index: 1;
}

.content-intro-text {
    text-align: center;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 500px;
    margin: 0 auto;
}

/* ===== SECTION DIVIDER ===== */
.section-divider {
    text-align: center;
    margin-bottom: 40px;
}

.divider-star {
    color: var(--accent);
    font-size: 24px;
    opacity: 0.6;
}

/* ===== SECTION TITLES ===== */
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.section-title.centered {
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: clamp(14px, 2.5vw, 17px);
    margin-bottom: 40px;
    font-weight: 300;
}

/* ===== ABOUT SECTION ===== */
.about-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-description {
    font-size: clamp(15px, 2.5vw, 17px);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.stat {
    text-align: center;
    padding: 20px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.stat-number {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: clamp(18px, 3.5vw, 22px);
    font-weight: 400;
    color: var(--accent-dark);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.stat-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-visual {
    display: none;
}

.about-visual-img {
    width: 100%;
    max-width: 400px;
    border-radius: var(--radius-md);
    object-fit: cover;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* ===== SUBSCRIPTION CARD ===== */
.subscribe {
    padding: 40px 0;
}

.sub-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 32px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    overflow: hidden;
    max-width: 520px;
    margin: 0 auto;
}

.sub-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 1;
}

.sub-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #FFFFFF;
}

.card-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.card-title {
    font-family: var(--font-heading);
    font-size: clamp(22px, 4vw, 28px);
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.card-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.card-features {
    list-style: none;
    margin-bottom: 24px;
}

.card-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(74, 50, 40, 0.08);
}

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

.feature-icon {
    color: var(--accent);
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

/* ===== PRICING GRID ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.pricing-option {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 12px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--border-subtle);
    background: rgba(234, 231, 220, 0.5);
    transition: var(--transition);
    cursor: pointer;
}

.pricing-option.featured {
    border-color: var(--accent-dark);
    background: rgba(232, 180, 184, 0.18);
    transform: scale(1.03);
    box-shadow: 0 4px 20px var(--glow-accent-strong);
}

.pricing-discount-badge {
    position: absolute;
    top: -10px;
    right: -6px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 6px;
    background: var(--accent);
    color: #FFFFFF;
}

.pricing-period {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    font-weight: 500;
}

.pricing-amount-old {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-bottom: 2px;
}

.pricing-amount {
    font-family: 'Inter', sans-serif;
    font-size: clamp(24px, 5.5vw, 30px);
    font-weight: 300;
    color: var(--text-primary);
    line-height: 1;
    letter-spacing: -0.01em;
}

.pricing-option.featured .pricing-amount {
    color: var(--accent-dark);
    font-size: clamp(28px, 6vw, 34px);
    font-weight: 400;
}

/* ===== USERNAME INPUT ===== */
.username-input-wrapper {
    margin-bottom: 16px;
}

.username-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-align: center;
}

.username-field {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    transition: var(--transition);
}

.username-field:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--glow-accent);
}

.username-at {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent);
    margin-right: 4px;
    flex-shrink: 0;
}

.username-input {
    flex: 1;
    border: none;
    background: transparent;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-primary);
    outline: none;
}

.username-input::placeholder {
    color: var(--text-muted);
    opacity: 0.5;
}

.username-error {
    display: none;
    font-size: 12px;
    color: var(--accent);
    margin-top: 6px;
    text-align: center;
}

.username-error.visible {
    display: block;
}

.pricing-note {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
}

.card-bottom {
    margin-top: auto;
}

/* ===== CONSENT CHECKBOX ===== */
.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
    cursor: pointer;
    user-select: none;
}

.consent-checkbox {
    display: none;
}

.consent-checkmark {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent);
    border-radius: 4px;
    position: relative;
    transition: var(--transition);
    margin-top: 1px;
}

.consent-checkbox:checked + .consent-checkmark {
    background: var(--accent);
}

.consent-checkbox:checked + .consent-checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.consent-text {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

.consent-link {
    color: var(--accent);
    text-decoration: underline;
    transition: var(--transition);
}

.consent-link:hover {
    opacity: 0.8;
}

.consent-label.error .consent-checkmark {
    border-color: #E85A4F;
    box-shadow: 0 0 0 2px rgba(232, 90, 79, 0.2);
}

.card-button {
    display: block;
    width: 100%;
    padding: 16px 24px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #FFFFFF;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card-button::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: var(--transition);
}

.card-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.card-button:hover::after {
    opacity: 0;
}

/* ===== CROSS-LINK ===== */
.cross-link {
    padding: 20px 0;
}

.cross-link-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 28px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.cross-link-card:hover {
    border-color: var(--border-accent);
}

.cross-link-icon {
    font-size: 36px;
    flex-shrink: 0;
}

.cross-link-body {
    flex: 1;
}

.cross-link-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.cross-link-text {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.cross-link-button {
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-accent);
    color: var(--accent);
    white-space: nowrap;
    transition: var(--transition);
}

.cross-link-button:hover {
    background: var(--glow-accent);
}

/* ===== REVIEWS ===== */
.reviews-carousel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.review-card {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.review-card:hover {
    border-color: var(--border-accent);
}

.review-stars {
    color: var(--accent);
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.review-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 16px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    color: #FFFFFF;
    flex-shrink: 0;
}

.review-avatar-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--border-accent);
}

.review-name {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.review-sub {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
}

/* ===== FAQ ===== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-card);
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--border-accent);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    font-size: 15px;
    font-weight: 500;
    text-align: left;
    transition: var(--transition);
}

.faq-icon {
    font-size: 20px;
    color: var(--accent);
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 12px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 600px;
}

.faq-answer p {
    padding: 0 20px 18px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-subtle);
    position: relative;
    z-index: 1;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.footer-name {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
}

.footer-motto {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 13px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-legal {
    font-size: 12px;
    color: var(--text-muted);
}

.footer-legal a {
    color: var(--accent);
    opacity: 0.7;
}

.footer-legal a:hover {
    opacity: 1;
}

/* ===== WHAT'S INSIDE ===== */
.whats-inside {
    padding: 40px 0 20px;
    position: relative;
    z-index: 1;
}

.whats-inside-title {
    font-family: var(--font-heading);
    font-size: clamp(22px, 4vw, 32px);
    font-weight: 600;
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.feature-blocks {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 560px;
    margin: 0 auto;
}

.feature-block {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: transparent;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--accent);
    transition: var(--transition);
}

.feature-block-num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.feature-block p {
    font-size: 15px;
    color: var(--text-primary);
    line-height: 1.5;
    margin: 0;
    padding-top: 4px;
}

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    cursor: pointer;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-img {
    max-width: 92vw;
    height: 92vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    transform: scale(0.9);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: default;
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

/* ===== CROSS-LINK HEADING ===== */
.cross-link-heading {
    font-family: var(--font-heading);
    font-size: clamp(20px, 5vw, 44px);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
}

/* ===== ABOUT PHOTO ===== */
.about-photo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
}

.about-photo-img {
    width: 100%;
    max-width: 320px;
    border-radius: var(--radius-md);
    border: 2px solid var(--border-accent);
    box-shadow: 0 8px 30px var(--glow-accent);
    object-fit: cover;
}

.about-photo-name {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 12px;
}

/* ===== PAYMENT RESULT OVERLAY ===== */
.payment-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.payment-overlay.active {
    opacity: 1;
    visibility: visible;
}

.payment-result {
    width: 100%;
    max-width: 400px;
    background: var(--bg-primary);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-md);
    padding: 40px 28px;
    text-align: center;
    transform: scale(0.92) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.payment-overlay.active .payment-result {
    transform: scale(1) translateY(0);
}

.payment-result-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.payment-result-icon.fail {
    background: #cc4444;
}

.payment-result-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.payment-result-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.payment-result-btn {
    display: block;
    width: 100%;
    padding: 16px 24px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #0088cc, #006699);
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
    margin-bottom: 16px;
}

.payment-result-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 136, 204, 0.3);
}

.payment-result-note {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ===== CAROUSEL ARROWS ===== */
.carousel-arrow {
    display: none;
}

/* ===== CROSS-LINK PREVIEW ===== */
.cross-link-preview {
    display: none;
}

/* ===== STICKY MOBILE CTA ===== */
.sticky-cta {
    display: block;
    position: fixed;
    bottom: 28px;
    left: 16px;
    right: 16px;
    z-index: 999;
    padding: 16px;
    background: var(--accent);
    color: #fff;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.sticky-cta:active {
    transform: scale(0.97);
}
.sticky-cta.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(100%);
}

/* ===== NOISE TEXTURE OVERLAY ===== */
.noise-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* ===== SECTION WAVE DIVIDERS ===== */
.section-wave {
    display: none;
    position: relative;
    z-index: 1;
    margin-top: -1px;
    line-height: 0;
}
.section-wave svg {
    width: 100%;
    height: 40px;
    display: block;
}
.section-wave-flip {
    transform: scaleY(-1);
}

/* ===== @property for gradient animation ===== */
@property --gradient-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

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

/* ===== DESKTOP ANIMATIONS ===== */
@keyframes heroTitleReveal {
    0% { clip-path: inset(0 100% 0 0); -webkit-clip-path: inset(0 100% 0 0); opacity: 0; transform: translateY(30px); }
    100% { clip-path: inset(0 0 0 0); -webkit-clip-path: inset(0 0 0 0); opacity: 1; transform: translateY(0); }
}

@keyframes heroSubtitleFade {
    0% { opacity: 0; transform: translateX(-20px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -100% 0; }
}

@keyframes statPop {
    0% { transform: scale(0.5); opacity: 0; }
    70% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

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

@keyframes blurToSharp {
    0% { filter: blur(12px); opacity: 0.6; }
    100% { filter: blur(0); opacity: 1; }
}

@keyframes fadeSlideUp {
    0% { opacity: 0; transform: translateY(60px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== FADE-IN ANIMATION ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE — TABLET (768px+) ===== */
@media (min-width: 768px) {
    .sticky-cta {
        display: none;
    }
    .section {
        padding: 80px 0;
    }

    .container {
        padding: 0 40px;
    }

    .carousel-card {
        height: 340px;
    }

    .reviews-carousel {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .feature-blocks {
        max-width: 700px;
    }

    .channel-subtitle {
        max-width: 580px;
    }
}

/* ===== RESPONSIVE — DESKTOP (1025px+) ===== */
@media (min-width: 1025px) {
    /* Show section waves on desktop */
    .section-wave {
        display: block;
    }

    /* --- Enhanced fade-in with scale --- */
    .fade-in {
        opacity: 0;
        transform: translateY(40px) scale(0.98);
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .fade-in.visible {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    .section {
        padding: 100px 0;
    }

    .container {
        padding: 0 60px;
    }

    /* --- Hero: dramatic editorial with curtain --- */
    .channel-header {
        min-height: 70vh;
        display: flex;
        align-items: center;
        position: relative;
        overflow: hidden;
    }
    .channel-header::before {
        content: '';
        position: absolute;
        width: 600px;
        height: 600px;
        border-radius: 50%;
        background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
        opacity: 0.12;
        bottom: -200px;
        right: -100px;
        animation: bokehFloat 20s ease-in-out infinite;
        pointer-events: none;
    }
    .channel-header .container {
        text-align: left;
    }
    .channel-title {
        font-size: 72px;
        letter-spacing: -0.02em;
        line-height: 1.05;
        max-width: 700px;
    }
    .channel-title.fade-in.visible {
        animation: heroTitleReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    .channel-subtitle {
        text-align: left;
        max-width: 500px;
        font-size: 18px;
        margin: 0;
    }
    .channel-subtitle.fade-in.visible {
        animation: heroSubtitleFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
    }

    /* --- Hero phone mockup --- */
    .hero-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 60px;
    }
    .hero-text {
        flex: 1;
    }
    .hero-phone {
        display: block;
        flex: 0 0 auto;
    }
    .phone-mockup {
        width: 280px;
        animation: phoneFloat 6s ease-in-out infinite;
        box-shadow:
            0 0 0 2px #2a2a2a,
            0 30px 80px rgba(0, 0, 0, 0.25),
            0 10px 30px rgba(0, 0, 0, 0.15);
    }
    .phone-mockup:hover {
        transform: scale(1.03) translateY(-8px);
    }
    @keyframes phoneFloat {
        0%, 100% { transform: translateY(0px); }
        50% { transform: translateY(-15px); }
    }

    /* --- Carousel: cinematic gallery with blur-to-sharp --- */
    .carousel {
        padding: 60px 0 80px;
    }
    .carousel-card {
        height: 460px;
        border-radius: var(--radius-lg);
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
        overflow: hidden;
    }
    .carousel-card:hover {
        transform: translateY(-12px) scale(1.03);
        box-shadow: 0 20px 60px var(--glow-accent-strong);
    }
    .carousel-card:hover .carousel-photo {
        transform: scale(1.05);
        filter: blur(0);
    }
    .carousel-photo {
        transition: transform 0.6s ease, filter 0.8s ease;
    }
    /* Blur-to-sharp on scroll reveal */
    .carousel-card .carousel-photo {
        filter: blur(4px);
    }
    .carousel-card:nth-child(n) .carousel-photo {
        animation: blurToSharp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        animation-delay: calc(var(--card-index, 0) * 0.1s);
    }
    .carousel-viewport {
        scroll-snap-type: none;
    }
    .carousel-card {
        scroll-snap-align: none;
    }
    .carousel-track {
        gap: 24px;
        padding: 20px 0;
    }
    .carousel-dot:hover {
        transform: scale(1.3);
    }

    /* --- Features: glassmorphism bento grid --- */
    .whats-inside {
        padding: 60px 0 40px;
    }
    .whats-inside-title {
        text-align: left;
        font-size: 44px;
        margin-bottom: 40px;
    }
    .feature-blocks {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 1000px;
    }
    .feature-block {
        padding: 28px 24px;
        background: rgba(255, 255, 255, 0.4);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-color: rgba(255, 255, 255, 0.5);
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
        transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .feature-block:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 48px var(--glow-accent);
        border-color: var(--accent);
    }
    .feature-block p { font-size: 16px; }
    .feature-block-num {
        width: 40px;
        height: 40px;
        font-size: 16px;
        box-shadow: 0 0 0 6px var(--glow-accent);
        transition: transform 0.4s ease, box-shadow 0.4s ease;
    }
    .feature-block:hover .feature-block-num {
        transform: scale(1.15);
        box-shadow: 0 0 0 10px var(--glow-accent-strong);
    }
    /* Staggered reveal */
    .feature-block.fade-in:nth-child(1) { transition-delay: 0s; }
    .feature-block.fade-in:nth-child(2) { transition-delay: 0.1s; }
    .feature-block.fade-in:nth-child(3) { transition-delay: 0.2s; }
    .feature-block.fade-in:nth-child(4) { transition-delay: 0.3s; }
    .feature-block.fade-in:nth-child(5) { transition-delay: 0.4s; }

    /* --- Subscribe: premium floating card with negative margin overlap --- */
    .subscribe {
        padding: 120px 0;
        margin-top: -60px;
        position: relative;
        z-index: 2;
    }
    .sub-card {
        max-width: 900px;
        padding: 48px 56px;
        background: rgba(255, 255, 255, 0.45);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border: 1px solid rgba(255, 255, 255, 0.6);
        box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06), 0 0 0 1px var(--glow-accent);
        border-radius: var(--radius-lg);
        transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .sub-card::before {
        height: 4px;
        background: conic-gradient(from var(--gradient-angle, 0deg), var(--accent), var(--accent-light), var(--accent-dark), var(--accent));
        background-size: 200% 100%;
        animation: rotateGradient 4s linear infinite, gradientShift 4s ease infinite;
    }
    .sub-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
    }
    .card-title { font-size: 30px; }
    .card-description { font-size: 16px; }
    .card-features li { font-size: 16px; }
    .pricing-grid { gap: 16px; margin: 32px 0; }
    .pricing-option {
        padding: 24px 16px;
        background: rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .pricing-option:hover {
        transform: scale(1.05);
        box-shadow: 0 8px 32px var(--glow-accent);
    }
    .pricing-option.featured:hover { transform: scale(1.08); }
    .pricing-amount { font-size: 30px; font-weight: 300; }
    .pricing-option.featured .pricing-amount { font-size: 34px; font-weight: 400; }

    /* --- Magnetic button with shimmer --- */
    .card-button {
        padding: 18px 32px;
        font-size: 16px;
        border-radius: var(--radius-lg);
        position: relative;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .card-button::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,0.3) 50%, transparent 75%);
        background-size: 300% 100%;
        animation: shimmer 3s ease-in-out infinite;
    }
    .card-button:hover {
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    }

    /* --- About: editorial magazine spread with curtain reveal --- */
    .about {
        margin-top: -40px;
        position: relative;
        z-index: 3;
    }
    .about-layout {
        flex-direction: row;
        align-items: flex-start;
        gap: 100px;
    }
    .about-text { flex: 1.3; }
    .about-visual {
        display: flex;
        flex: 0 0 auto;
        position: sticky;
        top: 120px;
        align-self: flex-start;
    }
    .about-photo {
        position: relative;
        overflow: hidden;
    }
    .about-photo-img {
        width: 380px;
        border-radius: var(--radius-lg);
        box-shadow: 0 16px 48px var(--glow-accent-strong);
        transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
    }
    /* Curtain reveal effect on about photo */
    .about-photo::after {
        content: '';
        position: absolute;
        inset: 0;
        background: var(--accent);
        border-radius: var(--radius-lg);
        transform-origin: right;
        transform: scaleX(1);
        transition: transform 0.9s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1;
    }
    .about-photo.fade-in.visible::after {
        transform: scaleX(0);
    }
    .about-photo-img:hover {
        transform: scale(1.02) rotate(-0.5deg);
        box-shadow: 0 24px 64px var(--glow-accent-strong);
    }
    .about-visual-img {
        width: 380px;
        border-radius: var(--radius-lg);
        box-shadow: 0 16px 48px var(--glow-accent-strong);
        transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
    }
    .about-visual-img:hover {
        transform: scale(1.02) rotate(-0.5deg);
        box-shadow: 0 24px 64px var(--glow-accent-strong);
    }
    .about-description { font-size: 17px; }
    .section-title { font-size: 44px; }
    .about-stats { gap: 20px; }

    /* Stats with glassmorphism */
    .stat {
        background: rgba(255, 255, 255, 0.45);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border: 1px solid rgba(255, 255, 255, 0.5);
        border-radius: var(--radius-md);
        padding: 32px 20px;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .stat:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 36px var(--glow-accent);
    }
    .stat-number { font-size: 20px; }

    /* --- Reviews: masonry-style with micro-tilt --- */
    .reviews {
        margin-top: -30px;
        position: relative;
        z-index: 4;
    }
    .reviews-carousel {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }
    .review-card {
        padding: 32px;
        background: rgba(255, 255, 255, 0.4);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border: 1px solid rgba(255, 255, 255, 0.5);
        border-radius: var(--radius-lg);
        transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .review-card:nth-child(2) { transform: translateY(20px); }
    .review-card:hover {
        transform: translateY(-8px) rotate(-0.5deg);
        box-shadow: 0 20px 48px var(--glow-accent);
    }
    .review-card:nth-child(2):hover { transform: translateY(12px) rotate(0.5deg); }
    .review-text { font-size: 15px; }
    /* Staggered reveal */
    .review-card.fade-in:nth-child(1) { transition-delay: 0s; }
    .review-card.fade-in:nth-child(2) { transition-delay: 0.15s; }
    .review-card.fade-in:nth-child(3) { transition-delay: 0.3s; }

    /* --- FAQ: elegant accordion with slide --- */
    .faq-list { max-width: 900px; gap: 12px; }
    .faq-item {
        background: rgba(255, 255, 255, 0.35);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.5);
        border-radius: var(--radius-md);
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .faq-item:hover {
        transform: translateX(4px);
        border-color: var(--accent);
    }
    .faq-question { font-size: 17px; }
    .faq-answer p { font-size: 15px; }
    .faq-icon { transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }

    /* --- Carousel arrows (desktop only) --- */
    .carousel {
        position: relative;
    }
    .carousel-arrow {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 50%;
        transform: translateY(-60%);
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.8);
        color: var(--text-primary);
        cursor: pointer;
        z-index: 10;
        transition: all 0.3s ease;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    }
    .carousel-arrow:hover {
        background: rgba(255, 255, 255, 0.95);
        transform: translateY(-60%) scale(1.1);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    }
    .carousel-arrow-left {
        left: 16px;
    }
    .carousel-arrow-right {
        right: 16px;
    }

    /* --- Cross-link with preview images --- */
    .cross-link-card {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 40px;
        padding: 48px 56px;
        background: rgba(255, 255, 255, 0.35);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-radius: var(--radius-lg);
        max-width: 1200px;
        margin: 0 auto;
        transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .cross-link-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 48px var(--glow-accent);
    }
    .cross-link-body {
        flex: 1;
    }
    .cross-link-title {
        font-size: 38px;
        margin-bottom: 16px;
    }
    .cross-link-text {
        font-size: 19px;
        margin-bottom: 28px;
        line-height: 1.6;
    }
    .cross-link-preview {
        display: flex;
        gap: 12px;
        flex-shrink: 0;
    }
    .cross-link-img {
        width: 180px;
        height: 240px;
        object-fit: cover;
        border-radius: var(--radius-sm);
        border: 1px solid rgba(255, 255, 255, 0.5);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .cross-link-img:nth-child(2) {
        transform: translateY(-8px);
    }
    .cross-link-img:hover {
        transform: translateY(-6px) scale(1.05);
        box-shadow: 0 12px 32px var(--glow-accent);
    }
    .cross-link-img:nth-child(2):hover {
        transform: translateY(-14px) scale(1.05);
    }
    .cross-link-button {
        display: inline-block;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .cross-link-button:hover {
        transform: scale(1.05);
    }

    /* --- Footer: direction-aware animated underlines --- */
    .footer { padding: 60px 0; }
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    .footer-brand { flex: 1; }
    .footer-links {
        flex: 1;
        justify-content: center;
    }
    .footer-links a {
        position: relative;
    }
    .footer-links a::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 100%;
        height: 1.5px;
        background: var(--accent);
        transform: scaleX(0);
        transform-origin: right;
        transition: transform 0.3s ease;
    }
    .footer-links a:hover::after {
        transform: scaleX(1);
        transform-origin: left;
    }
    .footer-legal {
        flex: 1;
        text-align: right;
    }

    /* --- Mesh gradient enhanced on desktop --- */
    .bokeh-circle {
        opacity: 0.22;
        filter: blur(100px);
    }
    .bokeh-1 { width: 60vmax; height: 60vmax; }
    .bokeh-2 { width: 50vmax; height: 50vmax; }
    .bokeh-3 { width: 55vmax; height: 55vmax; }
    .bokeh-4 { width: 45vmax; height: 45vmax; }
    .bokeh-5 { width: 40vmax; height: 40vmax; }
    .bokeh-bg::after {
        content: '';
        position: absolute;
        width: 50vmax;
        height: 50vmax;
        border-radius: 50%;
        filter: blur(120px);
        opacity: 0.15;
        background: radial-gradient(circle, #F5D5CE 0%, transparent 70%);
        top: 10%;
        right: 30%;
        animation: meshBlob4 13s ease-in-out infinite reverse;
        pointer-events: none;
    }

    /* --- Scroll-driven animations (Chrome 115+) --- */
    @supports (animation-timeline: view()) {
        .feature-block {
            animation: fadeSlideUp linear both;
            animation-timeline: view();
            animation-range: entry 0% entry 80%;
        }
        .review-card {
            animation: fadeSlideUp linear both;
            animation-timeline: view();
            animation-range: entry 0% entry 80%;
        }
        .stat {
            animation: statPop linear both;
            animation-timeline: view();
            animation-range: entry 0% entry 70%;
        }
        /* Disable JS transition-based fade-in for elements using scroll-driven */
        .feature-block.fade-in,
        .review-card.fade-in {
            opacity: 1;
            transform: none;
            transition: none;
        }
    }
}

/* ===== RESPONSIVE — LARGE DESKTOP (1440px+) ===== */
@media (min-width: 1440px) {
    .container {
        padding: 0 80px;
        max-width: 1400px;
    }

    .section {
        padding: 120px 0;
    }

    .channel-title { font-size: 96px; }
    .section-title { font-size: 52px; }
    .whats-inside-title { font-size: 52px; }
    .stat-number { font-size: 24px; }
    .card-title { font-size: 34px; }
    .carousel-card { height: 520px; }
    .carousel-track { gap: 32px; }
    .channel-subtitle { font-size: 20px; max-width: 550px; }

    /* Wider feature grid */
    .feature-blocks {
        max-width: 1100px;
        gap: 24px;
    }

    /* Larger about gap */
    .about-layout {
        gap: 120px;
    }

    /* Section wave larger */
    .section-wave svg {
        height: 60px;
    }

    /* Larger arrows */
    .carousel-arrow {
        width: 56px;
        height: 56px;
    }
    .carousel-arrow-left {
        left: 32px;
    }
    .carousel-arrow-right {
        right: 32px;
    }
    .cross-link-img {
        width: 220px;
        height: 290px;
    }
    .phone-mockup {
        width: 300px;
    }
}

/* ===== FIXED SUBSCRIBE BUTTON ===== */
.fixed-subscribe-bar {
    display: none;
}

body.tg-webapp .fixed-subscribe-bar {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: transparent;
    pointer-events: none;
}

body.tg-webapp .fixed-subscribe-btn {
    display: block;
    width: 100%;
    padding: 16px 24px;
    text-align: center;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #FFFFFF;
    text-decoration: none;
    pointer-events: all;
    box-shadow: 0 4px 20px var(--glow-accent-strong);
    transition: var(--transition);
}

body.tg-webapp .fixed-subscribe-btn:active {
    transform: scale(0.98);
    opacity: 0.9;
}

body.tg-webapp .footer {
    padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
}

/* ===== TELEGRAM MINI APP SPECIFIC ===== */
body.tg-webapp {
    padding-bottom: env(safe-area-inset-bottom, 0);
}

body.tg-webapp .channel-header {
    padding: 72px 0 12px;
}

body.tg-webapp .hero-phone {
    display: none !important;
}

body.tg-webapp .hero-content {
    display: block;
}

body.tg-webapp .channel-title {
    font-size: 24px;
}

body.tg-webapp .channel-subtitle {
    font-size: 13px;
}

body.tg-webapp .carousel {
    padding: 12px 0 24px;
}

body.tg-webapp .carousel-card {
    height: 300px;
}

body.tg-webapp .carousel-emoji {
    font-size: 48px;
}

body.tg-webapp .carousel-card-hint {
    font-size: 10px;
    padding: 0 12px 8px;
}

body.tg-webapp .content-intro-text {
    font-size: 13px;
}

body.tg-webapp .section {
    padding: 32px 0;
}

body.tg-webapp .section-divider {
    margin-bottom: 16px;
}

body.tg-webapp .section-title {
    font-size: 24px;
    margin-bottom: 8px;
}

body.tg-webapp .section-subtitle {
    margin-bottom: 20px;
    font-size: 13px;
}

body.tg-webapp .about-visual {
    display: none;
}

body.tg-webapp .about-layout {
    gap: 16px;
}

body.tg-webapp .about-description {
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.6;
}

body.tg-webapp .stat {
    padding: 12px 8px;
}

body.tg-webapp .stat-number {
    font-size: 22px;
}

body.tg-webapp .stat-label {
    font-size: 10px;
}

body.tg-webapp .sub-card {
    padding: 20px 16px;
}

body.tg-webapp .card-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

body.tg-webapp .card-title {
    font-size: 20px;
    margin-bottom: 8px;
}

body.tg-webapp .card-description {
    font-size: 13px;
    margin-bottom: 14px;
}

body.tg-webapp .card-features li {
    padding: 4px 0;
    font-size: 13px;
}

body.tg-webapp .card-features {
    margin-bottom: 16px;
}

body.tg-webapp .pricing-grid {
    gap: 6px;
    margin-bottom: 16px;
}

body.tg-webapp .pricing-option {
    padding: 12px 6px;
}

body.tg-webapp .pricing-amount {
    font-size: 20px;
}

body.tg-webapp .pricing-option.featured .pricing-amount {
    font-size: 24px;
}

body.tg-webapp .card-button {
    padding: 12px 20px;
    font-size: 14px;
}

body.tg-webapp .review-card {
    padding: 16px;
}

body.tg-webapp .review-text {
    font-size: 13px;
    margin-bottom: 12px;
}

body.tg-webapp .faq-question {
    padding: 14px 16px;
    font-size: 14px;
}

body.tg-webapp .cross-link-heading {
    font-size: 18px;
    margin-bottom: 12px;
}

body.tg-webapp .about-photo {
    margin-bottom: 16px;
}

body.tg-webapp .about-photo-placeholder {
    width: 90px;
    height: 90px;
}

body.tg-webapp .about-photo-placeholder span {
    font-size: 36px;
}

body.tg-webapp .carousel-detail-icon {
    font-size: 56px;
}

body.tg-webapp .carousel-detail-title {
    font-size: 18px;
}

body.tg-webapp .carousel-detail-text {
    font-size: 13px;
}

body.tg-webapp .footer {
    padding-top: 24px;
    padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px));
}

@supports (padding: env(safe-area-inset-bottom)) {
    body:not(.tg-webapp) .footer {
        padding-bottom: calc(40px + env(safe-area-inset-bottom));
    }
}

/* ===== CONTENT-CAROUSEL: каждая карточка по натуральному aspect-ratio фото ===== */
/* Подход: фиксируем высоту карточки, ширину делаем auto. Тогда <img height:100%> сам
   занимает ширину пропорционально своему натуральному соотношению — каждая карточка
   получает свой "правильный" формат, без letterbox и без crop. */
.content-carousel .carousel-card {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    aspect-ratio: auto;
    height: clamp(280px, 55vw, 440px);
    background: var(--bg-card);
    overflow: hidden;
}
.content-carousel .carousel-photo {
    aspect-ratio: auto;
    height: 100%;
    width: auto;
    object-fit: cover;
    display: block;
}

/* В variant B контент-карусель вверху — делаем её крупнее (больше attention) */
body.ab-carousel-b .content-carousel .carousel-card {
    height: clamp(360px, 75vw, 600px);
}
/* На десктопе тем более крупнее */
@media (min-width: 1024px) {
    body.ab-carousel-b .content-carousel .carousel-card {
        height: clamp(440px, 60vh, 680px);
    }
}

/* ===== CAPSULES LEAD-MAGNET (?v=capsules) ===== */
.capsules-lead {
    padding: 48px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(232, 180, 184, 0.08) 50%, transparent 100%);
}
.capsules-lead-bottom {
    padding-top: 16px;
}
.capsules-card {
    max-width: 640px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid rgba(232, 180, 184, 0.4);
    border-radius: 24px;
    padding: 32px 28px;
    box-shadow: 0 8px 32px rgba(212, 149, 154, 0.12);
    text-align: center;
}
.capsules-badge {
    display: inline-block;
    background: var(--accent-light);
    color: #6b3a3d;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 16px;
}
.capsules-title {
    font-family: Georgia, serif;
    font-size: 28px;
    line-height: 1.2;
    color: #2a2015;
    margin: 0 0 12px;
    font-weight: 600;
}
.capsules-subtitle {
    color: #6b5d50;
    font-size: 15px;
    line-height: 1.5;
    margin: 0 0 24px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}
.capsules-form-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 12px;
}
.capsules-phone-input {
    flex: 1 1 220px;
    min-width: 200px;
    max-width: 320px;
    padding: 14px 18px;
    border: 1.5px solid rgba(212, 149, 154, 0.4);
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    background: #fdfafa;
    color: #2a2015;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.capsules-phone-input:focus {
    border-color: var(--accent-dark);
    box-shadow: 0 0 0 3px rgba(232, 180, 184, 0.2);
}
.capsules-submit-btn {
    padding: 14px 28px;
    background: var(--accent-dark);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    font-family: inherit;
    white-space: nowrap;
}
.capsules-submit-btn:hover:not(:disabled) {
    background: #b07a7e;
    transform: translateY(-1px);
}
.capsules-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.capsules-hint {
    font-size: 13px;
    color: #8a7a6d;
    line-height: 1.4;
    margin-top: 8px;
}

/* Чекбоксы согласия внутри capsules-card */
.capsules-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 12px;
    text-align: left;
    cursor: pointer;
    font-size: 13px;
    color: #6b5d50;
    line-height: 1.4;
}
.capsules-consent .consent-text {
    flex: 1;
}
.capsules-consent + .capsules-hint {
    margin-top: 14px;
}
.capsules-error {
    margin-top: 10px;
    padding: 10px 14px;
    background: #fef0f0;
    border: 1px solid #f5c2c2;
    color: #8a3a3a;
    border-radius: 10px;
    font-size: 14px;
    text-align: left;
}

@media (max-width: 480px) {
    .capsules-title { font-size: 22px; }
    .capsules-card { padding: 24px 18px; border-radius: 18px; }
    .capsules-phone-input, .capsules-submit-btn { width: 100%; max-width: none; }
}
