/* 
  Getfol Framework v2.1.0
  A premium dark glassmorphic framework - Dynamic Grid & Native Layouts
*/

:root {
    /* Brand Colors */
    --gf-primary: #0055ee;
    --gf-primary-hover: #1a6aff;
    --gf-primary-glow: rgba(0, 85, 238, 0.4);

    --gf-secondary: #7c3aed;
    --gf-secondary-glow: rgba(124, 58, 237, 0.4);

    --gf-accent: #06b6d4;
    --gf-accent-glow: rgba(6, 182, 212, 0.4);

    /* State Colors */
    --gf-success: #10b981;
    --gf-danger: #ef4444;
    --gf-warning: #f59e0b;
    --gf-info: #3b82f6;

    /* Base Colors */
    --gf-bg: #050505;
    --gf-surface: rgba(15, 15, 15, 0.8);
    --gf-card: rgba(25, 25, 25, 0.4);
    --gf-text: #f9f9f9;
    --gf-text-muted: #888888;
    --gf-border: rgba(255, 255, 255, 0.08);
    --gf-border-hover: rgba(255, 255, 255, 0.15);

    /* Gray Scale (Neutral) */
    --gf-gray-100: #f3f4f6;
    --gf-gray-200: #e5e7eb;
    --gf-gray-300: #d1d5db;
    --gf-gray-400: #9ca3af;
    --gf-gray-500: #6b7280;
    --gf-gray-600: #4b5563;
    --gf-gray-700: #374151;
    --gf-gray-800: #111827;
    --gf-gray-900: #030712;

    /* Shared Styles */
    --gf-glass: blur(20px);
    --gf-radius: 0.75rem;
    --gf-radius-lg: 1.5rem;
    --gf-radius-full: 9999px;
    --gf-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gf-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

/* Color Utilities */
.text-primary {
    color: var(--gf-primary);
}

.text-secondary {
    color: var(--gf-secondary);
}

.text-accent {
    color: var(--gf-accent);
}

.text-success {
    color: var(--gf-success);
}

.text-danger {
    color: var(--gf-danger);
}

.text-warning {
    color: var(--gf-warning);
}

.text-info {
    color: var(--gf-info);
}

.bg-primary {
    background-color: var(--gf-primary);
}

.bg-secondary {
    background-color: var(--gf-secondary);
}

.bg-accent {
    background-color: var(--gf-accent);
}

.bg-success {
    background-color: var(--gf-success);
}

.bg-danger {
    background-color: var(--gf-danger);
}

.bg-warning {
    background-color: var(--gf-warning);
}

.bg-info {
    background-color: var(--gf-info);
}

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

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--gf-bg);
    color: var(--gf-text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar - Getfol Premium */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gf-bg);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    border: 2px solid var(--gf-bg);
    transition: var(--gf-transition);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gf-primary);
    box-shadow: 0 0 10px var(--gf-primary-glow);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) var(--gf-bg);
}

/* Material Symbols Integration */
.material-symbols-rounded {
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
    font-size: 1.25rem;
}

/* Grid System (12-Columns) */
.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -0.75rem;
}

[class*="col-"] {
    position: relative;
    width: 100%;
    padding: 0 0.75rem;
    flex: 0 0 auto;
}

.col-auto {
    flex: 0 0 auto;
    width: auto;
}

/* Display Utilities */
.d-block {
    display: block !important;
}

.d-flex {
    display: flex !important;
}

.d-inline-block {
    display: inline-block !important;
}

.d-none {
    display: none !important;
}

@media (min-width: 992px) {
    .d-lg-block {
        display: block !important;
    }

    .d-lg-flex {
        display: flex !important;
    }

    .d-lg-none {
        display: none !important;
    }
}

/* Default Mobile columns */
.col-1 {
    width: 8.333333%;
}

.col-2 {
    width: 16.666667%;
}

.col-3 {
    width: 25%;
}

.col-4 {
    width: 33.333333%;
}

.col-5 {
    width: 41.666667%;
}

.col-6 {
    width: 50%;
}

.col-7 {
    width: 58.333333%;
}

.col-8 {
    width: 66.666667%;
}

.col-9 {
    width: 75%;
}

.col-10 {
    width: 83.333333%;
}

.col-11 {
    width: 91.666667%;
}

.col-12 {
    width: 100%;
}

/* MD Breakpoint (768px) */
@media (min-width: 768px) {
    .col-md-1 {
        width: 8.333333%;
    }

    .col-md-2 {
        width: 16.666667%;
    }

    .col-md-3 {
        width: 25%;
    }

    .col-md-4 {
        width: 33.333333%;
    }

    .col-md-5 {
        width: 41.666667%;
    }

    .col-md-6 {
        width: 50%;
    }

    .col-md-7 {
        width: 58.333333%;
    }

    .col-md-8 {
        width: 66.666667%;
    }

    .col-md-9 {
        width: 75%;
    }

    .col-md-10 {
        width: 83.333333%;
    }

    .col-md-11 {
        width: 91.666667%;
    }

    .col-md-12 {
        width: 100%;
    }
}

/* LG Breakpoint (1024px) */
@media (min-width: 1024px) {
    .col-lg-1 {
        width: 8.333333%;
    }

    .col-lg-2 {
        width: 16.666667%;
    }

    .col-lg-3 {
        width: 25%;
    }

    .col-lg-4 {
        width: 33.333333%;
    }

    .col-lg-5 {
        width: 41.666667%;
    }

    .col-lg-6 {
        width: 50%;
    }

    .col-lg-7 {
        width: 58.333333%;
    }

    .col-lg-8 {
        width: 66.666667%;
    }

    .col-lg-9 {
        width: 75%;
    }

    .col-lg-10 {
        width: 83.333333%;
    }

    .col-lg-11 {
        width: 91.666667%;
    }

    .col-lg-12 {
        width: 100%;
    }
}

/* Gutter Utilities */
.g-0 {
    margin: 0;
}

.g-0>[class*="col-"] {
    padding: 0;
}

.g-2>[class*="col-"] {
    padding: 0 0.5rem;
}

.g-3 {
    margin: 0 -0.75rem;
}

.g-3>[class*="col-"] {
    padding: 0 0.75rem;
}

.g-4 {
    margin: 0 -1rem;
}

.g-4>[class*="col-"] {
    padding: 0 1rem;
}

/* Grid Alignment/Justify Utilities */
.justify-content-center {
    justify-content: center !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.justify-content-end {
    justify-content: flex-end !important;
}

.align-items-center {
    align-items: center !important;
}

.align-items-start {
    align-items: flex-start !important;
}

.align-items-end {
    align-items: flex-end !important;
}

/* --- Spacing Utilities (Global Margin & Padding) --- */
/* Scale: 0 (0), 1 (0.25rem), 2 (0.5rem), 3 (1rem), 4 (1.5rem), 5 (3rem) */

/* Margins */
.m-0 {
    margin: 0 !important;
}

.m-1 {
    margin: 0.25rem !important;
}

.m-2 {
    margin: 0.5rem !important;
}

.m-3 {
    margin: 1rem !important;
}

.m-4 {
    margin: 1.5rem !important;
}

.m-5 {
    margin: 3rem !important;
}

.mt-0 {
    margin-top: 0 !important;
}

.mt-1 {
    margin-top: 0.25rem !important;
}

.mt-2 {
    margin-top: 0.5rem !important;
}

.mt-3 {
    margin-top: 1rem !important;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

.mt-5 {
    margin-top: 3rem !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-1 {
    margin-bottom: 0.25rem !important;
}

.mb-2 {
    margin-bottom: 0.5rem !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.ms-0 {
    margin-left: 0 !important;
}

.ms-1 {
    margin-left: 0.25rem !important;
}

.ms-2 {
    margin-left: 0.5rem !important;
}

.ms-3 {
    margin-left: 1rem !important;
}

.ms-4 {
    margin-left: 1.5rem !important;
}

.ms-5 {
    margin-left: 3rem !important;
}

.me-0 {
    margin-right: 0 !important;
}

.me-1 {
    margin-right: 0.25rem !important;
}

.me-2 {
    margin-right: 0.5rem !important;
}

.me-3 {
    margin-right: 1rem !important;
}

.me-4 {
    margin-right: 1.5rem !important;
}

.me-5 {
    margin-right: 3rem !important;
}

.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

.mx-0 {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.mx-1 {
    margin-left: 0.25rem !important;
    margin-right: 0.25rem !important;
}

.mx-2 {
    margin-left: 0.5rem !important;
    margin-right: 0.5rem !important;
}

.mx-3 {
    margin-left: 1rem !important;
    margin-right: 1rem !important;
}

.mx-4 {
    margin-left: 1.5rem !important;
    margin-right: 1.5rem !important;
}

.mx-5 {
    margin-left: 3rem !important;
    margin-right: 3rem !important;
}

.my-0 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.my-1 {
    margin-top: 0.25rem !important;
    margin-bottom: 0.25rem !important;
}

.my-2 {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}

.my-3 {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}

.my-4 {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}

.my-5 {
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
}

/* Padding */
.p-0 {
    padding: 0 !important;
}

.p-1 {
    padding: 0.25rem !important;
}

.p-2 {
    padding: 0.5rem !important;
}

.p-3 {
    padding: 1rem !important;
}

.p-4 {
    padding: 1.5rem !important;
}

.p-5 {
    padding: 3rem !important;
}

.pt-0 {
    padding-top: 0 !important;
}

.pt-1 {
    padding-top: 0.25rem !important;
}

.pt-2 {
    padding-top: 0.5rem !important;
}

.pt-3 {
    padding-top: 1rem !important;
}

.pt-4 {
    padding-top: 1.5rem !important;
}

.pt-5 {
    padding-top: 3rem !important;
}

.pb-0 {
    padding-bottom: 0 !important;
}

.pb-1 {
    padding-bottom: 0.25rem !important;
}

.pb-2 {
    padding-bottom: 0.5rem !important;
}

.pb-3 {
    padding-bottom: 1rem !important;
}

.pb-4 {
    padding-bottom: 1.5rem !important;
}

.pb-5 {
    padding-bottom: 3rem !important;
}

.ps-0 {
    padding-left: 0 !important;
}

.ps-1 {
    padding-left: 0.25rem !important;
}

.ps-2 {
    padding-left: 0.5rem !important;
}

.ps-3 {
    padding-left: 1rem !important;
}

.ps-4 {
    padding-left: 1.5rem !important;
}

.ps-5 {
    padding-left: 3rem !important;
}

.pe-0 {
    padding-right: 0 !important;
}

.pe-1 {
    padding-right: 0.25rem !important;
}

.pe-2 {
    padding-right: 0.5rem !important;
}

.pe-3 {
    padding-right: 1rem !important;
}

.pe-4 {
    padding-right: 1.5rem !important;
}

.pe-5 {
    padding-right: 3rem !important;
}

.px-0 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.px-1 {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
}

.px-2 {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
}

.px-3 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

.px-4 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}

.px-5 {
    padding-left: 3rem !important;
    padding-right: 3rem !important;
}

.py-0 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.py-1 {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
}

.py-2 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.py-3 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.py-4 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

/* --- Global Component Flow (Auto-spacing) --- */
/* Elements side-by-side or stacked should have consistent gaps */

/* Inline siblings (Buttons, Badges, etc.) */
.btn+.btn,
.badge+.badge,
.btn+.badge,
.badge+.btn,
.material-symbols-rounded+span,
span+.material-symbols-rounded {
    margin-left: 0.75rem;
}

/* Vertical spacing for major block elements */
.card,
.alert,
.accordion,
.table,
.timeline {
    margin-bottom: 1.5rem;
}

.card:last-child,
.alert:last-child,
.accordion:last-child {
    margin-bottom: 0;
}

/* Glass & Surfaces */
.glass {
    background: var(--gf-surface);
    backdrop-filter: var(--gf-glass);
    -webkit-backdrop-filter: var(--gf-glass);
    border: 1px solid var(--gf-border);
}

.card {
    background: var(--gf-card);
    backdrop-filter: var(--gf-glass);
    -webkit-backdrop-filter: var(--gf-glass);
    border: 1px solid var(--gf-border);
    border-radius: var(--gf-radius-lg);
    padding: 1.5rem;
    transition: var(--gf-transition);
}

.card:hover {
    border-color: var(--gf-border-hover);
    transform: translateY(-4px);
    box-shadow: var(--gf-shadow);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--gf-text);
}

h1,
.h1 {
    font-size: 3.5rem;
}

h2,
.h2 {
    font-size: 2.75rem;
}

h3,
.h3 {
    font-size: 2.25rem;
}

h4,
.h4 {
    font-size: 1.75rem;
}

h5,
.h5 {
    font-size: 1.5rem;
}

h6,
.h6 {
    font-size: 1.25rem;
}

/* Display Headings */
.display-1 {
    font-size: clamp(3.5rem, 10vw, 6rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.05em;
}

.display-2 {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.display-3 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.display-4 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.display-5 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.display-6 {
    font-size: clamp(1.5rem, 2vw, 2rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0;
}

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

.text-primary {
    color: var(--gf-primary);
}

.text-secondary {
    color: var(--gf-secondary);
}

.text-accent {
    color: var(--gf-accent);
}

.text-gradient {
    background: linear-gradient(to bottom, #fff 40%, rgba(255, 255, 255, 0.4));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.text-right {
    text-align: right;
}

.highlight-text {
    color: var(--gf-primary);
    text-shadow: 0 0 30px var(--gf-primary-glow);
}

.font-weight-bold {
    font-weight: 700 !important;
}

.font-weight-black {
    font-weight: 900 !important;
}

.font-monospace {
    font-family: 'JetBrains Mono', 'Fira Code', monospace !important;
}

.text-uppercase {
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.text-lowercase {
    text-transform: lowercase;
}

.text-capitalize {
    text-transform: capitalize;
}

.small {
    font-size: 0.85rem !important;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--gf-text-muted);
    opacity: 0.9;
}

/* Code Snippet Component */
.code-snippet {
    position: relative;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: var(--gf-glass);
    border: 1px solid var(--gf-border);
    border-radius: var(--gf-radius);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: var(--gf-transition);
}

.code-snippet:hover {
    border-color: var(--gf-border-hover);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.code-snippet-header {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--gf-border);
}

.code-snippet-dots {
    display: flex;
    gap: 6px;
}

.code-snippet-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.code-snippet-body {
    padding: 1.5rem;
    position: relative;
}

.code-snippet pre {
    margin: 0;
    padding: 0;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #e5e7eb;
    overflow-x: auto;
}

.code-snippet code {
    color: #93c5fd;
    /* Soft blue for code */
}

.code-snippet .btn-copy {
    position: absolute;
    top: 0.6rem;
    right: 0.75rem;
    padding: 0.4rem;
    height: 34px;
    width: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--gf-border);
    border-radius: 8px;
    color: var(--gf-text-muted);
    cursor: pointer;
    transition: var(--gf-transition);
    z-index: 10;
}

.code-snippet .btn-copy:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.code-snippet .btn-copy.success {
    background: var(--gf-success);
    color: white;
    border-color: var(--gf-success);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--gf-radius-full);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--gf-transition);
    border: 1px solid transparent;
    font-size: 0.95rem;
    gap: 0.5rem;
    outline: none;
}

.btn-primary {
    background-color: var(--gf-primary);
    color: white;
    box-shadow: 0 0 15px var(--gf-primary-glow);
}

.btn-primary:hover {
    background-color: var(--gf-primary-hover);
    box-shadow: 0 0 25px var(--gf-primary-glow);
    transform: scale(1.02);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--gf-border);
    color: var(--gf-text);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--gf-text);
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 72px;
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gf-text);
    text-decoration: none;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gf-text-muted);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--gf-border);
    border-radius: var(--gf-radius);
    color: var(--gf-text);
    transition: var(--gf-transition);
    font-size: 1rem;
    outline: none;
}

.form-control:focus {
    border-color: var(--gf-primary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 4px rgba(0, 85, 238, 0.1);
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

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

.modal {
    background: var(--gf-surface);
    border: 1px solid var(--gf-border);
    border-radius: var(--gf-radius-lg);
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    animation: modalIn 0.3s ease-out;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Alerts */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--gf-radius);
    margin-bottom: 1rem;
    border: 1px solid transparent;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    position: relative;
    font-size: 0.95rem;
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
    color: #34d399;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
}

/* Side-by-side support inside flex containers */
.row>[class*="col-"]>.alert {
    margin-bottom: 0;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: var(--gf-radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(255, 255, 255, 0.1);
    color: var(--gf-text-muted);
}

.badge-primary {
    background: var(--gf-primary);
    color: white;
}

.badge-pro {
    background: rgba(0, 85, 238, 0.1);
    color: var(--gf-primary);
    font-size: 0.65rem;
    padding: 0.1rem 0.4rem;
}

/* Sidebar */
.sidebar {
    position: fixed;
    z-index: 1000;
    background: var(--gf-surface);
    backdrop-filter: var(--gf-glass);
    border: 1px solid var(--gf-border);
    display: flex;
    transition: var(--gf-transition);
}

/* Mobile Sidebar (Bottom) */
@media (max-width: 767px) {
    .sidebar {
        bottom: 0;
        left: 0;
        right: 0;
        height: 64px;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        padding: 0 1rem;
        border-radius: var(--gf-radius) var(--gf-radius) 0 0;
    }
}

/* Desktop Sidebar (Left) */
@media (min-width: 768px) {
    .sidebar {
        top: 0;
        left: 0;
        bottom: 0;
        width: 80px;
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
    }

    .main-content {
        padding-left: 80px;
    }
}

.sidebar-link {
    color: var(--gf-text-muted);
    text-decoration: none;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--gf-transition);
}

.sidebar-link:hover,
.sidebar-link.active {
    background: rgba(255, 255, 255, 0.05);
    color: var(--gf-text);
}

.sidebar-link.active {
    background: var(--gf-primary);
    color: white;
    box-shadow: 0 0 15px var(--gf-primary-glow);
}

/* Project Card */
.project-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.project-card-image {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--gf-radius);
    overflow: hidden;
    background: #1a1a1a;
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-card-image img {
    transform: scale(1.05);
}

.project-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem;
}

.project-card:hover .project-card-overlay {
    opacity: 1;
}

.project-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.25rem;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gf-text-muted);
}

.author-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #333;
}

/* Toasts */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toast {
    background: var(--gf-surface);
    backdrop-filter: var(--gf-glass);
    border: 1px solid var(--gf-border);
    padding: 0.75rem 1.25rem;
    border-radius: var(--gf-radius);
    box-shadow: var(--gf-shadow);
    color: var(--gf-text);
    font-weight: 600;
    font-size: 0.9rem;
    animation: slideInRight 0.3s ease-out;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Tabs */
.tabs-nav {
    display: flex;
    gap: 1rem;
    border-bottom: 1px solid var(--gf-border);
    margin-bottom: 1.5rem;
}

.tab-link {
    padding: 0.75rem 1rem;
    color: var(--gf-text-muted);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: var(--gf-transition);
    cursor: pointer;
}

.tab-link.active {
    color: var(--gf-primary);
    border-bottom-color: var(--gf-primary);
    text-shadow: 0 0 8px var(--gf-primary-glow);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Accordion */
.accordion-item {
    border: 1px solid var(--gf-border);
    border-radius: var(--gf-radius);
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.accordion-header {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--gf-transition);
}

.accordion-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

.accordion-body {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: transparent;
}

.accordion-item.active .accordion-body {
    padding: 1rem;
    max-height: 500px;
}

/* Spinners */
.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--gf-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Utilities */
.m-0 {
    margin: 0;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.p-4 {
    padding: 1.5rem;
}

.rounded-xl {
    border-radius: 1rem;
}

.overflow-hidden {
    overflow: hidden;
}

/* --- v1.2.0 New Components --- */

/* Dropdowns */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    min-width: 200px;
    background: var(--gf-surface);
    backdrop-filter: var(--gf-glass);
    border: 1px solid var(--gf-border);
    border-radius: var(--gf-radius);
    box-shadow: var(--gf-shadow);
    display: none;
    z-index: 1500;
    padding: 0.5rem;
    animation: slideInDown 0.2s ease-out;
}

.dropdown-menu.active {
    display: block;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--gf-text-muted);
    text-decoration: none;
    border-radius: calc(var(--gf-radius) / 2);
    transition: var(--gf-transition);
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--gf-text);
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tooltips */
[data-gf-tooltip] {
    position: relative;
    cursor: help;
}

[data-gf-tooltip]::after {
    content: attr(data-gf-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: #111;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--gf-transition);
    border: 1px solid var(--gf-border);
    z-index: 2000;
}

[data-gf-tooltip]:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Breadcrumbs */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
}

.breadcrumb-item {
    color: var(--gf-text-muted);
}

.breadcrumb-item a {
    color: var(--gf-primary);
    text-decoration: none;
}

.breadcrumb-item:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    opacity: 0.5;
}

/* Progress Bars */
.progress {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--gf-radius-full);
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--gf-primary);
    box-shadow: 0 0 10px var(--gf-primary-glow);
    transition: width 0.6s ease;
}

/* Pagination */
.pagination {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
}

.page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--gf-border);
    border-radius: 10px;
    color: var(--gf-text-muted);
    text-decoration: none;
    transition: var(--gf-transition);
}

.page-link:hover,
.page-link.active {
    background: var(--gf-primary);
    color: white;
    border-color: var(--gf-primary);
    box-shadow: 0 0 15px var(--gf-primary-glow);
}

/* Skeleton Loader */
.skeleton {
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.03) 25%,
            rgba(255, 255, 255, 0.08) 50%,
            rgba(255, 255, 255, 0.03) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--gf-radius);
}

@keyframes skeleton-loading {
    from {
        background-position: 200% 0;
    }

    to {
        background-position: -200% 0;
    }
}

/* --- v1.5.0 Full Suite Components --- */

/* Button Groups */
.btn-group {
    display: inline-flex;
    vertical-align: middle;
}

.btn-group .btn {
    border-radius: 0;
}

.btn-group .btn:first-child {
    border-top-left-radius: var(--gf-radius-full);
    border-bottom-left-radius: var(--gf-radius-full);
}

.btn-group .btn:last-child {
    border-top-right-radius: var(--gf-radius-full);
    border-bottom-right-radius: var(--gf-radius-full);
}

.btn-group .btn:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

/* Carousel */
.carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    border-radius: var(--gf-radius-lg);
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-item {
    min-width: 100%;
    aspect-ratio: 16/9;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    padding: 1rem;
    cursor: pointer;
    z-index: 10;
    backdrop-filter: blur(4px);
    transition: var(--gf-transition);
}

.carousel-control:hover {
    background: var(--gf-primary);
}

.carousel-control.prev {
    left: 0;
    border-radius: 0 10px 10px 0;
}

.carousel-control.next {
    right: 0;
    border-radius: 10px 0 0 10px;
}

/* Close Button */
.btn-close {
    background: transparent;
    border: none;
    color: var(--gf-text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.5rem;
    transition: var(--gf-transition);
}

.btn-close:hover {
    color: var(--gf-text);
    transform: rotate(90deg);
}

/* Collapse */
.collapse:not(.show) {
    display: none;
}

/* List Groups */
.list-group {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
    border-radius: var(--gf-radius);
    overflow: hidden;
    border: 1px solid var(--gf-border);
}

.list-group-item {
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--gf-border);
    color: var(--gf-text);
    text-decoration: none;
    transition: var(--gf-transition);
}

.list-group-item:last-child {
    border-bottom: none;
}

.list-group-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.list-group-item.active {
    background: var(--gf-primary);
    color: white;
}

/* Offcanvas */
.offcanvas {
    position: fixed;
    bottom: 0;
    z-index: 2100;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    background: var(--gf-surface);
    backdrop-filter: var(--gf-glass);
    border: 1px solid var(--gf-border);
    transition: transform 0.3s ease-in-out;
    visibility: hidden;
}

.offcanvas-start {
    top: 0;
    left: 0;
    width: 350px;
    transform: translateX(-100%);
}

.offcanvas-end {
    top: 0;
    right: 0;
    width: 350px;
    transform: translateX(100%);
}

.offcanvas.show {
    transform: none;
    visibility: visible;
}

.offcanvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--gf-border);
}

.offcanvas-body {
    flex-grow: 1;
    padding: 1.5rem;
    overflow-y: auto;
}

/* Placeholders */
.placeholder {
    display: inline-block;
    min-height: 1em;
    vertical-align: middle;
    cursor: wait;
    background-color: currentColor;
    opacity: 0.1;
    border-radius: 4px;
}

.placeholder-glow {
    animation: placeholder-glow 2s ease-in-out infinite;
}

@keyframes placeholder-glow {
    50% {
        opacity: 0.05;
    }
}

/* Popovers */
.popover {
    position: absolute;
    z-index: 2000;
    min-width: 200px;
    background: var(--gf-surface);
    backdrop-filter: var(--gf-glass);
    border: 1px solid var(--gf-border);
    border-radius: var(--gf-radius);
    padding: 1rem;
    box-shadow: var(--gf-shadow);
    display: none;
    animation: fadeIn 0.2s ease-out;
}

.popover.show {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.popover-header {
    font-weight: 700;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--gf-border);
    padding-bottom: 0.5rem;
}

/* --- Community & User Interface Expansion (Inspired by GitHub Projects) --- */

/* Timeline / Activity Log */
.timeline {
    position: relative;
    padding: 1rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0.75rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gf-border);
}

.timeline-item {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0.45rem;
    top: 0.25rem;
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: var(--gf-primary);
    box-shadow: 0 0 10px var(--gf-primary-glow);
    z-index: 1;
}

.timeline-date {
    font-size: 0.75rem;
    color: var(--gf-text-muted);
    margin-bottom: 0.25rem;
    display: block;
}

/* Stats Cards (Dashboard Style) */
.stats-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stats-value {
    font-size: 2rem;
    font-weight: 800;
    color: white;
}

.stats-label {
    font-size: 0.85rem;
    color: var(--gf-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stats-delta {
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.stats-delta.up {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.stats-delta.down {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* Star Rating */
.rating {
    display: inline-flex;
    gap: 4px;
    color: #f59e0b;
    font-size: 1.25rem;
    cursor: pointer;
}

.star-empty {
    color: rgba(255, 255, 255, 0.1);
}

/* Chat Bubbles (Messaging) */
.chat-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.message-sent {
    align-self: flex-end;
    background: var(--gf-primary);
    color: white;
    border-bottom-right-radius: 2px;
}

.message-received {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.05);
    border-bottom-left-radius: 2px;
    border: 1px solid var(--gf-border);
}

/* Control Bar (Mobile Toolbar) */
.control-bar {
    display: flex;
    justify-content: space-around;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: var(--gf-glass);
    border: 1px solid var(--gf-border);
    border-radius: 100px;
    padding: 0.51rem;
    z-index: 1500;
}

.control-item {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gf-text-muted);
    transition: var(--gf-transition);
    cursor: pointer;
    text-decoration: none;
}

.control-item:hover,
.control-item.active {
    background: var(--gf-primary);
    color: white;
    box-shadow: 0 0 15px var(--gf-primary-glow);
}

/* Bottom Sheet */
.bottom-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gf-surface);
    border-top: 1px solid var(--gf-border);
    border-radius: 20px 20px 0 0;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
    z-index: 2100;
    padding: 2rem;
}

.bottom-sheet.show {
    transform: translateY(0);
}

.bottom-sheet-handle {
    width: 40px;
    height: 4px;
    background: var(--gf-border);
    border-radius: 2px;
    margin: -1rem auto 1.5rem;
}

/* Availability Status */
.status-indicator {
    position: relative;
    display: inline-block;
}

.status-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--gf-bg);
}

.status-online {
    background: #10b981;
}

.status-busy {
    background: #ef4444;
}

.status-offline {
    background: #6b7280;
}