/* Anlander TopUp — dark + anlander-orange "flagship" theme. Mobile-first. */
@font-face {
    font-family: 'Anton';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/anton.woff2?v=2.4.1') format('woff2');
}
:root {
    --display-condensed: 'Anton', 'Arial Narrow', var(--display);
    --bg: #0a0e16;
    --bg-2: #0d1220;
    --surface: #141a27;
    --surface-2: #1b2231;
    --accent: #ff6b2b;         /* anlander orange */
    --accent-hover: #ff824c;
    --on-accent: #ffffff;      /* white text on orange */
    --success: #3ddc84;
    --error: #ff5f5f;
    --warning: #f5b544;
    --text: #eef1f7;
    --text-light: #8b93a7;
    --border: #262d3d;
    --radius: 14px;
    --pill: 999px;
    --display: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    /* faint blueprint grid, like the reference */
    background-image:
        linear-gradient(rgba(255,107,43,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,107,43,0.035) 1px, transparent 1px);
    background-size: 44px 44px;
    color: var(--text);
    min-height: 100vh;
    padding-bottom: 48px;
    -webkit-font-smoothing: antialiased;
}

/* Header */
.header {
    background: rgba(10,14,22,0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    color: #fff;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 50;
}
.header h1 {
    font-family: var(--display);
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 10px;
}
.brand-logo {
    height: 30px;
    width: 30px;
    border-radius: 7px;
    object-fit: cover;
    display: block;
}

.lang-btn {
    background: transparent;
    border: 1.5px solid var(--border);
    color: var(--text);
    padding: 7px 16px;
    border-radius: var(--pill);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s;
}
.lang-btn:hover { border-color: var(--accent); color: var(--accent); }

/* Step Indicators */
.step-indicators {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 20px 8px;
    gap: 0;
}
.step-dot {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-light);
    background: var(--surface);
    transition: all 0.3s;
}
.step-dot.active {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--on-accent);
    box-shadow: 0 0 0 4px rgba(255,107,43,0.15);
}
.step-dot.done {
    border-color: var(--accent);
    background: transparent;
    color: var(--accent);
}
.step-line {
    flex: 1;
    max-width: 44px;
    height: 2px;
    background: var(--border);
}

/* Step Header */
.step-header {
    text-align: center;
    padding: 20px 20px 8px;
}
.step-header h2 {
    font-family: var(--display);
    font-size: 26px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    color: var(--text);
    line-height: 1.05;
}
.step-header p { font-size: 14px; color: var(--text-light); margin-top: 8px; }

/* Error */
.error-msg {
    background: rgba(255,95,95,0.1);
    color: var(--error);
    padding: 12px 20px;
    margin: 8px 20px;
    border-radius: var(--radius);
    font-size: 14px;
    text-align: center;
    border: 1px solid rgba(255,95,95,0.35);
}

/* Loading */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(6,9,15,0.72);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}
.spinner {
    width: 42px;
    height: 42px;
    border: 4px solid rgba(255,107,43,0.2);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Step Content */
.step-content {
    max-width: 480px;
    margin: 0 auto;
    padding: 16px 20px;
}

/* Input Group */
.input-group { margin-bottom: 16px; }
.input-field {
    width: 100%;
    padding: 15px 16px;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 16px;
    color: var(--text);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    margin-bottom: 12px;
}
.input-field::placeholder { color: var(--text-light); }
.input-field:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255,107,43,0.15);
}
.otp-field {
    text-align: center;
    font-size: 26px;
    letter-spacing: 10px;
    font-weight: 700;
}

/* Buttons */
.btn {
    display: block;
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: var(--pill);
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}
.btn-primary {
    background: var(--accent);
    color: var(--on-accent);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-pay {
    background: var(--accent);
    color: var(--on-accent);
    font-size: 17px;
    margin-bottom: 12px;
    box-shadow: 0 8px 24px rgba(255,107,43,0.22);
}
.btn-pay:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-back {
    background: transparent;
    color: var(--text-light);
    font-size: 13px;
    margin-top: 10px;
    border-radius: var(--pill);
}
.btn-back:hover { color: var(--text); }
.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* Google sign-in (primary auth option) */
.btn-google {
    background: #ffffff;
    color: #1f1f1f;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.btn-google:hover { background: #f2f2f2; transform: translateY(-1px); }
.btn-google svg { flex: 0 0 auto; }
.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-light);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 18px 0;
    gap: 12px;
}
.auth-divider::before, .auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}

.otp-sent-msg {
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 16px;
}

/* Country Grid */
.country-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.country-card {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.country-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.4);
}
.country-flag { font-size: 30px; }
.country-name { font-size: 14px; font-weight: 700; color: var(--text); }
.country-price { font-size: 12px; color: var(--text-light); }

/* Plan Grid */
.plan-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.plan-card {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}
.plan-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.4);
}
.plan-gb {
    font-family: var(--display);
    font-size: 26px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text);
    line-height: 1.1;
}
.plan-days { font-size: 13px; color: var(--text-light); margin: 6px 0 12px; }
.plan-price { font-size: 18px; font-weight: 800; color: var(--accent); }

/* Summary Card */
.summary-card {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    margin-bottom: 20px;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 11px 0;
    font-size: 15px;
    color: var(--text-light);
}
.summary-row span:last-child { color: var(--text); font-weight: 600; }
.summary-row.total { font-weight: 800; font-size: 19px; }
.summary-row.total span { color: var(--accent) !important; }
.summary-divider {
    height: 1px;
    background: var(--border);
    margin: 6px 0;
}

/* Result Pages */
.result-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 48px 20px;
    text-align: center;
}

/* Countdown */
.countdown-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 24px;
}
.countdown-svg { width: 100%; height: 100%; }
.countdown-bg { fill: none; stroke: var(--border); stroke-width: 6; }
.countdown-ring {
    fill: none;
    stroke: var(--accent);
    stroke-width: 6;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s linear;
}
.countdown-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: baseline;
    gap: 2px;
}
#countdown-number { font-family: var(--display); font-size: 44px; font-weight: 800; color: var(--text); }
.countdown-unit { font-size: 16px; color: var(--text-light); }

.processing-title {
    font-family: var(--display); font-size: 24px; font-weight: 800;
    text-transform: uppercase; color: var(--text); margin-bottom: 8px;
}
.processing-desc { font-size: 14px; color: var(--text-light); }

/* Success */
.success-icon {
    width: 84px; height: 84px;
    background: var(--accent);
    color: var(--on-accent);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 42px; font-weight: 800;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(255,107,43,0.25);
}
.success-title {
    font-family: var(--display); font-size: 26px; font-weight: 800;
    text-transform: uppercase; color: var(--accent); margin-bottom: 8px;
}
.success-desc { font-size: 14px; color: var(--text-light); }

/* Pending */
.pending-icon {
    width: 84px; height: 84px;
    background: var(--warning);
    color: var(--on-accent);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 42px;
    margin: 0 auto 20px;
}
.pending-title {
    font-family: var(--display); font-size: 26px; font-weight: 800;
    text-transform: uppercase; color: var(--warning); margin-bottom: 8px;
}
.pending-desc { font-size: 14px; color: var(--text-light); }
.contact-info { font-size: 13px; color: var(--text-light); margin-top: 20px; }

/* Cancel */
.cancel-icon {
    width: 84px; height: 84px;
    background: var(--error);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 42px;
    margin: 0 auto 20px;
}
.cancel-title {
    font-family: var(--display); font-size: 26px; font-weight: 800;
    text-transform: uppercase; color: var(--error); margin-bottom: 8px;
}
.cancel-desc { font-size: 14px; color: var(--text-light); }

/* Result Details */
.result-details {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-top: 24px;
    text-align: left;
}
.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 9px 0;
    font-size: 14px;
    color: var(--text-light);
    border-bottom: 1px solid var(--border);
}
.detail-row span:last-child { color: var(--text); font-weight: 600; }
.detail-row:last-child { border-bottom: none; }

/* Active Plans */
.active-plans { margin-top: 12px; }
.active-plan-item {
    display: flex;
    justify-content: space-between;
    padding: 9px 12px;
    background: var(--surface-2);
    border-radius: 8px;
    margin-bottom: 6px;
    font-size: 13px;
}
.plan-status { font-weight: 700; color: var(--text-light); }
.plan-status.active { color: var(--accent); }

/* Responsive */
@media (min-width: 640px) {
    .country-grid { grid-template-columns: repeat(3, 1fr); }
    .plan-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ===== Multi-brand ===== */
.brand-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.brand-option { width: 100%; }
.brand-banner {
    background: var(--surface);
    color: var(--accent);
    border: 1.5px solid rgba(255,107,43,0.4);
    border-radius: var(--pill);
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-align: center;
    margin-bottom: 16px;
}

/* ============================================================
   Landing page — "Digital Flagship" clone, dark + anlander orange
   Responsive is the #1 rule: zero horizontal overflow / no clipped
   text at 360 / 390 / 768 / 1280 widths.
   ============================================================ */
body.landing { padding-bottom: 0; overflow-x: hidden; }
.landing img { max-width: 100%; }

/* ---- Section 1: Header (logo | lang toggle centre | TOP UP right) ---- */
.lp-header {
    /* 同 hero 共用 --gutter，左右邊完全對齊 */
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
    gap: 10px; padding: 14px var(--gutter, clamp(16px, 3vw, 40px));
    position: sticky; top: 0; z-index: 60;
    background: rgba(10,14,22,0.82); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}
.lp-brand { justify-self: start; display: flex; align-items: center; gap: 9px;
    text-decoration: none; color: var(--text); font-family: var(--display-condensed);
    font-weight: 400; text-transform: uppercase; letter-spacing: 0.06em;
    font-size: clamp(15px, 4vw, 20px); }
.lp-brand .brand-logo { height: 28px; width: 28px; }
.lp-header .lang-btn { justify-self: center; white-space: nowrap; padding: 6px 12px; font-size: 11px; }
.lp-header .btn-pill { justify-self: end; }
.btn-pill {
    display: inline-block; background: var(--accent); color: var(--on-accent);
    padding: 9px clamp(14px, 3.5vw, 22px); border-radius: var(--pill); font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.05em; font-size: clamp(11px, 3vw, 13px);
    white-space: nowrap; text-decoration: none; transition: all 0.2s; }
.btn-pill:hover { background: var(--accent-hover); transform: translateY(-1px); }

.lp-cta { display: inline-flex !important; width: auto !important;
    align-items: center; justify-content: center; padding: 15px 30px; text-decoration: none;
    white-space: nowrap; }

/* Tiles (shared) */
.lp-tile { border-radius: 14px; overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.08); will-change: transform; background: var(--surface); }
.lp-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- Section 2: Hero ---- */
/* 共用 gutter：header 同 hero 用同一左右邊距，闊芒下自動對齊（內容欄上限 ~1560px） */
body.landing { --gutter: max(clamp(16px, 3vw, 40px), calc(50vw - 780px)); }
.lp-hero { padding: clamp(40px, 8vw, 72px) var(--gutter) 44px; position: relative; }
.lp-eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: 0.2em;
    font-size: clamp(11px, 2.6vw, 13px); font-weight: 700; margin-bottom: clamp(16px, 3vw, 22px); }
.lp-hero-title { display: flex; flex-direction: column; gap: clamp(4px, 1.2vw, 12px); }
/* 每行 space-between：第一行「字左、相右」，第二行「相左、字右」，
   兩行都撐滿成欄 → 左右 margin 自然對齊（似參考 BUILT FOR / GROWTH） */
.lp-hero-row { display: flex; align-items: center; justify-content: space-between;
    gap: clamp(14px, 2.6vw, 34px); flex-wrap: wrap; row-gap: clamp(8px, 2vw, 14px); }
.lp-word { font-family: var(--display-condensed); font-weight: 400; text-transform: uppercase;
    font-size: clamp(44px, 13.8vw, 240px); line-height: 1.02; letter-spacing: 0.005em;
    color: var(--text); }
/* tile 用 flex-grow 填滿字同欄邊之間嘅空位；第二行字較短 → 張相自然更闊 */
.lp-tile-hero { flex: 1 1 0; min-width: clamp(88px, 15vw, 260px); }
.lp-tile-hero.t1 { height: clamp(72px, 12vw, 200px); }
.lp-tile-hero.t2 { height: clamp(84px, 13.8vw, 230px); }
.lp-hero-sub { color: var(--text-light); font-size: clamp(15px, 2.2vw, 19px);
    max-width: 620px; margin: clamp(26px, 4vw, 34px) 0; line-height: 1.6; }
.lp-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- Section 3: Statement + scroll highlight + floating tiles ---- */
.lp-statement-sec { position: relative; overflow: hidden;
    padding: clamp(120px, 20vw, 260px) clamp(16px, 4vw, 24px); min-height: clamp(760px, 90vw, 1500px); display: flex; align-items: center; }
.lp-radial { position: absolute; inset: 0; pointer-events: none;
    background: repeating-radial-gradient(circle at 50% 50%, rgba(255,107,43,0.07) 0 1px, transparent 1px 46px);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 15%, transparent 68%);
            mask-image: radial-gradient(circle at 50% 50%, #000 15%, transparent 68%); }
.lp-statement-inner { max-width: 820px; margin: 0 auto; position: relative; z-index: 2; }
.lp-statement { font-family: var(--display-condensed); font-weight: 400; text-transform: uppercase;
    font-size: clamp(23px, 5vw, 50px); line-height: 1.2; color: #2b3346; text-align: center; }
.lp-statement .w { color: #2b3346; transition: color 0.25s ease; }
.lp-statement .w.lit { color: var(--text); }

.lp-float { position: absolute; z-index: 1;
    border-radius: 14px; overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,0.55);
    border: 1px solid rgba(255,255,255,0.08); will-change: transform; }
.lp-float img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-float figcaption { position: absolute; left: 12px; bottom: 10px; z-index: 2; color: #fff;
    font-family: var(--display-condensed); font-weight: 400; text-transform: uppercase;
    letter-spacing: 0.05em; font-size: 14px; text-shadow: 0 1px 6px rgba(0,0,0,0.8); }
.lp-float::after { content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent 55%); }
/* 每張浮動 tile 大細/比例都唔同（似參考），並用 50% ± 偏移錨定喺內容附近，
   闊芒唔會黐死喺螢幕最邊 */
.lp-float.l1 { width: clamp(150px, 13vw, 205px); aspect-ratio: 4 / 3; left: max(1%, calc(50% - 755px)); top: 1%; }
.lp-float.l2 { width: clamp(115px, 10vw, 155px); aspect-ratio: 3 / 4; left: max(4%, calc(50% - 650px)); top: 14%; }
.lp-float.l3 { width: clamp(160px, 15vw, 235px); aspect-ratio: 16 / 10; left: max(0%, calc(50% - 785px)); top: 27%; }
.lp-float.l4 { width: clamp(125px, 11vw, 170px); aspect-ratio: 1 / 1; left: max(3%, calc(50% - 685px)); top: 40%; }
.lp-float.l5 { width: clamp(150px, 13.5vw, 210px); aspect-ratio: 4 / 3; left: max(1%, calc(50% - 760px)); top: 53%; }
.lp-float.l6 { width: clamp(115px, 10vw, 150px); aspect-ratio: 3 / 4; left: max(4%, calc(50% - 645px)); top: 66%; }
.lp-float.l7 { width: clamp(130px, 12vw, 185px); aspect-ratio: 1 / 1; left: max(2%, calc(50% - 700px)); top: 78%; }
.lp-float.l8 { width: clamp(165px, 15vw, 240px); aspect-ratio: 16 / 10; left: max(0%, calc(50% - 780px)); top: 90%; }
.lp-float.r1 { width: clamp(115px, 10.5vw, 160px); aspect-ratio: 3 / 4; right: max(2%, calc(50% - 710px)); top: 3%; }
.lp-float.r2 { width: clamp(155px, 14vw, 220px); aspect-ratio: 4 / 3; right: max(0%, calc(50% - 780px)); top: 16%; }
.lp-float.r3 { width: clamp(165px, 15vw, 235px); aspect-ratio: 16 / 10; right: max(1%, calc(50% - 770px)); top: 29%; }
.lp-float.r4 { width: clamp(125px, 11vw, 170px); aspect-ratio: 1 / 1; right: max(4%, calc(50% - 660px)); top: 42%; }
.lp-float.r5 { width: clamp(115px, 10vw, 150px); aspect-ratio: 3 / 4; right: max(2%, calc(50% - 705px)); top: 55%; }
.lp-float.r6 { width: clamp(155px, 14vw, 215px); aspect-ratio: 4 / 3; right: max(0%, calc(50% - 775px)); top: 67%; }
.lp-float.r7 { width: clamp(130px, 12vw, 180px); aspect-ratio: 1 / 1; right: max(3%, calc(50% - 690px)); top: 79%; }
.lp-float.r8 { width: clamp(160px, 14.5vw, 230px); aspect-ratio: 16 / 10; right: max(1%, calc(50% - 765px)); top: 90%; }

/* ---- Section 4 + 5: Orange band (slogan + services list) ---- */
.lp-orange { background: var(--accent); }
.lp-slogan-sec { padding: clamp(64px, 11vw, 120px) clamp(16px, 4vw, 24px) clamp(24px, 5vw, 40px);
    text-align: center; }
.lp-slogan { font-family: var(--display-condensed); font-weight: 400; text-transform: uppercase;
    font-size: clamp(34px, 8.5vw, 108px); line-height: 0.98; color: var(--bg);
    max-width: 15ch; margin: 0 auto; letter-spacing: 0.005em; }
.lp-services-sec { padding: clamp(8px, 3vw, 24px) clamp(16px, 4vw, 24px) clamp(64px, 11vw, 120px);
    text-align: center; }
.lp-services-lead { max-width: 540px; margin: 0 auto clamp(28px, 5vw, 46px);
    color: rgba(10,14,22,0.78); font-size: clamp(14px, 2.2vw, 17px); line-height: 1.6; font-weight: 600; }
.lp-services-list { font-family: var(--display-condensed); font-weight: 400; text-transform: uppercase;
    font-size: clamp(26px, 6vw, 66px); line-height: 1.06; color: var(--bg);
    max-width: 1000px; margin: 0 auto; letter-spacing: 0.005em; }

/* ---- Section 6: Destination grid ---- */
.lp-grid-sec { max-width: 1180px; margin: 0 auto;
    padding: clamp(70px, 12vw, 120px) clamp(16px, 4vw, 24px); }
/* Masonry：CSS columns，每張卡比例唔同，錯落排列（似參考 portfolio 牆） */
.lp-grid { columns: 2; column-gap: clamp(12px, 2vw, 20px); }
.lp-card { position: relative; border-radius: 14px; overflow: hidden;
    display: block; break-inside: avoid; margin: 0 0 clamp(12px, 2vw, 20px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.08);
    will-change: transform; transition: transform 0.3s ease, box-shadow 0.3s ease; background: var(--surface); }
.lp-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-card:nth-child(1) img { aspect-ratio: 4 / 3; }
.lp-card:nth-child(2) img { aspect-ratio: 3 / 4; }
.lp-card:nth-child(3) img { aspect-ratio: 4 / 5; }
.lp-card:nth-child(4) img { aspect-ratio: 1 / 1; }
.lp-card:nth-child(5) img { aspect-ratio: 3 / 4; }
.lp-card:nth-child(6) img { aspect-ratio: 16 / 10; }
.lp-card figcaption { position: absolute; left: 14px; bottom: 12px; z-index: 2; color: #fff;
    font-family: var(--display-condensed); font-weight: 400; text-transform: uppercase;
    letter-spacing: 0.05em; font-size: clamp(14px, 2.6vw, 20px); text-shadow: 0 1px 8px rgba(0,0,0,0.85); }
.lp-card::after { content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(to top, rgba(0,0,0,0.62), transparent 52%); }
.lp-card:hover { transform: translateY(-6px); box-shadow: 0 26px 54px rgba(0,0,0,0.6); }

/* ---- Section 7: Metrics (orange) ---- */
.lp-metrics-sec { padding: clamp(70px, 12vw, 118px) clamp(16px, 4vw, 24px); text-align: center; }
.lp-metrics-inner { max-width: 1120px; margin: 0 auto; }
.lp-metrics-title { font-family: var(--display-condensed); font-weight: 400; text-transform: uppercase;
    font-size: clamp(34px, 8vw, 92px); line-height: 0.98; color: var(--bg); letter-spacing: 0.005em; }
.lp-metrics-sub { color: rgba(10,14,22,0.78); font-size: clamp(14px, 2.2vw, 18px);
    margin: 14px 0 clamp(40px, 6vw, 62px); font-weight: 600; }
.lp-metric-row { display: grid; grid-template-columns: 1fr; gap: clamp(24px, 4vw, 40px); }
.lp-metric { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.lp-metric.in { opacity: 1; transform: none; }
.lp-metric-pill { display: inline-block; background: var(--bg); color: var(--accent);
    padding: 6px 16px; border-radius: var(--pill); font-size: clamp(10px, 2.4vw, 12px); font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.lp-metric-n { display: block; font-family: var(--display-condensed); font-weight: 400;
    font-size: clamp(56px, 13vw, 120px); line-height: 0.9; color: var(--bg); }
.lp-metric-l { display: block; color: rgba(10,14,22,0.7); font-size: clamp(13px, 2.2vw, 16px);
    font-weight: 600; margin-top: 8px; }

/* ---- Section 8: How it works ---- */
.lp-how { max-width: 1080px; margin: 0 auto;
    padding: clamp(70px, 12vw, 110px) clamp(16px, 4vw, 24px); }
.lp-section-title { font-family: var(--display-condensed); font-weight: 400; text-transform: uppercase;
    font-size: clamp(30px, 6vw, 56px); text-align: center; color: var(--text);
    margin-bottom: clamp(32px, 5vw, 48px); letter-spacing: 0.01em; }
.lp-steps { display: grid; grid-template-columns: 1fr; gap: 18px; }
.lp-step { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius);
    padding: 30px 26px; transition: all 0.2s; }
.lp-step:hover { border-color: var(--accent); transform: translateY(-3px); }
.lp-step-n { font-family: var(--display-condensed); font-weight: 400; font-size: 34px; color: var(--accent); }
.lp-step h3 { font-family: var(--display-condensed); text-transform: uppercase; font-weight: 400;
    font-size: 22px; color: var(--text); margin: 10px 0 8px; letter-spacing: 0.02em; }
.lp-step p { color: var(--text-light); font-size: 14px; line-height: 1.6; }

/* ---- Section 9: Footer ---- */
.lp-footer { position: relative; overflow: hidden; border-top: 1px solid var(--border);
    padding: clamp(64px, 10vw, 96px) clamp(16px, 4vw, 24px) 0; text-align: center; }
.lp-footer-ready { font-family: var(--display-condensed); font-weight: 400; text-transform: uppercase;
    font-size: clamp(34px, 8vw, 88px); line-height: 0.98; color: var(--text);
    margin-bottom: clamp(24px, 4vw, 34px); letter-spacing: 0.005em; }
.lp-footer-links { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap;
    margin: clamp(40px, 6vw, 60px) 0 16px; }
.lp-footer-links a { color: var(--text-light); text-decoration: none; font-size: 14px;
    text-transform: uppercase; letter-spacing: 0.05em; }
.lp-footer-links a:hover { color: var(--accent); }
.lp-footer-copy { color: #5c6478; font-size: 12px; }
.lp-bigmark { display: block; font-family: var(--display-condensed); font-weight: 400;
    text-transform: uppercase; text-align: center; white-space: nowrap; letter-spacing: 0.01em;
    font-size: clamp(80px, 18vw, 240px); line-height: 1; color: rgba(255,255,255,0.06);
    height: 0.62em; overflow: hidden; margin-top: clamp(30px, 5vw, 60px); pointer-events: none;
    -webkit-user-select: none; user-select: none; }

/* ---- Breakpoints ---- */
@media (min-width: 560px) { .lp-metric-row { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 720px) {
    .lp-steps { grid-template-columns: repeat(3, 1fr); }
    .lp-grid { columns: 3; }
}
@media (min-width: 900px) { .lp-metric-row { grid-template-columns: repeat(4, 1fr); } }
/* Floating tiles overlap the statement on narrow screens — hide there */
@media (max-width: 900px) { .lp-float { display: none; } }

/* Respect reduced motion: no transforms, no reveal, statement fully lit */
@media (prefers-reduced-motion: reduce) {
    [data-speed] { transform: none !important; }
    .lp-statement .w { color: var(--text) !important; transition: none; }
    .lp-metric { opacity: 1 !important; transform: none !important; transition: none; }
    .lp-card { transition: none; }
}

/* ===== v2.6.0/2.6.2: header 品牌字 + 品牌真卡面 ===== */
.lp-brand { text-transform: none; letter-spacing: 0.03em; }
.lp-simcards { display: flex; flex-wrap: wrap; justify-content: center;
    gap: clamp(14px, 2.4vw, 26px); margin: clamp(26px, 5vw, 46px) 0; }
.lp-simcard { width: clamp(140px, 20vw, 220px); margin: 0;
    border-radius: clamp(10px, 1.4vw, 16px); overflow: hidden;
    box-shadow: 0 16px 34px rgba(0,0,0,0.28);
    transition: transform 0.25s ease; }
.lp-simcard img { width: 100%; height: auto; display: block; }
.lp-simcard:hover { transform: translateY(-6px) rotate(-1deg); }

/* ===== v2.6.1: 中文模式 display 大字用系統黑體 900（Anton 冇 CJK，fallback 太幼） ===== */
html[lang="zh-HK"] :is(.lp-word, .lp-statement, .lp-slogan, .lp-services-list,
    .lp-metrics-title, .lp-section-title, .lp-footer-ready, .lp-cta-title) {
    font-family: 'Anton', 'PingFang TC', 'PingFang HK', 'Noto Sans TC',
        'Microsoft JhengHei', var(--display);
    font-weight: 900;
}

/* ===== v2.6.3: 精靈頁對齊首頁風格 ===== */
.step-header h2 {
    font-family: var(--display-condensed);
    font-weight: 400;
    font-size: clamp(30px, 6.4vw, 54px);
    letter-spacing: 0.01em;
}
html[lang="zh-HK"] .step-header h2 {
    font-family: 'Anton', 'PingFang TC', 'PingFang HK', 'Noto Sans TC',
        'Microsoft JhengHei', var(--display);
    font-weight: 900;
}

/* ===== v2.7.0: 精靈第一步品牌選擇 + 提示文字 ===== */
.step-content.wz-wide { max-width: 720px; }
.wz-brands { display: grid; grid-template-columns: repeat(2, 1fr);
    gap: clamp(12px, 2.4vw, 20px); }
.wz-brand { margin: 0; cursor: pointer; border-radius: 14px; overflow: hidden;
    background: var(--surface); border: 1.5px solid var(--border);
    transition: transform 0.2s ease, border-color 0.2s ease; text-align: center; }
.wz-brand:hover { transform: translateY(-4px); border-color: var(--accent); }
.wz-brand img { width: 100%; height: auto; display: block; }
.wz-brand figcaption { padding: 10px 8px; font-weight: 800; font-size: 14px;
    color: var(--text); letter-spacing: 0.02em; }
.wz-hint { color: var(--text-light); font-size: 13px; line-height: 1.65;
    text-align: center; margin-top: 14px; }
#iccid-hint { text-align: left; margin-top: 4px; }
#pay-note { margin-top: 4px; }
@media (min-width: 640px) { .wz-brands { grid-template-columns: repeat(4, 1fr); } }

/* ===== v2.8.0: 精靈頁全面放大 + 服務提供者 footer ===== */
.step-content { max-width: 620px; }
.step-content.wz-wide { max-width: 900px; }
.step-indicators { padding-top: 36px; }
.step-dot { width: 42px; height: 42px; font-size: 16px; }
.step-line { max-width: 56px; }
.step-header h2 { font-size: clamp(34px, 7vw, 64px); }
.step-header p { font-size: 16px; max-width: 560px; margin-left: auto; margin-right: auto; }
.input-field { padding: 18px 18px; font-size: 18px; }
.otp-field { font-size: 30px; }
.btn { padding: 18px; font-size: 17px; }
.btn-google { font-size: 17px; }
.btn-pay { font-size: 19px; }
.wz-hint { font-size: 14px; }
.wz-brand figcaption { padding: 12px 8px; font-size: 16px; }
.country-card { padding: 20px 16px; }
.country-name { font-size: 16px; }
.country-price { font-size: 13px; }
.plan-card { padding: 26px 18px; }
.plan-gb { font-size: 30px; }
.plan-days { font-size: 15px; }
.plan-price { font-size: 21px; }
.summary-card { padding: 26px; }
.summary-row { font-size: 17px; padding: 13px 0; }
.summary-row.total { font-size: 21px; }
.brand-banner { font-size: 15px; padding: 12px 18px; }

.wz-footer {
    text-align: center; color: var(--text-light); font-size: 13px;
    padding: 34px 20px 10px; letter-spacing: 0.03em;
}
.lp-footer .wz-provider { display: block; margin-top: 2px; }

/* ===== v2.9.0: 選擇方案（solutions add.html 風格） ===== */
.wz-filter-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wz-filter { margin-bottom: 14px; }
.wz-filter label { display: block; color: var(--text-light); font-size: 13px;
    font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.wz-select {
    appearance: none; -webkit-appearance: none; cursor: pointer; margin-bottom: 0;
    background-image: linear-gradient(45deg, transparent 50%, var(--text-light) 50%),
                      linear-gradient(135deg, var(--text-light) 50%, transparent 50%);
    background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 44px;
}
#plan-info-card { margin-top: 18px; }
#plan-continue-btn { margin-top: 16px; }
@media (max-width: 560px) { .wz-filter-row { grid-template-columns: 1fr; gap: 0; } }

/* ===== v3.0.0: legal pages + 社交 icons ===== */
.legal-page { max-width: 760px; margin: 0 auto; padding: 40px 22px 30px; }
.legal-page h1 { font-family: var(--display-condensed); font-weight: 400;
    text-transform: uppercase; font-size: clamp(30px, 6vw, 52px); color: var(--text);
    margin-bottom: 8px; }
.legal-updated { color: var(--text-light); font-size: 13px; margin-bottom: 30px; }
.legal-page section { margin-bottom: 36px; }
.legal-page h2 { font-family: var(--display-condensed); font-weight: 400;
    text-transform: uppercase; font-size: 22px; color: var(--accent); margin-bottom: 14px; }
.legal-page p, .legal-page li { color: var(--text-light); font-size: 15px; line-height: 1.8; }
.legal-page strong { color: var(--text); }
.legal-page ol { padding-left: 22px; }
.legal-page li { margin-bottom: 10px; }
.legal-page a { color: var(--accent); }
.legal-socials { display: flex; gap: 18px; margin-top: 8px; }
.legal-socials a { color: var(--text-light); transition: color 0.2s; }
.legal-socials a:hover { color: var(--accent); }
.wz-footer a { color: var(--text-light); text-decoration: underline; }
.wz-footer a:hover { color: var(--accent); }

/* landing footer 社交列 */
.lp-socials { display: flex; gap: 16px; align-items: center; }
.lp-socials a { color: var(--text-light); transition: color 0.2s; display: block; }
.lp-socials a:hover { color: var(--accent); }
