:root {
    --cream-0: #fdf8f2;
    --cream-1: #fcf3eb;
    --cream-2: #f6eadb;
    --line: #e6d7c8;
    --text-main: #4a423b;
    --text-soft: #7a6f64;
    --text-hint: #a4978b;
    --peach: #f0ab74;
    --peach-pressed: #e2aa7e;
    --green-soft: #8bb074;
    --brown-strong: #875f43;
    --shadow-soft: 0 16px 40px rgba(96, 68, 45, 0.08);
    --radius-card: 22px;
    --radius-pill: 999px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    font-family: "Nunito", "Segoe UI", Arial, sans-serif;
    background: linear-gradient(180deg, var(--cream-0) 0%, #f9efe2 100%);
    color: var(--text-main);
    line-height: 1.45;
    overflow-x: hidden;
}

.container {
    width: min(1120px, 92%);
    margin-inline: auto;
}

.bg-glow {
    position: fixed;
    pointer-events: none;
    z-index: -1;
    width: 360px;
    height: 360px;
    filter: blur(70px);
    opacity: 0.35;
}

.bg-glow-left {
    top: -80px;
    left: -80px;
    background: radial-gradient(circle, #f9d7b4 0%, rgba(249, 215, 180, 0) 70%);
    animation: floatSlow 8s ease-in-out infinite;
}

.bg-glow-right {
    top: 220px;
    right: -120px;
    background: radial-gradient(circle, #dce8d5 0%, rgba(220, 232, 213, 0) 70%);
    animation: floatSlow 10s ease-in-out infinite reverse;
}

.topbar {
    position: sticky;
    top: 14px;
    z-index: 50;
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: rgba(253, 248, 242, 0.88);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 10px 14px;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(8px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 800;
    letter-spacing: 0.2px;
}

.brand img {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    border: 1px solid var(--line);
    background: #fff;
}

.menu {
    display: flex;
    gap: 14px;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--cream-1);
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    padding: 7px 10px;
    color: var(--text-soft);
    font-weight: 700;
    font-size: 0.88rem;
}

.language-select {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 4px 8px;
    background: #fffdf9;
    color: var(--text-main);
    font-family: inherit;
    font-weight: 700;
    font-size: 0.86rem;
}

.menu a {
    text-decoration: none;
    color: var(--text-soft);
    font-weight: 700;
    font-size: 0.95rem;
}

.menu a:hover {
    color: var(--brown-strong);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    padding: 12px 20px;
    font-weight: 800;
    letter-spacing: 0.2px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-disabled {
    pointer-events: none;
    opacity: 0.95;
}

.btn-primary {
    color: #fff8f2;
    background: linear-gradient(130deg, var(--peach) 0%, var(--peach-pressed) 100%);
    box-shadow: 0 8px 20px rgba(210, 150, 103, 0.32);
}

.btn-secondary {
    color: var(--text-main);
    background: var(--cream-1);
    border-color: var(--line);
}

.btn-small {
    padding: 9px 14px;
    font-size: 0.88rem;
}

.hero {
    padding: 54px 0 28px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 34px;
    align-items: center;
}

.eyebrow {
    margin: 0 0 6px;
    color: var(--brown-strong);
    font-weight: 800;
}

h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.05;
    letter-spacing: 0.2px;
}

.lead {
    color: var(--text-soft);
    font-size: 1.1rem;
    margin: 14px 0 20px;
    max-width: 56ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-badges {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-badges li {
    background: var(--cream-1);
    border: 1px solid var(--line);
    color: var(--text-soft);
    border-radius: var(--radius-pill);
    padding: 7px 12px;
    font-weight: 700;
    font-size: 0.9rem;
}

.hero-art {
    position: relative;
}

.hero-logo {
    position: absolute;
    top: -18px;
    right: -4px;
    width: clamp(86px, 16vw, 130px);
    border-radius: 26px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    background: #fff;
}

.hero-ui {
    width: 100%;
    border-radius: var(--radius-card);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    background: #fff;
}

section {
    padding: 26px 0;
}

h2 {
    margin: 0 0 10px;
    font-size: clamp(1.45rem, 2.5vw, 2rem);
}

h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
}

p {
    margin: 0;
}

.feature-grid,
.faq-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cozy-card {
    background: linear-gradient(170deg, var(--cream-1), #fbf0e5);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    padding: 18px;
}

.cozy-card p {
    color: var(--text-soft);
}

.showcase p,
.themes p {
    color: var(--text-soft);
    margin-bottom: 14px;
}

.showcase-media,
.themes-media {
    border-radius: var(--radius-card);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    background: #fff;
}

.showcase-media img,
.themes-media img {
    display: block;
    width: 100%;
    height: auto;
}

.theme-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.chip {
    border-radius: var(--radius-pill);
    border: 1px solid var(--line);
    padding: 8px 12px;
    font-weight: 800;
    font-size: 0.92rem;
}

.chip-free {
    background: #fff7ef;
}

.chip-pro {
    background: #f2ecdc;
}

.chip-dark {
    background: #302923;
    color: #f6e7d7;
    border-color: #4f4339;
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.plan ul {
    margin: 0;
    padding-left: 18px;
    color: var(--text-soft);
}

.plan li {
    margin: 6px 0;
}

.plan-pro {
    border-color: #dfc7ad;
    background: linear-gradient(165deg, #fff3e6 0%, #f2ebdf 100%);
}

.privacy-cta .privacy-box {
    display: grid;
    gap: 14px;
}

.faq-grid .cozy-card {
    min-height: 150px;
}

.footer {
    margin-top: 30px;
    background: #f8ecdd;
    border-top: 1px solid var(--line);
    padding-top: 22px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
}

.footer p {
    color: var(--text-soft);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-store {
    color: var(--text-soft);
    font-weight: 800;
}

.footer-links a {
    color: var(--brown-strong);
    text-decoration: none;
    font-weight: 700;
}

.copyright {
    text-align: center;
    font-size: 0.88rem;
    color: var(--text-hint);
    padding: 16px 0 24px;
    margin: 8px 0 0;
}

.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

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

@keyframes floatSlow {
    0% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-18px) translateX(10px);
    }
    100% {
        transform: translateY(0) translateX(0);
    }
}

@media (max-width: 980px) {
    .topbar {
        flex-wrap: wrap;
        justify-content: center;
    }

    .menu {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .topbar-actions {
        order: 2;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

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

    .hero-logo {
        top: 8px;
        right: 8px;
    }

    .feature-grid,
    .faq-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .feature-grid,
    .faq-grid,
    .plan-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 24px;
    }

    .footer-inner {
        flex-direction: column;
    }
}
