/**
 * NitroShock Style: Minimal Professional
 * Version: 1.0.0
 * Description: Ultra-clean, distraction-free corporate design with maximum whitespace
 * 
 * This is a complete, standalone CSS file.
 * Load this file alone - no other CSS required.
 */

/* ============================================
   PART 1: CSS VARIABLES (MINIMAL PROFESSIONAL THEME)
   ============================================ */

:root {
    /* ===== COLORS ===== */
    
    /* Monochrome palette - maximum 2-3 colors */
    --color-primary: #000000;
    --color-secondary: #333333;
    --color-accent: #666666;
    
    /* Backgrounds - Pure white */
    --color-background: #ffffff;
    --color-surface: #fafafa;
    --color-surface-hover: #f5f5f5;
    
    /* Text - Black and grays */
    --color-text: #000000;
    --color-text-muted: #666666;
    --color-text-inverse: #ffffff;
    
    /* Headings and Links */
    --color-heading: #000000;
    --color-link: #000000;
    
    /* Borders - Light gray only */
    --color-border: #e0e0e0;
    --color-border-light: #f0f0f0;
    --color-border-dark: #d0d0d0;
    
    /* State colors - minimal */
    --color-success: #000000;
    --color-warning: #000000;
    --color-error: #000000;
    --color-info: #000000;
    
    /* ===== SPACING ===== */
    /* Increased for breathing room */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;        /* Larger for minimal aesthetic */
    --space-3xl: 8rem;        /* Huge whitespace */
    
    /* ===== TYPOGRAPHY ===== */
    
    /* Font families - Clean, professional fonts */
    --font-sans: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Lora', Georgia, serif;
    --font-mono: 'Source Code Pro', 'SF Mono', monospace;
    
    /* Font sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 4rem;
    
    /* Line heights - standard */
    --leading-none: 1;
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.75;
    --leading-loose: 2;
    
    /* Font weights - lighter default */
    --font-normal: 300;       /* Lighter for minimal look */
    --font-medium: 400;
    --font-semibold: 500;
    --font-bold: 600;
    --font-black: 700;
    
    /* Letter spacing */
    --tracking-tight: -0.03em;  /* Tighter for clean look */
    --tracking-normal: 0;
    --tracking-wide: 0.05em;
    
    /* ===== BORDER RADIUS ===== */
    /* Minimal/no radius */
    --radius-none: 0;
    --radius-sm: 0;
    --radius-md: 0;
    --radius-lg: 0.125rem;    /* 2px - barely rounded */
    --radius-xl: 0.25rem;
    --radius-2xl: 0.5rem;
    --radius-full: 9999px;
    
    /* ===== SHADOWS ===== */
    /* No shadows - flat design */
    --shadow-none: none;
    --shadow-sm: none;
    --shadow-md: none;
    --shadow-lg: none;
    --shadow-xl: none;
    --shadow-2xl: none;
    
    /* ===== TRANSITIONS ===== */
    /* Faster, more subtle */
    --transition-fast: 100ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms 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)
   [SAME AS DARK TECH - TRUNCATED FOR BREVITY]
   ============================================ */

/* ===== 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-dark);
}
.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.7; }
.ns-btn-secondary { background: var(--color-secondary); color: var(--color-text-inverse); }
.ns-btn-secondary:hover:not(:disabled) { opacity: 0.7; }
.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);
}

.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, Text, Display, Position, Width, Overflow utilities - same as dark-tech.css] */

.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-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-auto { margin-left: auto; }
.ns-mr-auto { margin-right: auto; }
.ns-mx-auto { margin-left: auto; margin-right: auto; }

.ns-p-0 { padding: 0; }
.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-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-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); }

.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; }

.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-muted { color: var(--color-text-muted); }
.ns-text-primary { color: var(--color-primary); }
.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-block { display: block; }
.ns-inline-block { display: inline-block; }
.ns-hidden { display: none; }

.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: 1px solid var(--color-primary);
    outline-offset: 2px;
}

img { max-width: 100%; height: auto; display: block; }
.ns-img-cover { object-fit: cover; width: 100%; height: 100%; }
.ns-img-rounded { border-radius: var(--radius-lg); }

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

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

@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); }
}

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

/* ============================================
   PART 3: MINIMAL PROFESSIONAL ENHANCEMENTS
   ============================================ */

/* Narrower content width for minimalist aesthetic */
.ns-container {
    max-width: 960px;
}

/* Refined typography - lighter weights */
body {
    font-weight: var(--font-normal);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-normal);
    letter-spacing: -0.03em;
}

/* Hairline borders only */
.ns-card,
.ns-input,
.ns-textarea,
.ns-select {
    border-width: 1px;
}

/* No shadows anywhere */
.ns-card,
.ns-btn,
.ns-input:focus,
.ns-textarea:focus,
.ns-select:focus {
    box-shadow: none;
}

/* Subtle hover states - just opacity */
.ns-btn:hover:not(:disabled) {
    opacity: 0.7;
    transform: none;
}

.ns-card-hover:hover {
    border-color: var(--color-border-dark);
    transform: none;
}

/* Clean links - no underline effects */
a:not(.ns-btn) {
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition-fast);
}

a:not(.ns-btn):hover {
    border-bottom-color: var(--color-primary);
}

/* Extra whitespace between sections */
.ns-section {
    padding: var(--space-3xl) 0;
}

/* Selection - minimal */
::selection {
    background: #f0f0f0;
    color: var(--color-text);
}

/* Scrollbar - minimal */
::-webkit-scrollbar {
    width: 8px;
}

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

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

/* Print optimized */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .ns-card {
        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;
    }
}
