/**
 * ByteHost Redesign - Dark Professional Theme
 * ============================================
 * Complete CSS foundation for the website redesign.
 * This file contains all design tokens and component styles.
 */

/* ============================================
   CSS VARIABLES / DESIGN TOKENS
   ============================================ */

:root {
    /* ------------------------------------------
     COLORS: Backgrounds
     ------------------------------------------ */
    --bg-deep: #0A0B0E;
    --bg-surface: #121519;
    --bg-elevated: #1A1D24;
    --bg-hover: #22262F;

    /* ------------------------------------------
     COLORS: Borders
     ------------------------------------------ */
    --border-subtle: #2A2F38;
    --border-accent: #434A57;
    --border-focus: #1D4FFE;

    /* ------------------------------------------
     COLORS: Text
     ------------------------------------------ */
    --text-primary: #FFFFFF;
    --text-secondary: #A0A5AE;
    --text-muted: #6B7280;
    --text-disabled: #4B5563;

    /* ------------------------------------------
     COLORS: Accents
     ------------------------------------------ */
    --accent-primary: #1D4FFE;
    --accent-primary-hover: #3B6AFF;
    --accent-primary-muted: rgba(29, 79, 254, 0.15);

    --accent-success: #10B981;
    --accent-success-muted: rgba(16, 185, 129, 0.15);

    --accent-warning: #F59E0B;
    --accent-warning-muted: rgba(245, 158, 11, 0.15);

    --accent-danger: #EF4444;
    --accent-danger-muted: rgba(239, 68, 68, 0.15);

    --accent-info: #06B6D4;
    --accent-info-muted: rgba(6, 182, 212, 0.15);

    /* ------------------------------------------
     GRADIENTS
     ------------------------------------------ */
    --gradient-hero: linear-gradient(180deg, rgba(29, 79, 254, 0.08) 0%, transparent 40%);
    --gradient-card-accent: linear-gradient(90deg, #1D4FFE 0%, #06B6D4 100%);

    /* ------------------------------------------
     TYPOGRAPHY
     ------------------------------------------ */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --font-size-hero: 56px;
    --font-size-h1: 48px;
    --font-size-h2: 40px;
    --font-size-h3: 24px;
    --font-size-h4: 20px;
    --font-size-body: 16px;
    --font-size-small: 14px;
    --font-size-caption: 12px;
    --font-size-button: 15px;

    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    --line-height-tight: 1.1;
    --line-height-snug: 1.2;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.6;

    --letter-spacing-tight: -0.02em;
    --letter-spacing-normal: 0;
    --letter-spacing-wide: 0.01em;

    /* ------------------------------------------
     SPACING
     ------------------------------------------ */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;

    /* ------------------------------------------
     BORDERS & RADIUS
     ------------------------------------------ */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    /* ------------------------------------------
     SHADOWS
     ------------------------------------------ */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.25);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.3);

    /* ------------------------------------------
     TRANSITIONS
     ------------------------------------------ */
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --transition-slow: 350ms ease;

    /* ------------------------------------------
     Z-INDEX SCALE
     ------------------------------------------ */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* ============================================
   BASE STYLES
   ============================================ */

html {
    scroll-behavior: smooth;
    background-color: var(--bg-surface);
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-relaxed);
    color: var(--text-primary);
    background-color: var(--bg-surface);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

/* ============================================
   DARK THEME OVERRIDES
   ============================================ */

/* Force dark backgrounds on all sections */
.section,
section {
    background-color: var(--bg-deep);
}

.bg-light {
    background-color: var(--bg-surface) !important;
}

.bg-dark {
    background-color: var(--bg-deep) !important;
}

/* Text color overrides */
.text-dark {
    color: var(--text-primary) !important;
}

.text-muted {
    color: var(--text-secondary) !important;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1,
.h1 {
    font-size: var(--font-size-h1);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-tight);
    color: var(--text-primary);
}

h2,
.h2 {
    font-size: var(--font-size-h2);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-snug);
    letter-spacing: var(--letter-spacing-tight);
    color: var(--text-primary);
}

h3,
.h3 {
    font-size: var(--font-size-h3);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-snug);
    color: var(--text-primary);
}

h4,
.h4 {
    font-size: var(--font-size-h4);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-normal);
    color: var(--text-primary);
}

h5,
.h5 {
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-normal);
    color: var(--text-primary);
}

h6,
.h6 {
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-normal);
    color: var(--text-primary);
}

.title {
    color: var(--text-primary) !important;
}

.para-desc {
    color: var(--text-secondary) !important;
    max-width: 600px;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    font-family: var(--font-family);
    font-size: var(--font-size-button);
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--letter-spacing-wide);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Primary Button */
.btn-primary {
    background-color: var(--accent-primary) !important;
    color: var(--text-primary) !important;
    border: none !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--accent-primary-hover) !important;
    color: var(--text-primary) !important;
    box-shadow: 0 4px 16px rgba(29, 79, 254, 0.3);
    transform: translateY(-1px);
}

/* Secondary/Outline Button */
.btn-outline-primary {
    background-color: transparent !important;
    color: var(--accent-primary) !important;
    border: 1px solid var(--accent-primary) !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--accent-primary) !important;
    color: var(--text-primary) !important;
}

/* Light Button */
.btn-light {
    background-color: var(--text-primary) !important;
    color: var(--bg-deep) !important;
    border: none !important;
}

.btn-light:hover,
.btn-light:focus {
    background-color: var(--text-secondary) !important;
    color: var(--bg-deep) !important;
}

/* Outline Light Button */
.btn-outline-light {
    background-color: transparent !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-accent) !important;
}

.btn-outline-light:hover,
.btn-outline-light:focus {
    background-color: var(--bg-elevated) !important;
    color: var(--text-primary) !important;
    border-color: var(--text-primary) !important;
}

/* Success Button */
.btn-success {
    background-color: var(--accent-success) !important;
    color: var(--text-primary) !important;
    border: none !important;
}

.btn-success:hover,
.btn-success:focus {
    background-color: #0EA472 !important;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

/* Warning Button */
.btn-warning {
    background-color: var(--accent-warning) !important;
    color: var(--bg-deep) !important;
    border: none !important;
}

.btn-warning:hover,
.btn-warning:focus {
    background-color: #D97706 !important;
}

/* Pill Buttons */
.rounded-pill {
    border-radius: var(--radius-full) !important;
}

/* ============================================
   CARDS
   ============================================ */

.card {
    background-color: var(--bg-surface) !important;
    border: 1px solid var(--border-subtle) !important;
    border-radius: var(--radius-lg) !important;
    transition: all var(--transition-fast);
}

.card:hover {
    border-color: var(--border-accent) !important;
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.card-body {
    padding: var(--space-lg);
}

.card-title {
    color: var(--text-primary) !important;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-sm);
}

/* Card with accent border */
.card-accent {
    position: relative;
    overflow: hidden;
}

.card-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-card-accent);
}

/* Feature Cards */
.features.card,
.card.features {
    background-color: var(--bg-surface) !important;
}

.features .icon,
.card .icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background-color: var(--accent-primary-muted);
    color: var(--accent-primary);
    font-size: 24px;
}

/* Service Cards */
.service-card {
    background-color: var(--bg-surface) !important;
    text-align: center;
}

/* Pricing Cards - Fix Stretched Height */
.pricing.card,
.card.pricing,
.pricing {
    height: auto !important;
    align-self: flex-start;
}

.pricing.sticky-top {
    position: sticky;
    top: 100px;
    height: fit-content !important;
}

/* Ensure pricing cards don't stretch in flex containers */
.row>[class*="col-"]>.pricing,
.row>[class*="col-"]>.card.pricing {
    height: auto !important;
}

/* Compact pricing card feature icons */
.card .list-unstyled .icon.h5,
.pricing .list-unstyled .icon.h5,
.card-body .list-unstyled .icon.h5 {
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    display: inline-flex !important;
    font-size: inherit;
}

/* Compact list items in pricing cards */
.card-body .list-unstyled li.h6,
.pricing .list-unstyled li.h6 {
    margin-bottom: 12px !important;
}

/* Compact pricing feature sections */
.pricing .pricing-features {
    padding: 12px 16px !important;
}

.pricing .pricing-features h5 {
    margin-bottom: 8px !important;
    font-size: 11px !important;
}

.pricing .pricing-features .feature li {
    padding: 2px 0 !important;
    margin-bottom: 4px !important;
    font-size: 13px !important;
}

.pricing .pricing-features .feature li .icon {
    margin-right: 6px !important;
}

.pricing .price-header {
    padding: 20px 16px !important;
}

.pricing .border-bottom.py-4 {
    padding: 16px !important;
}

.service-card .icon-round {
    width: 80px;
    height: 80px;
    background-color: var(--accent-primary) !important;
    color: var(--text-primary) !important;
}

/* ============================================
   BADGES & PILLS
   ============================================ */

.badge {
    font-size: var(--font-size-caption);
    font-weight: var(--font-weight-medium);
    padding: 6px 12px;
    border-radius: var(--radius-full);
}

.bg-soft-primary,
.badge.bg-soft-primary {
    background-color: var(--accent-primary-muted) !important;
    color: var(--accent-primary) !important;
}

.bg-soft-success {
    background-color: var(--accent-success-muted) !important;
    color: var(--accent-success) !important;
}

.bg-soft-warning {
    background-color: var(--accent-warning-muted) !important;
    color: var(--accent-warning) !important;
}

.bg-soft-info {
    background-color: var(--accent-info-muted) !important;
    color: var(--accent-info) !important;
}

.bg-soft-danger {
    background-color: var(--accent-danger-muted) !important;
    color: var(--accent-danger) !important;
}

.bg-soft-dark {
    background-color: var(--bg-elevated) !important;
    color: var(--text-secondary) !important;
}

/* ============================================
   NAVIGATION
   ============================================ */

#topnav {
    background-color: transparent;
    transition: all var(--transition-normal);
}

#topnav.nav-sticky {
    background-color: rgba(10, 11, 14, 0.85) !important;
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

#topnav .navigation-menu>li>a {
    color: var(--text-primary);
    font-weight: var(--font-weight-medium);
    transition: color var(--transition-fast);
    position: relative;
}

#topnav .navigation-menu>li>a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width 0.3s ease, left 0.3s ease;
    border-radius: 1px;
}

#topnav .navigation-menu>li>a:hover::after,
#topnav .navigation-menu>li.active>a::after {
    width: 60%;
    left: 20%;
}

#topnav .navigation-menu>li>a:hover,
#topnav .navigation-menu>li>a:focus {
    color: var(--accent-primary);
}

/* Nav CTA Button */
/* Perfect Centering: Wrapper link matches other menu items exactly */
.nav-cta-wrapper {
    display: flex !important;
    align-items: center !important;
    height: 74px !important; /* Standard Landrick Height */
    padding: 0 10px !important;
    background: transparent !important;
}
#topnav.nav-sticky .nav-cta-wrapper {
    height: 60px !important; /* Standard Landrick Sticky Height */
}

.nav-cta-pill {
    background: linear-gradient(to right, #1D4FFE, #06b6d4) !important;
    color: #ffffff !important;
    padding: 4px 16px !important; /* Slim & elegant */
    border-radius: 99px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 0 15px rgba(29, 79, 254, 0.3) !important;
}

.nav-cta-pill:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 0 25px rgba(29, 79, 254, 0.6) !important;
}

.nav-cta-btn:hover {
    background: var(--accent-primary-hover) !important;
    box-shadow: 0 4px 20px rgba(29, 79, 254, 0.35);
    transform: translateY(-1px);
}

.nav-cta-btn::after {
    display: none !important;
}

/* Dropdown Menu */
#topnav .navigation-menu .submenu {
    background-color: var(--bg-surface) !important;
    border: 1px solid var(--border-accent) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-xl);
    padding: var(--space-sm) 0;
}

#topnav .navigation-menu .submenu li a {
    color: var(--text-secondary) !important;
    padding: 10px 20px;
    transition: all var(--transition-fast);
}

#topnav .navigation-menu .submenu li a:hover {
    color: var(--text-primary) !important;
    background-color: var(--bg-elevated);
}

/* ============================================
   HERO SECTION
   ============================================ */

.bg-half-260,
.bg-half-170 {
    background-color: var(--bg-surface) !important;
    background-image: none !important;
}

.bg-overlay {
    display: none !important;
}

/* Hero Typography */
.heading {
    color: var(--text-primary) !important;
    font-size: var(--font-size-hero);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
}

.text-white-50 {
    color: var(--text-secondary) !important;
}

/* Typed.js Cursor */
.typed-cursor {
    color: var(--accent-primary);
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
    padding: var(--space-4xl) 0;
    background-color: var(--bg-deep);
}

.section-title .title {
    color: var(--text-primary) !important;
}

/* Alternating Section Backgrounds */
.section:nth-child(even) {
    background-color: var(--bg-surface);
}

/* Section Title */
.section-title {
    margin-bottom: var(--space-2xl);
}

/* ============================================
   COUNTERS / STATISTICS
   ============================================ */

.counter-box {
    padding: var(--space-lg);
}

.counter-box i {
    color: var(--accent-primary) !important;
    font-size: 48px;
}

.counter-box h1,
.counter-box .counter-value {
    color: var(--text-primary) !important;
    font-weight: var(--font-weight-bold);
}

.counter-box .counter-head {
    color: var(--text-secondary) !important;
}

/* ============================================
   ACCORDION / FAQ
   ============================================ */

.accordion-item {
    background-color: var(--bg-surface) !important;
    border: 1px solid var(--border-subtle) !important;
    border-radius: var(--radius-lg) !important;
    margin-bottom: var(--space-sm);
    overflow: hidden;
}

.accordion-button {
    background-color: var(--bg-surface) !important;
    color: var(--text-primary) !important;
    font-weight: var(--font-weight-medium);
    padding: var(--space-md) var(--space-lg);
    border: none !important;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background-color: var(--bg-elevated) !important;
    color: var(--accent-primary) !important;
    border-left: 3px solid var(--accent-primary) !important;
}

.accordion-button::after {
    filter: invert(1);
}

.accordion-body {
    background-color: var(--bg-surface);
    color: var(--text-secondary);
    padding: var(--space-md) var(--space-lg);
    border-top: 1px solid var(--border-subtle);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: var(--bg-deep) !important;
    color: var(--text-secondary);
}

.footer-border {
    border-top: 1px solid var(--border-subtle) !important;
    border-bottom: 1px solid var(--border-subtle) !important;
}

.footer-py-60 {
    padding: var(--space-3xl) 0;
}

.footer-py-30 {
    padding: var(--space-lg) 0;
}

.footer-head {
    color: var(--text-primary) !important;
    font-weight: var(--font-weight-semibold);
}

.footer-list li a {
    color: var(--text-secondary) !important;
    transition: color var(--transition-fast);
}

.footer-list li a:hover {
    color: var(--text-primary) !important;
}

.foot-social-icon li a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-elevated) !important;
    color: var(--text-primary) !important;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.foot-social-icon li a:hover {
    background-color: var(--accent-primary) !important;
    transform: translateY(-2px);
}

/* ============================================
   FORMS
   ============================================ */

.form-control,
.form-select {
    background-color: var(--bg-surface) !important;
    border: 1px solid var(--border-subtle) !important;
    color: var(--text-primary) !important;
    border-radius: var(--radius-md);
    padding: 12px 16px;
    transition: all var(--transition-fast);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent-primary) !important;
    box-shadow: 0 0 0 3px var(--accent-primary-muted) !important;
    outline: none;
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-label {
    color: var(--text-primary);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--space-sm);
}

/* ============================================
   TABLES
   ============================================ */

.table {
    color: var(--text-primary);
}

.table thead th {
    background-color: var(--bg-elevated);
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-subtle);
    font-weight: var(--font-weight-semibold);
}

.table tbody tr {
    border-bottom: 1px solid var(--border-subtle);
}

.table tbody tr:hover {
    background-color: var(--bg-hover);
}

/* ============================================
   ALERTS
   ============================================ */

.alert {
    border-radius: var(--radius-md);
    border: none;
}

.alert-primary {
    background-color: var(--accent-primary-muted);
    color: var(--accent-primary);
}

.alert-success {
    background-color: var(--accent-success-muted);
    color: var(--accent-success);
}

.alert-warning {
    background-color: var(--accent-warning-muted);
    color: var(--accent-warning);
}

.alert-danger {
    background-color: var(--accent-danger-muted);
    color: var(--accent-danger);
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */

.back-to-top {
    background-color: var(--accent-primary) !important;
    color: var(--text-primary) !important;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
}

.back-to-top:hover {
    background-color: var(--accent-primary-hover) !important;
    transform: translateY(-2px);
}

/* ============================================
   COOKIE POPUP
   ============================================ */

.cookie-popup {
    background-color: var(--bg-surface) !important;
    border: 1px solid var(--border-subtle) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-xl) !important;
}

/* ============================================
   STEP NUMBERS / PROCESS
   ============================================ */

.step-number {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: var(--font-weight-bold);
    background-color: var(--accent-primary) !important;
    color: var(--text-primary) !important;
    border-radius: 50%;
}

.work-process.card {
    background-color: var(--bg-surface) !important;
}

/* ============================================
   CTA SECTIONS
   ============================================ */

.bg-gradient-primary {
    background: var(--bg-surface) !important;
    border-top: 2px solid var(--accent-primary);
}

.cta-content h2 {
    color: var(--text-primary) !important;
}

.cta-content p {
    color: var(--text-secondary) !important;
}

/* ============================================
   COURSE FEATURE CARDS (Product Pages)
   ============================================ */

.course-feature {
    background-color: var(--bg-surface) !important;
}

.course-feature .icons i {
    color: var(--accent-primary) !important;
}

.course-feature .title {
    color: var(--text-primary) !important;
}

.course-feature .full-img {
    color: var(--border-subtle) !important;
    opacity: 0.2;
}

/* ============================================
   UTILITIES
   ============================================ */

/* Background Utilities */
.bg-primary {
    background-color: var(--accent-primary) !important;
}

/* Border Utilities */
.shadow {
    box-shadow: var(--shadow-md) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}

/* Text Colors */
.text-primary {
    color: var(--accent-primary) !important;
}

.text-success {
    color: var(--accent-success) !important;
}

.text-warning {
    color: var(--accent-warning) !important;
}

.text-info {
    color: var(--accent-info) !important;
}

.text-danger {
    color: var(--accent-danger) !important;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 991px) {
    :root {
        --font-size-hero: 40px;
        --font-size-h1: 36px;
        --font-size-h2: 32px;
    }

    .section {
        padding: var(--space-3xl) 0;
    }
}

@media (max-width: 767px) {
    :root {
        --font-size-hero: 32px;
        --font-size-h1: 28px;
        --font-size-h2: 24px;
        --font-size-h3: 20px;
    }

    .section {
        padding: var(--space-2xl) 0;
    }

    .card-body {
        padding: var(--space-md);
    }
}

/* ============================================
   SVG WAVE SHAPE COLORS
   ============================================ */

.shape svg path {
    fill: var(--bg-deep) !important;
}

.text-color-white .shape svg path {
    fill: var(--bg-surface) !important;
}

/* ============================================
   ANIMATED SERVER RACK
   ============================================ */

.server-rack-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    perspective: 1000px;
}

.server-rack {
    transform: rotateX(25deg) rotateZ(-5deg);
    transform-style: preserve-3d;
}

.server-chassis {
    width: 400px;
    height: 280px;
    background: linear-gradient(145deg, #2a2d35 0%, #1a1d24 100%);
    border-radius: 8px;
    border: 2px solid #3a3f4a;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.top-panel {
    width: 100%;
    height: 100%;
    padding: 15px;
    position: relative;
}

/* CPU Section */
.cpu-section {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    gap: 30px;
}

.cpu {
    width: 70px;
    height: 70px;
    background: #0d0f12;
    border: 2px solid #3a3f4a;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.heatsink {
    width: 55px;
    height: 55px;
    background: repeating-linear-gradient(90deg,
            #4a4f5a 0px,
            #4a4f5a 3px,
            #2a2f35 3px,
            #2a2f35 6px);
    border-radius: 2px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

/* RAM Section */
.ram-section {
    position: absolute;
    top: 25px;
    right: 20px;
    display: flex;
    gap: 4px;
}

.ram-stick {
    width: 8px;
    height: 60px;
    background: linear-gradient(180deg, #10B981 0%, #059669 100%);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

.ram-stick:nth-child(odd) {
    background: linear-gradient(180deg, #1D4FFE 0%, #1a3fd4 100%);
    box-shadow: 0 0 8px rgba(29, 79, 254, 0.4);
}

/* Fan Section */
.fan-section {
    position: absolute;
    top: 110px;
    left: 25px;
    display: flex;
    gap: 15px;
}

.fan {
    width: 40px;
    height: 40px;
    background: #0d0f12;
    border-radius: 50%;
    border: 2px solid #3a3f4a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.fan-blade {
    width: 30px;
    height: 30px;
    background:
        linear-gradient(45deg, transparent 40%, #4a4f5a 40%, #4a4f5a 60%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, #4a4f5a 40%, #4a4f5a 60%, transparent 60%);
    border-radius: 50%;
    animation: spin 0.5s linear infinite;
}

.fan-2 .fan-blade {
    animation-duration: 0.4s;
}

.fan-3 .fan-blade {
    animation-duration: 0.6s;
}

.fan-4 .fan-blade {
    animation-duration: 0.45s;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Cable Section */
.cable-section {
    position: absolute;
    top: 100px;
    left: 200px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cable {
    width: 100px;
    height: 6px;
    background: #1a1d24;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.cable-1 {
    transform: rotate(-15deg);
}

.cable-2 {
    transform: rotate(5deg);
    margin-left: 20px;
}

.cable-3 {
    transform: rotate(-8deg);
    margin-left: -10px;
}

.data-flow {
    position: absolute;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, transparent, #1D4FFE, #06B6D4, transparent);
    animation: dataFlow 1.5s linear infinite;
    border-radius: 3px;
}

.cable-2 .data-flow {
    animation-delay: 0.5s;
}

.cable-3 .data-flow {
    animation-delay: 1s;
}

@keyframes dataFlow {
    0% {
        left: -20px;
    }

    100% {
        left: 100px;
    }
}

/* Storage Section */
.storage-section {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    gap: 8px;
}

.drive {
    width: 50px;
    height: 35px;
    background: linear-gradient(180deg, #2a2d35 0%, #1a1d24 100%);
    border: 1px solid #3a3f4a;
    border-radius: 3px;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 5px;
}

.drive-led {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.led-active {
    background: #F59E0B;
    box-shadow: 0 0 8px #F59E0B;
    animation: blink 0.3s ease-in-out infinite alternate;
}

.led-idle {
    background: #10B981;
    box-shadow: 0 0 6px #10B981;
}

@keyframes blink {
    0% {
        opacity: 0.4;
    }

    100% {
        opacity: 1;
    }
}

/* Status LEDs */
.status-leds {
    position: absolute;
    bottom: 25px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.led {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.led-power {
    background: #10B981;
    box-shadow: 0 0 10px #10B981, 0 0 20px rgba(16, 185, 129, 0.5);
}

.led-network {
    background: #1D4FFE;
    box-shadow: 0 0 10px #1D4FFE;
    animation: networkBlink 0.15s ease-in-out infinite;
}

.led-hdd {
    background: #F59E0B;
    box-shadow: 0 0 8px #F59E0B;
    animation: hddBlink 0.2s ease-in-out infinite;
}

.led-status {
    background: #06B6D4;
    box-shadow: 0 0 8px #06B6D4;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes networkBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

@keyframes hddBlink {

    0%,
    30%,
    60%,
    100% {
        opacity: 1;
    }

    15%,
    45% {
        opacity: 0.2;
    }
}

@keyframes statusPulse {

    0%,
    100% {
        opacity: 0.6;
        box-shadow: 0 0 8px #06B6D4;
    }

    50% {
        opacity: 1;
        box-shadow: 0 0 15px #06B6D4, 0 0 25px rgba(6, 182, 212, 0.5);
    }
}

/* Network Section */
.network-section {
    position: absolute;
    bottom: 60px;
    right: 20px;
    display: flex;
    gap: 6px;
}

.eth-port {
    width: 22px;
    height: 18px;
    background: #0d0f12;
    border: 1px solid #3a3f4a;
    border-radius: 2px;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 2px;
}

.port-led {
    width: 4px;
    height: 4px;
    border-radius: 50%;
}

.port-active {
    background: #10B981;
    box-shadow: 0 0 6px #10B981;
    animation: portBlink 0.8s ease-in-out infinite;
}

.port-idle {
    background: #4a4f5a;
}

@keyframes portBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

/* Responsive */
@media (max-width: 767px) {
    .server-rack {
        transform: rotateX(15deg) rotateZ(-3deg) scale(0.7);
    }

    .server-chassis {
        width: 320px;
        height: 220px;
    }
}

/* ============================================
   ANIMATED NETWORK TOPOLOGY
   ============================================ */

.network-topology-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.network-topology {
    width: 300px;
    height: 300px;
    position: relative;
}

.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.conn-line {
    stroke: #3a3f4a;
    stroke-width: 2;
    stroke-dasharray: 5, 5;
    animation: dashMove 1s linear infinite;
}

@keyframes dashMove {
    to {
        stroke-dashoffset: -10;
    }
}

/* ============================================
   PORTAL OVERRIDES
   ============================================ */

.page-wrapper {
    background-color: var(--bg-surface);
}

.sidebar-wrapper.sidebar-dark {
    background-color: var(--bg-deep);
    border-right: 1px solid var(--border-subtle);
}

.sidebar-wrapper {
    width: 260px;
}

.sidebar-wrapper .sidebar-brand {
    border-bottom: 1px solid var(--border-subtle);
}

.sidebar-wrapper .logo-icon {
    filter: brightness(1.1);
}

.sidebar-wrapper .sidebar-menu .nav-item .nav-link {
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    padding: 10px 14px;
    position: relative;
}

.sidebar-wrapper .sidebar-menu .nav-item .nav-link:hover {
    color: var(--text-primary);
    background-color: var(--bg-elevated);
}

.sidebar-wrapper .dropdown-header {
    color: var(--text-muted) !important;
    font-weight: var(--font-weight-medium);
    letter-spacing: 0.02em;
}

.sidebar-wrapper .sidebar-menu .nav-item.active .nav-link,
.sidebar-wrapper .sidebar-menu .nav-item .nav-link.active {
    color: var(--text-primary);
    background-color: transparent;
}

.sidebar-wrapper .sidebar-menu .nav-item .nav-link.active::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 22px;
    border-radius: var(--radius-full);
    background-color: var(--accent-primary);
}

.top-header .header-bar {
    background-color: rgba(10, 11, 14, 0.9);
    border-bottom: 1px solid var(--border-subtle);
    backdrop-filter: blur(12px);
}

.top-header .btn.btn-soft-light {
    color: var(--text-secondary);
    background-color: var(--bg-elevated);
}

.top-header .dropdown-menu {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
}

.top-header .dropdown-item {
    color: var(--text-secondary) !important;
}

.top-header .dropdown-item:hover {
    color: var(--text-primary) !important;
    background-color: var(--bg-elevated);
}

.dashboard-hero {
    background: transparent;
    border-radius: 18px;
    box-shadow: none;
    position: relative;
    overflow: hidden;
}

.dashboard-hero .btn-light {
    background-color: #ffffff !important;
    color: #0A0B0E !important;
    border: 1px solid rgba(255,255,255,0.35) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.dashboard-hero .btn-outline-light {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.35) !important;
}

.dashboard-hero .btn-light:hover,
.dashboard-hero .btn-outline-light:hover {
    transform: translateY(-1px);
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 16px;
    align-items: stretch;
}

.hero-metric {
    background: rgba(18, 21, 25, 0.85) !important;
    border: 1px solid var(--border-subtle) !important;
    border-radius: 14px !important;
    min-height: 96px;
}

.hero-metric .icon {
    background-color: rgba(29, 79, 254, 0.22) !important;
    color: #9ec1ff !important;
}

.hero-metric .small {
    color: #aeb4bd !important;
}

.hero-metric .fw-bold {
    color: #ffffff !important;
}

@media (max-width: 991px) {
    .hero-metrics {
        grid-template-columns: repeat(2, minmax(180px, 1fr));
    }
}

@media (max-width: 575px) {
    .hero-metrics {
        grid-template-columns: 1fr;
    }
}

.dashboard-hero::after {
    content: none !important;
    display: none !important;
}

.hero-metric {
    background: rgba(18, 21, 25, 0.85) !important;
    border: 1px solid var(--border-subtle) !important;
}

.hero-metric .icon {
    background-color: rgba(29, 79, 254, 0.2) !important;
    color: #9ec1ff !important;
}

.features.feature-primary,
.feature.feature-primary,
.features.feature-primary .icon,
.feature.feature-primary .icon {
    background-color: transparent !important;
    color: var(--text-primary) !important;
}

.features.feature-primary .icon {
    background-color: var(--accent-primary-muted) !important;
}

.nav-pills .nav-link {
    background-color: var(--bg-elevated);
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-fast);
}

.nav-pills .nav-link:hover {
    color: var(--text-primary);
    background-color: var(--bg-hover);
}

.nav-pills .nav-link.active {
    color: var(--text-primary);
    background-color: var(--accent-primary);
    border-color: var(--accent-primary);
    box-shadow: 0 6px 20px rgba(29, 79, 254, 0.25);
}

.table {
    background-color: var(--bg-surface);
    border-color: var(--border-subtle);
}

.table thead th {
    background-color: var(--bg-elevated);
    color: var(--text-primary);
}

.table tbody tr {
    border-color: var(--border-subtle);
}

.table tbody tr:hover {
    background-color: var(--bg-hover);
}

.data-packet {
    fill: #1D4FFE;
    filter: drop-shadow(0 0 6px #1D4FFE);
}

.packet-1 {
    animation: packet1 2s ease-in-out infinite;
}

.packet-2 {
    animation: packet2 2s ease-in-out infinite 0.3s;
}

.packet-3 {
    animation: packet3 2s ease-in-out infinite 0.6s;
}

.packet-4 {
    animation: packet4 2s ease-in-out infinite 0.9s;
}

.packet-5 {
    animation: packet5 2s ease-in-out infinite 1.2s;
}

.packet-6 {
    animation: packet6 2s ease-in-out infinite 1.5s;
}

@keyframes packet1 {

    0%,
    100% {
        cx: 150;
        cy: 150;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    50% {
        cx: 75;
        cy: 50;
        opacity: 1;
    }

    60% {
        opacity: 0;
    }
}

@keyframes packet2 {

    0%,
    100% {
        cx: 150;
        cy: 150;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    50% {
        cx: 225;
        cy: 50;
        opacity: 1;
    }

    60% {
        opacity: 0;
    }
}

@keyframes packet3 {

    0%,
    100% {
        cx: 150;
        cy: 150;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    50% {
        cx: 270;
        cy: 150;
        opacity: 1;
    }

    60% {
        opacity: 0;
    }
}

@keyframes packet4 {

    0%,
    100% {
        cx: 150;
        cy: 150;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    50% {
        cx: 225;
        cy: 250;
        opacity: 1;
    }

    60% {
        opacity: 0;
    }
}

@keyframes packet5 {

    0%,
    100% {
        cx: 150;
        cy: 150;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    50% {
        cx: 75;
        cy: 250;
        opacity: 1;
    }

    60% {
        opacity: 0;
    }
}

@keyframes packet6 {

    0%,
    100% {
        cx: 150;
        cy: 150;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    50% {
        cx: 30;
        cy: 150;
        opacity: 1;
    }

    60% {
        opacity: 0;
    }
}

.node {
    position: absolute;
    width: 50px;
    height: 50px;
    background: linear-gradient(145deg, #2a2d35 0%, #1a1d24 100%);
    border: 2px solid #3a3f4a;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.3s ease;
}

.node:hover {
    border-color: #1D4FFE;
    box-shadow: 0 0 20px rgba(29, 79, 254, 0.4);
    transform: scale(1.1);
}

.node-icon {
    font-size: 20px;
    color: #A0A5AE;
}

.node:hover .node-icon {
    color: #1D4FFE;
}

.node-central {
    width: 70px;
    height: 70px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(145deg, #1D4FFE 0%, #1a3fd4 100%);
    border-color: #3B6AFF;
}

.node-central .node-icon {
    font-size: 28px;
    color: #FFFFFF;
}

.node-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: #1D4FFE;
    animation: nodePulse 2s ease-out infinite;
    z-index: -1;
}

@keyframes nodePulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

.node-1 {
    top: 25px;
    left: 50px;
}

.node-2 {
    top: 25px;
    right: 50px;
    left: auto;
}

.node-3 {
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
    left: auto;
}

.node-4 {
    bottom: 25px;
    right: 50px;
    top: auto;
    left: auto;
}

.node-5 {
    bottom: 25px;
    left: 50px;
    top: auto;
}

.node-6 {
    top: 50%;
    left: -5px;
    transform: translateY(-50%);
}

@media (max-width: 767px) {
    .network-topology {
        transform: scale(0.75);
    }
}

/* ============================================
   ANIMATED AUDIO WAVEFORM
   ============================================ */

.audio-waveform-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.audio-waveform {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 120px;
    padding: 20px;
    background: linear-gradient(145deg, #1a1d24 0%, #121519 100%);
    border-radius: 16px;
    border: 1px solid #3a3f4a;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.wave-bar {
    width: 6px;
    min-height: 8px;
    background: linear-gradient(180deg, #1D4FFE 0%, #06B6D4 100%);
    border-radius: 3px;
    animation: waveAnim 1s ease-in-out infinite;
}

.wave-bar:nth-child(1) {
    animation-delay: 0s;
    height: 30px;
}

.wave-bar:nth-child(2) {
    animation-delay: 0.05s;
    height: 50px;
}

.wave-bar:nth-child(3) {
    animation-delay: 0.1s;
    height: 35px;
}

.wave-bar:nth-child(4) {
    animation-delay: 0.15s;
    height: 70px;
}

.wave-bar:nth-child(5) {
    animation-delay: 0.2s;
    height: 55px;
}

.wave-bar:nth-child(6) {
    animation-delay: 0.25s;
    height: 85px;
}

.wave-bar:nth-child(7) {
    animation-delay: 0.3s;
    height: 45px;
}

.wave-bar:nth-child(8) {
    animation-delay: 0.35s;
    height: 60px;
}

.wave-bar:nth-child(9) {
    animation-delay: 0.4s;
    height: 75px;
}

.wave-bar:nth-child(10) {
    animation-delay: 0.45s;
    height: 100px;
}

.wave-bar:nth-child(11) {
    animation-delay: 0.5s;
    height: 75px;
}

.wave-bar:nth-child(12) {
    animation-delay: 0.55s;
    height: 60px;
}

.wave-bar:nth-child(13) {
    animation-delay: 0.6s;
    height: 45px;
}

.wave-bar:nth-child(14) {
    animation-delay: 0.65s;
    height: 85px;
}

.wave-bar:nth-child(15) {
    animation-delay: 0.7s;
    height: 55px;
}

.wave-bar:nth-child(16) {
    animation-delay: 0.75s;
    height: 70px;
}

.wave-bar:nth-child(17) {
    animation-delay: 0.8s;
    height: 35px;
}

.wave-bar:nth-child(18) {
    animation-delay: 0.85s;
    height: 50px;
}

.wave-bar:nth-child(19) {
    animation-delay: 0.9s;
    height: 30px;
}

.wave-bar:nth-child(20) {
    animation-delay: 0.95s;
    height: 25px;
}

@keyframes waveAnim {

    0%,
    100% {
        transform: scaleY(0.5);
        opacity: 0.6;
    }

    50% {
        transform: scaleY(1);
        opacity: 1;
    }
}

.mic-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(145deg, #1D4FFE 0%, #1a3fd4 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    position: relative;
    box-shadow: 0 8px 32px rgba(29, 79, 254, 0.4);
}

.mic-icon i {
    font-size: 32px;
    color: #FFFFFF;
}

.mic-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #1D4FFE;
    animation: micPulse 1.5s ease-out infinite;
}

@keyframes micPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

@media (max-width: 767px) {
    .audio-waveform {
        gap: 3px;
        padding: 15px;
    }

    .wave-bar {
        width: 4px;
    }

    .mic-icon {
        width: 60px;
        height: 60px;
    }

    .mic-icon i {
        font-size: 24px;
    }
}

/* ============================================
   PHASE 1.1 — GLASSMORPHISM UTILITIES
   ============================================ */

.glass {
    background: rgba(18, 21, 25, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.glass-strong {
    background: rgba(10, 11, 14, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card {
    background: rgba(26, 29, 36, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.glass-card:hover {
    background: rgba(26, 29, 36, 0.7);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   GLOW EFFECTS
   ============================================ */

.glow-primary {
    box-shadow: 0 0 20px rgba(29, 79, 254, 0.15),
                0 0 60px rgba(29, 79, 254, 0.05);
}

.glow-primary-hover:hover {
    box-shadow: 0 0 30px rgba(29, 79, 254, 0.25),
                0 0 80px rgba(29, 79, 254, 0.1);
}

.glow-success {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
}

.glow-danger {
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.15);
}

.glow-warning {
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.15);
}

.glow-info {
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.15);
}

/* Border gradient utility */
.border-gradient {
    position: relative;
    border: none !important;
}

.border-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: var(--gradient-card-accent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* ============================================
   SMOOTH REVEAL ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(24px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-24px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.5s ease forwards;
}

.animate-fade-in-down {
    animation: fadeInDown 0.4s ease forwards;
}

.animate-fade-in-scale {
    animation: fadeInScale 0.4s ease forwards;
}

.animate-slide-right {
    animation: slideInRight 0.5s ease forwards;
}

.animate-slide-left {
    animation: slideInLeft 0.5s ease forwards;
}

/* Stagger delays */
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }

/* ============================================
   SKELETON LOADING
   ============================================ */

@keyframes skeletonShimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.skeleton {
    background: linear-gradient(
        90deg,
        var(--bg-elevated) 25%,
        var(--bg-hover) 37%,
        var(--bg-elevated) 63%
    );
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
    border-radius: var(--radius-md);
}

.skeleton-text {
    height: 14px;
    margin-bottom: 8px;
    border-radius: var(--radius-sm);
}

.skeleton-text.w-75 { width: 75%; }
.skeleton-text.w-50 { width: 50%; }
.skeleton-text.w-25 { width: 25%; }

.skeleton-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.skeleton-card {
    height: 200px;
    border-radius: var(--radius-lg);
}

.skeleton-button {
    height: 44px;
    width: 120px;
    border-radius: var(--radius-md);
}

/* ============================================
   MICRO-ANIMATIONS
   ============================================ */

@keyframes subtleBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@keyframes subtleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulseSoft {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.hover-bounce:hover {
    animation: subtleBounce 0.4s ease;
}

.hover-lift {
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.hover-scale {
    transition: transform var(--transition-fast);
}

.hover-scale:hover {
    transform: scale(1.03);
}

.animate-float {
    animation: subtleFloat 3s ease-in-out infinite;
}

.animate-pulse-soft {
    animation: pulseSoft 2s ease-in-out infinite;
}

.animate-spin-slow {
    animation: spinSlow 8s linear infinite;
}

/* ============================================
   DOT PATTERN / GRID BACKGROUNDS
   ============================================ */

.bg-dots {
    background-image: radial-gradient(circle, var(--border-subtle) 1px, transparent 1px);
    background-size: 24px 24px;
}

.bg-grid {
    background-image:
        linear-gradient(var(--border-subtle) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: -1px -1px;
}

.bg-gradient-mesh {
    background:
        radial-gradient(ellipse at 20% 50%, rgba(29, 79, 254, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(6, 182, 212, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 80%, rgba(16, 185, 129, 0.04) 0%, transparent 50%);
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--border-accent);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--border-accent) transparent;
}

/* ============================================
   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;
    }

    .animate-float,
    .animate-pulse-soft,
    .animate-spin-slow,
    .fan-blade,
    .data-flow,
    .led-active,
    .led-network,
    .led-hdd,
    .led-status,
    .port-active {
        animation: none !important;
    }
}

/* ============================================
   PHASE 1.2 — BUTTON SYSTEM (21st.dev-inspired)
   ============================================ */

/* Shimmer/Shine Effect on Primary Buttons */
@keyframes btnShimmer {
    0% { left: -100%; }
    100% { left: 200%; }
}

.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.12),
        transparent
    );
    transition: none;
}

.btn-primary:hover::after {
    animation: btnShimmer 0.6s ease forwards;
}

/* Pulse Glow on Hover for CTA Buttons */
.btn-glow {
    position: relative;
}

.btn-glow::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: var(--accent-primary);
    opacity: 0;
    filter: blur(12px);
    transition: opacity var(--transition-fast);
    z-index: -1;
}

.btn-glow:hover::before {
    opacity: 0.4;
}

/* Outlined Button with Fill Animation */
.btn-outline-fill {
    background-color: transparent !important;
    color: var(--accent-primary) !important;
    border: 1px solid var(--accent-primary) !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-outline-fill::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: var(--accent-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
    z-index: -1;
}

.btn-outline-fill:hover {
    color: var(--text-primary) !important;
}

.btn-outline-fill:hover::before {
    transform: scaleX(1);
}

/* Loading State Button */
.btn-loading {
    pointer-events: none;
    opacity: 0.85;
}

.btn-loading .btn-text {
    visibility: hidden;
}

.btn-loading .btn-spinner {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

@keyframes btnSpinnerRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.btn-spinner-icon {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: btnSpinnerRotate 0.6s linear infinite;
}

/* Icon Button with Circle Highlight */
.btn-icon-circle {
    width: 44px;
    height: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.btn-icon-circle:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--text-primary);
    transform: scale(1.08);
    box-shadow: 0 0 20px rgba(29, 79, 254, 0.3);
}

/* Gradient Border Button */
.btn-gradient-border {
    background: var(--bg-surface);
    color: var(--text-primary);
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    position: relative;
    z-index: 1;
}

.btn-gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: var(--gradient-card-accent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
    transition: opacity var(--transition-fast);
}

.btn-gradient-border:hover {
    background: var(--bg-elevated);
    box-shadow: 0 0 24px rgba(29, 79, 254, 0.15);
}

/* Soft-Colored Buttons (subtle background, no hard border) */
.btn-soft-primary {
    background-color: var(--accent-primary-muted) !important;
    color: var(--accent-primary) !important;
    border: none !important;
}

.btn-soft-primary:hover {
    background-color: var(--accent-primary) !important;
    color: var(--text-primary) !important;
}

.btn-soft-success {
    background-color: var(--accent-success-muted) !important;
    color: var(--accent-success) !important;
    border: none !important;
}

.btn-soft-success:hover {
    background-color: var(--accent-success) !important;
    color: var(--text-primary) !important;
}

.btn-soft-danger {
    background-color: var(--accent-danger-muted) !important;
    color: var(--accent-danger) !important;
    border: none !important;
}

.btn-soft-danger:hover {
    background-color: var(--accent-danger) !important;
    color: var(--text-primary) !important;
}

.btn-soft-warning {
    background-color: var(--accent-warning-muted) !important;
    color: var(--accent-warning) !important;
    border: none !important;
}

.btn-soft-warning:hover {
    background-color: var(--accent-warning) !important;
    color: var(--bg-deep) !important;
}

.btn-soft-info {
    background-color: var(--accent-info-muted) !important;
    color: var(--accent-info) !important;
    border: none !important;
}

.btn-soft-info:hover {
    background-color: var(--accent-info) !important;
    color: var(--text-primary) !important;
}

/* ============================================
   PHASE 1.4 — MODAL SYSTEM (21st.dev-Aesthetik)
   ============================================ */

.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.modal-backdrop.show {
    opacity: 1 !important;
}

.modal.fade .modal-dialog {
    transform: translateY(20px) scale(0.98);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.modal.show .modal-dialog {
    transform: translateY(0) scale(1);
}

.modal-content {
    background-color: var(--bg-surface) !important;
    border: 1px solid var(--border-subtle) !important;
    border-radius: var(--radius-xl) !important;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 1px rgba(255, 255, 255, 0.05) inset !important;
    overflow: hidden;
}

.modal-header {
    background-color: transparent !important;
    border-bottom: 1px solid var(--border-subtle) !important;
    padding: 20px 24px !important;
}

.modal-header .modal-title {
    color: var(--text-primary) !important;
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-body);
}

.modal-header .btn-close {
    filter: invert(1) brightness(0.7);
    opacity: 0.5;
    transition: opacity var(--transition-fast);
}

.modal-header .btn-close:hover {
    opacity: 1;
}

.modal-body {
    background-color: transparent !important;
    color: var(--text-secondary) !important;
    padding: 24px !important;
}

.modal-footer {
    background-color: transparent !important;
    border-top: 1px solid var(--border-subtle) !important;
    padding: 16px 24px !important;
}

/* Confirmation Modal Variant */
.modal-confirm .modal-body {
    text-align: center;
    padding: 32px 24px !important;
}

.modal-confirm .modal-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 28px;
}

.modal-confirm .modal-icon.icon-warning {
    background: var(--accent-warning-muted);
    color: var(--accent-warning);
}

.modal-confirm .modal-icon.icon-danger {
    background: var(--accent-danger-muted);
    color: var(--accent-danger);
}

.modal-confirm .modal-icon.icon-success {
    background: var(--accent-success-muted);
    color: var(--accent-success);
}

.modal-confirm .modal-icon.icon-info {
    background: var(--accent-info-muted);
    color: var(--accent-info);
}

/* ============================================
   PHASE 2.6 — FOOTER REDESIGN
   ============================================ */

/* Footer Social Icons */
.footer-social-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: all var(--transition-fast);
}

.footer-social-icon:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(29, 79, 254, 0.3);
}

/* Footer Links */
.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-decoration: none;
    transition: all var(--transition-fast);
    position: relative;
    padding-left: 0;
}

.footer-links li a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: var(--accent-primary);
    transition: width var(--transition-fast);
}

.footer-links li a:hover {
    color: var(--accent-primary);
    padding-left: 4px;
}

.footer-links li a:hover::before {
    width: 100%;
}

/* Footer Feature Items */
.footer-feature-item {
    padding: 8px 0;
    transition: all var(--transition-fast);
}

.footer-feature-item:hover {
    transform: translateY(-2px);
}

.footer-feature-item i {
    font-size: 1.1rem;
}

/* Footer Legal Links */
.footer-legal-link {
    transition: color var(--transition-fast) !important;
    text-decoration: none;
}

.footer-legal-link:hover {
    color: var(--accent-primary) !important;
}

/* Cookie Popup Redesign */
.cookie-popup {
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* ============================================
   PHASE 2.7 — PRODUCT PAGES
   ============================================ */

/* Product Hero Section */
.product-hero {
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.product-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(29, 79, 254, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(6, 182, 212, 0.06) 0%, transparent 50%);
    z-index: 0;
}

.product-hero .container {
    position: relative;
    z-index: 1;
}

/* Product Feature Badge */
.product-feature-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.product-feature-badge i {
    color: var(--accent-primary);
    font-size: 1rem;
}

.product-feature-badge .fw-bold {
    color: #fff;
}

/* Product Pricing Cards */
.product-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-normal);
    position: relative;
}

.product-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(29, 79, 254, 0.1);
}

.product-card.popular {
    border-color: var(--accent-primary);
    box-shadow: 0 0 30px rgba(29, 79, 254, 0.15);
}

.product-card .popular-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--accent-primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    animation: pulseSoft 2s ease-in-out infinite;
    z-index: 2;
}

.product-card .price-header {
    padding: 32px 24px;
    border-bottom: 1px solid var(--border-subtle);
    background: transparent;
}

.product-card .price-section {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-subtle);
}

.product-card .pricing-features {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-subtle);
}

.product-card .pricing-features:last-child {
    border-bottom: none;
}

.product-card .pricing-features h5 {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.product-card .feature li {
    padding: 4px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.product-card .feature li i {
    color: var(--accent-primary);
}

/* Featured Package Card (Hero sidebar) */
.featured-package {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
}

/* Discount Banner */
.discount-banner {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-lg);
    padding: 12px 20px;
    color: var(--accent-success);
    font-weight: 600;
    text-align: center;
}

/* Server Configurator */
.configurator-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.configurator-card .card-body {
    padding: 28px;
}

.configurator-card .form-range::-webkit-slider-thumb {
    background: var(--accent-primary);
}

.configurator-card .form-range::-webkit-slider-runnable-track {
    background: var(--bg-elevated);
}

/* Summary Card */
.summary-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
}

.summary-card .badge {
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: var(--radius-full);
}

/* Technical Details */
.tech-details {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
}

.tech-details .list-group-item {
    background: transparent !important;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 14px 20px;
}

.tech-details .list-group-item:last-child {
    border-bottom: none;
}

/* Dedicated Server Table */
.server-table-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}

.server-table-wrapper table {
    background: var(--bg-surface);
    color: var(--text-primary);
    margin-bottom: 0;
}

.server-table-wrapper th {
    background: var(--bg-elevated) !important;
    color: var(--text-muted) !important;
    border-bottom: 1px solid var(--border-subtle) !important;
    text-align: center;
    padding: 16px 12px;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.server-table-wrapper td {
    background: var(--bg-surface) !important;
    border-bottom: 1px solid var(--border-subtle) !important;
    padding: 16px 12px;
    vertical-align: middle;
}

.server-table-wrapper tr:hover td {
    background: var(--bg-elevated) !important;
}

/* Product Feature Bar */
.product-feature-bar {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 24px;
}

.product-feature-bar .d-flex {
    padding: 12px;
}

.product-feature-bar .icons i {
    color: var(--accent-primary);
}

.product-feature-bar h5 a {
    color: var(--text-primary) !important;
}

/* Dark Accordion */
.accordion-dark .accordion-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg) !important;
    margin-bottom: 8px;
    overflow: hidden;
}

.accordion-dark .accordion-button {
    background: var(--bg-surface) !important;
    color: var(--text-primary);
    font-weight: 500;
    border: none;
    box-shadow: none !important;
    padding: 16px 20px;
}

.accordion-dark .accordion-button::after {
    filter: invert(1) brightness(0.6);
}

.accordion-dark .accordion-button:not(.collapsed) {
    background: var(--bg-elevated) !important;
    color: var(--accent-primary);
}

.accordion-dark .accordion-body {
    background: var(--bg-surface);
    color: var(--text-secondary);
    padding: 16px 20px;
    border-top: 1px solid var(--border-subtle);
}

.accordion-dark .accordion-collapse {
    border: none;
}

/* ============================================
   PHASE 3 — AUTH PAGES
   ============================================ */

.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 40px 0;
}

.auth-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 0%, rgba(29, 79, 254, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 100%, rgba(6, 182, 212, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.auth-section .container {
    position: relative;
    z-index: 1;
}

/* Auth Brand Side */
.auth-brand-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px;
}

.auth-brand-side h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.auth-brand-side p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.auth-feature-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
}

.auth-feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.auth-feature-list li i {
    color: var(--accent-primary);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

/* Auth Form Card */
.auth-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 40px;
    max-width: 480px;
    margin: 0 auto;
}

.auth-card .auth-logo {
    height: 40px;
    display: block;
    margin: 0 auto 32px;
}

.auth-card .auth-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 8px;
}

.auth-card .auth-subtitle {
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 28px;
    font-size: 0.9rem;
}

/* Auth Form Inputs */
.auth-card .form-floating .form-control {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    border-radius: var(--radius-md);
    padding: 16px;
    height: auto;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.auth-card .form-floating .form-control:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(29, 79, 254, 0.15);
    background: var(--bg-elevated);
}

.auth-card .form-floating label {
    color: var(--text-muted);
}

.auth-card .form-floating .form-control:focus ~ label,
.auth-card .form-floating .form-control:not(:placeholder-shown) ~ label {
    color: var(--accent-primary);
}

/* Auth Buttons */
.auth-card .btn-primary {
    padding: 12px;
    font-weight: 600;
    border-radius: var(--radius-md);
}

.auth-card .auth-link-btn {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    padding: 10px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all var(--transition-fast);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.auth-card .auth-link-btn:hover {
    background: var(--bg-hover);
    border-color: var(--border-accent);
    color: var(--text-primary);
}

/* Auth Divider */
.auth-divider {
    border-color: var(--border-subtle);
    margin: 24px 0;
}

/* Auth Checkbox */
.auth-card .form-check-input {
    background-color: var(--bg-elevated);
    border-color: var(--border-subtle);
}

.auth-card .form-check-input:checked {
    background-color: var(--accent-primary);
    border-color: var(--accent-primary);
}

.auth-card .form-check-label {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.auth-card .form-check-label a {
    color: var(--accent-primary);
}

/* Captcha */
.auth-captcha {
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
}

@media (max-width: 991px) {
    .auth-brand-side {
        padding: 24px;
        text-align: center;
    }

    .auth-feature-list li {
        justify-content: center;
    }
}

/* ==========================================================================
   21st.dev MCP Integrations - Phase 2.7+
   ========================================================================== */

/* CPU Architecture Animation */
.cpu-architecture-path {
  offset-anchor: 10px 0px;
  animation: animation-path;
  animation-iteration-count: infinite;
  animation-timing-function: cubic-bezier(0.75, -0.01, 0, 0.99);
}

.cpu-line-1 {
  offset-path: path("M 10 20 h 79.5 q 5 0 5 5 v 30");
  animation-duration: 5s;
  animation-delay: 1s;
}

.cpu-line-2 {
  offset-path: path("M 180 10 h -69.7 q -5 0 -5 5 v 40");
  animation-delay: 6s;
  animation-duration: 2s;
}

.cpu-line-3 {
  offset-path: path("M 130 20 v 21.8 q 0 5 -5 5 h -25");
  animation-delay: 4s;
  animation-duration: 6s;
}

.cpu-line-4 {
  offset-path: path("M 170 80 v -21.8 q 0 -5 -5 -5 h -65");
  animation-delay: 3s;
  animation-duration: 3s;
}

.cpu-line-5 {
  offset-path: path(
    "M 135 65 h 15 q 5 0 5 5 v 10 q 0 5 -5 5 h -39.8 q -5 0 -5 -5 v -35"
  );
  animation-delay: 9s;
  animation-duration: 4s;
}

.cpu-line-6 {
  offset-path: path("M 94.8 95 v -46");
  animation-delay: 3s;
  animation-duration: 7s;
}

.cpu-line-7 {
  offset-path: path(
    "M 88 88 v -15 q 0 -5 -5 -5 h -10 q -5 0 -5 -5 v -5 q 0 -5 5 -5 h 28"
  );
  animation-delay: 4s;
  animation-duration: 4s;
}

.cpu-line-8 {
  offset-path: path("M 30 30 h 25 q 5 0 5 5 v 6.5 q 0 5 5 5 h 35");
  animation-delay: 3s;
  animation-duration: 3s;
}

@keyframes animation-path {
  0% { offset-distance: 0%; }
  100% { offset-distance: 100%; }
}

/* Feature 8 Grid Customizations */
.features-8-section {
    position: relative;
    z-index: 10;
}
.features-8-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.75rem;
}
.features-8-card {
    position: relative;
    overflow: hidden;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}
.features-8-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 0 15px rgba(29, 79, 254, 0.1);
}
.features-8-card-content {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
}

.col-span-full { grid-column: 1 / -1; }
@media (min-width: 1024px) {
    .lg\:col-span-2 { grid-column: span 2 / span 2; }
    .lg\:col-span-3 { grid-column: span 3 / span 3; }
}
@media (min-width: 640px) {
    .sm\:col-span-3 { grid-column: span 3 / span 3; }
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.text-foreground { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.aspect-square { aspect-ratio: 1 / 1; }
.size-fit { width: fit-content; height: fit-content; }
.size-full { width: 100%; height: 100%; }
.size-32 { width: 8rem; height: 8rem; }
.size-24 { width: 6rem; height: 6rem; }
.size-12 { width: 3rem; height: 3rem; }
.size-5 { width: 1.25rem; height: 1.25rem; }
.size-6 { width: 1.5rem; height: 1.5rem; }
.size-7 { width: 1.75rem; height: 1.75rem; }
.size-8 { width: 2rem; height: 2rem; }
.size-2 { width: 0.5rem; height: 0.5rem; }

.ring-background { --tw-ring-color: var(--bg-surface); }
.ring-4 { box-shadow: 0 0 0 4px var(--tw-ring-color); }

.features-8-svg-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    color: var(--border-subtle);
}
.features-8-primary-text {
    color: var(--color-primary);
}

/* Force Footer Links to White */
.footer .footer-links li a,
.footer .list-unstyled li a,
.footer p,
.footer .text-white-50 {
    color: rgba(255, 255, 255, 0.7) !important;
    transition: color 0.3s ease;
}

.footer .footer-links li a:hover,
.footer .list-unstyled li a:hover {
    color: #ffffff !important;
}

.footer h6 {
    color: #ffffff !important;
}

/* Even more aggressive Footer White rules */
.footer a, 
.footer li a, 
.footer .footer-links a, 
.footer .sub-menu-item,
.footer p,
.footer span,
.footer small {
    color: rgba(255, 255, 255, 0.8) !important;
}

.footer a:hover, 
.footer li a:hover {
    color: #ffffff !important;
}

.footer h1, .footer h2, .footer h3, .footer h4, .footer h5, .footer h6 {
    color: #ffffff !important;
}

/* Navbar hover/active fix — force accent blue */
#topnav .navigation-menu > li:hover > a,
#topnav .navigation-menu > li.active > a,
#topnav .navigation-menu > li > a:hover {
    color: #1D4FFE !important;
}

#topnav .navigation-menu > li > a::after {
    background: #1D4FFE !important;
}