/**
 * NitroShock Style: Dark Tech
 * Version: 1.0.0
 * Description: Dark, high-contrast professional design for developers and tech companies
 * 
 * This is a complete, standalone CSS file.
 * Load this file alone - no other CSS required.
 */

/* ============================================
   PART 1: CSS VARIABLES (DARK TECH THEME)
   ============================================ */

:root {
    /* ===== COLORS ===== */
    
    /* Primary palette - Electric blues for tech aesthetic */
    --color-primary: #3b82f6;
    --color-secondary: #06b6d4;
    --color-accent: #8b5cf6;
    
    /* Backgrounds - Very dark for high contrast */
    --color-background: #0a0a0a;
    --color-surface: #111111;
    --color-surface-hover: #1a1a1a;
    
    /* Text - High contrast white/gray on dark */
    --color-text: #e5e5e5;
    --color-text-muted: #9ca3af;
    --color-text-inverse: #111827;
    
    /* Headings and Links */
    --color-heading: #ffffff;
    --color-link: #3b82f6;
    
    /* Borders - Subtle dark borders */
    --color-border: #1f1f1f;
    --color-border-light: #2a2a2a;
    --color-border-dark: #0f0f0f;
    
    /* State colors */
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-error: #ef4444;
    --color-info: #3b82f6;
    
    /* ===== SPACING ===== */
    --space-xs: 0.5rem;      /* 8px */
    --space-sm: 1rem;        /* 16px */
    --space-md: 1.5rem;      /* 24px */
    --space-lg: 2rem;        /* 32px */
    --space-xl: 3rem;        /* 48px */
    --space-2xl: 4rem;       /* 64px */
    --space-3xl: 6rem;       /* 96px */
    
    /* ===== TYPOGRAPHY ===== */
    
    /* Font families */
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    --font-serif: Georgia, 'Times New Roman', Times, serif;
    --font-mono: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Mono', 'Droid Sans Mono', 'Source Code Pro', 'Courier New', monospace;
    
    /* Font sizes */
    --text-xs: 0.75rem;      /* 12px */
    --text-sm: 0.875rem;     /* 14px */
    --text-base: 1rem;       /* 16px */
    --text-lg: 1.125rem;     /* 18px */
    --text-xl: 1.25rem;      /* 20px */
    --text-2xl: 1.5rem;      /* 24px */
    --text-3xl: 1.875rem;    /* 30px */
    --text-4xl: 2.25rem;     /* 36px */
    --text-5xl: 3rem;        /* 48px */
    --text-6xl: 4rem;        /* 64px */
    
    /* Line heights */
    --leading-none: 1;
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.75;
    --leading-loose: 2;
    
    /* Font weights */
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-black: 900;
    
    /* Letter spacing */
    --tracking-tight: -0.02em;
    --tracking-normal: 0;
    --tracking-wide: 0.025em;
    
    /* ===== BORDER RADIUS ===== */
    /* Smaller radius for sharp, tech look */
    --radius-none: 0;
    --radius-sm: 0.125rem;   /* 2px */
    --radius-md: 0.25rem;    /* 4px */
    --radius-lg: 0.5rem;     /* 8px */
    --radius-xl: 0.75rem;    /* 12px */
    --radius-2xl: 1rem;      /* 16px */
    --radius-full: 9999px;
    
    /* ===== SHADOWS ===== */
    /* Minimal shadows for flat tech aesthetic */
    --shadow-none: none;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 4px 8px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 8px 16px rgba(0, 0, 0, 0.5);
    --shadow-2xl: 0 16px 32px rgba(0, 0, 0, 0.6);
    
    /* ===== TRANSITIONS ===== */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* ===== Z-INDEX ===== */
    --z-base: 1;
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* ============================================
   PART 2: BASE STYLES (FOUNDATION)
   ============================================ */

/* ===== CSS RESET ===== */

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    color: var(--color-text);
    background-color: var(--color-background);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */

h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-bold);
    line-height: var(--leading-tight);
    margin-bottom: var(--space-md);
    color: var(--color-heading);
    letter-spacing: var(--tracking-tight);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
    margin-bottom: var(--space-md);
    line-height: var(--leading-relaxed);
}

a {
    color: var(--color-link);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-secondary);
}

strong, b {
    font-weight: var(--font-bold);
}

em, i {
    font-style: italic;
}

small {
    font-size: var(--text-sm);
}

code {
    font-family: var(--font-mono);
    font-size: 0.9em;
    background: var(--color-surface);
    padding: 0.2em 0.4em;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
}

pre {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    background: var(--color-surface);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    overflow-x: auto;
    margin-bottom: var(--space-md);
}

pre code {
    background: none;
    padding: 0;
    border: none;
}

blockquote {
    border-left: 4px solid var(--color-primary);
    padding-left: var(--space-md);
    margin: var(--space-lg) 0;
    color: var(--color-text-muted);
    font-style: italic;
}

ul, ol {
    margin-bottom: var(--space-md);
    padding-left: var(--space-lg);
}

li {
    margin-bottom: var(--space-xs);
    line-height: var(--leading-relaxed);
}

hr {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: var(--space-xl) 0;
}

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

.ns-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.ns-container-sm { max-width: 768px; }
.ns-container-md { max-width: 1024px; }
.ns-container-lg { max-width: 1440px; }
.ns-container-xl { max-width: 1920px; }
.ns-container-full { max-width: 100%; padding: 0; }

/* Flexbox utilities */
.ns-flex {
    display: flex;
}

.ns-inline-flex {
    display: inline-flex;
}

.ns-flex-row { flex-direction: row; }
.ns-flex-row-reverse { flex-direction: row-reverse; }
.ns-flex-col { flex-direction: column; }
.ns-flex-col-reverse { flex-direction: column-reverse; }

.ns-flex-wrap { flex-wrap: wrap; }
.ns-flex-nowrap { flex-wrap: nowrap; }

.ns-items-start { align-items: flex-start; }
.ns-items-center { align-items: center; }
.ns-items-end { align-items: flex-end; }
.ns-items-stretch { align-items: stretch; }
.ns-items-baseline { align-items: baseline; }

.ns-justify-start { justify-content: flex-start; }
.ns-justify-center { justify-content: center; }
.ns-justify-end { justify-content: flex-end; }
.ns-justify-between { justify-content: space-between; }
.ns-justify-around { justify-content: space-around; }
.ns-justify-evenly { justify-content: space-evenly; }

.ns-flex-1 { flex: 1; }
.ns-flex-auto { flex: auto; }
.ns-flex-none { flex: none; }

.ns-gap-xs { gap: var(--space-xs); }
.ns-gap-sm { gap: var(--space-sm); }
.ns-gap-md { gap: var(--space-md); }
.ns-gap-lg { gap: var(--space-lg); }
.ns-gap-xl { gap: var(--space-xl); }

/* Grid utilities */
.ns-grid {
    display: grid;
}

.ns-grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.ns-grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.ns-grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.ns-grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
.ns-grid-cols-6 { grid-template-columns: repeat(6, 1fr); }
.ns-grid-cols-12 { grid-template-columns: repeat(12, 1fr); }

.ns-col-span-2 { grid-column: span 2; }
.ns-col-span-3 { grid-column: span 3; }
.ns-col-span-4 { grid-column: span 4; }
.ns-col-span-6 { grid-column: span 6; }
.ns-col-span-full { grid-column: 1 / -1; }

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

/* Cards */
.ns-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all var(--transition-base);
}

.ns-card-sm {
    padding: var(--space-md);
}

.ns-card-lg {
    padding: var(--space-xl);
}

.ns-card-hover:hover {
    border-color: var(--color-border-light);
    transform: translateY(-2px);
}

.ns-card-flat {
    box-shadow: none;
}

/* Buttons */
.ns-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    white-space: nowrap;
    user-select: none;
}

.ns-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.ns-btn-primary {
    background: var(--color-primary);
    color: var(--color-text-inverse);
}

.ns-btn-primary:hover:not(:disabled) {
    opacity: 0.9;
    transform: translateY(-1px);
}

.ns-btn-secondary {
    background: var(--color-secondary);
    color: var(--color-text-inverse);
}

.ns-btn-secondary:hover:not(:disabled) {
    opacity: 0.9;
    transform: translateY(-1px);
}

.ns-btn-outline {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.ns-btn-outline:hover:not(:disabled) {
    background: var(--color-primary);
    color: var(--color-text-inverse);
}

.ns-btn-ghost {
    background: transparent;
    color: var(--color-text);
}

.ns-btn-ghost:hover:not(:disabled) {
    background: var(--color-surface);
}

.ns-btn-sm {
    padding: var(--space-xs) var(--space-md);
    font-size: var(--text-sm);
}

.ns-btn-lg {
    padding: var(--space-md) var(--space-xl);
    font-size: var(--text-lg);
}

.ns-btn-full {
    width: 100%;
}

/* Forms */
.ns-input,
.ns-textarea,
.ns-select {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    font-size: var(--text-base);
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.ns-input:focus,
.ns-textarea:focus,
.ns-select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.ns-input::placeholder,
.ns-textarea::placeholder {
    color: var(--color-text-muted);
}

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

.ns-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    margin-bottom: var(--space-xs);
    color: var(--color-text);
}

.ns-form-group {
    margin-bottom: var(--space-md);
}

.ns-form-help {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-top: var(--space-xs);
}

.ns-form-error {
    font-size: var(--text-sm);
    color: var(--color-error);
    margin-top: var(--space-xs);
}

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

/* Margin */
.ns-m-0 { margin: 0; }
.ns-m-auto { margin: auto; }

.ns-mt-xs { margin-top: var(--space-xs); }
.ns-mt-sm { margin-top: var(--space-sm); }
.ns-mt-md { margin-top: var(--space-md); }
.ns-mt-lg { margin-top: var(--space-lg); }
.ns-mt-xl { margin-top: var(--space-xl); }
.ns-mt-2xl { margin-top: var(--space-2xl); }

.ns-mr-xs { margin-right: var(--space-xs); }
.ns-mr-sm { margin-right: var(--space-sm); }
.ns-mr-md { margin-right: var(--space-md); }
.ns-mr-lg { margin-right: var(--space-lg); }
.ns-mr-auto { margin-right: auto; }

.ns-mb-xs { margin-bottom: var(--space-xs); }
.ns-mb-sm { margin-bottom: var(--space-sm); }
.ns-mb-md { margin-bottom: var(--space-md); }
.ns-mb-lg { margin-bottom: var(--space-lg); }
.ns-mb-xl { margin-bottom: var(--space-xl); }
.ns-mb-2xl { margin-bottom: var(--space-2xl); }

.ns-ml-xs { margin-left: var(--space-xs); }
.ns-ml-sm { margin-left: var(--space-sm); }
.ns-ml-md { margin-left: var(--space-md); }
.ns-ml-lg { margin-left: var(--space-lg); }
.ns-ml-auto { margin-left: auto; }

.ns-mx-auto { margin-left: auto; margin-right: auto; }
.ns-my-md { margin-top: var(--space-md); margin-bottom: var(--space-md); }
.ns-my-lg { margin-top: var(--space-lg); margin-bottom: var(--space-lg); }
.ns-my-xl { margin-top: var(--space-xl); margin-bottom: var(--space-xl); }

/* Padding */
.ns-p-0 { padding: 0; }
.ns-p-xs { padding: var(--space-xs); }
.ns-p-sm { padding: var(--space-sm); }
.ns-p-md { padding: var(--space-md); }
.ns-p-lg { padding: var(--space-lg); }
.ns-p-xl { padding: var(--space-xl); }
.ns-p-2xl { padding: var(--space-2xl); }

.ns-pt-xs { padding-top: var(--space-xs); }
.ns-pt-sm { padding-top: var(--space-sm); }
.ns-pt-md { padding-top: var(--space-md); }
.ns-pt-lg { padding-top: var(--space-lg); }
.ns-pt-xl { padding-top: var(--space-xl); }

.ns-pr-xs { padding-right: var(--space-xs); }
.ns-pr-sm { padding-right: var(--space-sm); }
.ns-pr-md { padding-right: var(--space-md); }
.ns-pr-lg { padding-right: var(--space-lg); }

.ns-pb-xs { padding-bottom: var(--space-xs); }
.ns-pb-sm { padding-bottom: var(--space-sm); }
.ns-pb-md { padding-bottom: var(--space-md); }
.ns-pb-lg { padding-bottom: var(--space-lg); }
.ns-pb-xl { padding-bottom: var(--space-xl); }

.ns-pl-xs { padding-left: var(--space-xs); }
.ns-pl-sm { padding-left: var(--space-sm); }
.ns-pl-md { padding-left: var(--space-md); }
.ns-pl-lg { padding-left: var(--space-lg); }

.ns-px-xs { padding-left: var(--space-xs); padding-right: var(--space-xs); }
.ns-px-sm { padding-left: var(--space-sm); padding-right: var(--space-sm); }
.ns-px-md { padding-left: var(--space-md); padding-right: var(--space-md); }
.ns-px-lg { padding-left: var(--space-lg); padding-right: var(--space-lg); }
.ns-px-xl { padding-left: var(--space-xl); padding-right: var(--space-xl); }

.ns-py-xs { padding-top: var(--space-xs); padding-bottom: var(--space-xs); }
.ns-py-sm { padding-top: var(--space-sm); padding-bottom: var(--space-sm); }
.ns-py-md { padding-top: var(--space-md); padding-bottom: var(--space-md); }
.ns-py-lg { padding-top: var(--space-lg); padding-bottom: var(--space-lg); }
.ns-py-xl { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }
.ns-py-2xl { padding-top: var(--space-2xl); padding-bottom: var(--space-2xl); }

/* Sections */
.ns-section {
    padding: var(--space-2xl) 0;
    position: relative;
}

.ns-section-sm {
    padding: var(--space-xl) 0;
}

.ns-section-lg {
    padding: var(--space-3xl) 0;
}

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

.ns-text-left { text-align: left; }
.ns-text-center { text-align: center; }
.ns-text-right { text-align: right; }

.ns-text-xs { font-size: var(--text-xs); }
.ns-text-sm { font-size: var(--text-sm); }
.ns-text-base { font-size: var(--text-base); }
.ns-text-lg { font-size: var(--text-lg); }
.ns-text-xl { font-size: var(--text-xl); }
.ns-text-2xl { font-size: var(--text-2xl); }
.ns-text-3xl { font-size: var(--text-3xl); }
.ns-text-4xl { font-size: var(--text-4xl); }
.ns-text-5xl { font-size: var(--text-5xl); }

.ns-text-muted { color: var(--color-text-muted); }
.ns-text-primary { color: var(--color-primary); }
.ns-text-secondary { color: var(--color-secondary); }
.ns-text-success { color: var(--color-success); }
.ns-text-warning { color: var(--color-warning); }
.ns-text-error { color: var(--color-error); }

.ns-font-normal { font-weight: var(--font-normal); }
.ns-font-medium { font-weight: var(--font-medium); }
.ns-font-semibold { font-weight: var(--font-semibold); }
.ns-font-bold { font-weight: var(--font-bold); }
.ns-font-black { font-weight: var(--font-black); }

.ns-italic { font-style: italic; }
.ns-uppercase { text-transform: uppercase; }
.ns-lowercase { text-transform: lowercase; }
.ns-capitalize { text-transform: capitalize; }

.ns-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ns-line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ns-line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.ns-block { display: block; }
.ns-inline-block { display: inline-block; }
.ns-inline { display: inline; }
.ns-hidden { display: none; }

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

.ns-relative { position: relative; }
.ns-absolute { position: absolute; }
.ns-fixed { position: fixed; }
.ns-sticky { position: sticky; }

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

.ns-w-full { width: 100%; }
.ns-w-auto { width: auto; }
.ns-w-1\/2 { width: 50%; }
.ns-w-1\/3 { width: 33.333333%; }
.ns-w-2\/3 { width: 66.666667%; }
.ns-w-1\/4 { width: 25%; }
.ns-w-3\/4 { width: 75%; }

.ns-max-w-sm { max-width: 24rem; }
.ns-max-w-md { max-width: 28rem; }
.ns-max-w-lg { max-width: 32rem; }
.ns-max-w-xl { max-width: 36rem; }
.ns-max-w-2xl { max-width: 42rem; }

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

.ns-overflow-hidden { overflow: hidden; }
.ns-overflow-auto { overflow: auto; }
.ns-overflow-x-auto { overflow-x: auto; }
.ns-overflow-y-auto { overflow-y: auto; }

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

.ns-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* ===== IMAGES ===== */

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

.ns-img-cover {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.ns-img-contain {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.ns-img-rounded {
    border-radius: var(--radius-lg);
}

.ns-img-circle {
    border-radius: var(--radius-full);
}

/* ===== RESPONSIVE (MOBILE-FIRST) ===== */

/* Base styles above apply to mobile (320-639px) */

/* Tablet Portrait: 640px - 1023px */
@media (min-width: 640px) {
    .ns-container {
        padding: 0 var(--space-lg);
    }
    
    .ns-grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet Landscape / Small Desktop: 1024px - 1279px */
@media (min-width: 1024px) {
    .ns-grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .ns-grid-cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .ns-grid-cols-6 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop: 1280px+ */
@media (min-width: 1280px) {
    .ns-grid-cols-6 {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .ns-container {
        padding: 0 var(--space-xl);
    }
}

/* ============================================
   PART 3: DARK TECH ENHANCEMENTS
   ============================================ */

/* Tech grid background pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

body > * {
    position: relative;
    z-index: 1;
}

/* Gradient background for body (subtle) */
body {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

/* Accent borders on headings */
h1, h2, h3 {
    position: relative;
    padding-left: var(--space-md);
}

h1::before,
h2::before,
h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--color-primary), var(--color-secondary));
    border-radius: var(--radius-sm);
}

/* Flat cards with border emphasis (no shadows) */
.ns-card {
    box-shadow: none;
    border-width: 1px;
}

.ns-card:hover {
    border-color: var(--color-border-light);
}

/* Subtle glow on primary buttons */
.ns-btn-primary {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.ns-btn-primary:hover:not(:disabled) {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}

/* Tech-style links with underline animation */
a:not(.ns-btn) {
    position: relative;
}

a:not(.ns-btn)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-primary);
    transition: width var(--transition-base);
}

a:not(.ns-btn):hover::after {
    width: 100%;
}

/* Enhanced code blocks */
pre {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    position: relative;
}

pre::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

/* Section dividers with gradient */
hr {
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
    height: 1px;
    border: none;
}

/* Input focus with tech glow */
.ns-input:focus,
.ns-textarea:focus,
.ns-select:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15), 0 0 20px rgba(59, 130, 246, 0.1);
}

/* Scrollbar styling for dark theme */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--color-border-light);
    border-radius: var(--radius-md);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-border);
}

/* Selection color */
::selection {
    background: var(--color-primary);
    color: var(--color-text-inverse);
}

::-moz-selection {
    background: var(--color-primary);
    color: var(--color-text-inverse);
}

/* Tech-style loading state */
@keyframes pulse-glow {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
    }
    50% {
        opacity: 0.8;
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.8);
    }
}

.ns-loading {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Utility: gradient text */
.ns-gradient-text {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Utility: tech border */
.ns-tech-border {
    position: relative;
    border: 1px solid var(--color-border);
}

.ns-tech-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

/* Print styles */
@media print {
    body::before {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .ns-btn,
    .ns-card {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* 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;
    }
}
