/* ── Tokens ── */
:root {
    /* App palette */
    --c-pink: #CC4968;
    --c-pink-soft: #ECADB6;
    --c-coral: #F4796A;
    --c-cream: #D2C8AC;
    --c-lavender: #E2B2D1;
    --c-purple: #6C4D7E;
    --c-purple-soft: #B384B0;
    --c-teal: #A9D1D9;
    --c-sage: #E6E0BA;
    --c-green: #9ACAAE;
    --c-brown: #856441;
    --c-orange-soft: #FBC388;
    --c-peach: #EDCDB6;
    --c-blush: #FFDDD7;

    /* Surfaces */
    --c-bg: #FDF8F4;
    --c-surface: #FFFFFF;
    --c-text: #1A1A1A;
    --c-text-secondary: #4A4A4A;
    --c-text-muted: #8A8A8A;
    --c-border: #EDE6DD;

    --font: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius: 24px;
    --radius-sm: 14px;
    --max-width: 1000px;
    --gutter: 24px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    color: var(--c-text);
    background: var(--c-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    padding: 0 var(--gutter);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Nav ── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 28px;
    background: rgba(253, 248, 244, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.nav-logo img {
    height: 32px;
    width: auto;
}
.nav-links {
    display: flex;
    gap: 32px;
}
.nav-links a {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--c-text-secondary);
    transition: color 0.2s;
    letter-spacing: 0.01em;
}
.nav-links a:hover { color: var(--c-pink); }

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--c-text);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
    display: none;
    position: fixed;
    top: 57px; left: 0; right: 0;
    z-index: 99;
    background: rgba(253, 248, 244, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 20px var(--gutter);
    flex-direction: column;
    gap: 16px;
    border-bottom: 1px solid var(--c-border);
}
.mobile-menu a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--c-text-secondary);
    padding: 8px 0;
}

@media (max-width: 640px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .mobile-menu.open { display: flex; }
}

/* ── Hero ── */
.hero {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 100px 0 40px;
    position: relative;
}
.hero-gradient {
    position: absolute;
    top: 0; left: -var(--gutter); right: -var(--gutter);
    height: 100%;
    background: linear-gradient(135deg, var(--c-pink-soft) 0%, var(--c-blush) 25%, var(--c-peach) 50%, var(--c-sage) 75%, var(--c-green) 100%);
    opacity: 0.25;
    border-radius: 0 0 60px 60px;
    z-index: -1;
    filter: blur(40px);
}
.hero-inner {
    display: flex;
    align-items: center;
    gap: 48px;
    padding: 40px 0;
}
.hero-content {
    flex: 1;
    min-width: 0;
}
.hero-logo {
    width: 160px;
    margin-bottom: 24px;
}
.hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 16px;
    color: var(--c-text);
    text-wrap: balance;
}
.hero h1 span {
    background: linear-gradient(135deg, var(--c-pink) 0%, var(--c-coral) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1rem;
    color: var(--c-text-secondary);
    line-height: 1.9;
    margin-bottom: 32px;
    max-width: 420px;
}

/* Button */
.btn {
    display: inline-block;
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 14px 32px;
    border-radius: 50px;
    transition: transform 0.15s, box-shadow 0.2s;
    cursor: pointer;
    border: none;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
    background: linear-gradient(135deg, var(--c-pink) 0%, var(--c-coral) 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(204, 73, 104, 0.25);
}
.btn-primary:hover {
    box-shadow: 0 8px 28px rgba(204, 73, 104, 0.35);
}

/* Hero screenshot */
.hero-visual {
    flex-shrink: 0;
    position: relative;
}
.hero-screenshot {
    width: 280px;
    border-radius: 12px;
    filter: drop-shadow(0 24px 48px rgba(0,0,0,0.15));
}
.hero-deco {
    position: absolute;
    width: 64px;
    height: 64px;
    object-fit: contain;
}
.hero-deco-1 {
    top: -20px;
    right: -30px;
    animation: float 3s ease-in-out infinite;
}
.hero-deco-2 {
    bottom: 40px;
    left: -40px;
    animation: float 3s ease-in-out infinite 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@media (max-width: 700px) {
    .hero-inner {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }
    .hero-subtitle { max-width: 100%; }
    .hero-logo { margin-left: auto; margin-right: auto; }
    .hero-screenshot { width: 240px; }
    .hero-deco { display: none; }
}

/* ── App Showcase ── */
.showcase {
    padding: 40px 0;
    max-width: var(--max-width);
    margin: 0 auto;
}
.showcase-grid {
    display: flex;
    flex-direction: column;
    gap: 56px;
}
.showcase-item {
    display: flex;
    align-items: center;
    gap: 48px;
}
.showcase-item.reverse {
    flex-direction: row-reverse;
}
.showcase-img {
    flex-shrink: 0;
    position: relative;
}
.showcase-img img {
    width: 260px;
    border-radius: 12px;
    filter: drop-shadow(0 16px 40px rgba(0,0,0,0.12));
}
.showcase-text {
    flex: 1;
    min-width: 0;
}
.showcase-step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--c-pink) 0%, var(--c-coral) 100%);
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    box-shadow: 0 4px 12px rgba(204, 73, 104, 0.2);
}
.showcase-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.showcase-text p {
    font-size: 0.92rem;
    color: var(--c-text-secondary);
    line-height: 1.85;
}

@media (max-width: 700px) {
    .showcase-item,
    .showcase-item.reverse {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    .showcase-img img {
        width: 220px;
        margin: 0 auto;
    }
    .showcase-step {
        margin-left: auto;
        margin-right: auto;
    }
}

/* ── Features ── */
.features {
    padding: 60px 0 80px;
    max-width: var(--max-width);
    margin: 0 auto;
}
.section-header {
    text-align: center;
    margin-bottom: 48px;
}
.section-header h2 {
    font-size: clamp(1.4rem, 3.5vw, 1.8rem);
    font-weight: 800;
    margin-bottom: 8px;
}
.section-header p {
    font-size: 0.92rem;
    color: var(--c-text-muted);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.feature-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 28px 24px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    transition: box-shadow 0.25s, transform 0.2s;
}
.feature-card:hover {
    box-shadow: 0 8px 28px rgba(204, 73, 104, 0.08);
    transform: translateY(-2px);
}
.feature-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
}
.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.feature-text h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.feature-text p {
    font-size: 0.88rem;
    color: var(--c-text-secondary);
    line-height: 1.7;
}

@media (max-width: 640px) {
    .features-grid { grid-template-columns: 1fr; }
}

/* ── CTA ── */
.cta-section {
    text-align: center;
    padding: 60px 0 80px;
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
}
.cta-gradient {
    position: absolute;
    inset: -20px;
    background: linear-gradient(135deg, var(--c-pink-soft) 0%, var(--c-blush) 30%, var(--c-peach) 60%, var(--c-sage) 100%);
    opacity: 0.15;
    border-radius: 32px;
    z-index: -1;
    filter: blur(20px);
}
.cta-section h2 {
    font-size: clamp(1.4rem, 3.5vw, 1.8rem);
    font-weight: 800;
    margin-bottom: 12px;
}
.cta-section p {
    font-size: 0.95rem;
    color: var(--c-text-secondary);
    margin-bottom: 28px;
}
.cta-decos {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 28px;
}
.cta-decos img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    animation: float 3s ease-in-out infinite;
}
.cta-decos img:nth-child(2) { animation-delay: 1s; }
.cta-decos img:nth-child(3) { animation-delay: 2s; }

/* ── Footer ── */
.footer {
    border-top: 1px solid var(--c-border);
    padding: 36px 0 20px;
    max-width: var(--max-width);
    margin: 0 auto;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 28px;
}
.footer-logo img {
    height: 24px;
    width: auto;
    margin-bottom: 6px;
}
.footer-brand p {
    font-size: 0.82rem;
    color: var(--c-text-muted);
}
.footer-links {
    display: flex;
    gap: 24px;
}
.footer-links a {
    font-size: 0.82rem;
    color: var(--c-text-secondary);
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--c-pink); }
.footer-bottom {
    border-top: 1px solid var(--c-border);
    padding-top: 14px;
}
.footer-bottom p {
    font-size: 0.78rem;
    color: var(--c-text-muted);
    text-align: center;
}

@media (max-width: 640px) {
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}

/* ── Legal pages (privacy, terms) ── */
.legal-page {
    padding: 100px 0 80px;
    max-width: 680px;
    margin: 0 auto;
}
.legal-page h1 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    margin-bottom: 8px;
}
.legal-page .last-updated {
    font-size: 0.82rem;
    color: var(--c-text-muted);
    margin-bottom: 36px;
}
.legal-page h2 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 10px;
    color: var(--c-text);
}
.legal-page p {
    font-size: 0.92rem;
    color: var(--c-text-secondary);
    line-height: 1.85;
    margin-bottom: 14px;
}
.legal-page ul {
    padding-left: 20px;
    margin-bottom: 14px;
}
.legal-page li {
    font-size: 0.92rem;
    color: var(--c-text-secondary);
    line-height: 1.85;
    margin-bottom: 4px;
}

/* ── About page ── */
.about-hero {
    text-align: center;
    padding: 120px 0 48px;
}
.about-hero h1 {
    font-size: clamp(1.6rem, 4.5vw, 2.4rem);
    font-weight: 900;
    margin-bottom: 14px;
}
.about-hero p {
    font-size: 1rem;
    color: var(--c-text-secondary);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.85;
}
.about-content {
    max-width: 680px;
    margin: 0 auto;
    padding: 48px 0 80px;
}
.about-content h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    margin-top: 40px;
}
.about-content h2:first-child { margin-top: 0; }
.about-content p {
    font-size: 0.92rem;
    color: var(--c-text-secondary);
    line-height: 1.85;
    margin-bottom: 14px;
}
.about-content a {
    color: var(--c-pink);
    font-weight: 500;
}
.about-content a:hover {
    text-decoration: underline;
}
