/* ─── CSS Variables ────────────────────────────────────────────────── */
:root {
    --bg-main:        #0f172a;
    --bg-panel:       #1e293b;
    --bg-panel-soft:  #0a1020;
    --bg-panel-hover: #243447;
    --border-color:   rgba(255, 255, 255, 0.07);
    --border-hover:   rgba(255, 106, 0, 0.4);
    --text-primary:   #e8edf4;
    --text-secondary: #8fa3bb;
    --text-muted:     #5a6d82;
    --accent:         #ff6a00;
    --accent-hover:   #ff8533;
    --accent-soft:    rgba(255, 106, 0, 0.15);
    --accent-glow:    rgba(255, 106, 0, 0.28);
    --accent-alt:     #00b8ff;
    --accent-alt-soft:rgba(0, 184, 255, 0.12);
    --success:        #22c55e;
    --radius-sm:      8px;
    --radius-md:      14px;
    --radius-lg:      22px;
    --shadow-md:      0 8px 32px rgba(0, 0, 0, 0.45);
    --shadow-card:    0 4px 24px rgba(0, 0, 0, 0.35);
    --shadow-glow:    0 0 32px rgba(255, 106, 0, 0.18);
    --container:      1140px;
    --transition:     0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset & Base ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-main); }
::-webkit-scrollbar-thumb {
    background: rgba(255, 106, 0, 0.35);
    border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

body {
    margin: 0;
    font-family: 'Inter', 'Noto Sans Thai', system-ui, sans-serif;
    font-size: 1rem;
    background: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

img, iframe { max-width: 100%; display: block; }

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

/* ─── Scroll Progress Bar ───────────────────────────────────────────── */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), var(--accent-alt));
    z-index: 200;
    transition: width 0.1s linear;
}

/* ─── Layout ────────────────────────────────────────────────────────── */
.container {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
}

/* ─── Header ─────────────────────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    background: rgba(15, 23, 42, 0.88);
    border-bottom: 1px solid var(--border-color);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
    border-bottom-color: rgba(255, 106, 0, 0.15);
    box-shadow: 0 1px 40px rgba(0, 0, 0, 0.5);
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 68px;
}

/* Brand */
.brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.brand-logo {
    height: 38px;
    width: auto;
    display: block;
}

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent), var(--accent-alt));
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

.brand-text {
    font-size: 1rem;
    background: linear-gradient(135deg, #fff 60%, var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Nav */
.site-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.9rem;
}

.site-nav a {
    position: relative;
    padding: 0.45rem 0.85rem;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: color var(--transition), background var(--transition);
}

.site-nav a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 16px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: transform var(--transition);
}

.site-nav a:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.site-nav a:hover::after { transform: translateX(-50%) scaleX(1); }

.site-nav a.active {
    color: var(--text-primary);
}

.site-nav a.active::after { transform: translateX(-50%) scaleX(1); }

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}

.nav-toggle:hover { background: rgba(255, 255, 255, 0.06); }

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Hero ───────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    padding: 4.5rem 0 3rem;
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    animation: blobFloat 8s ease-in-out infinite alternate;
}

.hero::before {
    width: 500px;
    height: 500px;
    top: -120px;
    left: -100px;
    background: radial-gradient(circle, rgba(0, 184, 255, 0.1), transparent 70%);
}

.hero::after {
    width: 600px;
    height: 600px;
    top: -80px;
    right: -150px;
    background: radial-gradient(circle, rgba(255, 106, 0, 0.12), transparent 70%);
    animation-delay: -4s;
}

@keyframes blobFloat {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(30px, 20px) scale(1.05); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    background: var(--accent-soft);
    border: 1px solid rgba(255, 106, 0, 0.3);
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
    animation: fadeSlideUp 0.6s both;
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 6px var(--accent);
    animation: pulseDot 1.8s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.7); }
}

.hero-title {
    margin: 0 0 0.9rem;
    font-size: clamp(2rem, 4.5vw, 3rem);
    line-height: 1.18;
    font-weight: 900;
    letter-spacing: -0.025em;
    animation: fadeSlideUp 0.6s 0.1s both;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, var(--accent) 0%, #ffb347 50%, var(--accent-alt) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    margin: 0 0 1.75rem;
    max-width: 600px;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.75;
    animation: fadeSlideUp 0.6s 0.18s both;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.8rem 1.6rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), #ff8533);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 8px 28px var(--accent-glow);
    transition: transform var(--transition), box-shadow var(--transition);
    animation: fadeSlideUp 0.6s 0.26s both;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(255, 106, 0, 0.42);
}

.hero-cta svg { transition: transform var(--transition); }
.hero-cta:hover svg { transform: translateY(2px); }

/* ─── Sections ───────────────────────────────────────────────────────── */
.section { padding: 3rem 0; }

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.section-title {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    padding-left: 0.85rem;
    border-left: 3px solid var(--accent);
    line-height: 1.3;
}

.section-note {
    margin: 0.4rem 0 0 0.85rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ─── Product Cards ──────────────────────────────────────────────────── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
}

.product-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow), var(--shadow-card);
}

.product-card-media {
    position: relative;
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    padding: 0.22rem 0.65rem;
    border-radius: 999px;
    background: rgba(255, 106, 0, 0.92);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.video-frame {
    aspect-ratio: 16 / 9;
    width: 100%;
    border: 0;
    background: #000;
}

.video-placeholder {
    aspect-ratio: 16 / 9;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #0c1119, #0f1825);
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 500;
}

.product-body { padding: 1.25rem 1.25rem 1.35rem; }

.product-name {
    margin: 0 0 0.55rem;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.4;
}

.product-desc {
    margin: 0 0 1.15rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ─── Buttons ────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 1.2rem;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
    white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #ff8533);
    color: #fff;
    box-shadow: 0 6px 20px var(--accent-soft);
}

.btn-primary:hover {
    box-shadow: 0 8px 28px rgba(255, 106, 0, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--border-color);
    color: var(--text-secondary);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
}

.action-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* ─── Article Cards ──────────────────────────────────────────────────── */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 1.25rem;
}

.article-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.article-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 184, 255, 0.25);
    box-shadow: 0 8px 32px rgba(0, 184, 255, 0.08);
}

.article-thumb-wrap {
    position: relative;
    overflow: hidden;
}

.article-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: var(--bg-panel-soft);
    transition: transform 0.38s ease;
}

.article-card:hover .article-thumb { transform: scale(1.04); }

.article-thumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 11, 17, 0.55) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition);
}

.article-card:hover .article-thumb-overlay { opacity: 1; }

.article-thumb-empty {
    aspect-ratio: 16 / 9;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #0c1119, #101a28);
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.article-body { padding: 1.1rem 1.2rem 1.3rem; }

.article-title {
    margin: 0 0 0.5rem;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: -0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.6;
}

.article-read {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.85rem;
    color: var(--accent-alt);
    font-size: 0.85rem;
    font-weight: 700;
    transition: gap var(--transition), color var(--transition);
}

.article-card:hover .article-read {
    gap: 0.55rem;
    color: #33c6ff;
}

/* ─── Article Page ───────────────────────────────────────────────────── */
.article-page-hero { padding: 3rem 0 1.25rem; }

.article-page-title {
    margin: 0 0 0.8rem;
    font-size: clamp(1.7rem, 3.5vw, 2.5rem);
    line-height: 1.22;
    font-weight: 900;
    letter-spacing: -0.025em;
}

.article-page-meta {
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.article-featured {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
    border: 1px solid var(--border-color);
}

.article-content {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem 2.25rem;
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-primary);
}

.article-content p { margin: 0 0 1.15rem; }

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4 {
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 1.75rem 0 0.75rem;
    color: var(--text-primary);
}

.article-content h2 {
    font-size: 1.4rem;
    padding-left: 0.75rem;
    border-left: 3px solid var(--accent);
}

.article-content h3 { font-size: 1.15rem; color: var(--accent-alt); }

.article-content a {
    color: var(--accent-alt);
    text-decoration: underline;
    text-decoration-color: rgba(0, 184, 255, 0.35);
    transition: text-decoration-color var(--transition);
}

.article-content a:hover { text-decoration-color: var(--accent-alt); }

.article-content blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    border-left: 3px solid var(--accent);
    background: var(--accent-soft);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--text-secondary);
    font-style: italic;
}

.article-content code {
    background: rgba(0, 184, 255, 0.1);
    color: var(--accent-alt);
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: 'Fira Code', monospace;
}

.article-content pre {
    background: #060a10;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 1.25rem 1.5rem;
    overflow-x: auto;
    margin: 1.25rem 0;
}

.article-content pre code {
    background: none;
    padding: 0;
    color: #a9c4e0;
}

.article-content ul,
.article-content ol {
    padding-left: 1.5rem;
    margin: 0 0 1.15rem;
}

.article-content li { margin-bottom: 0.4rem; }

.article-content img {
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    margin: 1rem 0;
}

/* ─── Footer ─────────────────────────────────────────────────────────── */
.site-footer {
    margin-top: 3rem;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.82rem;
    text-align: center;
    background: var(--bg-panel-soft);
}

/* ─── Landing / Track ────────────────────────────────────────────────── */
.landing-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 15% 10%, rgba(0, 184, 255, 0.1), transparent 42%),
        radial-gradient(circle at 85% 80%, rgba(255, 106, 0, 0.14), transparent 38%),
        var(--bg-main);
}

.landing-wrap {
    width: min(100% - 2rem, 760px);
    margin-inline: auto;
    padding: 2.5rem 0 3rem;
    text-align: center;
}

.landing-badge {
    display: inline-flex;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: var(--accent-soft);
    border: 1px solid rgba(255, 106, 0, 0.28);
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.landing-title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.025em;
}

.landing-subtitle {
    margin: 0 auto 1.5rem;
    max-width: 620px;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.landing-panel {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: 620px;
    margin-inline: auto;
}

.landing-product-name {
    margin: 0 0 0.5rem;
    font-size: 1.15rem;
    font-weight: 700;
}

.landing-product-desc {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.landing-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 520px);
    padding: 1.1rem 1.5rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), #ff8533);
    color: #fff;
    font-size: clamp(1rem, 3vw, 1.2rem);
    font-weight: 800;
    box-shadow: 0 14px 40px rgba(255, 106, 0, 0.35);
    animation: pulseGlow 2.4s ease-in-out infinite;
    transition: transform var(--transition);
}

.landing-cta:hover { transform: translateY(-2px); }

.landing-note {
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.landing-error {
    min-height: 70vh;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 2rem;
}

.track-bridge {
    min-height: 100vh;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 2rem;
    background: var(--bg-main);
    color: var(--text-secondary);
}

/* ─── Animations ─────────────────────────────────────────────────────── */
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 14px 40px rgba(255, 106, 0, 0.35); }
    50%       { box-shadow: 0 18px 52px rgba(255, 106, 0, 0.52); }
}

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

.anim-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.anim-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: rgba(15, 23, 42, 0.97);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border-color);
        padding: 0.5rem 0.75rem 0.75rem;
    }

    .site-nav.open { display: flex; }

    .site-nav a {
        padding: 0.7rem 0.75rem;
        border-radius: var(--radius-sm);
    }

    .site-nav a::after { display: none; }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .article-content {
        padding: 1.25rem 1rem;
        font-size: 1rem;
    }

    .hero { padding: 3rem 0 2rem; }
}

@media (max-width: 480px) {
    .product-grid,
    .article-grid {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════════════════════════════════════════════
   IQ Option Style Enhancement — New Sections
══════════════════════════════════════════════════════════════════════ */

/* ─── Hero 2-Column Layout ──────────────────────────────────────────── */
.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 1rem 0 0.5rem;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
    animation: fadeSlideUp 0.6s 0.26s both;
}

.hero-cta-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.78rem 1.4rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.95rem;
    transition: border-color var(--transition), background var(--transition), color var(--transition);
}

.hero-cta-outline:hover {
    border-color: var(--accent-alt);
    background: rgba(0, 184, 255, 0.07);
    color: var(--accent-alt);
}

/* ─── Mock Trading Panel ────────────────────────────────────────────── */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    animation: fadeSlideUp 0.65s 0.2s both;
}

.mock-panel {
    width: 100%;
    max-width: 360px;
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 106, 0, 0.08);
    backdrop-filter: blur(4px);
}

.mock-panel-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border-color);
}

.mock-panel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dot-green {
    background: var(--success);
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
    animation: pulseDot 1.8s ease-in-out infinite;
}

.mock-panel-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-primary);
    flex: 1;
}

.mock-iq-badge {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    background: rgba(0, 184, 255, 0.15);
    border: 1px solid rgba(0, 184, 255, 0.3);
    color: var(--accent-alt);
}

.mock-chart {
    padding: 0.75rem 0.75rem 0.25rem;
}

.mock-chart svg {
    width: 100%;
    height: 90px;
    display: block;
}

.mock-stats {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    gap: 0;
}

.mock-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}

.mock-stat-sep {
    width: 1px;
    height: 28px;
    background: var(--border-color);
    flex-shrink: 0;
}

.mock-stat-value {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.mock-stat-value.mock-green { color: var(--success); }

.mock-stat-label {
    font-size: 0.68rem;
    color: var(--text-muted);
    font-weight: 500;
}

.mock-footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border-top: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
}

.mock-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
    flex-shrink: 0;
    animation: pulseDot 1.4s ease-in-out infinite;
}

.mock-status-text {
    font-size: 0.68rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.03em;
}

/* Floating badges on hero visual */
.hero-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(15, 21, 32, 0.92);
    border: 1px solid var(--border-color);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-primary);
    backdrop-filter: blur(10px);
    white-space: nowrap;
    box-shadow: var(--shadow-card);
}

.hero-float-1 {
    top: -14px;
    right: -10px;
    animation: floatBob 3s ease-in-out infinite;
}

.hero-float-2 {
    bottom: -14px;
    left: -10px;
    animation: floatBob 3s ease-in-out infinite 1.5s;
}

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

/* ─── Stats Strip ────────────────────────────────────────────────────── */
.stats-strip {
    background: var(--bg-panel-soft);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 0;
    padding: 1.25rem 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0.5rem 1.25rem;
    flex: 1;
    min-width: 120px;
}

.stat-num {
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--accent);
    line-height: 1;
}

.stat-plus {
    font-size: 1.1rem;
    vertical-align: super;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-align: center;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border-color);
    flex-shrink: 0;
}

/* ─── Features Section ───────────────────────────────────────────────── */
.features-section {
    padding: 3.5rem 0;
}

.features-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.features-title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.4rem, 2.5vw, 1.75rem);
    font-weight: 900;
    letter-spacing: -0.025em;
}

.features-subtitle {
    margin: 0;
    color: var(--text-secondary);
    font-size: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.feature-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.75rem 1.5rem;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 106, 0, 0.2);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.feature-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: grid;
    place-items: center;
    margin-bottom: 1.1rem;
}

.feature-icon-orange {
    background: var(--accent-soft);
    color: var(--accent);
    border: 1px solid rgba(255, 106, 0, 0.2);
}

.feature-icon-blue {
    background: var(--accent-alt-soft);
    color: var(--accent-alt);
    border: 1px solid rgba(0, 184, 255, 0.2);
}

.feature-icon-green {
    background: rgba(34, 197, 94, 0.12);
    color: var(--success);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.feature-title {
    margin: 0 0 0.65rem;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.feature-desc {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ─── IQ Option Compatible Banner ───────────────────────────────────── */
.iq-banner {
    background: linear-gradient(90deg, rgba(0, 184, 255, 0.06), rgba(0, 184, 255, 0.02));
    border-top: 1px solid rgba(0, 184, 255, 0.15);
    border-bottom: 1px solid rgba(0, 184, 255, 0.15);
    margin-bottom: 0;
}

.iq-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0;
    flex-wrap: wrap;
}

.iq-banner-text {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.iq-banner-text strong { color: var(--accent-alt); }

.iq-banner-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    transition: color var(--transition);
    white-space: nowrap;
}

.iq-banner-link:hover { color: var(--accent-hover); }

/* ─── Footer Multi-Column ────────────────────────────────────────────── */
.site-footer {
    margin-top: 3rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-panel-soft);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 2.5rem;
    padding: 3rem 0 2rem;
}

.footer-brand-logo {
    height: 34px;
    width: auto;
    margin-bottom: 0.85rem;
}

.footer-brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent), var(--accent-alt));
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 900;
    margin-bottom: 0.85rem;
}

.footer-desc {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.84rem;
    line-height: 1.7;
    max-width: 260px;
}

.footer-col-title {
    margin: 0 0 0.85rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.88rem;
    transition: color var(--transition);
}

.footer-links a:hover { color: var(--text-primary); }

.footer-disclaimer {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.75;
}

.footer-disclaimer strong { color: var(--text-secondary); }

.footer-bar {
    border-top: 1px solid var(--border-color);
    padding: 1.1rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.78rem;
}

.footer-bar-links {
    display: flex;
    gap: 1.25rem;
}

.footer-bar-links a {
    color: var(--text-muted);
    font-size: 0.78rem;
    transition: color var(--transition);
}

.footer-bar-links a:hover { color: var(--accent-alt); }

/* ─── Responsive — New Sections ─────────────────────────────────────── */
@media (max-width: 900px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-copy {
        align-items: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual { justify-content: center; }

    .hero-float-1 { right: 0; top: -10px; }
    .hero-float-2 { left: 0; bottom: -10px; }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .stats-strip-inner {
        flex-wrap: wrap;
        justify-content: center;
    }

    .stat-divider { display: none; }

    .stat-item {
        min-width: 45%;
        padding: 0.65rem 0.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        padding: 2rem 0 1.5rem;
    }

    .footer-desc { max-width: 100%; }

    .footer-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .iq-banner-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .mock-panel { max-width: 100%; }
}

/* ─── YouTube Custom Thumbnail ──────────────────────────────────────── */
.yt-thumb-btn {
    display: block;
    width: 100%;
    position: relative;
    aspect-ratio: 16 / 9;
    padding: 0;
    border: none;
    background: #000;
    cursor: pointer;
    overflow: hidden;
}

.yt-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, filter 0.3s ease;
    filter: brightness(0.88);
}

.yt-thumb-btn:hover .yt-thumb-img {
    transform: scale(1.04);
    filter: brightness(0.7);
}

.yt-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition);
}

.yt-play-btn svg circle {
    transition: fill 0.25s ease;
}

.yt-thumb-btn:hover .yt-play-btn {
    transform: scale(1.12);
}

.yt-thumb-btn:hover .yt-play-btn svg circle {
    fill: rgba(255, 106, 0, 0.8);
}

.yt-duration-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.7);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    backdrop-filter: blur(4px);
    pointer-events: none;
}

/* ─── YouTube Modal ──────────────────────────────────────────────────── */
.yt-modal {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.yt-modal[hidden] { display: none; }

.yt-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 8, 18, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.yt-modal-box {
    position: relative;
    z-index: 1;
    width: min(100%, 900px);
    animation: scaleIn 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.94); }
    to   { opacity: 1; transform: scale(1); }
}

.yt-modal-close {
    position: absolute;
    top: -42px;
    right: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition);
}

.yt-modal-close:hover {
    background: rgba(255, 106, 0, 0.25);
    border-color: var(--accent);
}

.yt-modal-frame-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #000;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.7);
}

.yt-modal-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ─── Pagination ─────────────────────────────────────────────────────── */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 2.25rem;
    flex-wrap: wrap;
}

.pagination-page,
.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    transition: color var(--transition), background var(--transition), border-color var(--transition);
    cursor: pointer;
    user-select: none;
}

.pagination-page:hover,
.pagination-btn:hover {
    color: var(--text-primary);
    border-color: rgba(255, 106, 0, 0.3);
    background: var(--bg-panel-hover);
}

.pagination-page.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    font-weight: 700;
    cursor: default;
    box-shadow: 0 4px 14px rgba(255, 106, 0, 0.35);
}

.pagination-btn {
    width: 40px;
    color: var(--text-muted);
}

.pagination-btn.pagination-disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 40px;
    color: var(--text-muted);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    cursor: default;
    user-select: none;
}

/* ══════════════════════════════════════════════════════════════════════
   Landing Page Conversion — New Sections
══════════════════════════════════════════════════════════════════════ */

/* ─── Badge row ──────────────────────────────────────────────────────── */
.lp-badge-row { margin-bottom: 1rem; }

/* ─── Subtitle hero ─────────────────────────────────────────────────── */
.landing-subtitle {
    margin: 0 auto 1.75rem;
    max-width: 560px;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.65;
}

/* ─── Social Proof Stats ─────────────────────────────────────────────── */
.lp-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1rem 0;
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: 620px;
    margin-inline: auto;
}

.lp-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0.25rem 0.5rem;
}

.lp-stat-sep {
    width: 1px;
    height: 32px;
    background: var(--border-color);
    flex-shrink: 0;
}

.lp-stat-num {
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--accent);
    transition: color 0.3s ease, transform 0.2s ease;
}

.lp-stat-num.counting {
    color: var(--accent-alt);
    transform: scale(1.04);
}

.lp-stat-num.done {
    color: var(--accent);
    transform: scale(1);
}

.lp-stat-unit {
    font-size: 1.1rem;
    vertical-align: super;
}

.lp-stat-label {
    font-size: 0.72rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.02em;
}

/* ─── Landing CTA full-width ─────────────────────────────────────────── */
.lp-cta-full {
    width: min(100%, 560px);
    padding: 1.15rem 1.5rem;
    font-size: clamp(1rem, 3vw, 1.15rem);
    gap: 0.65rem;
    margin-inline: auto;
    display: inline-flex;
    position: relative;
    overflow: visible;
}

.lp-cta-full::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), #ff8533);
    opacity: 0;
    z-index: -1;
    animation: ctaRipple 2.4s ease-in-out infinite;
}

@keyframes ctaRipple {
    0%, 100% { opacity: 0; transform: scale(1); }
    50%       { opacity: 0.35; transform: scale(1.04); }
}

.lp-cta-second { margin-top: 1.25rem; }

.lp-cta-affiliate {
    background: linear-gradient(135deg, var(--accent) 0%, #ff8533 55%, #ffb347 100%);
    box-shadow:
        0 14px 40px rgba(255, 106, 0, 0.38),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset;
    animation: pulseGlow 2.4s ease-in-out infinite;
}

.lp-cta-affiliate:hover {
    transform: translateY(-3px);
    box-shadow:
        0 18px 48px rgba(255, 106, 0, 0.48),
        0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

/* Slots counter highlight */
#slots-left {
    font-weight: 900;
    color: #fff;
    background: rgba(255,255,255,0.18);
    padding: 0 0.35rem;
    border-radius: 4px;
}

/* ─── 3 Steps ────────────────────────────────────────────────────────── */
.lp-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-bottom: 1.75rem;
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
}

.lp-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.6rem;
}

.lp-step-num {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #ff8533);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px var(--accent-glow);
    flex-shrink: 0;
    animation: none;
}

.lp-step-num.popped {
    animation: stepPop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes stepPop {
    from { transform: scale(0.55); opacity: 0.5; }
    to   { transform: scale(1); opacity: 1; }
}

.lp-step-body { display: flex; flex-direction: column; gap: 0.2rem; }

.lp-step-title {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.lp-step-desc {
    margin: 0;
    font-size: 0.76rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.lp-step-arrow {
    display: flex;
    align-items: center;
    padding-top: 10px;
    color: var(--text-muted);
    flex-shrink: 0;
}

/* ─── Trust Badges ───────────────────────────────────────────────────── */
.lp-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.lp-trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
}

.lp-trust-item svg { color: var(--accent-alt); flex-shrink: 0; }

.lp-trust-sep {
    width: 1px;
    height: 16px;
    background: var(--border-color);
    flex-shrink: 0;
}

/* ─── FAQ ────────────────────────────────────────────────────────────── */
.lp-faq {
    width: 100%;
    max-width: 560px;
    margin: 1.75rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.lp-faq-item {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition);
}

.lp-faq-item.open { border-color: rgba(255, 106, 0, 0.25); }

.lp-faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    padding: 0.9rem 1rem;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
    transition: background var(--transition);
}

.lp-faq-q:hover { background: rgba(255, 255, 255, 0.03); }

.lp-faq-icon {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform var(--transition);
}

.lp-faq-item.open .lp-faq-icon { transform: rotate(180deg); }

.lp-faq-a {
    max-height: 0;
    overflow: hidden;
    padding: 0 1rem;
    color: var(--text-secondary);
    font-size: 0.86rem;
    line-height: 1.7;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.lp-faq-item.open .lp-faq-a {
    max-height: 200px;
    padding: 0 1rem 1rem;
}

/* ─── Responsive: Mobile ─────────────────────────────────────────────── */
@media (max-width: 540px) {
    .lp-steps {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .lp-step {
        flex-direction: row;
        text-align: left;
        gap: 0.85rem;
    }

    .lp-step-arrow {
        display: none;
    }

    .lp-trust {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 0.5rem;
    }

    .lp-trust-sep { display: none; }

    .lp-stat-num { font-size: 1.4rem; }
}

/* ─── Landing entrance animations ─────────────────────────────────────── */
.lp-anim {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.lp-anim.visible {
    opacity: 1;
    transform: none;
}

.lp-trust.lp-anim {
    justify-content: center;
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
}

/* ─── Contact Section ────────────────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.contact-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.15rem 1.2rem 1.25rem;
    box-shadow: var(--shadow-card);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.contact-card-line {
    border-left: 3px solid #06c755;
}

.contact-card-line:hover {
    border-color: rgba(6, 199, 85, 0.45);
}

.contact-card-fb {
    border-left: 3px solid #1877f2;
}

.contact-card-fb:hover {
    border-color: rgba(24, 119, 242, 0.45);
}

.contact-card-head {
    margin-bottom: 0.5rem;
}

.contact-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.contact-chip-line {
    background: rgba(6, 199, 85, 0.15);
    color: #06c755;
    border: 1px solid rgba(6, 199, 85, 0.3);
}

.contact-chip-fb {
    background: rgba(24, 119, 242, 0.15);
    color: #4f9bff;
    border: 1px solid rgba(24, 119, 242, 0.32);
}

.contact-title {
    margin: 0;
    font-size: 1rem;
    line-height: 1.45;
    letter-spacing: -0.01em;
}

.contact-desc {
    margin: 0.15rem 0 0.95rem;
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.65;
}

.contact-line-wrap {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.95rem;
}

.contact-qr {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: #fff;
    padding: 4px;
}

.contact-line-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.contact-line-id {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 700;
    color: #5ddc8e;
}

.contact-line-note {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.contact-btn-line {
    background: linear-gradient(135deg, #06c755, #04a044);
    color: #fff;
    border-color: transparent;
    width: 100%;
}

.contact-btn-line:hover {
    box-shadow: 0 8px 24px rgba(6, 199, 85, 0.25);
}

.contact-fb-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(24, 119, 242, 0.08);
    border: 1px solid rgba(24, 119, 242, 0.25);
    border-radius: var(--radius-sm);
    padding: 0.7rem 0.8rem;
    margin-bottom: 0.95rem;
}

.contact-fb-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(24, 119, 242, 0.18);
    color: #7bb5ff;
    flex-shrink: 0;
}

.contact-fb-name {
    margin: 0;
    font-size: 0.87rem;
    font-weight: 700;
    color: #7bb5ff;
}

.contact-fb-note {
    margin: 0.15rem 0 0;
    font-size: 0.79rem;
    color: var(--text-muted);
}

.contact-btn-fb {
    background: linear-gradient(135deg, #1877f2, #115ac7);
    color: #fff;
    border-color: transparent;
    width: 100%;
}

.contact-btn-fb:hover {
    box-shadow: 0 8px 24px rgba(24, 119, 242, 0.24);
}

/* ─── Footer social links ────────────────────────────────────────────── */
.footer-social {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border: 1px solid transparent;
    transition: transform var(--transition), filter var(--transition), border-color var(--transition);
}

.footer-social-link:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
}

.footer-social-line {
    background: rgba(6, 199, 85, 0.18);
    color: #63df96;
    border-color: rgba(6, 199, 85, 0.35);
}

.footer-social-fb {
    background: rgba(24, 119, 242, 0.18);
    color: #7bb5ff;
    border-color: rgba(24, 119, 242, 0.35);
}

@media (max-width: 960px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .contact-line-wrap {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-qr {
        width: 108px;
        height: 108px;
    }

    .footer-social {
        width: 100%;
    }
}
