/* ============================================
   MonÉvaluation — RE/MAX Inspired Theme
   Machine à convertir — Couleurs RE/MAX
   ============================================ */

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

:root {
    /* RE/MAX Colors */
    --remax-blue: #003DA5;
    --remax-blue-light: #0056D6;
    --remax-blue-dark: #002B75;
    --remax-red: #DC1431;
    --remax-red-light: #FF2D4A;
    --remax-red-dark: #B01028;

    /* Dark Theme with RE/MAX */
    --bg-primary: #0a0e1a;
    --bg-secondary: #0f1526;
    --bg-tertiary: #141c33;
    --bg-card: rgba(15, 21, 38, 0.9);
    --bg-glass: rgba(0, 61, 165, 0.08);

    /* Text */
    --text-primary: #f5f6fa;
    --text-secondary: #b0b8cc;
    --text-muted: #6b7490;

    /* Borders */
    --border: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.12);
    --border-blue: rgba(0, 61, 165, 0.3);

    /* Accents */
    --accent: var(--remax-blue);
    --accent-light: var(--remax-blue-light);
    --accent-red: var(--remax-red);

    /* Status */
    --success: #4ade80;
    --danger: var(--remax-red);

    /* Chat */
    --chat-bot-bg: rgba(0, 61, 165, 0.12);
    --chat-user-bg: var(--remax-blue);
    --chat-user-text: #fff;

    /* Misc */
    --radius: 12px;
    --radius-lg: 16px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-blue: 0 8px 32px rgba(0, 61, 165, 0.2);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ---------- Navigation ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 40px;
    background: rgba(10, 14, 26, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.nav-icon {
    font-size: 28px;
}

.accent {
    color: var(--remax-red);
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color var(--transition);
}

.nav-link:hover {
    color: var(--remax-red);
}

/* ---------- Hero Section ---------- */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 100px 40px 40px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(0, 61, 165, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(220, 20, 49, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    z-index: -1;
}

/* Animated orb */
.hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 61, 165, 0.08) 0%, transparent 70%);
    top: -100px;
    left: -200px;
    animation: float 20s ease-in-out infinite;
    z-index: -1;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(60px, 40px) scale(1.1);
    }

    66% {
        transform: translate(-30px, 80px) scale(0.95);
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 20px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--remax-red);
    margin-bottom: 16px;
}

.hero-eyebrow::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--remax-red);
}

.hero-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-highlight {
    display: block;
    color: var(--remax-blue-light);
    margin-top: 8px;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.7;
}

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

.hero-cta-text {
    font-size: 0.95rem;
    color: var(--remax-blue-light);
    font-weight: 600;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-cta-text svg {
    animation: bounce-right 1.5s ease-in-out infinite;
}

@keyframes bounce-right {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(6px);
    }
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border-blue);
    border-radius: 100px;
    font-size: 13px;
    color: var(--text-secondary);
    backdrop-filter: blur(10px);
    transition: all var(--transition);
}

.badge:hover {
    border-color: var(--remax-blue-light);
    color: var(--remax-blue-light);
    transform: translateY(-2px);
}

.badge-icon {
    font-size: 16px;
}

/* ---------- Chat Panel ---------- */
.chat-panel {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border-blue);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow), 0 0 60px rgba(0, 61, 165, 0.08);
    max-height: calc(100vh - 140px);
    overflow: hidden;
    position: sticky;
    top: 100px;
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(0, 61, 165, 0.15);
    border-bottom: 1px solid var(--border-blue);
}

.chat-header-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--remax-blue), var(--remax-blue-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: #fff;
    flex-shrink: 0;
}

.chat-header-info {
    display: flex;
    flex-direction: column;
}

.chat-header-name {
    font-weight: 600;
    font-size: 15px;
}

.chat-header-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--success);
}

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

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* Chat Messages */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    scroll-behavior: smooth;
}

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

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

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

.chat-message {
    display: flex;
    gap: 10px;
    max-width: 90%;
    animation: messageIn 0.4s ease-out;
}

@keyframes messageIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message.bot {
    align-self: flex-start;
}

.chat-message.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.msg-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--remax-blue), var(--remax-blue-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    color: #fff;
    flex-shrink: 0;
}

.msg-bubble {
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 14px;
    line-height: 1.55;
    white-space: pre-wrap;
    word-break: break-word;
}

.bot .msg-bubble {
    background: var(--chat-bot-bg);
    border: 1px solid var(--border-blue);
    border-bottom-left-radius: 4px;
    color: var(--text-primary);
}

.user .msg-bubble {
    background: var(--chat-user-bg);
    color: var(--chat-user-text);
    border-bottom-right-radius: 4px;
}

.msg-bubble strong,
.msg-bubble b {
    color: var(--remax-blue-light);
    font-weight: 600;
}

.user .msg-bubble strong,
.user .msg-bubble b {
    color: #fff;
}

/* Typing indicator */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    background: var(--chat-bot-bg);
    border: 1px solid var(--border-blue);
    border-radius: var(--radius);
    border-bottom-left-radius: 4px;
    width: fit-content;
}

.typing-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
    animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.16s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.32s;
}

@keyframes typingBounce {

    0%,
    80%,
    100% {
        transform: scale(0.7);
        opacity: 0.4;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Chat Options (Quick Replies) */
.chat-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 20px;
    animation: messageIn 0.4s ease-out;
}

.chat-option {
    padding: 10px 18px;
    background: rgba(0, 61, 165, 0.12);
    border: 1px solid rgba(0, 61, 165, 0.3);
    border-radius: 100px;
    color: var(--remax-blue-light);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    font-family: inherit;
}

.chat-option:hover {
    background: rgba(0, 61, 165, 0.25);
    border-color: var(--remax-blue-light);
    transform: translateY(-1px);
}

.chat-option:active {
    transform: scale(0.97);
}

/* Details Form */
.chat-details-form,
.chat-contact-form {
    padding: 12px 20px;
    animation: messageIn 0.4s ease-out;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
}

.detail-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-field.full-width {
    grid-column: 1 / -1;
}

.detail-field label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.detail-field select,
.detail-field input,
.contact-input {
    padding: 10px 14px;
    background: rgba(10, 14, 26, 0.6);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color var(--transition);
}

.detail-field select:focus,
.detail-field input:focus,
.contact-input:focus {
    border-color: var(--remax-blue-light);
}

.contact-fields {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
}

.btn-details-submit,
.btn-contact-submit {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--remax-blue), var(--remax-blue-light));
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-details-submit:hover,
.btn-contact-submit:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-blue);
}

/* Chat Input */
.chat-input-area {
    display: flex;
    gap: 8px;
    padding: 12px 20px;
    border-top: 1px solid var(--border);
    background: rgba(10, 14, 26, 0.3);
}

.chat-input {
    flex: 1;
    padding: 10px 16px;
    background: rgba(10, 14, 26, 0.6);
    border: 1px solid var(--border-light);
    border-radius: 100px;
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color var(--transition);
}

.chat-input:focus {
    border-color: var(--remax-blue-light);
}

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

.chat-send {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--remax-red), var(--remax-red-light));
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    flex-shrink: 0;
}

.chat-send:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(220, 20, 49, 0.3);
}

.chat-disclaimer {
    padding: 8px 20px 12px;
    text-align: center;
    font-size: 11px;
    color: var(--text-muted);
}

/* ---------- Pillars Section (3 raisons) ---------- */
.pillars-section {
    padding: 100px 40px;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.section-eyebrow {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--remax-red);
    margin-bottom: 12px;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 50px;
    line-height: 1.7;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.pillar-card {
    background: rgba(0, 61, 165, 0.06);
    border: 1px solid var(--border-blue);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    position: relative;
    transition: all var(--transition);
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--remax-blue), var(--remax-red));
    opacity: 0;
    transition: opacity var(--transition);
}

.pillar-card:hover {
    border-color: var(--remax-blue-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-blue);
}

.pillar-card:hover::before {
    opacity: 1;
}

.pillar-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--remax-blue);
    margin-bottom: 8px;
    line-height: 1;
}

.pillar-number::after {
    content: '.';
    color: var(--remax-red);
}

.pillar-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.pillar-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ---------- How It Works ---------- */
.how-it-works {
    padding: 100px 40px;
    background: var(--bg-primary);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.step-card {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    position: relative;
    transition: all var(--transition);
    backdrop-filter: blur(10px);
}

.step-card:hover {
    border-color: var(--remax-blue);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.step-number {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--remax-blue), var(--remax-blue-light));
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.step-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

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

/* ---------- Trust Stats ---------- */
.trust-section {
    padding: 80px 40px;
    background: linear-gradient(180deg, var(--bg-primary), var(--bg-secondary));
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.trust-stat {
    text-align: center;
    padding: 24px;
}

.trust-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--remax-blue-light);
    margin-bottom: 4px;
}

.trust-label {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ---------- FAQ Section ---------- */
.faq-section {
    padding: 100px 40px;
    background: var(--bg-secondary);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(0, 61, 165, 0.06);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: all var(--transition);
}

.faq-item:hover {
    border-color: var(--border-blue);
}

.faq-item h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.faq-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
    padding: 60px 40px;
    text-align: center;
    background: linear-gradient(135deg, var(--remax-blue-dark), var(--remax-blue));
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
}

.cta-banner h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
}

.cta-banner p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
    position: relative;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--remax-red);
    color: #fff;
    border: none;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
}

.cta-button:hover {
    background: var(--remax-red-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(220, 20, 49, 0.3);
}

/* ---------- Footer ---------- */
.footer {
    padding: 40px;
    border-top: 1px solid var(--border);
    background: rgba(10, 14, 26, 0.5);
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-disclaimer {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 12px;
}

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

/* ---------- Google Places Autocomplete Dropdown ---------- */
.pac-container {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-light) !important;
    border-radius: 8px !important;
    box-shadow: var(--shadow) !important;
    margin-top: 4px !important;
    z-index: 10000 !important;
}

.pac-item {
    padding: 10px 14px !important;
    color: var(--text-primary) !important;
    border-bottom: 1px solid var(--border) !important;
    cursor: pointer !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
}

.pac-item:hover,
.pac-item-selected {
    background: rgba(0, 61, 165, 0.15) !important;
}

.pac-item-query {
    color: var(--text-primary) !important;
    font-weight: 500 !important;
}

.pac-icon {
    display: none !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 80px 24px 24px;
        min-height: auto;
    }

    .hero-content {
        text-align: center;
        padding: 0;
    }

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

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

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

    .chat-panel {
        position: static;
        max-height: 80vh;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

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

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

@media (max-width: 640px) {

    /* Nav */
    .nav {
        padding: 10px 16px;
    }

    .nav-logo {
        font-size: 18px;
    }

    .nav-icon {
        font-size: 22px;
    }

    .nav-links {
        display: none;
    }

    /* Hero — Chat FIRST on mobile */
    .hero {
        display: flex;
        flex-direction: column;
        padding: 64px 12px 16px;
        gap: 20px;
        min-height: auto;
    }

    /* Put chat panel BEFORE hero content on mobile */
    .chat-panel {
        order: -1;
        max-height: 70vh;
        min-height: 400px;
        border-radius: var(--radius);
        position: static;
    }

    .hero-content {
        order: 1;
        padding: 0 4px;
    }

    .hero-title {
        font-size: 1.5rem;
        line-height: 1.2;
        margin-bottom: 12px;
    }

    .hero-highlight {
        margin-top: 4px;
    }

    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 8px;
        line-height: 1.5;
    }

    .hero-eyebrow {
        font-size: 11px;
        margin-bottom: 10px;
    }

    .hero-cta-text {
        font-size: 0.85rem;
        margin-bottom: 16px;
    }

    .hero-badges {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }

    .badge {
        padding: 6px 12px;
        font-size: 11px;
        gap: 6px;
    }

    .badge-icon {
        font-size: 14px;
    }

    /* Chat on mobile */
    .chat-header {
        padding: 12px 14px;
    }

    .chat-header-avatar {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

    .chat-header-name {
        font-size: 14px;
    }

    .chat-messages {
        padding: 14px 12px;
        gap: 12px;
    }

    .msg-avatar {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }

    .msg-bubble {
        padding: 10px 12px;
        font-size: 13px;
        line-height: 1.5;
    }

    .chat-message {
        gap: 8px;
        max-width: 92%;
    }

    /* CRITICAL: 16px prevents iOS Safari auto-zoom on focus */
    .chat-input {
        font-size: 16px;
        padding: 10px 14px;
    }

    .chat-input-area {
        padding: 10px 12px;
        gap: 6px;
    }

    .chat-send {
        width: 38px;
        height: 38px;
    }

    .chat-disclaimer {
        padding: 6px 12px 8px;
        font-size: 10px;
    }

    /* Sections — compact padding */
    .pillars-section,
    .how-it-works,
    .trust-section,
    .faq-section {
        padding: 50px 16px;
    }

    .section-eyebrow {
        font-size: 11px;
        margin-bottom: 8px;
    }

    .section-title {
        font-size: 1.35rem;
        margin-bottom: 10px;
    }

    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }

    /* Pillars */
    .pillar-card {
        padding: 24px 20px;
    }

    .pillar-number {
        font-size: 2.2rem;
    }

    .pillar-card h3 {
        font-size: 1rem;
    }

    .pillar-card p {
        font-size: 13px;
    }

    /* Steps */
    .steps-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

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

    .step-icon {
        font-size: 30px;
        margin-bottom: 10px;
    }

    .step-card h3 {
        font-size: 14px;
    }

    .step-card p {
        font-size: 12px;
    }

    /* Trust stats */
    .trust-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .trust-stat {
        padding: 16px 8px;
    }

    .trust-number {
        font-size: 1.8rem;
    }

    .trust-label {
        font-size: 11px;
    }

    /* FAQ */
    .faq-item {
        padding: 18px 16px;
    }

    .faq-item h4 {
        font-size: 14px;
    }

    .faq-item p {
        font-size: 13px;
    }

    /* CTA */
    .cta-banner {
        padding: 36px 16px;
    }

    .cta-banner h2 {
        font-size: 1.25rem;
    }

    .cta-banner p {
        font-size: 0.9rem;
    }

    .cta-button {
        padding: 12px 24px;
        font-size: 14px;
    }

    /* Footer */
    .footer {
        padding: 24px 16px;
    }

    /* Detail forms */
    .details-grid {
        grid-template-columns: 1fr;
    }
}