/* SUITE Design System - Warm Community Style (Concept 4) */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');

/* ═══════════════════════════════════════════════════════════
   CSS Variables - Warm Community Palette
   ═══════════════════════════════════════════════════════════ */
:root {
    /* Warm Gradients */
    --gradient-hero: linear-gradient(135deg, #fef3e2 0%, #fce7f3 50%, #ede9fe 100%);
    --gradient-card: linear-gradient(135deg, #ffffff 0%, #fefbf6 100%);
    --gradient-accent: linear-gradient(135deg, #f97316 0%, #ec4899 50%, #8b5cf6 100%);
    --gradient-button: linear-gradient(135deg, #f97316 0%, #f43f5e 100%);

    /* Core Colors */
    --bg-primary: #fffbf7;
    --bg-secondary: #fef7ed;
    --bg-card: #ffffff;
    --bg-elevated: #ffffff;

    /* Text Colors */
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-tertiary: #9ca3af;
    --text-inverse: #ffffff;

    /* Accent Colors */
    --accent-orange: #f97316;
    --accent-coral: #f43f5e;
    --accent-lavender: #8b5cf6;
    --accent-peach: #fbbf24;

    /* Semantic Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;

    /* Borders & Shadows */
    --border-light: rgba(0, 0, 0, 0.06);
    --border-medium: rgba(0, 0, 0, 0.1);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 8px 32px rgba(249, 115, 22, 0.2);

    /* Spacing */
    --container-max: 1600px;
    --section-padding: 100px;
    --card-radius: 20px;
    --button-radius: 12px;

    /* Typography */
    --font-family: 'Nunito', sans-serif;
}

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

html {
    /* scroll-behavior: auto - removed to disable smooth scrolling */
}

body {
    font-family: var(--font-family);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

/* ═══════════════════════════════════════════════════════════
   Typography
   ═══════════════════════════════════════════════════════════ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ═══════════════════════════════════════════════════════════
   Container & Layout
   ═══════════════════════════════════════════════════════════ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding) 0;
}

/* ═══════════════════════════════════════════════════════════
   Navigation - MOVED TO nav.css
   ═══════════════════════════════════════════════════════════ */
/* All nav styles are now in nav.css for consistency across pages */

/* ═══════════════════════════════════════════════════════════
   Buttons
   ═══════════════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--button-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
    border-color: var(--accent-orange);
    background: var(--bg-secondary);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
}

/* ═══════════════════════════════════════════════════════════
   Hero Section
   ═══════════════════════════════════════════════════════════ */
.hero {
    /* min-height removed to allow flexible hero sizing */
    padding-top: 100px;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.hero-tag .dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.hero-title {
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
}

.hero-visual img {
    width: 100%;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-lg);
}

/* Community Avatars */
.community-avatars {
    display: flex;
    align-items: center;
    margin-top: 40px;
}

.avatar-stack {
    display: flex;
}

.avatar-stack .avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 3px solid var(--bg-primary);
    margin-left: -12px;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.avatar-stack .avatar:first-child {
    margin-left: 0;
}

.community-text {
    margin-left: 16px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.community-text strong {
    color: var(--text-primary);
}

@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .community-avatars {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* ═══════════════════════════════════════════════════════════
   Value Pillars Section
   ═══════════════════════════════════════════════════════════ */
.pillars {
    background: var(--bg-card);
    padding: 80px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.pillar-card {
    text-align: center;
    padding: 40px 24px;
}

.pillar-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--gradient-hero);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.pillar-card h3 {
    margin-bottom: 12px;
}

.pillar-card p {
    color: var(--text-secondary);
    font-size: 1rem;
}

@media (max-width: 768px) {
    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ═══════════════════════════════════════════════════════════
   How It Works Section
   ═══════════════════════════════════════════════════════════ */
.how-it-works {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: var(--gradient-hero);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-orange);
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 16px auto 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--card-radius);
    padding: 32px 24px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background: var(--gradient-button);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.step-card h4 {
    margin-bottom: 8px;
}

.step-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Arrow connector */
.step-card::after {
    content: '→';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--text-tertiary);
}

.step-card:last-child::after {
    display: none;
}

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

    .step-card::after {
        display: none;
    }
}

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

/* ═══════════════════════════════════════════════════════════
   Featured Apps Section
   ═══════════════════════════════════════════════════════════ */
.featured-apps {
    background: var(--gradient-hero);
    padding: 100px 0;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.app-card {
    background: var(--bg-card);
    border-radius: var(--card-radius);
    padding: 24px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    cursor: pointer;
}

.app-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.app-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.app-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-hero);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.app-info h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.app-creator {
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.app-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.app-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.app-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.9rem;
    color: var(--accent-peach);
}

.app-status {
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 100px;
    font-weight: 500;
}

.app-status.live {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.app-status.building {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

/* ═══════════════════════════════════════════════════════════
   Creator Showcase Section
   ═══════════════════════════════════════════════════════════ */
.creators {
    padding: 100px 0;
}

.creator-card {
    display: flex;
    align-items: center;
    gap: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--card-radius);
    padding: 32px;
    max-width: 600px;
    margin: 0 auto;
}

.creator-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    flex-shrink: 0;
}

.creator-info h4 {
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.creator-role {
    color: var(--accent-orange);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.creator-bio {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.creator-stats {
    display: flex;
    gap: 24px;
    margin-top: 16px;
}

.creator-stat {
    font-size: 0.9rem;
}

.creator-stat strong {
    color: var(--text-primary);
}

/* ═══════════════════════════════════════════════════════════
   Footer
   ═══════════════════════════════════════════════════════════ */
.footer {
    background: var(--text-primary);
    color: var(--text-inverse);
    padding: 60px 24px 24px;
    max-width: 1200px;
    margin: 32px auto 0;
    border-radius: 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-logo .logo-icon {
    width: 32px;
    height: 32px;
    background: var(--gradient-accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-column h5 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-column a {
    display: inline-block;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
}

.footer-column a:hover {
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

/* Footer link emojis with proper sizing */
.footer-emoji {
    width: 18px;
    height: 18px;
    vertical-align: middle;
    margin-right: 6px;
    object-fit: contain;
    background: url('assets/emojis/clay-badge-bg.png') center/contain no-repeat;
    padding: 3px;
    box-sizing: content-box;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.2s ease;
}

.footer-social a:hover {
    background: var(--gradient-button);
    color: white;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: span 2;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* ═══════════════════════════════════════════════════════════
   Utility Classes
   ═══════════════════════════════════════════════════════════ */
.text-center {
    text-align: center;
}

.mb-8 {
    margin-bottom: 8px;
}

.mb-16 {
    margin-bottom: 16px;
}

.mb-24 {
    margin-bottom: 24px;
}

.mb-32 {
    margin-bottom: 32px;
}

/* ═══════════════════════════════════════════════════════════
   Responsive Utilities
   ═══════════════════════════════════════════════════════════ */

/* Responsive container padding */
@media (max-width: 600px) {
    .container {
        padding: 0 16px;
    }

    .section {
        padding: clamp(40px, 10vw, 80px) 0;
    }
}

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

/* Responsive grid helper - prevents overflow on small screens */
.grid-responsive {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 24px;
}

/* Responsive modal base */
.modal-responsive {
    width: 100%;
    max-width: min(400px, 95vw);
    margin: 0 auto;
}

/* Responsive padding helper */
.padding-responsive {
    padding: clamp(16px, 4vw, 40px);
}

/* Prevent horizontal scroll on all pages */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

/* Responsive buttons - ensure minimum tap target */
@media (max-width: 480px) {
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        min-height: 44px; /* iOS minimum tap target */
    }

    .btn-lg {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

/* Responsive images - prevent overflow */
img {
    max-width: 100%;
    height: auto;
}

/* Extra small screens (320px) */
@media (max-width: 375px) {
    h1 {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }

    h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    h3 {
        font-size: clamp(1.1rem, 5vw, 1.5rem);
    }
}

/* Small phones (375-480px) */
@media (max-width: 480px) {
    .hero {
        padding-top: 80px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

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

/* Fix apps grid for small screens */
@media (max-width: 600px) {
    .apps-grid {
        grid-template-columns: 1fr;
    }
}

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

    .pillar-card {
        padding: 24px 16px;
    }

    .pillar-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
}

/* Footer responsive improvements */
@media (max-width: 480px) {
    .footer {
        padding: 40px 16px 20px;
        margin: 24px 12px 0;
        border-radius: 16px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-brand {
        grid-column: 1;
    }

    .footer-column a {
        padding: 8px;
        font-size: 0.9rem;
    }
}

@media (max-width: 375px) {
    .footer {
        margin: 16px 8px 0;
    }
}

/* ═══════════════════════════════════════════════════════════
   UI Utilities - Loading, Errors, Animations
   ═══════════════════════════════════════════════════════════ */

/* Loading Spinner */
.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid var(--border-light);
    border-top-color: var(--accent-terracotta, #C4725F);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.spinner-sm {
    width: 16px;
    height: 16px;
    border-width: 2px;
}

.spinner-lg {
    width: 40px;
    height: 40px;
    border-width: 4px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Loading Overlay */
.loading-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 251, 247, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: inherit;
    z-index: 10;
}

/* Skeleton Loaders */
.skeleton {
    background: linear-gradient(90deg, #f0ebe6 25%, #f8f4f0 50%, #f0ebe6 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

.skeleton-text {
    height: 1em;
    margin-bottom: 0.5em;
}

.skeleton-text:last-child {
    width: 60%;
}

.skeleton-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.skeleton-card {
    height: 120px;
    border-radius: var(--card-radius, 16px);
}

.skeleton-button {
    height: 44px;
    width: 120px;
    border-radius: var(--button-radius, 12px);
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 48px 24px;
    color: var(--text-secondary);
}

.empty-state-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    opacity: 0.6;
}

.empty-state-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.empty-state-text {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.empty-state-action {
    display: inline-block;
    padding: 12px 24px;
    background: var(--accent-terracotta, #C4725F);
    color: white;
    border-radius: var(--button-radius, 12px);
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.empty-state-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(196, 114, 95, 0.3);
}

/* Error States */
.error-state {
    text-align: center;
    padding: 32px 24px;
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--card-radius, 16px);
    color: var(--error, #ef4444);
}

.error-state-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.error-state-title {
    font-weight: 700;
    margin-bottom: 8px;
}

.error-state-text {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 16px;
}

.error-state-retry {
    padding: 10px 20px;
    background: var(--error, #ef4444);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.error-state-retry:hover {
    opacity: 0.9;
}

/* Success Animation */
.success-checkmark {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--success, #10b981);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-checkmark svg {
    width: 28px;
    height: 28px;
    stroke: white;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.success-checkmark svg path {
    stroke-dasharray: 30;
    stroke-dashoffset: 30;
    animation: drawCheck 0.4s 0.2s forwards;
}

@keyframes popIn {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes drawCheck {
    to { stroke-dashoffset: 0; }
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    padding: 16px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 280px;
    max-width: 400px;
    animation: slideInRight 0.3s ease-out;
    border-left: 4px solid var(--accent-terracotta, #C4725F);
}

.toast-success {
    border-left-color: var(--success, #10b981);
}

.toast-error {
    border-left-color: var(--error, #ef4444);
}

.toast-warning {
    border-left-color: var(--warning, #f59e0b);
}

.toast-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.toast-message {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.toast-close {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.toast-close:hover {
    opacity: 1;
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutRight {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

.toast-exit {
    animation: slideOutRight 0.3s ease-in forwards;
}

/* Page Transitions */
.page-transition {
    animation: fadeIn 0.3s ease-out;
}

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

/* Button States - Consistent */
.btn-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Focus States - Accessibility */
.btn:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent-terracotta, #C4725F);
    outline-offset: 2px;
}

/* Hover lift effect */
.hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-lift:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Pulse animation for attention */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Mobile Toast Position */
@media (max-width: 480px) {
    .toast-container {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }

    .toast {
        min-width: auto;
        max-width: none;
    }
}