/* ═══════════════════════════════════════════
   WanderIQ — Multi-Agent Budget Travel Planner
   Premium dark travel theme · gradients · glass
   ═══════════════════════════════════════════ */

:root {
    --bg: #04060f;
    --bg2: #0a1026;
    --panel: #0d1433;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-s: rgba(255, 255, 255, 0.08);
    --ink: #eef1ff;
    --muted: #9aa3d8;
    --line: rgba(255, 255, 255, 0.1);
    --prim: #8b7cff;
    --prim2: #22d3ee;
    --acc: #fbbf24;
    --good: #34d399;
    --bad: #f87171;
    --grad: linear-gradient(120deg, #8b7cff, #22d3ee, #34d399, #8b7cff);
    --radius: 20px;
    --font: 'Inter', system-ui, sans-serif;
    --display: 'Sora', 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--ink);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
::selection { background: var(--prim); color: #fff; }
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: #060a1a; }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--prim), var(--prim2)); border-radius: 99px; }

/* ── reusable bits ─────────────────────────── */
.grad-text {
    background: var(--grad);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.anim-grad { animation: gradmove 7s ease infinite; }
@keyframes gradmove { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

.shine { position: relative; overflow: hidden; }
.shine::after {
    content: ""; position: absolute; top: 0; left: 0; width: 55%; height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: translateX(-160%) skewX(-14deg); animation: shine 3.2s ease infinite;
}
@keyframes shine { from { transform: translateX(-160%) skewX(-14deg); } to { transform: translateX(260%) skewX(-14deg); } }

.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: #34d399; display: inline-block; animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); } 100% { box-shadow: 0 0 0 12px rgba(52, 211, 153, 0); } }

/* starfield */
#stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: .75; }

/* glass card */
.glass {
    background: var(--glass);
    border: 1px solid var(--line);
    backdrop-filter: blur(14px);
    border-radius: var(--radius);
}

/* ── scroll reveal (self-hosted, no AOS CDN) ──────
   Default: everything visible. Only when JS is alive
   (`html.js`) do we hide items, then reveal on scroll. */
[data-aos] { opacity: 1; transform: none; }
html.js [data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s ease, transform .7s ease;
    will-change: opacity, transform;
}
html.js [data-aos^="fade-right"] { transform: translateX(30px); }
html.js [data-aos^="fade-left"] { transform: translateX(-30px); }
html.js [data-aos^="zoom"] { transform: scale(.93); }
html.js [data-aos].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html.js [data-aos] { opacity: 1 !important; transform: none !important; transition: none; }
}

/* ── NAV ──────────────────────────────────── */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 999;
    transition: background .3s, box-shadow .3s, padding .3s;
}
.nav.scrolled {
    background: rgba(6, 10, 26, .85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 40px -18px rgba(0, 0, 0, .8);
}
.nav-inner { max-width: 1280px; margin: 0 auto; padding: 18px 28px; display: flex; align-items: center; justify-content: space-between; }
.nav.scrolled .nav-inner { padding: 12px 28px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-family: var(--display); }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; font-size: 22px; border-radius: 14px; background: var(--grad); background-size: 200%; animation: gradmove 6s linear infinite; box-shadow: 0 8px 26px -8px rgba(139, 124, 255, .8); }
.brand-name { font-size: 20px; letter-spacing: -.02em; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.menu-btn { display: none; width: 42px; height: 42px; background: var(--glass); border: 1px solid var(--line); border-radius: 12px; flex-direction: column; gap: 4px; align-items: center; justify-content: center; cursor: pointer; }
.menu-btn span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }

/* buttons */
.btn-cta, .btn-primary { color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; padding: 12px 22px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; border: none; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.grad-btn { background: var(--grad); background-size: 200% auto; animation: gradmove 7s ease infinite; box-shadow: 0 10px 30px -10px rgba(139, 124, 255, .7); }
.btn-cta:hover, .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(34, 211, 238, .55); }
.btn-ghost { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); transition: border-color .2s, transform .2s; }
.btn-ghost:hover { border-color: var(--prim); transform: translateY(-2px); }

/* ── HERO ─────────────────────────────────── */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 130px 28px 60px; overflow: hidden; }
.hero-inner { max-width: 1280px; margin: 0 auto; width: 100%; display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; position: relative; z-index: 2; }

.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .4; pointer-events: none; z-index: 1; }
.orb-a { width: 480px; height: 480px; top: -140px; left: -120px; background: radial-gradient(circle, #7c6cff, transparent 70%); animation: drift 18s ease-in-out infinite; }
.orb-b { width: 420px; height: 420px; bottom: -120px; right: -100px; background: radial-gradient(circle, #22d3ee, transparent 70%); animation: drift 22s ease-in-out infinite reverse; }
.orb-c { width: 300px; height: 300px; top: 30%; right: 30%; background: radial-gradient(circle, #34d399, transparent 70%); opacity: .25; animation: drift 26s ease-in-out infinite; }
@keyframes drift { 0%,100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(30px, -24px) scale(1.1); } 66% { transform: translate(-26px, 18px) scale(.95); } }

.grid-overlay {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background-image: linear-gradient(rgba(139, 124, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(139, 124, 255, .05) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(circle at 50% 0%, #000, transparent 75%);
}

.hero-left { display: flex; flex-direction: column; gap: 0; }
.pill { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: #d6d9ff; background: var(--glass); border: 1px solid var(--line); padding: 9px 18px; border-radius: 999px; width: fit-content; margin-bottom: 26px; }
.hero-title { font-family: var(--display); font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: 1.04; letter-spacing: -.03em; font-weight: 800; margin-bottom: 24px; }
.typewriter-line { font-family: var(--display); font-size: clamp(1.1rem, 2.4vw, 1.7rem); font-weight: 600; margin-bottom: 20px; min-height: 1.6em; }
.tw-label { color: var(--muted); font-weight: 500; }
.typewriter { color: var(--acc); }
.typewriter::after { content: ""; display: inline-block; width: 3px; height: .9em; background: var(--acc); margin-left: 4px; vertical-align: -.1em; animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-sub { color: var(--muted); font-size: 17px; line-height: 1.7; max-width: 560px; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-providers { display: flex; flex-direction: column; gap: 8px; }
.mini-label { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 700; }
.provider-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.prov-tag { font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); display: inline-flex; align-items: center; gap: 6px; }
.prov-live { color: #7ef0c3; border-color: rgba(52, 211, 153, .35); }
.prov-mock { color: #c7cbff; border-color: rgba(255, 255, 255, .12); }

/* hero board */
.hero-right { position: relative; z-index: 3; }
.hero-board { position: relative; border-radius: 22px; background: linear-gradient(180deg, rgba(15,20,48,.9), rgba(9,13,34,.95)); border: 1px solid var(--line); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(139, 124, 255, .12); overflow: visible; }
.hero-board::before { content: ""; position: absolute; inset: -2px; border-radius: 24px; background: var(--grad); background-size: 300%; z-index: -1; opacity: .3; filter: blur(28px); animation: gradmove 8s ease infinite; }
.board-tab { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.r { background: #ff5f57; } .dot.y { background: #febc2e; } .dot.g { background: #28c840; }
.board-url { margin-left: 12px; font-size: 12px; color: var(--muted); font-family: 'JetBrains Mono', monospace; }
.board-body { position: relative; padding: 22px; display: flex; flex-direction: column; gap: 12px; min-height: 480px; }
.mini-bubble { width: fit-content; max-width: 78%; padding: 11px 15px; border-radius: 16px; font-size: 14px; background: var(--glass-s); border: 1px solid var(--line); }
.mini-user { align-self: flex-end; width: fit-content; max-width: 78%; padding: 11px 15px; border-radius: 16px; font-size: 14px; background: var(--grad); background-size: 200%; animation: gradmove 6s linear infinite; color: #fff; font-weight: 600; }
.mini-bubble.b2 { display: flex; gap: 5px; }
.typing-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); display: inline-block; animation: tdot 1.2s ease-in-out infinite; }
.typing-dots i:nth-child(2) { animation-delay: .15s; } .typing-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes tdot { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-5px); opacity: 1; } }
.mini-plan { border: 1px solid var(--line); border-radius: 16px; background: var(--glass); padding: 14px; margin-top: 6px; }
.mini-head { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); font-weight: 700; letter-spacing: .06em; margin-bottom: 10px; }
.mini-head .ok { color: #5eead4; }
.mini-row { display: flex; justify-content: space-between; font-size: 13px; padding: 6px 0; border-bottom: 1px dashed var(--line); color: #dfe3ff; }
.mini-row span:last-child { color: var(--muted); font-weight: 600; }
.mini-bar { height: 7px; border-radius: 99px; background: var(--glass-s); overflow: hidden; margin-top: 12px; }
.mini-bar i { display: block; height: 100%; background: var(--grad); animation: gradmove 4s linear infinite; border-radius: 99px; }

.float-card { position: absolute; width: 148px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 20px 46px -18px rgba(0,0,0,.9); background: linear-gradient(135deg, #3b3f9e, #156e7a); }
.float-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.14), transparent 55%); pointer-events: none; }
.float-card img { width: 100%; height: 96px; object-fit: cover; display: block; position: relative; z-index: 1; }
.float-card span { position: absolute; bottom: 6px; left: 8px; font-size: 12px; font-weight: 700; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.9); z-index: 2; }
.fc1 { top: 2px; right: -24px; transform: rotate(4deg); animation: floaty 6s ease-in-out infinite; }
.fc2 { bottom: 120px; left: -30px; transform: rotate(-5deg); animation: floaty 7s ease-in-out infinite .8s; }
.fc3 { top: -26px; left: 12px; transform: rotate(-2deg); animation: floaty 8s ease-in-out infinite 1.4s; }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(var(--rot, 0deg)); } 50% { transform: translateY(-14px) rotate(var(--rot, 0deg)); } }
.fc1 { --rot: 4deg; } .fc2 { --rot: -5deg; } .fc3 { --rot: -2deg; }

.plane { position: absolute; font-size: 30px; top: 40%; left: 38%; animation: fly 9s ease-in-out infinite; filter: drop-shadow(0 0 14px rgba(34, 211, 238, .8)); }
@keyframes fly {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(160px, -60px) rotate(10deg); }
    50% { transform: translate(-40px, -140px) rotate(-12deg); }
    75% { transform: translate(120px, -30px) rotate(6deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

.hero-scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3; }
.hero-scroll span { display: block; width: 26px; height: 44px; border: 2px solid var(--muted); border-radius: 99px; position: relative; opacity: .7; }
.hero-scroll span::after { content: ""; position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; border-radius: 4px; background: var(--muted); transform: translateX(-50%); animation: scroll 1.6s ease-in-out infinite; }
@keyframes scroll { 0% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 14px); } }

/* ── MARQUEE ──────────────────────────────── */
.marquee-clip { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .02); padding: 18px 0; position: relative; z-index: 2; }
.marquee-track { display: flex; gap: 3.5rem; width: max-content; animation: marquee 26s linear infinite; font-family: var(--display); font-weight: 700; font-size: 18px; color: #c9ceff; }
.marquee-track span { white-space: nowrap; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-clip:hover .marquee-track { animation-play-state: paused; }

/* ── SECTIONS ─────────────────────────────── */
.section { position: relative; z-index: 2; padding: 96px 28px; }
.section.alt { background: linear-gradient(180deg, rgba(255, 255, 255, .015), transparent 30%); }
.sec-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--prim2); background: rgba(34, 211, 238, .1); border: 1px solid rgba(34, 211, 238, .25); padding: 7px 16px; border-radius: 999px; margin-bottom: 18px; }
.sec-title { font-family: var(--display); font-size: clamp(1.8rem, 3.6vw, 3rem); line-height: 1.12; letter-spacing: -.02em; font-weight: 800; margin-bottom: 16px; }
.sec-sub { color: var(--muted); font-size: 16px; line-height: 1.65; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; max-width: 1280px; margin: 0 auto; }
.step { position: relative; background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: transform .25s, border-color .25s; }
.step:hover { transform: translateY(-6px); border-color: rgba(139, 124, 255, .5); }
.step-num { position: absolute; top: 20px; right: 22px; font-family: var(--display); font-size: 40px; font-weight: 800; color: rgba(255, 255, 255, .06); }
.step-icon { width: 54px; height: 54px; display: grid; place-items: center; font-size: 26px; border-radius: 16px; background: var(--grad); background-size: 200%; animation: gradmove 7s linear infinite; box-shadow: 0 12px 30px -10px rgba(139, 124, 255, .7); margin-bottom: 18px; }
.step h3 { font-family: var(--display); font-size: 17px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; line-height: 1.6; }

/* agent pipeline */
.agent-pipeline { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; max-width: 1100px; margin: 0 auto 44px; padding: 16px 20px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); }
.agent-pipeline span { font-size: 12px; font-weight: 700; padding: 7px 14px; border-radius: 999px; background: var(--glass-s); border: 1px solid rgba(139, 124, 255, .3); color: #dcdefe; white-space: nowrap; }
.agent-pipeline i { color: var(--prim2); font-style: normal; font-weight: 700; }

/* agent grid */
.agent-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; max-width: 1220px; margin: 0 auto; }
.agent-card { background: var(--glass); border: 1px solid var(--line); border-radius: 18px; padding: 22px 20px; transition: transform .22s, border-color .22s, box-shadow .22s; transform-style: preserve-3d; }
.agent-card:hover { transform: translateY(-5px); border-color: rgba(34, 211, 238, .45); box-shadow: 0 20px 50px -20px rgba(34, 211, 238, .35); }
.ac { font-size: 26px; display: block; margin-bottom: 12px; }
.agent-card h4 { font-family: var(--display); font-size: 15px; margin-bottom: 6px; }
.agent-card p { color: var(--muted); font-size: 13px; line-height: 1.55; }

/* destinations */
.dest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1280px; margin: 0 auto; }
.dest { position: relative; border-radius: 20px; overflow: hidden; cursor: pointer; aspect-ratio: 8 / 5; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; background: linear-gradient(135deg, #2b2f6e, #134e5e, #1f6f5f); }
.dest::after { content: "🌍"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 56px; opacity: .25; pointer-events: none; z-index: 0; }
.dest:hover { transform: translateY(-6px) scale(1.015); box-shadow: 0 28px 60px -22px rgba(139, 124, 255, .5); }
.dest img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; z-index: 1; }
.dest:hover img { transform: scale(1.08); }
.dest-over { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; background: linear-gradient(180deg, transparent 35%, rgba(4, 6, 15, .9)); z-index: 2; }
.dest-over h3 { font-family: var(--display); font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.dest-over p { font-size: 13px; color: #d6dffc; margin-bottom: 10px; }
.dest-tag { align-self: flex-start; font-size: 12px; font-weight: 700; color: #fff; background: var(--grad); background-size: 200%; padding: 6px 12px; border-radius: 999px; animation: gradmove 6s linear infinite; }

/* ── LIVE DEMO APP ────────────────────────── */
.demo-wrap { padding-top: 60px; }
.browser-window { max-width: 1180px; margin: 0 auto; border-radius: 24px; border: 1px solid var(--line); background: rgba(10, 14, 34, .85); backdrop-filter: blur(18px); box-shadow: 0 50px 120px -40px rgba(0, 0, 0, .95); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 13px 18px; border-bottom: 1px solid var(--line); }
.browser-url { margin-left: 12px; font-size: 12px; color: var(--muted); font-family: 'JetBrains Mono', monospace; background: var(--glass-s); padding: 5px 14px; border-radius: 8px; }

.app-shell { display: grid; grid-template-columns: 1fr 300px; min-height: 520px; }

.chat-pane { display: flex; flex-direction: column; border-right: 1px solid var(--line); background: rgba(5, 8, 20, .55); }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.chat-avatar { width: 40px; height: 40px; display: grid; place-items: center; font-size: 20px; border-radius: 12px; background: var(--grad); background-size: 200%; animation: gradmove 6s linear infinite; }
.chat-head strong { font-size: 15px; }
.online { font-size: 11px; color: #7ef0c3; display: flex; align-items: center; gap: 5px; }
.online i { width: 7px; height: 7px; border-radius: 50%; background: #34d399; display: inline-block; animation: pulse 1.8s infinite; }
.chat-spark { margin-left: auto; font-size: 20px; }

.chat-thread { flex: 1; overflow-y: auto; padding: 20px 18px; display: flex; flex-direction: column; gap: 14px; max-height: 470px; }
.bubble { max-width: 82%; padding: 13px 16px; border-radius: 18px; font-size: 14px; line-height: 1.6; animation: bubbleIn .3s ease; }
@keyframes bubbleIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.bubble-bot { align-self: flex-start; background: var(--glass-s); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.bubble-user { align-self: flex-end; background: var(--grad); background-size: 200%; color: #fff; border-bottom-right-radius: 4px; font-weight: 500; }
.bubble-head { font-size: 12px; font-weight: 800; color: var(--prim2); margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }
.bubble p { margin-bottom: 6px; }
.bubble p:last-child { margin-bottom: 0; }
.bubble em { color: var(--acc); font-style: italic; }
.error { color: #ffa3a3; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.chip { font-size: 12.5px; font-weight: 600; color: var(--ink); background: var(--glass); border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--prim); background: rgba(139, 124, 255, .18); transform: translateY(-2px); }
.chip.full { width: 100%; text-align: left; }

.composer { display: flex; gap: 10px; padding: 14px 18px; border-top: 1px solid var(--line); }
.composer input { flex: 1; background: var(--glass-s); border: 1px solid var(--line); border-radius: 999px; padding: 12px 20px; color: var(--ink); font-family: var(--font); font-size: 14px; outline: none; transition: border-color .2s; }
.composer input:focus { border-color: var(--prim); }
.composer input::placeholder { color: var(--muted); }
.btn-send { width: 46px; height: 46px; border: none; border-radius: 999px; color: #fff; font-size: 18px; cursor: pointer; flex-shrink: 0; }
.btn-send:hover { transform: scale(1.06); }

.app-pane { display: flex; flex-direction: column; gap: 16px; padding: 18px; background: rgba(13, 18, 46, .6); }
.app-card { background: var(--glass); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.app-card h3 { font-family: var(--display); font-size: 14px; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.pipeline-mini { display: flex; flex-wrap: wrap; gap: 6px; }
.pipeline-mini span { font-size: 10.5px; font-weight: 700; padding: 5px 9px; border-radius: 8px; background: rgba(139, 124, 255, .12); border: 1px solid rgba(139, 124, 255, .25); color: #d6d9ff; }
.warn { font-size: 12px; color: var(--muted); line-height: 1.6; margin-top: 12px; }
.warn em { color: var(--acc); }

/* progress */
#progress-section { border-top: 1px solid var(--line); padding: 18px; background: rgba(255, 255, 255, .02); }
#progress-section.hidden { display: none; }
.progress-card { display: flex; flex-direction: column; gap: 12px; }
.progress-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.agent-chip { font-size: 11.5px; font-weight: 700; padding: 7px 13px; border-radius: 999px; background: var(--glass-s); border: 1px solid var(--line); color: var(--muted); transition: all .3s; }
.agent-chip.active { color: #0a1026; background: var(--acc); border-color: var(--acc); box-shadow: 0 0 20px rgba(251, 191, 36, .5); }
.agent-chip.done { color: #05201421; color: #08130c; background: #34d399; border-color: #34d399; }
.progress-track { height: 9px; border-radius: 99px; background: var(--glass-s); overflow: hidden; }
.progress-fill { height: 100%; background: var(--grad); background-size: 200%; animation: gradmove 3s linear infinite; transition: width .4s ease; }
.progress-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }

/* result cards (chat) */
.result-card { background: var(--glass-s); border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin-bottom: 12px; }
.result-card h3 { font-family: var(--display); font-size: 14px; margin-bottom: 10px; color: var(--prim2); }
.kv { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.kv .k { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }
.kv .v { font-size: 14px; font-weight: 600; }
.status-pill { font-size: 11.5px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.status-pill.PASS { background: rgba(52, 211, 153, .15); color: #5eead4; border: 1px solid rgba(52, 211, 153, .4); }
.status-pill.FAIL { background: rgba(248, 113, 113, .15); color: #fca5a5; border: 1px solid rgba(248, 113, 113, .4); }
.budget-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.budget-total { font-size: 20px; font-weight: 800; font-family: var(--display); }
.budget-total.ok { color: #5eead4; } .budget-total.warn { color: #fcd34d; } .budget-total.over { color: #f87171; }
.budget-bar { height: 8px; border-radius: 99px; background: var(--glass-s); overflow: hidden; margin-bottom: 10px; }
.budget-fill { height: 100%; border-radius: 99px; transition: width .5s; }
.category-row { display: flex; justify-content: space-between; font-size: 13px; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.rec-item { display: flex; gap: 10px; margin-bottom: 10px; }
.rec-cat { font-size: 10.5px; font-weight: 800; text-transform: uppercase; color: #0a1026; background: var(--acc); padding: 5px 9px; border-radius: 8px; height: fit-content; }
.rec-item strong { font-size: 13.5px; }
.rec-item p { font-size: 12.5px; color: var(--muted); }
.itinerary-day { margin-bottom: 12px; }
.itinerary-day h4 { font-size: 13.5px; color: var(--acc); margin-bottom: 4px; }
.item { font-size: 13px; margin-bottom: 3px; display: flex; gap: 6px; }
.bullet { color: var(--prim2); }
.intro-reply { font-size: 14px; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; padding-top: 40px; padding-bottom: 40px; }
.stat { text-align: center; }
.stat-num { font-family: var(--display); font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; background: var(--grad); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradmove 7s ease infinite; display: block; }
.stat-label { color: var(--muted); font-size: 14px; font-weight: 600; }

/* quotes */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1220px; margin: 0 auto; }
.quote { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .25s, border-color .25s; }
.quote:hover { transform: translateY(-6px); border-color: rgba(52, 211, 153, .45); }
.qstars { color: #fcd34d; letter-spacing: 2px; margin-bottom: 14px; }
.quote p { font-size: 14.5px; line-height: 1.7; color: #dfe3ff; margin-bottom: 18px; }
.qwho { display: flex; align-items: center; gap: 12px; }
.qimg { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #fff; }
.qwho strong { font-size: 14px; display: block; }
.qmuted { font-size: 12px; color: var(--muted); }

/* faq */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq { background: var(--glass); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: border-color .2s; }
.faq.open { border-color: rgba(139, 124, 255, .5); }
.faq-q { width: 100%; text-align: left; background: none; border: none; color: var(--ink); font-family: var(--display); font-size: 15px; font-weight: 700; padding: 20px 22px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.faq-chev { color: var(--prim2); font-size: 22px; font-weight: 400; transition: transform .3s; }
.faq.open .faq-chev { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 22px 20px; color: var(--muted); font-size: 14px; line-height: 1.7; }

/* cta band */
.cta-band { position: relative; padding: 70px 28px; z-index: 2; }
.cta-inner { max-width: 1000px; margin: 0 auto; text-align: center; padding: 64px 40px; border-radius: 34px; background: var(--grad); background-size: 250% auto; animation: gradmove 9s ease infinite; box-shadow: 0 40px 100px -30px rgba(139, 124, 255, .6); position: relative; overflow: hidden; }
.cta-inner::before { content: "✈️"; position: absolute; font-size: 120px; left: -20px; top: -30px; opacity: .18; transform: rotate(-20deg); }
.cta-inner::after { content: "🌍"; position: absolute; font-size: 110px; right: -10px; bottom: -34px; opacity: .16; }
.cta-inner h2 { font-family: var(--display); font-size: clamp(1.8rem, 4vw, 3rem); color: #fff; margin-bottom: 12px; letter-spacing: -.02em; }
.cta-inner h2 span { display: block; opacity: .92; }
.cta-inner p { color: rgba(255, 255, 255, .9); margin-bottom: 30px; font-size: 16px; }
.btn-white { display: inline-block; background: #fff; color: #1a1038; font-weight: 800; font-size: 15px; padding: 15px 34px; border-radius: 999px; text-decoration: none; position: relative; z-index: 2; transition: transform .2s, box-shadow .2s; box-shadow: 0 14px 40px -12px rgba(0, 0, 0, .4); }
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 20px 50px -14px rgba(0, 0, 0, .5); }

/* footer */
.footer { position: relative; z-index: 2; border-top: 1px solid var(--line); padding: 54px 28px 24px; background: rgba(5, 8, 18, .6); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.ft-sub { color: var(--muted); font-size: 13.5px; line-height: 1.7; margin-top: 12px; max-width: 340px; }
.ft-col { display: flex; flex-direction: column; gap: 10px; }
.ft-col h4 { font-family: var(--display); font-size: 14px; margin-bottom: 6px; }
.ft-col a, .ft-col span { color: var(--muted); font-size: 13.5px; text-decoration: none; }
.ft-col a:hover { color: var(--prim2); }
.footer-base { max-width: 1200px; margin: 0 auto; border-top: 1px solid var(--line); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 13px; }
.footer-base strong { color: var(--prim2); }
.to-top { width: 42px; height: 42px; border-radius: 12px; background: var(--glass); border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); text-decoration: none; transition: .2s; }
.to-top:hover { background: var(--grad); border-color: transparent; }

.wa-float { position: fixed; bottom: 24px; right: 24px; z-index: 900; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; color: #fff; text-decoration: none; box-shadow: 0 16px 40px -12px rgba(139, 124, 255, .8); transition: transform .25s; }
.wa-float:hover { transform: scale(1.12) rotate(6deg); }

/* ── responsive ───────────────────────────── */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; gap: 60px; }
    .hero-board { max-width: 560px; margin: 0 auto; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .dest-grid { grid-template-columns: repeat(2, 1fr); }
    .quote-grid { grid-template-columns: 1fr; }
    .app-shell { grid-template-columns: 1fr; }
    .chat-pane { border-right: none; border-bottom: 1px solid var(--line); }
}
@media (max-width: 700px) {
    .nav-links { position: fixed; top: 0; right: -310px; width: 290px; height: 100vh; flex-direction: column; align-items: flex-start; gap: 22px; background: rgba(7, 11, 28, .98); border-left: 1px solid var(--line); padding: 90px 30px; transition: right .3s; z-index: 998; }
    .nav-links.open { right: 0; }
    .menu-btn { display: flex; }
    .section { padding: 70px 20px; }
    .steps { grid-template-columns: 1fr; }
    .dest-grid { grid-template-columns: 1fr; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr; gap: 26px; }
    .float-card { width: 112px; }
    .float-card img { height: 72px; }
    .fc1 { right: -10px; } .fc2 { left: -12px; }
    .cta-inner { padding: 46px 22px; }
}
/* ── currency switch + plan actions + weather ───────────── */
.cur-switch { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 4px 0 14px; padding: 8px 10px; background: var(--glass); border: 1px solid var(--line); border-radius: 12px; }
.cur-switch > span { font-size: 11px; color: var(--muted); font-weight: 600; }
.cur-btn { border: 1px solid var(--line); background: transparent; color: var(--muted); font: 700 11px 'JetBrains Mono', monospace; padding: 4px 10px; border-radius: 8px; cursor: pointer; transition: all .2s; }
.cur-btn:hover { color: #fff; }
.cur-btn.on { background: var(--grad); background-size: 200%; color: #fff; border-color: transparent; box-shadow: 0 4px 14px -6px rgba(139,124,255,.8); }
.cur-src { margin-left: auto; font-size: 10px; color: var(--muted); opacity: .8; }
.road-note { margin-top: 8px; padding: 8px 10px; border-radius: 10px; background: rgba(139,124,255,.08); border: 1px dashed rgba(139,124,255,.3); font-size: 12px; line-height: 1.4; }
.seg-bar { display: flex; height: 10px; border-radius: 99px; overflow: hidden; gap: 2px; margin: 2px 0 10px; }
.seg-bar i { border-radius: 99px; min-width: 6px; display: block; }
.cat-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: baseline; }
.category-row span .pct { color: var(--muted); font-size: 11px; margin-left: 4px; }
.plan-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.plan-actions .chip { margin-top: 0; }
.ok-text { color: #5eead4; font-size: 13px; }
.wlist { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.wchip { display: inline-flex; align-items: center; gap: 3px; font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: rgba(139,124,255,.12); border: 1px solid rgba(139,124,255,.35); color: #d8ccff; }
.lang-nav { font-size: 12px !important; }
.agent-chip.active { animation: chipPulse 1s ease-in-out infinite; }
@keyframes chipPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }

/* ══ interactive plan v2 ═────────────────────────── */
.result-card { animation: cardUp .5s ease both; }
.result-card:nth-child(2) { animation-delay: .06s; }
.result-card:nth-child(3) { animation-delay: .12s; }
.result-card:nth-child(4) { animation-delay: .18s; }
.result-card:nth-child(5) { animation-delay: .24s; }
.result-card:nth-child(6) { animation-delay: .3s; }
@keyframes cardUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.src-badge { display: inline-block; font-size: 10px; font-weight: 800; padding: 2px 8px; border-radius: 999px; vertical-align: 1px; margin-left: 6px; letter-spacing: .03em; }
.src-badge.live { color: #5eead4; background: rgba(52, 211, 153, .14); border: 1px solid rgba(52, 211, 153, .4); }
.src-badge.est { color: #fcd34d; background: rgba(251, 191, 36, .12); border: 1px solid rgba(251, 191, 36, .35); }

/* option pickers (flight / stay) */
.opt-block { background: rgba(139, 124, 255, .06); border: 1px dashed rgba(139, 124, 255, .3); border-radius: 12px; padding: 10px; margin-bottom: 10px; }
.opt-head { font-size: 11.5px; font-weight: 800; color: var(--prim2); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.opt-chips { display: flex; flex-direction: column; gap: 6px; max-height: 160px; overflow-y: auto; }
.opt-chip { display: flex; align-items: baseline; gap: 8px; text-align: left; font-size: 12px; font-weight: 600; color: var(--ink); background: var(--glass); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; cursor: pointer; transition: all .18s; }
.opt-chip small { color: var(--muted); font-weight: 500; font-size: 11px; }
.opt-chip em { margin-left: auto; color: var(--acc); font-style: normal; font-weight: 700; }
.opt-chip:hover { border-color: var(--prim); }
.opt-chip.on { background: var(--grad); background-size: 200%; border-color: transparent; color: #fff; box-shadow: 0 6px 18px -8px rgba(139, 124, 255, .9); }
.opt-chip.on small { color: rgba(255, 255, 255, .85); }
.opt-chip.on em { color: #fff; }
.opt-pick { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; transition: border-color .2s, box-shadow .2s; }
.opt-pick.picked { border-color: rgba(34, 211, 238, .6); box-shadow: 0 0 0 1px rgba(34, 211, 238, .25); }
.pick-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pick-head em { font-style: normal; font-size: 12px; color: var(--muted); }
.delta { font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; margin-left: 4px; }
.delta.up { color: #fca5a5; background: rgba(248, 113, 113, .14); }
.delta.down { color: #5eead4; background: rgba(52, 211, 153, .14); }
.fa-live { margin-top: 6px !important; }

/* budget donut */
.budget-flex { display: flex; gap: 14px; align-items: center; }
.budget-cols { flex: 1; min-width: 0; }
.donut-arc { transition: stroke-dashoffset 1s cubic-bezier(.2, .8, .3, 1); }
.donut-txt { font-family: var(--display); font-size: 21px; font-weight: 800; fill: var(--ink); }
.donut-sub { font-size: 9px; letter-spacing: .12em; fill: var(--muted); text-transform: uppercase; }

/* itinerary day tabs + expandable activities */
.daynav { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.day-navbtn { width: 32px; height: 32px; flex-shrink: 0; border: 1px solid var(--line); background: var(--glass); color: var(--ink); border-radius: 10px; cursor: pointer; font-size: 13px; transition: all .2s; }
.day-navbtn:hover:not(:disabled) { border-color: var(--prim); background: rgba(139, 124, 255, .18); }
.day-navbtn:disabled { opacity: .35; cursor: default; }
.daytabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px; flex: 1; }
.daytabs::-webkit-scrollbar { display: none; }
.daytab { flex: 1 0 auto; min-width: 86px; display: flex; flex-direction: column; gap: 2px; font-size: 11.5px; font-weight: 800; color: var(--muted); background: var(--glass); border: 1px solid var(--line); padding: 8px 10px; border-radius: 10px; cursor: pointer; transition: all .18s; text-align: left; }
.daytab small { font-size: 9.5px; font-weight: 600; color: var(--muted); opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.daytab:hover { border-color: var(--prim); color: var(--ink); }
.daytab.on { background: var(--grad); background-size: 200%; border-color: transparent; color: #fff; box-shadow: 0 6px 18px -8px rgba(139, 124, 255, .9); }
.daytab.on small { color: rgba(255, 255, 255, .9); }
.day-panel { animation: cardUp .35s ease both; }
.day-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.day-head h4 { font-size: 14px; color: var(--acc); }
.day-items { display: flex; flex-direction: column; gap: 3px; }
.item { font-size: 13px; margin-bottom: 3px; display: flex; gap: 6px; align-items: flex-start; }
.item.isact { cursor: pointer; border-radius: 10px; padding: 4px 6px; margin: 0 -6px 3px; transition: background .18s; position: relative; }
.item.isact:hover { background: rgba(139, 124, 255, .1); }
.item.isact .bullet { transition: transform .22s; margin-top: 2px; }
.item.isact.open .bullet { transform: rotate(90deg); color: var(--acc); }
.act-detail { display: block; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .28s ease, opacity .25s ease, margin .28s ease; font-size: 11.5px; color: var(--muted); line-height: 1.6; }
.item.isact.open .act-detail { max-height: 120px; opacity: 1; margin-top: 5px; }
.act-detail span { display: block; }
.act-txt em.pct { color: var(--acc); font-style: normal; font-weight: 700; margin-left: 4px; }
.item .src-badge { margin-left: 0; }

/* map card (free OpenStreetMap embed) */
.map-wrap { margin-top: 4px; }
.map-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 700; color: var(--prim2); margin-bottom: 6px; }
.map-full { font-size: 11px; font-weight: 700; color: var(--muted); text-decoration: none; border: 1px solid var(--line); padding: 3px 10px; border-radius: 999px; transition: all .2s; }
.map-full:hover { color: #fff; border-color: var(--prim); }
.map-embed { width: 100%; height: 190px; border: 1px solid var(--line); border-radius: 12px; background: #1c2238; display: block; }
.map-bubble { max-width: 100%; }
.map-bubble .map-wrap p { margin-bottom: 0; }

/* responsive interactive bits */
@media (max-width: 700px) {
    .budget-flex { flex-direction: column; align-items: flex-start; }
    .opt-chip { flex-wrap: wrap; }
    .map-embed { height: 160px; }
}

/* print: only the plan thread */
@media print {
    body { background: #fff !important; }
    body * { visibility: hidden; }
    .chat-thread, .chat-thread * { visibility: visible; }
    .chat-thread { position: absolute !important; left: 0; top: 0; width: 100%; max-height: none !important; overflow: visible !important; padding: 8mm; }
    .bubble { max-width: 100% !important; background: #fff !important; border: none !important; }
    .map-embed, .map-wrap, .plan-actions, .cur-switch, .chat-avatar, .chat-spark, .composer, .chat-head { display: none !important; }
    .result-card { page-break-inside: avoid; }
    .bubble p, .item { color: #111 !important; }
    .warn, .src-badge.est, .src-badge.live { color: #444 !important; }
}
