/* =====================================================================
   Landing page (2026-08 redesign) — variant B (Saily-style sections) with
   the pure-CSS travel hero from /login (variant A). Scoped under .home-page.
   Site header/footer come from includes/; nav is 80px fixed.
   ===================================================================== */
.home-page {
    --grad: linear-gradient(135deg, #6366f1, #ec4899);
    --r: 16px;
    --shadow-sm: 0 1px 2px rgba(15,23,42,.04), 0 8px 24px rgba(15,23,42,.06);
    --shadow-md: 0 2px 4px rgba(15,23,42,.05), 0 16px 40px rgba(79,70,229,.12);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--dark);
    background: var(--white);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    padding-top: var(--nav-h);
}
.home-page *, .home-page *::before, .home-page *::after { box-sizing: border-box; }
.home-page a { color: inherit; text-decoration: none; }
.home-page svg { width: 22px; height: 22px; flex: none; }
.home-page .hp-wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.home-page h1, .home-page h2, .home-page h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; }
.home-page h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 700; }
.home-page p { margin: 0; }
.home-page .hp-eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--primary-dark); margin-bottom: 12px; }
.home-page .hp-lead { color: var(--gray); font-size: 17px; max-width: 560px; }
.home-page .hp-sec { padding: 72px 0; }
.home-page .hp-sec-alt { background: var(--light-gray); }
.home-page .hp-sec-head { margin-bottom: 40px; }
.home-page .hp-sec-head.hp-center { text-align: center; }
.home-page .hp-sec-head.hp-center .hp-lead { margin: 0 auto; }

/* buttons */
.home-page .hp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 10px; font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer; transition: .2s ease; white-space: nowrap; font-family: inherit; }
.home-page .hp-btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 12px rgba(99,102,241,.28); }
.home-page .hp-btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); color: #fff; }
.home-page .hp-btn-ghost { background: #fff; color: var(--dark); border-color: var(--border); }
.home-page .hp-btn-ghost:hover { border-color: #cbd5e1; background: var(--light-gray); }
.home-page .hp-btn-sm { height: 44px; padding: 0 18px; font-size: 14px; }
.home-page .hp-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--shadow-sm); }

/* ---------------- HERO (A layout + B copy + C price headline) ---------------- */
.home-page .hp-hero {
    padding: 0; background: var(--white); border-bottom: 1px solid var(--border); position: relative; overflow: hidden;
    /* art composition — mobile band values */
    --art-h: 220px;
    --globe-size: 200px; --globe-right: -50px; --globe-y: calc(50% - 80px);
    --sim-w: 104px; --sim-h: 72px; --sim-x: 150px; --sim-y: calc(50% - 52px); --sim-rot: -12deg;
    --sig-size: 150px; --sig-x: 16px; --sig-y: calc(50% - 130px);
    --path-w: 300px; --path-h: 140px; --path-x: 20px; --path-y: calc(50% - 60px); --path-rot: -10deg;
    --plane-x: 265px; --plane-y: calc(50% - 92px); --plane-rot: 60deg; --plane-s: .7;
    --dot1-x: 36px; --dot1-y: calc(50% + 66px); --dot2-x: 246px; --dot2-y: calc(50% - 8px);
}
.home-page .hp-hero-inner { display: grid; grid-template-columns: 1fr; }
.home-page .hp-hero-copy { padding: 48px 20px 40px; max-width: 620px; margin: 0 auto; width: 100%; min-width: 0; }
.home-page .hp-hero-pill { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px 0 6px; border: 1px solid var(--border); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 600; color: var(--gray); margin-bottom: 22px; max-width: 100%; }
.home-page .hp-hero-pill i { display: inline-block; width: 20px; height: 20px; border-radius: 50%; background: var(--primary); flex: none; }
.home-page .hp-hero-pill span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-page .hp-hero h1 { font-size: clamp(36px, 6.5vw, 60px); font-weight: 800; margin-bottom: 18px; }
.home-page .hp-hero h1 .hp-price { color: var(--primary); white-space: nowrap; }
.home-page .hp-hero-sub { font-size: 17px; color: var(--gray); max-width: 520px; margin-bottom: 24px; }
.home-page .hp-search { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 16px; border: 1px solid var(--border); border-radius: 14px; background: #fff; box-shadow: var(--shadow-md); max-width: 520px; margin-bottom: 16px; }
.home-page .hp-search svg { color: var(--gray); }
.home-page .hp-search input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 16px; height: 44px; color: var(--dark); background: transparent; }
.home-page .hp-search input::placeholder { color: #94a3b8; }
.home-page .hp-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.home-page .hp-hero-cta .hp-btn { flex: 1 1 180px; }
.home-page .hp-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--gray); }
.home-page .hp-trust span { display: inline-flex; align-items: center; gap: 6px; }
.home-page .hp-trust svg { width: 18px; height: 18px; color: var(--success); }

/* pure-CSS art (same nodes as /login) */
.home-page .hp-art { position: relative; height: var(--art-h); background: var(--primary); overflow: hidden; }
.home-page .hp-shape { position: absolute; }
.home-page .hp-globe { width: var(--globe-size); height: var(--globe-size); right: var(--globe-right); top: var(--globe-y); border-radius: 50%; background: var(--dark); }
.home-page .hp-globe::before, .home-page .hp-globe::after { content: ""; position: absolute; border: 3px solid var(--primary); border-radius: 50%; opacity: .9; }
.home-page .hp-globe::before { left: 27%; top: -1px; width: 46%; height: 100%; }
.home-page .hp-globe::after { left: -1px; top: 28%; width: 100%; height: 44%; }
.home-page .hp-globe .hp-eq { position: absolute; left: 0; right: 0; top: 50%; height: 3px; background: var(--primary); transform: translateY(-50%); }
.home-page .hp-globe .hp-land { position: absolute; background: var(--secondary); border-radius: 50% 60% 40% 55% / 60% 45% 55% 40%; }
.home-page .hp-globe .hp-land.hp-a { width: 34%; height: 28%; left: 18%; top: 22%; }
.home-page .hp-globe .hp-land.b { width: 22%; height: 20%; left: 52%; top: 55%; border-radius: 60% 40% 50% 50%; }
.home-page .hp-sim { width: var(--sim-w); height: var(--sim-h); left: var(--sim-x); top: var(--sim-y); transform: rotate(var(--sim-rot)); background: #fff; border-radius: 10px; clip-path: polygon(0 0, 74% 0, 100% 22%, 100% 100%, 0 100%); box-shadow: 0 18px 40px -12px rgba(15,23,42,.45); z-index: 3; }
.home-page .hp-sim .hp-chip { position: absolute; left: 14%; top: 20%; width: 46%; height: 60%; background: var(--secondary); border-radius: 6px; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); gap: 2px; padding: 3px; }
.home-page .hp-sim .hp-chip i { display: block; background: #fff; opacity: .55; border-radius: 2px; }
.home-page .hp-sim .hp-e { position: absolute; right: 10%; bottom: 12%; font-weight: 800; color: var(--dark); font-size: clamp(12px, calc(var(--sim-h) * .16), 22px); letter-spacing: -.02em; }
.home-page .hp-sig { width: var(--sig-size); height: var(--sig-size); left: var(--sig-x); top: var(--sig-y); z-index: 2; }
.home-page .hp-sig i { position: absolute; inset: 0; border-radius: 50%; border: 10px solid #fff; border-color: #fff transparent transparent transparent; transform: rotate(45deg); opacity: .9; }
.home-page .hp-sig i:nth-child(2) { inset: 18%; opacity: .65; }
.home-page .hp-sig i:nth-child(3) { inset: 36%; opacity: .4; }
.home-page .hp-sig b { position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px; background: #fff; border-radius: 50%; }
.home-page .hp-path { width: var(--path-w); height: var(--path-h); left: var(--path-x); top: var(--path-y); transform: rotate(var(--path-rot)); border-top: 3px dashed rgba(255,255,255,.85); border-radius: 50% / 100% 100% 0 0; z-index: 1; }
.home-page .hp-plane { left: var(--plane-x); top: var(--plane-y); width: 0; height: 0; border-left: 11px solid transparent; border-right: 11px solid transparent; border-bottom: 26px solid #fff; transform: rotate(var(--plane-rot)) scale(var(--plane-s, 1)); z-index: 4; filter: drop-shadow(0 6px 10px rgba(15,23,42,.35)); }
.home-page .hp-plane::after { content: ""; position: absolute; left: -4px; top: 12px; width: 8px; height: 12px; background: var(--primary); border-radius: 50%; }
.home-page .hp-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--secondary); box-shadow: 0 0 0 5px rgba(236,72,153,.25); }
.home-page .hp-dot.hp-d1 { left: var(--dot1-x); top: var(--dot1-y); }
.home-page .hp-dot.hp-d2 { left: var(--dot2-x); top: var(--dot2-y); }
.home-page .hp-art .hp-copy { position: absolute; left: 20px; bottom: 16px; color: #fff; z-index: 5; max-width: 320px; }
/* Mobile: shapes (white SIM/signal) sit behind the caption — add a dark scrim + shadow so it stays legible */
.home-page .hp-art::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 58%; background: linear-gradient(to top, rgba(15,23,42,.82) 0%, rgba(15,23,42,.5) 45%, rgba(15,23,42,0) 100%); z-index: 4; pointer-events: none; }
.home-page .hp-art .hp-copy h3, .home-page .hp-art .hp-copy p { text-shadow: 0 1px 3px rgba(15,23,42,.7), 0 0 12px rgba(15,23,42,.5); }
.home-page .hp-art .hp-copy h3 { font-weight: 800; font-size: 15px; line-height: 1.2; letter-spacing: -.01em; margin: 0 0 2px; color: #fff; white-space: pre-line; }
.home-page .hp-art .hp-copy p { font-size: 12.5px; opacity: .92; color: #fff; }

@media (min-width: 960px) {
    .home-page .hp-hero-inner { grid-template-columns: 54% 46%; min-height: calc(100vh - var(--nav-h)); max-height: 820px; }
    .home-page .hp-hero-copy { padding: 72px 56px 64px 20px; margin: 0 0 0 auto; max-width: calc(1160px * .54); align-self: center; }
    .home-page .hp-hero-cta .hp-btn { flex: 0 0 auto; }
    .home-page .hp-art {
        height: auto;
        --globe-size: 420px; --globe-right: -120px; --globe-y: calc(50% - 170px);
        --sim-w: 200px; --sim-h: 140px; --sim-x: 90px; --sim-y: calc(50% - 10px); --sim-rot: -12deg;
        --sig-size: 300px; --sig-x: 40px; --sig-y: calc(50% - 250px);
        --path-w: 520px; --path-h: 260px; --path-x: 60px; --path-y: calc(50% - 120px); --path-rot: -10deg;
        --plane-x: 540px; --plane-y: calc(50% - 200px); --plane-rot: 60deg; --plane-s: 1;
        --dot1-x: 78px; --dot1-y: calc(50% + 120px); --dot2-x: 470px; --dot2-y: calc(50% - 40px);
    }
    .home-page .hp-art::after { height: 40%; background: linear-gradient(to top, rgba(15,23,42,.55) 0%, rgba(15,23,42,0) 100%); }
    .home-page .hp-art .hp-copy { left: 56px; bottom: 48px; max-width: 400px; }
    .home-page .hp-art .hp-copy h3 { font-size: 30px; margin-bottom: 8px; }
    .home-page .hp-art .hp-copy p { font-size: 15px; }
}
@media (min-width: 1280px) { .home-page .hp-art { --globe-size: 480px; --sim-w: 230px; --sim-h: 160px; --sig-size: 340px; } }

/* ---------------- NOTICE ---------------- */
.home-page .hp-notice { background: #fffbeb; border-bottom: 1px solid #fde68a; }
.home-page .hp-notice .hp-wrap { display: flex; gap: 12px; align-items: flex-start; padding-top: 14px; padding-bottom: 14px; font-size: 14px; color: #78350f; }
.home-page .hp-notice svg { color: #d97706; margin-top: 1px; }
.home-page .hp-notice a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
@media (min-width: 700px) { .home-page .hp-notice .hp-wrap { align-items: center; } }

/* ---------------- FEATURES / STEPS ---------------- */
.home-page .hp-grid3 { display: grid; gap: 20px; }
@media (min-width: 760px) { .home-page .hp-grid3 { grid-template-columns: repeat(3, 1fr); } }
.home-page .hp-feat { padding: 28px; }
.home-page .hp-icon { width: 48px; height: 48px; border-radius: 12px; background: #eef2ff; color: var(--primary-dark); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.home-page .hp-feat h3, .home-page .hp-step h3 { font-size: 19px; margin-bottom: 8px; }
.home-page .hp-feat p, .home-page .hp-step p { color: var(--gray); font-size: 15px; }
.home-page .hp-step { padding: 28px; position: relative; }
.home-page .hp-step .hp-n { width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.home-page .hp-step .hp-tag { display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 600; color: var(--primary-dark); background: #eef2ff; padding: 4px 10px; border-radius: 999px; }

/* ---------------- COMPARE ---------------- */
.home-page .hp-compare { display: grid; gap: 20px; max-width: 860px; margin: 0 auto; }
@media (min-width: 700px) { .home-page .hp-compare { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.home-page .hp-cmp { padding: 32px; }
.home-page .hp-cmp .hp-who { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--gray); margin-bottom: 14px; }
.home-page .hp-cmp .hp-price { font-size: clamp(30px, 4vw, 40px); font-weight: 800; letter-spacing: -.02em; }
.home-page .hp-cmp .hp-per { color: var(--gray); font-size: 15px; margin-top: 4px; }
.home-page .hp-cmp ul { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.home-page .hp-cmp li { display: flex; gap: 10px; align-items: flex-start; }
.home-page .hp-cmp li svg { width: 20px; height: 20px; margin-top: 1px; }
.home-page .hp-cmp-bad .hp-price { color: var(--gray); }
.home-page .hp-cmp-bad li svg { color: #94a3b8; }
.home-page .hp-cmp-good { position: relative; border-color: #c7d2fe; box-shadow: var(--shadow-md); transform: translateY(-6px); }
.home-page .hp-cmp-good::before { content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 3px; border-radius: 0 0 3px 3px; background: var(--primary); }
.home-page .hp-cmp-good .hp-price { color: var(--primary-dark); }
.home-page .hp-cmp-good li svg { color: var(--success); }
.home-page .hp-cmp-good .hp-btn { margin-top: 24px; width: 100%; }
.home-page .hp-cmp-note { text-align: center; font-size: 13px; color: var(--gray); margin-top: 20px; }

/* ---------------- DESTINATIONS ---------------- */
.home-page .hp-dest { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .home-page .hp-dest { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.home-page .hp-d { padding: 20px; display: flex; flex-direction: column; gap: 4px; transition: .2s; position: relative; }
.home-page .hp-d:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #c7d2fe; }
.home-page .hp-d .hp-flag { width: 44px; height: 44px; border-radius: 12px; background: var(--light-gray); display: flex; align-items: center; justify-content: center; font-size: 26px; line-height: 1; margin-bottom: 10px; }
.home-page .hp-flag-emoji { font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif; }
.home-page .hp-d .hp-name { font-weight: 700; font-size: 16px; }
.home-page .hp-d .hp-type { font-size: 13px; color: var(--gray); }
.home-page .hp-d .hp-from { margin-top: 10px; font-size: 13px; color: var(--gray); }
.home-page .hp-d .hp-from b { display: block; font-size: 20px; color: var(--dark); letter-spacing: -.01em; }
.home-page .hp-d .hp-see { margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--primary-dark); }
.home-page .hp-d .hp-see svg { width: 18px; height: 18px; transition: .2s; }
.home-page .hp-d:hover .hp-see svg { transform: translateX(3px); }
.home-page .hp-dest-foot { text-align: center; margin-top: 32px; }

/* ---------------- FAQ (native details) ---------------- */
.home-page .hp-faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.home-page .hp-q { overflow: hidden; }
.home-page .hp-q summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-size: 16px; font-weight: 600; color: var(--dark); cursor: pointer; min-height: 56px; }
.home-page .hp-q summary::-webkit-details-marker { display: none; }
.home-page .hp-q summary svg { color: var(--gray); transition: .25s; }
.home-page .hp-q[open] summary svg { transform: rotate(45deg); color: var(--primary-dark); }
.home-page .hp-q .hp-a { padding: 0 22px 20px; color: var(--gray); font-size: 15px; }
.home-page .hp-q .hp-a a { color: var(--primary-dark); text-decoration: underline; text-underline-offset: 3px; }

/* ---------------- CTA ---------------- */
.home-page .hp-cta { padding: 0 0 72px; }
.home-page .hp-cta .hp-box { background: #0f172a; color: #fff; border-radius: 24px; padding: 48px 28px; text-align: center; position: relative; overflow: hidden; }
.home-page .hp-cta .hp-box::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--primary); }
.home-page .hp-cta .hp-box::after { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(99,102,241,.35), transparent 65%); right: -200px; bottom: -300px; pointer-events: none; }
.home-page .hp-cta h2 { color: #fff; margin-bottom: 12px; }
.home-page .hp-cta p { color: #cbd5e1; max-width: 520px; margin: 0 auto 28px; font-size: 17px; }
.home-page .hp-cta .hp-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; position: relative; }
.home-page .hp-cta .hp-btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.home-page .hp-cta .hp-btn-ghost:hover { background: rgba(255,255,255,.08); }
@media (min-width: 760px) { .home-page .hp-cta .hp-box { padding: 64px 40px; } }

/* ---------------- hero search autocomplete ---------------- */
.home-page .hp-search { position: relative; }
.home-page .hp-search-list { position: absolute; left: 0; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-md); z-index: 20; max-height: 320px; overflow-y: auto; }
.home-page .hp-search-list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; cursor: pointer; min-height: 44px; }
.home-page .hp-search-list li:hover, .home-page .hp-search-list li.is-active { background: #eef2ff; }
.home-page .hp-search-chip { flex: none; width: 36px; height: 28px; border-radius: 8px; background: var(--light-gray); color: var(--primary-dark); font-size: 12px; font-weight: 700; letter-spacing: .04em; display: flex; align-items: center; justify-content: center; }
.home-page .hp-search-label { font-weight: 600; font-size: 15px; color: var(--dark); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-page .hp-search-list small { font-size: 12px; color: var(--gray); flex: none; }
