/* Scarlett - MyScarlet.ai — Mobile-First Redesign */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --scarlett: #ff6b9d;
    --scarlett-dark: #e040a0;
    --scarlett-glow: rgba(255, 107, 157, 0.35);
    --bg-primary: #0f0f1a;
    --bg-secondary: #16213e;
    --bg-card: #1a1a2e;
    --bg-input: #252545;
    --text-primary: #f0f0f0;
    --text-secondary: #a0a0b0;
    --text-muted: #666;
    --border: rgba(255, 255, 255, 0.08);
    --border-glass: rgba(255, 255, 255, 0.12);
    --success: #4caf50;
    --error: #f44336;
    --warning: #ff9800;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    min-height: 100vh;
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============ GLASS CARD ============ */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* ============ LANDING HERO ============ */
.landing-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 64px 20px 48px;
}

.landing-hero h1 {
    font-size: 2.4em;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    max-width: 700px;
}

.landing-hero h1 .accent {
    color: var(--scarlett);
}

.landing-hero .tagline {
    font-size: 1.05em;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 520px;
    line-height: 1.6;
    font-weight: 400;
}

/* ============ HERO CTAs ============ */
.hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    width: 100%;
    max-width: 360px;
    align-items: center;
}

/* ============ TRUST ROW ============ */
.trust-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 56px;
    color: var(--text-secondary);
    font-size: 0.85em;
    font-weight: 500;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.trust-item svg {
    width: 16px;
    height: 16px;
    stroke: var(--scarlett);
    fill: none;
    stroke-width: 2;
    flex-shrink: 0;
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border: none;
    border-radius: var(--radius-full);
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    font-family: inherit;
    min-height: 48px;
    -webkit-tap-highlight-color: transparent;
}

.btn-primary {
    background: var(--scarlett-dark);
    color: white;
    box-shadow: 0 4px 24px var(--scarlett-glow);
}

.btn-primary:hover {
    background: var(--scarlett);
    transform: translateY(-1px);
    box-shadow: 0 6px 32px var(--scarlett-glow);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 12px var(--scarlett-glow);
}

.btn-primary.btn-glow {
    animation: glowPulse 2.5s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 4px 24px var(--scarlett-glow); }
    50% { box-shadow: 0 4px 40px rgba(255, 107, 157, 0.5); }
}

.btn-secondary {
    background: transparent;
    color: var(--scarlett);
    border: 1px solid rgba(255, 107, 157, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 107, 157, 0.08);
    border-color: var(--scarlett);
}

.btn-secondary:active {
    background: rgba(255, 107, 157, 0.15);
}

.btn:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-full {
    width: 100%;
}

/* ============ SECTION STYLES ============ */
.section {
    padding: 0 20px;
    margin-bottom: 64px;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.section-title {
    font-size: 1.6em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 32px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.section-title .accent {
    color: var(--scarlett);
}

/* ============ FEATURE CARDS ============ */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: border-color 0.2s;
}

.feature-card:hover {
    border-color: rgba(255, 107, 157, 0.25);
}

.feature-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 157, 0.1);
    border-radius: var(--radius-md);
}

.feature-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--scarlett);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-card h3 {
    color: var(--text-primary);
    font-size: 1.1em;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9em;
    line-height: 1.6;
}

/* ============ SOCIAL PROOF — iMessage BUBBLES ============ */
.proof-section {
    padding: 0 20px;
    margin-bottom: 64px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.proof-convo {
    margin-bottom: 24px;
}

.bubble {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 0.9em;
    line-height: 1.5;
    margin-bottom: 6px;
    animation: fadeIn 0.3s ease;
}

.bubble-user {
    background: #3a3a6a;
    align-self: flex-end;
    margin-left: auto;
    border-bottom-right-radius: 4px;
    color: var(--text-primary);
    text-align: right;
}

.bubble-scarlett {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    align-self: flex-start;
    margin-right: auto;
    border-bottom-left-radius: 4px;
    color: var(--text-primary);
}

.bubble-scarlett .bubble-name {
    font-size: 0.75em;
    color: var(--scarlett);
    font-weight: 600;
    margin-bottom: 4px;
}

/* ============ PRICING ============ */
.pricing-section {
    padding: 0 20px;
    margin-bottom: 64px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--scarlett);
    box-shadow: 0 0 40px rgba(255, 107, 157, 0.1);
}

.featured-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--scarlett), var(--scarlett-dark));
    color: white;
    padding: 5px 20px;
    border-radius: var(--radius-full);
    font-size: 0.78em;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.pricing-card h3 {
    color: var(--text-primary);
    font-size: 1.25em;
    font-weight: 700;
    margin-bottom: 4px;
}

.pricing-card .card-tier-desc {
    color: var(--text-secondary);
    font-size: 0.85em;
    margin-bottom: 16px;
}

.pricing-card .price-line {
    font-size: 2.6em;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.pricing-card .price-line span {
    font-size: 0.35em;
    color: var(--text-secondary);
    font-weight: 400;
}

.pricing-card .price-line .price-old {
    font-size: 0.45em;
    text-decoration: line-through;
    color: var(--text-muted);
    font-weight: 400;
    margin-right: 6px;
}

.pricing-card .price-note {
    color: var(--scarlett);
    font-size: 0.82em;
    font-weight: 600;
    margin-bottom: 20px;
}

.pricing-card .card-features {
    list-style: none;
    margin-bottom: 24px;
}

.pricing-card .card-features li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.88em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-card .card-features li svg {
    width: 16px;
    height: 16px;
    stroke: var(--scarlett);
    fill: none;
    stroke-width: 2.5;
    flex-shrink: 0;
}

.pricing-card .card-features li.disabled {
    color: var(--text-muted);
}

.pricing-card .card-features li.disabled svg {
    stroke: var(--text-muted);
}

.pricing-card .btn {
    width: 100%;
    text-align: center;
}

/* ============ FAQ ============ */
.faq-section {
    padding: 0 20px;
    margin-bottom: 64px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 0;
    margin-bottom: 8px;
    overflow: hidden;
}

.faq-item summary {
    cursor: pointer;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95em;
    padding: 16px 20px;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    color: var(--scarlett);
    font-size: 1.3em;
    font-weight: 400;
    flex-shrink: 0;
    margin-left: 12px;
    transition: transform 0.2s;
}

.faq-item[open] summary::after {
    content: '\2212';
}

.faq-item .faq-answer {
    color: var(--text-secondary);
    font-size: 0.9em;
    line-height: 1.65;
    padding: 0 20px 16px;
}

/* ============ DEMO CHAT WIDGET ============ */
.demo-chat-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    background: var(--scarlett-dark);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    padding: 14px 24px;
    font-size: 0.95em;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 24px var(--scarlett-glow);
    transition: all 0.2s;
    font-family: inherit;
    min-height: 48px;
    -webkit-tap-highlight-color: transparent;
}
.demo-chat-btn:hover {
    background: var(--scarlett);
    transform: translateY(-2px);
    box-shadow: 0 6px 32px var(--scarlett-glow);
}
.demo-chat-btn:active {
    transform: translateY(0);
}
.demo-chat-btn svg {
    width: 20px;
    height: 20px;
    fill: white;
}
.demo-chat-btn.hidden { display: none; }

.demo-popup {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 380px;
    height: 520px;
    background: var(--bg-primary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    z-index: 9999;
    display: none;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 8px 48px rgba(0, 0, 0, 0.6);
}
.demo-popup.open { display: flex; }

.demo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-card);
}
.demo-header-left { display: flex; align-items: center; gap: 10px; }
.demo-header h3 { color: var(--scarlett); font-size: 1.1em; margin: 0; font-weight: 700; }
.demo-status {
    font-size: 0.75em;
    color: var(--success);
    background: rgba(76, 175, 80, 0.12);
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 500;
}
.demo-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5em;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    min-height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
}
.demo-close:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }

.demo-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.demo-msg {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 0.9em;
    line-height: 1.5;
    animation: fadeIn 0.3s ease;
}
.demo-msg-user {
    background: #3a3a6a;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    color: var(--text-primary);
}
.demo-msg-assistant {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    color: var(--text-primary);
}
.demo-msg-audio { margin-top: 6px; }
.demo-msg-audio button {
    background: var(--scarlett-dark);
    border: none;
    color: white;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-size: 0.8em;
    font-family: inherit;
    min-height: 32px;
}
.demo-msg-audio button:hover { background: var(--scarlett); }
.demo-msg-audio button.playing { background: var(--success); }

.demo-typing {
    display: none;
    align-self: flex-start;
    padding: 10px 14px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-glass);
}
.demo-typing span {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: var(--scarlett);
    border-radius: 50%;
    margin: 0 2px;
    animation: bounce 1.4s infinite ease-in-out;
}
.demo-typing span:nth-child(1) { animation-delay: -0.32s; }
.demo-typing span:nth-child(2) { animation-delay: -0.16s; }

.demo-footer {
    padding: 10px 16px;
    border-top: 1px solid var(--border);
}
.demo-counter {
    font-size: 0.78em;
    text-align: center;
    margin-bottom: 6px;
    min-height: 1em;
}
.demo-input-row {
    display: flex;
    gap: 8px;
}
.demo-input-row input {
    flex: 1;
    padding: 10px 16px;
    border: none;
    border-radius: var(--radius-full);
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 0.9em;
    font-family: inherit;
    outline: none;
    min-height: 44px;
}
.demo-input-row input:focus { box-shadow: 0 0 0 2px var(--scarlett); }
.demo-input-row button {
    padding: 10px 18px;
    border: none;
    border-radius: var(--radius-full);
    background: var(--scarlett-dark);
    color: white;
    font-size: 0.9em;
    font-family: inherit;
    cursor: pointer;
    min-height: 44px;
}
.demo-input-row button:hover { background: var(--scarlett); }
.demo-input-row button:disabled { background: var(--text-muted); cursor: not-allowed; }

.demo-cta {
    display: none;
    text-align: center;
    padding: 20px 16px;
    border-top: 1px solid var(--border);
}
.demo-cta p {
    color: var(--text-secondary);
    font-size: 0.88em;
    margin-bottom: 12px;
}
.demo-cta a {
    display: inline-block;
    background: var(--scarlett-dark);
    color: white;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9em;
    min-height: 44px;
    line-height: 1.4;
}
.demo-cta a:hover { background: var(--scarlett); }

/* ============ MOBILE STICKY CTA ============ */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-glass);
    padding: 12px 20px;
    display: none;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.sticky-cta.visible {
    transform: translateY(0);
}

.sticky-cta .btn {
    width: 100%;
}

/* ============ FOOTER ============ */
.footer {
    text-align: center;
    padding: 32px 20px;
    color: var(--text-muted);
    font-size: 0.82em;
}

.footer a {
    color: var(--text-secondary);
    text-decoration: none;
}

.footer a:hover {
    color: var(--scarlett);
}

.footer p {
    margin-bottom: 8px;
}

/* ============ AUTH FORMS (kept for other pages) ============ */
.auth-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.auth-form {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: 40px;
    max-width: 420px;
    width: 100%;
}

.auth-form h1 {
    color: var(--scarlett);
    text-align: center;
    margin-bottom: 30px;
    font-size: 2em;
}

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-size: 0.9em;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg-input);
    color: var(--text-primary);
    font-size: 1em;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus { border-color: var(--scarlett); }

.form-group .checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-group .checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
    accent-color: var(--scarlett);
}

.form-group .checkbox-group label {
    margin-bottom: 0;
    font-size: 0.85em;
    line-height: 1.4;
}

.form-error {
    color: var(--error);
    font-size: 0.85em;
    margin-top: 5px;
    display: none;
}

.form-error.visible { display: block; }

.auth-links {
    text-align: center;
    margin-top: 20px;
    color: var(--text-secondary);
    font-size: 0.9em;
}

.auth-links a {
    color: var(--scarlett);
    text-decoration: none;
}

.auth-links a:hover { text-decoration: underline; }

/* ============ CHAT INTERFACE (kept for chat.html) ============ */
.chat-wrapper {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border);
}

.chat-header h1 {
    color: var(--scarlett);
    font-size: 1.5em;
}

.chat-header .user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-secondary);
    font-size: 0.9em;
}

.chat-header .logout-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 0.85em;
    font-family: inherit;
}

.chat-header .logout-btn:hover {
    border-color: var(--scarlett);
    color: var(--scarlett);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    max-width: 80%;
    padding: 15px 20px;
    border-radius: 20px;
    line-height: 1.5;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.message-user {
    background: #3a3a6a;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}

.message-assistant {
    background: var(--bg-card);
    align-self: flex-start;
    border-bottom-left-radius: 5px;
    border-left: 3px solid var(--scarlett);
}

.message-audio {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.audio-btn {
    background: var(--scarlett);
    border: none;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 0.8em;
    width: fit-content;
    font-family: inherit;
}

.audio-btn:hover { background: var(--scarlett-dark); }
.audio-btn.playing { background: var(--success); }

.typing-indicator {
    display: none;
    align-self: flex-start;
    padding: 15px 20px;
    background: var(--bg-card);
    border-radius: 20px;
    border-left: 3px solid var(--scarlett);
}

.typing-indicator span {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--scarlett);
    border-radius: 50%;
    margin: 0 2px;
    animation: bounce 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

.chat-input {
    display: flex;
    gap: 10px;
    padding: 15px 20px;
    border-top: 1px solid var(--border);
    align-items: center;
}

.chat-input input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 1em;
    font-family: inherit;
    outline: none;
}

.chat-input input:focus { box-shadow: 0 0 0 2px var(--scarlett); }

.chat-input button {
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    background: var(--scarlett);
    color: white;
    font-size: 1em;
    cursor: pointer;
    font-family: inherit;
}

.chat-input button:hover { background: var(--scarlett-dark); }
.chat-input button:disabled { background: var(--text-muted); cursor: not-allowed; }

.chat-input .mic-btn.recording {
    background: var(--error);
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.status-bar {
    text-align: center;
    padding: 5px;
    font-size: 0.8em;
    color: var(--text-muted);
}

/* ============ TIER CARDS (legacy, kept for other pages) ============ */
.tier-cards {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
    max-width: 1000px;
    width: 100%;
}

.landing-hero .price-card {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 20px;
    padding: 30px 24px;
    flex: 1;
    max-width: 320px;
    position: relative;
}

.landing-hero .price-card.featured {
    border-color: var(--scarlett);
    box-shadow: 0 0 40px rgba(255, 107, 157, 0.15);
    transform: scale(1.04);
}

.price-card h2 {
    color: var(--scarlett);
    font-size: 1.8em;
    margin-bottom: 5px;
}

.price-card .tier-name {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.price-card .price {
    font-size: 3em;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.price-card .price span {
    font-size: 0.4em;
    color: var(--text-secondary);
}

.price-card .features {
    list-style: none;
    margin: 20px 0;
    text-align: left;
}

.price-card .features li {
    padding: 8px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

.price-card .features li::before {
    content: "\2713  ";
    color: var(--scarlett);
}

/* ============ RESPONSIVE — MOBILE FIRST ============ */

/* Small phones (375px+) — base styles above cover this */

/* Larger phones */
@media (min-width: 480px) {
    .landing-hero h1 {
        font-size: 2.8em;
    }

    .landing-hero .tagline {
        font-size: 1.1em;
    }

    .hero-ctas {
        max-width: 400px;
    }
}

/* Tablets */
@media (min-width: 768px) {
    .landing-hero {
        padding: 80px 32px 64px;
    }

    .landing-hero h1 {
        font-size: 3.2em;
    }

    .landing-hero .tagline {
        font-size: 1.15em;
        max-width: 560px;
    }

    .hero-ctas {
        flex-direction: row;
        max-width: 480px;
    }

    .hero-ctas .btn {
        flex: 1;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .pricing-card.featured {
        transform: scale(1.02);
    }

    .section, .proof-section, .pricing-section, .faq-section {
        padding: 0 32px;
    }

    .sticky-cta {
        display: none !important;
    }

    .demo-chat-btn {
        padding: 14px 24px;
        font-size: 0.95em;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .landing-hero h1 {
        font-size: 3.6em;
    }

    .landing-hero .tagline {
        font-size: 1.2em;
        max-width: 600px;
    }

    .features-grid {
        gap: 24px;
    }
}

/* Large desktop */
@media (min-width: 1440px) {
    .landing-hero h1 {
        font-size: 4em;
    }
}

/* Mobile overrides */
@media (max-width: 767px) {
    .demo-popup {
        width: calc(100vw - 16px);
        right: 8px;
        bottom: 8px;
        height: 75vh;
        max-height: 520px;
        border-radius: var(--radius-lg);
    }

    .demo-chat-btn {
        bottom: 16px;
        right: 16px;
        padding: 14px 20px;
        font-size: 0.9em;
    }

    .sticky-cta {
        display: block;
    }

    .pricing-card.featured {
        transform: none;
    }

    .tier-cards { flex-direction: column; align-items: center; }
    .landing-hero .price-card { max-width: 400px; }
    .landing-hero .price-card.featured { transform: none; }

    .auth-form { padding: 24px; }
    .message { max-width: 90%; }
}
