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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', sans-serif;
    background: #060816;
    color: #f8fafc;
    line-height: 1.5;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
}

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

/* =========================================================
   ROOT VARIABLES
   ========================================================= */

:root {

    /* Backgrounds */
    --gb-bg: #060816;
    --gb-bg-secondary: #0b1023;
    --gb-bg-card: rgba(15, 15, 20, 0.92);
    --gb-bg-glass: rgba(255, 255, 255, 0.04);

    /* Colors */
    --gb-primary: #3b82f6;
    --gb-primary-hover: #2563eb;
    --gb-secondary: #8b5cf6;
    --gb-cyan: #06b6d4;
    --gb-success: #10b981;
    --gb-danger: #ef4444;
    --gb-warning: #f59e0b;

    /* Text */
    --gb-text: #f8fafc;
    --gb-text-muted: #94a3b8;
    --gb-text-soft: #64748b;

    /* Borders */
    --gb-border: rgba(59, 130, 246, 0.15);
    --gb-border-strong: rgba(59, 130, 246, 0.30);

    /* Shadows */
    --gb-shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.20);
    --gb-shadow-md: 0 10px 30px rgba(0, 0, 0, 0.30);
    --gb-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.45);

    /* Radius */
    --gb-radius-sm: 10px;
    --gb-radius-md: 16px;
    --gb-radius-lg: 22px;
    --gb-radius-xl: 28px;

    /* Layout */
    --gb-sidebar-width: 280px;
    --gb-topbar-height: 78px;

    /* Transitions */
    --gb-transition: all 0.25s ease;
}

/* =========================================================
   APP LAYOUT
   ========================================================= */

.gb-app {
    min-height: 100vh;
    position: relative;
}

.gb-page {
    padding: 32px 0;
}

.gb-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
}

/* =========================================================
   NEURAL BACKGROUND
   ========================================================= */

.gb-neural-background {
    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.gb-neural-background::before {
    content: '';
    position: absolute;
    top: -200px;
    left: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59,130,246,0.14) 0%, transparent 70%);
    animation: gbFloat 12s ease-in-out infinite;
}

.gb-neural-background::after {
    content: '';
    position: absolute;
    right: -200px;
    bottom: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139,92,246,0.12) 0%, transparent 70%);
    animation: gbFloat 12s ease-in-out infinite reverse;
}

@keyframes gbFloat {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(40px);
    }
}

/* =========================================================
   SIDEBAR
   ========================================================= */

.gb-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--gb-sidebar-width);
    height: 100vh;
    background: rgba(11, 16, 35, 0.92);
    backdrop-filter: blur(18px);
    border-right: 1px solid var(--gb-border);
    z-index: 100;
    display: flex;
    flex-direction: column;
}

.gb-sidebar-header {
    height: var(--gb-topbar-height);
    padding: 0 24px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--gb-border);
}

.gb-sidebar-nav {
    flex: 1;
    padding: 24px 16px;
}

.gb-nav-group {
    margin-bottom: 28px;
}

.gb-nav-title {
    font-size: 11px;
    color: var(--gb-text-soft);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0 12px;
    margin-bottom: 12px;
}

.gb-nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 14px;
    color: #94a3b8;
    transition: all .25s ease;
    position: relative;
}

.gb-nav-link:hover {
    color: #ffffff;
    background: rgba(255,255,255,.04);
}

.gb-nav-link.active {
    color: #ffffff;

    background: rgba(59,130,246,.15);

    border: 1px solid rgba(59,130,246,.20);
}

.gb-nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(59,130,246,0.12), transparent);
    opacity: 0;
    transition: var(--gb-transition);
}

.gb-nav-link:hover::before,
.gb-nav-link.active::before {
    opacity: 1;
}

.gb-nav-link:hover,
.gb-nav-link.active {
    background: rgba(59,130,246,0.10);
    color: #ffffff;
    border: 1px solid rgba(59,130,246,0.15);
}

.gb-nav-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gb-sidebar-footer {
    padding: 18px;
    border-top: 1px solid var(--gb-border);
}

.gb-upgrade-card {
    background: linear-gradient(135deg,
        rgba(59,130,246,0.12),
        rgba(139,92,246,0.12));

    border: 1px solid rgba(59,130,246,0.18);
    border-radius: 18px;
    padding: 18px;
}

.gb-upgrade-card h3 {
    font-size: 15px;
    margin-bottom: 8px;
}

.gb-upgrade-card p {
    font-size: 13px;
    color: var(--gb-text-muted);
    margin-bottom: 14px;
}

/* =========================================================
   TOPBAR
   ========================================================= */

.gb-topbar {
    position: sticky;
    top: 0;
    height: var(--gb-topbar-height);
    background: rgba(11,16,35,0.75);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gb-border);
    z-index: 90;
}

.gb-topbar-content {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
}

.gb-page-header {
    margin-bottom: 32px;
}

.gb-page-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
}

.gb-page-header p {
    color: #94a3b8;
    margin-top: 6px;
}

.gb-topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* =========================================================
   SEARCH BAR
   ========================================================= */

.gb-search {
    position: relative;
    width: 320px;
}

.gb-search input {
    width: 100%;
    height: 48px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(59,130,246,0.15);
    border-radius: 14px;
    color: #ffffff;
    padding: 0 18px 0 48px;
    outline: none;
    transition: var(--gb-transition);
}

.gb-search input:focus {
    border-color: rgba(59,130,246,0.45);
    box-shadow: 0 0 0 4px rgba(59,130,246,0.10);
}

.gb-search-icon {
    position: absolute;
    top: 50%;
    left: 18px;
    transform: translateY(-50%);
    color: var(--gb-text-soft);
}

/* =========================================================
   PROFILE DROPDOWN
   ========================================================= */

.gb-profile {
    position: relative;
}

.gb-profile-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 16px;
    cursor: pointer;
    transition: var(--gb-transition);
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(59,130,246,0.08);
}

.gb-profile-trigger:hover {
    background: rgba(255,255,255,0.06);
}

.gb-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gb-primary), var(--gb-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.gb-profile-meta h4 {
    font-size: 14px;
}

.gb-profile-meta p {
    font-size: 12px;
    color: var(--gb-text-muted);
}

.gb-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 220px;
    background: rgba(15,15,20,.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(59,130,246,.15);
    border-radius: 16px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .25s ease;
    z-index: 1000;
}

.gb-profile.active .gb-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.gb-dropdown a,
.gb-dropdown button {
    width: 100%;
    background: transparent;
    border: none;
    color: #e2e8f0;
    padding: 14px 18px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: var(--gb-transition);
}

.gb-dropdown a:hover,
.gb-dropdown button:hover {
    background: rgba(255,255,255,0.05);
}

.gb-dropdown .danger:hover {
    background: rgba(239,68,68,0.08);
    color: #f87171;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.gb-btn {
    border: none;
    cursor: pointer;
    transition: var(--gb-transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
}

.gb-btn-primary {
    background: linear-gradient(135deg,
        var(--gb-primary),
        var(--gb-secondary));

    color: #ffffff;
    height: 50px;
    padding: 0 22px;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(59,130,246,0.25);
}

.gb-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(59,130,246,0.40);
}

.gb-btn-secondary {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(59,130,246,0.15);
    color: #ffffff;
    height: 48px;
    padding: 0 18px;
    border-radius: 14px;
}

.gb-btn-secondary:hover {
    background: rgba(255,255,255,0.08);
}

/* =========================================================
   CARDS
   ========================================================= */

.gb-card {
    background: var(--gb-bg-card);
    border: 1px solid var(--gb-border);
    border-radius: var(--gb-radius-lg);
    backdrop-filter: blur(20px);
    box-shadow: var(--gb-shadow-md);
    position: relative;
    overflow: hidden;
}

.gb-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(59,130,246,0.45),
        transparent);
}

.gb-card-header {
    padding: 24px 24px 0;
}

.gb-card-body {
    padding: 24px;
}

.gb-card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.gb-card-subtitle {
    color: var(--gb-text-muted);
    font-size: 14px;
}

/* =========================================================
   STATS GRID
   ========================================================= */

.gb-grid {
    display: grid;
    gap: 24px;
}

.gb-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.gb-stat-card {
    padding: 26px;
}

.gb-stat-label {
    font-size: 14px;
    color: var(--gb-text-muted);
    margin-bottom: 14px;
}

.gb-stat-value {
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
}

.gb-stat-change {
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--gb-success);
}

/* =========================================================
   TABLES
   ========================================================= */

.gb-table-wrapper {
    overflow-x: auto;
}

.gb-table {
    width: 100%;
    border-collapse: collapse;
}

.gb-table th {
    text-align: left;
    padding: 18px;
    color: var(--gb-text-muted);
    font-size: 13px;
    font-weight: 600;
    border-bottom: 1px solid var(--gb-border);
}

.gb-table td {
    padding: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.gb-table tr:hover {
    background: rgba(255,255,255,0.02);
}

/* =========================================================
   FORMS
   ========================================================= */

.gb-form-group {
    margin-bottom: 22px;
}

.gb-label {
    display: block;
    margin-bottom: 10px;
    color: #dbeafe;
    font-size: 14px;
    font-weight: 500;
}

.gb-input,
.gb-textarea,
.gb-select {
    width: 100%;
    background: rgba(30, 41, 59, 0.45);
    border: 1px solid rgba(59,130,246,0.18);
    border-radius: 14px;
    color: #ffffff;
    padding: 14px 16px;
    outline: none;
    transition: var(--gb-transition);
}

.gb-input:focus,
.gb-textarea:focus,
.gb-select:focus {
    border-color: rgba(59,130,246,0.45);
    box-shadow: 0 0 0 4px rgba(59,130,246,0.10);
}

.gb-textarea {
    min-height: 120px;
    resize: vertical;
}

/* =========================================================
   CHAT UI
   ========================================================= */

.gb-chat-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 24px;
}

.gb-chat-sidebar {
    height: calc(100vh - 140px);
    overflow-y: auto;
}

.gb-chat-window {
    height: calc(100vh - 140px);
    display: flex;
    flex-direction: column;
}

.gb-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.gb-message {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.gb-message.user {
    justify-content: flex-end;
}

.gb-message-bubble {
    max-width: 70%;
    padding: 18px;
    border-radius: 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(59,130,246,0.12);
}

.gb-message.user .gb-message-bubble {
    background: linear-gradient(135deg,
        rgba(59,130,246,0.25),
        rgba(139,92,246,0.20));
}

.gb-chat-input {
    padding: 20px;
    border-top: 1px solid var(--gb-border);
}

.gb-chat-input-box {
    display: flex;
    align-items: center;
    gap: 14px;
}

.gb-chat-input-box textarea {
    flex: 1;
    min-height: 58px;
    max-height: 180px;
}

/* =========================================================
   PRICING
   ========================================================= */

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

.gb-pricing-card {
    padding: 34px;
    position: relative;
}

.gb-pricing-card.popular {
    border-color: rgba(59,130,246,0.45);
    transform: scale(1.03);
}

.gb-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg,
        var(--gb-primary),
        var(--gb-secondary));

    color: #ffffff;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.gb-price {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    margin: 24px 0;
}

.gb-price h2 {
    font-size: 52px;
    line-height: 1;
}

.gb-price span {
    color: var(--gb-text-muted);
}

.gb-feature-list {
    list-style: none;
    margin: 28px 0;
}

.gb-feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: #dbeafe;
}

/* =========================================================
   UTILITIES
   ========================================================= */

.gb-flex {
    display: flex;
}

.gb-items-center {
    align-items: center;
}

.gb-justify-between {
    justify-content: space-between;
}

.gb-gap-16 {
    gap: 16px;
}

.gb-mb-20 {
    margin-bottom: 20px;
}

.gb-mb-30 {
    margin-bottom: 30px;
}

.gb-text-muted {
    color: var(--gb-text-muted);
}

.gb-hidden {
    display: none;
}

/* =========================================================
   SCROLLBAR
   ========================================================= */

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(59,130,246,0.25);
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(59,130,246,0.45);
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */

:focus-visible {
    outline: 2px solid var(--gb-primary);
    outline-offset: 2px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1200px) {

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

    .gb-pricing-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {

    .gb-sidebar {
        transform: translateX(-100%);
        transition: var(--gb-transition);
    }

    .gb-sidebar.active {
        transform: translateX(0);
    }

    .gb-main {
        margin-left: 0;
    }

    .gb-chat-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    .gb-page {
        padding: 20px;
    }

    .gb-topbar-content {
        padding: 0 20px;
    }

    .gb-search {
        display: none;
    }

    .gb-grid-4 {
        grid-template-columns: 1fr;
    }

    .gb-profile-meta {
        display: none;
    }
}

@media (max-width: 480px) {

    .gb-page-heading h1 {
        font-size: 20px;
    }

    .gb-card-body,
    .gb-card-header {
        padding: 18px;
    }

    .gb-stat-value {
        font-size: 28px;
    }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.gb-kpi-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:24px;
    margin-bottom:30px;
}

.gb-kpi-card{
    padding:24px;
    border-radius:20px;
    border:1px solid rgba(255,255,255,.08);
    backdrop-filter:blur(20px);
    transition:.3s;
}

.gb-kpi-card:hover{
    transform:translateY(-4px);
}

.gb-kpi-title{
    color:#94a3b8;
    font-size:14px;
}

.gb-kpi-label {
    font-size: 14px;
    color: rgba(255,255,255,.75);
    margin-bottom: 10px;
}

.gb-kpi-value{
    margin-top:12px;
    font-size:32px;
    font-weight:800;
}

.gb-kpi-blue{
    background:
    linear-gradient(
    135deg,
    rgba(59,130,246,.18),
    rgba(59,130,246,.05)
    );
}

.gb-kpi-purple{
    background:
    linear-gradient(
    135deg,
    rgba(139,92,246,.18),
    rgba(139,92,246,.05)
    );
}

.gb-kpi-cyan{
    background:
    linear-gradient(
    135deg,
    rgba(6,182,212,.18),
    rgba(6,182,212,.05)
    );
}

.gb-kpi-amber{
    background:
    linear-gradient(
    135deg,
    rgba(245,158,11,.18),
    rgba(245,158,11,.05)
    );
}

.gb-kpi-orange {
    background:
        linear-gradient(
            135deg,
            rgba(249,115,22,.25),
            rgba(234,88,12,.10)
        );
}

.gb-dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.gb-widget {
    background: rgba(15,15,20,.85);
    border: 1px solid rgba(59,130,246,.10);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.gb-widget-header {
    padding: 22px 24px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.gb-widget-header h3 {
    color: white;
    font-size: 18px;
}

.gb-widget-body {
    padding: 24px;
}

.gb-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(11, 16, 35, 0.90);

    backdrop-filter: blur(20px);

    border-bottom: 1px solid rgba(59, 130, 246, 0.15);
}

.gb-header-container {
    max-width: 1600px;

    margin: 0 auto;

    height: 78px;

    padding: 0 32px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}

.gb-header-left {
    display: flex;
    align-items: center;
    gap: 50px;
}

.gb-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.gb-logo-icon {
    width: 48px;
    height: 48px;

    border-radius: 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 20px;
    font-weight: 800;
    color: #ffffff;

    background: linear-gradient(
        135deg,
        #3b82f6,
        #8b5cf6
    );

    box-shadow: 0 0 20px rgba(59,130,246,.30);
}

.gb-logo-text h2 {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

.gb-logo-text p {
    font-size: 12px;
    color: #94a3b8;
}

.gb-logo-title {
    color: white;
    font-weight: 700;
    font-size: 16px;
}

.gb-logo-subtitle {
    color: #94a3b8;
    font-size: 12px;
}

.gb-credit-badge {
    padding: 10px 16px;
    border-radius: 14px;
    background: rgba(59,130,246,.10);
    border: 1px solid rgba(59,130,246,.15);
    color: #cbd5e1;
    font-size: 14px;
}

.gb-credit-badge strong {
    color: #60a5fa;
}

.gb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gb-header-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.gb-notification-btn {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 14px;
    background: rgba(255,255,255,.04);
    color: white;
    cursor: pointer;
    transition: all .25s ease;
}

.gb-notification-btn:hover {
    background: rgba(255,255,255,.08);
}

.gb-profile {
    position: relative;
}

.gb-profile-trigger {
    display: flex;
    align-items: center;
    gap: 12px;

    background: rgba(255,255,255,.04);

    border: 1px solid rgba(59,130,246,.10);

    border-radius: 14px;

    padding: 8px 14px;

    color: white;

    cursor: pointer;
}

.gb-avatar {
    width: 36px;
    height: 36px;

    border-radius: 50%;

    background: linear-gradient(
        135deg,
        #3b82f6,
        #8b5cf6
    );

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 700;
}

@media (max-width: 992px) {

    .gb-nav {
        display: none;
    }

    .gb-logo-subtitle {
        display: none;
    }

    .gb-header-container {
        padding: 0 20px;
    }

}

.gb-chat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-radius: 14px;
    transition: .25s;
    margin-bottom: 10px;
}

.gb-chat-item:hover {
    background: rgba(255,255,255,.04);
}

.gb-chat-title {
    color: white;
    font-weight: 600;
}

.gb-chat-date {
    color: #94a3b8;
    font-size: 13px;
    margin-top: 4px;
}

.gb-action-btn {
    display: block;
    width: 100%;
    padding: 14px;
    margin-bottom: 12px;
    text-align: center;
    border-radius: 14px;
    background: rgba(59,130,246,.10);
    border: 1px solid rgba(59,130,246,.15);
    color: white;
    transition: .25s;
}

.gb-action-btn:hover {
    background: rgba(59,130,246,.20);
}

@media (max-width: 992px) {

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

    .gb-dashboard-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 576px) {

    .gb-kpi-grid {
        grid-template-columns: 1fr;
    }

}

.gb-usage-top {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 16px;

    color: #cbd5e1;
}

.gb-progress {
    height: 14px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(59,130,246,.10);
}

.gb-progress-fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(
        90deg,
        #3b82f6,
        #8b5cf6
    );
    transition: width .6s ease;
}

.gb-progress-bar {
    height: 100%;
    width: 66%;
    background: linear-gradient(
        90deg,
        #3b82f6,
        #8b5cf6
    );
}

.gb-usage-meta {
    display: flex;

    justify-content: space-between;

    margin-top: 12px;

    color: #94a3b8;

    font-size: 13px;
}

.gb-timeline {
    position: relative;
}

.gb-timeline::before {
    content: '';

    position: absolute;

    left: 7px;
    top: 0;
    bottom: 0;

    width: 2px;

    background: rgba(59,130,246,.15);
}

.gb-timeline-item {
    position: relative;
    display: flex;
    gap: 16px;
    padding-bottom: 24px;
}

.gb-timeline-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #3b82f6;
    box-shadow: 0 0 12px rgba(59,130,246,.50);
    position: relative;
    z-index: 2;
}

.gb-timeline-content {
    flex: 1;
}

.gb-timeline-title {
    color: white;
    font-weight: 600;
    margin-bottom: 4px;
}

.gb-timeline-time {
    color: #94a3b8;
    font-size: 13px;
}

.gb-profile-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.gb-profile-stats {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
}

.gb-profile-stat {
    padding: 20px;
    border-radius: 16px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(59,130,246,.08);
}

.gb-profile-stat span {
    display: block;
    color: #94a3b8;
    margin-bottom: 8px;
    font-size: 13px;
}

.gb-profile-stat strong {
    font-size: 22px;
    color: white;
}

.gb-danger-card {
    border-color: rgba(239,68,68,.20);
}

@media (max-width: 768px) {

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

}

@media (max-width: 576px) {

    .gb-profile-stats {
        grid-template-columns: 1fr;
    }

}

.gb-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.gb-form-group {
    display: flex;
    flex-direction: column;
}

.gb-label {
    margin-bottom: 8px;
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 600;
}

.gb-input {
    width: 100%;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(59,130,246,.15);
    border-radius: 14px;
    padding: 14px 16px;
    color: #ffffff;
    transition: .25s;
}

.gb-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}

.gb-input:disabled {
    opacity: .75;
    cursor: not-allowed;
}

.gb-error {
    color: #f87171;
    margin-top: 8px;
    font-size: 13px;
}

.gb-success {
    padding: 14px;
    border-radius: 12px;
    background: rgba(34,197,94,.10);
    border: 1px solid rgba(34,197,94,.20);
    color: #4ade80;
}

.gb-alert {
    padding: 16px;
    border-radius: 12px;
    background: rgba(249,115,22,.08);
    border: 1px solid rgba(249,115,22,.15);
}

.gb-link-btn {
    margin-top: 10px;
    background: transparent;
    border: none;
    color: #60a5fa;
    cursor: pointer;
}

.gb-form-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.gb-success-text {
    color: #4ade80;
    font-size: 14px;
}

.gb-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.gb-modal.active {
    display: flex;
}

.gb-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.75);
    backdrop-filter: blur(6px);
}

.gb-modal-content {
    position: relative;
    width: 100%;
    max-width: 520px;
    background: #0f172a;
    border: 1px solid rgba(59,130,246,.15);
    border-radius: 20px;
    padding: 28px;
    z-index: 2;
}

.gb-modal-content h3 {
    color: white;
    margin-bottom: 10px;
    font-size: 22px;
}

.gb-modal-content p {
    color: #94a3b8;
    margin-bottom: 24px;
    line-height: 1.6;
}

.gb-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}

.gb-btn-secondary {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.10);
    color: white;
}

.gb-btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    border: none;
    position: relative;
    overflow: hidden;
}

.gb-btn-danger::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,.15),
        transparent
    );
    opacity: 0;
    transition: .3s;
}

.gb-btn-danger:hover::before {
    opacity: 1;
}

.gb-pricing-page {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.gb-pricing-hero {
    text-align: center;
}

.gb-pricing-hero h1 {
    font-size: 42px;
    color: #fff;
    margin: 12px 0;
}

.gb-pricing-hero p {
    max-width: 700px;
    margin: auto;
    color: #94a3b8;
}

.gb-pricing-toggle-wrapper {
    display: flex;
    justify-content: center;
}

.gb-billing-toggle {
    display: inline-flex;
    padding: 6px;
    border-radius: 999px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(59,130,246,.12);
}

.gb-toggle-btn {
    border: none;
    background: transparent;
    color: #94a3b8;
    padding: 10px 22px;
    border-radius: 999px;
    cursor: pointer;
}

.gb-toggle-btn.active {
    background: linear-gradient(135deg,#3b82f6,#8b5cf6);
    color: #fff;
}

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

.gb-plan-card {
    background: rgba(15,23,42,.85);
    border: 1px solid rgba(59,130,246,.12);
    border-radius: 24px;
    padding: 30px;
    position: relative;
    transition: .3s;
}

.gb-plan-card:hover {
    transform: translateY(-6px);
}

.gb-plan-featured {
    border-color: rgba(139,92,246,.30);
    box-shadow: 0 0 30px rgba(139,92,246,.15);
}

.gb-plan-popular {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg,#3b82f6,#8b5cf6);
    color: #fff;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.gb-plan-title {
    color: white;
    font-size: 24px;
    margin-bottom: 10px;
}

.gb-plan-description {
    color: #94a3b8;
    margin-bottom: 24px;
}

.gb-price {
    margin-bottom: 20px;
}

.yearly-price {
    display: none;
}

.gb-price .currency {
    font-size: 22px;
}

.gb-price .amount {
    font-size: 48px;
    font-weight: 800;
    color: white;
}

.gb-price .period {
    color: #94a3b8;
}

.gb-plan-credits {
    color: #60a5fa;
    font-weight: 700;
    margin-bottom: 24px;
}

.gb-plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.gb-plan-features li {
    color: #cbd5e1;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,.05);
}

.gb-plan-footer {
    margin-top: auto;
}

.gb-faq-item {
    margin-bottom: 24px;
}

.gb-faq-item h4 {
    color: white;
    margin-bottom: 8px;
}

.gb-faq-item p {
    color: #94a3b8;
}

@media (max-width: 992px) {

    .gb-pricing-grid {
        grid-template-columns: 1fr;
    }

    .gb-pricing-hero h1 {
        font-size: 32px;
    }

}

.gb-saving-badge {
    display: inline-flex;

    align-items: center;

    padding: 6px 12px;

    margin-bottom: 12px;

    border-radius: 999px;

    background: rgba(16,185,129,.15);

    border: 1px solid rgba(16,185,129,.25);

    color: #34d399;

    font-size: 12px;

    font-weight: 700;
}

.gb-saving-text {
    margin-top: 8px;

    color: #34d399;

    font-size: 13px;

    font-weight: 500;
}

.gb-billing-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.gb-plan-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gb-plan-price {
    font-size: 36px;
    font-weight: 800;
    color: #3b82f6;
}

.gb-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.05);
}

.gb-summary-total {
    font-size: 18px;
    font-weight: 700;
}

.gb-payment-box {
    text-align: center;
}

.gb-payment-logo {
    font-size: 22px;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 12px;
}

.gb-table {
    width: 100%;
    border-collapse: collapse;
}

.gb-table th {
    text-align: left;
    padding: 14px;
    color: #94a3b8;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.gb-table td {
    padding: 14px;
    border-bottom: 1px solid rgba(255,255,255,.05);
}

.gb-badge-success {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(16,185,129,.15);
    color: #34d399;
    font-size: 12px;
    font-weight: 600;
}

.gb-footer {
    margin-top: 80px;
    background: #060816;
    border-top: 1px solid rgba(59,130,246,0.2);
    padding: 40px 20px;
}

.gb-footer-container {
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.gb-footer-brand h3 {
    color: #ffffff;
    margin-bottom: 10px;
}

.gb-footer-brand p {
    color: #94a3b8;
    max-width: 600px;
    margin: auto;
}

.gb-footer-links {
    margin: 25px 0;
}

.gb-footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    margin: 0 15px;
    transition: 0.3s;
}

.gb-footer-links a:hover {
    color: #3b82f6;
}

.gb-footer-copy {
    color: #64748b;
    font-size: 14px;
}

.legal-wrapper {
    min-height: 100vh;
    padding: 60px 20px;
}

.legal-container {
    max-width: 900px;
    margin: auto;
}

.legal-card {
    background: rgba(15,23,42,0.7);
    border: 1px solid rgba(59,130,246,0.15);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(20px);
}

.legal-card h1 {
    color: #fff;
    margin-bottom: 25px;
}

.legal-card h2 {
    color: #fff;
    margin-top: 30px;
    margin-bottom: 10px;
}

.legal-card p,
.legal-card li {
    color: #cbd5e1;
    line-height: 1.8;
}

.legal-card ul {
    padding-left: 20px;
}

.gb-alert-success{
    padding:16px 20px;
    margin-bottom:20px;
    border-radius:12px;
    border:1px solid rgba(34,197,94,.25);
    background:rgba(34,197,94,.10);
    color:#22c55e;
    font-weight:600;
}