:root {
    /* Siam Premium Palette */
    --navy-900: #0B132B;
    --navy-800: #1C2541;
    --navy-700: #3A506B;

    --gold-main: #D4AF37;
    --gold-light: #F9E596;
    --gold-glow: rgba(212, 175, 55, 0.4);

    --accent-teal: #14B8A6;
    --accent-purple: #8B5CF6;
    --accent-blue: #3B82F6;

    --bg-main: #F8FAFC;
    --bg-glass: rgba(255, 255, 255, 0.85);

    --text-dark: #0F172A;
    --text-muted: #475569;
    --border-light: rgba(11, 19, 43, 0.08);

    --shadow-soft: 0 10px 30px -5px rgba(11, 19, 43, 0.05);
    --shadow-hover: 0 20px 40px -10px rgba(11, 19, 43, 0.12);
    --shadow-gold: 0 10px 25px -5px var(--gold-glow);

    --radius-md: 20px;
    --radius-lg: 32px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-main);
    line-height: 1.7;
    overflow-x: hidden;

}

/* Animated Abstract Background */
.bg-mesh {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.4;
    animation: floatMesh 20s infinite alternate ease-in-out;
}

.mesh-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: rgba(59, 130, 246, 0.15);
}

.mesh-2 {
    top: 30%;
    right: -10%;
    width: 40vw;
    height: 40vw;
    background: rgba(212, 175, 55, 0.1);
    animation-delay: -5s;
}

.mesh-3 {
    bottom: -10%;
    left: 20%;
    width: 50vw;
    height: 50vw;
    background: rgba(139, 92, 246, 0.1);
    animation-delay: -10s;
}

@keyframes floatMesh {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(5%, 5%) scale(1.1);
    }
}

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

img {
    max-width: 100%;
    height: auto;
    /*border-radius: var(--radius-md);*/
}

.container {
    width: min(1280px, 100% - 48px);
    margin: 0 auto;
}

.section-pad {
    padding: 120px 0;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--navy-900);
}

h1 {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    margin-bottom: 24px;
}

h2 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    margin-bottom: 20px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 16px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--navy-900), var(--accent-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.gradient-gold {
    background: linear-gradient(135deg, #B48811, #F9E596);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Utility Tags & Buttons */
.kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: rgba(212, 175, 55, 0.1);
    color: #B48811;
    border: 1px solid rgba(212, 175, 55, 0.2);
    margin-bottom: 20px;
}

.kicker::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold-main);
    box-shadow: 0 0 10px var(--gold-main);
}

.tag {
    display: inline-flex;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    background: var(--bg-glass);
    border: 1px solid var(--border-light);
    color: var(--navy-700);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(10px);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
    color: white;
    box-shadow: 0 10px 20px rgba(11, 19, 43, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(11, 19, 43, 0.3);
    color: white;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-main), #B48811);
    color: white;
    box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.5);
    color: white;
}

.btn-outline {
    background: white;
    color: var(--navy-900);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
}

.btn-outline:hover {
    border-color: var(--navy-900);
    transform: translateY(-3px);
}

/* Navigation */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    /*dfont-family: 'Space Grotesk', sans-serif;*/
    /*dfont-size: 1.5rem;*/
    /*dfont-weight: 800;*/
    /*dcolor: var(--navy-900);*/
    /*display: flex;*/
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--gold-main), var(--accent-teal));
    display: grid;
    place-items: center;
    color: white;
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--gold-main);
}

/* Glass Cards & Layouts */
.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow-soft);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.glass-panel:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.3);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.section-header {
    max-width: 800px;
    margin-bottom: 60px;
}

/* Hero Section Specifics */
.hero {
    padding: 80px 0 60px;
    position: relative;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.hero-visual {
    position: relative;
    min-height: 600px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    gap: 20px;
}

.hero-stat-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-stat-card strong {
    font-size: 3rem;
    font-family: 'Space Grotesk';
    color: var(--navy-900);
    line-height: 1;
    margin-bottom: 10px;
}

.hero-main-card {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
    color: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(11, 19, 43, 0.2);
}

.hero-main-card h3,
.hero-main-card p {
    color: white;
}

.hero-main-card p {
    opacity: 0.8;
}

/* Floating Elements (Parallax) */
.float-badge {
    position: absolute;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid var(--border-light);
    font-weight: 700;
    color: var(--navy-900);
    box-shadow: var(--shadow-soft);
    z-index: 10;
    font-size: 0.9rem;
}

.fb-1 {
    top: 10%;
    right: -20px;
    color: var(--accent-teal);
}

.fb-2 {
    bottom: 30%;
    left: -30px;
    color: var(--accent-purple);
}

.fb-3 {
    bottom: 10%;
    right: 10%;
    color: var(--gold-main);
}

/* Images */
.img-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    position: relative;
    height: 100%;
    min-height: 400px;
}

.img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.7s;
}

.img-wrap:hover img {
    transform: scale(1.05);
}

/* Icons */
.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: white;
}

.bg-navy {
    background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
}

.bg-gold {
    background: linear-gradient(135deg, var(--gold-main), #B48811);
}

.bg-teal {
    background: linear-gradient(135deg, var(--accent-teal), #0D9488);
}

.bg-purple {
    background: linear-gradient(135deg, var(--accent-purple), #6D28D9);
}

/* Content Cards */
.content-stack {
    display: grid;
    gap: 20px;
}

.text-card {
    padding: 30px;
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--gold-main);
    box-shadow: var(--shadow-soft);
}

.text-card .label {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--gold-main);
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    display: block;
}

/* Table */
.table-container {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

th,
td {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light);
}

th {
    background: var(--navy-900);
    color: white;
    font-family: 'Space Grotesk';
    font-size: 1.1rem;
}

tr:last-child td {
    border-bottom: none;
}

td strong {
    color: var(--navy-900);
}

/* Timeline */
.timeline {
    display: grid;
    gap: 20px;
}

.timeline-step {
    display: flex;
    gap: 24px;
    background: white;
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s;
}

.timeline-step:hover {
    transform: translateX(10px);
    border-color: var(--accent-teal);
}

.step-num {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(20, 184, 166, 0.1);
    color: var(--accent-teal);
    display: grid;
    place-items: center;
    font-family: 'Space Grotesk';
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* Pricing */
.price-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
    position: relative;
    display: flex;
    flex-direction: column;
}

.price-card.featured {
    border-color: var(--gold-main);
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
    z-index: 2;
}

.price-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold-main);
    color: white;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
}

.price-card ul {
    list-style: none;
    margin: 24px 0;
    flex-grow: 1;
}

.price-card ul li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 12px;
    color: var(--text-muted);
}

.price-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-teal);
    font-weight: 800;
}

/* FAQ */
details {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-soft);
}

summary {
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--navy-900);
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--gold-main);
    transition: transform 0.3s;
}

details[open] summary::after {
    transform: rotate(45deg);
}

details p {
    margin-top: 16px;
    margin-bottom: 0;
}

/* Form */
.cta-section {
    background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
    color: white;
    padding: 100px 0;
    border-radius: var(--radius-lg);
    margin: 60px 0;
    box-shadow: 0 30px 60px rgba(11, 19, 43, 0.3);
}

.cta-section h2,
.cta-section p {
    color: white;
}

.formGroup {
    display: grid;
    gap: 8px;
    margin-bottom: 20px;
}

.formGroup label {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.formGroup input {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    outline: none;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.formGroup input:focus {
    border-color: var(--gold-main);
    background: rgba(255, 255, 255, 0.1);
}

.formGroup input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Footer */
footer {
    padding: 60px 0;
    border-top: 1px solid var(--border-light);
    background: white;
}

/* Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

@media (max-width: 1024px) {

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .price-card.featured {
        transform: none;
    }

    .img-wrap {
        min-height: 300px;
    }

    .nav-links {
        display: none;
    }
}

/* =========================================
       全新：上下结构高奢首屏 (Centered Premium Hero) - 曼谷实景背景版
    ========================================= */
.hero-centered-dark {
    position: relative;
    padding: 180px 0 100px;

    /* 1. 引入曼谷繁华金融区夜景，并设置 fixed 实现高级视差滚动1920-1080 */
    background-image: url('../images/taiguobeijing.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: #040914;
    /* 兜底极深午夜蓝 */

    overflow: hidden;
    color: white;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* 2. 增加深海藏青 (Navy) 渐变磨砂遮罩，压暗背景，凸显文字和霓虹光晕 */
.hero-centered-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    /* 顶部透明度约 70% 透出曼谷天际线，底部 90% 完美托住下方的玻璃数据面板 */
    background: linear-gradient(180deg, rgba(4, 9, 20, 0.70) 0%, rgba(11, 19, 43, 0.90) 100%);
    z-index: 0;
    pointer-events: none;
}




/* 强烈的动态色彩光晕，色彩极其丰富 */
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    opacity: 0.65;
    animation: pulseGlow 12s infinite alternate ease-in-out;
}

.glow-gold {
    top: -10%;
    left: 10%;
    width: 45vw;
    height: 45vw;
    background: rgba(212, 175, 55, 0.25);
}

.glow-teal {
    bottom: -20%;
    right: 5%;
    width: 40vw;
    height: 40vw;
    background: rgba(20, 184, 166, 0.25);
    animation-delay: -4s;
}

.glow-purple {
    top: 20%;
    right: 30%;
    width: 35vw;
    height: 35vw;
    background: rgba(139, 92, 246, 0.25);
    animation-delay: -8s;
}

@keyframes pulseGlow {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0.4;
    }

    100% {
        transform: scale(1.1) translate(5%, 5%);
        opacity: 0.8;
    }
}

.hero-content-wrapper {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
}

/* 顶部高光标签 */
.hero-kicker-premium {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 24px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #F9E596;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    margin-bottom: 30px;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
}

.hero-kicker-premium i {
    color: #D4AF37;
    font-size: 1.1rem;
}

/* 标题与副标题 */
.hero-centered-dark h1 {
    font-size: clamp(3.2rem, 6vw, 5rem);
    color: white;
    margin-bottom: 24px;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    line-height: 1.1;
}

.hero-centered-dark .lead-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 850px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

/* 居中按钮组 */
.hero-btn-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

.btn-glass-premium {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-glass-premium:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    transform: translateY(-3px);
    color: white;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* =========================================
       下方丰富的元素控制台 (Bento Dashboard)
    ========================================= */
.hero-dashboard {
    display: grid;
    grid-template-columns: 1fr 2.4fr 1.2fr;
    gap: 24px;
    text-align: left;
}

.dash-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 28px;
    padding: 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s;
}

.dash-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.3);
}

/* 左侧：数据面板 */
.stat-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
    justify-content: space-between;
}

.stat-item {
    background: rgba(0, 0, 0, 0.25);
    padding: 24px;
    border-radius: 20px;
    border-left: 4px solid;
    position: relative;
    overflow: hidden;
}

.stat-item.border-gold {
    border-left-color: #D4AF37;
}

.stat-item.border-teal {
    border-left-color: #14B8A6;
}

.stat-item strong {
    display: block;
    font-size: 3rem;
    font-family: 'Space Grotesk';
    color: white;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-item span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* 中间：核心彩色内容与标签 */
.center-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.colorful-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.c-tag {
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.c-tag.bg-purple {
    background: rgba(139, 92, 246, 0.15);
    color: #C4B5FD;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.c-tag.bg-blue {
    background: rgba(59, 130, 246, 0.15);
    color: #93C5FD;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.c-tag.bg-gold {
    background: rgba(212, 175, 55, 0.15);
    color: #F9E596;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.center-panel h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 16px;
    line-height: 1.3;
}

.center-panel p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    margin: 0;
    line-height: 1.7;
}

/* 右侧：权益与保障列表 */
.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    justify-content: center;
    height: 100%;
}

.b-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.03);
    padding: 18px 20px;
    border-radius: 16px;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.3s, background 0.3s;
}

.b-item:hover {
    transform: translateX(8px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(212, 175, 55, 0.2);
}

.b-item i {
    color: #D4AF37;
    font-size: 1.25rem;
}

/* 移动端适配 */
@media (max-width: 1024px) {
    .hero-dashboard {
        grid-template-columns: 1fr;
    }

    .stat-stack {
        flex-direction: row;
    }

    .stat-item {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .hero-centered-dark {
        padding: 140px 0 60px;
    }

    .stat-stack {
        flex-direction: column;
    }
}


.floating-toc {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
}

.toc-toggle {
    background: var(--navy-900);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 100px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(11, 19, 43, 0.2);
    transition: all 0.3s;
}

.toc-toggle:hover {
    background: var(--gold-main);
}

.toc-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 15px;
    box-shadow: var(--shadow-hover);
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    width: max-content;
    min-width: 220px;
    max-height: 60vh;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transform-origin: bottom left;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toc-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.toc-link {
    padding: 10px 15px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    border-radius: 10px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toc-link::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: transparent;
}

.toc-link:hover,
.toc-link.active {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-main);
}

.toc-link.active::before {
    background: var(--gold-main);
    box-shadow: 0 0 8px var(--gold-main);
}

.toc-menu::-webkit-scrollbar {
    width: 4px;
}

.toc-menu::-webkit-scrollbar-thumb {
    background: rgba(11, 19, 43, 0.1);
    border-radius: 4px;
}

@media (max-width: 768px) {
    .floating-toc {
        bottom: 20px;
        left: 15px;
    }

    .toc-toggle {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}