/**
 * base.css
 * CSS Variables, Resets, Typography, Buttons, Scrollbar
 */

/* ============================================================================
   ROOT & TYPOGRAPHY
   ============================================================================ */

:root {
  /* Pure black terminal theme */
  --primary-color: #000000;
  --secondary-color: #0a0a0a;
  --tertiary-color: #1a1a1a;
  
  /* Terminal green accents (classic matrix style) */
  --accent-color: #00ff41;
  --accent-dim: #00cc33;
  --accent-glow: rgba(0, 255, 65, 0.5);
  
  /* Alternative accent - amber/gold for highlights */
  --accent-alt: #ffa500;
  --accent-alt-dim: #cc8400;
  
  /* Text colors */
  --text-primary: #e0e0e0;
  --text-secondary: #888888;
  --text-terminal: #00ff41;
  
  /* Status colors */
  --border-color: #333333;
  --success: #00ff41;
  --error: #ff3333;
  --warning: #ffaa00;
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  
  --font-mono: 'SF Mono', Monaco, 'Inconsolata', 'Fira Code', 'Droid Sans Mono', 'Courier New', monospace;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

* {
  box-sizing: border-box;
}

html, body, #root {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background: var(--primary-color);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
}

/* ============================================================================
   BUTTONS - Modern, Classy Style
   ============================================================================ */

.btn {
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--accent-color);
  border-radius: 8px;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  outline: none;
  position: relative;
  overflow: hidden;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: var(--accent-color);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  z-index: -1;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn:hover {
  color: var(--primary-color);
  box-shadow: 0 0 20px var(--accent-glow),
              0 0 40px var(--accent-glow);
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-color), var(--accent-dim));
  color: var(--primary-color);
  border-color: var(--accent-color);
  box-shadow: 0 4px 15px rgba(0, 255, 65, 0.3);
}

.btn-primary::before {
  background: var(--accent-dim);
}

.btn-primary:hover {
  color: var(--primary-color);
  box-shadow: 0 0 30px var(--accent-glow),
              0 0 60px var(--accent-glow),
              0 6px 20px rgba(0, 255, 65, 0.4);
}

.btn-secondary {
  background: var(--glass-bg);
  color: var(--accent-color);
  border-color: var(--accent-color);
  backdrop-filter: blur(10px);
}

.btn-secondary::before {
  background: var(--accent-color);
}

.btn-large {
  padding: 1.2rem 2.5rem;
  font-size: 1.1rem;
  border-radius: 12px;
}

/* ============================================================================
   SCROLLBAR STYLING - Matrix Theme
   ============================================================================ */

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: var(--primary-color);
  border-left: 1px solid var(--border-color);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-color);
  border-radius: 6px;
  box-shadow: 0 0 10px var(--accent-glow);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-dim);
  box-shadow: 0 0 20px var(--accent-glow);
}

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--accent-color) var(--primary-color);
}

/* ============================================================================
   LANDING PAGE
   ============================================================================ */

.landing-container {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  overflow: hidden;
  position: relative;
}

.landing-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(90deg, transparent 0%, var(--accent-color) 50%, transparent 100%),
    repeating-linear-gradient(0deg, transparent, transparent 2px, var(--accent-color) 2px, var(--accent-color) 4px);
  opacity: 0.03;
  pointer-events: none;
}

.landing-content {
  text-align: center;
  animation: fadeIn 0.8s ease-in;
  z-index: 1;
}

.landing-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--accent-color);
  text-shadow: 0 0 10px var(--accent-glow),
               0 0 20px var(--accent-glow),
               0 0 30px var(--accent-glow);
  font-family: var(--font-mono);
  letter-spacing: 2px;
}

.landing-subtitle {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  font-family: var(--font-mono);
}

.landing-buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.landing-info {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-secondary);
}

.landing-hint {
  font-size: 0.9rem;
  margin: 0.5rem 0;
  opacity: 0.8;
  font-family: var(--font-mono);
}
/**
 * terminal.css
 * Terminal Mode Styles - Authentic Black Terminal
 */

/* ============================================================================
   TERMINAL MODE - Authentic Black Terminal
   ============================================================================ */

.terminal-container {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--primary-color);
  color: var(--text-terminal);
  font-family: var(--font-mono);
  overflow: hidden;
}

/* Terminal Window Header - Mac-style */
.terminal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: var(--secondary-color);
  border-bottom: 1px solid var(--border-color);
}

.terminal-header::before {
  content: '';
  display: flex;
  gap: 8px;
}

/* Mac-style window controls */
.terminal-title {
  font-size: 0.9rem;
  font-weight: normal;
  color: var(--text-secondary);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.terminal-header::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff5f56;
  box-shadow: 
    20px 0 0 #ffbd2e,
    40px 0 0 #27c93f;
}

/* Glitch Terminal Button */
.terminal-mode-toggle {
  font-family: 'VT323', var(--font-mono);
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
  padding: 8px 13px;
  min-width: 150px;
  line-height: 1.5em;
  white-space: nowrap;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 8px;
  background: transparent;
  transition: all 0.3s;
  position: relative;
}

.terminal-mode-toggle:hover {
  animation: glitch 0.3s;
  background-color: var(--accent-color);
  color: var(--primary-color);
  box-shadow: 0 0 20px var(--accent-glow);
}

.terminal-mode-toggle:active {
  background: none;
  color: var(--accent-color);
}

.terminal-output {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  background: var(--primary-color);
  line-height: 1.8;
  font-size: 0.95rem;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-color) var(--primary-color);
  display: flex;
  flex-direction: column-reverse;
}

.terminal-output > div {
  display: flex;
  flex-direction: column;
}

/* Scanline effect for authentic CRT look */
.terminal-output::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.15),
    rgba(0, 0, 0, 0.15) 1px,
    transparent 1px,
    transparent 2px
  );
  pointer-events: none;
  opacity: 0.5;
}

.terminal-line {
  margin: 0;
  white-space: pre-wrap;
  word-wrap: break-word;
  color: var(--text-terminal);
  text-shadow: 0 0 5px var(--accent-glow);
  line-height: 1.5;
}

.terminal-input-line {
  display: flex;
  align-items: center;
  margin: 0;
  color: var(--text-terminal);
  line-height: 1.5;
}

.terminal-prompt {
  color: var(--accent-color);
  font-weight: bold;
  text-shadow: 0 0 5px var(--accent-glow);
}

.terminal-colon {
  color: var(--text-secondary);
  margin: 0 2px;
}

.terminal-path {
  color: var(--accent-alt);
  text-shadow: 0 0 5px rgba(255, 165, 0, 0.5);
}

.terminal-prompt-end {
  color: var(--accent-color);
  margin-right: 0.5rem;
}

.terminal-input {
  background: transparent;
  border: none;
  color: var(--text-terminal);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  outline: none;
  flex: 1;
  caret-color: var(--accent-color);
  text-shadow: 0 0 5px var(--accent-glow);
}

.terminal-cursor {
  display: inline-block;
  width: 0.6rem;
  height: 1.2rem;
  background: var(--accent-color);
  margin-left: 0.2rem;
  animation: blink 1s step-end infinite;
  box-shadow: 0 0 5px var(--accent-glow);
}

.terminal-error {
  color: var(--error);
  text-shadow: 0 0 5px rgba(255, 51, 51, 0.5);
}

/* Terminal Input Wrapper with Autocomplete */
.terminal-input-wrapper {
  position: relative;
  width: 100%;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

.terminal-suggestions {
  position: absolute;
  bottom: 2rem;
  left: 0;
  background: rgba(0, 0, 0, 0.95);
  border: 2px solid var(--accent-color);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  max-width: 400px;
  box-shadow: 0 -4px 20px rgba(0, 255, 65, 0.2);
  z-index: 50;
  animation: slideUp 0.2s ease-out;
}

.suggestion {
  padding: 0.75rem 1rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(0, 255, 65, 0.1);
  cursor: pointer;
  transition: all 0.2s;
  text-shadow: 0 0 5px rgba(0, 255, 65, 0.2);
}

.suggestion:last-child {
  border-bottom: none;
}

.suggestion:hover,
.suggestion.active {
  background: rgba(0, 255, 65, 0.1);
  color: var(--accent-color);
  text-shadow: 0 0 10px var(--accent-glow);
  padding-left: 1.5rem;
}

.suggestion-hint {
  font-size: 0.75rem;
  color: var(--accent-dim);
  margin-left: 0.5rem;
  opacity: 0.7;
}

/* ============================================================================
   MODAL - Glassmorphism Style
   ============================================================================ */

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease;
  backdrop-filter: blur(5px);
}

.modal-content {
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.98) 0%, rgba(20, 20, 20, 0.98) 100%);
  border: 2px solid rgba(0, 255, 65, 0.3);
  border-radius: 16px;
  max-width: 90%;
  max-height: 85vh;
  width: 700px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 
    0 0 40px rgba(0, 255, 65, 0.15),
    0 8px 32px rgba(0, 0, 0, 0.8),
    inset 0 0 60px rgba(0, 255, 65, 0.02);
  animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(20px);
  position: relative;
}

/* Glowing border effect - SUBTLE */
.modal-content::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, rgba(0, 255, 65, 0.2), transparent, rgba(0, 255, 65, 0.2));
  border-radius: 16px;
  z-index: -1;
  opacity: 0.3;
  animation: rotate 3s linear infinite;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(0, 255, 65, 0.15);
  background: rgba(0, 0, 0, 0.3);
}

.modal-header h2 {
  margin: 0;
  color: rgba(0, 255, 65, 0.8);
  font-size: 1.5rem;
  font-family: var(--font-mono);
  text-shadow: 0 0 5px rgba(0, 255, 65, 0.15);
}

.modal-close {
  background: transparent;
  border: 1px solid rgba(0, 255, 65, 0.3);
  color: rgba(0, 255, 65, 0.7);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: bold;
}

.modal-close:hover {
  background: rgba(0, 255, 65, 0.1);
  color: rgba(0, 255, 65, 0.9);
  transform: rotate(90deg);
  box-shadow: 0 0 12px rgba(0, 255, 65, 0.2);
}

.modal-body {
  padding: 1.5rem;
  background: transparent;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
}

.modal-body h1 {
  color: rgba(0, 255, 65, 0.8);
  margin-top: 0;
  font-size: 2rem;
  text-shadow: 0 0 5px rgba(0, 255, 65, 0.2);
  font-family: var(--font-mono);
}

.modal-body h3 {
  color: rgba(0, 255, 65, 0.7);
  margin-top: 1.2rem;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  text-shadow: 0 0 3px rgba(0, 255, 65, 0.15);
}

.modal-body p {
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 0.95rem;
}

.modal-body ul {
  color: var(--text-primary);
  margin-left: 1.5rem;
}

.modal-body li {
  margin: 0.4rem 0;
  font-size: 0.95rem;
}
/**
 * visual.css
 * Visual Mode Layout - Single Page Design with Tab Navigation
 */

/* ============================================================================
   VISUAL MODE - LEGACY SUPPORT
   ============================================================================ */

.visual-container {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--primary-color);
  position: relative;
}

/* Subtle grid background */
.visual-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(0, 255, 65, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 65, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.visual-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background: rgba(10, 10, 10, 0.95);
  border-bottom: 2px solid var(--accent-color);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 255, 65, 0.1);
  z-index: 100;
}

.visual-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-color);
  margin: 0;
  font-family: var(--font-mono);
  text-shadow: 0 0 10px var(--accent-glow);
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  flex: 1;
  justify-content: center;
}

.nav-link {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-family: var(--font-mono);
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--accent-color);
  text-shadow: 0 0 10px var(--accent-glow);
}

.nav-link:hover::before {
  width: 100%;
}

.nav-link.active {
  color: var(--accent-color);
  text-shadow: 0 0 10px var(--accent-glow);
}

.nav-link.active::before {
  width: 100%;
  box-shadow: 0 0 10px var(--accent-glow);
}

.mode-toggle {
  margin-left: auto;
}

.visual-main {
  flex: 1;
  overflow-y: auto;
  padding: 3rem 2rem;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-color) var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-welcome {
  text-align: center;
  max-width: 800px;
}

.welcome-title {
  font-size: 3.5rem;
  color: var(--accent-color);
  font-family: var(--font-mono);
  text-shadow: 0 0 20px var(--accent-glow);
  margin-bottom: 1rem;
  letter-spacing: 2px;
  animation: fadeIn 1s ease-in;
}

.welcome-subtitle {
  font-size: 1.3rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  animation: fadeIn 1.5s ease-in;
}

.visual-footer {
  text-align: center;
  padding: 1.5rem;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-color);
  font-size: 0.9rem;
  background: rgba(10, 10, 10, 0.95);
  font-family: var(--font-mono);
}

/* ============================================================================
   NEW VISUAL LAYOUT - Single Page Design
   ============================================================================ */

.visual-layout {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0a0a0a 0%, #000000 100%);
  overflow: hidden;
}

/* Header with Tab Navigation */
.visual-header {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 255, 65, 0.15);
  padding: 1.2rem 2rem;
  position: relative;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.header-logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-color);
  margin: 0;
  letter-spacing: 2px;
  white-space: nowrap;
  flex-shrink: 0;
  text-shadow: 0 0 10px rgba(0, 255, 65, 0.2);
}

.header-nav {
  display: flex;
  gap: 0.25rem;
  flex: 1;
  justify-content: center;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.header-nav::-webkit-scrollbar {
  display: none;
}

.nav-tab {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  background: transparent;
  border: 1px solid rgba(0, 255, 65, 0.1);
  border-radius: 8px;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-tab .tab-icon {
  font-size: 1rem;
}

.nav-tab:hover {
  color: var(--accent-color);
  border-color: rgba(0, 255, 65, 0.3);
  background: rgba(0, 255, 65, 0.05);
  transform: translateY(-1px);
}

.nav-tab.active {
  color: var(--accent-color);
  border-color: var(--accent-color);
  background: rgba(0, 255, 65, 0.08);
  box-shadow: 0 0 12px rgba(0, 255, 65, 0.2);
}

/* Main Content Area */
.visual-main {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 255, 65, 0.2) transparent;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
  display: block;
}

.visual-main::-webkit-scrollbar {
  width: 8px;
}

.visual-main::-webkit-scrollbar-track {
  background: transparent;
}

.visual-main::-webkit-scrollbar-thumb {
  background: rgba(0, 255, 65, 0.2);
  border-radius: 4px;
}

.visual-main::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 255, 65, 0.4);
}

.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  width: 100%;
  display: block;
  position: relative;
}

.content-section {
  display: none;
  opacity: 0;
  width: 100%;
}

.content-section.active {
  display: block;
  opacity: 1;
  animation: fadeIn 0.5s ease-in-out;
}

/* Section Styling - Better Contrast */
.content-section h1 {
  font-size: 2.3rem;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  margin-top: 0;
  text-shadow: 0 0 15px rgba(0, 255, 65, 0.2);
  letter-spacing: 1px;
  border-bottom: 2px solid rgba(0, 255, 65, 0.2);
  padding-bottom: 1rem;
  font-weight: 700;
}

.content-section h2 {
  color: var(--accent-alt);
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1.2rem;
  text-shadow: 0 0 8px rgba(255, 165, 0, 0.15);
  font-weight: 700;
}

.content-section h3 {
  color: var(--accent-alt);
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.content-section p {
  color: var(--text-primary);
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 1.2rem;
}

.content-section ul {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0;
}

.content-section ul li {
  padding: 0.6rem 0;
  padding-left: 2rem;
  position: relative;
  color: var(--text-primary);
  line-height: 1.6;
}

.content-section ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
  text-shadow: 0 0 5px rgba(0, 255, 65, 0.3);
}

/* Footer - Improved Design */
.visual-footer {
  background: rgba(0, 0, 0, 0.7);
  border-top: 1px solid rgba(0, 255, 65, 0.1);
  padding: 1.5rem 2rem;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.visual-footer p {
  margin: 0;
  letter-spacing: 0.5px;
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 1rem;
  }

  .header-nav {
    order: 3;
    width: 100%;
  }

  .nav-tab {
    flex: 1;
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
  }

  .nav-tab .tab-label {
    display: none;
  }

  .content-wrapper {
    padding: 2rem 1rem;
  }

  .content-section h1 {
    font-size: 1.8rem;
  }

  .visual-nav {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
  }

  .nav-link {
    width: 100%;
    text-align: left;
  }
}
/**
 * components.css
 * Component Styles - About, Projects, Skills, Experience, Contact
 */

/* ============================================================================
   CONTENT SECTIONS - Modern Glassmorphic Cards
   ============================================================================ */

.about-section,
.projects-section,
.skills-section,
.experience-section,
.contact-section {
  max-width: 1000px;
  margin: 0 auto;
  animation: fadeIn 0.6s ease;
}

.about-section h1,
.projects-section h1,
.skills-section h1,
.experience-section h1,
.contact-section h1 {
  color: var(--accent-color);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
  text-shadow: 0 0 20px var(--accent-glow);
  letter-spacing: 2px;
}

.about-section h3,
.projects-section h3,
.skills-section h3,
.experience-section h3,
.contact-section h3 {
  color: var(--accent-color);
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
  text-shadow: 0 0 10px var(--accent-glow);
  font-family: var(--font-mono);
}

.about-section p,
.projects-section p,
.experience-section p,
.contact-section p {
  color: var(--text-primary);
  line-height: 1.8;
  margin: 0.8rem 0;
}

.about-section ul,
.contact-section ul {
  list-style: none;
  padding: 0;
}

.about-section li,
.contact-section li {
  padding: 0.6rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-primary);
}

.about-section li::before,
.contact-section li::before {
  content: '▶';
  position: absolute;
  left: 0;
  color: var(--accent-color);
  text-shadow: 0 0 5px var(--accent-glow);
}

/* ============================================================================
   PROJECTS GRID - Modern Cards
   ============================================================================ */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.project-card {
  background: var(--glass-bg);
  border: 2px solid var(--accent-color);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 65, 0.1), transparent);
  transition: left 0.5s;
}

.project-card:hover::before {
  left: 100%;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 
    0 0 40px var(--accent-glow),
    0 10px 40px rgba(0, 0, 0, 0.5);
  border-color: var(--accent-color);
}

.project-card h3 {
  color: var(--accent-color);
  margin-top: 0;
  font-size: 1.4rem;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.tag {
  background: rgba(0, 255, 65, 0.1);
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-family: var(--font-mono);
  transition: all 0.3s;
}

.tag:hover {
  background: var(--accent-color);
  color: var(--primary-color);
  box-shadow: 0 0 15px var(--accent-glow);
  transform: translateY(-2px);
}

.project-link {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--font-mono);
}

.project-link:hover {
  color: var(--accent-color);
  text-shadow: 0 0 10px var(--accent-glow);
  transform: translateX(5px);
}

/* ============================================================================
   SKILLS GRID - Glassmorphic Cards
   ============================================================================ */

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.skill-category {
  background: var(--glass-bg);
  border: 2px solid var(--accent-color);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.skill-category::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 255, 65, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}

.skill-category:hover::after {
  opacity: 1;
}

.skill-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 30px var(--accent-glow);
}

.skill-category h3 {
  color: var(--accent-color);
  margin-top: 0;
  font-size: 1.3rem;
}

.skill-category ul {
  list-style: none;
  padding: 0;
}

.skill-category li {
  padding: 0.6rem 0;
  color: var(--text-primary);
  padding-left: 1.5rem;
  position: relative;
  transition: all 0.3s;
}

.skill-category li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-color);
  text-shadow: 0 0 5px var(--accent-glow);
  transition: all 0.3s;
}

.skill-category li:hover {
  color: var(--accent-color);
  text-shadow: 0 0 5px var(--accent-glow);
  padding-left: 2rem;
}

.skill-category li:hover::before {
  left: 0.5rem;
}

/* ============================================================================
   TIMELINE - Modern Design
   ============================================================================ */

.timeline {
  margin-top: 2rem;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-color), transparent);
  box-shadow: 0 0 10px var(--accent-glow);
}

.timeline-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-marker {
  width: 18px;
  height: 18px;
  background: var(--accent-color);
  border-radius: 50%;
  margin-top: 0.5rem;
  flex-shrink: 0;
  box-shadow: 0 0 20px var(--accent-glow);
  z-index: 1;
  position: relative;
  animation: pulse 2s infinite;
}

.timeline-content {
  flex: 1;
  background: var(--glass-bg);
  border: 2px solid var(--accent-color);
  border-radius: 12px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
}

.timeline-content:hover {
  transform: translateX(10px);
  box-shadow: 0 0 25px var(--accent-glow);
}

.timeline-content h3 {
  margin-top: 0;
  color: var(--accent-color);
  font-size: 1.4rem;
}

.timeline-content .company {
  color: var(--accent-alt);
  font-weight: 600;
  margin: 0.3rem 0;
  text-shadow: 0 0 5px rgba(255, 165, 0, 0.5);
}

.timeline-content .period {
  color: var(--text-secondary);
  font-style: italic;
  margin: 0.3rem 0;
  font-family: var(--font-mono);
}

.achievements {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0;
}

.achievements li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-primary);
}

.achievements li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  text-shadow: 0 0 5px rgba(0, 255, 65, 0.5);
  font-weight: bold;
}

/* ============================================================================
   CONTACT METHODS - Modern Cards
   ============================================================================ */

.contact-methods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.contact-item {
  background: var(--glass-bg);
  border: 2px solid var(--accent-color);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
  min-width: 0;
}

.contact-item::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 255, 65, 0.2) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.contact-item:hover::before {
  width: 300px;
  height: 300px;
}

.contact-item:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 0 40px var(--accent-glow);
}

.contact-item h3 {
  margin-top: 0;
  position: relative;
  z-index: 1;
}

.contact-item a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: var(--font-mono);
  position: relative;
  z-index: 1;
  word-wrap: break-word;
  overflow-wrap: break-word;
  display: inline-block;
  max-width: 100%;
}

.contact-item a:hover {
  text-shadow: 0 0 15px var(--accent-glow);
}

/* Resume Download Button Styling */
.contact-item.resume-download {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.contact-item.resume-download .btn {
  margin: 0;
  z-index: 1;
  position: relative;
}

.contact-item.resume-download h3 {
  font-size: 1.5rem;
}

/* Responsive Contact Grid */
@media (max-width: 768px) {
  .contact-methods {
    grid-template-columns: 1fr;
  }
}

/* Contact Form - Calm Design */

.contact-form {
  background: rgba(10, 10, 10, 0.6);
  border: 1px solid rgba(0, 255, 65, 0.2);
  border-radius: 12px;
  padding: 2.5rem;
  margin-top: 2rem;
  backdrop-filter: blur(5px);
  box-shadow: none;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--accent-color);
  font-weight: 600;
  font-family: var(--font-sans);
  text-shadow: none;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(0, 255, 65, 0.15);
  color: var(--text-primary);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  box-shadow: 0 0 8px rgba(0, 255, 65, 0.15);
  border-color: rgba(0, 255, 65, 0.3);
  background: rgba(0, 0, 0, 0.6);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-secondary);
  opacity: 0.5;
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */

@media (max-width: 768px) {
  .projects-grid,
  .skills-grid,
  .contact-methods {
    grid-template-columns: 1fr;
  }

  .about-section h1,
  .projects-section h1,
  .skills-section h1,
  .experience-section h1,
  .contact-section h1 {
    font-size: 1.8rem;
  }
}
/**
 * animations.css
 * All Keyframe Animations and Transitions
 */

/* ============================================================================
   KEYFRAME ANIMATIONS
   ============================================================================ */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glitch {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-3px);
  }
  50% {
    transform: translateX(3px);
  }
  75% {
    transform: translateX(-2px);
  }
}

@keyframes blink {
  0%, 49% {
    opacity: 1;
  }
  50%, 100% {
    opacity: 0;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rotate {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(360deg);
  }
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 20px var(--accent-glow);
  }
  50% {
    box-shadow: 0 0 30px var(--accent-glow),
                0 0 40px var(--accent-glow);
  }
}
