/* ============================================
   LIO — FLOATING EMOJIS + CHAT DEMO
   ============================================ */

:root {
    --bg: #FAFAF9;
    --bg-card: #FFFFFF;
    --bg-elevated: #F5F5F4;
    --text: #1a1a1a;
    --text-muted: #525252;
    --text-dim: #a3a3a3;
    --border: #e5e5e5;
    --accent: #2563eb;
    --radius: 12px;
    --font: 'Inter', -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

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

.text-muted { color: var(--text-muted); }

/* ============================================
   NAV
   ============================================ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    background: rgba(250,250,249,0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 17px;
}

.logo-icon {
    font-size: 20px;
}

.logo-text {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo-badge {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--text);
    color: var(--bg);
    padding: 3px 6px;
    border-radius: 4px;
    margin-left: 2px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    color: var(--text-muted);
    transition: color 0.15s;
}

.nav-links a:hover { color: var(--text); }

@media (max-width: 600px) {
    .nav-links { display: none; }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 10px;
    border: none;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--text);
    color: #fff;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

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

.btn-full { width: 100%; }

/* ============================================
   HERO WITH FLOATING EMOJIS
   ============================================ */

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

.floating-emojis {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.float-item {
    position: absolute;
    font-size: 48px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.1));
    animation: float 4s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
    opacity: 0.9;
}

.float-item.has-bubble::after {
    content: attr(data-bubble);
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
    background: var(--text);
    color: var(--bg);
    font-size: 12px;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    animation: bubbleFade 4s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.float-item.has-bubble::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--text);
    opacity: 0;
    animation: bubbleFade 4s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

@keyframes bubbleFade {
    0%, 100% { opacity: 0; }
    30%, 70% { opacity: 1; }
}

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

/* Desktop positions - 7 items with bubbles */
@media (min-width: 769px) {
    .float-item:nth-child(1) { left: 6%; top: 25%; }   /* 🧠 */
    .float-item:nth-child(2) { right: 6%; top: 20%; }  /* 📅 */
    .float-item:nth-child(3) { left: 4%; top: 55%; }   /* ✉️ */
    .float-item:nth-child(4) { right: 4%; top: 50%; }  /* ⏰ */
    .float-item:nth-child(5) { left: 8%; top: 80%; }   /* 💰 */
    .float-item:nth-child(6) { right: 8%; top: 75%; }  /* ✅ */
    .float-item:nth-child(7) { right: 12%; top: 35%; } /* 🍎 */
}

/* Mobile positions */
@media (max-width: 768px) {
    .float-item {
        font-size: 28px;
        opacity: 0.6;
    }
    
    /* Position emojis in corners */
    .float-item:nth-child(1) { left: 6%; top: 10%; }   /* 🧠 */
    .float-item:nth-child(2) { right: 6%; top: 8%; }   /* 📅 */
    .float-item:nth-child(3) { left: 4%; top: 38%; }   /* ✉️ */
    .float-item:nth-child(4) { right: 4%; top: 36%; }  /* ⏰ */
    .float-item:nth-child(5) { left: 6%; bottom: 8%; top: auto; }  /* 💰 */
    .float-item:nth-child(6) { right: 6%; bottom: 6%; top: auto; } /* ✅ */
    .float-item:nth-child(7) { right: 15%; top: 22%; }             /* 🍎 */
    
    /* Hide bubbles on mobile - cleaner look */
    .float-item.has-bubble::after,
    .float-item.has-bubble::before {
        display: none;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 500px;
}

.hero-intro {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.hero h1 {
    font-size: clamp(36px, 8vw, 56px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.035em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-note {
    display: block;
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-dim);
}

/* ============================================
   CHAT FEATURES SECTION
   ============================================ */

.section-chat {
    padding: 0;
    border-top: 1px solid var(--border);
}

.chat-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    max-width: 1100px;
    margin: 0 auto;
}

.chat-triggers {
    padding: 80px 60px;
}

.section-intro {
    margin-bottom: 60px;
}

.triggers-wrapper {
    display: flex;
    gap: 24px;
}

.progress-track {
    width: 3px;
    background: var(--border);
    border-radius: 3px;
    position: relative;
    flex-shrink: 0;
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: var(--text);
    border-radius: 3px;
    transition: height 0.1s ease-out;
}

.triggers-list {
    flex: 1;
}

.section-intro h2 {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.section-intro p {
    color: var(--text-muted);
    font-size: 15px;
}

.trigger {
    padding: 24px 0;
    opacity: 0.35;
    transition: opacity 0.3s ease, transform 0.3s ease;
    cursor: default;
}

.trigger-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.trigger.active { 
    opacity: 1;
    transform: translateX(4px);
}

.trigger-emoji {
    font-size: 36px;
    line-height: 1;
    filter: grayscale(0.5);
    transition: filter 0.4s;
}

.trigger.active .trigger-emoji { filter: grayscale(0); }

.trigger-text h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.trigger-text p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Hide accordion elements on desktop */
.trigger-chevron,
.trigger-preview {
    display: none;
}

/* Sticky chat window */
.chat-window-wrapper {
    position: sticky;
    top: 70px;
    height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 40px 40px 20px;
}

.chat-window {
    width: 100%;
    max-width: 340px;
    height: 480px;
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 24px 80px -12px rgba(0,0,0,0.15);
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-elevated);
}

.chat-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #fff;
}

.chat-info { display: flex; flex-direction: column; }
.chat-name { font-weight: 600; font-size: 14px; }
.chat-status { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-dim); }
.status-dot { width: 6px; height: 6px; background: #22c55e; border-radius: 50%; }

.chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.chat-placeholder {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    text-align: center;
    gap: 8px;
}

.chat-placeholder span {
    font-size: 24px;
    animation: bounce 2s ease-in-out infinite;
}

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

/* Messages */
.msg {
    max-width: 90%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.5;
}

.msg-user {
    align-self: flex-end;
    background: #3b82f6;
    color: white;
    border-bottom-right-radius: 6px;
}

.msg-bot {
    align-self: flex-start;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-bottom-left-radius: 6px;
}

/* Message components */
.msg-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
    margin: 8px 0;
    font-size: 13px;
}

.msg-card strong { display: block; margin-bottom: 4px; }

.msg-task {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
    margin-top: 8px;
}

.task-check { color: var(--text-muted); font-size: 18px; }
.task-meta { font-size: 12px; color: var(--text-dim); }

.msg-expense {
    background: linear-gradient(135deg, #065f46 0%, #047857 100%);
    border-radius: 12px;
    padding: 16px;
    margin: 8px 0;
    text-align: center;
}

.expense-amount { font-size: 28px; font-weight: 700; color: #6ee7b7; }
.expense-meta { font-size: 12px; color: #a7f3d0; margin-top: 4px; }
.msg-summary { font-size: 13px; color: var(--text-muted); margin-top: 8px; }

.msg-calendar {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    margin: 8px 0;
}

.cal-header {
    background: var(--bg-elevated);
    padding: 10px 14px;
    font-weight: 600;
    font-size: 13px;
    border-bottom: 1px solid var(--border);
}

.cal-event {
    display: flex;
    gap: 12px;
    padding: 10px 14px;
    font-size: 13px;
    border-bottom: 1px solid var(--border);
}

.cal-event:last-child { border-bottom: none; }
.cal-time { color: var(--text-muted); font-size: 12px; min-width: 45px; }

.msg-voice {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    padding: 8px 16px;
}

.voice-wave { font-family: monospace; font-size: 14px; letter-spacing: 1px; color: #60a5fa; }
.msg-voice span { font-size: 12px; color: #93c5fd; }

/* Mobile */
@media (max-width: 900px) {
    .chat-container { grid-template-columns: 1fr; }
    
    .chat-window-wrapper {
        display: none; /* Hidden on mobile */
    }
    
    .chat-triggers { padding: 40px 24px 60px; }
    .section-intro { margin-bottom: 32px; text-align: center; }
    
    /* Hide progress bar on mobile */
    .progress-track { display: none; }
    .triggers-wrapper { gap: 0; }
    
    /* Accordion style triggers */
    .trigger {
        padding: 0;
        opacity: 1;
        transform: none;
        border-bottom: 1px solid var(--border);
    }
    
    .trigger.active {
        transform: none;
    }
    
    .trigger-header {
        padding: 20px 0;
        cursor: pointer;
        align-items: center;
    }
    
    .trigger-emoji { 
        font-size: 28px;
        filter: none;
    }
    
    .trigger-text { flex: 1; }
    .trigger-text h3 { font-size: 16px; }
    .trigger-text p { font-size: 13px; }
    
    /* Chevron */
    .trigger-chevron {
        display: block;
        font-size: 24px;
        color: var(--text-dim);
        transition: transform 0.3s ease;
        font-weight: 300;
    }
    
    .trigger.expanded .trigger-chevron {
        transform: rotate(90deg);
    }
    
    /* Preview content */
    .trigger-preview {
        display: none;
        padding: 0 0 20px 48px;
        flex-direction: column;
        gap: 8px;
    }
    
    .trigger.expanded .trigger-preview {
        display: flex;
    }
    
    .preview-msg {
        padding: 10px 14px;
        border-radius: 16px;
        font-size: 13px;
        line-height: 1.4;
        max-width: 85%;
    }
    
    .preview-msg.user {
        align-self: flex-end;
        background: #3b82f6;
        color: white;
        border-bottom-right-radius: 4px;
    }
    
    .preview-msg.bot {
        align-self: flex-start;
        background: var(--bg-elevated);
        border: 1px solid var(--border);
        border-bottom-left-radius: 4px;
    }
    
    .preview-msg.voice {
        background: rgba(59, 130, 246, 0.15);
        border: 1px solid rgba(59, 130, 246, 0.3);
        color: #3b82f6;
    }
    
    .preview-card {
        align-self: flex-start;
        background: var(--bg-card);
        border: 1px solid var(--border);
        padding: 10px 14px;
        border-radius: 12px;
        font-size: 13px;
    }
}

/* ============================================
   SOCIAL PROOF
   ============================================ */

.section-proof {
    padding: 100px 0;
    border-top: 1px solid var(--border);
}

.proof-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.proof-item {
    text-align: center;
    padding: 24px 16px;
}

.proof-item p {
    font-size: 16px;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.5;
}

.proof-item span {
    font-size: 13px;
    color: var(--text-dim);
}

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

/* ============================================
   PRICING
   ============================================ */

.section-pricing {
    padding: 100px 0;
    text-align: center;
    border-top: 1px solid var(--border);
}

.section-pricing h2 {
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 700;
    margin-bottom: 40px;
    letter-spacing: -0.02em;
}

.pricing-box {
    max-width: 320px;
    margin: 0 auto;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
}

.price-tag {
    display: inline-block;
    background: var(--text);
    color: var(--bg);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.price-currency { font-size: 14px; color: var(--text-dim); }
.price-value { font-size: 56px; font-weight: 700; line-height: 1; letter-spacing: -0.03em; }
.price-period { font-size: 14px; color: var(--text-dim); }
.price-note { font-size: 13px; color: var(--text-dim); margin-bottom: 24px; }

.price-features {
    list-style: none;
    text-align: left;
    margin-bottom: 24px;
}

.price-features li {
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}

.price-features li:last-child { border-bottom: none; }

/* ============================================
   CTA
   ============================================ */

.section-cta {
    padding: 100px 0;
    text-align: center;
    border-top: 1px solid var(--border);
}

.section-cta h2 {
    font-size: clamp(24px, 5vw, 32px);
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-subtitle {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 24px;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
}

.footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-logo {
    font-weight: 700;
    font-size: 16px;
}

.footer-tagline {
    font-size: 12px;
    color: var(--text-dim);
}

.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: var(--text-dim); transition: color 0.15s; }
.footer-links a:hover { color: var(--text-muted); }
.footer-copy { font-size: 12px; color: var(--text-dim); }

@media (max-width: 600px) {
    .footer .container { flex-direction: column; text-align: center; }
}

/* ============================================
   MODAL
   ============================================ */

.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
}

.modal.open { opacity: 1; visibility: visible; }

.modal-bg {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
}

.modal-box {
    position: relative;
    width: 90%;
    max-width: 360px;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    transform: translateY(10px);
    transition: transform 0.2s;
}

.modal.open .modal-box { transform: translateY(0); }

.modal-x {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-dim);
    border-radius: 50%;
    transition: all 0.15s;
}

.modal-x:hover { background: var(--bg-elevated); color: var(--text-muted); }

.modal-box h3 {
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 24px;
}

.platform-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.platform-btn {
    padding: 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: all 0.15s;
}

.platform-btn:hover { border-color: #333; }
.platform-btn.active { border-color: var(--text-muted); color: var(--text); }

.modal-box label { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }

.modal-box input {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 16px;
    color: var(--text);
    margin-bottom: 20px;
}

.modal-box input:focus { outline: none; border-color: var(--text-dim); }
.modal-box input::placeholder { color: var(--text-dim); }

#checkout-error {
    display: none;
    color: #f87171;
    font-size: 13px;
    text-align: center;
    margin-bottom: 16px;
}

/* ============================================
   HOW IT WORKS
   ============================================ */

.section-how {
    padding: 100px 0;
    border-top: 1px solid var(--border);
}

.section-how h2 {
    font-size: clamp(24px, 5vw, 32px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.section-how > .container > p {
    text-align: center;
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 60px;
}

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

.how-step {
    text-align: center;
    padding: 24px 16px;
}

.how-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--text);
    color: var(--bg);
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 16px;
}

.how-step-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.how-step h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.how-step p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

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

/* ============================================
   FAQ ACCORDION
   ============================================ */

.section-faq {
    padding: 100px 0;
    border-top: 1px solid var(--border);
}

.section-faq h2 {
    font-size: clamp(24px, 5vw, 32px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    letter-spacing: -0.02em;
}

.faq-list {
    max-width: 640px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    text-align: left;
    cursor: pointer;
    transition: color 0.15s;
}

.faq-question:hover { color: var(--text-muted); }

.faq-icon {
    font-size: 20px;
    font-weight: 300;
    color: var(--text-dim);
    transition: transform 0.2s;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 0 20px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================
   TESTIMONIAL AVATARS
   ============================================ */

.proof-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.proof-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--text);
    color: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 16px;
}

/* ============================================
   TRUST CALLOUT
   ============================================ */

.trust-callout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 13px;
    color: var(--text-dim);
}

.trust-callout svg {
    flex-shrink: 0;
}

/* ============================================
   LANGUAGE SWITCHER
   ============================================ */

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 500;
    margin-left: 8px;
}

.lang-option {
    padding: 4px 8px;
    border-radius: 6px;
    color: var(--text-dim);
    transition: all 0.15s;
    text-decoration: none;
}

.lang-option:hover {
    color: var(--text-muted);
}

.lang-option.active {
    color: var(--text);
    background: var(--bg-elevated);
}

.lang-divider {
    color: var(--text-dim);
    font-weight: 300;
    user-select: none;
}

@media (max-width: 600px) {
    .lang-switcher {
        margin-left: 0;
    }
}

/* ============================================
   FRONTEND-DESIGN BEST PRACTICES
   ============================================ */

/* Focus-visible for keyboard navigation */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

/* Enhanced button focus states */
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.nav-links a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

/* Touch-action for mobile */
.floating-emojis {
    touch-action: manipulation;
}

.float-item {
    touch-action: manipulation;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .float-item {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .floating-emojis {
        display: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --border: #000000;
        --text-dim: #525252;
    }
    
    .nav {
        border-bottom: 2px solid var(--text);
    }
    
    .btn-primary {
        border: 2px solid var(--text);
    }
}

/* Dark mode support (prefers-color-scheme) */
@media (prefers-color-scheme: dark) {
    :root.auto-dark {
        --bg: #1a1a1a;
        --bg-card: #262626;
        --bg-elevated: #333333;
        --text: #fafafa;
        --text-muted: #a3a3a3;
        --text-dim: #525252;
        --border: #404040;
    }
}
