/* =========================================
   LazySavior — Official LINE Landing Page
   ========================================= */

:root {
    --bg: #07090f;
    --bg-alt: #0b0e16;
    --surface: rgba(255, 255, 255, 0.035);
    --surface-hi: rgba(255, 255, 255, 0.07);
    --border: rgba(255, 255, 255, 0.08);
    --border-hi: rgba(255, 255, 255, 0.16);
    --line: #06C755;
    --line-bright: #1eff88;
    --line-dim: rgba(6, 199, 85, 0.15);
    --accent: #00B4D8;
    --purple: #8B5CF6;
    --text: #E8EAF0;
    --text-dim: #8a90a0;
    --text-mute: #5b6170;
    --radius: 20px;
    --radius-sm: 12px;
    --container: 1240px;
    --gutter: 24px;
    --font-en: 'Space Grotesk', 'Inter', system-ui, sans-serif;
    --font: 'Inter', 'Noto Sans TC', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
ul { list-style: none; }

::selection { background: var(--line); color: #000; }

/* ===== Container ===== */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    position: relative;
    z-index: 2;
}

/* ===== Background Aurora ===== */
.bg-aurora {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.aurora {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.55;
    animation: float 18s ease-in-out infinite;
}

.aurora-1 {
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, var(--line) 0%, transparent 70%);
    top: -120px;
    left: -120px;
}

.aurora-2 {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    top: 40%;
    right: -160px;
    animation-delay: -6s;
}

.aurora-3 {
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, var(--purple) 0%, transparent 70%);
    bottom: -120px;
    left: 30%;
    opacity: 0.35;
    animation-delay: -12s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(60px, -40px) scale(1.08); }
    66% { transform: translate(-40px, 50px) scale(0.95); }
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

/* ===== Typography ===== */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-en);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    color: var(--text-dim);
    text-transform: uppercase;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-bottom: 24px;
}

.eyebrow .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--line);
    box-shadow: 0 0 12px var(--line);
    animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.grad-text {
    background: linear-gradient(135deg, var(--line) 0%, var(--line-bright) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(7, 9, 15, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.01em;
}

.logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--bg-alt);
    box-shadow: 0 4px 18px rgba(6, 199, 85, 0.25),
                0 0 0 1px rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease;
}

.logo:hover .logo-mark {
    transform: rotate(-8deg) scale(1.05);
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav a {
    font-size: 14px;
    color: var(--text-dim);
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

.nav a:hover { color: var(--text); }
.nav a:hover::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--line);
    border-radius: 2px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-line {
    background: linear-gradient(135deg, var(--line) 0%, #04a346 100%);
    color: #fff;
    box-shadow: 0 8px 32px -8px rgba(6, 199, 85, 0.55), 0 0 0 1px rgba(6, 199, 85, 0.3);
}

.btn-line::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--line-bright) 0%, var(--line) 100%);
    opacity: 0;
    transition: opacity 0.25s;
}

.btn-line > * { position: relative; z-index: 1; }

.btn-line:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px -10px rgba(6, 199, 85, 0.7), 0 0 0 1px rgba(30, 255, 136, 0.5);
}

.btn-line:hover::before { opacity: 1; }

.btn-ghost {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    background: var(--surface-hi);
    border-color: var(--border-hi);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 18px;
    font-size: 13px;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 17px;
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    position: relative;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 80px;
    align-items: center;
}

.hero-title {
    font-size: clamp(2.6rem, 6.2vw, 5.4rem);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
}

.hero-sub {
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    color: var(--text-dim);
    margin-bottom: 40px;
    max-width: 520px;
}

.brand-zh {
    color: var(--text);
    font-weight: 700;
    background: linear-gradient(135deg, var(--line-bright), var(--line));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-meta {
    display: flex;
    gap: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.hero-meta > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-meta strong {
    font-family: var(--font-en);
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
}

.hero-meta span {
    font-size: 12px;
    color: var(--text-dim);
    letter-spacing: 0.05em;
}

/* ===== Hero Visual / QR ===== */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.qr-card {
    width: 340px;
    padding: 32px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid var(--border-hi);
    border-radius: 28px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    transform: rotate(-2deg);
    transition: transform 0.4s ease;
}

.qr-card:hover { transform: rotate(0deg) translateY(-6px); }

.qr-card-top {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-dim);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-family: var(--font-en);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--line);
    box-shadow: 0 0 12px var(--line);
    animation: pulse 1.8s infinite;
}

.qr-placeholder {
    aspect-ratio: 1;
    background: #fff;
    border-radius: 16px;
    padding: 12px;
    position: relative;
    margin-bottom: 20px;
    box-shadow: 0 8px 28px rgba(6, 199, 85, 0.18),
                inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.qr-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 8px;
}

.qr-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 3px;
    width: 100%;
    height: 100%;
}

.qr-grid span {
    background: #000;
    border-radius: 1px;
    opacity: 0;
    animation: qrIn 0.8s forwards;
}

.qr-grid span:nth-child(odd) { animation-delay: 0.05s; }
.qr-grid span:nth-child(3n) { background: transparent; }
.qr-grid span:nth-child(5n) { background: transparent; }
.qr-grid span:nth-child(7n) { background: #000; }
.qr-grid span:nth-child(11n) { background: transparent; }

@keyframes qrIn {
    to { opacity: 1; }
}

.qr-corner {
    position: absolute;
    width: 26px;
    height: 26px;
    border: 4px solid var(--line);
    border-radius: 6px;
}

.qr-tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.qr-tr { top: 12px; right: 12px; border-left: 0; border-bottom: 0; }
.qr-bl { bottom: 12px; left: 12px; border-right: 0; border-top: 0; }

.qr-hint {
    text-align: center;
    color: var(--text-dim);
    font-size: 13px;
    margin-bottom: 4px;
}

.qr-id {
    text-align: center;
    color: var(--line-bright);
    font-family: var(--font-en);
    font-weight: 600;
    font-size: 18px;
}

.floater {
    position: absolute;
    background: rgba(13, 17, 25, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-hi);
    padding: 10px 18px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-dim);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    animation: floatY 4s ease-in-out infinite;
}

.floater-1 {
    top: 10%;
    left: -10%;
    animation-delay: -2s;
}

.floater-2 {
    bottom: 12%;
    right: -8%;
}

.floater-icon {
    color: var(--line-bright);
    font-size: 14px;
}

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 38px;
    border: 2px solid var(--border-hi);
    border-radius: 12px;
    display: grid;
    place-items: start center;
    padding-top: 6px;
}

.scroll-hint span {
    width: 3px;
    height: 8px;
    background: var(--line);
    border-radius: 2px;
    animation: scrollDot 1.6s infinite;
}

@keyframes scrollDot {
    0% { opacity: 0; transform: translateY(0); }
    40% { opacity: 1; }
    100% { opacity: 0; transform: translateY(14px); }
}

/* ===== Section ===== */
.section {
    padding: 120px 0;
    position: relative;
}

.section-head {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-sub {
    font-size: 1.1rem;
    color: var(--text-dim);
}

/* ===== Service Cards ===== */
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.cards.cards-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 920px;
    margin: 0 auto;
    gap: 32px;
}

.card {
    position: relative;
    padding: 36px 32px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, var(--line-dim) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.35s;
    pointer-events: none;
}

.card:hover {
    transform: translateY(-8px);
    border-color: rgba(6, 199, 85, 0.35);
    box-shadow: 0 30px 60px -20px rgba(6, 199, 85, 0.25),
                0 0 0 1px rgba(6, 199, 85, 0.1);
}

.card:hover::before { opacity: 1; }

.card-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--surface-hi);
    border: 1px solid var(--border);
    color: var(--line-bright);
    transition: all 0.3s;
}

.card-icon svg { width: 26px; height: 26px; }

.card:hover .card-icon {
    background: linear-gradient(135deg, var(--line), var(--line-bright));
    color: #000;
    transform: scale(1.05) rotate(-4deg);
    border-color: transparent;
    box-shadow: 0 12px 30px -8px rgba(6, 199, 85, 0.5);
}

.card-num {
    position: absolute;
    top: 28px;
    right: 32px;
    font-family: var(--font-en);
    font-size: 14px;
    color: var(--text-mute);
    font-weight: 500;
    letter-spacing: 0.1em;
}

.card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.card p {
    color: var(--text-dim);
    font-size: 0.95rem;
    flex-grow: 1;
}

.card-arrow {
    color: var(--line-bright);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    transition: gap 0.25s;
    gap: 4px;
}

.card:hover .card-arrow { gap: 12px; }

/* ===== Service Detail ===== */
.service-detail { padding: 100px 0; }

.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.service-row.reverse > .service-text { order: 2; }
.service-row.reverse > .service-visual { order: 1; }

.service-text .section-title { text-align: left; }

.lead {
    font-size: 1.1rem;
    color: var(--text-dim);
    margin: 20px 0 36px;
    max-width: 480px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 40px;
}

.feature-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-list .check {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--line-dim);
    border: 1px solid rgba(6, 199, 85, 0.4);
    position: relative;
    margin-top: 3px;
}

.feature-list .check::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 4px;
    border-left: 2px solid var(--line-bright);
    border-bottom: 2px solid var(--line-bright);
    transform: translate(-50%, -70%) rotate(-45deg);
}

.feature-list strong {
    display: block;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
}

.feature-list p {
    font-size: 0.92rem;
    color: var(--text-dim);
}

/* ===== Mock Window (shared) ===== */
.mock-window, .mock-calendar, .mock-terminal {
    background: linear-gradient(180deg, rgba(20, 24, 35, 0.9) 0%, rgba(13, 17, 25, 0.9) 100%);
    border: 1px solid var(--border-hi);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.6),
                inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.mock-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.2);
}

.mock-bar > span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.mock-bar > span:nth-child(1) { background: #ff5f57; }
.mock-bar > span:nth-child(2) { background: #febc2e; }
.mock-bar > span:nth-child(3) { background: #28c840; }

.mock-bar em {
    margin-left: 12px;
    font-style: normal;
    font-family: var(--font-en);
    font-size: 12px;
    color: var(--text-mute);
    letter-spacing: 0.08em;
}

.mock-body { padding: 24px; display: flex; flex-direction: column; gap: 14px; }

.post-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s;
}

.post-row:hover {
    background: var(--surface-hi);
    transform: translateX(4px);
}

.post-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--line), var(--accent));
    flex-shrink: 0;
}

.post-line { flex-grow: 1; display: flex; flex-direction: column; gap: 6px; }

.post-title-bar {
    height: 8px;
    width: 70%;
    background: var(--surface-hi);
    border-radius: 4px;
}

.post-sub-bar {
    height: 6px;
    width: 45%;
    background: var(--border);
    border-radius: 4px;
}

.post-status {
    font-size: 11px;
    padding: 4px 10px;
    background: var(--line-dim);
    color: var(--line-bright);
    border-radius: 999px;
    border: 1px solid rgba(6, 199, 85, 0.3);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.post-status.pending {
    background: rgba(0, 180, 216, 0.12);
    color: #4dd0e1;
    border-color: rgba(0, 180, 216, 0.3);
}

.chart-mini {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 80px;
    margin-top: 8px;
    padding: 12px;
    background: var(--surface);
    border-radius: 12px;
}

.chart-mini div {
    flex: 1;
    height: var(--h);
    background: linear-gradient(180deg, var(--line-bright), var(--line));
    border-radius: 4px 4px 0 0;
    opacity: 0.85;
    animation: barGrow 1.2s ease-out backwards;
}

.chart-mini div:nth-child(1) { animation-delay: 0.1s; }
.chart-mini div:nth-child(2) { animation-delay: 0.2s; }
.chart-mini div:nth-child(3) { animation-delay: 0.3s; }
.chart-mini div:nth-child(4) { animation-delay: 0.4s; }
.chart-mini div:nth-child(5) { animation-delay: 0.5s; }
.chart-mini div:nth-child(6) { animation-delay: 0.6s; }
.chart-mini div:nth-child(7) { animation-delay: 0.7s; }

@keyframes barGrow {
    from { height: 0; opacity: 0; }
    to { height: var(--h); opacity: 0.85; }
}

/* ===== Demo Embed (Admin / LINE) ===== */
.demo-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.demo-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dim);
    background: var(--surface);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    transition: all 0.25s ease;
}

.demo-tab .dt-icon { font-size: 14px; }

.demo-tab:hover {
    color: var(--text);
    border-color: var(--border-hi);
}

.demo-tab.active {
    background: linear-gradient(135deg, var(--line), #04a346);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 20px -6px rgba(6, 199, 85, 0.55);
}

.demo-tab-hint {
    margin-left: auto;
    font-family: var(--font-en);
    font-size: 11px;
    color: var(--text-mute);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.demo-stage {
    position: relative;
    min-height: 380px;
}

.demo-pane {
    display: none;
    animation: paneIn 0.4s ease;
}

.demo-pane.active {
    display: block;
}

@keyframes paneIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ----- Browser frame (admin demo) ----- */
.browser-frame {
    background: linear-gradient(180deg, rgba(20, 24, 35, 0.95) 0%, rgba(13, 17, 25, 0.95) 100%);
    border: 1px solid var(--border-hi);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.6),
                0 0 0 1px rgba(6, 199, 85, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.25);
}

.browser-bar .dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    flex-shrink: 0;
}

.browser-bar .dot.r { background: #ff5f57; }
.browser-bar .dot.y { background: #febc2e; }
.browser-bar .dot.g { background: #28c840; }

.browser-url {
    flex: 1;
    margin-left: 14px;
    height: 26px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 11.5px;
    color: var(--text-dim);
    font-family: var(--font-en);
    letter-spacing: 0.03em;
}

.browser-url svg { color: var(--line-bright); }

.browser-viewport {
    width: 100%;
    aspect-ratio: 1280 / 720;
    background: #f1f5f9;
    position: relative;
    overflow: hidden;
}

.browser-viewport iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 1280px;
    height: 720px;
    border: 0;
    transform-origin: top left;
    transform: scale(0.45); /* JS recomputes on load/resize */
}

/* ----- Phone frame wrapper (LINE demo) ----- */
.phone-wrap {
    width: 320px;
    aspect-ratio: 420 / 800;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.phone-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 420px;
    height: 800px;
    border: 0;
    background: transparent;
    transform-origin: top left;
    transform: scale(0.762); /* JS recomputes on load/resize */
}

/* ----- Industry switcher chips (LINE pane) ----- */
.industry-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: 18px;
}

.industry-chips .chip {
    padding: 7px 14px;
    font-size: 12.5px;
    font-weight: 600;
    font-family: inherit;
    color: var(--text-dim);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.22s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.industry-chips .chip:hover {
    color: var(--text);
    border-color: var(--border-hi);
    transform: translateY(-1px);
}

.industry-chips .chip.active {
    background: linear-gradient(135deg, rgba(6, 199, 85, 0.18), rgba(0, 180, 216, 0.14));
    color: var(--line-bright);
    border-color: rgba(6, 199, 85, 0.45);
    box-shadow: 0 4px 14px -4px rgba(6, 199, 85, 0.35);
}

.chips-hint {
    text-align: center;
    margin-top: 10px;
    font-size: 11.5px;
    color: var(--text-mute);
    letter-spacing: 0.02em;
}

@media (max-width: 1024px) {
    .demo-stage { min-height: 320px; }
}

/* ===== Mock Calendar ===== */
.mock-calendar { padding: 24px; }

.cal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.cal-head span:first-child {
    font-family: var(--font-en);
    font-weight: 600;
    font-size: 18px;
}

.cal-nav { display: flex; gap: 8px; }

.cal-nav span {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    position: relative;
}

.cal-nav span::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    border-left: 2px solid var(--text-dim);
    border-top: 2px solid var(--text-dim);
    transform: translate(-30%, -50%) rotate(-45deg);
}

.cal-nav span:last-child::after {
    transform: translate(-70%, -50%) rotate(135deg);
}

.cal-week, .cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    text-align: center;
}

.cal-week span {
    font-size: 11px;
    color: var(--text-mute);
    font-weight: 600;
    padding: 8px 0;
}

.cal-grid {
    margin-bottom: 24px;
}

.cal-grid span {
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    font-size: 13px;
    color: var(--text-dim);
    border-radius: 8px;
    transition: all 0.2s;
    position: relative;
}

.cal-grid span.active {
    background: linear-gradient(135deg, var(--line), var(--line-bright));
    color: #000;
    font-weight: 700;
}

.cal-grid span.today {
    background: var(--surface-hi);
    color: var(--text);
    font-weight: 600;
    border: 1px solid var(--line);
}

.cal-grid span.dot-mark::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--line-bright);
}

.cal-slots {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid var(--border);
    padding-top: 18px;
}

.slot {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 12px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.slot-time {
    font-family: var(--font-en);
    font-weight: 600;
    color: var(--line-bright);
    font-size: 14px;
}

.slot-name {
    font-size: 13px;
    color: var(--text);
}

.slot-tag {
    font-size: 11px;
    padding: 3px 9px;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.slot-tag.confirm {
    background: var(--line-dim);
    color: var(--line-bright);
    border: 1px solid rgba(6, 199, 85, 0.3);
}

.slot-tag.pending {
    background: rgba(255, 188, 46, 0.12);
    color: #febc2e;
    border: 1px solid rgba(255, 188, 46, 0.3);
}

/* ===== Mock Terminal ===== */
.term-body {
    padding: 20px 24px;
    font-family: 'Cascadia Code', 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.85;
    color: #c9d1d9;
}

.term-body p {
    display: flex;
    align-items: center;
    gap: 10px;
}

.term-prompt {
    color: var(--line-bright);
    font-weight: 600;
    flex-shrink: 0;
}

.term-ok {
    margin-left: auto;
    color: var(--line);
    font-weight: 700;
}

.term-status {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 12px;
}

.led {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--line);
    box-shadow: 0 0 10px var(--line);
    animation: pulse 1.8s infinite;
}

.vm-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 16px 24px 24px;
}

.vm-tile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 12px;
    font-family: var(--font-en);
    font-weight: 500;
    letter-spacing: 0.05em;
}

.vm-tile span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--line);
    box-shadow: 0 0 8px var(--line);
}

.vm-tile.off span {
    background: var(--text-mute);
    box-shadow: none;
}

.vm-tile.off { opacity: 0.6; }

/* ===== Stats ===== */
.stats {
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 48px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--border);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.stats-grid::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, var(--line-dim) 0%, transparent 60%);
    pointer-events: none;
}

.stat {
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-num {
    font-family: var(--font-en);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--line-bright), var(--line));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    line-height: 1;
}

.stat-plus {
    font-family: var(--font-en);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--line);
    margin-left: 2px;
}

.stat p {
    font-size: 14px;
    color: var(--text-dim);
    margin-top: 8px;
    letter-spacing: 0.05em;
}

/* ===== CTA Section ===== */
.cta-section { padding: 80px 0 140px; }

.cta-card {
    text-align: center;
    padding: 80px 40px;
    background: linear-gradient(180deg, rgba(6, 199, 85, 0.08) 0%, rgba(6, 199, 85, 0.02) 100%);
    border: 1px solid rgba(6, 199, 85, 0.25);
    border-radius: 32px;
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--line-dim) 0%, transparent 60%);
    pointer-events: none;
}

.cta-card > * { position: relative; z-index: 1; }

.cta-title {
    font-size: clamp(2rem, 4.5vw, 3.6rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 24px 0 18px;
}

.cta-sub {
    font-size: 1.15rem;
    color: var(--text-dim);
    margin-bottom: 40px;
}

.cta-mini {
    margin-top: 20px;
    font-size: 13px;
    color: var(--text-mute);
    letter-spacing: 0.05em;
}

/* ===== Footer ===== */
.footer {
    border-top: 1px solid var(--border);
    padding: 60px 0 0;
    background: var(--bg-alt);
    position: relative;
    z-index: 2;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding-bottom: 48px;
}

.footer-brand p {
    margin-top: 16px;
    color: var(--text-dim);
    font-size: 14px;
    max-width: 320px;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.footer-links h5 {
    font-family: var(--font-en);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-mute);
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-links div { display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
    color: var(--text-dim);
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--line-bright); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-mute);
    letter-spacing: 0.05em;
}

/* ===== Reveal Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .hero-meta { gap: 32px; }
    .cards { grid-template-columns: 1fr; }
    .service-row { grid-template-columns: 1fr; gap: 48px; }
    .service-row.reverse > .service-text { order: 1; }
    .service-row.reverse > .service-visual { order: 2; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); padding: 32px; }
}

@media (max-width: 720px) {
    :root { --gutter: 18px; }
    .nav { display: none; }
    .section { padding: 80px 0; }
    .section-head { margin-bottom: 48px; }
    .hero { padding: 120px 0 80px; }
    .hero-meta {
        gap: 24px;
        flex-wrap: wrap;
    }
    .hero-meta strong { font-size: 22px; }
    .qr-card { width: 280px; padding: 24px; }
    .floater-1, .floater-2 { display: none; }
    .stats-grid { padding: 24px; gap: 16px; }
    .stat-num { font-size: 2.2rem; }
    .stat-plus { font-size: 1.4rem; }
    .cta-card { padding: 56px 24px; }
    .footer-inner { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom .container { flex-direction: column; gap: 6px; }
    .btn { padding: 12px 22px; font-size: 14px; }
    .btn-lg { padding: 16px 28px; font-size: 16px; }
}
