/* ===== TOKENS ===== */
:root {
    --bg: #050510;
    --bg2: rgba(255, 255, 255, .04);
    --border: rgba(255, 255, 255, .08);
    --border-h: rgba(0, 229, 255, .25);
    --text: #ffffff;
    --dim: #8a8aaa;
    --orange: #ff6d00;
    --amber: #ffc45a;
    --sand: #d9ad7e;
    --green: #00e5ff;
    --r: 12px;
    --font: 'Outfit', 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --mono: 'JetBrains Mono', 'Consolas', monospace;
}

/* ===== RESET ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 68px
}

body {
    background: var(--bg);
    background-image: radial-gradient(circle 400px at 20% 20%, rgba(0, 229, 255, .06) 0%, transparent 70%), radial-gradient(circle 350px at 80% 70%, rgba(255, 109, 0, .05) 0%, transparent 70%), radial-gradient(circle 300px at 50% 90%, rgba(120, 0, 255, .03) 0%, transparent 60%);
    color: var(--text);
    font-family: var(--font);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* noise grain */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px;
}

/* ===== CURSOR GLOW ===== */
#cursor-glow {
    position: fixed;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 138, 80, .07) 0%, rgba(255, 138, 80, .03) 30%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    left: 0;
    top: 0;
    transition: opacity .4s;
    opacity: 0;
    will-change: transform;
}

#cursor-glow.visible {
    opacity: 1
}

/* ===== INTERACTIVE LIGHT EFFECTS ===== */
/* hover bounce + glow on all pills */
.model-pill,
.plan-pill,
.chip-flow span,
.btn-main,
.btn-docs {
    transition: all .35s cubic-bezier(.34, 1.56, .64, 1);
}

.model-pill:hover,
.chip-flow span:hover {
    transform: translateY(-3px) scale(1.03);
}

/* active glow pulse on buttons */
.btn-main {
    position: relative;
    overflow: hidden;
}

.btn-main::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 138, 80, .15), transparent 60%);
    opacity: 0;
    transition: opacity .4s;
}

.btn-main:hover::after {
    opacity: 1
}

/* terminal breathing glow */
.terminal {
    animation: terminalBreath 4s ease-in-out infinite alternate;
}

@keyframes terminalBreath {
    from {
        box-shadow: 0 0 20px rgba(255, 138, 80, .03), 0 8px 40px rgba(0, 0, 0, .3)
    }

    to {
        box-shadow: 0 0 35px rgba(255, 138, 80, .08), 0 8px 50px rgba(0, 0, 0, .4)
    }
}

/* glowing divider pulse */
.sect::before {
    animation: dividerPulse 3s ease-in-out infinite alternate;
}

@keyframes dividerPulse {
    from {
        opacity: .5;
        box-shadow: 0 0 8px rgba(255, 138, 80, .1)
    }

    to {
        opacity: 1;
        box-shadow: 0 0 18px rgba(255, 138, 80, .2)
    }
}

/* stats counter glow on hover */
.h-stat:hover .h-stat-val {
    text-shadow: 0 0 20px rgba(255, 138, 80, .4), 0 0 40px rgba(255, 138, 80, .15);
    transition: text-shadow .3s;
}

/* nav link underline slide */
.nav-links a {
    position: relative
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--orange);
    transition: all .3s;
}

.nav-links a:hover::after {
    left: 0;
    width: 100%
}

a {
    color: inherit;
    text-decoration: none
}

ul {
    list-style: none
}

.mono {
    font-family: var(--mono)
}

.accent {
    background: linear-gradient(135deg, var(--green), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== CANVAS ===== */
#dust {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none
}

/* ===== NAV ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    padding: 0 2rem;
    transition: all .4s;
    border-bottom: 1px solid transparent
}

.nav.scrolled {
    background: rgba(18, 16, 14, .92);
    backdrop-filter: blur(14px);
    border-bottom-color: var(--border)
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px
}

.nav-logo {
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: .06em;
    color: var(--text);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-icon {
    width: 24px;
    height: 24px;
    border-radius: 4px
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.4rem
}

.nav-links a {
    font-size: .82rem;
    font-weight: 500;
    color: var(--dim);
    transition: color .3s
}

.nav-links a:hover {
    color: var(--orange)
}

/* ===== LANG ===== */
.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 138, 80, .06);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 3px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: .75rem;
    font-family: var(--mono);
    font-weight: 500;
    transition: all .3s
}

.lang-toggle:hover {
    background: rgba(255, 138, 80, .14);
    border-color: var(--border-h)
}

.lang-flag {
    font-size: .9rem
}

/* ===== REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease, transform .6s ease
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0)
}

/* ═══════════════════════════════════════
   HERO — split layout (kept)
   ═══════════════════════════════════════ */
.hero {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    padding: 100px 2rem 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-tag {
    color: var(--orange);
    font-size: .75rem;
    letter-spacing: .08em;
    margin-bottom: 1rem;
    opacity: .6
}

.hero h1 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.02em;
    margin-bottom: 1rem
}

.hero .accent {
    text-shadow: none;
    filter: drop-shadow(0 0 20px rgba(0, 229, 255, .2));
}

.hero-desc {
    font-size: .92rem;
    color: var(--dim);
    max-width: 480px;
    line-height: 1.7;
    margin-bottom: 1.5rem
}

.hero-btns {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem
}

.btn-main {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    background: rgba(255, 138, 80, .1);
    border: 1px solid var(--orange);
    border-radius: var(--r);
    color: var(--orange);
    font-family: var(--mono);
    font-size: .85rem;
    font-weight: 600;
    transition: all .3s;
}

.btn-main:hover {
    background: rgba(255, 138, 80, .2);
    box-shadow: 0 0 18px rgba(255, 138, 80, .2);
    transform: translateY(-2px)
}

.dot-live {
    width: 5px;
    height: 5px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--green);
    animation: blink 2s ease-in-out infinite
}

@keyframes blink {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .3
    }
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: var(--r);
    color: var(--dim);
    font-family: var(--mono);
    font-size: .85rem;
    font-weight: 500;
    opacity: .35;
    cursor: not-allowed;
}

.btn-docs {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--r);
    color: var(--dim);
    font-family: var(--mono);
    font-size: .85rem;
    font-weight: 500;
    transition: all .3s;
}

.btn-docs:hover {
    color: var(--orange);
    border-color: var(--border-h);
    transform: translateY(-2px)
}

.hero-stats {
    display: flex;
    gap: 2rem
}

.hero-stats .h-stat {
    text-align: center;
}

.h-stat-val {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--green), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.h-stat-lbl {
    font-size: .65rem;
    color: var(--dim);
    text-transform: uppercase;
    letter-spacing: .08em
}

.hero-right {
    position: relative;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 0 40px rgba(0, 229, 255, .08), 0 12px 50px rgba(0, 0, 0, .3);
    backdrop-filter: blur(12px);
}

.video-wrap {
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 16/9;
}

.video-wrap iframe {
    width: 100%;
    height: 100%;
    display: block
}

/* ===== SECTION SHARED ===== */
.sect {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 2rem;
    position: relative
}

.sect-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: .3rem
}

.sect-sub {
    text-align: center;
    color: var(--dim);
    font-size: .9rem;
    margin-bottom: 2rem
}

/* ═══════════════════════════════════════
   TERMINAL — Features as CLI
   ═══════════════════════════════════════ */
.terminal {
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    position: relative;
}

.terminal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--green), var(--orange), transparent);
    background-size: 200% 100%;
    animation: shimmerSlide 3s linear infinite;
}

@keyframes shimmerSlide {
    0% {
        background-position: -200% 0
    }

    100% {
        background-position: 200% 0
    }
}

.term-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(0, 229, 255, .03);
    border-bottom: 1px solid var(--border);
}

.term-dots {
    display: flex;
    gap: 5px
}

.term-dots i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: block
}

.term-dots i:nth-child(1) {
    background: #ff5f57
}

.term-dots i:nth-child(2) {
    background: #febc2e
}

.term-dots i:nth-child(3) {
    background: #28c840
}

.term-title {
    color: var(--dim);
    font-size: .7rem;
    letter-spacing: .06em;
    margin-left: auto
}

.term-body {
    padding: 1.2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .5rem
}

.term-line {
    display: flex;
    align-items: center;
    gap: .5rem
}

.term-prompt {
    color: var(--green);
    font-weight: 700;
    font-size: .85rem
}

.term-cmd {
    color: var(--orange);
    font-weight: 600;
    font-size: .85rem
}

.term-output {
    color: var(--dim);
    font-size: .78rem;
    line-height: 1.6;
    padding-left: 1.15rem;
    border-left: 2px solid rgba(255, 138, 80, .08);
    margin-bottom: .4rem;
}

.term-cursor {
    color: var(--orange);
    animation: blink 1s step-end infinite
}

/* chip flow */
.chip-flow {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem;
    margin-top: 1.5rem
}

.chip-flow span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    background: rgba(255, 138, 80, .04);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: .72rem;
    font-weight: 600;
    color: var(--dim);
    transition: all .3s;
}

.chip-flow span i {
    color: var(--orange);
    font-size: .65rem
}

.chip-flow span:hover {
    background: rgba(255, 138, 80, .1);
    color: var(--text);
    transform: translateY(-2px)
}

/* ═══════════════════════════════════════
   MODELS — Flowing Pills
   ═══════════════════════════════════════ */
.model-flow {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .7rem;
}

.model-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: .88rem;
    font-weight: 600;
    transition: all .4s;
    cursor: default;
    backdrop-filter: blur(8px);
}

.model-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .3)
}

.pill-tag {
    font-family: var(--mono);
    font-size: .55rem;
    font-weight: 700;
    letter-spacing: .06em;
    padding: 2px 8px;
    border-radius: 100px;
}

/* pill variants */
.model-pill.whisk {
    border-color: rgba(110, 232, 152, .15)
}

.model-pill.whisk .pill-tag {
    background: rgba(110, 232, 152, .08);
    color: var(--green);
    border: 1px solid rgba(110, 232, 152, .15)
}

.model-pill.whisk:hover {
    border-color: rgba(110, 232, 152, .3);
    box-shadow: 0 0 15px rgba(110, 232, 152, .08)
}

.model-pill.flow {
    border-color: rgba(255, 138, 80, .15)
}

.model-pill.flow .pill-tag {
    background: rgba(255, 138, 80, .08);
    color: var(--orange);
    border: 1px solid rgba(255, 138, 80, .15)
}

.model-pill.flow:hover {
    border-color: rgba(255, 138, 80, .3);
    box-shadow: 0 0 15px rgba(255, 138, 80, .08)
}

.model-pill.flow-hot {
    border-color: rgba(255, 199, 106, .2)
}

.model-pill.flow-hot .pill-tag {
    background: linear-gradient(135deg, rgba(255, 138, 80, .1), rgba(255, 199, 106, .1));
    color: var(--amber);
    border: 1px solid rgba(255, 199, 106, .2)
}

.model-pill.flow-hot:hover {
    border-color: rgba(255, 199, 106, .35);
    box-shadow: 0 0 15px rgba(255, 199, 106, .1)
}

.model-pill.veo {
    border-color: rgba(255, 107, 107, .12)
}

.model-pill.veo .pill-tag {
    background: rgba(255, 107, 107, .08);
    color: #ff6b6b;
    border: 1px solid rgba(255, 107, 107, .12)
}

.model-pill.veo:hover {
    border-color: rgba(255, 107, 107, .3);
    box-shadow: 0 0 15px rgba(255, 107, 107, .08)
}

.model-pill.veo-hot {
    border-color: rgba(255, 107, 107, .2)
}

.model-pill.veo-hot .pill-tag {
    background: rgba(255, 107, 107, .1);
    color: #ff6b6b;
    border: 1px solid rgba(255, 107, 107, .2)
}

.model-pill.veo-hot:hover {
    border-color: rgba(255, 107, 107, .35);
    box-shadow: 0 0 20px rgba(255, 107, 107, .1)
}

.model-pill.grok {
    border-color: rgba(138, 110, 255, .15)
}

.model-pill.grok .pill-tag {
    background: rgba(138, 110, 255, .08);
    color: #8a6eff;
    border: 1px solid rgba(138, 110, 255, .15)
}

.model-pill.grok:hover {
    border-color: rgba(138, 110, 255, .3);
    box-shadow: 0 0 15px rgba(138, 110, 255, .08)
}

/* ═══════════════════════════════════════
   DUO — Models + Pricing side by side
   ═══════════════════════════════════════ */
.duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.duo-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: .3rem;
}

.duo-sub {
    color: var(--dim);
    font-size: .82rem;
    margin-bottom: 1.2rem;
}

/* ═══════════════════════════════════════
   PRICING — Pill Style (matches models)
   ═══════════════════════════════════════ */
.plan-flow {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.plan-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .4s;
    backdrop-filter: blur(8px);
}

.plan-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, .3)
}

.plan-pill.active {
    border-color: var(--orange);
    box-shadow: 0 0 12px rgba(255, 138, 80, .1)
}

.plan-pill small {
    font-weight: 400;
    color: var(--dim);
    font-size: .75rem
}

/* plan pill tag variants */
.basic-tag {
    background: rgba(110, 232, 152, .08);
    color: var(--green);
    border: 1px solid rgba(110, 232, 152, .15)
}

.plus-tag {
    background: rgba(255, 138, 80, .08);
    color: var(--orange);
    border: 1px solid rgba(255, 138, 80, .15)
}

.max-tag {
    background: linear-gradient(135deg, rgba(255, 138, 80, .1), rgba(255, 199, 106, .1));
    color: var(--amber);
    border: 1px solid rgba(255, 199, 106, .2)
}

/* expandable plan detail */
.plan-detail {
    margin-top: .8rem;
    padding: .8rem 1rem;
    border-left: 2px solid rgba(255, 138, 80, .12);
}

.plan-detail.hidden {
    display: none
}

.plan-detail ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .3rem
}

.plan-detail li {
    font-size: .78rem;
    color: var(--dim);
    padding-left: 1rem;
    position: relative
}

.plan-detail li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700
}

.price-btn {
    display: inline-block;
    padding: 8px 22px;
    border: 1px solid var(--border);
    border-radius: 100px;
    font-family: var(--mono);
    font-size: .78rem;
    font-weight: 600;
    color: var(--text);
    transition: all .3s;
    background: transparent;
    margin-top: .6rem;
}

.price-btn:hover {
    border-color: var(--border-h);
    background: rgba(255, 138, 80, .06);
    transform: translateY(-2px)
}

.price-btn.primary {
    background: rgba(255, 138, 80, .1);
    border-color: var(--orange);
    color: var(--orange)
}

.price-btn.primary:hover {
    background: rgba(255, 138, 80, .2);
    box-shadow: 0 0 12px rgba(255, 138, 80, .2)
}

.price-note {
    font-size: .68rem;
    color: var(--dim);
    margin-top: .4rem;
    opacity: .6
}

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.footer {
    border-top: 1px solid var(--border);
    margin-top: 2rem
}

.footer-in {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
    text-align: center
}

.footer-logo {
    font-size: 1rem;
    font-weight: 700
}

.footer-tag {
    color: var(--dim);
    font-size: .75rem
}

.footer-links {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    justify-content: center
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--dim);
    font-size: .78rem;
    transition: color .3s
}

.footer-links a:hover {
    color: var(--orange)
}

.footer-copy {
    font-size: .7rem;
    color: var(--dim)
}

.footer-copy a {
    color: var(--orange)
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media(max-width:900px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 80px;
        gap: 1.5rem
    }

    .hero h1 {
        font-size: 2rem
    }

    .duo {
        grid-template-columns: 1fr;
    }
}

@media(max-width:600px) {
    .sect {
        padding: 2rem 1rem
    }

    .sect-title {
        font-size: 1.5rem
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 1rem
    }

    .nav-links {
        gap: .8rem
    }

    .model-pill {
        font-size: .78rem;
        padding: 8px 14px
    }
}

/* ═══════════════════════════════════════
   OVERVIEW — Tab grid + Kho giọng callout
   ═══════════════════════════════════════ */
.tab-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: .9rem;
    margin-top: 1.5rem;
}

@media (max-width: 1100px) {
    .tab-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
    .tab-grid { grid-template-columns: repeat(2, 1fr); }
}

.tab-card {
    position: relative;
    padding: 1.2rem 1.1rem;
    background: rgba(255, 255, 255, .025);
    border: 1px solid var(--border);
    border-radius: 14px;
    backdrop-filter: blur(10px);
    transition: all .35s cubic-bezier(.34, 1.56, .64, 1);
    overflow: hidden;
}

.tab-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--tab-accent, var(--orange));
    opacity: .5;
    transition: opacity .3s;
}

.tab-card:hover {
    transform: translateY(-4px);
    border-color: var(--tab-accent, var(--border-h));
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35),
        0 0 24px color-mix(in srgb, var(--tab-accent, var(--orange)) 15%, transparent);
}

.tab-card:hover::before { opacity: 1 }

.tab-card.accent-cyan   { --tab-accent: #00e5ff; }
.tab-card.accent-orange { --tab-accent: #ff8a50; }
.tab-card.accent-pink   { --tab-accent: #ff5cb3; }
.tab-card.accent-purple { --tab-accent: #8a6eff; }
.tab-card.accent-dim    { --tab-accent: #7f8ea0; }



.tab-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .8rem;
}

.tab-card-num {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--tab-accent, var(--dim));
    opacity: .8;
}

.tab-card-ic {
    font-size: 1.4rem;
    line-height: 1;
}

.tab-card-title {
    font-size: .95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: .35rem;
    letter-spacing: -.01em;
}

.tab-card-desc {
    font-size: .78rem;
    color: var(--dim);
    line-height: 1.55;
}

/* Kho giọng callout — full-width strip, highlighted */
.bank-callout {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    margin-top: 1.5rem;
    padding: 1.1rem 1.3rem;
    background: linear-gradient(135deg,
        rgba(0, 229, 255, .05),
        rgba(255, 138, 80, .04));
    border: 1px solid rgba(0, 229, 255, .2);
    border-radius: 14px;
    backdrop-filter: blur(10px);
}

.bank-ic {
    font-size: 2rem;
    flex: 0 0 auto;
    filter: drop-shadow(0 0 10px rgba(0, 229, 255, .3));
}

.bank-body h3 {
    font-size: .95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: .25rem;
}

.bank-body p {
    font-size: .8rem;
    color: var(--dim);
    line-height: 1.55;
}

.bank-body code {
    font-family: var(--mono);
    font-size: .72rem;
    padding: 1px 6px;
    background: rgba(0, 229, 255, .08);
    border: 1px solid rgba(0, 229, 255, .15);
    border-radius: 4px;
    color: var(--green);
}

/* ═══════════════════════════════════════
   FLOW — Horizontal timeline with connectors
   ═══════════════════════════════════════ */
.flow-wrap { position: relative; }

.flow-timeline {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    margin-top: 1.8rem;
    padding: 0;
    position: relative;
}

/* the connecting line running behind the dots */
.flow-timeline::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg,
        rgba(0, 229, 255, .35),
        rgba(255, 138, 80, .35));
    z-index: 0;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 .4rem;
}

.flow-dot {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: rgba(10, 12, 20, .95);
    border: 2px solid rgba(0, 229, 255, .35);
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(10, 12, 20, .95),
        0 6px 20px rgba(0, 0, 0, .4);
    transition: all .35s cubic-bezier(.34, 1.56, .64, 1);
}

.flow-step:hover .flow-dot {
    transform: translateY(-3px) scale(1.05);
    border-color: var(--orange);
    box-shadow: 0 0 0 6px rgba(10, 12, 20, .95),
        0 10px 26px rgba(255, 138, 80, .25);
}

.flow-num {
    margin-top: .7rem;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--orange);
    opacity: .8;
}

.flow-label {
    margin-top: .3rem;
    font-size: .78rem;
    color: var(--text);
    line-height: 1.4;
    max-width: 140px;
}

.flow-label small {
    display: inline-block;
    margin-top: .1rem;
    font-size: .68rem;
    color: var(--dim);
}

/* ═══════════════════════════════════════
   RESPONSIVE — tab grid + flow
   ═══════════════════════════════════════ */
@media(max-width: 900px) {
    .tab-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .flow-timeline {
        grid-template-columns: 1fr;
        gap: .9rem;
    }
    .flow-timeline::before {
        top: 0;
        bottom: 0;
        left: 28px;
        right: auto;
        width: 2px;
        height: auto;
        background: linear-gradient(180deg,
            rgba(0, 229, 255, .35),
            rgba(255, 138, 80, .35));
    }
    .flow-step {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: .9rem;
    }
    .flow-num {
        margin-top: 0;
    }
    .flow-label {
        margin-top: 0;
        max-width: none;
    }
}

@media(max-width: 560px) {
    .tab-grid {
        grid-template-columns: 1fr;
    }
    .bank-callout {
        flex-direction: column;
        align-items: flex-start;
        gap: .6rem;
    }
}


/* ===== KHU ẢNH THẬT (showcase) =====
   Ảnh chụp trực tiếp từ app, xen kẽ trái–phải như trang Story Machine.
   Dùng chung token màu của trang này (cyan/cam) nên không thêm biến mới. */
.shots { display: flex; flex-direction: column; gap: 3.4rem; margin-top: 2.4rem }
.shot-row { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2.2rem; align-items: center }
.shot-row.alt .shot-text { order: 2 }
.shot-num {
    display: inline-block; font-family: var(--mono); font-size: .72rem; color: var(--green);
    border: 1px solid rgba(0, 229, 255, .3); border-radius: 6px; padding: .1rem .5rem; margin-bottom: .6rem;
}
.shot-text h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: .5rem }
.shot-text p { color: var(--dim); font-size: .95rem }
.shot-text b { color: var(--text) }
.shot-pic img {
    display: block; width: 100%; height: auto; border-radius: var(--r);
    border: 1px solid var(--border); box-shadow: 0 16px 42px rgba(0, 0, 0, .5);
    transition: transform .3s, border-color .3s;
}
.shot-pic img:hover { transform: translateY(-3px); border-color: var(--border-h) }
@media (max-width: 900px) {
    .shot-row { grid-template-columns: 1fr; gap: 1.2rem }
    .shot-row.alt .shot-text { order: 0 }
}
@media (prefers-reduced-motion: reduce) { .shot-pic img:hover { transform: none } }
