/* ═══════════════════════════════════════════════════════════════
   landing.css  —  CYRS Scout Landing Page
   Aesthetic: Geometric Editorial · Forest & Sky
═══════════════════════════════════════════════════════════════ */

/* ── Variables ── */
:root {
    --primary:      #0099B0;
    --primary-dark: #006170;
    --primary-deep: #003840;
    --accent:       #00D4F0;
    --success:      #10B981;
    --warning:      #F59E0B;
    --danger:       #EF4444;
    --bg:           #F4F8FA;
    --card:         #FFFFFF;
    --text:         #1A2E35;
    --text-2:       #4A6572;
    --text-3:       #7A95A0;
    --border:       #D8E8ED;
    --radius:       14px;
    --shadow-sm:    0 2px 8px rgba(0,100,120,.07);
    --shadow:       0 6px 24px rgba(0,100,120,.12);
    --shadow-lg:    0 16px 48px rgba(0,100,120,.18);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Noto Sans TC', 'Outfit', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hidden { display: none !important; }

/* ── Animations ── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: none; }
}
@keyframes floatA {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50%       { transform: translateY(-14px) rotate(2deg); }
}
@keyframes floatB {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50%       { transform: translateY(-10px) rotate(-2deg); }
}
@keyframes fillBar {
    from { width: 0; }
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0,153,176,.35); }
    50%       { box-shadow: 0 0 0 8px rgba(0,153,176,0); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes particleFade {
    0%   { opacity: 0; transform: translateY(0) scale(0); }
    20%  { opacity: .7; }
    100% { opacity: 0; transform: translateY(-80px) scale(1.5); }
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible {
    opacity: 1;
    transform: none;
}
.reveal--delay1 { transition-delay: .12s; }
.reveal--delay2 { transition-delay: .22s; }
.reveal--delay3 { transition-delay: .34s; }
.reveal--delay4 { transition-delay: .46s; }

/* ══════════════════════════════════════════════════════════════
   NAV
══════════════════════════════════════════════════════════════ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    background: transparent;
    transition: background .3s, box-shadow .3s;
}
.nav.scrolled {
    background: rgba(0, 56, 64, .95);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0,0,0,.25);
}

.nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 64px;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: .72rem;
    text-decoration: none;
    flex-shrink: 0;
}
.nav__logo-icon {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    overflow: visible;
}
.nav__logo-icon img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}
.nav__logo-main {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}
.nav__logo-sub {
    display: block;
    font-size: .65rem;
    color: rgba(255,255,255,.6);
    letter-spacing: .5px;
}

.nav__links {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav__link {
    font-size: .875rem;
    font-weight: 500;
    color: rgba(255,255,255,.8);
    text-decoration: none;
    transition: color .2s;
}
.nav__link:hover { color: #fff; }

.nav__btn {
    padding: .45rem 1.125rem;
    border-radius: 8px;
    font-size: .875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s;
}
.nav__btn--ghost {
    color: rgba(255,255,255,.85);
    border: 1px solid rgba(255,255,255,.3);
}
.nav__btn--ghost:hover {
    background: rgba(255,255,255,.1);
    color: #fff;
    border-color: rgba(255,255,255,.6);
}
.nav__btn--primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 2px 10px rgba(0,153,176,.4);
}
.nav__btn--primary:hover {
    background: var(--accent);
    box-shadow: 0 4px 16px rgba(0,153,176,.5);
    transform: translateY(-1px);
}

/* hamburger */
.nav__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
}
.nav__hamburger span {
    display: block;
    width: 22px; height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all .3s;
}
.nav__hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* mobile menu */
.nav__mobile {
    display: none;
    flex-direction: column;
    background: rgba(0, 40, 50, .97);
    backdrop-filter: blur(12px);
    padding: .75rem 1.5rem 1.25rem;
    gap: .25rem;
    border-top: 1px solid rgba(255,255,255,.1);
}
.nav__mobile.open { display: flex; }

.nav__mobile-link {
    display: block;
    padding: .75rem .5rem;
    color: rgba(255,255,255,.8);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,.06);
    transition: color .2s;
}
.nav__mobile-link:hover { color: #fff; }
.nav__mobile-link--cta {
    margin-top: .5rem;
    text-align: center;
    background: var(--primary);
    color: #fff !important;
    border-radius: 8px;
    border-bottom: none;
    padding: .75rem 1rem;
    font-weight: 600;
}

/* ══════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 1.5rem 80px;
    max-width: 1400px;
    margin: 0 auto;
    gap: 3rem;
    overflow: visible;          /* 允許浮動卡視覺溢出 */
}

.hero__bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}
.hero__geo {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
}

/* 粒子容器 */
.hero__particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 212, 240, .6);
    animation: particleFade linear infinite;
    pointer-events: none;
}

/* 底部斜切過渡到白色內容區 */
.hero__slant {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, #F4F8FA);
    pointer-events: none;
}

/* Hero 文字內容 */
.hero__content {
    flex: 1;
    min-width: 0;
    max-width: 580px;
    position: relative;
    z-index: 1;
    width: 100%;                /* 讓 flex 子元素在手機佔滿寬度 */
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.25rem;
}
.hero__dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

.hero__title {
    font-family: 'Outfit', 'Noto Sans TC', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 1.25rem;
}
.hero__title-line { display: block; }
.hero__title-line--accent { color: var(--accent); }

.hero__desc {
    font-size: 1rem;
    color: rgba(255,255,255,.72);
    line-height: 1.75;
    margin-bottom: 2rem;
}

.hero__actions {
    display: flex;
    align-items: stretch;       /* 讓按鈕高度一致 */
    gap: .875rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    font-weight: 600;
    transition: all .22s;
    border-radius: 10px;
}
.btn--hero-primary {
    background: var(--primary);
    color: #fff;
    padding: .85rem 1.75rem;
    font-size: .95rem;
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(0,153,176,.5);
}
.btn--hero-primary:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,153,176,.55);
}
.btn--hero-ghost {
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.85);
    padding: .85rem 1.75rem;
    font-size: .95rem;
    white-space: nowrap;
    border: 1px solid rgba(255,255,255,.25);
}
.btn--hero-ghost:hover {
    background: rgba(255,255,255,.2);
    color: #fff;
    border-color: rgba(255,255,255,.5);
}

.hero__trust {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    row-gap: .875rem;
}
.hero__trust-item {
    display: flex;
    flex-direction: column;
}
.hero__trust-item strong {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}
.hero__trust-item span { font-size: .75rem; color: rgba(255,255,255,.55); }
.hero__trust-div {
    width: 1px; height: 36px;
    background: rgba(255,255,255,.2);
}

/* 右側裝飾卡片 */
.hero__card-wrap {
    position: relative;
    flex-shrink: 0;
    width: min(340px, 100%);    /* 手機上不超過容器寬度 */
    z-index: 1;
    animation: floatA 5s ease-in-out infinite;
}

.hero__card {
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 20px;
    padding: 1.375rem;
    box-shadow: 0 16px 48px rgba(0,0,0,.25);
}

.hero__card-header {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1.125rem;
}
.hero__card-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1rem;
    color: #fff; flex-shrink: 0;
}
.hero__card-name {
    font-size: .9rem; font-weight: 700; color: #fff; line-height: 1.2;
}
.hero__card-role { font-size: .72rem; color: rgba(255,255,255,.6); }
.hero__card-badge {
    margin-left: auto;
    background: rgba(16,185,129,.2);
    color: #6EE7B7;
    border: 1px solid rgba(16,185,129,.35);
    font-size: .65rem;
    font-weight: 700;
    padding: .18rem .55rem;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}

.hero__card-progress { margin-bottom: .875rem; }
.hero__card-prog-row {
    display: flex; justify-content: space-between;
    font-size: .72rem; color: rgba(255,255,255,.7);
    margin-bottom: .35rem;
}
.hero__card-prog-val { font-weight: 600; color: rgba(255,255,255,.9); }
.hero__card-bar {
    height: 6px;
    background: rgba(255,255,255,.12);
    border-radius: 10px; overflow: hidden;
}
.hero__card-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 10px;
    animation: fillBar 1.2s ease .5s both;
}
.hero__card-fill--green { background: var(--success); }

.hero__card-chips {
    display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .875rem;
}
.chip {
    font-size: .65rem;
    font-weight: 600;
    padding: .18rem .55rem;
    border-radius: 20px;
}
.chip--teal  { background: rgba(0,153,176,.25); color: var(--accent); }
.chip--blue  { background: rgba(59,130,246,.2); color: #93C5FD; }
.chip--green { background: rgba(16,185,129,.2); color: #6EE7B7; }

/* 浮動小卡 */
.hero__float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 10px;
    padding: .5rem .875rem;
    font-size: .78rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.hero__float-card--top {
    top: -24px; left: -48px;
    animation: floatB 4s ease-in-out infinite;
}
.hero__float-card--bot {
    bottom: -24px; right: -32px;
    animation: floatA 4.5s ease-in-out infinite .5s;
}

/* ══════════════════════════════════════════════════════════════
   FEATURES
══════════════════════════════════════════════════════════════ */
.features {
    padding: 6rem 0;
    background: var(--bg);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.section-pill {
    display: inline-block;
    background: rgba(0,153,176,.12);
    color: var(--primary);
    border: 1px solid rgba(0,153,176,.25);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: .28rem .9rem;
    border-radius: 20px;
    margin-bottom: .875rem;
}
.section-pill--light {
    background: rgba(255,255,255,.15);
    color: rgba(255,255,255,.9);
    border-color: rgba(255,255,255,.25);
}
.section-title {
    font-family: 'Outfit', 'Noto Sans TC', sans-serif;
    font-size: clamp(1.6rem, 3.5vw, 2.25rem);
    font-weight: 800;
    color: var(--text);
    line-height: 1.3;
    margin-bottom: .875rem;
}
.section-title--light { color: #fff; }
.section-desc {
    font-size: .925rem;
    color: var(--text-2);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

@media (max-width: 900px) { .features__grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 580px) { .features__grid { grid-template-columns: 1fr; } }

.feat-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 1.625rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform .22s, box-shadow .22s, border-color .22s;
    cursor: default;
}
.feat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(0,153,176,.3);
}

.feat-card__icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    flex-shrink: 0;
}
.feat-card__icon--teal   { background: rgba(0,153,176,.1); }
.feat-card__icon--blue   { background: rgba(59,130,246,.1); }
.feat-card__icon--green  { background: rgba(16,185,129,.1); }
.feat-card__icon--orange { background: rgba(245,158,11,.1); }
.feat-card__icon--purple { background: rgba(139,92,246,.1); }

.feat-card__title {
    font-size: 1rem; font-weight: 700;
    color: var(--text); margin-bottom: .5rem;
}
.feat-card__desc {
    font-size: .855rem; color: var(--text-2);
    line-height: 1.65; margin-bottom: .875rem;
}
.feat-card__tags {
    display: flex; flex-wrap: wrap; gap: .35rem;
}
.feat-card__tags span {
    font-size: .68rem; font-weight: 600;
    background: var(--bg); color: var(--text-3);
    border: 1px solid var(--border);
    padding: .15rem .55rem; border-radius: 20px;
}


/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — HERO & GLOBAL
   1024px → tablet  |  768px → mobile  |  480px → small mobile
══════════════════════════════════════════════════════════════ */

/* ── 1024px: tablet ── */
@media (max-width: 1024px) {
    /* Hero: 改成垂直堆疊 */
    .hero {
        flex-direction: column;
        align-items: center;
        text-align: center;
        min-height: auto;
        padding: 100px 1.5rem 5rem;
        gap: 3rem;
    }
    .hero__content {
        max-width: 600px;
    }
    .hero__eyebrow {
        justify-content: center;
    }
    .hero__actions {
        justify-content: center;
    }
    .hero__trust {
        justify-content: center;
    }
    /* Card: 置中、適度縮小 */
    .hero__card-wrap {
        width: min(380px, 90%);
        align-self: center;
        animation-duration: 6s;     /* 平板動畫稍慢 */
    }
    /* 浮動小卡：縮小間距避免溢出 */
    .hero__float-card--top {
        left: -12px;
        top: -18px;
    }
    .hero__float-card--bot {
        right: -12px;
        bottom: -18px;
    }
}

/* ── 768px: mobile ── */
@media (max-width: 768px) {
    /* Nav */
    .nav__links { display: none; }
    .nav__hamburger { display: flex; }

    /* Hero */
    .hero {
        padding: 88px 1.25rem 4rem;
        gap: 2.5rem;
    }
    .hero__title {
        font-size: clamp(1.9rem, 8vw, 2.6rem);
    }
    .hero__desc {
        font-size: .925rem;
    }
    /* hero desc 的 <br> 在手機取消強制換行 */
    .hero__desc br { display: none; }

    /* 按鈕：垂直排列、全寬 */
    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }
    .btn--hero-primary,
    .btn--hero-ghost {
        width: 100%;
        justify-content: center;
        padding: .875rem 1.5rem;
        font-size: .9rem;
    }
    /* trust 數字縮小 */
    .hero__trust-item strong { font-size: 1.25rem; }
    .hero__trust-div { height: 28px; }

    /* Card: 全寬、停止動畫避免跳動 */
    .hero__card-wrap {
        width: min(400px, 100%);
        animation: none;            /* 手機停止浮動動畫 */
    }
    /* 浮動小卡：縮小文字、貼近卡片 */
    .hero__float-card {
        font-size: .7rem;
        padding: .4rem .7rem;
        gap: .35rem;
    }
    .hero__float-card--top {
        left: 0;
        top: -14px;
    }
    .hero__float-card--bot {
        right: 0;
        bottom: -14px;
    }

    /* 其他 */
    .section-title { font-size: 1.5rem; }
    .features { padding: 4rem 0; }
    .how { padding: 4rem 0; }
    .access { padding: 4rem 0 3rem; }
}

/* ── 480px: small mobile ── */
@media (max-width: 480px) {
    .hero {
        padding: 80px 1rem 3.5rem;
        gap: 2rem;
    }
    .hero__title {
        font-size: clamp(1.65rem, 9vw, 2rem);
    }
    .hero__desc {
        font-size: .875rem;
        line-height: 1.65;
    }
    .btn--hero-primary,
    .btn--hero-ghost {
        font-size: .85rem;
        padding: .8rem 1.25rem;
    }
    /* 統計數字橫排太擠時調整 */
    .hero__trust {
        gap: .75rem;
    }
    .hero__trust-item strong { font-size: 1.1rem; }
    .hero__trust-item span  { font-size: .68rem; }
    .hero__trust-div { height: 24px; }

    /* 卡片：停止外面浮動小卡（320px 以下完全沒空間）*/
    .hero__float-card {
        display: none;
    }
    /* 卡片內字體縮小 */
    .hero__card {
        padding: 1.125rem;
    }
    .hero__card-name  { font-size: .82rem; }
    .hero__card-role  { font-size: .68rem; }
    .hero__card-badge { font-size: .6rem;  }
    .chip             { font-size: .6rem;  }

    .access-card { padding: 1.5rem; }
    .section-title { font-size: 1.35rem; }
}

/* ── 375px: very small (iPhone SE etc.) ── */
@media (max-width: 375px) {
    .hero { padding: 76px .875rem 3rem; }
    .hero__title { font-size: 1.6rem; }
    .hero__card-wrap { width: 100%; }
    /* trust 改兩行 */
    .hero__trust-div:last-of-type { display: none; }
}

/* ══════════════════════════════════════════════════════════════
   HOW IT WORKS
══════════════════════════════════════════════════════════════ */
.how {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}
.how__bg {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary-dark) 60%, var(--primary) 100%);
    z-index: 0;
}
.how__bg::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.how__inner { position: relative; z-index: 1; }

.how__steps {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.how__step {
    flex: 1; min-width: 200px;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
}
.how__step-num {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem; font-weight: 800;
    color: rgba(255,255,255,.15);
    line-height: 1;
    margin-bottom: .875rem;
}
.how__step-content h3 {
    font-size: 1rem; font-weight: 700;
    color: #fff; margin-bottom: .5rem;
}
.how__step-content p {
    font-size: .855rem; color: rgba(255,255,255,.65); line-height: 1.65;
}
.how__step-arrow {
    font-size: 1.5rem; color: rgba(255,255,255,.3);
    flex-shrink: 0; font-weight: 300;
    margin-top: 0;
}

@media (max-width: 700px) {
    .how__step-arrow { display: none; }
    .how__steps { flex-direction: column; }
    .how__step { width: 100%; }
}

/* ══════════════════════════════════════════════════════════════
   ACCESS (CTA) SECTION
══════════════════════════════════════════════════════════════ */
.access {
    padding: 6rem 0 5rem;
    background: var(--bg);
}

.access__cards {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    margin-top: 3rem;
}

@media (max-width: 860px) {
    .access__cards { grid-template-columns: 1fr; }
}

/* Access Card */
.access-card {
    background: var(--card);
    border: 1.5px solid var(--border);
    border-radius: 22px;
    padding: 2.25rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: .875rem;
    transition: transform .22s, box-shadow .22s;
}
.access-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.access-card--signup {
    border-color: rgba(16,185,129,.35);
    background: linear-gradient(160deg, #fff 70%, #F0FDF9 100%);
}

.access-card__icon {
    font-size: 2.2rem;
    line-height: 1;
}

.access-card__badge {
    display: inline-block;
    background: rgba(0,153,176,.1);
    color: var(--primary);
    border: 1px solid rgba(0,153,176,.2);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: .22rem .75rem;
    border-radius: 20px;
    width: fit-content;
}
.access-card__badge--green {
    background: rgba(16,185,129,.1);
    color: var(--success);
    border-color: rgba(16,185,129,.25);
}

.access-card__title {
    font-family: 'Outfit', 'Noto Sans TC', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.25;
}

.access-card__desc {
    font-size: .875rem;
    color: var(--text-2);
    line-height: 1.7;
}

.access-card__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .45rem;
    margin: .25rem 0;
}
.access-card__list li {
    font-size: .845rem;
    color: var(--text-2);
    padding-left: 1.375rem;
    position: relative;
}
.access-card__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: .8rem;
}
.access-card--signup .access-card__list li::before {
    color: var(--success);
}

/* Buttons */
.access-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .875rem 1.5rem;
    border-radius: 12px;
    font-size: .925rem;
    font-weight: 700;
    font-family: inherit;
    text-decoration: none;
    transition: all .22s;
    margin-top: .5rem;
}
.access-card__btn--login {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 16px rgba(0,153,176,.35);
}
.access-card__btn--login:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 24px rgba(0,153,176,.45);
    transform: translateY(-1px);
    gap: .75rem;
}
.access-card__btn--signup {
    background: var(--success);
    color: #fff;
    box-shadow: 0 4px 16px rgba(16,185,129,.35);
}
.access-card__btn--signup:hover {
    background: #059669;
    box-shadow: 0 6px 24px rgba(16,185,129,.4);
    transform: translateY(-1px);
    gap: .75rem;
}

.access-card__note {
    font-size: .75rem;
    color: var(--text-3);
    line-height: 1.5;
    text-align: center;
}
.access-card__note a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}
.access-card__note a:hover { text-decoration: underline; }

/* Or divider */
.access__or {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
    font-size: .8rem;
    color: var(--text-3);
    font-weight: 600;
    padding: 1rem 0;
}
.access__or-line {
    width: 1px;
    flex: 1;
    background: var(--border);
    min-height: 48px;
}

@media (max-width: 860px) {
    .access__or {
        flex-direction: row;
        padding: 0;
    }
    .access__or-line { height: 1px; min-height: unset; width: auto; }
}

/* ══════════════════════════════════════════════════════════════
   FOOTER (ENHANCED)
══════════════════════════════════════════════════════════════ */
.footer {
    background: var(--primary-deep);
    padding: 3.5rem 0 0;
}

.footer__top {
    display: flex;
    gap: 3rem;
    padding-bottom: 2.5rem;
    flex-wrap: wrap;
}

.footer__brand {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    flex-shrink: 0;
}
.footer__logo {
    width: 42px; height: 42px;
    background: rgba(255,255,255,.1);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    overflow: hidden;
}
.footer__logo img {
    width: 70%;
    height: 70%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}
.footer__brand-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem; font-weight: 700; color: #fff;
    margin-bottom: .2rem;
}
.footer__brand-sub { font-size: .75rem; color: rgba(255,255,255,.45); }

.footer__links-group {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    margin-left: auto;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    min-width: 100px;
}
.footer__col-title {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(255,255,255,.4);
    margin-bottom: .25rem;
}
.footer__col a {
    font-size: .83rem;
    color: rgba(255,255,255,.6);
    text-decoration: none;
    transition: color .2s;
    line-height: 1.4;
}
.footer__col a:hover { color: #fff; }

.footer__divider {
    height: 1px;
    background: rgba(255,255,255,.08);
}

.footer__bottom {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.75rem 0 1.5rem;
    flex-wrap: wrap;
}

.footer__copyright p {
    font-size: .82rem;
    color: rgba(255,255,255,.55);
    line-height: 1.5;
}
.footer__copyright-sub {
    font-size: .74rem !important;
    color: rgba(255,255,255,.32) !important;
    margin-top: .35rem;
    max-width: 480px;
    line-height: 1.6 !important;
}

.footer__legal-badges {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    align-items: flex-start;
}
.footer__badge {
    font-size: .7rem;
    font-weight: 600;
    color: rgba(255,255,255,.5);
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    padding: .3rem .75rem;
    border-radius: 20px;
    white-space: nowrap;
}

.footer__disclaimer {
    font-size: .72rem;
    color: rgba(255,255,255,.22);
    line-height: 1.65;
    padding: 1rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,.05);
    max-width: 900px;
}

@media (max-width: 700px) {
    .footer__top { flex-direction: column; gap: 2rem; }
    .footer__links-group { margin-left: 0; gap: 2rem; }
    .footer__bottom { flex-direction: column; }
}

/* ── Button ripple effect ── */
.access-card__btn,
.btn--hero-primary {
    position: relative;
    overflow: hidden;
}
.btn-ripple {
    position: absolute;
    width: 6px; height: 6px;
    background: rgba(255,255,255,.45);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    animation: rippleOut .55s ease-out forwards;
    pointer-events: none;
}
@keyframes rippleOut {
    to { transform: translate(-50%,-50%) scale(30); opacity: 0; }
}