
    /* ============================================================
       BASE
    ============================================================ */
    *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
    html { scroll-behavior: smooth; }

    :root {
        --orange:  #FF6B2B;
        --orange-d:#E55A1C;
        --blue:    #2979FF;
        --blue-l:  #64B5F6;
        --cyan:    #00E5FF;
        --bg:      #060B14;
        --bg-card: #0D1526;
        --bg-raise:#121E35;
        --border:  rgba(255,255,255,0.08);
        --border-m:rgba(255,255,255,0.16);
        --tw:      #F0F6FF;
        --tb:      #8AAAC8;
        --tm:      #607D9A;
    }

    body {
        font-family: 'Outfit', 'Noto Sans Thai', sans-serif;
        background: var(--bg);
        color: var(--tb);
        line-height: 1.7;
        -webkit-font-smoothing: antialiased;
    }

    .container {
        max-width: 1160px;
        margin: 0 auto;
        padding: 0 2rem;
    }

    /* ============================================================
       NAVBAR
    ============================================================ */
    .nav {
        position: fixed;
        top: 0; left: 0; right: 0;
        z-index: 200;
        height: 64px;
        display: flex;
        align-items: center;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-bottom: 1px solid transparent;
        transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
    }

    .nav.scrolled {
        background: rgba(6,11,20,0.45);
        backdrop-filter: blur(24px) saturate(160%);
        -webkit-backdrop-filter: blur(24px) saturate(160%);
        border-bottom-color: rgba(255,255,255,0.08);
    }

    .nav-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        max-width: 1160px;
        margin: 0 auto;
        padding: 0 2rem;
    }

    .nav-logo img {
        height: 34px;
        width: auto;
    }

    .nav-links {
        display: flex;
        list-style: none;
        align-items: center;
        gap: 2rem;
    }

    .nav-links a {
        text-decoration: none;
        color: var(--tb);
        font-size: 0.88rem;
        font-weight: 500;
        transition: color 0.2s;
    }

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

    .nav-cta {
        background: var(--orange) !important;
        color: #fff !important;
        padding: 8px 20px;
        border-radius: 8px;
        font-weight: 600 !important;
        transition: background 0.2s !important;
    }

    .nav-cta:hover { background: var(--orange-d) !important; }

    .nav-lang {
        display: flex;
        align-items: center;
        gap: 2px;
        border: 1px solid rgba(255,255,255,0.2);
        border-radius: 6px;
        padding: 3px 4px;
    }
    .nav-lang__btn {
        background: none;
        border: none;
        color: rgba(255,255,255,0.45);
        font-size: 0.78rem;
        font-weight: 600;
        cursor: pointer;
        padding: 2px 7px;
        border-radius: 4px;
        font-family: inherit;
        transition: all 0.2s;
        letter-spacing: 0.04em;
    }
    .nav-lang__btn:hover { color: #fff; }
    .nav-lang__btn.active {
        background: rgba(255,255,255,0.15);
        color: #fff;
    }
    .nav-lang__sep { color: rgba(255,255,255,0.2); font-size: 0.75rem; }

    /* ====== HAMBURGER + MOBILE RIGHT (hidden on desktop) ====== */
    .nav-mobile-right { display: none; }
    .nav-hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 36px;
        height: 36px;
        background: none;
        border: 1px solid rgba(255,255,255,0.15);
        border-radius: 8px;
        cursor: pointer;
        padding: 8px 7px;
        transition: border-color 0.2s, background 0.2s;
    }
    .nav-hamburger:hover {
        border-color: rgba(255,107,43,0.5);
        background: rgba(255,107,43,0.08);
    }
    .nav-hamburger span {
        display: block;
        height: 2px;
        width: 100%;
        background: rgba(255,255,255,0.75);
        border-radius: 2px;
        transition: background 0.2s;
    }
    .nav-hamburger:hover span { background: #fff; }

    /* ====== DRAWER ====== */
    [x-cloak] { display: none !important; }

    .drawer-backdrop {
        position: fixed;
        inset: 0;
        z-index: 300;
        background: rgba(0,0,0,0.6);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }
    .drawer-bd-enter { transition: opacity 0.25s ease; }
    .drawer-bd-from  { opacity: 0; }
    .drawer-bd-to    { opacity: 1; }

    .drawer-left {
        position: fixed;
        top: 0; left: 0; bottom: 0;
        z-index: 400;
        width: 280px;
        max-width: 85vw;
        background: #080f1e;
        border-right: 1px solid rgba(255,255,255,0.08);
        display: flex;
        flex-direction: column;
        box-shadow: 6px 0 40px rgba(0,0,0,0.5);
    }
    .drawer-enter { transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1); }
    .drawer-from  { transform: translateX(-100%); }
    .drawer-to    { transform: translateX(0); }

    .drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1rem 1.25rem;
        border-bottom: 1px solid rgba(255,255,255,0.07);
        height: 64px;
    }

    .drawer-close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        background: rgba(255,255,255,0.06);
        border: 1px solid rgba(255,255,255,0.12);
        border-radius: 8px;
        color: rgba(255,255,255,0.65);
        cursor: pointer;
        transition: background 0.2s, color 0.2s;
    }
    .drawer-close:hover {
        background: rgba(255,107,43,0.12);
        border-color: rgba(255,107,43,0.35);
        color: #fff;
    }

    .drawer-nav {
        flex: 1;
        display: flex;
        flex-direction: column;
        padding: 1.25rem 0;
        overflow-y: auto;
    }

    .drawer-link {
        display: flex;
        align-items: center;
        gap: 0.85rem;
        padding: 0.85rem 1.5rem;
        color: rgba(255,255,255,0.65);
        text-decoration: none;
        font-size: 0.92rem;
        font-weight: 500;
        letter-spacing: 0.01em;
        transition: color 0.2s, background 0.2s;
        position: relative;
    }
    .drawer-link:hover, .drawer-link.active {
        color: #fff;
        background: rgba(255,255,255,0.05);
    }
    .drawer-link.active::before {
        content: '';
        position: absolute;
        left: 0;
        top: 20%;
        bottom: 20%;
        width: 3px;
        background: var(--orange);
        border-radius: 0 3px 3px 0;
    }
    .drawer-link-icon {
        font-size: 0.6rem;
        color: rgba(255,107,43,0.5);
        flex-shrink: 0;
    }
    .drawer-link.active .drawer-link-icon { color: var(--orange); }

    .drawer-cta {
        margin: 1rem 1.5rem 0;
        padding: 0.85rem 1.25rem;
        background: var(--orange);
        color: #fff !important;
        border-radius: 10px;
        justify-content: center;
        font-weight: 700;
        font-size: 0.88rem;
        letter-spacing: 0.02em;
        transition: background 0.2s !important;
    }
    .drawer-cta:hover { background: var(--orange-d) !important; }
    .drawer-cta::before { display: none !important; }

    .drawer-footer {
        padding: 1rem 1.5rem;
        border-top: 1px solid rgba(255,255,255,0.06);
    }

    /* ====== NAV RESPONSIVE ====== */
    @media (max-width: 768px) {
        .nav-links   { display: none; }
        .nav-mobile-right { display: flex; align-items: center; gap: 0.75rem; }
    }

    /* Lang content toggle */
    body.lang-th [data-lang="en"], html.lang-th [data-lang="en"] { display: none !important; }
    body.lang-en [data-lang="th"], html.lang-en [data-lang="th"] { display: none !important; }

    /* ============================================================
       HERO
    ============================================================ */
    .hero {
        position: relative;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        overflow: hidden;
        padding: 100px 2rem 80px;
    }

    /* Animated mesh background */
    .hero-canvas {
        position: absolute;
        inset: 0;
        width: 100%; height: 100%;
        pointer-events: none;
    }

    /* Radial glow spots */
    .hero-glow {
        position: absolute;
        border-radius: 50%;
        pointer-events: none;
        filter: blur(80px);
    }

    .glow-blue {
        width: 800px; height: 800px;
        background: radial-gradient(circle, rgba(0,100,255,0.2) 0%, transparent 70%);
        top: -200px; left: 50%;
        transform: translateX(-50%);
    }

    .glow-orange {
        width: 500px; height: 500px;
        background: radial-gradient(circle, rgba(255,107,43,0.15) 0%, transparent 70%);
        bottom: 0; right: 10%;
    }

    /* Scanline overlay */
    .hero-scanlines {
        position: absolute;
        inset: 0;
        background: repeating-linear-gradient(
            0deg,
            transparent,
            transparent 3px,
            rgba(0,229,255,0.012) 3px,
            rgba(0,229,255,0.012) 4px
        );
        pointer-events: none;
    }

    .hero-content {
        position: relative;
        z-index: 2;
        max-width: 900px;
    }

    .hero-label {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: var(--cyan);
        border: 1px solid rgba(0,229,255,0.25);
        border-radius: 100px;
        padding: 7px 18px;
        margin-bottom: 2rem;
        background: rgba(0,229,255,0.05);
    }

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

    @keyframes blink {
        0%, 100% { opacity: 1; }
        50% { opacity: 0.3; }
    }

    .hero-h1 {
        font-size: clamp(2.8rem, 6vw, 5rem);
        font-weight: 900;
        line-height: 1.1;
        letter-spacing: -2px;
        color: var(--tw);
        margin-bottom: 1.5rem;
    }

    .hero-h1 .word-ai {
        position: relative;
        display: inline-block;
    }

    .hero-h1 .word-ai::after {
        content: '';
        position: absolute;
        left: 0; right: 0;
        bottom: -4px;
        height: 3px;
        border-radius: 2px;
        background: linear-gradient(90deg, var(--orange), var(--cyan));
    }

    .hero-h1 .gradient-text {
        background: linear-gradient(90deg, #FF6B2B 0%, #FF9A5C 40%, #00E5FF 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    /* Rotating words */
    .hero-rotate-wrap {
        display: inline-block;
        height: 1.1em;
        overflow: hidden;
        vertical-align: bottom;
    }

    .hero-rotate {
        display: flex;
        flex-direction: column;
        animation: rotate-words 6s ease-in-out infinite;
    }

    .hero-rotate span {
        height: 1.1em;
        line-height: 1.1;
        display: block;
    }

    @keyframes rotate-words {
        0%,  22% { transform: translateY(0); }
        33%, 55% { transform: translateY(-1.1em); }
        66%, 88% { transform: translateY(-2.2em); }
        100%      { transform: translateY(0); }
    }

    .hero-sub {
        font-size: 1.1rem;
        color: var(--tb);
        max-width: 600px;
        margin: 0 auto 3rem;
        line-height: 1.75;
    }

    .hero-sub strong { color: var(--tw); }

    .hero-btns {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
        margin-bottom: 4rem;
    }

    .btn-primary {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: var(--orange);
        color: #fff;
        padding: 15px 30px;
        border-radius: 10px;
        font-size: 0.95rem;
        font-weight: 700;
        text-decoration: none;
        box-shadow: 0 0 30px rgba(255,107,43,0.4);
        transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
    }

    .btn-primary:hover {
        background: var(--orange-d);
        box-shadow: 0 0 40px rgba(255,107,43,0.55);
        transform: translateY(-2px);
    }

    .btn-ghost {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: var(--tw);
        padding: 15px 26px;
        border-radius: 10px;
        font-size: 0.95rem;
        font-weight: 600;
        text-decoration: none;
        border: 1px solid var(--border-m);
        transition: border-color 0.2s, background 0.2s;
    }

    .btn-ghost:hover {
        border-color: rgba(0,229,255,0.4);
        background: rgba(0,229,255,0.06);
    }

    /* AI floating chips */
    .hero-chips {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        flex-wrap: wrap;
    }

    .hero-chip {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 7px 14px;
        border-radius: 100px;
        font-size: 0.75rem;
        font-weight: 600;
        border: 1px solid rgba(255,255,255,0.1);
        background: rgba(255,255,255,0.04);
        color: var(--tb);
        font-family: 'Source Code Pro', monospace;
        transition: border-color 0.2s, color 0.2s;
    }

    .hero-chip:hover { border-color: var(--cyan); color: var(--tw); }
    .hero-chip .chip-dot { width: 6px; height: 6px; border-radius: 50%; }

    /* ============================================================
       AI CAPABILITIES MARQUEE
    ============================================================ */
    .cap-strip {
        background: var(--bg-card);
        border-top: 1px solid rgba(0,229,255,0.1);
        border-bottom: 1px solid rgba(0,229,255,0.1);
        padding: 0;
        overflow: hidden;
    }

    .cap-marquee {
        display: flex;
        width: max-content;
        animation: slide 30s linear infinite;
        padding: 18px 0;
    }

    @keyframes slide {
        from { transform: translateX(0); }
        to { transform: translateX(-50%); }
    }

    .cap-item {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 0 2.5rem;
        font-size: 0.82rem;
        font-weight: 600;
        color: var(--tm);
        letter-spacing: 0.3px;
        white-space: nowrap;
        border-right: 1px solid rgba(0,229,255,0.08);
        transition: color 0.2s;
    }

    .cap-item:hover { color: var(--tw); }

    .cap-icon {
        font-size: 1rem;
        filter: grayscale(0.4);
    }

    /* ============================================================
       AI SERVICES — ALTERNATING SPLIT
    ============================================================ */
    .services {
        padding: 8rem 0;
    }

    .sec-tag {
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: var(--orange);
        display: block;
        margin-bottom: 0.75rem;
    }

    .sec-h2 {
        font-size: clamp(1.8rem, 3.5vw, 2.8rem);
        font-weight: 800;
        color: var(--tw);
        line-height: 1.2;
        letter-spacing: -0.5px;
        margin-bottom: 1rem;
    }

    .sec-h2 em {
        font-style: normal;
        color: var(--cyan);
    }

    .sec-lead {
        font-size: 1rem;
        color: var(--tb);
        line-height: 1.75;
        max-width: 480px;
    }

    /* Header row */
    .sec-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        gap: 2rem;
        margin-bottom: 5rem;
        flex-wrap: wrap;
    }

    /* Service cards grid */
    .svc-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }

    .svc-card {
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: 20px;
        padding: 2rem;
        position: relative;
        overflow: hidden;
        cursor: default;
        transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
        group: true;
    }

    .svc-card::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: inherit;
        opacity: 0;
        transition: opacity 0.3s;
        pointer-events: none;
    }

    .svc-card:hover {
        transform: translateY(-5px);
        border-color: var(--border-m);
        box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    }

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

    /* Color variants */
    .svc-card.c-blue::before { background: radial-gradient(circle at top left, rgba(41,121,255,0.12) 0%, transparent 60%); }
    .svc-card.c-orange::before { background: radial-gradient(circle at top left, rgba(255,107,43,0.1) 0%, transparent 60%); }
    .svc-card.c-cyan::before { background: radial-gradient(circle at top left, rgba(0,229,255,0.1) 0%, transparent 60%); }
    .svc-card.c-green::before { background: radial-gradient(circle at top left, rgba(74,222,128,0.1) 0%, transparent 60%); }
    .svc-card.c-purple::before { background: radial-gradient(circle at top left, rgba(167,139,250,0.1) 0%, transparent 60%); }
    .svc-card.c-pink::before { background: radial-gradient(circle at top left, rgba(244,114,182,0.1) 0%, transparent 60%); }

    .svc-num {
        font-size: 0.68rem;
        font-weight: 700;
        color: var(--tm);
        letter-spacing: 1px;
        font-family: 'Source Code Pro', monospace;
        margin-bottom: 1.5rem;
    }

    .svc-icon-wrap {
        width: 56px; height: 56px;
        border-radius: 16px;
        display: flex; align-items: center; justify-content: center;
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }

    .svc-icon-wrap.blue   { background: rgba(41,121,255,0.12); }
    .svc-icon-wrap.orange { background: rgba(255,107,43,0.12); }
    .svc-icon-wrap.cyan   { background: rgba(0,229,255,0.1); }
    .svc-icon-wrap.green  { background: rgba(74,222,128,0.1); }
    .svc-icon-wrap.purple { background: rgba(167,139,250,0.12); }
    .svc-icon-wrap.pink   { background: rgba(244,114,182,0.1); }

    .svc-title {
        font-size: 1rem;
        font-weight: 700;
        color: var(--tw);
        margin-bottom: 0.6rem;
    }

    .svc-desc {
        font-size: 0.858rem;
        color: var(--tb);
        line-height: 1.65;
        margin-bottom: 1.5rem;
    }

    .svc-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
    }

    .svc-tag {
        font-size: 0.67rem;
        font-weight: 600;
        padding: 3px 10px;
        border-radius: 100px;
        border: 1px solid rgba(255,255,255,0.09);
        color: var(--tm);
        font-family: 'Source Code Pro', monospace;
    }

    .svc-deco {
        position: absolute;
        right: -8px; bottom: -16px;
        font-size: 5rem;
        opacity: 0.04;
        pointer-events: none;
        user-select: none;
        transition: opacity 0.3s;
    }

    .svc-card:hover .svc-deco { opacity: 0.07; }

    /* Wide card */
    .svc-card.wide {
        grid-column: span 2;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        align-items: start;
    }

    .svc-card.wide .svc-deco { font-size: 7rem; }

    /* ============================================================
       AI IN ACTION — TAB SHOWCASE
    ============================================================ */
    .showcase {
        padding: 8rem 0;
        background: var(--bg-card);
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
    }

    .showcase-inner {
        display: grid;
        grid-template-columns: 320px 1fr;
        gap: 4rem;
        align-items: start;
    }

    .showcase-tabs {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .stab {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 14px 18px;
        border-radius: 12px;
        border: 1px solid transparent;
        cursor: pointer;
        transition: all 0.2s;
        background: transparent;
    }

    .stab:hover {
        background: rgba(255,255,255,0.04);
        border-color: var(--border);
    }

    .stab.active {
        background: rgba(0,229,255,0.06);
        border-color: rgba(0,229,255,0.2);
    }

    .stab-icon {
        width: 40px; height: 40px;
        border-radius: 10px;
        display: flex; align-items: center; justify-content: center;
        font-size: 1.1rem;
        flex-shrink: 0;
        background: rgba(255,255,255,0.06);
        transition: background 0.2s;
    }

    .stab.active .stab-icon { background: rgba(0,229,255,0.12); }

    .stab-info {}

    .stab-name {
        font-size: 0.88rem;
        font-weight: 700;
        color: var(--tb);
        transition: color 0.2s;
        display: block;
        margin-bottom: 2px;
    }

    .stab.active .stab-name { color: var(--tw); }

    .stab-sub {
        font-size: 0.72rem;
        color: var(--tm);
    }

    .stab-progress {
        height: 2px;
        background: rgba(0,229,255,0.2);
        border-radius: 2px;
        margin-top: 6px;
        overflow: hidden;
        display: none;
    }

    .stab.active .stab-progress { display: block; }

    .stab-progress-bar {
        height: 100%;
        background: var(--cyan);
        border-radius: 2px;
        animation: fill-bar 5s linear infinite;
    }

    @keyframes fill-bar {
        from { width: 0%; }
        to { width: 100%; }
    }

    /* Showcase panel */
    .showcase-panel {
        display: none;
        animation: fadeIn 0.3s ease;
    }

    .showcase-panel.active { display: block; }

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

    .panel-window {
        background: var(--bg-raise);
        border: 1px solid var(--border-m);
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 40px 80px rgba(0,0,0,0.5);
        margin-bottom: 2rem;
    }

    .panel-win-bar {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 14px 18px;
        border-bottom: 1px solid var(--border);
    }

    .win-dot { width: 10px; height: 10px; border-radius: 50%; }
    .win-dot.r { background: #FF5F57; }
    .win-dot.y { background: #FEBC2E; }
    .win-dot.g { background: #28C840; }

    .win-title {
        margin-left: 8px;
        font-size: 0.72rem;
        color: var(--tm);
        font-family: 'Source Code Pro', monospace;
    }

    .win-badge {
        margin-left: auto;
        font-size: 0.65rem;
        font-weight: 700;
        padding: 3px 10px;
        border-radius: 100px;
        background: rgba(74,222,128,0.15);
        color: #4ADE80;
    }

    .panel-body {
        padding: 1.75rem;
    }

    /* Product info below panel */
    .panel-info {}

    .panel-info-h3 {
        font-size: 1.3rem;
        font-weight: 800;
        color: var(--tw);
        margin-bottom: 0.6rem;
    }

    .panel-info-p {
        font-size: 0.88rem;
        color: var(--tb);
        line-height: 1.7;
        margin-bottom: 1.5rem;
    }

    .panel-features {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 1.75rem;
    }

    .panel-feat {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 0.83rem;
        color: var(--tb);
    }

    .feat-check {
        width: 20px; height: 20px;
        border-radius: 6px;
        background: rgba(0,229,255,0.1);
        display: flex; align-items: center; justify-content: center;
        font-size: 0.65rem;
        color: var(--cyan);
        flex-shrink: 0;
        font-weight: 700;
    }

    .panel-price-row {
        display: flex;
        align-items: center;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .panel-price {
        font-size: 1.6rem;
        font-weight: 800;
        color: var(--tw);
        font-family: 'Outfit', sans-serif;
    }

    .panel-price-label {
        font-size: 0.78rem;
        color: var(--tm);
    }

    .btn-sm-primary {
        padding: 10px 22px;
        border-radius: 9px;
        background: var(--orange);
        color: #fff;
        font-size: 0.83rem;
        font-weight: 700;
        text-decoration: none;
        transition: background 0.2s;
        display: inline-block;
    }

    .btn-sm-primary:hover { background: var(--orange-d); }

    .btn-sm-ghost {
        padding: 10px 18px;
        border-radius: 9px;
        border: 1px solid var(--border-m);
        color: var(--tb);
        font-size: 0.83rem;
        font-weight: 600;
        text-decoration: none;
        cursor: pointer;
        background: transparent;
        font-family: inherit;
        transition: border-color 0.2s, color 0.2s;
    }

    .btn-sm-ghost:hover { border-color: var(--cyan); color: var(--tw); }

    /* Panel content: mini UI mockups */
    .mini-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        margin-bottom: 14px;
    }

    .mst {
        background: rgba(255,255,255,0.04);
        border: 1px solid var(--border);
        border-radius: 10px;
        padding: 12px;
    }

    .mst-l { font-size: 0.65rem; color: var(--tm); margin-bottom: 4px; font-family: 'Outfit', sans-serif; }
    .mst-v { font-size: 1.1rem; font-weight: 700; color: var(--tw); font-family: 'Outfit', sans-serif; }
    .mst-v.cyan { color: var(--cyan); }
    .mst-v.orange { color: var(--orange); }
    .mst-v.green { color: #4ADE80; }

    .mini-chart-bars {
        display: flex;
        align-items: flex-end;
        gap: 4px;
        height: 60px;
        background: rgba(255,255,255,0.02);
        border-radius: 10px;
        padding: 10px;
        margin-bottom: 14px;
    }

    .mbar {
        flex: 1;
        border-radius: 3px 3px 0 0;
        background: rgba(41,121,255,0.3);
        transition: background 0.2s;
    }

    .mbar:hover { background: #2979FF; }
    .mbar.hi { background: rgba(0,229,255,0.4); }
    .mbar.hi:hover { background: var(--cyan); }

    .mini-list {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .mini-row {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 8px 10px;
        background: rgba(255,255,255,0.03);
        border-radius: 8px;
        border: 1px solid var(--border);
    }

    .mini-row-icon {
        width: 26px; height: 26px;
        border-radius: 6px;
        font-size: 0.8rem;
        display: flex; align-items: center; justify-content: center;
        flex-shrink: 0;
    }

    .mini-row-name { font-size: 0.72rem; color: var(--tw); font-family: 'Outfit', sans-serif; font-weight: 500; flex: 1; }
    .mini-row-val  { font-size: 0.7rem;  color: var(--tm); font-family: 'Source Code Pro', monospace; }

    .mini-badge-live { font-size: 0.6rem; font-weight: 700; padding: 2px 8px; border-radius: 100px; background: rgba(74,222,128,0.15); color: #4ADE80; }
    .mini-badge-warn { font-size: 0.6rem; font-weight: 700; padding: 2px 8px; border-radius: 100px; background: rgba(255,107,43,0.15); color: var(--orange); }

    /* AI Chat mock */
    .ai-chat {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .chat-msg {
        max-width: 85%;
        padding: 10px 14px;
        border-radius: 12px;
        font-size: 0.78rem;
        line-height: 1.55;
        font-family: 'Outfit', sans-serif;
    }

    .chat-msg.user {
        align-self: flex-end;
        background: rgba(41,121,255,0.18);
        border: 1px solid rgba(41,121,255,0.2);
        color: var(--blue-l);
    }

    .chat-msg.bot {
        align-self: flex-start;
        background: rgba(0,229,255,0.07);
        border: 1px solid rgba(0,229,255,0.15);
        color: var(--tw);
    }

    .chat-msg.typing {
        display: flex;
        align-items: center;
        gap: 5px;
        padding: 12px 16px;
    }

    .typing-dot {
        width: 6px; height: 6px;
        border-radius: 50%;
        background: var(--cyan);
        animation: typing-bounce 1.2s ease-in-out infinite;
    }

    .typing-dot:nth-child(2) { animation-delay: 0.2s; }
    .typing-dot:nth-child(3) { animation-delay: 0.4s; }

    @keyframes typing-bounce {
        0%, 100% { opacity: 0.3; transform: translateY(0); }
        50% { opacity: 1; transform: translateY(-4px); }
    }

    .chat-input-row {
        display: flex;
        gap: 8px;
        margin-top: 4px;
        align-items: center;
    }

    .chat-input {
        flex: 1;
        background: rgba(255,255,255,0.05);
        border: 1px solid var(--border-m);
        border-radius: 8px;
        padding: 8px 12px;
        font-size: 0.72rem;
        color: var(--tm);
        font-family: 'Outfit', sans-serif;
    }

    .chat-send {
        width: 32px; height: 32px;
        border-radius: 8px;
        background: var(--orange);
        display: flex; align-items: center; justify-content: center;
        font-size: 0.8rem;
        flex-shrink: 0;
    }

    /* ============================================================
       PROCESS
    ============================================================ */
    .process {
        padding: 8rem 0;
    }

    .process-steps {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 0;
        margin-top: 4rem;
        position: relative;
    }

    .process-steps::before {
        content: '';
        position: absolute;
        top: 28px;
        left: calc(12.5% + 14px);
        right: calc(12.5% + 14px);
        height: 1px;
        background: linear-gradient(90deg, var(--orange), var(--cyan));
        z-index: 0;
    }

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

    .pstep-num {
        width: 56px; height: 56px;
        border-radius: 50%;
        display: flex; align-items: center; justify-content: center;
        font-size: 1rem;
        font-weight: 800;
        font-family: 'Outfit', sans-serif;
        margin-bottom: 1.5rem;
        background: var(--bg-card);
        border: 2px solid var(--border-m);
        color: var(--tw);
        position: relative;
        transition: border-color 0.3s, box-shadow 0.3s;
    }

    .pstep:nth-child(1) .pstep-num { border-color: var(--orange); box-shadow: 0 0 20px rgba(255,107,43,0.3); }
    .pstep:nth-child(2) .pstep-num { border-color: var(--blue); box-shadow: 0 0 20px rgba(41,121,255,0.3); }
    .pstep:nth-child(3) .pstep-num { border-color: var(--cyan); box-shadow: 0 0 20px rgba(0,229,255,0.3); }
    .pstep:nth-child(4) .pstep-num { border-color: #4ADE80; box-shadow: 0 0 20px rgba(74,222,128,0.3); }

    .pstep-h4 {
        font-size: 0.95rem;
        font-weight: 700;
        color: var(--tw);
        margin-bottom: 0.5rem;
    }

    .pstep-p {
        font-size: 0.825rem;
        color: var(--tb);
        line-height: 1.6;
    }

    /* ============================================================
       STATS
    ============================================================ */
    .stats-band {
        background: var(--bg-card);
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
        padding: 4rem 0;
    }

    .stats-row {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1px;
        background: var(--border);
    }

    .stat-cell {
        background: var(--bg-card);
        padding: 2.5rem 2rem;
        text-align: center;
    }

    .stat-big {
        font-size: 3rem;
        font-weight: 900;
        font-family: 'Outfit', sans-serif;
        line-height: 1;
        margin-bottom: 0.5rem;
        background: linear-gradient(135deg, var(--tw) 0%, var(--blue-l) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .stat-sub {
        font-size: 0.85rem;
        color: var(--tm);
        font-weight: 500;
    }

    /* ============================================================
       BLOG
    ============================================================ */
    .blog {
        padding: 8rem 0;
    }

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

    .blog-card {
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: 18px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
    }

    .blog-card:hover {
        border-color: var(--border-m);
        transform: translateY(-4px);
        box-shadow: 0 24px 48px rgba(0,0,0,0.4);
    }

    .blog-thumb {
        height: 160px;
        position: relative;
        display: flex; align-items: center; justify-content: center;
        font-size: 2.8rem;
        overflow: hidden;
    }

    .blog-thumb-slash {
        position: absolute;
        bottom: 0; left: 0; right: 0;
        height: 55%;
        clip-path: polygon(0 40%, 100% 0, 100% 100%, 0 100%);
        background: var(--bg-card);
    }

    .blog-cat {
        position: absolute;
        top: 14px; left: 14px;
        font-size: 0.62rem;
        font-weight: 700;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        padding: 4px 12px;
        border-radius: 100px;
        z-index: 2;
    }

    .cat-ai     { background: rgba(0,229,255,0.8); color: #001020; }
    .cat-devops { background: rgba(167,139,250,0.85); color: #fff; }
    .cat-code   { background: rgba(74,222,128,0.85); color: #002010; }

    .blog-body {
        padding: 1.25rem 1.5rem 1.5rem;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .blog-meta {
        font-size: 0.73rem;
        color: var(--tm);
        margin-bottom: 0.65rem;
        display: flex;
        align-items: center;
        gap: 7px;
    }

    .blog-meta span { opacity: 1; }

    .blog-title {
        font-size: 0.97rem;
        font-weight: 700;
        color: var(--tw);
        line-height: 1.45;
        margin-bottom: 0.6rem;
        flex: 1;
    }

    .blog-excerpt {
        font-size: 0.83rem;
        color: var(--tb);
        line-height: 1.65;
        margin-bottom: 1rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .blog-link {
        font-size: 0.8rem;
        font-weight: 600;
        color: var(--cyan);
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        transition: gap 0.2s, color 0.2s;
        margin-top: auto;
    }

    .blog-link:hover { gap: 8px; color: var(--blue-l); }

    .blog-footer-row {
        display: flex;
        justify-content: flex-end;
        margin-top: 2.5rem;
    }

    .btn-outline {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 12px 26px;
        border-radius: 10px;
        border: 1px solid var(--border-m);
        color: var(--tw);
        font-size: 0.88rem;
        font-weight: 600;
        text-decoration: none;
        transition: border-color 0.2s, background 0.2s;
    }

    .btn-outline:hover {
        border-color: var(--cyan);
        background: rgba(0,229,255,0.06);
    }

    /* ============================================================
       CTA SECTION
    ============================================================ */
    .cta-sec {
        position: relative;
        padding: 8rem 0;
        overflow: hidden;
        background: linear-gradient(135deg, #040810 0%, #0A1830 50%, #0D0A00 100%);
    }

    .cta-sec::before {
        content: '';
        position: absolute;
        width: 800px; height: 800px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(255,107,43,0.15) 0%, transparent 70%);
        top: -300px; right: -200px;
        pointer-events: none;
        filter: blur(40px);
    }

    .cta-sec::after {
        content: '';
        position: absolute;
        width: 600px; height: 600px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(0,100,255,0.15) 0%, transparent 70%);
        bottom: -200px; left: -100px;
        pointer-events: none;
        filter: blur(40px);
    }

    .cta-inner {
        position: relative;
        z-index: 1;
        text-align: center;
        max-width: 720px;
        margin: 0 auto;
    }

    /* Big decorative text */
    .cta-bg-text {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18vw;
        font-weight: 900;
        color: rgba(255,255,255,0.02);
        letter-spacing: -5px;
        pointer-events: none;
        user-select: none;
        font-family: 'Outfit', sans-serif;
    }

    .cta-eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: var(--orange);
        margin-bottom: 1.5rem;
    }

    .cta-h2 {
        font-size: clamp(2rem, 4vw, 3.2rem);
        font-weight: 900;
        color: var(--tw);
        line-height: 1.15;
        letter-spacing: -1px;
        margin-bottom: 1.25rem;
    }

    .cta-desc {
        font-size: 1rem;
        color: var(--tb);
        line-height: 1.75;
        margin-bottom: 3rem;
    }

    .cta-btns {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
        margin-bottom: 3rem;
    }

    .cta-guarantee {
        font-size: 0.78rem;
        color: var(--tm);
    }

    .cta-guarantee strong { color: var(--tb); }

    /* ============================================================
       MODAL
    ============================================================ */
    .modal-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.8);
        backdrop-filter: blur(8px);
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s;
    }

    .modal-overlay.open { opacity: 1; pointer-events: all; }

    .modal {
        background: var(--bg-raise);
        border: 1px solid var(--border-m);
        border-radius: 20px;
        width: 90%;
        max-width: 540px;
        max-height: 85vh;
        overflow-y: auto;
        position: relative;
        transform: translateY(20px);
        transition: transform 0.3s;
    }

    .modal-overlay.open .modal { transform: translateY(0); }

    .modal-close {
        position: absolute;
        top: 14px; right: 16px;
        background: rgba(255,255,255,0.06);
        border: 1px solid var(--border);
        color: var(--tm);
        width: 30px; height: 30px;
        border-radius: 8px;
        cursor: pointer;
        font-size: 0.75rem;
        display: flex; align-items: center; justify-content: center;
        transition: background 0.2s, color 0.2s;
        z-index: 1;
    }

    .modal-close:hover { background: rgba(255,255,255,0.12); color: var(--tw); }

    .modal-cover {
        height: 130px;
        display: flex; align-items: center; justify-content: center;
        font-size: 3rem;
        border-radius: 20px 20px 0 0;
    }

    .modal-body { padding: 1.75rem; }
    .modal-body h2 { font-size: 1.3rem; color: var(--tw); margin-bottom: 0.75rem; }

    .modal-tags {
        display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 1rem;
    }

    .ptag {
        font-size: 0.68rem;
        padding: 3px 10px;
        background: rgba(0,229,255,0.08);
        border: 1px solid rgba(0,229,255,0.2);
        color: var(--cyan);
        border-radius: 100px;
        font-family: 'Source Code Pro', monospace;
        font-weight: 600;
    }

    .modal-body .desc { font-size: 0.875rem; color: var(--tb); line-height: 1.7; margin-bottom: 1.25rem; }

    .modal-features h4 { font-size: 0.85rem; color: var(--tw); margin-bottom: 0.75rem; font-weight: 700; }

    .modal-features ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }

    .modal-features li {
        font-size: 0.83rem; color: var(--tb);
        display: flex; align-items: flex-start; gap: 8px; line-height: 1.5;
    }

    .modal-features li::before {
        content: '✓'; color: var(--cyan);
        font-weight: 700; flex-shrink: 0;
    }

    /* ============================================================
       FOOTER
    ============================================================ */
    .footer {
        background: #030710;
        border-top: 1px solid rgba(0,229,255,0.07);
        padding: 4rem 0 2rem;
    }

    .footer-grid {
        display: grid;
        grid-template-columns: 1.8fr 1fr 1fr 1fr;
        gap: 3rem;
        padding-bottom: 3rem;
        margin-bottom: 3rem;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    .footer-brand p {
        font-size: 0.875rem;
        color: var(--tm);
        line-height: 1.7;
        margin-top: 1rem;
        max-width: 280px;
    }

    .footer-col h3 {
        font-size: 0.72rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        color: var(--tw);
        margin-bottom: 1rem;
    }

    .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }

    .footer-col a {
        text-decoration: none;
        font-size: 0.875rem;
        color: var(--tb);
        transition: color 0.2s;
    }

    .footer-col a:hover { color: var(--tw); }

    .footer-bottom {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 0.78rem;
        color: var(--tm);
        flex-wrap: wrap;
        gap: 1rem;
    }

    /* ============================================================
       RESPONSIVE
    ============================================================ */
    @media (max-width: 1024px) {
        .svc-grid { grid-template-columns: repeat(2, 1fr); }
        .svc-card.wide { grid-column: span 2; }
        .showcase-inner { grid-template-columns: 1fr; }
        .showcase-tabs { flex-direction: row; flex-wrap: wrap; }
        .stab { flex: 1; min-width: 140px; }
        .process-steps { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
        .process-steps::before { display: none; }
        .blog-grid { grid-template-columns: 1fr 1fr; }
        .stats-row { grid-template-columns: repeat(2, 1fr); }
        .footer-grid { grid-template-columns: 1fr 1fr; }
    }

    @media (max-width: 640px) {
        .hero-h1 { letter-spacing: -1px; }
        .svc-grid { grid-template-columns: 1fr; }
        .svc-card.wide { grid-column: span 1; display: block; }
        .process-steps { grid-template-columns: 1fr; }
        .blog-grid { grid-template-columns: 1fr; }
        .stats-row { grid-template-columns: repeat(2, 1fr); }
        .showcase-tabs { flex-direction: column; }
        .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
        .hero-chips { gap: 6px; }
    }
            /* ===== Store Page Specific ===== */
        .store-hero {
            padding: 5rem 0 4rem;
            text-align: center;
            background: radial-gradient(ellipse 80% 55% at 50% 0%, #1A0C00 0%, var(--bg) 65%);
            position: relative;
            overflow: hidden;
            border-bottom: 1px solid var(--border);
        }

        .store-hero-grid {
            position: absolute;
            inset: 0;
            background-image:
                linear-gradient(rgba(255,107,43,0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255,107,43,0.03) 1px, transparent 1px);
            background-size: 60px 60px;
            z-index: 0;
        }

        .store-hero-orb {
            position: absolute;
            border-radius: 50%;
            pointer-events: none;
            z-index: 0;
            width: 360px;
            height: 360px;
            background: radial-gradient(circle, rgba(255,107,43,0.12) 0%, transparent 70%);
            top: -80px;
            left: 50%;
            transform: translateX(-50%);
        }

        .store-hero .container {
            position: relative;
            z-index: 1;
        }

        .store-hero-tag {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(255,107,43,0.12);
            border: 1px solid rgba(255,107,43,0.3);
            color: var(--orange);
            font-size: 0.8rem;
            font-weight: 600;
            padding: 0.4rem 1rem;
            border-radius: 100px;
            margin-bottom: 1.5rem;
            letter-spacing: 0.05em;
            text-transform: uppercase;
        }

        .store-hero h1 {
            font-size: clamp(2rem, 5vw, 3.2rem);
            font-weight: 800;
            color: var(--text-white);
            line-height: 1.2;
            margin-bottom: 1rem;
            letter-spacing: -0.03em;
        }

        .store-hero h1 span {
            color: var(--orange);
        }

        .store-hero p {
            font-size: 1.05rem;
            color: var(--text-body);
            max-width: 540px;
            margin: 0 auto;
            line-height: 1.7;
        }

        /* ===== Filter ===== */
        .store-filters {
            padding: 2.5rem 0 0;
        }

        .filter-tabs {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            flex-wrap: wrap;
        }

        .filter-tab {
            display: inline-block;
            padding: 0.45rem 1.1rem;
            border-radius: 100px;
            font-size: 0.85rem;
            font-weight: 600;
            background: var(--bg-card);
            border: 1px solid var(--border-med);
            color: var(--text-body);
            cursor: pointer;
            transition: background 0.2s, color 0.2s, border-color 0.2s;
            user-select: none;
        }

        .filter-tab:hover {
            background: var(--bg-raised);
            color: var(--text-white);
        }

        .filter-tab.active {
            background: var(--orange);
            border-color: var(--orange);
            color: white;
        }

        /* ===== Store Listing ===== */
        .store-listing {
            padding: 3rem 0;
        }

        .store-listing-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem;
        }

        /* ===== Why Buy Section ===== */
        .why-buy {
            padding: 5rem 0;
            background: var(--bg-card);
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
        }

        .why-buy-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem;
            margin-top: 3rem;
        }

        .why-card {
            background: var(--bg-raised);
            border: 1px solid var(--border);
            border-radius: 14px;
            padding: 2rem 1.75rem;
            text-align: center;
            transition: border-color 0.2s, transform 0.2s;
        }

        .why-card:hover {
            border-color: var(--border-med);
            transform: translateY(-3px);
        }

        .why-icon {
            font-size: 2.2rem;
            margin-bottom: 1rem;
            display: block;
        }

        .why-card h3 {
            font-size: 1.05rem;
            font-weight: 700;
            color: var(--text-white);
            margin-bottom: 0.6rem;
        }

        .why-card p {
            font-size: 0.9rem;
            color: var(--text-body);
            line-height: 1.6;
        }

        @media (max-width: 900px) {
            .store-listing-grid { grid-template-columns: 1fr 1fr; }
            .why-buy-grid { grid-template-columns: 1fr; }
        }
        @media (max-width: 560px) {
            .store-listing-grid { grid-template-columns: 1fr; }
            .filter-tabs { justify-content: flex-start; }
        }

        /* ===================================================
           BLOG PAGE — DARK EDITORIAL MAGAZINE
        =================================================== */

        body {
            background: #111827;
        }

        /* ----- BLOG LAYOUT SHELL ----- */
        .blog-layout {
            display: flex;
            flex-direction: row;
            gap: 2rem;
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem;
            align-items: flex-start;
        }

        /* ----- SIDEBAR ----- */
        .sidebar {
            width: 260px;
            flex-shrink: 0;
            position: sticky;
            top: 80px;
            height: fit-content;
        }

        .sidebar-logo {
            display: block;
            margin-bottom: 1.75rem;
        }

        .sidebar-logo img {
            height: 32px;
            width: auto;
        }

        .sidebar-search {
            width: 100%;
            background: var(--bg-card);
            border: 1px solid var(--border);
            color: var(--text-white);
            border-radius: 8px;
            padding: 0.6rem 1rem;
            font-size: 0.85rem;
            font-family: inherit;
            outline: none;
            transition: border-color 0.2s;
            box-sizing: border-box;
            margin-bottom: 2rem;
        }

        .sidebar-search::placeholder {
            color: var(--text-muted);
        }

        .sidebar-search:focus {
            border-color: var(--orange);
        }

        .sidebar-section {
            margin-bottom: 2rem;
        }

        .sidebar-section h5 {
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--orange);
            font-size: 0.7rem;
            font-weight: 700;
            margin-bottom: 0.75rem;
        }

        /* Category items */
        .cat-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.6rem 0.75rem;
            border-radius: 8px;
            cursor: pointer;
            transition: background 0.2s;
            border-left: 2px solid transparent;
            gap: 0.5rem;
        }

        .cat-item:hover {
            background: rgba(255, 107, 43, 0.08);
        }

        .cat-item.active {
            background: rgba(255, 107, 43, 0.1);
            border-left-color: var(--orange);
        }

        .cat-item-label {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.85rem;
            color: var(--text-body);
            flex: 1;
        }

        .cat-item.active .cat-item-label {
            color: var(--text-white);
        }

        .cat-count {
            background: rgba(255, 107, 43, 0.18);
            color: var(--orange);
            font-size: 0.68rem;
            font-weight: 700;
            padding: 0.15rem 0.5rem;
            border-radius: 100px;
            flex-shrink: 0;
        }

        /* Tag cloud */
        .tag-cloud {
            display: flex;
            flex-wrap: wrap;
            gap: 0.4rem;
        }

        .sidebar-tag {
            display: inline-block;
            border: 1px solid rgba(255, 107, 43, 0.3);
            color: var(--orange);
            font-size: 0.72rem;
            font-weight: 500;
            padding: 0.25rem 0.65rem;
            border-radius: 100px;
            cursor: pointer;
            transition: background 0.2s, border-color 0.2s;
            text-decoration: none;
        }

        .sidebar-tag:hover {
            background: rgba(255, 107, 43, 0.12);
            border-color: var(--orange);
        }

        /* Newsletter card */
        .newsletter-card {
            background: var(--bg-raised);
            border: 1px solid var(--border);
            border-radius: 10px;
            padding: 1.25rem;
        }

        .newsletter-card p {
            font-size: 0.8rem;
            color: var(--text-body);
            margin-bottom: 0.9rem;
            line-height: 1.6;
        }

        .newsletter-input {
            width: 100%;
            background: var(--bg-card);
            border: 1px solid var(--border);
            color: var(--text-white);
            border-radius: 7px;
            padding: 0.55rem 0.85rem;
            font-size: 0.82rem;
            font-family: inherit;
            outline: none;
            box-sizing: border-box;
            margin-bottom: 0.6rem;
            transition: border-color 0.2s;
        }

        .newsletter-input::placeholder {
            color: var(--text-muted);
        }

        .newsletter-input:focus {
            border-color: var(--orange);
        }

        .newsletter-btn {
            width: 100%;
            background: var(--orange);
            color: white;
            border: none;
            border-radius: 7px;
            padding: 0.55rem 1rem;
            font-size: 0.82rem;
            font-weight: 700;
            font-family: inherit;
            cursor: pointer;
            transition: background 0.2s;
        }

        .newsletter-btn:hover {
            background: var(--orange-dark);
        }

        /* ----- MAIN CONTENT ----- */
        .blog-main {
            flex: 1;
            min-width: 0;
        }

        /* Sticky filter bar */
        .filter-bar {
            position: sticky;
            top: 70px;
            z-index: 90;
            background: #111827;
            border-bottom: 1px solid var(--border);
            padding: 0.85rem 0 0.85rem;
            margin-bottom: 2rem;
            display: flex;
            align-items: center;
            gap: 0.4rem;
            flex-wrap: wrap;
        }

        .filter-pill {
            display: inline-block;
            padding: 0.4rem 1rem;
            border-radius: 100px;
            font-size: 0.82rem;
            font-weight: 600;
            background: var(--bg-card);
            border: 1px solid var(--border-med);
            color: var(--text-body);
            cursor: pointer;
            transition: background 0.2s, color 0.2s, border-color 0.2s;
            user-select: none;
        }

        .filter-pill:hover {
            background: var(--bg-raised);
            color: var(--text-white);
        }

        .filter-pill.active {
            background: var(--orange);
            border-color: var(--orange);
            color: white;
        }

        /* ----- FEATURED CARD ----- */
        .featured-card {
            border-radius: 16px;
            overflow: hidden;
            border: 1px solid var(--border);
            margin-bottom: 1.5rem;
            background: var(--bg-card);
            transition: border-color 0.25s, transform 0.25s;
        }

        .featured-card:hover {
            border-color: rgba(255, 107, 43, 0.3);
            transform: translateY(-2px);
        }

        .featured-image {
            height: 320px;
            position: relative;
            background: linear-gradient(135deg, #060A14 0%, #0B1A42 40%, #1A3A8A 70%, #2979FF 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        .featured-image-icon {
            font-size: 5rem;
            z-index: 1;
            position: relative;
            filter: drop-shadow(0 0 32px rgba(41, 121, 255, 0.5));
            user-select: none;
        }

        /* Diagonal slash overlay */
        .featured-slash {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 80px;
            background: var(--bg-card);
            clip-path: polygon(0 100%, 100% 100%, 100% 30%, 0 100%);
            z-index: 2;
        }

        /* Category badge on image */
        .img-badge {
            position: absolute;
            top: 1.1rem;
            left: 1.25rem;
            z-index: 3;
            font-size: 0.72rem;
            font-weight: 700;
            padding: 0.3rem 0.75rem;
            border-radius: 100px;
            letter-spacing: 0.03em;
            text-transform: uppercase;
        }

        .img-badge.ai {
            background: rgba(41, 121, 255, 0.2);
            border: 1px solid rgba(41, 121, 255, 0.4);
            color: #82b1ff;
        }

        .img-badge.devops {
            background: rgba(171, 71, 188, 0.2);
            border: 1px solid rgba(171, 71, 188, 0.4);
            color: #ce93d8;
        }

        .img-badge.coding {
            background: rgba(0, 191, 165, 0.15);
            border: 1px solid rgba(0, 191, 165, 0.35);
            color: #80cbc4;
        }

        .img-badge.cloud {
            background: rgba(129, 212, 250, 0.15);
            border: 1px solid rgba(129, 212, 250, 0.35);
            color: #81d4fa;
        }

        .img-badge.security {
            background: rgba(239, 154, 154, 0.15);
            border: 1px solid rgba(239, 154, 154, 0.35);
            color: #ef9a9a;
        }

        .featured-body {
            padding: 1.5rem 2rem 2rem;
        }

        .featured-body h2 {
            font-size: clamp(1.25rem, 2.5vw, 1.65rem);
            font-weight: 800;
            color: var(--text-white);
            line-height: 1.3;
            letter-spacing: -0.02em;
            margin-bottom: 0.75rem;
        }

        .featured-body p {
            font-size: 0.9rem;
            color: var(--text-body);
            line-height: 1.7;
            margin-bottom: 1.1rem;
        }

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

        .article-meta .meta-dot {
            opacity: 0.4;
        }

        .article-link {
            color: var(--orange);
            font-weight: 700;
            font-size: 0.85rem;
            text-decoration: none;
            transition: color 0.2s;
        }

        .article-link:hover {
            color: var(--orange-dark);
        }

        /* ----- ARTICLE GRID (masonry-like 2-col) ----- */
        .article-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.25rem;
        }

        /* Article card */
        .article-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 12px;
            overflow: hidden;
            transition: border-color 0.25s, transform 0.25s;
            cursor: pointer;
        }

        .article-card:hover {
            border-color: rgba(255, 107, 43, 0.3);
            transform: translateY(-3px);
        }

        .article-image {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        .article-image.tall {
            height: 200px;
        }

        .article-image.short {
            height: 130px;
        }

        .article-image-icon {
            font-size: 2.6rem;
            z-index: 1;
            position: relative;
            user-select: none;
        }

        .article-image.tall .article-image-icon {
            font-size: 3.2rem;
        }

        /* Diagonal slash on article cards */
        .article-slash {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 40px;
            background: var(--bg-card);
            clip-path: polygon(0 100%, 100% 100%, 100% 20%, 0 100%);
            z-index: 2;
        }

        .article-card-body {
            padding: 1rem 1.1rem 1.15rem;
        }

        .article-card-body h3 {
            font-size: 0.92rem;
            font-weight: 700;
            color: var(--text-white);
            line-height: 1.45;
            margin-bottom: 0.5rem;
            letter-spacing: -0.01em;
        }

        .article-card-body p {
            font-size: 0.8rem;
            color: var(--text-body);
            line-height: 1.65;
            margin-bottom: 0.75rem;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        /* ===== IMAGE GRADIENT THEMES ===== */
        .grad-ai-featured {
            background: linear-gradient(135deg, #060A14 0%, #0B1A42 40%, #1A3A8A 70%, #2979FF 100%);
        }

        .grad-devops {
            background: linear-gradient(135deg, #1A0533 0%, #4A0550 50%, #8E24AA 80%, #AB47BC 100%);
        }

        .grad-coding-go {
            background: linear-gradient(135deg, #002830 0%, #00404D 50%, #00838F 80%, #00ACC1 100%);
        }

        .grad-ai-agent {
            background: linear-gradient(135deg, #0D0221 0%, #0D2A5E 50%, #0052CC 80%, #00B8D9 100%);
        }

        .grad-cloud {
            background: linear-gradient(135deg, #0A1628 0%, #133460 50%, #1A5F9E 80%, #4A9FBF 100%);
        }

        .grad-security {
            background: linear-gradient(135deg, #12050C 0%, #5C0B28 50%, #B01050 80%, #E91E63 100%);
        }

        .grad-rag {
            background: linear-gradient(135deg, #0A0800 0%, #3D2A00 50%, #8A6000 80%, #FFA726 100%);
        }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 1024px) {
            .sidebar {
                width: 220px;
            }
        }

        @media (max-width: 860px) {
            .blog-layout {
                flex-direction: column;
                padding: 1.5rem 1rem;
            }

            .sidebar {
                width: 100%;
                position: static;
                display: flex;
                flex-wrap: wrap;
                gap: 1rem;
            }

            .sidebar-logo {
                width: 100%;
            }

            .sidebar-section {
                flex: 1;
                min-width: 200px;
                margin-bottom: 0;
            }

            .filter-bar {
                top: 60px;
            }

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

        @media (max-width: 540px) {
            .featured-body {
                padding: 1rem 1.25rem 1.5rem;
            }

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

/* ── contact page ── */
        /* ===== Page-specific styles ===== */
        body {
            background: #111827;
        }

        /* HERO */
        .page-hero {
            background: radial-gradient(ellipse 60% 50% at 50% 0%, #1A3A7A 0%, #111827 70%);
            padding: 5rem 0 4rem;
            text-align: center;
            min-height: 260px;
            display: flex;
            align-items: center;
        }

        .page-hero .container {
            width: 100%;
        }

        .section-tag {
            display: inline-block;
            background: rgba(255, 107, 43, 0.12);
            color: #FF6B2B;
            border: 1px solid rgba(255, 107, 43, 0.25);
            border-radius: 100px;
            padding: 0.35rem 1rem;
            font-size: 0.82rem;
            font-weight: 600;
            letter-spacing: 0.04em;
            margin-bottom: 1.25rem;
        }

        .page-hero h1 {
            font-size: clamp(1.8rem, 4vw, 2.6rem);
            font-weight: 800;
            color: #F0F6FF;
            line-height: 1.25;
            margin-bottom: 1rem;
            letter-spacing: -0.02em;
        }

        .page-hero p {
            font-size: 1.05rem;
            color: #B8C8DC;
            max-width: 540px;
            margin: 0 auto;
            line-height: 1.7;
        }

        /* CONTACT SECTION */
        .contact-section {
            padding: 5rem 0 6rem;
        }

        .contact-layout {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            max-width: 1100px;
            margin: 0 auto;
        }

        /* FORM CARD */
        .form-card {
            background: #1A2235;
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 16px;
            padding: 2rem;
        }

        .form-card h2 {
            font-size: 1.3rem;
            font-weight: 700;
            color: #F0F6FF;
            margin-bottom: 1.75rem;
        }

        .form-group {
            margin-bottom: 1.25rem;
        }

        .form-group label {
            display: block;
            font-size: 0.83rem;
            color: #B8C8DC;
            font-weight: 500;
            margin-bottom: 0.4rem;
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            background: #111827;
            border: 1px solid rgba(255, 255, 255, 0.12);
            color: #F0F6FF;
            border-radius: 8px;
            padding: 0.75rem 1rem;
            width: 100%;
            outline: none;
            font-family: 'Noto Sans Thai', 'Inter', sans-serif;
            font-size: 0.9rem;
            transition: border-color 0.2s;
            appearance: none;
            -webkit-appearance: none;
        }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: #7A8FA8;
        }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            border-color: #FF6B2B;
        }

        .form-group select {
            cursor: pointer;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A8FA8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 1rem center;
            padding-right: 2.5rem;
        }

        .form-group select option {
            background: #1A2235;
            color: #F0F6FF;
        }

        .form-group textarea {
            resize: vertical;
        }

        .btn-submit {
            display: block;
            width: 100%;
            background: #FF6B2B;
            color: white;
            border: none;
            border-radius: 8px;
            padding: 0.85rem 1.5rem;
            font-size: 0.95rem;
            font-weight: 600;
            font-family: 'Noto Sans Thai', 'Inter', sans-serif;
            cursor: pointer;
            transition: background 0.2s, transform 0.2s;
            margin-top: 0.5rem;
        }

        .btn-submit:hover {
            background: #E55A1C;
            transform: translateY(-1px);
        }

        .form-note {
            text-align: center;
            font-size: 0.8rem;
            color: #7A8FA8;
            margin-top: 0.75rem;
        }

        .success-message {
            display: none;
            background: rgba(16, 185, 129, 0.1);
            border: 1px solid rgba(16, 185, 129, 0.3);
            border-radius: 8px;
            padding: 1rem 1.25rem;
            color: #6EE7B7;
            font-size: 0.9rem;
            text-align: center;
            margin-top: 1rem;
        }

        /* INFO COLUMN */
        .info-column {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .info-card {
            background: #1A2235;
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 16px;
            padding: 1.5rem;
        }

        .info-card h3 {
            font-size: 1rem;
            font-weight: 700;
            color: #F0F6FF;
            margin-bottom: 1.25rem;
        }

        .info-item {
            display: flex;
            gap: 1rem;
            align-items: flex-start;
            margin-bottom: 1.25rem;
        }

        .info-item:last-child {
            margin-bottom: 0;
        }

        .info-icon {
            width: 40px;
            height: 40px;
            min-width: 40px;
            background: rgba(255, 107, 43, 0.12);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            flex-shrink: 0;
        }

        .info-content .info-label {
            font-size: 0.78rem;
            color: #7A8FA8;
            font-weight: 500;
            margin-bottom: 0.15rem;
        }

        .info-content .info-value {
            font-size: 0.92rem;
            color: #F0F6FF;
            font-weight: 500;
        }

        /* Social links card */
        .social-card h3 {
            font-size: 1rem;
            font-weight: 700;
            color: #F0F6FF;
            margin-bottom: 1rem;
        }

        .social-links {
            display: flex;
            flex-direction: column;
            gap: 0.6rem;
        }

        .social-link {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            color: #B8C8DC;
            text-decoration: none;
            font-size: 0.88rem;
            font-weight: 500;
            padding: 0.5rem 0;
            transition: color 0.2s;
        }

        .social-link:hover {
            color: #FF6B2B;
        }

        .social-link svg {
            width: 18px;
            height: 18px;
            flex-shrink: 0;
            opacity: 0.7;
            transition: opacity 0.2s;
        }

        .social-link:hover svg {
            opacity: 1;
        }

        /* Response time card */
        .response-card {
            background: #1F2A40;
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 16px;
            padding: 1.5rem;
        }

        .response-card p {
            font-size: 0.88rem;
            color: #B8C8DC;
            margin-bottom: 1rem;
        }

        .response-badges {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .response-badge {
            background: rgba(41, 121, 255, 0.1);
            border: 1px solid rgba(41, 121, 255, 0.2);
            color: #64B5F6;
            border-radius: 100px;
            padding: 0.3rem 0.85rem;
            font-size: 0.78rem;
            font-weight: 500;
        }

        /* FOOTER */
        .footer {
            background: #1A2235;
            border-top: 1px solid rgba(255, 255, 255, 0.12);
            padding: 4rem 0 2rem;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1.4fr 1fr 1fr 1fr;
            gap: 3rem;
            margin-bottom: 3rem;
        }

        .footer-brand .footer-logo {
            display: flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
            margin-bottom: 1rem;
        }

        .footer-brand .footer-logo img {
            height: 32px;
            width: auto;
            object-fit: contain;
        }

        .footer-brand p {
            font-size: 0.85rem;
            color: #7A8FA8;
            line-height: 1.6;
        }

        .footer-col h4 {
            font-size: 0.85rem;
            font-weight: 700;
            color: #F0F6FF;
            margin-bottom: 1rem;
            letter-spacing: 0.04em;
            text-transform: uppercase;
        }

        .footer-col ul {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 0.6rem;
        }

        .footer-col ul li a {
            font-size: 0.88rem;
            color: #7A8FA8;
            text-decoration: none;
            transition: color 0.2s;
        }

        .footer-col ul li a:hover {
            color: #F0F6FF;
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            padding-top: 1.5rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 0.75rem;
        }

        .footer-bottom p {
            font-size: 0.82rem;
            color: #7A8FA8;
        }

        /* MAP */
        .map-wrapper {
            position: relative;
            margin-top: 3rem;
            border-radius: 16px;
            overflow: hidden;
            border: 1px solid rgba(255,255,255,0.08);
            box-shadow: 0 4px 32px rgba(0,0,0,0.3);
        }

        .map-overlay {
            position: absolute;
            top: 1.5rem;
            left: 1.5rem;
            background: rgba(10, 18, 30, 0.88);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 14px;
            padding: 1.25rem 1.5rem;
            min-width: 220px;
            max-width: 260px;
            display: flex;
            flex-direction: column;
            gap: 0.4rem;
            z-index: 10;
        }

        .map-overlay-icon {
            font-size: 1.4rem;
            line-height: 1;
        }

        .map-overlay-name {
            font-size: 0.95rem;
            font-weight: 700;
            color: #F0F6FF;
            margin: 0;
        }

        .map-overlay-addr {
            font-size: 0.82rem;
            color: #A8C0D6;
            margin: 0;
            line-height: 1.5;
        }

        .map-overlay-divider {
            height: 1px;
            background: rgba(255,255,255,0.1);
            margin: 0.2rem 0;
        }

        .map-overlay-item {
            font-size: 0.82rem;
            color: #A8C0D6;
            margin: 0;
        }

        .map-overlay-btn {
            display: inline-block;
            margin-top: 0.4rem;
            font-size: 0.78rem;
            font-weight: 600;
            color: #FF6B2B;
            text-decoration: none;
            transition: color 0.2s;
        }

        .map-overlay-btn:hover {
            color: #ff8c57;
        }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 768px) {
            .contact-layout {
                grid-template-columns: 1fr;
            }

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

            .footer-brand {
                grid-column: 1 / -1;
            }
        }

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

/* ── about page ── */
        /* ===== Page-specific styles ===== */
        body {
            background: #111827;
        }

        /* HERO */
        .page-hero {
            background: radial-gradient(ellipse 60% 50% at 50% 0%, #1E2A5A 0%, #111827 70%);
            padding: 5rem 0 4.5rem;
            text-align: center;
            min-height: 300px;
            display: flex;
            align-items: center;
        }

        .page-hero .container {
            width: 100%;
        }

        .section-tag {
            display: inline-block;
            background: rgba(255, 107, 43, 0.12);
            color: #FF6B2B;
            border: 1px solid rgba(255, 107, 43, 0.25);
            border-radius: 100px;
            padding: 0.35rem 1rem;
            font-size: 0.82rem;
            font-weight: 600;
            letter-spacing: 0.04em;
            margin-bottom: 1.25rem;
        }

        .page-hero h1 {
            font-size: clamp(1.7rem, 4vw, 2.5rem);
            font-weight: 800;
            color: #F0F6FF;
            line-height: 1.25;
            margin-bottom: 1rem;
            letter-spacing: -0.02em;
        }

        .page-hero p {
            font-size: 1.05rem;
            color: #B8C8DC;
            max-width: 580px;
            margin: 0 auto;
            line-height: 1.75;
        }

        /* ===== SECTION COMMONS ===== */
        .page-section {
            padding: 5rem 0;
        }

        .section-header {
            text-align: center;
            margin-bottom: 3rem;
        }

        .section-header h2 {
            font-size: clamp(1.5rem, 3vw, 2rem);
            font-weight: 800;
            color: #F0F6FF;
            margin-bottom: 0.75rem;
            letter-spacing: -0.02em;
        }

        .section-header p {
            font-size: 1rem;
            color: #B8C8DC;
            max-width: 520px;
            margin: 0 auto;
        }

        /* ===== STORY SECTION ===== */
        .story-section {
            padding: 5rem 0;
            border-top: 1px solid rgba(255, 255, 255, 0.06);
        }

        .story-layout {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            max-width: 1100px;
            margin: 0 auto;
            align-items: center;
        }

        .story-text h2 {
            font-size: clamp(1.5rem, 3vw, 2rem);
            font-weight: 800;
            color: #F0F6FF;
            margin-bottom: 1.25rem;
            letter-spacing: -0.02em;
        }

        .story-text p {
            color: #B8C8DC;
            font-size: 0.95rem;
            line-height: 1.8;
            margin-bottom: 1rem;
        }

        .story-visual {
            background: linear-gradient(135deg, #1A2235, #1F2A40);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 20px;
            padding: 2.5rem;
            position: relative;
            overflow: hidden;
            min-height: 320px;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
        }

        .story-visual-bg {
            position: absolute;
            inset: 0;
            overflow: hidden;
        }

        .story-visual-bg::before {
            content: '';
            position: absolute;
            width: 280px;
            height: 280px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(41, 121, 255, 0.2) 0%, transparent 70%);
            top: -60px;
            right: -60px;
        }

        .story-visual-bg::after {
            content: '';
            position: absolute;
            width: 160px;
            height: 160px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(255, 107, 43, 0.15) 0%, transparent 70%);
            bottom: 20px;
            left: 20px;
        }

        .tech-pattern {
            position: absolute;
            inset: 0;
            display: grid;
            grid-template-columns: repeat(8, 1fr);
            grid-template-rows: repeat(6, 1fr);
            gap: 4px;
            padding: 2rem;
            opacity: 0.15;
        }

        .tech-pattern-dot {
            width: 4px;
            height: 4px;
            border-radius: 50%;
            background: #2979FF;
            margin: auto;
        }

        .story-stats {
            position: relative;
            z-index: 1;
            display: flex;
            gap: 2rem;
        }

        .story-stat {
            text-align: center;
        }

        .story-stat .stat-num {
            font-size: 2rem;
            font-weight: 800;
            color: #FF6B2B;
            line-height: 1;
        }

        .story-stat .stat-label {
            font-size: 0.78rem;
            color: #B8C8DC;
            margin-top: 0.25rem;
        }

        /* ===== VALUES SECTION ===== */
        .values-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem;
            max-width: 1100px;
            margin: 0 auto;
        }

        .value-card {
            background: #1A2235;
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 14px;
            padding: 2rem;
            text-align: center;
            transition: border-color 0.2s, transform 0.2s;
        }

        .value-card:hover {
            border-color: rgba(255, 107, 43, 0.3);
            transform: translateY(-3px);
        }

        .value-icon {
            font-size: 2.2rem;
            margin-bottom: 1rem;
        }

        .value-card h3 {
            font-size: 1rem;
            font-weight: 700;
            color: #F0F6FF;
            margin-bottom: 0.65rem;
        }

        .value-card p {
            font-size: 0.88rem;
            color: #B8C8DC;
            line-height: 1.7;
        }

        /* ===== TEAM SECTION ===== */
        .team-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem;
            max-width: 1100px;
            margin: 0 auto;
        }

        .team-card {
            background: #1A2235;
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 14px;
            padding: 1.75rem;
            text-align: center;
            transition: border-color 0.2s, transform 0.2s;
        }

        .team-card:hover {
            border-color: rgba(41, 121, 255, 0.3);
            transform: translateY(-3px);
        }

        .team-avatar {
            width: 64px;
            height: 64px;
            border-radius: 50%;
            margin: 0 auto 1rem;
            font-size: 1.4rem;
            font-weight: 800;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .avatar-blue   { background: linear-gradient(135deg, #1565C0, #2979FF); }
        .avatar-purple { background: linear-gradient(135deg, #6A1B9A, #AB47BC); }
        .avatar-green  { background: linear-gradient(135deg, #1B5E20, #43A047); }

        .team-card h3 {
            font-size: 1rem;
            font-weight: 700;
            color: #F0F6FF;
            margin-bottom: 0.25rem;
        }

        .team-role {
            font-size: 0.82rem;
            color: #FF6B2B;
            font-weight: 600;
            margin-bottom: 0.75rem;
        }

        .team-bio {
            font-size: 0.85rem;
            color: #B8C8DC;
            line-height: 1.65;
            margin-bottom: 1rem;
        }

        .skill-pills {
            display: flex;
            flex-wrap: wrap;
            gap: 0.4rem;
            justify-content: center;
        }

        .skill-pill {
            background: rgba(41, 121, 255, 0.1);
            color: #64B5F6;
            border: 1px solid rgba(41, 121, 255, 0.2);
            border-radius: 100px;
            padding: 0.22rem 0.65rem;
            font-size: 0.72rem;
            font-weight: 500;
        }

        /* ===== TECH STACK SECTION ===== */
        .tech-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1.25rem;
            max-width: 1100px;
            margin: 0 auto;
        }

        .tech-card {
            background: #1A2235;
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 12px;
            padding: 1.25rem;
            transition: border-color 0.2s;
        }

        .tech-card:hover {
            border-color: rgba(255, 255, 255, 0.22);
        }

        .tech-card-header {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            margin-bottom: 1rem;
        }

        .tech-card-icon {
            font-size: 1.25rem;
        }

        .tech-card h4 {
            font-size: 0.88rem;
            font-weight: 700;
            color: #F0F6FF;
        }

        .tech-list {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 0.35rem;
        }

        .tech-list li {
            font-size: 0.85rem;
            color: #B8C8DC;
            padding-left: 1rem;
            position: relative;
        }

        .tech-list li::before {
            content: '›';
            position: absolute;
            left: 0;
            color: #FF6B2B;
            font-weight: 700;
        }

        /* ===== CTA SECTION ===== */
        .cta-section {
            padding: 0 0 6rem;
        }

        .cta-card {
            background: linear-gradient(135deg, rgba(255, 107, 43, 0.15), rgba(41, 121, 255, 0.15));
            border: 1px solid rgba(255, 107, 43, 0.25);
            border-radius: 20px;
            padding: 3rem;
            text-align: center;
            max-width: 1100px;
            margin: 0 auto;
        }

        .cta-card h2 {
            font-size: clamp(1.5rem, 3vw, 2rem);
            font-weight: 800;
            color: #F0F6FF;
            margin-bottom: 0.75rem;
            letter-spacing: -0.02em;
        }

        .cta-card p {
            font-size: 1rem;
            color: #B8C8DC;
            margin-bottom: 2rem;
        }

        .btn-cta {
            display: inline-block;
            background: white;
            color: #111827;
            text-decoration: none;
            padding: 0.85rem 2rem;
            border-radius: 8px;
            font-size: 0.95rem;
            font-weight: 700;
            font-family: 'Noto Sans Thai', 'Inter', sans-serif;
            transition: background 0.2s, transform 0.2s;
        }

        .btn-cta:hover {
            background: #F0F6FF;
            transform: translateY(-2px);
        }

        /* FOOTER */
        .footer {
            background: #1A2235;
            border-top: 1px solid rgba(255, 255, 255, 0.12);
            padding: 4rem 0 2rem;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1.4fr 1fr 1fr 1fr;
            gap: 3rem;
            margin-bottom: 3rem;
        }

        .footer-brand .footer-logo {
            display: flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
            margin-bottom: 1rem;
        }

        .footer-brand .footer-logo img {
            height: 32px;
            width: auto;
            object-fit: contain;
        }

        .footer-brand p {
            font-size: 0.85rem;
            color: #7A8FA8;
            line-height: 1.6;
        }

        .footer-col h4 {
            font-size: 0.85rem;
            font-weight: 700;
            color: #F0F6FF;
            margin-bottom: 1rem;
            letter-spacing: 0.04em;
            text-transform: uppercase;
        }

        .footer-col ul {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 0.6rem;
        }

        .footer-col ul li a {
            font-size: 0.88rem;
            color: #7A8FA8;
            text-decoration: none;
            transition: color 0.2s;
        }

        .footer-col ul li a:hover {
            color: #F0F6FF;
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            padding-top: 1.5rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 0.75rem;
        }

        .footer-bottom p {
            font-size: 0.82rem;
            color: #7A8FA8;
        }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 900px) {
            .tech-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .story-layout {
                grid-template-columns: 1fr;
            }

            .values-grid,
            .team-grid {
                grid-template-columns: 1fr;
            }

            .tech-grid {
                grid-template-columns: repeat(2, 1fr);
            }

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

            .footer-brand {
                grid-column: 1 / -1;
            }

            .cta-card {
                padding: 2rem 1.5rem;
            }
        }

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

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

/* ── blog detail ── */
        /* ===================================================
           BLOG DETAIL PAGE — DARK EDITORIAL
        =================================================== */

        :root {
            --bg-main:    #111827;
            --bg-card:    #1A2235;
            --bg-raised:  #1F2A40;
            --border:     rgba(255,255,255,0.12);
            --border-med: rgba(255,255,255,0.08);
            --orange:     #FF6B2B;
            --orange-dark:#e05520;
            --blue:       #2979FF;
            --text-white: #F0F6FF;
            --text-body:  #B8C8DC;
            --text-muted: #7A8FA8;
        }

        body {
            background: var(--bg-main);
        }

        /* ====== DETAIL LAYOUT ====== */
        .detail-layout {
            display: flex;
            flex-direction: row;
            gap: 3rem;
            max-width: 1200px;
            margin: 0 auto;
            padding: 3rem 2rem;
            align-items: flex-start;
        }

        .article-content {
            flex: 1;
            min-width: 0;
        }

        .article-sidebar {
            width: 320px;
            flex-shrink: 0;
            position: sticky;
            top: 80px;
            height: fit-content;
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        /* ====== BREADCRUMB ====== */
        .breadcrumb {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.82rem;
            color: var(--text-muted);
            margin-bottom: 2rem;
            flex-wrap: wrap;
        }

        .breadcrumb a {
            color: var(--text-muted);
            text-decoration: none;
            transition: color 0.2s;
        }

        .breadcrumb a:hover {
            color: var(--orange);
        }

        .breadcrumb-sep {
            opacity: 0.4;
            font-size: 0.75rem;
        }

        /* ====== ARTICLE HEADER ====== */
        .article-cat-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            background: rgba(255, 107, 43, 0.12);
            border: 1px solid rgba(255, 107, 43, 0.3);
            color: var(--orange);
            font-size: 0.75rem;
            font-weight: 700;
            padding: 0.3rem 0.85rem;
            border-radius: 100px;
            letter-spacing: 0.02em;
        }

        .article-title {
            font-size: 2rem;
            font-weight: 800;
            color: var(--text-white);
            letter-spacing: -0.5px;
            margin: 1rem 0;
            line-height: 1.3;
        }

        .article-meta {
            display: flex;
            align-items: center;
            gap: 1rem;
            flex-wrap: wrap;
            margin-bottom: 2rem;
        }

        .meta-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--orange), #ff9a56);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            color: white;
            font-size: 0.85rem;
            flex-shrink: 0;
        }

        .meta-author {
            font-size: 0.88rem;
            font-weight: 600;
            color: var(--text-white);
        }

        .meta-info {
            font-size: 0.82rem;
            color: var(--text-muted);
        }

        .meta-dot {
            color: var(--text-muted);
            opacity: 0.45;
        }

        .meta-share {
            display: flex;
            align-items: center;
            gap: 0.4rem;
            margin-left: auto;
        }

        .share-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 30px;
            height: 30px;
            border-radius: 8px;
            border: 1px solid var(--border);
            background: var(--bg-raised);
            color: var(--text-muted);
            cursor: pointer;
            font-size: 0.75rem;
            transition: border-color 0.2s, color 0.2s, background 0.2s;
            text-decoration: none;
        }

        .share-btn:hover {
            border-color: var(--orange);
            color: var(--orange);
            background: rgba(255, 107, 43, 0.08);
        }

        /* ====== FEATURED IMAGE ====== */
        .featured-img {
            height: clamp(200px, 40vw, 480px);
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 2.5rem;
            font-size: 4rem;
            background: linear-gradient(135deg, #0D0221, #0041A8, #00B8D9);
            position: relative;
            overflow: hidden;
        }

        .featured-img-icon {
            position: relative;
            z-index: 1;
            filter: drop-shadow(0 0 40px rgba(0, 184, 217, 0.5));
            user-select: none;
        }

        .featured-img-slash {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 100px;
            background: var(--bg-main);
            clip-path: polygon(0 100%, 100% 100%, 100% 40%, 0 100%);
            z-index: 2;
        }

        /* ====== ARTICLE BODY ====== */
        .article-body {
            max-width: min(680px, 100%);
        }

        .article-body p {
            font-size: 0.97rem;
            line-height: 1.9;
            color: var(--text-body);
            margin-bottom: 1.25rem;
        }
        .article-body p:empty,
        .article-body p:has(> br:only-child) { display: none; }

        .article-body h2 {
            font-size: 1.35rem;
            font-weight: 700;
            color: var(--text-white);
            margin: 2rem 0 0.75rem;
            letter-spacing: -0.02em;
        }

        .article-lead {
            border-left: 3px solid var(--orange);
            padding-left: 1.25rem;
            color: var(--text-body);
            font-size: 1.05rem;
            line-height: 1.85;
            margin-bottom: 1.5rem;
        }

        .code-block {
            background: #0D1117;
            border-radius: 10px;
            padding: 1.25rem 1.5rem;
            font-family: 'SFMono-Regular', 'Consolas', 'Liberation Mono', monospace;
            font-size: 0.84rem;
            color: #a5f3fc;
            border-left: 3px solid var(--orange);
            overflow-x: auto;
            margin: 1.5rem 0;
            line-height: 1.7;
        }

        .code-block .code-comment {
            color: #6e7681;
        }

        .code-block .code-keyword {
            color: #ff7b72;
        }

        .code-block .code-fn {
            color: #d2a8ff;
        }

        .code-block .code-str {
            color: #a5d6ff;
        }

        .article-quote {
            background: var(--bg-card);
            border-left: 3px solid var(--orange);
            padding: 1rem 1.5rem;
            border-radius: 0 8px 8px 0;
            margin: 1.5rem 0;
            font-style: italic;
            color: var(--text-body);
            font-size: 0.97rem;
            line-height: 1.8;
        }

        .article-quote cite {
            display: block;
            margin-top: 0.5rem;
            font-style: normal;
            font-size: 0.82rem;
            color: var(--text-muted);
        }

        .article-list {
            list-style: none;
            padding: 0;
            margin: 0 0 1.25rem 0;
        }

        .article-list li {
            padding-left: 1.5rem;
            position: relative;
            margin-bottom: 0.5rem;
            color: var(--text-body);
            font-size: 0.97rem;
            line-height: 1.8;
        }

        .article-list li::before {
            content: '';
            position: absolute;
            left: 0.35rem;
            top: 0.65em;
            width: 6px;
            height: 6px;
            background: var(--orange);
            border-radius: 50%;
        }

        /* ====== TAGS ====== */
        .article-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-top: 2rem;
            padding-top: 1.5rem;
            border-top: 1px solid var(--border);
        }

        .article-tag {
            display: inline-block;
            border: 1px solid rgba(255, 107, 43, 0.35);
            color: var(--orange);
            font-size: 0.78rem;
            font-weight: 600;
            padding: 0.3rem 0.8rem;
            border-radius: 100px;
            text-decoration: none;
            transition: background 0.2s, border-color 0.2s;
        }

        .article-tag:hover {
            background: rgba(255, 107, 43, 0.1);
            border-color: var(--orange);
        }

        /* ====== AUTHOR CARD ====== */
        .author-card {
            display: flex;
            gap: 1.25rem;
            align-items: flex-start;
            border: 1px solid var(--border);
            border-radius: 14px;
            padding: 1.5rem;
            margin-top: 2.5rem;
            background: var(--bg-card);
        }

        .author-avatar {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--orange), #ff9a56);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
            color: white;
            font-size: 1.2rem;
            flex-shrink: 0;
        }

        .author-info h2 {
            font-size: 0.95rem;
            font-weight: 700;
            color: var(--text-white);
            margin-bottom: 0.4rem;
        }

        .author-info p {
            font-size: 0.82rem;
            color: var(--text-body);
            line-height: 1.65;
            margin-bottom: 0.75rem;
        }

        .author-socials {
            display: flex;
            gap: 0.5rem;
        }

        .author-social-link {
            display: inline-flex;
            align-items: center;
            gap: 0.3rem;
            font-size: 0.76rem;
            color: var(--text-muted);
            text-decoration: none;
            border: 1px solid var(--border);
            padding: 0.25rem 0.65rem;
            border-radius: 6px;
            transition: color 0.2s, border-color 0.2s;
        }

        .author-social-link:hover {
            color: var(--orange);
            border-color: rgba(255, 107, 43, 0.4);
        }

        /* ====== SIDEBAR CARDS ====== */
        .toc-card,
        .related-card,
        .nl-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 14px;
            padding: 1.25rem;
        }

        .toc-card h2,
        .related-card h2,
        .nl-card h2 {
            font-size: 0.72rem;
            text-transform: uppercase;
            letter-spacing: 0.12em;
            color: var(--orange);
            font-weight: 700;
            margin-bottom: 1rem;
        }

        .toc-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .toc-link {
            display: block;
            padding: 0.4rem 0;
            padding-left: 0.75rem;
            font-size: 0.85rem;
            color: var(--text-muted);
            text-decoration: none;
            border-left: 2px solid transparent;
            transition: color 0.2s, border-color 0.2s;
            line-height: 1.5;
        }

        .toc-link:hover {
            color: var(--text-white);
        }

        .toc-link.active {
            border-left-color: var(--orange);
            color: var(--orange);
        }

        /* Related mini cards */
        .related-list {
            display: flex;
            flex-direction: column;
        }

        .related-mini {
            display: flex;
            gap: 0.75rem;
            align-items: center;
            padding: 0.6rem 0;
            border-bottom: 1px solid var(--border);
            text-decoration: none;
            transition: opacity 0.2s;
        }

        .related-mini:last-child {
            border-bottom: none;
        }

        .related-mini:hover {
            opacity: 0.82;
        }

        .related-mini-img {
            width: 56px;
            height: 56px;
            border-radius: 8px;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.4rem;
        }

        .related-mini h3 {
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--text-white);
            line-height: 1.4;
            margin-bottom: 0.2rem;
        }

        .related-mini small {
            font-size: 0.75rem;
            color: var(--text-muted);
        }

        /* Newsletter sidebar card */
        .nl-card p {
            font-size: 0.82rem;
            color: var(--text-body);
            line-height: 1.65;
            margin-bottom: 1rem;
        }

        .nl-input {
            width: 100%;
            background: var(--bg-raised);
            border: 1px solid var(--border);
            color: var(--text-white);
            border-radius: 8px;
            padding: 0.55rem 0.85rem;
            font-size: 0.82rem;
            font-family: inherit;
            outline: none;
            box-sizing: border-box;
            margin-bottom: 0.6rem;
            transition: border-color 0.2s;
        }

        .nl-input::placeholder {
            color: var(--text-muted);
        }

        .nl-input:focus {
            border-color: var(--orange);
        }

        .nl-btn {
            width: 100%;
            background: var(--orange);
            color: white;
            border: none;
            border-radius: 8px;
            padding: 0.6rem 1rem;
            font-size: 0.84rem;
            font-weight: 700;
            font-family: inherit;
            cursor: pointer;
            transition: background 0.2s;
        }

        .nl-btn:hover {
            background: var(--orange-dark);
        }

        /* ====== RELATED ARTICLES SECTION (bottom) ====== */
        .related-section {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem 4rem;
        }

        .related-section-title {
            font-size: 1.3rem;
            font-weight: 800;
            color: var(--text-white);
            letter-spacing: -0.02em;
            margin-bottom: 1.5rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid var(--border);
        }

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

        /* ====== BLOG CARDS (reused from blog/index.html) ====== */
        .blog-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 12px;
            overflow: hidden;
            transition: border-color 0.25s, transform 0.25s;
        }

        .blog-card:hover {
            border-color: rgba(255, 107, 43, 0.3);
            transform: translateY(-3px);
        }

        .blog-card-image {
            position: relative;
            height: 160px;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        .blog-card-image-icon {
            font-size: 2.6rem;
            z-index: 1;
            position: relative;
            user-select: none;
        }

        .blog-card-slash {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 40px;
            background: var(--bg-card);
            clip-path: polygon(0 100%, 100% 100%, 100% 20%, 0 100%);
            z-index: 2;
        }

        .blog-card-badge {
            position: absolute;
            top: 0.85rem;
            left: 1rem;
            z-index: 3;
            font-size: 0.68rem;
            font-weight: 700;
            padding: 0.25rem 0.65rem;
            border-radius: 100px;
            letter-spacing: 0.03em;
            text-transform: uppercase;
        }

        .blog-card-badge.devops {
            background: rgba(171, 71, 188, 0.2);
            border: 1px solid rgba(171, 71, 188, 0.4);
            color: #ce93d8;
        }

        .blog-card-badge.coding {
            background: rgba(0, 191, 165, 0.15);
            border: 1px solid rgba(0, 191, 165, 0.35);
            color: #80cbc4;
        }

        .blog-card-badge.cloud {
            background: rgba(129, 212, 250, 0.15);
            border: 1px solid rgba(129, 212, 250, 0.35);
            color: #81d4fa;
        }

        .blog-card-body {
            padding: 1rem 1.1rem 1.15rem;
        }

        .blog-card-body h3 {
            font-size: 0.9rem;
            font-weight: 700;
            color: var(--text-white);
            line-height: 1.45;
            margin-bottom: 0.5rem;
            letter-spacing: -0.01em;
        }

        .blog-card-body p {
            font-size: 0.8rem;
            color: var(--text-body);
            line-height: 1.65;
            margin-bottom: 0.75rem;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .blog-card-meta {
            display: flex;
            align-items: center;
            gap: 0.4rem;
            font-size: 0.76rem;
            color: var(--text-muted);
            flex-wrap: wrap;
        }

        .blog-card-link {
            color: var(--orange);
            font-weight: 700;
            font-size: 0.82rem;
            text-decoration: none;
            transition: color 0.2s;
            margin-left: auto;
        }

        .blog-card-link:hover {
            color: var(--orange-dark);
        }

        /* ====== GRADIENT PRESETS ====== */
        .grad-ai-featured {
            background: linear-gradient(135deg, #060A14 0%, #0B1A42 40%, #1A3A8A 70%, #2979FF 100%);
        }

        .grad-devops {
            background: linear-gradient(135deg, #1A0533 0%, #4A0550 50%, #8E24AA 80%, #AB47BC 100%);
        }

        .grad-coding-go {
            background: linear-gradient(135deg, #002830 0%, #00404D 50%, #00838F 80%, #00ACC1 100%);
        }

        .grad-cloud {
            background: linear-gradient(135deg, #0A1628 0%, #133460 50%, #1A5F9E 80%, #4A9FBF 100%);
        }

        .grad-llm {
            background: linear-gradient(135deg, #0D0221 0%, #0041A8 50%, #00B8D9 100%);
        }

        /* ====== RESPONSIVE ====== */
        @media (max-width: 900px) {
            .detail-layout {
                flex-direction: column;
                padding: 2rem 1.25rem;
                gap: 2rem;
            }

            .article-sidebar {
                width: 100%;
                position: static;
            }

            .article-title {
                font-size: clamp(1.3rem, 4vw, 1.6rem);
            }

            .related-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .related-section {
                padding: 0 1.25rem 3rem;
            }

            .meta-share {
                margin-left: 0;
            }

            .article-body p {
                font-size: 0.95rem;
            }
        }

        @media (max-width: 600px) {
            .detail-layout {
                padding: 1.25rem 1rem;
                gap: 1.5rem;
            }

            .article-title {
                font-size: clamp(1.2rem, 5vw, 1.4rem);
            }

            .featured-img {
                border-radius: 10px;
                margin-bottom: 1.75rem;
            }

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

            .related-section {
                padding: 0 1rem 2.5rem;
            }

            .blog-card-image {
                height: 140px;
            }

            .author-card {
                flex-direction: column;
            }

            .article-lead {
                font-size: 0.95rem;
            }

            .breadcrumb {
                font-size: 0.78rem;
            }
        }


/* ===== Missing Store & Modal Components ===== */

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: -0.5px;
    margin-bottom: 0.75rem;
}

.section-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto;
}

.ptag {
    background: rgba(41,121,255,0.1);
    color: var(--primary-light);
    padding: 0.2rem 0.65rem;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 600;
    border: 1px solid rgba(41,121,255,0.2);
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.94) translateY(20px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.btn-detail {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 1.5px solid var(--border-med);
    color: var(--text-body);
    padding: 0.5rem 1.1rem;
    border-radius: 7px;
    font-size: 0.83rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
    font-family: inherit;
}

.btn-detail:hover {
    border-color: var(--orange);
    color: var(--orange);
}

/* ===== MODAL ===== */
@keyframes modalIn {
    from { opacity: 0; transform: scale(0.94) translateY(20px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}


.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.modal-overlay.open {
    display: flex;
}

.modal {
    background: var(--bg-card);
    border: 1px solid var(--border-med);
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    animation: modalIn 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 1rem; right: 1rem;
    background: var(--bg-raised);
    border: 1px solid var(--border);
    width: 32px; height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
    z-index: 1;
}
.modal-close:hover { background: var(--border); color: white; }

.modal-cover {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px 16px 0 0;
    font-size: 4rem;
}

.modal-body {
    padding: 1.75rem 2rem 2rem;
}

.modal-body h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.modal-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.modal-body .desc {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.modal-features h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.modal-features ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.modal-features li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.88rem;
    color: var(--text-body);
}

.modal-features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.store-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.28s, box-shadow 0.28s, border-color 0.28s;
}

.store-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.5);
    border-color: rgba(255,107,43,0.3);
}

.store-cover {
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.store-cover-pattern {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        45deg,
        rgba(255,255,255,0.04) 0px,
        rgba(255,255,255,0.04) 1px,
        transparent 1px,
        transparent 16px
    );
}

.store-icon {
    font-size: 2.6rem;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.25));
}

.store-body { padding: 1rem; }

.store-body h2 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-white);
    margin: 0.5rem 0 0.4rem;
    line-height: 1.35;
}

.store-body > p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.price-label {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
}

.price-value {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--orange);
    letter-spacing: -0.5px;
}

.price-period {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-left: 2px;
}

.store-actions {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.btn-buy {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--orange);
    color: white;
    padding: 0.5rem 1.1rem;
    border-radius: 7px;
    font-size: 0.83rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    font-family: inherit;
    white-space: nowrap;
}
.btn-buy:hover {
    background: var(--orange-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255,107,43,0.35);
}

.store-tags {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.store-tags .ptag {
    font-size: 0.68rem;
    padding: 2px 7px;
}

.store-price {
    padding-top: 0.75rem;
    margin-top: 0.5rem;
}

.product-features {
    font-size: 0.75rem;
    padding-left: 1rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 640px) {
    .store-price { flex-direction: column; align-items: flex-start; }
}


/* ============================================================
   OBOT — AI CHAT DEMO SECTION
   Home page chatbot widget with animated robot
============================================================ */

/* ── Section shell ── */
.obot-section {
    padding: 6rem 0 5rem;
    background: radial-gradient(ellipse 70% 45% at 50% 100%, rgba(41,121,255,0.07) 0%, transparent 70%);
    border-top: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.obot-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(41,121,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(41,121,255,0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

/* ── Main layout grid ── */
.obot-wrap {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
    align-items: start;
}

/* ─────────────────────────────────────────────────────────
   ROBOT PANEL
───────────────────────────────────────────────────────── */
.obot-robot-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-top: 0.5rem;
}

.obot-svg-wrap {
    position: relative;
    width: 160px;
}

.obot-glow-bg {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(41,121,255,0.18) 0%, transparent 70%);
    animation: obot-glow-pulse 3s ease-in-out infinite;
    pointer-events: none;
}

.obot-svg {
    width: 160px;
    display: block;
    position: relative;
    z-index: 1;
}

/* ── Name plate ── */
.obot-nameplate {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.obot-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--tw);
    letter-spacing: 0.1em;
}

.obot-badge-ai {
    font-size: 0.65rem;
    font-weight: 700;
    background: linear-gradient(135deg, #2979FF, #00E5FF);
    color: #fff;
    padding: 2px 7px;
    border-radius: 100px;
    letter-spacing: 0.05em;
}

/* ── Status row ── */
.obot-status-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--tm);
}

.obot-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ADE80;
    animation: status-blink 2s ease-in-out infinite;
    flex-shrink: 0;
}

.obot-status-dot.thinking { background: #F59E0B; animation: status-blink 0.5s ease-in-out infinite; }
.obot-status-dot.talking  { background: #2979FF; animation: status-blink 0.3s ease-in-out infinite; }

/* ─────────────────────────────────────────────────────────
   ROBOT STATE ANIMATIONS
───────────────────────────────────────────────────────── */

/* Idle — gentle float */
.obot-state-idle .obot-svg-wrap {
    animation: obot-float 3.2s ease-in-out infinite;
}

/* Thinking — head tilt left-right */
.obot-state-thinking .obot-svg-wrap {
    animation: obot-think 0.9s ease-in-out infinite;
}

/* Talking — excited bounce */
.obot-state-talking .obot-svg-wrap {
    animation: obot-talk 0.42s ease-in-out infinite;
}

/* ── Eyes ── */
.obot-eye {
    transform-box: fill-box;
    transform-origin: center;
    animation: obot-blink 4.5s ease-in-out infinite;
}

/* Thinking: pupils scan side to side */
.obot-state-thinking .obot-pupil-l {
    animation: pupil-scan 1.1s ease-in-out infinite;
}
.obot-state-thinking .obot-pupil-r {
    animation: pupil-scan 1.1s ease-in-out infinite 0.12s;
}

/* ── Antenna orb ── */
.obot-antenna {
    animation: obot-antenna-pulse 2s ease-in-out infinite;
}
.obot-state-thinking .obot-antenna { animation-duration: 0.6s; }
.obot-state-talking  .obot-antenna { animation-duration: 0.3s; }

/* ── Mouth LEDs ── (active only while talking) */
.obot-state-talking .obot-mouth.m1 { animation: mouth-flash 0.22s ease-in-out infinite; }
.obot-state-talking .obot-mouth.m2 { animation: mouth-flash 0.22s ease-in-out infinite 0.06s; }
.obot-state-talking .obot-mouth.m3 { animation: mouth-flash 0.22s ease-in-out infinite 0.12s; }
.obot-state-talking .obot-mouth.m4 { animation: mouth-flash 0.22s ease-in-out infinite 0.06s; }
.obot-state-talking .obot-mouth.m5 { animation: mouth-flash 0.22s ease-in-out infinite; }

/* ── Chest LEDs ── */
.obot-led { animation: led-glow 2.4s ease-in-out infinite; }
.obot-led.l1 { animation-delay: 0s; }
.obot-led.l2 { animation-delay: 0.4s; }
.obot-led.l3 { animation-delay: 0.8s; }

.obot-state-thinking .obot-led { animation-duration: 0.5s; }
.obot-state-talking  .obot-led { animation-duration: 0.25s; }

/* ── Progress bar ── */
.obot-bar-fill {
    animation: bar-idle 3s ease-in-out infinite;
}
.obot-state-thinking .obot-bar-fill {
    animation: bar-scan 1s linear infinite;
}

/* ─────────────────────────────────────────────────────────
   KEYFRAMES
───────────────────────────────────────────────────────── */
@keyframes obot-float {
    0%, 100% { transform: translateY(0px); }
    50%      { transform: translateY(-10px); }
}
@keyframes obot-think {
    0%, 100% { transform: rotate(-3deg) translateY(-2px); }
    50%      { transform: rotate(3deg)  translateY(-2px); }
}
@keyframes obot-talk {
    0%, 100% { transform: translateY(0px) scale(1); }
    25%      { transform: translateY(-5px) scale(1.02); }
    75%      { transform: translateY(2px) scale(0.98); }
}
@keyframes obot-blink {
    0%, 88%, 100% { transform: scaleY(1); }
    93%           { transform: scaleY(0.06); }
}
@keyframes pupil-scan {
    0%, 100% { transform: translateX(0); }
    30%      { transform: translateX(-4px); }
    70%      { transform: translateX(4px); }
}
@keyframes obot-antenna-pulse {
    0%, 100% { opacity: 1; filter: drop-shadow(0 0 5px #FF6B2B); }
    50%      { opacity: 0.4; filter: drop-shadow(0 0 12px #FF6B2B); }
}
@keyframes mouth-flash {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.15; }
}
@keyframes led-glow {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.35; }
}
@keyframes bar-idle {
    0%, 100% { width: 52px; }
    50%      { width: 68px; }
}
@keyframes bar-scan {
    0%   { x: 40; width: 0; }
    50%  { x: 40; width: 80px; }
    100% { x: 40; width: 0; }
}
@keyframes obot-glow-pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50%      { opacity: 1; transform: scale(1.1); }
}
@keyframes status-blink {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.3; }
}

/* ─────────────────────────────────────────────────────────
   CHAT CARD
───────────────────────────────────────────────────────── */
.obot-chat-card {
    background: var(--bg-card, #0D1526);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 520px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.4), 0 0 0 1px rgba(41,121,255,0.1) inset;
}

/* Title bar — macOS style */
.obot-chat-titlebar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
}

.obot-titlebar-dots { display: flex; gap: 5px; }
.tbd {
    width: 11px; height: 11px; border-radius: 50%;
}
.tbd-r { background: #FF5F57; }
.tbd-y { background: #FFBD2E; }
.tbd-g { background: #28C840; }

.obot-titlebar-name {
    flex: 1;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--tm, #4A6480);
    letter-spacing: 0.02em;
}

.obot-titlebar-secure {
    font-size: 0.7rem;
    color: var(--tm, #4A6480);
    opacity: 0.6;
}

/* Messages area */
.obot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    scroll-behavior: smooth;
}

.obot-messages::-webkit-scrollbar { width: 4px; }
.obot-messages::-webkit-scrollbar-track { background: rgba(255,107,43,0.05); border-radius: 2px; }
.obot-messages::-webkit-scrollbar-thumb { background: rgba(255,107,43,0.35); border-radius: 2px; }
.obot-messages::-webkit-scrollbar-thumb:hover { background: rgba(255,107,43,0.65); }

/* Message rows */
.obot-msg-row {
    display: flex;
    flex-direction: column;
    gap: 3px;
    max-width: 78%;
}
.obot-msg-row.bot  { align-self: flex-start; align-items: flex-start; }
.obot-msg-row.user { align-self: flex-end; align-items: flex-end; }

/* Bubbles */
.obot-bubble {
    padding: 0.65rem 0.95rem;
    border-radius: 16px;
    font-size: 0.88rem;
    line-height: 1.55;
}

.obot-msg-row.bot  .obot-bubble {
    background: rgba(41,121,255,0.12);
    border: 1px solid rgba(41,121,255,0.2);
    color: var(--tw, #F0F6FF);
    border-bottom-left-radius: 4px;
}

.obot-msg-row.user .obot-bubble {
    background: rgba(255,107,43,0.15);
    border: 1px solid rgba(255,107,43,0.25);
    color: var(--tw, #F0F6FF);
    border-bottom-right-radius: 4px;
}

.obot-msg-time {
    font-size: 0.68rem;
    color: var(--tm, #4A6480);
    padding: 0 4px;
}

/* Typing indicator */
.obot-typing {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0.7rem 1rem;
}

.obot-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(41,121,255,0.6);
    animation: dot-bounce 1.3s ease-in-out infinite;
}
.obot-dot:nth-child(2) { animation-delay: 0.18s; }
.obot-dot:nth-child(3) { animation-delay: 0.36s; }

@keyframes dot-bounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30%           { transform: translateY(-6px); opacity: 1; }
}

/* Quick chips */
.obot-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0.5rem 1rem 0;
    flex-shrink: 0;
}

.obot-chip {
    background: rgba(41,121,255,0.08);
    border: 1px solid rgba(41,121,255,0.22);
    color: var(--tb, #8AAAC8);
    font-size: 0.78rem;
    font-weight: 500;
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    white-space: nowrap;
}
.obot-chip:hover {
    background: rgba(41,121,255,0.18);
    border-color: rgba(41,121,255,0.5);
    color: var(--tw, #F0F6FF);
}

/* Input bar */
.obot-input-row {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.02);
    flex-shrink: 0;
}

.obot-input {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 0.6rem 0.9rem;
    color: var(--tw, #F0F6FF);
    font-family: inherit;
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.2s;
}
.obot-input::placeholder { color: var(--tm, #4A6480); }
.obot-input:focus { border-color: rgba(41,121,255,0.5); }
.obot-input:disabled { opacity: 0.5; cursor: not-allowed; }

.obot-send {
    background: #2979FF;
    border: none;
    border-radius: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    transition: background 0.2s, transform 0.15s;
    flex-shrink: 0;
}
.obot-send:hover:not(:disabled) { background: #1565C0; transform: scale(1.05); }
.obot-send:disabled { opacity: 0.4; cursor: not-allowed; }

/* ─────────────────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────────────── */
@media (max-width: 700px) {
    .obot-wrap {
        grid-template-columns: 1fr;
    }
    .obot-robot-panel {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
        padding-top: 0;
    }
    .obot-svg-wrap { width: 110px; }
    .obot-svg      { width: 110px; }
    .obot-chat-card { height: 420px; }
}


/* ── Global gradient-text (used in section titles, not just hero) ── */
.gradient-text {
    background: linear-gradient(90deg, #FF6B2B 0%, #FF9A5C 40%, #00E5FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── x-cloak: hide until Alpine.js initialises ── */
[x-cloak] { display: none !important; }

/* ── SVG animated elements need fill-box for correct transform-origin ── */
.obot-pupil-l,
.obot-pupil-r {
    transform-box: fill-box;
    transform-origin: center;
}

/* ══════════════════════════════════════════════════════════
   OBOT FAB WIDGET
══════════════════════════════════════════════════════════ */

/* FAB button */
/* ── FAB Button — Siri AI style ────────────────────── */
.obot-fab-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #060c1a;
    border: none;
    outline: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
    transition: transform 0.2s ease;
    box-shadow: 0 4px 24px rgba(101,31,255,0.3), 0 0 40px rgba(0,229,255,0.08);
    animation: obot-btn-glow 3s ease-in-out infinite;
}
.obot-fab-btn:hover { transform: scale(1.06); }
.obot-fab-btn svg   { pointer-events: none; flex-shrink: 0; }

@keyframes obot-btn-glow {
    0%,100% { box-shadow: 0 4px 24px rgba(101,31,255,0.3), 0 0 40px rgba(0,229,255,0.08); }
    50%      { box-shadow: 0 4px 32px rgba(101,31,255,0.5), 0 0 60px rgba(0,229,255,0.2); }
}

/* ── Siri orb inside button ─────────────────────── */
.obot-siri-orb {
    position: relative;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    /* base deep purple */
    background: radial-gradient(circle at 40% 35%, #c47bff 0%, #651fff 45%, #1a0850 100%);
}

/* Blob 1 — cyan-blue, slow drift top-right */
.obot-siri-blob.b1 {
    position: absolute;
    width: 60%;  height: 60%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,229,255,0.85) 0%, transparent 70%);
    top: -10%; left: 10%;
    animation: obot-blob1 6s ease-in-out infinite;
    filter: blur(4px);
    mix-blend-mode: screen;
}
/* Blob 2 — pink-purple, medium drift */
.obot-siri-blob.b2 {
    position: absolute;
    width: 70%;  height: 70%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(224,64,251,0.7) 0%, transparent 65%);
    bottom: -15%; right: -15%;
    animation: obot-blob2 5s ease-in-out infinite;
    filter: blur(5px);
    mix-blend-mode: screen;
}
/* Blob 3 — blue, slow pulse */
.obot-siri-blob.b3 {
    position: absolute;
    width: 55%;  height: 55%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(41,121,255,0.9) 0%, transparent 70%);
    top: 25%; left: 20%;
    animation: obot-blob3 4s ease-in-out infinite;
    filter: blur(3px);
    mix-blend-mode: screen;
}
/* Specular highlight */
.obot-siri-shine {
    position: absolute;
    top: 6%; left: 14%;
    width: 38%; height: 30%;
    border-radius: 50%;
    background: rgba(255,255,255,0.38);
    filter: blur(2px);
    pointer-events: none;
}

/* Active state — faster + brighter when AI is talking */
.obot-siri-orb.obot-siri-active .obot-siri-blob.b1 { animation-duration: 1.8s; }
.obot-siri-orb.obot-siri-active .obot-siri-blob.b2 { animation-duration: 1.4s; }
.obot-siri-orb.obot-siri-active .obot-siri-blob.b3 { animation-duration: 1.2s; }

@keyframes obot-blob1 {
    0%,100% { transform: translate(0,0)   scale(1);    opacity: 0.85; }
    33%      { transform: translate(8px,-6px) scale(1.1); opacity: 1; }
    66%      { transform: translate(-4px,8px) scale(0.9); opacity: 0.75; }
}
@keyframes obot-blob2 {
    0%,100% { transform: translate(0,0)    scale(1);    opacity: 0.7; }
    40%      { transform: translate(-10px,6px) scale(1.15); opacity: 0.95; }
    70%      { transform: translate(6px,-8px)  scale(0.88); opacity: 0.6; }
}
@keyframes obot-blob3 {
    0%,100% { transform: translate(0,0)   scale(1);    opacity: 0.8; }
    50%      { transform: translate(6px,5px) scale(1.2); opacity: 1; }
}

/* Unread badge */
/* Speech bubble beside FAB */
.obot-fab-bubble {
    position: absolute;
    right: 76px;
    bottom: 12px;
    background: #fff;
    color: #1a1a2e;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 20px 20px 4px 20px;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    animation: obot-bubble-in 0.3s ease both;
    pointer-events: none;
}
.obot-fab-bubble::after {
    content: '';
    position: absolute;
    right: -6px;
    bottom: 6px;
    width: 0; height: 0;
    border: 6px solid transparent;
    border-left-color: #fff;
    border-right: 0;
}
@keyframes obot-bubble-in {
    from { opacity: 0; transform: scale(0.85) translateX(8px); }
    to   { opacity: 1; transform: scale(1)    translateX(0); }
}

.obot-fab-badge {
    position: absolute;
    top: 6px; right: 6px;
    width: 10px; height: 10px;
    background: #FF6B2B;
    border-radius: 50%;
    border: 2px solid #020A1A;
    animation: status-blink 1.5s ease-in-out infinite;
}

/* Chat panel */
.obot-fab-panel {
    position: absolute;
    bottom: 78px;
    right: 0;
    width: 360px;
    min-height: 550px;
    max-height: calc(100vh - 200px);
    background: rgba(8, 15, 28, 0.72);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-radius: 16px;
    border: 1px solid rgba(255, 107, 43, 0.15);
    box-shadow: 0 20px 60px rgba(0,0,0,0.65), 0 0 0 1px rgba(255,255,255,0.04), inset 0 1px 0 rgba(255,255,255,0.06);
    display: flex;
    flex-direction: column;
    overflow: visible;
    transform-origin: bottom right;
}
/* clip panel's own visual background to its border-radius */
.obot-fab-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,107,43,0.04) 0%, rgba(41,121,255,0.04) 100%);
    border-radius: 16px;
    z-index: 0;
    pointer-events: none;
}
.obot-fab-panel > * { position: relative; z-index: 1; }

/* Robot peek above panel */
.obot-fab-peek {
    position: absolute;
    top: -104px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    text-align: center;
    pointer-events: none;
    z-index: 2;
}
.obot-fab-peek .obot-glow-bg {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,229,255,0.15) 0%, transparent 70%);
    pointer-events: none;
}

/* Panel header */
.obot-fab-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255,107,43,0.12);
    background: rgba(8,15,28,0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 16px 16px 0 0;
    flex-shrink: 0;
}
.obot-fab-close {
    margin-left: auto;
    background: none;
    border: none;
    color: rgba(255,255,255,0.45);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s, background 0.15s;
}
.obot-fab-close:hover { color: #fff; background: rgba(255,255,255,0.08); }

/* Messages inside FAB panel */
.obot-fab-panel .obot-messages {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Chips inside FAB panel */
.obot-fab-panel .obot-chips {
    padding: 6px 14px 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    border-top: 1px solid rgba(41,121,255,0.1);
}

/* Input inside FAB panel */
.obot-fab-panel .obot-input-row {
    padding: 10px 12px;
    border-top: 1px solid rgba(255,107,43,0.12);
    border-radius: 0 0 16px 16px;
    background: rgba(6,11,20,0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    flex-shrink: 0;
}

/* Alpine transitions */
.obot-fab-enter         { transition: opacity 0.18s ease, transform 0.18s ease; }
.obot-fab-enter-from    { opacity: 0; transform: scale(0.92) translateY(10px); }
.obot-fab-enter-to      { opacity: 1; transform: scale(1) translateY(0); }
.obot-fab-leave         { transition: opacity 0.14s ease, transform 0.14s ease; }
.obot-fab-leave-from    { opacity: 1; transform: scale(1) translateY(0); }
.obot-fab-leave-to      { opacity: 0; transform: scale(0.92) translateY(10px); }

@media (max-width: 420px) {
    .obot-fab-panel { width: calc(100vw - 32px); right: 0; }
}

/* ── reCAPTCHA badge — move above OBOT FAB ──────────── */
.grecaptcha-badge {
    bottom: 100px !important;
}

/* ── Flash Alert ─────────────────────────────────────── */
.flash-alert {
    position: fixed; top: 72px; left: 50%; transform: translateX(-50%);
    z-index: 500; padding: 12px 20px; border-radius: 10px;
    font-size: 0.88rem; font-weight: 600;
    display: flex; align-items: center; gap: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    animation: slideDown 0.3s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateX(-50%) translateY(-10px); }
}
.flash-success { background: rgba(74,222,128,0.15); border: 1px solid rgba(74,222,128,0.3); color: #4ADE80; }
.flash-error   { background: rgba(255,107,43,0.15);  border: 1px solid rgba(255,107,43,0.3);  color: #FF6B2B; }
.flash-close   { background: none; border: none; cursor: pointer; color: inherit; font-size: 0.8rem; padding: 0; }

/* ── Active nav link ─────────────────────────────────── */
.nav-links a.active { color: var(--tw); }
