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

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #eff6ff;
    --teal: #0d9488;
    --teal-light: #f0fdfa;
    --purple: #7c3aed;
    --orange: #ea580c;
    --green: #16a34a;
    --text: #0f172a;
    --text-2: #475569;
    --text-3: #94a3b8;
    --border: #e2e8f0;
    --bg: #ffffff;
    --bg-2: #f8fafc;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 4px 24px rgba(15,23,42,.08);
    --shadow-lg: 0 20px 60px rgba(15,23,42,.15);
    --gradient: linear-gradient(135deg, #2563eb 0%, #0d9488 100%);
}

html { scroll-behavior: smooth; }

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

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

img { display: block; max-width: 100%; }

/* ===========================
   TYPOGRAPHY UTILITIES
=========================== */
.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.gradient-text-light {
    background: linear-gradient(135deg, #93c5fd, #5eead4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-light);
    padding: 4px 14px;
    border-radius: 100px;
    margin-bottom: 16px;
}
.section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 16px;
}
.section-subtitle {
    font-size: 18px;
    color: var(--text-2);
    max-width: 540px;
    margin-bottom: 48px;
}

/* ===========================
   BUTTONS
=========================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: opacity .2s, transform .2s, box-shadow .2s, background .2s;
}
.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: var(--radius); }
.btn-primary {
    background: var(--gradient);
    color: #fff;
    border-color: transparent;
}
.btn-primary:hover { opacity: .9; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(37,99,235,.35); }
.btn-ghost { color: var(--text); background: transparent; }
.btn-ghost:hover { background: var(--bg-2); }
.btn-outline {
    color: var(--primary);
    border-color: var(--primary);
    background: transparent;
}
.btn-outline:hover { background: var(--primary-light); }
.btn-white { background: #fff; color: var(--primary); font-weight: 700; }
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(255,255,255,.25); }
.btn-outline-white {
    border-color: rgba(255,255,255,.5);
    color: #fff;
    background: transparent;
}
.btn-outline-white:hover { background: rgba(255,255,255,.1); }

/* ===========================
   NAVBAR
=========================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid var(--border);
    will-change: box-shadow;
    transform: translateZ(0);
}
.nav-inner {
    display: flex;
    align-items: center;
    height: 68px;
    gap: 18px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
    flex-shrink: 0;
}
.logo-icon { font-size: 26px; line-height: 1; }
.accent { color: var(--primary); }
.nav-links {
    display: flex;
    list-style: none;
    gap: 2px;
    margin-left: 8px;
    flex-shrink: 0;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-2);
    font-size: 14.5px;
    font-weight: 500;
    padding: 6px 11px;
    border-radius: 8px;
    transition: all .15s;
    white-space: nowrap;
}
.nav-links a:hover { color: var(--primary); background: var(--primary-light); }
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all .2s; }

/* ===========================
   HERO
=========================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .12;
    will-change: transform;
    transform: translateZ(0);
}
.blob-1 {
    width: 600px; height: 600px;
    background: var(--primary);
    top: -100px; right: -150px;
}
.blob-2 {
    width: 400px; height: 400px;
    background: var(--teal);
    bottom: -50px; left: -80px;
}
.hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(var(--border) 1px, transparent 1px),
                      linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
    opacity: .5;
}

/* TWO-COLUMN LAYOUT */
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-light);
    border: 1px solid rgba(37,99,235,.2);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
}
.badge-dot {
    width: 7px; height: 7px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(1.3); }
}
.hero-title {
    font-size: clamp(36px, 4vw, 58px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.02em;
    margin-bottom: 20px;
}
.hero-subtitle {
    font-size: 17px;
    color: var(--text-2);
    line-height: 1.7;
    margin-bottom: 36px;
}
.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}
.hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
}
.stat-num {
    display: block;
    font-size: 26px;
    font-weight: 800;
    color: var(--text);
}
.stat-label {
    font-size: 13px;
    color: var(--text-3);
    font-weight: 500;
}
.stat-divider {
    width: 1px; height: 36px;
    background: var(--border);
}

/* HERO VISUAL */
.hero-visual {
    position: relative;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; gap: 48px; }
    .hero-content { text-align: center; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { max-width: 480px; margin: 0 auto; }
}
@media (max-width: 600px) {
    .hero { padding: 90px 0 60px; }
    .hero-title { font-size: 34px; }
}

.chat-mockup {
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}
.chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--gradient);
    color: #fff;
}
.chat-avatar-wrap { font-size: 26px; line-height: 1; }
.chat-header-info {}
.chat-name { font-weight: 700; font-size: 14px; }
.chat-status { font-size: 11px; opacity: .85; display: flex; align-items: center; gap: 5px; }
.online-dot {
    width: 6px; height: 6px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s infinite;
}
.chat-messages {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 260px;
    max-height: 300px;
    overflow-y: auto;
    background: var(--bg-2);
    scroll-behavior: smooth;
}
/* Animated message entry */
.msg {
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 13px;
    line-height: 1.55;
    max-width: 85%;
    animation: msgSlideIn .35s ease both;
}
@keyframes msgSlideIn {
    from { opacity: 0; transform: translateY(10px) scale(.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.msg-user {
    background: var(--gradient);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}
.msg-ai {
    background: #fff;
    color: var(--text);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.msg-ai p { margin-bottom: 5px; }
.msg-ai p:last-child { margin-bottom: 0; }
.msg-ai ul { padding-left: 14px; margin: 4px 0; }
.msg-ai li { margin-bottom: 2px; }
.upload-msg {
    display: flex; align-items: center; gap: 8px;
    font-size: 12px; padding: 8px 12px;
}
.typing {
    display: flex;
    gap: 5px;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    align-self: flex-start;
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    animation: msgSlideIn .3s ease both;
}
.typing span {
    width: 7px; height: 7px;
    background: var(--text-3);
    border-radius: 50%;
    animation: typingDot .9s infinite;
}
.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typingDot {
    0%, 60%, 100% { transform: translateY(0); opacity: .4; }
    30% { transform: translateY(-5px); opacity: 1; }
}
.chat-input-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border-top: 1px solid var(--border);
    background: #fff;
}
/* Fake animated input */
.chat-input-fake {
    flex: 1;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 9px 12px;
    font-size: 13px;
    color: var(--text-2);
    background: var(--bg-2);
    min-height: 36px;
    display: flex;
    align-items: center;
    gap: 1px;
    overflow: hidden;
    white-space: nowrap;
}
.cursor-blink {
    color: var(--primary);
    font-weight: 300;
    animation: cursorBlink 1s step-end infinite;
    margin-left: 1px;
}
@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
.chat-attach, .chat-send {
    width: 34px; height: 34px;
    border-radius: 8px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}
.chat-attach { background: var(--bg-2); color: var(--text-2); }
.chat-send { background: var(--gradient); color: #fff; }

/* Floating cards */
.floating-card {
    position: absolute;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow);
    animation: float 4s ease-in-out infinite;
    will-change: transform;
}
.card-1 { bottom: -84px; left: -40px; animation-delay: 0s; }
.card-2 { top: 20px; right: -50px; animation-delay: 2s; }
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.fc-icon { font-size: 28px; line-height: 1; }
.fc-title { font-size: 14px; font-weight: 700; color: var(--text); }
.fc-sub { font-size: 12px; color: var(--text-3); }

/* ===========================
   FEATURES
=========================== */
.features {
    padding: 100px 0;
    background: var(--bg-2);
    content-visibility: auto;
    contain-intrinsic-size: 0 800px;
}
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}
.feature-main {
    grid-column: span 1;
}
/* first two big cards */
.feature-card:nth-child(1),
.feature-card:nth-child(2) {
    grid-column: span 1;
}
/* 3 small cards */
.feature-card:nth-child(3),
.feature-card:nth-child(4),
.feature-card:nth-child(5) {
    grid-column: span 1;
}
/* override: make first 2 span 1.5 each conceptually via custom layout */
.features-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
}
.feature-card:nth-child(1) { grid-column: span 3; }
.feature-card:nth-child(2) { grid-column: span 3; }
.feature-card:nth-child(3),
.feature-card:nth-child(4),
.feature-card:nth-child(5) { grid-column: span 2; }

.feature-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: box-shadow .2s, transform .2s;
}
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.feature-icon-wrap {
    width: 60px; height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.icon-blue { background: #eff6ff; color: var(--primary); }
.icon-teal { background: var(--teal-light); color: var(--teal); }
.icon-purple { background: #f5f3ff; color: var(--purple); }
.icon-orange { background: #fff7ed; color: var(--orange); }
.icon-green { background: #f0fdf4; color: var(--green); }
.feature-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--text-2); font-size: 15px; margin-bottom: 20px; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.feature-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-2);
}
.feature-list li::before {
    content: '';
    width: 7px; height: 7px;
    background: var(--gradient);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ===========================
   HOW IT WORKS
=========================== */
.how-it-works {
    padding: 100px 0;
    text-align: center;
}
.how-it-works .section-label,
.how-it-works .section-title { display: block; text-align: center; }
.how-it-works .section-title { margin: 0 auto 56px; }
.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}
.step {
    flex: 1;
    min-width: 200px;
    max-width: 260px;
    text-align: center;
    padding: 0 16px;
}
.step-num {
    font-size: 48px;
    font-weight: 900;
    color: var(--border);
    line-height: 1;
    margin-bottom: 16px;
    font-family: monospace;
}
.step-icon {
    width: 72px; height: 72px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin: 0 auto 20px;
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.step p { font-size: 14px; color: var(--text-2); }
.step-arrow {
    flex-shrink: 0;
    color: var(--text-3);
    padding-top: 90px;
}

/* ===========================
   UPLOAD DEMO
=========================== */
.upload-demo {
    padding: 100px 0;
    background: var(--bg-2);
    content-visibility: auto;
    contain-intrinsic-size: 0 600px;
}
.upload-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.upload-text .section-title { margin-bottom: 16px; }
.upload-text p { color: var(--text-2); margin-bottom: 24px; }
.supported-formats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}
.format-tag {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.upload-zone {
    background: #fff;
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 48px;
    text-align: center;
    cursor: pointer;
    transition: all .2s;
    margin-bottom: 20px;
}
.upload-zone:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}
.upload-icon-wrap {
    width: 72px; height: 72px;
    background: var(--bg-2);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--text-3);
}
.upload-title { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.upload-sub { font-size: 14px; color: var(--text-3); margin-bottom: 8px; }
.upload-formats { font-size: 12px; color: var(--text-3); }

.analysis-result {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}
.result-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.result-icon { font-size: 32px; line-height: 1; }
.result-title { font-size: 15px; font-weight: 700; }
.result-meta { font-size: 12px; color: var(--text-3); }
.result-badge {
    margin-left: auto;
    background: #f0fdf4;
    color: var(--green);
    border: 1px solid #bbf7d0;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
}
.result-body { font-size: 14px; color: var(--text-2); line-height: 1.7; margin-bottom: 16px; }
.result-body p { margin-bottom: 8px; }
.result-confidence {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-2);
}
.confidence-bar {
    flex: 1;
    height: 6px;
    background: var(--border);
    border-radius: 100px;
    overflow: hidden;
}
.confidence-fill {
    height: 100%;
    background: var(--gradient);
    border-radius: 100px;
}
.confidence-pct { font-weight: 700; color: var(--primary); }

/* ===========================
   FOR WHO
=========================== */
.for-who {
    padding: 100px 0;
    content-visibility: auto;
    contain-intrinsic-size: 0 700px;
}
.for-who .section-title,
.for-who .section-label { text-align: center; display: block; }
.for-who .section-subtitle { text-align: center; margin: 0 auto 56px; }
.personas {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.persona-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    transition: transform .2s, box-shadow .2s;
    position: relative;
    will-change: transform;
}
.persona-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.persona-featured {
    background: var(--gradient);
    border-color: transparent;
    color: #fff;
}
.persona-featured h3, .persona-featured p, .persona-featured li { color: #fff !important; }
.persona-featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 100px;
}
.persona-emoji { font-size: 52px; line-height: 1; margin-bottom: 16px; }
.persona-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 12px; color: var(--text); }
.persona-card p { font-size: 15px; color: var(--text-2); margin-bottom: 20px; line-height: 1.6; }
.persona-card ul { list-style: none; text-align: left; display: flex; flex-direction: column; gap: 8px; }
.persona-card li {
    font-size: 14px;
    color: var(--text-2);
    display: flex;
    align-items: center;
    gap: 8px;
}
.persona-card li::before {
    content: '✓';
    width: 20px; height: 20px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}
.persona-featured li::before {
    background: rgba(255,255,255,.2);
    color: #fff;
}

/* ===========================
   FAQ
=========================== */
.faq {
    padding: 100px 0;
    background: var(--bg-2);
    content-visibility: auto;
    contain-intrinsic-size: 0 600px;
}
.faq-inner {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 64px;
    align-items: start;
}
.faq-left .section-title { margin-bottom: 16px; }
.faq-left p { color: var(--text-2); margin-bottom: 28px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: box-shadow .2s;
}
.faq-item:hover { box-shadow: var(--shadow); }
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    text-align: left;
}
.faq-arrow { transition: transform .25s; color: var(--text-3); flex-shrink: 0; }
.faq-item.open .faq-arrow { transform: rotate(180deg); color: var(--primary); }
.faq-answer {
    display: none;
    padding: 0 20px 18px;
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-question { color: var(--primary); }

/* ===========================
   CTA
=========================== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #134e4a 100%);
    position: relative;
    content-visibility: auto;
    contain-intrinsic-size: 0 500px;
    overflow: hidden;
    text-align: center;
}
.cta-blob {
    position: absolute;
    width: 600px; height: 600px;
    background: rgba(255,255,255,.05);
    border-radius: 50%;
    top: -200px; right: -150px;
    pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }
.cta-section h2 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 16px;
}
.cta-section p {
    font-size: 18px;
    color: rgba(255,255,255,.7);
    margin-bottom: 40px;
}
.cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===========================
   FOOTER
=========================== */
.footer {
    background: var(--text);
    color: rgba(255,255,255,.6);
    padding: 64px 0 0;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .logo { color: #fff; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 260px; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.footer-col a {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,.5);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color .15s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,.3);
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 900px) {
    .features-grid { grid-template-columns: 1fr 1fr !important; }
    .feature-card:nth-child(1),
    .feature-card:nth-child(2) { grid-column: span 2; }
    .feature-card:nth-child(3),
    .feature-card:nth-child(4),
    .feature-card:nth-child(5) { grid-column: span 1; }
    .personas { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .upload-inner { grid-template-columns: 1fr; }
    .faq-inner { grid-template-columns: 1fr; gap: 40px; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}
/* ===========================
   USER AUTH MENU
=========================== */
.ms-user-menu { position: relative; }
.ms-user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 1px solid var(--border);
    border-radius: 40px;
    padding: 5px 12px 5px 5px;
    cursor: pointer;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    transition: all .15s;
}
.ms-user-btn:hover { background: var(--bg-2); border-color: var(--primary); }
.ms-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}
.ms-uname { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ms-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(15,23,42,.12);
    min-width: 170px;
    padding: 6px;
    z-index: 200;
}
.ms-dropdown.ms-visible { display: block; }
.ms-dd-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--text);
    text-decoration: none;
    cursor: pointer;
    width: 100%;
    border: none;
    background: none;
    font-family: inherit;
    font-weight: 500;
    transition: background .12s;
}
.ms-dd-item:hover { background: var(--bg-2); }
.ms-dd-sep { height: 1px; background: var(--border); margin: 4px 0; }
.ms-dd-logout { color: #ef4444; }
.ms-dd-logout:hover { background: #fef2f2; }

@media (max-width: 700px) {
    .nav-links, .nav-actions { display: none; }
    .burger { display: flex; }
    .features-grid { grid-template-columns: 1fr !important; }
    .feature-card { grid-column: span 1 !important; }
    .steps { flex-direction: column; align-items: center; }
    .step-arrow { transform: rotate(90deg); padding-top: 0; }
    .footer-inner { grid-template-columns: 1fr; }
}
