/* ============================================================
   BOOPMACHINE — Landing Page Styles
   Aesthetic: Warm presence in the dark. Intimate, not corporate.
   ============================================================ */

/* ---- Reset & Base ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Core palette — dark warmth with teal accents */
    --bg-deep:      #0c0e13;
    --bg-primary:   #111318;
    --bg-elevated:  #181b22;
    --bg-card:      #1c1f27;
    --bg-hover:     #22262f;

    --border:       rgba(255, 255, 255, 0.06);
    --border-light: rgba(255, 255, 255, 0.10);

    --text-primary:   #e8e6e1;
    --text-secondary: #9a9690;
    --text-muted:     #5c5955;

    --accent:       #3fbfb0;
    --accent-soft:  rgba(63, 191, 176, 0.12);
    --accent-glow:  rgba(63, 191, 176, 0.25);
    --warm:         #d4a574;
    --warm-soft:    rgba(212, 165, 116, 0.10);

    /* Typography */
    --font-display: 'Fraunces', Georgia, serif;
    --font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --space-xs:  0.5rem;
    --space-sm:  1rem;
    --space-md:  1.5rem;
    --space-lg:  3rem;
    --space-xl:  5rem;
    --space-2xl: 8rem;

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    /* Shadows */
    --shadow-soft:  0 2px 12px rgba(0, 0, 0, 0.3);
    --shadow-card:  0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-glow:  0 0 40px rgba(63, 191, 176, 0.08);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.65;
    font-size: 16px;
    overflow-x: hidden;
}

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

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

::selection {
    background: var(--accent-soft);
    color: var(--accent);
}

/* ---- Utilities ---- */
.section-inner {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-xl);
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    line-height: 1;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg-deep);
    box-shadow: 0 2px 16px rgba(63, 191, 176, 0.2);
}

.btn-primary:hover {
    background: #4dd4c4;
    box-shadow: 0 4px 24px rgba(63, 191, 176, 0.3);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
}

.btn-ghost:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.03);
}


/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: var(--space-sm) 0;
    transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

.site-header.scrolled {
    background: rgba(12, 14, 19, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 var(--border);
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 36px;
    width: auto;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.nav-link {
    padding: 0.5rem 0.85rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: color 0.2s, background 0.2s;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
}

.nav-cta {
    color: var(--accent);
    border: 1px solid rgba(63, 191, 176, 0.25);
    margin-left: var(--space-xs);
}

.nav-cta:hover {
    background: var(--accent-soft);
    border-color: rgba(63, 191, 176, 0.4);
}


/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
    opacity: 0.55;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom,
            rgba(12, 14, 19, 0.3) 0%,
            rgba(12, 14, 19, 0.5) 40%,
            rgba(12, 14, 19, 0.92) 85%,
            var(--bg-deep) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
    padding: 0 var(--space-md);
    animation: heroFadeIn 1.2s ease-out;
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 1rem;
    border-radius: 100px;
    background: rgba(63, 191, 176, 0.08);
    border: 1px solid rgba(63, 191, 176, 0.18);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.02em;
    margin-bottom: var(--space-lg);
    animation: heroFadeIn 1.2s ease-out 0.2s both;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50%      { opacity: 1;   transform: scale(1.3); }
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    animation: heroFadeIn 1.2s ease-out 0.3s both;
}

.hero-subtitle {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto var(--space-lg);
    animation: heroFadeIn 1.2s ease-out 0.45s both;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
    animation: heroFadeIn 1.2s ease-out 0.6s both;
}

.scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: gentleBounce 3s ease-in-out infinite;
    opacity: 0;
    animation: heroFadeIn 1.2s ease-out 1.2s both, gentleBounce 3s ease-in-out 2.4s infinite;
}

@keyframes gentleBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(6px); }
}


/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features {
    padding: var(--space-2xl) 0;
    background: var(--bg-primary);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(63, 191, 176, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.feature-grid {
    display: grid;
    gap: var(--space-xl);
}

.feature-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.feature-card:nth-child(even) {
    direction: rtl;
}

.feature-card:nth-child(even) > * {
    direction: ltr;
}

.feature-img-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
}

.feature-img-wrap img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.feature-card:hover .feature-img-wrap img {
    transform: scale(1.03);
}

.feature-content {
    padding: var(--space-md) 0;
}

.feature-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
    line-height: 1.25;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.feature-text {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text-secondary);
}

.feature-text em {
    color: var(--accent);
    font-style: normal;
    font-weight: 500;
}


/* ============================================================
   TRY / CHAT SECTION
   ============================================================ */
.try-section {
    padding: var(--space-2xl) 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(63, 191, 176, 0.04), transparent 60%),
        var(--bg-deep);
}

.try-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.boop-avatar-wrap {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-md);
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border-light);
    box-shadow: 0 0 40px rgba(63, 191, 176, 0.1);
    background: var(--bg-card);
}

.boop-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.try-subtitle {
    max-width: 480px;
    margin: var(--space-sm) auto 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Chat Container — upgraded from old design */
.chat-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-elevated);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card), var(--shadow-glow);
    display: flex;
    flex-direction: column;
    min-height: 360px;
    max-height: 500px;
    overflow: hidden;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    min-height: 0;
}

.message {
    max-width: 82%;
    animation: msgFadeIn 0.4s ease;
}

@keyframes msgFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.message.boopmachine {
    align-self: flex-start;
}

.message.user {
    align-self: flex-end;
}

.message-content {
    padding: 0.8rem 1.1rem;
    border-radius: var(--radius-lg);
    font-size: 0.92rem;
    line-height: 1.65;
}

.message.boopmachine .message-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-primary);
    border-bottom-left-radius: var(--radius-sm);
}

.message.user .message-content {
    background: var(--accent);
    color: var(--bg-deep);
    border-bottom-right-radius: var(--radius-sm);
}

/* Typing */
.typing-indicator {
    display: flex;
    gap: 5px;
    padding: 0 var(--space-md) var(--space-xs);
    align-self: flex-start;
    opacity: 0;
    transition: opacity 0.3s;
}

.typing-indicator.visible {
    opacity: 1;
}

.typing-indicator .dot {
    width: 7px;
    height: 7px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-indicator .dot:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator .dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30%           { transform: translateY(-5px); opacity: 1; }
}

/* Input */
.input-area {
    display: flex;
    gap: 0.5rem;
    padding: var(--space-sm);
    border-top: 1px solid var(--border);
    background: var(--bg-card);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

#messageInput {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-elevated);
    color: var(--text-primary);
    font-size: 0.92rem;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.2s;
}

#messageInput:focus {
    border-color: rgba(63, 191, 176, 0.3);
}

#messageInput::placeholder {
    color: var(--text-muted);
}

#messageInput:disabled {
    opacity: 0.4;
}

#sendButton {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

#sendButton:hover:not(:disabled) {
    background: var(--accent);
    color: var(--bg-deep);
    border-color: var(--accent);
}

#sendButton:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Scrollbar inside chat */
.chat-messages::-webkit-scrollbar { width: 5px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 4px; }
.chat-messages::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }


/* ============================================================
   LOGIN OVERLAY
   ============================================================ */
.login-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    animation: overlayIn 0.3s ease;
}

@keyframes overlayIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.overlay-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    max-width: 420px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-card), 0 0 80px rgba(63, 191, 176, 0.08);
    animation: overlayCardIn 0.4s ease 0.1s both;
}

@keyframes overlayCardIn {
    from { opacity: 0; transform: translateY(16px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.overlay-close {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 1.4rem;
    cursor: pointer;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.overlay-close:hover {
    color: var(--text-primary);
}

.overlay-avatar {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-md);
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border-light);
    background: var(--bg-card);
}

.overlay-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.overlay-text {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.overlay-btn {
    width: 100%;
    margin-bottom: var(--space-sm);
}

.overlay-dismiss {
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.8rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.2s;
}

.overlay-dismiss:hover {
    color: var(--text-secondary);
}


/* ============================================================
   WHAT IS THIS
   ============================================================ */
.what-section {
    padding: var(--space-2xl) 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
}

.what-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-xl);
    align-items: center;
}

.what-content {
    padding-right: var(--space-lg);
}

.what-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.what-visual {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
}

.what-visual img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}


/* ============================================================
   PHILOSOPHY / PRINCIPLES
   ============================================================ */
.philosophy {
    padding: var(--space-xl) 0 var(--space-2xl);
    background: var(--bg-primary);
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
    max-width: 900px;
    margin: 0 auto;
}

.principle-card {
    padding: var(--space-md) var(--space-md) var(--space-md) var(--space-md);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border-left: 2px solid var(--accent);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.principle-card:hover {
    border-color: var(--border-light);
    border-left-color: var(--accent);
    box-shadow: var(--shadow-soft);
}

.principle-text {
    font-family: var(--font-display);
    font-weight: 400;
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.5;
    color: var(--text-primary);
}


/* ============================================================
   MEMORY SECTION
   ============================================================ */
.memory-section {
    padding: var(--space-2xl) 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(212, 165, 116, 0.03), transparent 50%),
        var(--bg-deep);
    border-top: 1px solid var(--border);
}

.memory-intro {
    max-width: 560px;
    margin: var(--space-sm) auto 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    text-align: center;
}

.memory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.memory-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.memory-card:hover {
    border-color: var(--border-light);
    box-shadow: var(--shadow-soft);
}

.memory-card-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-sm);
    color: var(--accent);
}

.memory-card h4 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    color: var(--text-primary);
}

.memory-card p {
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.memory-card p em {
    color: var(--accent);
    font-style: normal;
}


/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
    padding: var(--space-2xl) 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
    text-align: center;
}

.cta-content {
    max-width: 520px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.cta-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}


/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    padding: var(--space-xl) 0 var(--space-lg);
    background: var(--bg-deep);
    border-top: 1px solid var(--border);
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-left {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.footer-logo {
    height: 24px;
    width: auto;
    opacity: 0.6;
}

.footer-tagline {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-right {
    display: flex;
    gap: var(--space-md);
}

.footer-right a {
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: color 0.2s;
}

.footer-right a:hover {
    color: var(--text-secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-lg);
    font-size: 0.85rem;
    color: var(--text-muted);
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
    .feature-card {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .feature-card:nth-child(even) {
        direction: ltr;
    }

    .what-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .what-content {
        padding-right: 0;
    }

    .principles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 640px) {
    :root {
        --space-2xl: 5rem;
        --space-xl: 3rem;
    }

    .header-nav .nav-link:not(.nav-cta) {
        display: none;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-title br {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .chat-container {
        border-radius: var(--radius-lg);
        max-height: 440px;
    }

    .input-area {
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    }

    #messageInput {
        font-size: 16px; /* Prevents iOS zoom */
    }

    .memory-card {
        padding: var(--space-sm);
    }

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

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-right {
        justify-content: center;
    }

    .scroll-hint {
        display: none;
    }
}
