/* --- 1. CONFIG & RESET --- */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;800&family=Unbounded:wght@400;700;900&display=swap');

:root {
    /* Fonts */
    --font-head: 'Unbounded', sans-serif;
    --font-body: 'Manrope', sans-serif;

    /* Sunny Festival Palette */
    --c-bg: #FFF9F0;
    /* Warm off-white (Cream) */
    --c-sun: #FFD700;
    /* Golden Yellow */
    --c-orange: #FF8C00;
    /* Vibrant Orange */
    --c-sky: #00BFFF;
    /* Deep Sky Blue */
    --c-purple: #4B0082;
    /* Indigo/Purple for text contrast */
    --c-pink: #FF1493;
    /* Deep Pink for accents */
    --c-white: #ffffff;

    /* UI Elements */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.6);
    --shadow-soft: 0 10px 30px rgba(255, 140, 0, 0.15);
    /* Warm shadow */
    --shadow-pop: 5px 5px 0px rgba(0, 0, 0, 1);
    /* Comic/Pop-art shadow */

    --radius-lg: 24px;
    --radius-xl: 40px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--c-purple);
    background-color: var(--c-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- 2. BACKGROUND ANIMATION (SUNNY VIBE) --- */
.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Warm Sunny Gradient */
    background: linear-gradient(120deg, #FFEFBA, #FFFFFF, #87CEEB);
    background-size: 300% 300%;
    animation: sunMove 10s ease infinite alternate;
    opacity: 0.6;
}

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

    100% {
        background-position: 100% 50%;
    }
}

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

/* --- 3. TYPOGRAPHY --- */
h1,
h2,
h3,
h4 {
    font-family: var(--font-head);
    line-height: 1.1;
    font-weight: 800;
    text-transform: uppercase;
}

/* --- 4. HEADER --- */
.header {
    padding: 20px 0;
}

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

.logo {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 1.6rem;
    color: var(--c-purple);
    letter-spacing: -1px;
}

.logo-accent {
    color: var(--c-orange);
}

/* Buttons & Links */
.btn {
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.btn:active {
    transform: scale(0.95);
}

.btn--glass {
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--c-purple);
    color: var(--c-purple);
}

.btn--glass:hover {
    background: var(--c-purple);
    color: white;
}

.btn--white {
    background: white;
    color: var(--c-purple);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn--white:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.btn--cta {
    background: var(--c-sun);
    color: var(--c-purple);
    box-shadow: var(--shadow-pop);
    border: 2px solid var(--c-purple);
}

.btn--cta:hover {
    background: #FFED4A;
    transform: translate(-2px, -2px);
    box-shadow: 7px 7px 0px rgba(0, 0, 0, 1);
}

.btn--cta:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
    background: #ddd;
}

.btn--xl {
    width: 100%;
    font-size: 1.2rem;
    padding: 22px;
}

.btn--telegram {
    background: #0088cc;
    color: white;
    box-shadow: 0 10px 20px rgba(0, 136, 204, 0.3);
    border: 2px solid transparent;
}

.btn--telegram:hover {
    background: #0077b5;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 136, 204, 0.4);
}

/* --- 5. HERO --- */
.hero {
    text-align: center;
    padding: 50px 0 40px;
    position: relative;
}

.hero__title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin-bottom: 24px;
    color: var(--c-purple);
}

.h1-sub {
    display: block;
    font-size: 1.3rem;
    color: #555;
    font-weight: 600;
    margin-top: 15px;
    text-transform: none;
    line-height: 1.4;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.highlight {
    color: var(--c-sky);
    position: relative;
    display: inline-block;
}

/* Underline decoration */
.highlight::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 10px;
    bottom: 5px;
    left: 0;
    background: var(--c-sun);
    z-index: -1;
    transform: rotate(-2deg);
    opacity: 0.6;
}

.hero__subtitle {
    font-size: 1.3rem;
    color: #555;
    max-width: 650px;
    margin: 0 auto 50px;
    font-weight: 600;
}

.march-promo-banner {
    background: var(--c-sun);
    color: #333;
    padding: 15px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.march-promo-banner a {
    color: #333;
    font-weight: 600;
    text-decoration: underline;
}

.hero__note {
    margin-top: 0.5rem;
    font-size: 1.1rem;
    color: #ff8fab;
}

/* --- 6. DEMOS (Cards) --- */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--c-purple);
}

.demos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.demo-card {
    background: var(--c-white);
    border-radius: var(--radius-lg);
    padding: 30px;
    display: flex;
    flex-direction: column;
    text-align: center;
    border: 3px solid var(--c-purple);
    box-shadow: var(--shadow-pop);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.demo-card:hover {
    transform: translateY(-8px);
}

/* Decor dots */
.demo-card::before {
    content: '';
    position: absolute;
    top: 15px;
    right: 15px;
    width: 12px;
    height: 12px;
    background: var(--c-purple);
    border-radius: 50%;
    box-shadow: -20px 0 0 var(--c-purple);
}

.card-top {
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-icon {
    font-size: 2rem;
}

.genre-badge {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 30px;
    background: var(--c-sun);
    color: var(--c-purple);
    border: 2px solid var(--c-purple);
}

.demo-card h3 {
    font-size: 1.6rem;
    margin-bottom: 5px;
    color: var(--c-purple);
}

.track-desc {
    color: #666;
    margin-bottom: 25px;
    font-weight: 600;
}

/* Card Center - для выравнивания кнопок */
.card-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Play Button */
.play-btn-lg {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--c-sky);
    color: var(--c-white);
    font-size: 3rem;
    border: 3px solid var(--c-purple);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.play-btn-lg:hover {
    transform: scale(1.1);
    background: var(--c-pink);
}

/* Playing State */
.demo-card.playing {
    border-color: var(--c-pink);
}

.demo-card.playing .play-btn-lg {
    animation: pulse 1.5s infinite;
    background: var(--c-pink);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 20, 147, 0.4);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(255, 20, 147, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 20, 147, 0);
    }
}

.demo-card .icon-pause {
    display: none;
}

.demo-card.playing .icon-play {
    display: none;
}

.demo-card.playing .icon-pause {
    display: block;
}

.waveform-wrapper {
    height: 60px;
    margin-top: auto;
    opacity: 0.8;
}

.waveform-container {
    width: 100%;
    height: 100%;
}

/* --- 7. ORDER FORM --- */
.order-section {
    position: relative;
}

.glass-panel {
    background: var(--c-white);
    border-radius: var(--radius-xl);
    padding: 50px;
    border: 4px solid var(--c-purple);
    box-shadow: 15px 15px 0px rgba(75, 0, 130, 0.15);
    /* Large offset shadow */
    max-width: 800px;
    margin: 0 auto;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    border-bottom: 2px dashed #ddd;
    padding-bottom: 20px;
}

.panel-title {
    font-size: 2.2rem;
    color: var(--c-purple);
}

/* Prices in Header */
.price-tag-top {
    text-align: right;
}

.old-price-top {
    display: block;
    text-decoration: line-through;
    color: #999;
    font-weight: 700;
}

.new-price-top {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--c-pink);
    line-height: 1;
}

.timer-banner {
    background: #FFFbea;
    border: 2px solid var(--c-sun);
    color: #b7791f;
    padding: 15px;
    border-radius: 16px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.timer-banner i {
    color: var(--c-orange);
    font-size: 1.2rem;
}

.timer-banner span {
    font-family: monospace;
    font-size: 1.3rem;
    color: var(--c-purple);
}

/* Form Inputs */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.input-group {
    margin-bottom: 28px;
}

.input-group label {
    display: block;
    font-weight: 800;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: var(--c-purple);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

input,
select,
textarea {
    width: 100%;
    padding: 18px 20px;
    border-radius: 16px;
    border: 3px solid #eee;
    /* Chunky border */
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--c-purple);
    background: #FAFAFA;
    transition: 0.2s;
}

input::placeholder,
textarea::placeholder {
    color: #aaa;
    font-weight: 400;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--c-sky);
    background: white;
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 191, 255, 0.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-section {
    background: #f0f7ff;
    padding: 24px;
    border-radius: 20px;
    border: 2px solid #dcebfb;
}



/* Promo & Total */
.price-section {
    background: var(--c-purple);
    border-radius: 20px;
    padding: 25px;
    margin-top: 30px;
    margin-bottom: 30px;
    color: white;
}

.total-price-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.total-label {
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.9;
}

.calc-main-price {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--c-sun);
}

.calc-old-price {
    font-size: 1.1rem;
    text-decoration: line-through;
    opacity: 0.6;
    margin-right: 15px;
}

/* Promo Input inside dark block */
.promo-input-wrapper {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    gap: 10px;
    padding: 6px;
    border-radius: 12px;
}

.promo-input-wrapper input {
    background: transparent;
    border: none;
    color: white;
    padding: 10px;
}

.promo-input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.promo-input-wrapper input:focus {
    box-shadow: none;
    border: none;
}

.btn-check {
    background: var(--c-sun);
    color: var(--c-purple);
    border: none;
    width: 45px;
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
}

.promo-message {
    margin-top: 8px;
    font-size: 0.9rem;
    min-height: 20px;
}

.promo-message.success {
    color: #4ade80;
}

.promo-message.error {
    color: #fb7185;
}

/* Checkboxes */
.checkbox-wrapper {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    align-items: flex-start;
    font-size: 0.9rem;
    color: #666;
}

.checkbox-wrapper input[type="checkbox"] {
    appearance: none; /* Убираем стандартный стиль браузера */
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    min-width: 22px;
    min-height: 22px;
    padding: 0; /* ОБЯЗАТЕЛЬНО: сбрасываем padding от глобального input */
    border: 2px solid var(--c-purple); /* Свой тонкий бордер */
    border-radius: 6px; /* Делаем аккуратные углы */
    background: #fff;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
    box-sizing: border-box; /* Чтобы размеры были ровно 22px */
    transition: all 0.2s;
}

/* Стиль при наведении */
.checkbox-wrapper input[type="checkbox"]:hover {
    border-color: var(--c-pink);
    box-shadow: 0 0 8px rgba(255, 20, 147, 0.2);
}

/* Стиль когда галочка стоит */
.checkbox-wrapper input[type="checkbox"]:checked {
    background-color: var(--c-purple);
    border-color: var(--c-purple);
}

/* Рисуем саму галочку через псевдоэлемент */
.checkbox-wrapper input[type="checkbox"]:checked::after {
    content: '\eb7a'; /* Код иконки check из твоего Remix Icon */
    font-family: 'remixicon';
    position: absolute;
    color: white;
    font-size: 16px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.link-text {
    color: var(--c-purple);
    font-weight: 700;
    text-decoration: underline;
}

/* Tooltip */
.label-with-tooltip {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.label-with-tooltip label {
    margin-bottom: 0;
}

.tooltip-container {
    position: relative;
    cursor: pointer;
    display: inline-flex;
}

.tooltip-icon {
    color: var(--c-sky);
    font-size: 1.2rem;
}

.tooltip-text {
    visibility: hidden;
    width: 220px;
    background-color: var(--c-purple);
    color: #fff;
    text-align: center;
    border-radius: 12px;
    padding: 12px;
    position: absolute;
    z-index: 100;
    bottom: 140%;
    left: 50%;
    margin-left: -110px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.85rem;
    pointer-events: none;
}

.tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: var(--c-purple) transparent transparent transparent;
}

.tooltip-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}


/* --- 8. FAQ --- */
.faq-section h2 {
    color: var(--c-purple);
    margin-bottom: 50px;
    text-align: center;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.faq-item {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 2px solid #f0f0f0;
}

.faq-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--c-purple);
}

.faq-item p {
    color: #666;
}

/* --- 9. FOOTER --- */
.footer {
    text-align: center;
    padding: 50px 0;
    color: var(--c-purple);
    opacity: 0.8;
    font-weight: 600;
}

.footer__links {
    margin: 15px 0;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer__link-text {
    color: var(--c-purple);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer__link-text:hover {
    color: var(--c-pink);
    text-decoration: underline;
}

.footer__legal {
    margin-top: 10px;
    font-size: 0.75rem;
    opacity: 0.7;
}

/* --- 10. MODAL --- */
.modal {
    padding: 0;
    border: none;
    border-radius: 30px;
    background: transparent;
}

.modal-box {
    background: white;
    padding: 50px;
    text-align: center;
    border-radius: 30px;
    border: 4px solid var(--c-purple);
    box-shadow: var(--shadow-pop);
    max-width: 450px;
}

.confetti-icon {
    font-size: 4rem;
    margin-bottom: 15px;
}

.modal-box h2 {
    font-size: 1.8rem;
    color: var(--c-purple);
    margin-bottom: 10px;
}

.modal::backdrop,
dialog::backdrop {
    background: rgba(75, 0, 130, 0.4);
    backdrop-filter: blur(5px);
}

/* --- 11. DECORATIVE ELEMENTS --- */

/* Floating Hero Shapes */
.hero-shape {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
    animation: floatShape 6s ease-in-out infinite;
}

.hero-shape--1 {
    top: 15%;
    left: 8%;
    animation-delay: 0s;
    font-size: 3rem;
}

.hero-shape--2 {
    top: 25%;
    right: 10%;
    animation-delay: 1s;
    font-size: 2rem;
}

.hero-shape--3 {
    bottom: 20%;
    left: 15%;
    animation-delay: 2s;
    font-size: 2.8rem;
}

.hero-shape--4 {
    top: 10%;
    right: 25%;
    animation-delay: 0.5s;
    font-size: 2.2rem;
}

.hero-shape--5 {
    bottom: 35%;
    right: 8%;
    animation-delay: 1.5s;
    font-size: 3.5rem;
}

.hero-shape--6 {
    bottom: 10%;
    left: 35%;
    animation-delay: 3s;
    font-size: 2rem;
}

@keyframes floatShape {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-15px) rotate(5deg);
    }

    75% {
        transform: translateY(10px) rotate(-3deg);
    }
}

/* Floating Section Shapes */
.section-shape {
    position: absolute;
    font-size: 2rem;
    opacity: 0.12;
    z-index: 0;
    pointer-events: none;
    animation: floatShape 6s ease-in-out infinite;
}

.section-shape--1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.section-shape--2 {
    top: 20%;
    right: 8%;
    animation-delay: 1s;
    font-size: 1.8rem;
}

.section-shape--3 {
    bottom: 15%;
    left: 10%;
    animation-delay: 2s;
    font-size: 2.2rem;
}

.section-shape--4 {
    top: 15%;
    right: 20%;
    animation-delay: 0.5s;
    font-size: 1.6rem;
}

.section-shape--5 {
    bottom: 25%;
    right: 5%;
    animation-delay: 1.5s;
    font-size: 2.5rem;
}

.section-shape--6 {
    bottom: 10%;
    left: 30%;
    animation-delay: 3s;
    font-size: 1.8rem;
}

/* Wave Dividers */
.wave-divider {
    width: 100%;
    line-height: 0;
    margin-top: -2px;
    position: relative;
    z-index: 1;
}

.wave-divider svg {
    width: 100%;
    height: 80px;
    display: block;
}

.wave-divider--flip {
    transform: scaleY(-1);
    margin-top: -1px;
    margin-bottom: -2px;
}

/* Section backgrounds for wave transitions */
.hero {
    background: linear-gradient(180deg, transparent 0%, rgba(255, 140, 0, 0.08) 100%);
}

.demos-section {
    background: linear-gradient(180deg, rgba(0, 191, 255, 0.06) 0%, rgba(75, 0, 130, 0.04) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 40px;
}

.order-section {
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.05) 0%, rgba(255, 20, 147, 0.03) 100%);
}

.faq-section {
    background: linear-gradient(180deg, rgba(0, 191, 255, 0.04) 0%, rgba(75, 0, 130, 0.06) 100%);
}

/* Background Blobs (behind demos) */
.section-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

.section-blob--1 {
    width: 400px;
    height: 400px;
    background: var(--c-sun);
    top: -100px;
    left: -100px;
    animation: blobPulse 8s ease-in-out infinite;
}

.section-blob--2 {
    width: 350px;
    height: 350px;
    background: var(--c-sky);
    bottom: -80px;
    right: -80px;
    animation: blobPulse 10s ease-in-out infinite reverse;
}

@keyframes blobPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.12;
    }

    50% {
        transform: scale(1.15);
        opacity: 0.18;
    }
}

/* Ensure demo content is above blobs */
.demos-section .container {
    position: relative;
    z-index: 1;
}

/* Error text */
.error-text {
    color: red;
    display: none;
    margin-top: 5px;
    font-size: 0.85rem;
}

.input-group.error input {
    border-color: red;
}

.input-group.error .error-text {
    display: block;
}

/* --- MOBILE ADAPT --- */
@media (max-width: 768px) {
    .header__inner {
        flex-direction: column;
        gap: 15px;
    }

    .hero {
        padding-top: 30px;
        padding-bottom: 20px;
    }

    .hero__title {
        font-size: 2.8rem;
    }

    .hero-shape {
        font-size: 1.5rem !important;
        opacity: 0.1;
    }

    .hero-shape--5 {
        display: none;
    }

    .hero-shape--6 {
        display: none;
    }

    .wave-divider svg {
        height: 50px;
    }

    .glass-panel {
        padding: 25px;
        border-width: 3px;
        box-shadow: 8px 8px 0px rgba(75, 0, 130, 0.15);
    }

    .panel-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .price-tag-top {
        text-align: left;
    }

    .form-grid,
    .multi-input {
        grid-template-columns: 1fr;
    }

    .play-btn-lg {
        width: 70px;
        height: 70px;
        font-size: 2.5rem;
    }

    .demos-grid {
        gap: 20px;
    }

    .btn--cta {
        width: 100%;
    }

    .section-blob {
        display: none;
    }
}

/* Legal text colors (dark override) */
.legal-content,
.policy-content {
    color: var(--c-purple);
}

/* --- 12. LEGAL/POLICY STYLES (Общие) --- */
.legal-content,
.policy-content {
    color: var(--c-purple);
    line-height: 1.6;
    font-size: 1rem;
}

.legal-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 5px;
    text-transform: uppercase;
    color: var(--c-purple);
}

.sub-header,
.legal-subtitle {
    text-align: center;
    opacity: 0.7;
    margin-bottom: 30px;
    font-weight: 600;
    font-size: 1.1rem;
}

.legal-content p,
.policy-content p {
    margin-bottom: 12px;
    text-align: justify;
}

.legal-content h3,
.policy-content h3 {
    margin-top: 40px;
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: var(--c-purple);
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 10px;
}

.legal-content ul,
.policy-content ul {
    margin-bottom: 15px;
    padding-left: 30px;
    list-style-type: disc;
}

.legal-content li,
.policy-content li {
    margin-bottom: 8px;
}

.back-btn-wrapper {
    margin-bottom: 20px;
}

/* --- 13. UPDATED FOOTER --- */
.footer {
    background: var(--c-white);
    border-top: 4px solid var(--c-purple);
    padding: 60px 0 40px;
    margin-top: 50px;
    text-align: left;
}

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

.footer__brand .logo {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.footer__copyright {
    color: #888;
    font-size: 0.9rem;
    font-weight: 600;
}

.footer__contacts {
    display: flex;
    gap: 25px;
    align-items: center;
}

.footer__link {
    text-decoration: none;
    color: var(--c-purple);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}

.footer__link:hover {
    color: var(--c-pink);
}

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

/* FAQ Toggle */
.faq-toggle-container {
    text-align: center;
    margin-top: 30px;
    width: 100%;
}

.faq-item.hidden {
    display: none;
}

.btn-toggle-faq {
    border: 2px solid var(--c-purple);
    color: var(--c-purple);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
}

.btn-toggle-faq:hover {
    background: var(--c-purple);
    color: #fff;
}

/* --- HOW IT WORKS --- */
.how-section {
    background: var(--c-bg);
    padding: 60px 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.step-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 2px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 35px 25px;
    text-align: center;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--c-pink), var(--c-orange));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 0.9rem;
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.step-card h3 {
    font-family: var(--font-head);
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--c-purple);
}

.step-card p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}

/* --- WHY US --- */
.why-section {
    background: var(--c-bg);
    padding: 60px 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.why-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 30px 20px;
    text-align: center;
    border: 2px solid transparent;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.why-card:hover {
    transform: translateY(-5px);
    border-color: var(--c-pink);
    box-shadow: 0 10px 30px rgba(255, 20, 147, 0.1);
}

.why-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, var(--c-sun), var(--c-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
}

.why-card h3 {
    font-family: var(--font-head);
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--c-purple);
}

.why-card p {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.5;
}

/* --- STATS --- */
.stats-section {
    background: linear-gradient(135deg, var(--c-purple), #7B1FA2);
    padding: 50px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stat-number {
    font-family: var(--font-head);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--c-sun);
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

/* --- RESPONSIVE: New Sections --- */
@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* Mobile Footer */
@media (max-width: 768px) {
    .footer__container {
        flex-direction: column;
        text-align: center;
    }

    .footer__contacts {
        flex-direction: column;
        gap: 15px;
    }
}

/* --- 14. FEEDBACK MODAL --- */
.modal {
    margin: auto;
    /* Center the dialog */
    max-width: 90%;
    /* Responsive width */
    background: transparent;
    border: none;
    padding: 0;
}

.modal-box {
    background: white;
    padding: 50px;
    border-radius: 30px;
    border: 4px solid var(--c-purple);
    box-shadow: var(--shadow-pop);
    width: 100%;
}

#feedbackModal .modal-box {
    max-width: 600px;
    /* Wider on desktop */
}

#feedbackModal textarea {
    min-height: 250px;
    /* Much taller textarea */
    font-size: 1.1rem;
}

/* --- MOBILE FIXES (max-width: 480px) --- */
@media (max-width: 500px) {
    .hero__title {
        font-size: 2.2rem;
        word-wrap: break-word;
    }

    .section-title {
        font-size: 1.8rem;
        word-wrap: break-word;
        padding: 0 10px;
        /* Prevent touching edges */
    }

    .step-card {
        padding: 30px 15px;
    }

    .why-grid {
        grid-template-columns: 1fr;
        /* 1 column on very small screens */
    }

    /* Fix potential accumulation of margins */
    .container {
        padding: 0 15px;
        width: 100%;
        overflow: hidden;
        /* Ensure container itself doesn't leak */
    }

    /* Ensure huge words break */
    h1,
    h2,
    h3 {
        overflow-wrap: break-word;
        word-break: break-word;
        hyphens: auto;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.modal-header h2 {
    margin-bottom: 0;
    font-size: 1.8rem;
}

.btn-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
    padding: 5px;
}

.btn-close:hover {
    color: var(--c-pink);
}

/* Payment Methods */
.payment-methods {
    margin-top: 15px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: 0.3s;
}

.payment-methods:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.payment-img {
    max-width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.form-helper {
    display: block;
    font-size: 0.75rem;
    color: #666;
    margin-top: 5px;
}

/* --- 8 MARCH THEME --- */
.theme-8march {
    /* Color scheme - Rose Gold / Soft pink */
    --c-bg: #fff0f5;
    --c-sun: #ffb6c1;
    --c-orange: #ff69b4;
    --c-sky: #dda0dd;
    --c-purple: #800080;
    --c-pink: #ff1493;
    --c-white: #ffffff;
}

/* Override section backgrounds for March 8 theme */
.theme-8march .hero {
    background: linear-gradient(180deg, transparent 0%, rgba(255, 182, 193, 0.15) 100%);
}

.theme-8march .demos-section {
    background: linear-gradient(180deg, rgba(221, 160, 221, 0.1) 0%, rgba(255, 105, 180, 0.08) 100%);
}

.theme-8march .order-section {
    background: linear-gradient(180deg, rgba(255, 182, 193, 0.08) 0%, rgba(255, 105, 180, 0.05) 100%);
}

.theme-8march .faq-section {
    background: linear-gradient(180deg, rgba(221, 160, 221, 0.08) 0%, rgba(128, 0, 128, 0.06) 100%);
}

/* Remove uppercase from subtitles for softer look */
.theme-8march .hero__subtitle {
    text-transform: none;
    font-weight: 400;
}

.theme-8march .h1-sub {
    text-transform: none;
}

/* Fuchsia borders for cards */
.theme-8march .demo-card {
    border: 2px solid #ff69b4;
}

.theme-8march .demo-card:hover {
    border-color: #ff1493;
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.25);
}

/* Soft pink glow for CTA buttons */
.theme-8march .btn--cta {
    box-shadow: 0 0 20px rgba(255, 105, 180, 0.4);
    transition: box-shadow 0.3s ease;
}

.theme-8march .btn--cta:hover {
    box-shadow: 0 0 30px rgba(255, 105, 180, 0.6);
}

/* Floral decorations */
.floral-decor {
    position: absolute;
    font-size: 2.5rem;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
    animation: floatShape 4s ease-in-out infinite;
}

.floral-decor--1 {
    top: 5%;
    left: 5%;
    animation-delay: 0.2s;
}

.floral-decor--2 {
    top: 15%;
    right: 8%;
    animation-delay: 0.8s;
    font-size: 2rem;
}

.floral-decor--3 {
    top: 30%;
    left: 3%;
    animation-delay: 1.2s;
}

.floral-decor--4 {
    bottom: 20%;
    right: 5%;
    animation-delay: 1.8s;
    font-size: 3rem;
}

.floral-decor--5 {
    top: 10%;
    left: 10%;
    animation-delay: 0.5s;
}

.floral-decor--6 {
    bottom: 15%;
    right: 8%;
    animation-delay: 2s;
    font-size: 2.8rem;
}

/* Ensure content is above floral decorations */
.theme-8march .demos-section .container,
.theme-8march .how-section .container,
.theme-8march .faq-section .container {
    position: relative;
    z-index: 1;
}

/* Step card hover effect for 8march */
.theme-8march .step-card:hover {
    border-color: #ff69b4;
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.2);
}

/* FAQ item border for 8march */
.theme-8march .faq-item {
    border: 2px solid #ffb6c1;
}

.theme-8march .faq-item:hover {
    border-color: #ff69b4;
}

/* Stats section gradient for 8march */
.theme-8march .stats-section {
    background: linear-gradient(135deg, #800080, #ff69b4);
}

/* Corporate link for wholesale customers */
.corporate-link {
    font-size: 0.85rem;
    color: #888;
    margin-top: 15px;
    text-align: center;
}

.corporate-link a {
    color: #666;
    text-decoration: underline;
}

.corporate-link a:hover {
    color: #444;
}