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

:root {
    --pink: #E8A0B8;
    --pink-light: #F5E0EA;
    --pink-dark: #CC2244;
    --periwinkle: #C8C0DC;
    --periwinkle-light: #DDD8EC;
    --periwinkle-dark: #6B6494;
    --white: #FFFFFF;
    --dark: #2C2535;
    --gray: #6B6494;

    /* Repeated alpha colours */
    --peri-subtle: rgba(200, 192, 220, 0.2);
    --pink-subtle: rgba(232, 160, 184, 0.2);
    --peri-border: rgba(200, 192, 220, 0.3);

    /* Changelog tokens */
    --primary: #CC2244;
    --primary-dark: #6B6494;
    --border: #E8E6ED;
    --background-secondary: #F7F6F9;
    --background-tertiary: #F0EDF3;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Nunito', sans-serif;
    min-height: 100vh;
    background: linear-gradient(145deg, var(--pink-light) 0%, var(--periwinkle-light) 50%, var(--periwinkle) 100%) fixed;
    color: var(--dark);
    overflow-x: hidden;
}

@media (prefers-color-scheme: dark) {
    :root {
        --dark: #E8E6ED;
        --gray: #C8C0DC;
        --border: #2E2636;
        --background-secondary: #241E2C;
        --background-tertiary: #2E2636;
        --primary: #E05070;
        --primary-dark: #C8C0DC;
    }

    body {
        background: linear-gradient(180deg, #1A1520 0%, #120E18 100%) fixed;
        color: #E8E6ED;
    }
}

/* =====================
   Floating Hearts
   ===================== */

.hearts {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.heart {
    position: absolute;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.5rem;
    animation: float 6s ease-in-out infinite;
}

.heart:nth-child(1)  { left: 10%; top: 20%; animation-delay: 0s; }
.heart:nth-child(2)  { left: 20%; top: 60%; animation-delay: 1s;   font-size: 1rem; }
.heart:nth-child(3)  { left: 80%; top: 15%; animation-delay: 2s; }
.heart:nth-child(4)  { left: 85%; top: 70%; animation-delay: 0.5s; font-size: 1.2rem; }
.heart:nth-child(5)  { left: 5%;  top: 80%; animation-delay: 1.5s; font-size: 0.8rem; }
.heart:nth-child(6)  { left: 70%; top: 85%; animation-delay: 2.5s; }
.heart:nth-child(7)  { left: 30%; top: 10%; animation-delay: 3s;   font-size: 1rem; }
.heart:nth-child(8)  { left: 90%; top: 40%; animation-delay: 0.8s; font-size: 0.9rem; }
.heart:nth-child(9)  { left: 50%; top: 50%; animation-delay: 1.8s; font-size: 0.7rem; }
.heart:nth-child(10) { left: 60%; top: 30%; animation-delay: 3.5s; font-size: 1.1rem; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50%       { transform: translateY(-15px) rotate(5deg); }
}

/* =====================
   Shared Utilities
   ===================== */

.glass {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.section {
    position: relative;
    z-index: 1;
    padding: 5rem 1.5rem;
}

.section-inner {
    max-width: 900px;
    margin: 0 auto;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--periwinkle-dark);
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: 'Quicksand', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--gray);
    max-width: 520px;
    line-height: 1.7;
}

/* =====================
   Hero
   ===================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1.5rem 5rem;
    position: relative;
    z-index: 1;
}

.hero-inner { max-width: 560px; }

.icon-wrapper {
    margin-bottom: 1.75rem;
    animation: bounce-in 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes bounce-in {
    0%   { transform: scale(0); opacity: 0; }
    50%  { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.app-icon {
    width: 160px;
    height: 160px;
    border-radius: 36px;
    box-shadow: 0 20px 60px rgba(200, 192, 220, 0.4), 0 8px 20px var(--pink-subtle);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-icon:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 25px 70px rgba(200, 192, 220, 0.5), 0 12px 25px rgba(232, 160, 184, 0.4);
}

h1 {
    font-family: 'Quicksand', sans-serif;
    font-size: clamp(2.8rem, 8vw, 4rem);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    animation: fade-up 0.6s ease-out 0.2s both;
}

.tagline {
    font-size: clamp(1.05rem, 2.5vw, 1.3rem);
    color: var(--gray);
    margin-bottom: 2.5rem;
    font-weight: 500;
    animation: fade-up 0.6s ease-out 0.4s both;
}

@keyframes fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    animation: fade-up 0.6s ease-out 0.6s both;
}

.scroll-hint {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--gray);
    opacity: 0.7;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.scroll-arrow {
    animation: bob 1.5s ease-in-out infinite;
}

@keyframes bob {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(4px); }
}

/* =====================
   Screenshots
   ===================== */

.screenshots-section {
    padding: 3rem 1.5rem;
    position: relative;
    z-index: 1;
}

.screenshots-track {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.screenshot-card {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(45, 42, 74, 0.15), 0 8px 24px var(--peri-subtle);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    flex-shrink: 0;
}

.screenshot-card:hover {
    transform: translateY(-8px) rotate(-1deg);
    box-shadow: 0 32px 80px rgba(45, 42, 74, 0.2), 0 12px 32px rgba(200, 192, 220, 0.3);
}

.screenshot-card:nth-child(2)       { transform: translateY(20px); }
.screenshot-card:nth-child(2):hover { transform: translateY(12px) rotate(1deg); }

.screenshot-img {
    width: 220px;
    height: 476px;
    object-fit: cover;
    display: block;
}

/* =====================
   Cards (shared base)
   ===================== */

.feature-card,
.stat-card,
.signup-card,
.privacy-card {
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.9);
}

/* =====================
   Feature Grid
   ===================== */

.features-section {
    padding: 4rem 1.5rem;
    position: relative;
    z-index: 1;
}

.features-header {
    text-align: center;
    margin-bottom: 3rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    max-width: 900px;
    margin: 0 auto;
}

.feature-card {
    padding: 1.75rem 1.5rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(200, 192, 220, 0.25);
}

.feature-emoji {
    font-size: 2.25rem;
    margin-bottom: 0.9rem;
    display: block;
}

.feature-card h3 {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.65;
}

/* =====================
   Privacy Section
   ===================== */

.privacy-section {
    padding: 4rem 1.5rem;
    position: relative;
    z-index: 1;
}

.privacy-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.privacy-card { padding: 3rem 2.5rem; }

.privacy-pillars {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.pillar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark);
    box-shadow: 0 2px 8px var(--peri-subtle);
}

/* =====================
   Database Stats
   ===================== */

.stats-section {
    padding: 3rem 1.5rem;
    position: relative;
    z-index: 1;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 600px;
    margin: 2rem auto 0;
}

.stat-card { padding: 1.5rem 1rem; text-align: center; }

.stat-number {
    font-family: 'Quicksand', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--pink-dark), var(--periwinkle-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.35rem;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--gray);
    font-weight: 600;
}

/* =====================
   Signup
   ===================== */

.signup-section {
    padding: 4rem 1.5rem;
    position: relative;
    z-index: 10;
}

.signup-inner {
    max-width: 520px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.signup-card {
    padding: 2.25rem 2rem;
    position: relative;
    z-index: 10;
    overflow: visible;
}

.signup-card h2 {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.4rem;
}

.signup-card .sub {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.form-group { text-align: left; }

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gray);
    margin-bottom: 0.35rem;
    letter-spacing: 0.03em;
}

.form-group input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid var(--peri-border);
    border-radius: 12px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    color: var(--dark);
    background: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--pink);
    box-shadow: 0 0 0 3px rgba(232, 160, 184, 0.2);
}

.form-group input::placeholder { color: #B8B8C7; }

/* =====================
   Custom Dropdown
   ===================== */

.custom-dropdown { position: relative; width: 100%; }

.custom-dropdown-trigger {
    width: 100%;
    padding: 0.8rem 2.5rem 0.8rem 1rem;
    border: 2px solid var(--peri-border);
    border-radius: 12px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    color: var(--dark);
    background: var(--white);
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    position: relative;
}

.custom-dropdown-trigger::after {
    content: '';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B6B8D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.2s;
}

.custom-dropdown.open .custom-dropdown-trigger::after { transform: translateY(-50%) rotate(180deg); }

.custom-dropdown-trigger:focus {
    outline: none;
    border-color: var(--pink);
    box-shadow: 0 0 0 3px rgba(232, 160, 184, 0.2);
}

.custom-dropdown-trigger.placeholder { color: #B8B8C7; }

.custom-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0; right: 0;
    background: #FFFFFF;
    border: 2px solid var(--peri-border);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    overflow: hidden;
    isolation: isolate;
}

.custom-dropdown.open .custom-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-dropdown-option {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.15s;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    color: var(--dark);
}

.custom-dropdown-option:hover    { background: var(--pink-light); }
.custom-dropdown-option.selected { background: var(--periwinkle-light); font-weight: 600; }
.custom-dropdown input[type="hidden"] { display: none; }

/* =====================
   Submit Button
   ===================== */

.submit-btn {
    background: linear-gradient(135deg, var(--pink), var(--periwinkle));
    color: var(--white);
    border: none;
    padding: 0.9rem 1.5rem;
    border-radius: 100px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 0.25rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 192, 220, 0.45);
}

.submit-btn:active { transform: translateY(0); }

.form-note {
    font-size: 0.75rem;
    color: var(--gray);
    margin-top: 0.25rem;
}

/* =====================
   Success States
   ===================== */

.signup-success             { padding: 1rem; text-align: center; }
.signup-success .emoji      { font-size: 2.5rem; margin-bottom: 0.5rem; }
.signup-success h3          { font-family: 'Quicksand', sans-serif; color: var(--dark); margin-bottom: 0.5rem; }
.signup-success p           { color: var(--gray); font-size: 0.9rem; }

/* =====================
   Built By / Footer
   ===================== */

.built-by {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 1.5rem 2rem;
    font-size: 0.9rem;
    color: var(--gray);
}

footer {
    position: relative;
    z-index: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    color: var(--dark);
    transition: all 0.2s ease;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.social-links svg { width: 20px; height: 20px; }

footer .privacy-link {
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    opacity: 0.6;
    transition: opacity 0.2s;
}

footer .privacy-link:hover { opacity: 1; }

/* =====================
   Scroll Reveal
   ===================== */

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

.reveal.visible        { opacity: 1; transform: translateY(0); }
.reveal-delay-1        { transition-delay: 0.1s; }
.reveal-delay-2        { transition-delay: 0.2s; }
.reveal-delay-3        { transition-delay: 0.3s; }
.reveal-delay-4        { transition-delay: 0.4s; }

/* =====================
   Divider
   ===================== */

.section-divider {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    opacity: 0.35;
    padding: 0 1.5rem;
}

.section-divider hr {
    width: 100%;
    max-width: 900px;
    border: none;
    border-top: 1.5px solid rgba(45, 42, 74, 0.15);
}

/* =====================
   Misc Components
   ===================== */

.contribute-cta {
    display: inline-block;
    color: var(--pink-dark);
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    padding: 0.6rem 1.4rem;
    border: 2px solid var(--pink-dark);
    border-radius: 2rem;
    transition: background 0.2s ease, color 0.2s ease;
    background: rgba(255, 255, 255, 0.5);
}

.contribute-cta:hover {
    background: var(--pink-dark);
    color: #fff;
}

.language-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.lang-pill {
    background: rgba(255, 107, 107, 0.08);
    border: 1px solid rgba(255, 107, 107, 0.2);
    color: var(--dark);
    border-radius: 999px;
    padding: 0.3rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

/* =====================
   Legal Pages
   ===================== */

.legal-page {
    position: relative;
    z-index: 1;
    padding: 2rem 1.5rem 4rem;
}

.legal-container {
    max-width: 860px;
    margin: 0 auto;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 2rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 100px;
    transition: all 0.2s ease;
}

.back-link:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(-3px);
}

.legal-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(200, 192, 220, 0.3), 0 8px 20px var(--pink-subtle);
}

.legal-card h1 {
    font-family: 'Quicksand', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--pink-dark);
    margin-bottom: 0.5rem;
}

.legal-last-updated {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--peri-subtle);
}

.legal-highlight-box {
    background: linear-gradient(135deg, rgba(232, 160, 184, 0.15), rgba(200, 192, 220, 0.15));
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.legal-highlight-box h2 {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.2rem;
    color: var(--dark);
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legal-highlight-box ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-left: 0;
    margin-bottom: 0;
}

.legal-highlight-box li {
    background: rgba(255, 255, 255, 0.7);
    padding: 0.4rem 0.9rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0;
}

.legal-card h2 {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--periwinkle-dark);
    margin: 2rem 0 0.75rem;
}

.legal-card p  { color: var(--dark); margin-bottom: 1rem; }
.legal-card ul { color: var(--dark); margin-bottom: 1rem; padding-left: 1.5rem; }
.legal-card li { margin-bottom: 0.5rem; }

.legal-card a       { color: var(--periwinkle); font-weight: 600; text-decoration: none; }
.legal-card a:hover { color: var(--pink); }

.legal-callout {
    background: linear-gradient(135deg, rgba(200, 192, 220, 0.1), rgba(232, 160, 184, 0.1));
    border-left: 4px solid var(--periwinkle);
    border-radius: 0 12px 12px 0;
    padding: 1.25rem 1.5rem;
    margin: 1rem 0;
}

.legal-callout p { margin-bottom: 0; font-size: 0.95rem; }

.legal-contact-box {
    background: rgba(200, 192, 220, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.legal-contact-box h2 { margin-top: 0; }

/* =====================
   Legal Pages — Dark Mode
   ===================== */

@media (prefers-color-scheme: dark) {
    .legal-card {
        background: rgba(36, 30, 44, 0.9);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    }
    .legal-card h1 { color: #E05070; }
    .legal-card h2 { color: #C8C0DC; }
    .legal-card p,
    .legal-card ul,
    .legal-card li { color: #E8E6ED; }
    .legal-card a { color: #C8C0DC; }
    .legal-card a:hover { color: #E8A0B8; }
    .legal-last-updated { color: #8A8490; border-bottom-color: rgba(200, 192, 220, 0.3); }
    .legal-highlight-box {
        background: linear-gradient(135deg, rgba(232, 160, 184, 0.1), rgba(200, 192, 220, 0.1));
    }
    .legal-highlight-box li {
        background: rgba(46, 38, 54, 0.7);
        color: #E8E6ED;
    }
    .legal-callout {
        background: linear-gradient(135deg, rgba(200, 192, 220, 0.08), rgba(232, 160, 184, 0.08));
    }
    .legal-contact-box {
        background: rgba(200, 192, 220, 0.08);
    }
    .back-link {
        color: #E8E6ED;
        background: rgba(46, 38, 54, 0.6);
    }
    .back-link:hover {
        background: rgba(46, 38, 54, 0.9);
    }
}

/* =====================
   Changelog badges
   ===================== */

.badge-mobile  { display: none; }
.badge-desktop { display: inline-block; }

/* =====================
   Responsive
   ===================== */

@media (max-width: 600px) {
    .screenshot-img  { width: 170px; height: 368px; }
    .stats-grid      { gap: 0.75rem; }
    .stat-number     { font-size: 1.6rem; }
    .privacy-card    { padding: 2rem 1.25rem; }
    .signup-card     { padding: 1.75rem 1.25rem; }
    .feature-grid    { grid-template-columns: 1fr 1fr; }
    .badge-mobile    { display: inline-block; }
    .badge-desktop   { display: none; }
}

@media (max-width: 480px) {
    .legal-card    { padding: 1.5rem; border-radius: 20px; }
    .legal-card h1 { font-size: 1.8rem; }
}

@media (max-width: 420px) {
    .feature-grid      { grid-template-columns: 1fr; }
    .screenshots-track { gap: 1rem; }
    .screenshot-img    { width: 145px; height: 314px; }
}
 .changelog-entry {
     margin: 2rem 0;
 }

.changelog-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.changelog-version {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary, #E8A4C9);
}

.changelog-date {
    font-size: 0.9rem;
    color: var(--gray, #7A6A72);
    opacity: 0.8;
}

.changelog-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--primary, #E8A4C9);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 99px;
}

.changelog-summary p {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.changelog-summary ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
}

.changelog-summary ul li {
    padding: 0.3rem 0;
    line-height: 1.6;
}

.changelog-nerdy {
    margin-top: 1rem;
    border: 1px solid var(--border, #F0E4E8);
    border-radius: 12px;
    overflow: hidden;
}

.changelog-nerdy summary {
    padding: 0.75rem 1rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--gray, #7A6A72);
    user-select: none;
    list-style: none;
}

.changelog-nerdy summary::-webkit-details-marker {
    display: none;
}

.changelog-nerdy[open] summary {
    border-bottom: 1px solid var(--border, #F0E4E8);
}

.changelog-nerdy-content {
    padding: 1rem;
    background: var(--background-secondary, #FFF8FA);
}

.changelog-nerdy-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.changelog-nerdy-content ul li {
    padding: 0.4rem 0;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--gray, #7A6A72);
    border-bottom: 1px solid var(--border, #F0E4E8);
}

.changelog-nerdy-content ul li:last-child {
    border-bottom: none;
}

.changelog-nerdy-content code {
    font-family: monospace;
    font-size: 0.8rem;
    background: var(--background-tertiary, #F8F4F9);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    color: var(--primary-dark, #C97BA3);
}

.changelog-divider {
    border: none;
    border-top: 1px solid var(--border, #F0E4E8);
    margin: 2rem 0;
}
