/* jefe.works - The Playground */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=IBM+Plex+Mono:wght@300;400;500&display=swap');

/* ============================================
   Variables - More vibrant than jefeworks.com
   ============================================ */
:root {
    --bg: #06080e;
    --bg-raised: #0c0e16;
    --bg-panel: #10121a;
    --bg-card: #12151f;
    --bg-hover: #1a1e2c;
    --border: #1c2038;
    --border-hover: #2e3354;
    --text: #b8bdd0;
    --text-bright: #eaedf5;
    --text-dim: #555a72;
    /* Brighter, more playful accent palette */
    --accent: #8b5cf6;
    --accent-light: #a78bfa;
    --accent-dim: rgba(139, 92, 246, 0.1);
    --accent-border: rgba(139, 92, 246, 0.25);
    --accent-glow: rgba(139, 92, 246, 0.15);
    --pink: #ec4899;
    --pink-dim: rgba(236, 72, 153, 0.1);
    --pink-border: rgba(236, 72, 153, 0.25);
    --cyan: #06b6d4;
    --cyan-dim: rgba(6, 182, 212, 0.1);
    --green: #22c55e;
    --green-dim: rgba(34, 197, 94, 0.1);
    --yellow: #eab308;
    --yellow-dim: rgba(234, 179, 8, 0.1);
    --orange: #f97316;
    --red: #ef4444;
    --font: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'IBM Plex Mono', 'Consolas', monospace;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 72px;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 15px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(6, 8, 14, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s var(--ease);
}

.navbar.scrolled {
    background: rgba(6, 8, 14, 0.95);
}

.nav-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.nav-logo {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-bright);
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: color 0.2s;
}

.nav-logo:hover { color: var(--accent-light); }

.logo-dot {
    color: var(--accent);
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 6px;
    transition: all 0.2s var(--ease);
}

.nav-link:hover {
    color: var(--text);
    background: var(--bg-hover);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    transition: all 0.25s var(--ease);
    border-radius: 1px;
}

/* ============================================
   Hero
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(
        ellipse at center,
        rgba(139, 92, 246, 0.12) 0%,
        rgba(236, 72, 153, 0.06) 40%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 0;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(139, 92, 246, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--pink);
    background: var(--pink-dim);
    border: 1px solid var(--pink-border);
    padding: 5px 18px;
    border-radius: 20px;
    margin-bottom: 32px;
    letter-spacing: 0.06em;
    text-transform: lowercase;
}

.hero-title {
    font-size: clamp(3.5rem, 10vw, 6rem);
    font-weight: 700;
    color: var(--text-bright);
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
}

.hero-dot {
    color: var(--accent);
}

.hero-tagline {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    font-weight: 500;
    color: var(--accent-light);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.hero-sub {
    font-size: 1.05rem;
    color: var(--text);
    max-width: 540px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 24px rgba(139, 92, 246, 0.35);
}

.btn-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

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

.btn-ghost:hover {
    color: var(--text-bright);
    border-color: var(--border-hover);
    background: var(--bg-hover);
}

/* ============================================
   Sections
   ============================================ */
.section {
    position: relative;
    padding: 100px 0;
}

.section-dark {
    background: var(--bg-raised);
}

.section-header {
    margin-bottom: 48px;
}

.section-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-light);
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--text-bright);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.section-desc {
    color: var(--text-dim);
    font-size: 1rem;
    max-width: 560px;
}

/* ============================================
   Personality Cards
   ============================================ */
.personality-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 40px;
}

.personality-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    cursor: pointer;
    transition: all 0.25s var(--ease);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
    font-family: var(--font);
    color: var(--text);
    outline: none;
}

.personality-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.personality-card:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.personality-card.active {
    border-color: var(--accent);
    background: var(--accent-dim);
    box-shadow: 0 0 24px var(--accent-glow), 0 8px 32px rgba(0, 0, 0, 0.3);
}

.personality-emoji {
    font-size: 2rem;
    line-height: 1;
}

.personality-info {
    flex: 1;
}

.personality-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-bright);
    margin-bottom: 4px;
}

.personality-tagline {
    font-size: 0.78rem;
    color: var(--text-dim);
    font-style: italic;
    line-height: 1.4;
}

.personality-try {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--accent-light);
    background: var(--accent-dim);
    border: 1px solid var(--accent-border);
    padding: 3px 12px;
    border-radius: 20px;
    transition: all 0.2s var(--ease);
}

.personality-card:hover .personality-try {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--accent-light);
}

.personality-card.active .personality-try {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* Per-personality hover colors */
.personality-card[data-personality="dude"]:hover,
.personality-card[data-personality="dude"].active { border-color: #a78bfa; }
.personality-card[data-personality="techbro"]:hover,
.personality-card[data-personality="techbro"].active { border-color: #06b6d4; }
.personality-card[data-personality="ozzy"]:hover,
.personality-card[data-personality="ozzy"].active { border-color: #8b5cf6; }
.personality-card[data-personality="trump"]:hover,
.personality-card[data-personality="trump"].active { border-color: #eab308; }
.personality-card[data-personality="chef"]:hover,
.personality-card[data-personality="chef"].active { border-color: #ef4444; }
.personality-card[data-personality="pirate"]:hover,
.personality-card[data-personality="pirate"].active { border-color: #f97316; }
.personality-card[data-personality="dad"]:hover,
.personality-card[data-personality="dad"].active { border-color: #22c55e; }
.personality-card[data-personality="noir"]:hover,
.personality-card[data-personality="noir"].active { border-color: #64748b; }

/* ============================================
   Chat Widget
   ============================================ */
.chat-container {
    max-width: 820px;
    scroll-margin-top: 80px;
}

.chat-chrome {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-raised);
}

.chat-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.4);
}

.chat-personality-icon {
    font-size: 1.2rem;
    line-height: 1;
}

.chat-header-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-bright);
}

.chat-header-info {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-dim);
}

.chat-clear {
    background: none;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.chat-clear:hover { color: var(--text); }

.chat-clear svg {
    width: 16px;
    height: 16px;
}

.chat-messages {
    height: 380px;
    overflow-y: auto;
    padding: 18px;
    scroll-behavior: smooth;
}

.chat-messages::-webkit-scrollbar {
    width: 4px;
}

.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 2px;
}

.message {
    margin-bottom: 16px;
    animation: msgIn 0.3s var(--ease);
}

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

.message-content {
    max-width: 88%;
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 0.88rem;
    line-height: 1.6;
}

.ai-message .message-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text);
}

.user-message {
    display: flex;
    justify-content: flex-end;
}

.user-message .message-content {
    background: var(--accent);
    color: white;
    border: none;
}

.message-content p { margin-bottom: 8px; }
.message-content p:last-child { margin-bottom: 0; }
.message-content strong { color: var(--text-bright); font-weight: 600; }
.message-content ul { margin: 8px 0; padding-left: 20px; }
.message-content li { margin-bottom: 4px; font-size: 0.85rem; }

.typing-indicator .message-content {
    padding: 14px 20px;
}

.typing-dots {
    display: flex;
    gap: 4px;
    align-items: center;
}

.typing-dots span {
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-dim);
    animation: typing 1.4s ease-in-out infinite;
}

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

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

.chat-input-area {
    display: flex;
    align-items: center;
    border-top: 1px solid var(--border);
    background: var(--bg-raised);
}

.chat-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-bright);
    font-family: var(--font);
    font-size: 0.88rem;
    padding: 14px 18px;
    outline: none;
}

.chat-input::placeholder {
    color: var(--text-dim);
}

.chat-input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.chat-send {
    background: none;
    border: none;
    color: var(--accent-light);
    cursor: pointer;
    padding: 14px 18px;
    transition: color 0.2s;
    display: flex;
    align-items: center;
}

.chat-send:hover { color: var(--accent); }

.chat-send:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.chat-send svg {
    width: 18px;
    height: 18px;
}

/* ============================================
   Live Stream
   ============================================ */
.stream-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start;
}

.stream-embed {
    position: relative;
}

.stream-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--green);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse-ring 2s ease-in-out infinite;
}

@keyframes pulse-ring {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

.stream-player {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.stream-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.stream-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stream-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: border-color 0.2s var(--ease);
}

.stream-info-card:hover {
    border-color: var(--border-hover);
}

.stream-info-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-bright);
    margin-bottom: 8px;
}

.stream-info-card p {
    font-size: 0.85rem;
    color: var(--text);
    line-height: 1.65;
}

.stream-follow-btn {
    width: 100%;
    justify-content: center;
}

/* ============================================
   Products
   ============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.25s var(--ease);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Product card accent borders on hover */
.product-vibebot:hover { border-color: var(--accent); }
.product-freechat:hover { border-color: var(--green); }
.product-coming:hover { border-color: var(--yellow); }

.product-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}

.status-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.status-indicator.active {
    background: var(--green);
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
}

.status-indicator.dev {
    background: var(--accent);
    box-shadow: 0 0 8px rgba(139, 92, 246, 0.4);
}

.status-indicator.planned {
    background: var(--yellow);
    box-shadow: 0 0 8px rgba(234, 179, 8, 0.3);
}

.product-emoji {
    font-size: 2.4rem;
    margin-bottom: 16px;
    line-height: 1;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-bright);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.product-desc {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 24px;
    flex: 1;
}

.product-cta {
    width: 100%;
    justify-content: center;
    text-align: center;
}

.product-cta-text {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-dim);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ============================================
   Community
   ============================================ */
.community-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.community-text {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 460px;
}

.community-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.community-teaser {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.teaser-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: border-color 0.2s var(--ease);
}

.teaser-card:hover {
    border-color: var(--border-hover);
}

.teaser-icon {
    font-size: 1.5rem;
    margin-bottom: 10px;
    line-height: 1;
}

.teaser-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-bright);
    margin-bottom: 6px;
}

.teaser-card p {
    font-size: 0.85rem;
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 10px;
}

.teaser-status {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--yellow);
    background: var(--yellow-dim);
    border: 1px solid rgba(234, 179, 8, 0.2);
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-block;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    background: var(--bg);
    padding: 40px 0 28px;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.footer-logo {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-bright);
}

.footer-tagline {
    color: var(--text-dim);
    font-size: 0.8rem;
    margin-top: 2px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-link {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--accent-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    color: var(--text-dim);
    font-size: 0.75rem;
}

/* ============================================
   Scroll Reveal
   ============================================ */
.personality-card,
.product-card,
.stream-info-card,
.teaser-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), border-color 0.2s, box-shadow 0.25s;
}

.personality-card.visible,
.product-card.visible,
.stream-info-card.visible,
.teaser-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .personality-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }
}

@media (max-width: 960px) {
    .personality-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stream-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .stream-info {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

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

    .community-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .community-teaser {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(6, 8, 14, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 16px 24px;
        gap: 4px;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-link {
        padding: 10px 14px;
        width: 100%;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding: 110px 24px 60px;
    }

    .hero-title {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .section {
        padding: 64px 0;
    }

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

    .stream-info {
        grid-template-columns: 1fr;
    }

    .community-teaser {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 100px 16px 48px;
    }

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

    .btn {
        width: 100%;
        justify-content: center;
    }

    .personality-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .personality-card {
        padding: 14px;
    }

    .personality-emoji {
        font-size: 1.6rem;
    }

    .personality-tagline {
        display: none;
    }

    .product-card {
        padding: 24px;
    }

    .community-links {
        flex-direction: column;
    }
}

/* ============================================
   Accessibility
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
