/* LisansJet Hub Theme - 2026 Premium Dark SaaS */

/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
    --hub-primary: #f39321;
    --hub-primary-hover: #ff9d3a;
    --hub-primary-glow: rgba(243, 147, 33, 0.4);
    --hub-accent: #6366f1;
    --hub-accent-hover: #818cf8;
    --hub-secondary: #1e293b;
    --hub-bg: #0a0e1a;
    --hub-bg-alt: #111827;
    --hub-card-bg: rgba(17, 24, 39, 0.6);
    --hub-text: #f1f5f9;
    --hub-text-muted: #94a3b8;
    --hub-border: rgba(255, 255, 255, 0.06);
    --hub-success: #22c55e;
    --hub-radius: 1rem;
    --hub-radius-lg: 1.5rem;
    --navbar-height: 72px;
    --navbar-height-scrolled: 56px;
}

/* ========================================
   BASE / BODY
   ======================================== */
/* Override Bootstrap text-muted for dark theme */
.hub-body .text-muted,
.hub-section .text-muted {
    color: var(--hub-text-muted) !important;
}
/* Override Bootstrap text-secondary for dark theme */
.hub-body .text-secondary,
.hub-section .text-secondary {
    color: #94a3b8 !important;
}

body.hub-body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--hub-bg);
    color: var(--hub-text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    overscroll-behavior-y: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    scroll-behavior: smooth;
}
body.menu-open { overflow: hidden; }

/* ========================================
   ANNOUNCEMENT BAR
   ======================================== */
.hub-announcement-bar {
    background: linear-gradient(90deg, rgba(243, 147, 33, 0.12), rgba(99, 102, 241, 0.12));
    border-bottom: 1px solid rgba(243, 147, 33, 0.1);
    position: relative;
    z-index: 1060;
}
.hub-announcement-badge {
    background: #7c4a0a;
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 4px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.hub-announcement-link {
    color: var(--hub-primary);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 0.5rem;
    transition: color 0.2s;
}
.hub-announcement-link:hover { color: var(--hub-primary-hover); }
.hub-announcement-link i { font-size: 0.65rem; margin-left: 4px; transition: transform 0.2s; }
.hub-announcement-link:hover i { transform: translateX(3px); }
.hub-announcement-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.4);
    cursor: pointer;
    padding: 4px 8px;
    margin-left: 1rem;
    font-size: 0.7rem;
    transition: color 0.2s;
}
.hub-announcement-close:hover { color: white; }

/* ========================================
   LOGO
   ======================================== */
.hub-logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f39321, #ff9d3a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    box-shadow: 0 2px 12px rgba(243, 147, 33, 0.3);
}
.hub-logo-text {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #f39321, #ffb366, #f39321);
    background-size: 200% auto;
    background-position: 0% center;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
@keyframes logoGradient {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 200% center; }
}
@media (hover: hover) {
    .navbar-brand:hover .hub-logo-text {
        animation: logoGradient 2s ease infinite;
    }
}
@media (prefers-reduced-motion: reduce) {
    .hub-logo-text { animation: none !important; }
}

/* ========================================
   NAVBAR
   ======================================== */
/* Navbar: sticky so it flows below announcement bar, then sticks to top on scroll */
.hub-navbar {
    position: sticky;
    top: 0;
    padding: 1rem 0;
    padding-top: max(1rem, env(safe-area-inset-top));
    transition: background 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    z-index: 1065;
}
.hub-navbar.navbar-scrolled {
    background: rgba(10, 14, 26, 0.92) !important;
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--hub-border);
    padding: 0.5rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
.hub-navbar .nav-link {
    color: var(--hub-text-muted);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s ease;
    position: relative;
}
.hub-navbar .nav-link:hover,
.hub-navbar .nav-link:focus { color: var(--hub-text); }
.hub-navbar .navbar-toggler {
    min-width: 44px;
    min-height: 44px;
    /* display handled per breakpoint below — no global display:flex here */
}
.hub-external-icon { font-size: 0.6rem; opacity: 0.5; }

/* Breadcrumb */
.feature-breadcrumb {
    background: none;
    padding: 0;
    margin-bottom: 1.5rem;
}
.feature-breadcrumb .breadcrumb {
    align-items: center;
    margin-bottom: 0;
}
.feature-breadcrumb .breadcrumb-item {
    display: flex;
    align-items: center;
}
.feature-breadcrumb .breadcrumb-item a {
    color: var(--hub-muted, #94a3b8);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}
.feature-breadcrumb .breadcrumb-item a:hover {
    color: var(--hub-primary, #f39321);
}
.feature-breadcrumb .breadcrumb-item.active {
    color: var(--hub-text, #f1f5f9);
    font-size: 0.875rem;
}
.feature-breadcrumb .breadcrumb-item + .breadcrumb-item {
    display: flex;
    align-items: center;
}
.feature-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: var(--hub-muted, #94a3b8);
    content: '›';
    font-size: 1rem;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    vertical-align: middle;
    padding: 0 0.35rem;
}

/* Dropdown Menu */
.hub-dropdown {
    background: rgba(15, 20, 40, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 8px;
    margin-top: 8px;
    min-width: 240px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.hub-dropdown .dropdown-item {
    color: var(--hub-muted);
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}
.hub-dropdown .dropdown-item:hover,
.hub-dropdown .dropdown-item:focus {
    background: rgba(255, 255, 255, 0.06);
    color: var(--hub-text);
}
.hub-dropdown .dropdown-divider {
    border-color: rgba(255, 255, 255, 0.08);
    margin: 4px 0;
}
.hub-navbar .dropdown-toggle::after {
    font-size: 0.6rem;
    vertical-align: 0.15em;
    opacity: 0.6;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn-hub-primary {
    background: linear-gradient(135deg, #f39321, #ff9d3a);
    border: none;
    color: white;
    font-weight: 600;
    box-shadow: 0 2px 12px rgba(243, 147, 33, 0.3);
    transition: all 0.25s ease;
}
.btn-hub-primary:hover {
    background: linear-gradient(135deg, #ff9d3a, #ffb366);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 8px 30px rgba(243, 147, 33, 0.45);
}
.btn-hub-ghost {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.12);
    color: white;
    font-weight: 600;
    transition: all 0.25s ease;
    backdrop-filter: blur(8px);
}
.btn-hub-ghost:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.2);
    color: white;
    transform: translateY(-1px);
}
.btn-hub-accent {
    background: linear-gradient(135deg, var(--hub-accent), var(--hub-accent-hover));
    border: none;
    color: white;
    font-weight: 600;
}
.btn-hub-accent:hover {
    background: linear-gradient(135deg, var(--hub-accent-hover), #a78bfa);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(99, 102, 241, 0.4);
}
.btn:active {
    transform: scale(0.97) !important;
    transition: transform 0.1s !important;
}

/* Glowing CTA Button */
.hub-btn-glow {
    position: relative;
}
.hub-btn-glow::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, #f39321, #ff9d3a);
    opacity: 0;
    filter: blur(16px);
    transition: opacity 0.3s;
    z-index: -1;
}
.hub-btn-glow:hover::after { opacity: 0.5; }

/* Accessibility - Focus States */
.hub-billing-toggle:focus-visible,
.hub-currency-btn:focus-visible,
.hub-pricing-cta:focus-visible,
.hub-scroll-top:focus-visible,
.hub-diamond-cta:focus-visible,
.btn-hub-primary:focus-visible,
.btn-outline-light:focus-visible {
    outline: 2px solid var(--hub-primary);
    outline-offset: 2px;
}

/* ========================================
   GLASS CARD
   ======================================== */
.hub-glass-card {
    background: var(--hub-card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--hub-border);
    border-radius: var(--hub-radius-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (hover: hover) and (pointer: fine) {
    .hub-glass-card:hover {
        border-color: rgba(243, 147, 33, 0.15);
        transform: translateY(-4px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    }
}

/* ========================================
   SECTION STYLING
   ======================================== */
.hub-section { position: relative; }
.hub-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(243, 147, 33, 0.1);
    color: var(--hub-primary);
    border: 1px solid rgba(243, 147, 33, 0.2);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hub-hero {
    position: relative;
    background: #0a0e1a;
    padding: 80px 0 100px;
}
.hub-hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}
/* Animated gradient orbs */
.hub-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: orbFloat 12s ease-in-out infinite;
}
.hub-hero-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(243, 147, 33, 0.15), transparent 70%);
    top: -15%;
    right: -5%;
    animation-delay: 0s;
}
.hub-hero-orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12), transparent 70%);
    bottom: -10%;
    left: -5%;
    animation-delay: -4s;
}
.hub-hero-orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.08), transparent 70%);
    top: 40%;
    left: 30%;
    animation-delay: -8s;
}
@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}

/* Grid overlay */
.hub-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
}

/* Noise texture */
.hub-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

/* Hero badge */
.hub-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    background: rgba(243, 147, 33, 0.08);
    color: var(--hub-primary);
    border: 1px solid rgba(243, 147, 33, 0.15);
    backdrop-filter: blur(8px);
}
.hub-hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--hub-primary);
    animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

/* Hero title */
.hub-hero-title {
    font-size: 3.5rem;
    line-height: 1.12;
    letter-spacing: -0.035em;
}
.hub-gradient-text-animated {
    background: linear-gradient(90deg, var(--hub-primary), #ffb366, var(--hub-primary));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
}
@keyframes gradientShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 200% center; }
}

/* Hero trust items */
.hub-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--hub-text-muted);
    font-size: 0.85rem;
}
.hub-trust-item i {
    color: var(--hub-success);
    font-size: 0.7rem;
}

/* Hero wave */
.hub-hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    z-index: 1;
    line-height: 0;
}
.hub-hero-wave svg {
    width: 100%;
    height: 60px;
}

/* ========================================
   HERO DASHBOARD PREVIEW
   ======================================== */
.hub-dashboard-preview {
    border-radius: 16px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(243, 147, 33, 0.05);
    backdrop-filter: blur(20px);
}
.hub-browser-chrome {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 12px 16px;
    background: rgba(0,0,0,0.3);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.hub-browser-dots {
    display: flex;
    gap: 6px;
}
.hub-browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.hub-browser-dots span:nth-child(1) { background: #ff5f57; }
.hub-browser-dots span:nth-child(2) { background: #febc2e; }
.hub-browser-dots span:nth-child(3) { background: #28c840; }
.hub-browser-url {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 6px;
    background: rgba(255,255,255,0.04);
    color: var(--hub-text-muted);
    font-size: 0.75rem;
}
.hub-browser-url i { font-size: 0.6rem; color: #22c55e; }
.hub-dashboard-content { padding: 1.25rem; }

/* Dashboard stat cards */
.hub-dash-stat {
    padding: 12px;
    border-radius: 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    transition: border-color 0.3s;
}
.hub-dash-stat:hover {
    /* Fallback for older browsers */
    border-color: rgba(243, 147, 33, 0.3);
    /* Modern browsers */
    border-color: color-mix(in srgb, var(--stat-color, #f39321) 30%, transparent);
}
.hub-dash-stat-label { color: var(--hub-text-muted); font-size: 0.7rem; }
.hub-dash-stat-value { color: white; font-weight: 700; font-size: 1.15rem; }
.hub-dash-stat-change { color: #22c55e; font-size: 0.65rem; font-weight: 600; }
.hub-dash-stat-change i { font-size: 0.5rem; margin-right: 2px; }

/* Dashboard sales */
.hub-dash-sales {
    padding: 14px;
    border-radius: 10px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
}
.hub-dash-sales-title { color: var(--hub-text-muted); font-size: 0.8rem; font-weight: 600; }
.hub-live-indicator { display: flex; align-items: center; gap: 6px; color: #22c55e; font-size: 0.75rem; font-weight: 600; }
.hub-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    animation: livePulse 2s ease-in-out infinite;
}
@keyframes livePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}
.hub-dash-sale-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}
.border-bottom-dash { border-bottom: 1px solid rgba(255,255,255,0.04); }
.hub-dash-sale-icon { font-size: 1.2rem; }
.hub-dash-sale-name { color: white; font-size: 0.82rem; display: block; }
.hub-dash-sale-time { color: var(--hub-text-muted); font-size: 0.65rem; }
.hub-dash-sale-price { color: #22c55e; font-weight: 600; font-size: 0.85rem; }

/* Floating notification */
.hub-floating-notification {
    position: absolute;
    bottom: 20%;
    left: -30px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(243, 147, 33, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(16px);
    animation: floatNotification 3s ease-in-out infinite;
    z-index: 3;
}
@keyframes floatNotification {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.hub-floating-notification-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--hub-primary), var(--hub-primary-hover));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
}
.hub-floating-notification-title { color: white; font-size: 0.75rem; font-weight: 700; }
.hub-floating-notification-text { color: var(--hub-text-muted); font-size: 0.7rem; }

/* Mockup glows */
.hub-mockup-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.hub-mockup-glow-1 {
    top: -40px;
    right: -40px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(243, 147, 33, 0.15), transparent 70%);
}
.hub-mockup-glow-2 {
    bottom: -30px;
    left: -30px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12), transparent 70%);
}

/* ========================================
   BRAND LOGOS MARQUEE
   ======================================== */
.hub-brands-section {
    border-top: 1px solid var(--hub-border);
    border-bottom: 1px solid var(--hub-border);
    overflow: hidden;
}
.hub-brands-marquee {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.hub-brands-track {
    display: flex;
    gap: 3rem;
    animation: marqueeScroll 30s linear infinite;
    width: max-content;
}
@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.hub-brand-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255,255,255,0.35);
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.3s;
}
.hub-brand-item:hover { color: rgba(255,255,255,0.7); }
.hub-brand-item i { font-size: 1.2rem; }

/* ========================================
   BENTO GRID FEATURES
   ======================================== */
.hub-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    gap: 1.25rem;
}
.hub-bento-item {
    border-radius: var(--hub-radius-lg);
    background: var(--hub-card-bg);
    border: 1px solid var(--hub-border);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.hub-bento-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(243, 147, 33, 0.03), transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}
@media (hover: hover) {
    .hub-bento-item:hover {
        border-color: rgba(255,255,255,0.12);
        transform: translateY(-3px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    }
    .hub-bento-item:hover::before { opacity: 1; }
}
.hub-bento-inner {
    padding: 1.75rem;
    position: relative;
    z-index: 1;
}
.hub-bento-wide {
    grid-column: span 2;
}
.hub-bento-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    /* Fallback for older browsers */
    background: rgba(243, 147, 33, 0.12);
    /* Modern browsers */
    background: color-mix(in srgb, var(--bento-color, #f39321) 12%, transparent);
    color: var(--bento-color, #f39321);
}

/* License key demo visual */
.hub-license-demo {
    padding: 1rem;
    border-radius: 12px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.05);
}
.hub-license-key {
    margin-bottom: 0.75rem;
}
.hub-license-label {
    display: block;
    color: var(--hub-text-muted);
    font-size: 0.7rem;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.hub-license-value {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}
.hub-license-value code {
    color: var(--hub-primary);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}
.hub-license-value i {
    color: var(--hub-text-muted);
    font-size: 0.75rem;
    cursor: pointer;
    transition: color 0.2s;
}
.hub-license-value i:hover { color: white; }
.hub-license-status {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Payment chips */
.hub-payment-icons {
    display: flex;
    gap: 8px;
    margin-top: auto;
}
.hub-payment-chip {
    width: 40px;
    height: 28px;
    border-radius: 6px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hub-text-muted);
    font-size: 0.9rem;
}

/* Speed indicator */
.hub-speed-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
}
.hub-speed-bar {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,0.06);
    overflow: hidden;
}
.hub-speed-fill {
    width: 95%;
    height: 100%;
    border-radius: 2px;
    background: linear-gradient(90deg, #22c55e, #4ade80);
    animation: speedPulse 2s ease-in-out infinite;
}
@keyframes speedPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Mini chart */
.hub-chart-preview { margin-left: 2rem; }
.hub-mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 80px;
}
.hub-chart-bar {
    width: 12px;
    border-radius: 3px 3px 0 0;
    background: rgba(6, 182, 212, 0.2);
    transition: background 0.3s;
}
.hub-chart-bar-active {
    background: linear-gradient(180deg, #06b6d4, rgba(6, 182, 212, 0.3));
}

/* Mobile: stack bento */
@media (max-width: 991px) {
    .hub-bento-grid { display: none; }
}
@media (min-width: 992px) {
    .d-md-none.hub-mobile-carousel,
    .d-md-none.hub-carousel-dots { display: none !important; }
}

/* ========================================
   STATS v2
   ======================================== */
.hub-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.hub-stat-card-v2 {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: var(--hub-radius-lg);
    background: var(--hub-card-bg);
    border: 1px solid var(--hub-border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.hub-stat-card-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--ring-color, var(--hub-primary)), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.hub-stat-card-v2:hover {
    border-color: rgba(255,255,255,0.1);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.hub-stat-card-v2:hover::before { opacity: 1; }
.hub-stat-icon-ring {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    /* Fallback for older browsers */
    background: rgba(243, 147, 33, 0.1);
    /* Modern browsers */
    background: color-mix(in srgb, var(--ring-color) 10%, transparent);
    color: var(--ring-color);
    font-size: 1.2rem;
    /* Fallback for older browsers */
    border: 1px solid rgba(243, 147, 33, 0.15);
    /* Modern browsers */
    border: 1px solid color-mix(in srgb, var(--ring-color) 15%, transparent);
}
.hub-stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 0.25rem;
}
.hub-stat-label {
    color: var(--hub-text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}
.hub-stat-sub {
    color: var(--hub-success);
    font-size: 0.75rem;
    font-weight: 600;
}
.hub-stat-sub i { margin-right: 4px; }
@media (max-width: 768px) {
    .hub-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .hub-stat-value { font-size: 2rem; }
}

/* ========================================
   INTEGRATIONS
   ======================================== */
.hub-integrations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.hub-integration-card {
    padding: 1.5rem;
    border-radius: var(--hub-radius-lg);
    background: var(--hub-card-bg);
    border: 1px solid var(--hub-border);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.hub-integration-card:hover {
    border-color: rgba(255,255,255,0.12);
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
}
.hub-integration-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--hub-text-muted);
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(255,255,255,0.04);
}
.hub-integration-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}
@media (max-width: 768px) {
    .hub-integrations-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ========================================
   TESTIMONIALS MARQUEE
   ======================================== */
.hub-rating-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
}
.hub-stars i { color: #f59e0b; font-size: 0.9rem; }
.hub-rating-text { color: var(--hub-text-muted); font-size: 0.9rem; }
.hub-testimonial-marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
}
.hub-testimonial-track {
    display: flex;
    gap: 1.5rem;
    animation: testimonialScroll 60s linear infinite;
    width: max-content;
}
.hub-testimonial-track:hover { animation-play-state: paused; }
@keyframes testimonialScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.hub-testimonial-card {
    width: 380px;
    flex-shrink: 0;
    padding: 1.75rem;
    border-radius: var(--hub-radius-lg);
    background: var(--hub-card-bg);
    border: 1px solid var(--hub-border);
    transition: border-color 0.3s;
}
.hub-testimonial-card:hover { border-color: rgba(255,255,255,0.12); }
.hub-testimonial-metric {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    /* Fallback for older browsers */
    background: rgba(243, 147, 33, 0.1);
    /* Modern browsers */
    background: color-mix(in srgb, var(--metric-color) 10%, transparent);
    color: var(--metric-color);
    /* Fallback for older browsers */
    border: 1px solid rgba(243, 147, 33, 0.15);
    /* Modern browsers */
    border: 1px solid color-mix(in srgb, var(--metric-color) 15%, transparent);
}
.hub-testimonial-metric i { font-size: 0.6rem; }
.hub-testimonial-stars { margin-bottom: 0.75rem; }
.hub-testimonial-stars i { color: #f59e0b; font-size: 0.7rem; }
.hub-testimonial-quote {
    color: rgba(255,255,255,0.7);
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}
.hub-testimonial-author { display: flex; align-items: center; gap: 12px; }
.hub-testimonial-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    /* Fallback for older browsers */
    background: rgba(243, 147, 33, 0.12);
    /* Modern browsers */
    background: color-mix(in srgb, var(--avatar-color) 12%, transparent);
    color: var(--avatar-color);
    /* Fallback for older browsers */
    border: 1px solid rgba(243, 147, 33, 0.2);
    /* Modern browsers */
    border: 1px solid color-mix(in srgb, var(--avatar-color) 20%, transparent);
}
.hub-testimonial-name { color: white; font-weight: 600; font-size: 0.85rem; }
.hub-testimonial-role { color: var(--hub-text-muted); font-size: 0.72rem; }

/* ========================================
   PRICING - MODERN CARDS
   ======================================== */
/* Billing Toggle */
.hub-billing-toggle {
    width: 52px;
    height: 28px;
    border-radius: 14px;
    border: 2px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.06);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}
.hub-billing-toggle.active {
    background: var(--hub-primary);
    border-color: var(--hub-primary);
}
.hub-billing-toggle-knob {
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    margin: 2px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
/* Currency Toggle */
.hub-currency-btn {
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    background: transparent;
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.hub-currency-btn.active {
    background: rgba(243, 147, 33, 0.15);
    border-color: rgba(243, 147, 33, 0.4);
    color: var(--hub-primary);
}
.hub-currency-btn:hover:not(.active) {
    border-color: rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.7);
}
.hub-billing-toggle.active .hub-billing-toggle-knob {
    transform: translateX(24px);
}

/* Pricing Card */
.hub-pricing-card {
    position: relative;
    border-radius: var(--hub-radius-lg);
    background: rgba(17, 24, 39, 0.5);
    border: 1px solid rgba(255,255,255,0.06);
    backdrop-filter: blur(12px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
@media (hover: hover) {
    .hub-pricing-card:hover {
        transform: translateY(-4px);
        border-color: rgba(255,255,255,0.12);
        box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    }
}
/* Popular Plan */
.hub-pricing-popular {
    border: 2px solid transparent;
    background-image: linear-gradient(160deg, #1a1040, #111827), linear-gradient(135deg, var(--hub-primary), var(--hub-accent));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    transform: scale(1.02);
    box-shadow: 0 0 40px rgba(243, 147, 33, 0.1);
}
@media (hover: hover) {
    .hub-pricing-popular:hover {
        transform: scale(1.02) translateY(-4px);
        box-shadow: 0 0 60px rgba(243, 147, 33, 0.15), 0 20px 40px rgba(0,0,0,0.3);
    }
}
@media (max-width: 768px) {
    .hub-pricing-popular { transform: none; }
    .hub-pricing-popular:hover { transform: translateY(-4px); }
}
/* Current Plan Highlight */
.hub-pricing-current {
    border: 2px solid transparent;
    background-image: linear-gradient(160deg, #0a2015, #111827), linear-gradient(135deg, #22c55e, #16a34a);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    position: relative;
}

/* Popular Badge */
.hub-pricing-badge {
    text-align: center;
    padding: 8px 0;
    background: linear-gradient(135deg, var(--hub-primary), var(--hub-primary-hover));
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.hub-pricing-body {
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.hub-pricing-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.hub-pricing-icon.free { background: rgba(34, 197, 94, 0.12); color: #22c55e; }
.hub-pricing-icon.starter { background: rgba(99, 102, 241, 0.12); color: #6366f1; }
.hub-pricing-icon.professional { background: rgba(243, 147, 33, 0.12); color: var(--hub-primary); }
.hub-pricing-icon.enterprise { background: rgba(139, 92, 246, 0.12); color: #8b5cf6; }
.hub-price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    letter-spacing: -0.03em;
}
.hub-pricing-limits {
    display: flex;
    gap: 2px;
    border-radius: 12px;
    overflow: hidden;
}
.hub-pricing-limit {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 10px 4px;
    background: rgba(255,255,255,0.03);
}
.hub-pricing-limit:first-child { border-radius: 12px 0 0 12px; }
.hub-pricing-limit:last-child { border-radius: 0 12px 12px 0; }
.hub-pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 0.5rem 0;
    flex: 1;
}
.hub-pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}
.hub-pricing-features li i {
    color: #22c55e;
    font-size: 0.65rem;
    margin-top: 5px;
    flex-shrink: 0;
}
.hub-pricing-cta { transition: all 0.3s ease; }
@media (hover: hover) {
    .hub-pricing-cta:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    }
}
.hub-pricing-free { border-color: rgba(34, 197, 94, 0.15); }

/* Comparison Table */
.hub-comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: rgba(17, 24, 39, 0.6);
    border-radius: var(--hub-radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
}
.hub-comparison-table th,
.hub-comparison-table td {
    padding: 14px 18px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.hub-comparison-table th {
    color: rgba(255,255,255,0.7);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 18px;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hub-comparison-table tbody tr {
    transition: background 0.2s ease;
}
.hub-comparison-table tbody tr:hover {
    background: rgba(255,255,255,0.02);
}
.hub-comparison-table tr:last-child td { border-bottom: none; }
.hub-comparison-highlight {
    background: rgba(243, 147, 33, 0.04) !important;
    position: relative;
}
.hub-comparison-table thead th.hub-comparison-highlight {
    background: rgba(243, 147, 33, 0.08) !important;
    color: var(--hub-primary);
}
.hub-comparison-table thead th.hub-comparison-highlight::before {
    content: 'Popüler';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: white;
    background: var(--hub-primary);
    padding: 2px 10px;
    border-radius: 0 0 6px 6px;
}
.hub-comparison-table .text-success { font-size: 0.8rem; }
.rotate-180 { transform: rotate(180deg); }

/* Tooltip */
.hub-tooltip-trigger {
    position: relative;
    cursor: help;
    color: rgba(255,255,255,0.25);
    font-size: 0.7rem;
    transition: color 0.2s ease;
}
.hub-tooltip-trigger:hover {
    color: var(--hub-primary);
}
/* Tooltip - uses JS positioning for overflow-safe display */

/* Diamond Self-Hosted Card */
.hub-diamond-card {
    position: relative;
    border-radius: var(--hub-radius-lg);
    padding: 2.5rem 2.5rem;
    background: linear-gradient(160deg, #0c0a1a 0%, #1a1040 40%, #0f0d2a 100%);
    border: 1px solid rgba(243, 147, 33, 0.25);
    overflow: hidden;
}
.hub-diamond-shimmer {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent 0%,
        rgba(243, 147, 33, 0.03) 10%,
        transparent 20%,
        rgba(139, 92, 246, 0.03) 30%,
        transparent 40%,
        rgba(243, 147, 33, 0.04) 50%,
        transparent 60%,
        rgba(139, 92, 246, 0.03) 70%,
        transparent 80%,
        rgba(243, 147, 33, 0.03) 90%,
        transparent 100%
    );
    animation: diamondShimmer 12s linear infinite;
    pointer-events: none;
}
@keyframes diamondShimmer {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.hub-diamond-border-glow {
    position: absolute;
    inset: -1px;
    border-radius: var(--hub-radius-lg);
    background: linear-gradient(135deg, rgba(243,147,33,0.3), rgba(139,92,246,0.2), rgba(243,147,33,0.1), rgba(139,92,246,0.3));
    z-index: -1;
    opacity: 0.5;
    filter: blur(1px);
    transition: opacity 0.4s ease;
}
.hub-diamond-card:hover .hub-diamond-border-glow {
    opacity: 0.8;
}
.hub-diamond-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(243,147,33,0.2), rgba(139,92,246,0.2));
    border: 1px solid rgba(243,147,33,0.3);
    font-size: 1.4rem;
    color: var(--hub-primary);
    animation: diamondPulse 3s ease-in-out infinite;
}
@keyframes diamondPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(243,147,33,0.1); }
    50% { box-shadow: 0 0 35px rgba(243,147,33,0.25), 0 0 60px rgba(139,92,246,0.1); }
}
.hub-diamond-label span {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--hub-primary), #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hub-diamond-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 720px;
    margin: 0 auto;
}
.hub-diamond-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.04);
    transition: border-color 0.3s ease, background 0.3s ease;
}
.hub-diamond-feature:hover {
    border-color: rgba(243,147,33,0.15);
    background: rgba(243,147,33,0.04);
}
.hub-diamond-feature-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(243,147,33,0.15), rgba(139,92,246,0.15));
    color: var(--hub-primary);
    font-size: 0.8rem;
    flex-shrink: 0;
}
.hub-diamond-cta {
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
    color: white;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.25);
}
.hub-diamond-cta:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.35);
}
@media (max-width: 768px) {
    .hub-diamond-card { padding: 1.5rem; }
    .hub-diamond-features { grid-template-columns: 1fr; }
}

/* ========================================
   ACCORDION (FAQ)
   ======================================== */
.accordion-button {
    background: transparent !important;
    color: var(--hub-text) !important;
    border: none;
    box-shadow: none !important;
    font-weight: 600;
    padding: 1.25rem 1.5rem;
}
.accordion-button::after { filter: invert(1) brightness(2); }
.accordion-button:not(.collapsed) { color: var(--hub-primary) !important; }
.accordion-body {
    border-top: 1px solid var(--hub-border);
    color: var(--hub-text-muted);
    line-height: 1.7;
    padding: 1.25rem 1.5rem;
}

/* ========================================
   SOCIAL ICONS
   ======================================== */
.hub-social-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--hub-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--hub-text-muted);
    font-size: 0.9rem;
    transition: all 0.2s ease;
    text-decoration: none;
}
.hub-social-icon:hover {
    background: rgba(243, 147, 33, 0.1);
    border-color: rgba(243, 147, 33, 0.3);
    color: var(--hub-primary);
    transform: translateY(-2px);
}

/* ========================================
   FOOTER
   ======================================== */
.hub-footer {
    background: #050810;
    border-top: 1px solid var(--hub-border);
    padding-bottom: env(safe-area-inset-bottom);
}
.hub-footer .footer-links li { margin-bottom: 0.6rem; }
.hub-footer .footer-links a {
    color: var(--hub-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.hub-footer .footer-links a:hover { color: var(--hub-primary); }

/* ========================================
   FEATURE CARD ICON
   ======================================== */
.hub-feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
}

/* ========================================
   SCROLLBAR
   ======================================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--hub-bg); }
::-webkit-scrollbar-thumb { background: #1e293b; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #334155; }

/* ========================================
   SELECTION
   ======================================== */
::selection { background: rgba(243, 147, 33, 0.25); color: white; }

/* ========================================
   GRADIENT TEXT UTILITIES
   ======================================== */
.hub-gradient-text {
    background: linear-gradient(135deg, var(--hub-primary), #ffb366);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hub-gradient-text-accent {
    background: linear-gradient(135deg, var(--hub-accent), #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   KEYFRAMES
   ======================================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.hub-animate { animation: fadeInUp 0.6s ease forwards; }

/* ========================================
   SCROLL REVEAL ANIMATIONS
   ======================================== */
.hub-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.hub-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
.hub-reveal-delay-1 { transition-delay: 0.1s; }
.hub-reveal-delay-2 { transition-delay: 0.2s; }
.hub-reveal-delay-3 { transition-delay: 0.3s; }
.hub-reveal-delay-4 { transition-delay: 0.4s; }
.hub-reveal-delay-5 { transition-delay: 0.5s; }

/* Staggered hero entrance */
.hub-hero .hub-hero-badge { animation: fadeInUp 0.6s ease 0.1s both; }
.hub-hero .hub-hero-title { animation: fadeInUp 0.6s ease 0.2s both; }
.hub-hero .hub-hero-subtitle { animation: fadeInUp 0.6s ease 0.3s both; }
.hub-hero .hub-hero-cta { animation: fadeInUp 0.6s ease 0.4s both; }
.hub-hero .hub-hero-trust { animation: fadeInUp 0.6s ease 0.5s both; }
.hub-hero .hub-hero-mockup { animation: fadeInUp 0.8s ease 0.5s both; }

/* ========================================
   STICKY BOTTOM CTA (MOBILE)
   ======================================== */
.hub-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    padding: 12px 16px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--hub-border);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    display: none;
}
.hub-sticky-cta.visible { transform: translateY(0); }
@media (max-width: 768px) {
    .hub-sticky-cta { display: block; }
}

/* ========================================
   SCROLL-TO-TOP BUTTON
   ======================================== */
.hub-scroll-top {
    position: fixed;
    bottom: 80px;
    right: 16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(17, 24, 39, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--hub-border);
    color: var(--hub-text);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1030;
}
.hub-scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.hub-scroll-top:hover {
    background: var(--hub-primary);
    border-color: var(--hub-primary);
    transform: translateY(-2px);
}

/* ========================================
   MOBILE CAROUSEL
   ======================================== */
.hub-mobile-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 16px;
    padding: 0 16px;
}
.hub-mobile-carousel::-webkit-scrollbar { display: none; }
.hub-mobile-carousel > * {
    flex: 0 0 calc(100vw - 64px);
    scroll-snap-align: center;
}
.hub-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
}
.hub-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--hub-border);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.2s;
}
.hub-carousel-dot.active {
    background: var(--hub-primary);
    width: 24px;
    border-radius: 4px;
}

/* ========================================
   "NASIL CALISIR" STEP CARDS
   ======================================== */
.hub-step-card {
    text-align: center;
    position: relative;
}
.hub-step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--hub-primary), var(--hub-primary-hover));
    color: white;
    font-weight: 800;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 4px 16px rgba(243, 147, 33, 0.3);
}
.hub-step-connector {
    position: absolute;
    top: 24px;
    left: calc(50% + 32px);
    right: calc(-50% + 32px);
    height: 2px;
    background: linear-gradient(90deg, var(--hub-primary), transparent);
}

/* ========================================
   CURSOR-FOLLOW SPOTLIGHT (CARDS)
   ======================================== */
.hub-spotlight-card {
    position: relative;
    overflow: hidden;
}
.hub-spotlight-card::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(243, 147, 33, 0.08), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    transform: translate(var(--mouse-x, 0), var(--mouse-y, 0));
}
@media (hover: hover) and (pointer: fine) {
    .hub-spotlight-card:hover::before { opacity: 1; }
}

/* ========================================
   MOBILE FULL-SCREEN MENU
   ======================================== */
/* Hide announcement bar when mobile menu is open */
body.menu-open .hub-announcement-bar {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

@media (max-width: 991px) {
    /* Hamburger: visible on mobile, floats above overlay */
    .hub-navbar .navbar-toggler {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 2001; /* above overlay (2000) */
    }

    /* Full-screen overlay */
    .hub-navbar .navbar-collapse {
        position: fixed;
        inset: 0;
        background: rgba(10, 14, 26, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        z-index: 2000;
        display: flex !important;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 5rem 1.5rem 2rem;
        overflow-y: auto;
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        /* Both transform and opacity transition; visibility delays on close */
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.25s ease,
                    visibility 0s linear 0.3s;
    }
    .hub-navbar .navbar-collapse.show {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.25s ease,
                    visibility 0s;
    }

    /* Nav links in overlay */
    .hub-navbar .navbar-collapse .navbar-nav {
        width: 100%;
        max-width: 360px;
        align-items: stretch;
    }
    .hub-navbar .navbar-collapse .nav-item {
        width: 100%;
        text-align: center;
    }
    .hub-navbar .navbar-collapse .nav-link {
        font-size: 1.2rem;
        min-height: 52px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.75rem 1rem !important;
        border-radius: 10px;
        transition: background 0.15s ease, color 0.15s ease;
    }
    .hub-navbar .navbar-collapse .nav-link:hover {
        background: rgba(255,255,255,0.04);
    }
    .hub-navbar .navbar-collapse .dropdown-toggle::after {
        margin-left: 0.5rem;
    }

    /* ── Mobile Mega Menu (Özellikler) — Accordion style ── */
    .hub-navbar .navbar-collapse .hub-mega-menu {
        position: static !important;
        min-width: 0 !important;
        left: auto !important;
        transform: none !important;
        background: rgba(255,255,255,0.04) !important;
        border: 1px solid rgba(255,255,255,0.08) !important;
        border-radius: 12px !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        width: 100%;
        margin-top: 0.25rem;
        margin-bottom: 0.5rem;
        overflow: visible;
    }
    .hub-navbar .navbar-collapse .hub-mega-inner {
        padding: 0.75rem;
    }
    .hub-navbar .navbar-collapse .hub-mega-header {
        display: none; /* unnecessary in mobile context */
    }
    .hub-navbar .navbar-collapse .hub-mega-grid {
        grid-template-columns: 1fr; /* single column */
        gap: 0.15rem;
    }
    .hub-navbar .navbar-collapse .hub-mega-item {
        padding: 0.55rem 0.75rem;
        text-align: left;
        border-radius: 8px;
    }
    .hub-navbar .navbar-collapse .hub-mega-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        padding-top: 0.5rem;
        margin-top: 0.25rem;
    }
    .hub-navbar .navbar-collapse .hub-mega-cta {
        justify-content: center;
        padding: 0.5rem 0.75rem;
        background: rgba(243,147,33,0.08);
        border-radius: 8px;
        border: 1px solid rgba(243,147,33,0.18);
        font-size: 0.82rem;
    }

    /* ── Mobile Karşılaştır Dropdown — Accordion style ── */
    .hub-navbar .navbar-collapse .hub-dropdown {
        position: static !important;
        min-width: 0 !important;
        background: rgba(255,255,255,0.04) !important;
        border: 1px solid rgba(255,255,255,0.08) !important;
        border-radius: 12px !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        width: 100%;
        margin-top: 0.25rem;
        margin-bottom: 0.5rem;
        padding: 0.5rem;
    }
    .hub-navbar .navbar-collapse .hub-dropdown .dropdown-item {
        text-align: left;
        border-radius: 8px;
        font-size: 0.95rem;
    }

    /* CTA buttons section in overlay */
    .hub-navbar .navbar-actions {
        width: 100%;
        max-width: 360px;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--hub-border);
        flex-direction: column;
        gap: 0.5rem !important;
    }
    .hub-navbar .navbar-actions .btn,
    .hub-navbar .navbar-actions .nav-link {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* ========================================
   FOOTER COLLAPSIBLE (MOBILE)
   ======================================== */
@media (max-width: 768px) {
    .hub-footer .footer-column-title {
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .hub-footer .footer-column-title::after {
        content: '\f078';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        font-size: 0.7rem;
        transition: transform 0.3s;
    }
    .hub-footer .footer-column-title.active::after { transform: rotate(180deg); }
    .hub-footer .footer-links { display: none; }
    .hub-footer .footer-links.show { display: block; }
}

/* ========================================
   MOBILE RESPONSIVE
   ======================================== */
@media (max-width: 991px) {
    .hub-hero {
        min-height: auto !important;
        padding: 100px 0 60px !important;
    }
}
@media (max-width: 768px) {
    .hub-hero {
        min-height: auto !important;
        padding: 60px 0 40px !important;
    }
    .hub-hero-title {
        font-size: 2rem !important;
    }
    .hub-hero-subtitle {
        font-size: 1rem !important;
    }
    .hub-hero-cta .btn {
        width: 100%;
    }
    .hub-hero-trust {
        flex-direction: column !important;
        gap: 0.5rem !important;
    }
    .hub-section {
        padding: 3rem 0 !important;
    }
    .hub-cta-section .cta-inner {
        padding: 2rem !important;
    }
    .hub-cta-section .btn {
        width: 100%;
    }
    .display-4 {
        font-size: 2.5rem !important;
    }
    .hub-announcement-bar .container {
        font-size: 0.8rem;
    }
    .hub-floating-notification { display: none; }
    .hub-testimonial-card { width: 300px; }
    .hub-section .display-5 {
        font-size: 1.75rem !important;
    }
    .hub-comparison-table td:first-child,
    .hub-comparison-table th:first-child {
        position: sticky;
        left: 0;
        background: #111827;
        z-index: 2;
        min-width: 140px;
    }
}

/* ========================================
   CTA SECTION
   ======================================== */
.hub-cta-card {
    position: relative;
    border-radius: var(--hub-radius-lg);
    padding: 4rem 2.5rem;
    text-align: center;
    background: linear-gradient(135deg, #1a1040, #0f172a);
    border: 1px solid rgba(243, 147, 33, 0.15);
    overflow: hidden;
}
.hub-cta-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 200px;
    background: radial-gradient(ellipse at center, rgba(243, 147, 33, 0.1), transparent 70%);
    pointer-events: none;
}
.hub-cta-content { position: relative; z-index: 1; }

/* ========================================
   STICKY MOBILE CTA
   ======================================== */
.hub-sticky-cta {
    display: none;
}
@media (max-width: 768px) {
    .hub-sticky-cta {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1050;
        padding: 0.75rem 1rem;
        padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
        background: linear-gradient(180deg, rgba(10, 14, 26, 0), rgba(10, 14, 26, 0.95) 30%);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }
    .hub-sticky-cta .btn {
        font-size: 1rem;
        box-shadow: 0 -4px 24px rgba(243, 147, 33, 0.3);
    }
    /* Footer'ın sticky CTA'nın altında kalmaması için padding */
    .hub-footer {
        padding-bottom: 80px;
    }
}

/* Scroll to Top Button */
.hub-scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1040;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(10, 14, 26, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hub-scroll-top.visible {
    opacity: 1;
    visibility: visible;
}
.hub-scroll-top:hover {
    background: rgba(243, 147, 33, 0.2);
    border-color: rgba(243, 147, 33, 0.4);
    color: #f39321;
    transform: translateY(-2px);
}
@media (max-width: 768px) {
    .hub-scroll-top {
        bottom: 5.5rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }
}

/* ========================================
   PREFERS-REDUCED-MOTION
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .hub-testimonial-track,
    .hub-brands-track {
        animation: none !important;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}

/* ========================================
   MEGA MENU — Header Features Dropdown
   ======================================== */
.hub-mega-menu {
    min-width: 520px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 !important;
    border: 1px solid rgba(255,255,255,0.07) !important;
    background: rgba(13,17,30,0.98) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px !important;
    box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 0 1px rgba(243,147,33,0.06) !important;
    overflow: hidden;
}
.hub-mega-inner { padding: 1.25rem; }
.hub-mega-header {
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 0.75rem;
}
.hub-mega-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem;
}
.hub-mega-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    text-decoration: none !important;
    transition: background 0.15s ease;
    color: inherit;
}
.hub-mega-item:hover {
    background: rgba(255,255,255,0.04);
}
.hub-mega-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--mega-color) 12%, transparent);
    flex-shrink: 0;
    font-size: 0.8rem;
    color: var(--mega-color);
}
.hub-mega-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    line-height: 1.2;
}
.hub-mega-desc {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.4);
    margin-top: 0.1rem;
}
.hub-mega-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.hub-mega-cta {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--hub-primary) !important;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: gap 0.2s ease;
}
.hub-mega-cta:hover { gap: 0.55rem; }
.hub-mega-cta i { font-size: 0.65rem; }

/* Compare dropdown badge */
.hub-nav-compare-badge {
    font-size: 0.58rem;
    font-weight: 700;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    background: rgba(34,197,94,0.15);
    color: #22c55e;
    margin-left: 0.3rem;
    vertical-align: middle;
}

/* ========================================
   FOOTER — Enhanced
   ======================================== */
.hub-footer-cta-strip {
    background: linear-gradient(135deg, rgba(243,147,33,0.08), rgba(99,102,241,0.06));
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 2rem 0;
}
.hub-footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(243,147,33,0.1);
    border: 1px solid rgba(243,147,33,0.2);
    color: #f39321;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 0.75rem;
}
.hub-footer-newsletter {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    max-width: 340px;
}
.hub-footer-newsletter input {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 0.6rem 0.875rem;
    color: #fff;
    font-size: 0.82rem;
    outline: none;
    transition: border-color 0.2s;
}
.hub-footer-newsletter input::placeholder { color: rgba(255,255,255,0.3); }
.hub-footer-newsletter input:focus { border-color: rgba(243,147,33,0.4); }
.hub-footer-newsletter button {
    background: var(--hub-primary);
    border: none;
    border-radius: 8px;
    padding: 0.6rem 1rem;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s;
}
.hub-footer-newsletter button:hover { opacity: 0.85; }
.hub-footer-product-count {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.35);
    margin-top: 0.5rem;
}
.hub-footer-divider {
    border-color: rgba(255,255,255,0.05) !important;
}

/* ========================================
   MISSING BASE STYLES — Header & Footer
   ======================================== */

/* Header wrapper */
.hub-header {
    position: relative;
    z-index: 1030;
}

/* Hamburger Button */
.hub-hamburger {
    width: 22px;
    height: 16px;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
    background: none;
    border: none;
}
.hub-hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: rgba(255,255,255,0.85);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    transform-origin: center;
}
.hub-hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hub-hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hub-hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Zero Commission Badge (footer) */
.hub-zero-commission-badge {
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.18);
}
.hub-zero-commission-icon {
    color: var(--hub-success);
    font-size: 0.78rem;
}

/* Status dot animation */
.hub-status-dot {
    font-size: 0.45rem;
    display: inline-block;
    animation: hub-pulse-dot 2s ease-in-out infinite;
}
@keyframes hub-pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

/* Footer column title — base desktop styles */
.hub-footer .footer-column-title {
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    color: rgba(255,255,255,0.88);
    cursor: default;
}

/* Footer description text */
.hub-footer-description {
    font-size: 0.875rem;
    line-height: 1.7;
    max-width: 320px;
}

/* Contact icon in footer */
.hub-contact-icon {
    font-size: 0.75rem;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

/* Dropdown item in mega/compare — fix color inherit */
.hub-navbar .dropdown-item {
    color: var(--hub-text) !important;
}
.hub-navbar .dropdown-item:hover,
.hub-navbar .dropdown-item:focus {
    color: var(--hub-primary) !important;
    background: rgba(255,255,255,0.04) !important;
}

/* Fix mega menu positioning on scroll */
@media (min-width: 992px) {
    /* Extend li hover area to cover gap between button and dropdown */
    .hub-navbar .nav-item.dropdown {
        padding-bottom: 12px;
        margin-bottom: -12px;
    }
    .hub-mega-menu {
        position: absolute;
        top: calc(100% + 2px);
    }
    .hub-dropdown {
        top: calc(100% + 2px);
    }
}

/* Karşılaştır dropdown — dark theme fix */
.hub-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 240px;
    background: rgba(13,17,30,0.98) !important;
    border: 1px solid rgba(255,255,255,0.07) !important;
    border-radius: 12px !important;
    padding: 0.5rem !important;
    list-style: none;
    z-index: 1050;
}

/* ========================================
   BLOG DETAIL - SEO ENHANCEMENTS
   ======================================== */

/* Reading Progress Bar */
.hub-reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--hub-primary), var(--hub-primary-hover));
    z-index: 9999;
    transition: width 0.1s linear;
    box-shadow: 0 0 8px var(--hub-primary-glow);
}

/* Author Avatar */
.hub-author-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(243,147,33,0.15);
    color: var(--hub-primary);
    font-size: 0.7rem;
    border: 1px solid rgba(243,147,33,0.3);
}

/* Updated Badge */
.hub-updated-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.6rem;
    background: rgba(34,197,94,0.1);
    border: 1px solid rgba(34,197,94,0.2);
    border-radius: 2rem;
    font-size: 0.75rem;
    color: #22c55e;
    font-weight: 600;
}

/* TOC List */
a.hub-toc-item,
a.hub-toc-item:link,
a.hub-toc-item:visited {
    display: block;
    padding: 0.4rem 0.75rem;
    margin-bottom: 0.15rem;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    border-left: 2px solid transparent;
    border-radius: 0 0.25rem 0.25rem 0;
    transition: all 0.2s;
    line-height: 1.4;
}
a.hub-toc-item:hover {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    background: rgba(255,255,255,0.04);
    border-left-color: rgba(243,147,33,0.3);
}
a.hub-toc-item.active {
    color: var(--hub-primary);
    text-decoration: none;
    background: rgba(243,147,33,0.08);
    border-left-color: var(--hub-primary);
    font-weight: 600;
}
.hub-toc-sub {
    padding-left: 1.5rem;
    font-size: 0.78rem;
}

/* Mobile TOC Toggle */
.hub-toc-toggle {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

/* Mid-Content CTA */
.hub-mid-cta {
    padding: 1.5rem;
    background: rgba(243,147,33,0.06);
    border: 1px solid rgba(243,147,33,0.2);
    border-radius: 1rem;
    border-left: 4px solid var(--hub-primary);
}
.hub-mid-cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 0.75rem;
    background: rgba(243,147,33,0.15);
    color: var(--hub-primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* FAQ Section */
.hub-faq-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.hub-faq-item {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: border-color 0.2s;
}
.hub-faq-item:hover {
    border-color: rgba(243,147,33,0.2);
}
.hub-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 1.25rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    gap: 1rem;
}
.hub-faq-question i {
    color: var(--hub-primary);
    font-size: 0.75rem;
    transition: transform 0.2s;
    flex-shrink: 0;
}
.hub-faq-answer {
    padding: 0 1.25rem 1rem;
}
.hub-faq-answer p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}
