/* Base Styles for Sophisticated Development Theme */

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

html {
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: var(--font-family);
  font-size: var(--text-base);
  font-weight: var(--font-normal);
  line-height: 1.6;
  color: var(--text-primary);
  background: #0a0a0a;;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Shadcn-style subtle depth overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-semibold);
  line-height: 1.2;
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

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

p {
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
}

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

a:hover {
  color: var(--status-active);
}

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

li {
  margin-bottom: var(--space-xs);
  color: var(--text-secondary);
}

/* Code */
code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background: rgba(55, 65, 81, 0.5);
  padding: 0.2em 0.4em;
  border-radius: var(--radius-sm);
  color: var(--text-accent);
}

pre {
  font-family: var(--font-mono);
  background: var(--secondary-bg);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  margin-bottom: var(--space-md);
  border: 1px solid var(--border-subtle);
}

/* Focus States */
:focus-visible {
  outline: 2px solid var(--status-active);
  outline-offset: 2px;
}

/* Selection */
::selection {
  background: rgba(52, 211, 153, 0.2);
  color: var(--text-primary);
}

/* Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--tertiary-bg);
  border-radius: var(--radius-md);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* Container */

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}


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

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

.list-reset {
  list-style: none;
  margin: 0;
  padding: 0;
}



-

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

/* Animation Classes */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.fade-in {
  animation: fadeIn 0.5s ease-out;
}

.slide-in-left {
  animation: slideInLeft 0.5s ease-out;
}

.pulse {
  animation: pulse 2s infinite;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --border-primary: rgba(255, 255, 255, 0.5);
    --text-secondary: #ffffff;
    --text-muted: #cccccc;
  }
}