/*
Theme Name:  Tech Behaviour
Theme URI:   https://techbehaviour.com
Author:      HashtagWeb
Author URI:  https://hashtagweb.in
Description: A dark, orange-accented landing theme for Tech Behaviour — AI-powered consumer technology intelligence. Converts survey responses into actionable business decisions. Includes hero, features, pricing, live demo, and an app-style dashboard with an AI assistant.
Version:     1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: techbehaviour
Tags:        dark, orange, landing-page, ai, dashboard, business, one-column
*/

/* ── Design tokens ────────────────────────────────────────────────────────
   Orange #FF6B00 | Near-black #0D0D0F | Surface #141418 | Card #1A1A22
   Accent glow: rgba(255,107,0,0.18)
   Type: "Space Grotesk" (display/UI), "Inter" (body/data)
*/
:root {
    --tb-orange: #FF6B00;
    --tb-orange-dim: #C95300;
    --tb-orange-glow: rgba(255, 107, 0, 0.18);
    --tb-orange-glow2: rgba(255, 107, 0, 0.08);
    --tb-bg: #0D0D0F;
    --tb-surface: #141418;
    --tb-card: #1A1A22;
    --tb-card-hover: #20202A;
    --tb-border: rgba(255, 255, 255, 0.07);
    --tb-border-orange: rgba(255, 107, 0, 0.3);
    --tb-text: #F0F0F5;
    --tb-muted: #8B8B9A;
    --tb-dim: #4A4A5A;
    --tb-green: #4ADE80;
    --tb-font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --tb-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --tb-nav-height: 64px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--tb-bg);
    color: var(--tb-text);
    font-family: var(--tb-font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--tb-orange);
    text-decoration: none;
    transition: color 0.2s;
}

input,
button,
textarea,
select {
    font-family: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--tb-font-display);
    color: var(--tb-text);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

p {
    color: var(--tb-muted);
}

::selection {
    background: var(--tb-orange);
    color: #fff;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--tb-surface);
}

::-webkit-scrollbar-thumb {
    background: var(--tb-dim);
    border-radius: 99px;
}

@keyframes tb-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.4;
    }
}

/* ── Shared bits ───────────────────────────────────────────────────────── */
.tb-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 99px;
    background: rgba(255, 107, 0, 0.12);
    border: 1px solid var(--tb-border-orange);
    color: var(--tb-orange);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: var(--tb-font-display);
}

.tb-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tb-tag {
    background: var(--tb-orange-glow2);
    border: 1px solid var(--tb-border-orange);
    color: var(--tb-orange);
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 99px;
    letter-spacing: 0.06em;
    font-family: var(--tb-font-display);
}

/* ── Buttons ───────────────────────────────────────────────────────────── */
.tb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    font-family: var(--tb-font-display);
    text-decoration: none;
    transition: all 0.2s ease;
}

.tb-btn-primary {
    background: var(--tb-orange);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(255, 107, 0, 0.35);
}

.tb-btn-primary:hover {
    color: #fff;
    transform: translateY(-1px);
}

.tb-btn-ghost {
    background: none;
    border: 1px solid var(--tb-border);
    color: var(--tb-muted);
    font-weight: 500;
}

.tb-btn-ghost:hover {
    border-color: var(--tb-border-orange);
    color: var(--tb-text);
}

.tb-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--tb-border);
    color: var(--tb-text);
    font-weight: 600;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.tb-btn-dark {
    background: rgba(255, 255, 255, 0.07);
    border: none;
    color: var(--tb-text);
    font-weight: 700;
}

.tb-btn-dark:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--tb-text);
}

.tb-btn-sm {
    font-size: 13px;
    padding: 8px 18px;
    border-radius: 8px;
}

.tb-btn-md {
    font-size: 13px;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 8px;
}

.tb-btn-lg {
    font-size: 15px;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 12px;
}

.tb-btn-lg.tb-btn-primary {
    box-shadow: 0 8px 32px rgba(255, 107, 0, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.tb-btn-lg.tb-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(255, 107, 0, 0.5);
}

.tb-btn-xl {
    font-size: 16px;
    font-weight: 700;
    padding: 16px 44px;
    border-radius: 14px;
    box-shadow: 0 12px 48px rgba(255, 107, 0, 0.4);
}

/* ── Nav ───────────────────────────────────────────────────────────────── */
.tb-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 40px;
    height: var(--tb-nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.tb-nav.scrolled {
    background: rgba(13, 13, 15, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--tb-border);
}

.tb-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
    flex-shrink: 0;
}

.tb-logo:hover {
    text-decoration: none;
}

.tb-logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--tb-orange), #FF9500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 900;
    color: #fff;
    font-family: var(--tb-font-display);
    flex-shrink: 0;
}

.tb-logo-text {
    color: var(--tb-text);
    font-weight: 800;
    font-size: 18px;
    font-family: var(--tb-font-display);
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.tb-logo-text em {
    color: var(--tb-orange);
    font-style: normal;
}

.tb-nav-links {
    display: flex;
    gap: 6px;
    align-items: center;
}

.tb-nav-links li {
    list-style: none;
}

.tb-nav-links li a {
    display: block;
    padding: 6px 14px;
    border-radius: 8px;
    color: var(--tb-muted);
    font-size: 13px;
    font-weight: 500;
    font-family: var(--tb-font-display);
    text-decoration: none;
    transition: color 0.2s;
}

.tb-nav-links li a:hover,
.tb-nav-links li.current-menu-item a {
    color: var(--tb-text);
}

.tb-nav-link {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--tb-muted);
    font-size: 13px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 8px;
    font-family: var(--tb-font-display);
    text-decoration: none;
    transition: color 0.2s;
}

.tb-nav-link:hover {
    color: var(--tb-text);
    text-decoration: none;
}

.tb-nav-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}

.tb-menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--tb-border);
    border-radius: 8px;
    color: var(--tb-muted);
    cursor: pointer;
    padding: 6px 10px;
    font-size: 16px;
    line-height: 1;
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.tb-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 40px 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.tb-hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.tb-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 820px;
}

.tb-hero h1 {
    margin-top: 28px;
    margin-bottom: 0;
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--tb-text);
}

.tb-hero h1 .grad {
    background: linear-gradient(135deg, var(--tb-orange) 0%, #FF9500 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tb-hero-sub {
    margin: 28px auto 44px;
    font-size: 18px;
    line-height: 1.7;
    color: var(--tb-muted);
    max-width: 580px;
}

.tb-hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.tb-hero-stats {
    margin-top: 72px;
    display: flex;
    justify-content: center;
    border-top: 1px solid var(--tb-border);
    padding-top: 40px;
    flex-wrap: wrap;
}

.tb-hero-stat {
    padding: 0 36px;
    text-align: center;
}

.tb-hero-stat + .tb-hero-stat {
    border-left: 1px solid var(--tb-border);
}

.tb-hero-stat .num {
    color: var(--tb-orange);
    font-size: 32px;
    font-weight: 900;
    font-family: var(--tb-font-display);
}

.tb-hero-stat .lbl {
    color: var(--tb-dim);
    font-size: 12px;
    margin-top: 4px;
    letter-spacing: 0.06em;
}

/* ── Logo bar ──────────────────────────────────────────────────────────── */
.tb-logobar {
    border-top: 1px solid var(--tb-border);
    border-bottom: 1px solid var(--tb-border);
    padding: 28px 0;
    overflow: hidden;
}

.tb-logobar-label {
    color: var(--tb-dim);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-align: center;
    margin-bottom: 20px;
}

.tb-logos {
    display: flex;
    gap: 60px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0 40px;
}

.tb-logo-item {
    color: var(--tb-dim);
    font-size: 14px;
    font-weight: 700;
    font-family: var(--tb-font-display);
    letter-spacing: 0.02em;
}

/* ── Shared sections ───────────────────────────────────────────────────── */
.tb-section {
    padding: 100px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.tb-section-head {
    text-align: center;
    margin-bottom: 64px;
}

.tb-section-head h2 {
    margin-top: 20px;
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.tb-section-head p {
    color: var(--tb-muted);
    font-size: 16px;
    max-width: 480px;
    margin: 16px auto 0;
    line-height: 1.7;
}

/* ── Features ──────────────────────────────────────────────────────────── */
.tb-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.tb-feature-card {
    background: var(--tb-card);
    border: 1px solid var(--tb-border);
    border-radius: 18px;
    padding: 32px 28px;
    transition: all 0.3s ease;
}

.tb-feature-card:hover {
    border-color: var(--tb-border-orange);
    background: var(--tb-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(255, 107, 0, 0.1);
}

.tb-feature-card .icon {
    font-size: 36px;
    margin-bottom: 18px;
    line-height: 1;
}

.tb-feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.tb-feature-card p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 18px;
}

/* ── Pricing ───────────────────────────────────────────────────────────── */
.tb-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.tb-plan {
    background: var(--tb-card);
    border: 1px solid var(--tb-border);
    border-radius: 20px;
    padding: 32px 26px;
    position: relative;
}

.tb-plan.highlight {
    background: linear-gradient(160deg, #1F1A0D, #1A1A22);
    border-color: var(--tb-orange);
    box-shadow: 0 0 60px rgba(255, 107, 0, 0.2);
}

.tb-plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--tb-orange);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 99px;
    letter-spacing: 0.08em;
    font-family: var(--tb-font-display);
    white-space: nowrap;
}

.tb-plan-name {
    color: var(--tb-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.tb-plan-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 4px;
}

.tb-plan-price .amount {
    font-size: 36px;
    font-weight: 900;
    color: var(--tb-text);
    font-family: var(--tb-font-display);
}

.tb-plan.highlight .tb-plan-price .amount {
    color: var(--tb-orange);
}

.tb-plan-price .sub {
    color: var(--tb-muted);
    font-size: 13px;
}

.tb-plan-divider {
    height: 1px;
    background: var(--tb-border);
    margin: 20px 0;
}

.tb-plan ul {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}

.tb-plan ul li {
    display: flex;
    gap: 10px;
    color: var(--tb-muted);
    font-size: 13px;
    margin-bottom: 10px;
    align-items: flex-start;
}

.tb-plan ul li .check {
    color: var(--tb-green);
    flex-shrink: 0;
    margin-top: 1px;
}

.tb-plan.highlight ul li .check {
    color: var(--tb-orange);
}

.tb-plan .tb-btn {
    width: 100%;
    padding: 12px 0;
    border-radius: 10px;
    font-size: 14px;
}

.tb-plan .tb-btn-primary {
    box-shadow: 0 6px 24px rgba(255, 107, 0, 0.35);
}

/* ── CTA banner ────────────────────────────────────────────────────────── */
.tb-cta {
    padding: 80px 40px;
}

.tb-cta-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.12), rgba(255, 149, 0, 0.06));
    border: 1px solid var(--tb-border-orange);
    border-radius: 28px;
    padding: 64px 48px;
    position: relative;
    overflow: hidden;
}

.tb-cta-inner .orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(255, 107, 0, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.tb-cta-inner h2 {
    margin-top: 20px;
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.1;
    position: relative;
}

.tb-cta-inner p {
    color: var(--tb-muted);
    font-size: 16px;
    margin: 16px auto 36px;
    max-width: 520px;
    position: relative;
}

.tb-cta-inner .tb-btn {
    position: relative;
}

/* ── Footer ────────────────────────────────────────────────────────────── */
.tb-footer {
    border-top: 1px solid var(--tb-border);
    padding: 40px 40px 28px;
}

.tb-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 32px;
}

.tb-footer-brand {
    max-width: 280px;
}

.tb-footer-brand .logo-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.tb-footer-brand .tb-logo-mark {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    font-size: 12px;
}

.tb-footer-brand .tb-logo-text {
    font-size: 16px;
}

.tb-footer-brand p {
    color: var(--tb-dim);
    font-size: 12px;
    max-width: 240px;
    line-height: 1.7;
}

.tb-footer-col h4 {
    color: var(--tb-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.tb-footer-col ul {
    list-style: none;
    padding: 0;
}

.tb-footer-col li {
    margin-bottom: 9px;
}

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

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

.tb-footer-bottom {
    max-width: 1100px;
    margin: 28px auto 0;
    border-top: 1px solid var(--tb-border);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.tb-footer-bottom span {
    color: var(--tb-dim);
    font-size: 12px;
}

/* ── Demo page ─────────────────────────────────────────────────────────── */
.tb-demo {
    min-height: 100vh;
    padding: 120px 40px 80px;
    max-width: 900px;
    margin: 0 auto;
}

.tb-demo-head {
    text-align: center;
    margin-bottom: 60px;
}

.tb-demo-head h2 {
    margin-top: 20px;
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 900;
    letter-spacing: -0.02em;
}

.tb-demo-head p {
    color: var(--tb-muted);
    font-size: 16px;
    margin-top: 16px;
}

.tb-browser {
    background: var(--tb-card);
    border: 1px solid var(--tb-border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.tb-browser-bar {
    background: var(--tb-surface);
    border-bottom: 1px solid var(--tb-border);
    padding: 16px 24px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.tb-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.tb-browser-url {
    margin-left: 12px;
    background: var(--tb-card);
    border-radius: 6px;
    padding: 4px 16px;
    color: var(--tb-dim);
    font-size: 12px;
}

.tb-browser-body {
    padding: 36px;
}

.tb-label-orange {
    color: var(--tb-orange);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.tb-demo-user {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.tb-avatar {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--tb-orange), var(--tb-orange-dim));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-family: var(--tb-font-display);
    flex-shrink: 0;
}

.tb-demo-user h3 {
    font-size: 24px;
    font-weight: 900;
}

.tb-demo-user p {
    color: var(--tb-muted);
    font-size: 13px;
    margin-top: 6px;
}

.tb-demo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

.tb-iq-box {
    background: var(--tb-surface);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 16px;
}

.tb-iq-box .big {
    color: var(--tb-orange);
    font-size: 36px;
    font-weight: 900;
    font-family: var(--tb-font-display);
}

.tb-iq-box .big small {
    font-size: 14px;
    color: var(--tb-muted);
    font-weight: 400;
}

.tb-iq-box .lbl {
    color: var(--tb-muted);
    font-size: 13px;
}

.tb-minibar {
    margin-bottom: 12px;
}

.tb-minibar .row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.tb-minibar .row span {
    color: var(--tb-muted);
    font-size: 12px;
}

.tb-minibar .row strong {
    color: var(--tb-text);
    font-size: 12px;
    font-weight: 700;
}

.tb-minibar .track {
    height: 6px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.06);
}

.tb-minibar .fill {
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--tb-orange), var(--tb-orange));
    opacity: 0.8;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Dashboard (app shell) ─────────────────────────────────────────────── */
.tb-app {
    display: flex;
    min-height: 100vh;
    background: var(--tb-bg);
}

.tb-sidebar {
    width: 220px;
    flex-shrink: 0;
    background: var(--tb-surface);
    border-right: 1px solid var(--tb-border);
    display: flex;
    flex-direction: column;
    transition: width 0.3s ease;
    overflow: hidden;
}

.tb-sidebar.collapsed {
    width: 64px;
}

.tb-sidebar-head {
    height: 64px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 10px;
    border-bottom: 1px solid var(--tb-border);
    flex-shrink: 0;
}

.tb-sidebar.collapsed .tb-sidebar-head {
    padding: 0 16px;
}

.tb-sidebar-head .tb-logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    font-size: 14px;
}

.tb-sidebar-head .tb-logo-text {
    font-size: 15px;
}

.tb-sidebar-nav {
    flex: 1;
    padding: 12px 10px;
}

.tb-side-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    margin-bottom: 2px;
    background: transparent;
    color: var(--tb-muted);
    font-family: var(--tb-font-display);
    font-size: 13px;
    font-weight: 600;
    transition: all 0.15s;
    text-align: left;
}

.tb-side-item:hover {
    background: var(--tb-orange-glow2);
    color: var(--tb-text);
}

.tb-side-item.active {
    background: var(--tb-orange-glow);
    color: var(--tb-orange);
}

.tb-side-item .ico {
    font-size: 16px;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.tb-sidebar.collapsed .tb-side-item {
    justify-content: center;
    padding: 10px 0;
}

.tb-sidebar.collapsed .tb-side-item .lbl {
    display: none;
}

.tb-sidebar-plan {
    padding: 16px;
    border-top: 1px solid var(--tb-border);
}

.tb-plan-card {
    background: var(--tb-orange-glow2);
    border: 1px solid var(--tb-border-orange);
    border-radius: 12px;
    padding: 12px 14px;
}

.tb-plan-card .pro {
    color: var(--tb-orange);
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 6px;
}

.tb-plan-card .used {
    color: var(--tb-muted);
    font-size: 11px;
}

.tb-plan-card .bar {
    height: 4px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.08);
    margin-top: 8px;
}

.tb-plan-card .bar .fill {
    height: 100%;
    border-radius: 99px;
    background: var(--tb-orange);
    width: 22%;
}

.tb-main {
    flex: 1;
    overflow: auto;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.tb-topbar {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    border-bottom: 1px solid var(--tb-border);
    background: var(--tb-surface);
    flex-shrink: 0;
    gap: 16px;
}

.tb-topbar-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.tb-menu-btn {
    background: none;
    border: 1px solid var(--tb-border);
    border-radius: 8px;
    color: var(--tb-muted);
    cursor: pointer;
    padding: 6px 10px;
    font-size: 14px;
    line-height: 1;
    flex-shrink: 0;
}

.tb-topbar-title {
    color: var(--tb-text);
    font-weight: 700;
    font-size: 16px;
    font-family: var(--tb-font-display);
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tb-topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.tb-avatar-sm {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF6B00, #C95300);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
}

.tb-content {
    flex: 1;
    padding: 28px;
    overflow: auto;
}

.tb-content h2 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 4px;
}

.tb-content .page-sub {
    color: var(--tb-muted);
    font-size: 13px;
    margin-bottom: 24px;
}

.tb-card {
    background: var(--tb-card);
    border: 1px solid var(--tb-border);
    border-radius: 18px;
    padding: 24px;
}

.tb-card h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.tb-card .sub {
    color: var(--tb-muted);
    font-size: 12px;
    margin-bottom: 20px;
}

.tb-kpi-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.tb-pill {
    background: var(--tb-card);
    border: 1px solid var(--tb-border);
    border-radius: 14px;
    padding: 18px 22px;
    flex: 1;
    min-width: 140px;
}

.tb-pill .lbl {
    color: var(--tb-muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.tb-pill .val {
    color: var(--tb-text);
    font-size: 26px;
    font-weight: 700;
    font-family: var(--tb-font-display);
}

.tb-pill .delta {
    color: var(--tb-green);
    font-size: 12px;
    margin-top: 4px;
}

.tb-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.tb-radar-wrap {
    display: flex;
    justify-content: center;
}

.tb-persona-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.tb-persona-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--tb-surface);
    border-radius: 10px;
    padding: 10px 16px;
}

.tb-persona-chip .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.tb-persona-chip span {
    color: var(--tb-muted);
    font-size: 13px;
}

.tb-persona-chip strong {
    color: var(--tb-orange);
    font-weight: 800;
    font-size: 13px;
    font-family: var(--tb-font-display);
}

/* Personas tab */
.tb-persona-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 18px;
}

.tb-persona-card {
    background: var(--tb-card);
    border: 1px solid var(--tb-border);
    border-radius: 18px;
    padding: 24px;
    transition: all 0.25s;
}

.tb-persona-card:hover {
    border-color: var(--tb-border-orange);
    transform: translateY(-3px);
}

.tb-persona-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.tb-persona-card-top .icon {
    font-size: 40px;
    line-height: 1;
}

.tb-match {
    background: var(--tb-orange-glow);
    border: 1px solid var(--tb-border-orange);
    border-radius: 99px;
    padding: 4px 12px;
    color: var(--tb-orange);
    font-size: 12px;
    font-weight: 800;
    font-family: var(--tb-font-display);
    white-space: nowrap;
}

.tb-persona-card h3 {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 12px;
}

.tb-persona-meta {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.tb-meta-cell {
    background: var(--tb-surface);
    border-radius: 8px;
    padding: 8px 12px;
}

.tb-meta-cell .k {
    color: var(--tb-dim);
    font-size: 10px;
    margin-bottom: 2px;
}

.tb-meta-cell .v {
    color: var(--tb-text);
    font-size: 12px;
    font-weight: 700;
}

/* Insights tab */
.tb-insight-list {
    display: grid;
    gap: 14px;
}

.tb-insight {
    background: var(--tb-card);
    border: 1px solid var(--tb-border);
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    transition: border-color 0.2s;
}

.tb-insight:hover {
    border-color: var(--tb-border-orange);
}

.tb-insight .icon {
    font-size: 28px;
    flex-shrink: 0;
    line-height: 1;
}

.tb-insight .text {
    flex: 1;
    color: var(--tb-text);
    font-size: 14px;
    line-height: 1.6;
}

.tb-insight .tag {
    background: var(--tb-orange-glow2);
    border: 1px solid var(--tb-border-orange);
    color: var(--tb-orange);
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 99px;
    flex-shrink: 0;
    white-space: nowrap;
    font-family: var(--tb-font-display);
}

/* Surveys tab */
.tb-survey-list {
    display: grid;
    gap: 12px;
}

.tb-survey {
    background: var(--tb-card);
    border: 1px solid var(--tb-border);
    border-radius: 14px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 18px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.tb-survey:hover {
    border-color: var(--tb-border-orange);
}

.tb-survey .info {
    flex: 1;
    min-width: 0;
}

.tb-survey .name {
    color: var(--tb-text);
    font-size: 14px;
    font-weight: 700;
    font-family: var(--tb-font-display);
}

.tb-survey .meta {
    color: var(--tb-muted);
    font-size: 12px;
    margin-top: 4px;
}

.tb-status {
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

.tb-status.active {
    background: rgba(74, 222, 128, 0.1);
    color: var(--tb-green);
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.tb-status.draft {
    background: var(--tb-orange-glow2);
    color: var(--tb-orange);
    border: 1px solid var(--tb-border-orange);
}

.tb-status.closed {
    background: rgba(255, 255, 255, 0.05);
    color: var(--tb-dim);
    border: 1px solid var(--tb-border);
}

/* Reports tab */
.tb-report {
    background: var(--tb-card);
    border: 1px solid var(--tb-border);
    border-radius: 18px;
    padding: 30px;
    margin-bottom: 20px;
}

.tb-report-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    gap: 16px;
    flex-wrap: wrap;
}

.tb-report-head .kicker {
    color: var(--tb-orange);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.tb-report-head h3 {
    font-size: 20px;
    font-weight: 800;
}

.tb-report p {
    font-size: 14px;
    line-height: 1.8;
    max-width: 720px;
}

.tb-report p strong {
    color: var(--tb-text);
}

.tb-iq-hero {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 140px;
    text-align: center;
}

.tb-iq-hero .big {
    font-size: 64px;
    font-weight: 900;
    color: var(--tb-orange);
    font-family: var(--tb-font-display);
    line-height: 1;
}

.tb-iq-hero .lbl {
    color: var(--tb-muted);
    font-size: 13px;
    margin-top: 8px;
}

.tb-recs {
    list-style: none;
    padding: 0;
}

.tb-recs li {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    align-items: flex-start;
}

.tb-recs .num {
    color: var(--tb-orange);
    font-weight: 900;
    flex-shrink: 0;
}

.tb-recs .txt {
    color: var(--tb-muted);
    font-size: 13px;
    line-height: 1.6;
}

/* AI Assistant */
.tb-assistant {
    max-width: 760px;
    margin: 0 auto;
}

.tb-chat-card {
    background: var(--tb-card);
    border: 1px solid var(--tb-border);
    border-radius: 18px;
    padding: 28px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.tb-chat-suggest {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tb-chat-suggest p {
    color: var(--tb-dim);
    font-size: 13px;
    margin-bottom: 16px;
}

.tb-chat-suggest button {
    background: var(--tb-surface);
    border: 1px solid var(--tb-border);
    border-radius: 10px;
    color: var(--tb-muted);
    font-size: 13px;
    padding: 12px 16px;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s;
}

.tb-chat-suggest button:hover {
    border-color: var(--tb-border-orange);
    color: var(--tb-text);
}

.tb-chat-loading {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.tb-chat-loading .ring {
    font-size: 36px;
    margin-bottom: 16px;
    animation: tb-pulse 1s infinite;
}

.tb-chat-loading p {
    color: var(--tb-muted);
    font-size: 13px;
}

.tb-chat-thread {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tb-msg {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.tb-msg.user {
    flex-direction: row-reverse;
}

.tb-msg .mark {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--tb-orange), #FF9500);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    flex-shrink: 0;
}

.tb-msg .bubble {
    background: var(--tb-surface);
    border-radius: 12px;
    padding: 16px 18px;
    flex: 1;
}

.tb-msg.user .bubble {
    background: var(--tb-orange-glow);
    border: 1px solid var(--tb-border-orange);
}

.tb-msg .bubble .label {
    color: var(--tb-orange);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.tb-msg .bubble p {
    color: var(--tb-text);
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
    white-space: pre-wrap;
}

.tb-chat-input-row {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.tb-chat-input {
    flex: 1;
    background: var(--tb-card);
    border: 1px solid var(--tb-border);
    border-radius: 12px;
    padding: 13px 18px;
    color: var(--tb-text);
    font-size: 14px;
    font-family: var(--tb-font-display);
    outline: none;
    transition: border-color 0.2s;
}

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

.tb-chat-send {
    background: var(--tb-orange);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-weight: 700;
    padding: 0 22px;
    cursor: pointer;
    font-family: var(--tb-font-display);
    font-size: 14px;
    transition: opacity 0.2s;
}

.tb-chat-send:disabled {
    opacity: 0.6;
    cursor: default;
}

.tb-ai-error {
    background: rgba(254, 107, 107, 0.1);
    border: 1px solid rgba(254, 107, 107, 0.3);
    color: #F87171;
    font-size: 12px;
    border-radius: 10px;
    padding: 10px 14px;
}

/* ── Blog / index ──────────────────────────────────────────────────────── */
.tb-page-hero {
    padding: 140px 40px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tb-page-hero h1 {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 900;
    letter-spacing: -0.02em;
}

.tb-page-hero p {
    color: var(--tb-muted);
    font-size: 16px;
    margin: 16px auto 0;
    max-width: 560px;
}

.tb-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.tb-post-card {
    background: var(--tb-card);
    border: 1px solid var(--tb-border);
    border-radius: 18px;
    padding: 28px;
    transition: all 0.3s ease;
}

.tb-post-card:hover {
    border-color: var(--tb-border-orange);
    transform: translateY(-3px);
}

.tb-post-card h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.tb-post-card h2 a {
    color: var(--tb-text);
    text-decoration: none;
}

.tb-post-card h2 a:hover {
    color: var(--tb-orange);
}

.tb-post-card .meta {
    color: var(--tb-dim);
    font-size: 12px;
    margin-bottom: 12px;
}

.tb-post-card .excerpt {
    color: var(--tb-muted);
    font-size: 14px;
    line-height: 1.7;
}

.tb-post-card .more {
    display: inline-block;
    margin-top: 14px;
    color: var(--tb-orange);
    font-size: 13px;
    font-weight: 600;
}

.tb-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px 40px 80px;
}

.tb-pagination a,
.tb-pagination span {
    background: var(--tb-card);
    border: 1px solid var(--tb-border);
    color: var(--tb-muted);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    text-decoration: none;
}

.tb-pagination .current {
    color: var(--tb-orange);
    border-color: var(--tb-border-orange);
}

.tb-single {
    max-width: 760px;
    margin: 0 auto;
    padding: 140px 24px 80px;
}

.tb-single .entry-meta {
    color: var(--tb-dim);
    font-size: 13px;
    margin-bottom: 24px;
}

.tb-single .entry-content p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

/* ── Pages ────────────────────────────────────────────────────────────── */
.tb-page-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 24px 80px;
}

.tb-page-content .entry-content p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

/* ── 404 ───────────────────────────────────────────────────────────────── */
.tb-404 {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 40px;
}

.tb-404 h1 {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 900;
    color: var(--tb-orange);
}

.tb-404 p {
    margin: 16px 0 32px;
}

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .tb-nav {
        padding: 0 20px;
    }

    .tb-menu-toggle {
        display: block;
    }

    .tb-nav-links,
    .tb-nav-actions {
        display: none;
        position: absolute;
        top: var(--tb-nav-height);
        left: 0;
        right: 0;
        background: rgba(13, 13, 15, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--tb-border);
        flex-direction: column;
        align-items: stretch;
        padding: 12px 20px;
        gap: 6px;
    }

    .tb-nav.open .tb-nav-links,
    .tb-nav.open .tb-nav-actions {
        display: flex;
    }

    .tb-nav-link {
        padding: 12px 14px;
        text-align: left;
    }

    .tb-hero {
        padding: 120px 20px 60px;
    }

    .tb-hero-stat {
        padding: 0 18px;
    }

    .tb-section {
        padding: 80px 20px;
    }

    .tb-cta {
        padding: 60px 20px;
    }

    .tb-cta-inner {
        padding: 48px 24px;
    }

    .tb-demo {
        padding: 120px 20px 60px;
    }

    .tb-browser-body {
        padding: 24px;
    }

    .tb-demo-grid {
        grid-template-columns: 1fr;
    }

    .tb-footer {
        padding: 40px 20px 28px;
    }

    .tb-footer-inner {
        flex-direction: column;
    }

    .tb-footer-bottom {
        flex-direction: column;
        gap: 6px;
    }
}

@media (max-width: 768px) {
    .tb-sidebar {
        width: 64px;
    }

    .tb-sidebar .tb-logo-text,
    .tb-sidebar .tb-side-item .lbl,
    .tb-sidebar-plan {
        display: none;
    }

    .tb-side-item {
        justify-content: center;
        padding: 10px 0;
    }

    .tb-content {
        padding: 20px;
    }

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

    .tb-topbar {
        padding: 0 16px;
    }

    .tb-avatar-sm {
        display: none;
    }
}
