/* ==========================================
   KOREAN TECH PLATFORM - NEO-BRUTALISM LIGHT
   CSS Variables & Core System
========================================== */
:root {
  /* Core Brand Colors */
  --primary: #1e3a8a;
  --primary-light: #3b82f6;
  --primary-dark: #1e40af;
  --secondary: #06b6d4;
  --secondary-light: #22d3ee;
  --secondary-dark: #0891b2;
  
  /* Backgrounds */
  --bg-main: #0f172a;
  --bg-section-1: #0f172a;
  --bg-section-2: #1e293b;
  --bg-section-3: #334155;
  --bg-footer: #020617;
  --bg-card: #1e293b;
  --bg-card-hover: #334155;
  
  /* Action Colors */
  --button-primary: #0891b2;
  --button-hover: #0ea5e9;
  --button-active: #0369a1;
  --accent: #22d3ee;
  
  /* Text Colors */
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-accent: #22d3ee;
  
  /* Borders & Shadows */
  --border-thick: 2px solid #000000;
  --border-thin: 1px solid #334155;
  --shadow-offset: 4px 4px 0 #000000;
  --shadow-hover: 6px 6px 0 #000000;
  --shadow-inset: inset 4px 4px 0 #000000;
  
  /* Typography Scale */
  --font-primary: 'Inter', 'Noto Sans KR', sans-serif;
  --font-display: 'Orbitron', 'Noto Sans KR', monospace;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Text 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: 3.75rem;
  
  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  
  /* Border Radius */
  --radius-none: 0;
  --radius-sm: 0.125rem;
  --radius-base: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  
  /* Transitions */
  --transition-fast: 0.15s ease-out;
  --transition-base: 0.25s ease-out;
  --transition-slow: 0.5s ease-out;
}

/* ==========================================
   GLOBAL STYLES & RESET
========================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: 1.6;
  background-color: var(--bg-main);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  letter-spacing: -0.01em;
}

/* Korean Text Optimization */
.korean-text {
  font-family: 'Noto Sans KR', sans-serif;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}

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-4);
  color: var(--text-secondary);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--secondary-light);
}

img {
  max-width: 100%;
  height: auto;
}

/* ==========================================
   LAYOUT COMPONENTS
========================================== */

/* Container Override for Full-Width Design */
.container,
.container-fluid {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Section Styling with Distinct Backgrounds */
.section {
  width: 100%;
  min-height: 100vh;
  padding: var(--space-20) 0;
  display: flex;
  align-items: center;
  position: relative;
}

.section-dark { background-color: var(--bg-section-1); }
.section-medium { background-color: var(--bg-section-2); }
.section-light { background-color: var(--bg-section-3); }
.section-alt { background-color: var(--bg-footer); }

.container-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  width: 100%;
}

/* ==========================================
   NEO-BRUTALISM BUTTONS
========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: var(--border-thick);
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  text-decoration: none;
  min-height: 48px;
}

.btn-primary {
  background-color: var(--button-primary);
  color: var(--text-primary);
  border-color: #000000;
  box-shadow: var(--shadow-offset);
}

.btn-primary:hover {
  background-color: var(--button-hover);
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hover);
}

.btn-primary:active {
  transform: translate(2px, 2px);
  box-shadow: var(--shadow-offset);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--bg-main);
  border-color: #000000;
  box-shadow: var(--shadow-offset);
}

.btn-secondary:hover {
  background-color: var(--secondary-light);
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hover);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border-color: var(--text-primary);
  box-shadow: var(--shadow-offset);
}

.btn-outline:hover {
  background-color: var(--text-primary);
  color: var(--bg-main);
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hover);
}

/* ==========================================
   NEO-BRUTALISM CARDS
========================================== */
.card {
  background-color: var(--bg-card);
  border: var(--border-thick);
  border-color: #000000;
  box-shadow: var(--shadow-offset);
  padding: var(--space-6);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translate(-4px, -4px);
  box-shadow: var(--shadow-hover);
  background-color: var(--bg-card-hover);
}

.card-header {
  border-bottom: var(--border-thin);
  padding-bottom: var(--space-4);
  margin-bottom: var(--space-6);
}

.card-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.card-subtitle {
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.card-content {
  color: var(--text-secondary);
  line-height: 1.7;
}

.card-footer {
  border-top: var(--border-thin);
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ==========================================
   HEADER STYLES
========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--bg-main);
  border-bottom: var(--border-thick);
  border-color: #000000;
  backdrop-filter: blur(10px);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-6);
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.logo-icon {
  width: 32px;
  height: 32px;
  background-color: var(--accent);
  border: var(--border-thick);
  border-color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-main);
  font-weight: 700;
  font-size: var(--text-sm);
}

.nav {
  display: flex;
  gap: var(--space-6);
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  font-size: var(--text-sm);
  letter-spacing: 0.05em;
  padding: var(--space-2) var(--space-4);
  border: var(--border-thick);
  border-color: transparent;
  transition: all var(--transition-base);
}

.nav-link:hover {
  color: var(--text-primary);
  background-color: var(--bg-card);
  border-color: #000000;
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-offset);
}

.nav-link.active {
  color: var(--bg-main);
  background-color: var(--accent);
  border-color: #000000;
}

/* ==========================================
   HERO SECTION
========================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--bg-section-1) 0%, var(--bg-section-2) 50%, var(--bg-section-3) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-6);
}

.hero-title {
  font-size: var(--text-6xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-6);
  text-shadow: 2px 2px 0 #000000;
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================
   FORM ELEMENTS
========================================== */
.form-group {
  margin-bottom: var(--space-6);
}

.form-label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background-color: var(--bg-card);
  border: var(--border-thick);
  border-color: #000000;
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: var(--text-base);
  transition: all var(--transition-base);
  min-height: 48px;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  background-color: var(--bg-card-hover);
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-offset);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* ==========================================
   UTILITIES
========================================== */
.text-primary { color: var(--text-primary) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-accent { color: var(--text-accent) !important; }

.bg-primary { background-color: var(--primary) !important; }
.bg-secondary { background-color: var(--secondary) !important; }
.bg-accent { background-color: var(--accent) !important; }

.border-thick { border: var(--border-thick) !important; }
.border-thin { border: var(--border-thin) !important; }

.shadow-offset { box-shadow: var(--shadow-offset) !important; }
.shadow-hover:hover { box-shadow: var(--shadow-hover) !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: var(--space-1) !important; }
.mb-2 { margin-bottom: var(--space-2) !important; }
.mb-3 { margin-bottom: var(--space-3) !important; }
.mb-4 { margin-bottom: var(--space-4) !important; }
.mb-6 { margin-bottom: var(--space-6) !important; }
.mb-8 { margin-bottom: var(--space-8) !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: var(--space-1) !important; }
.mt-2 { margin-top: var(--space-2) !important; }
.mt-3 { margin-top: var(--space-3) !important; }
.mt-4 { margin-top: var(--space-4) !important; }
.mt-6 { margin-top: var(--space-6) !important; }
.mt-8 { margin-top: var(--space-8) !important; }

/* ==========================================
   RESPONSIVE DESIGN
========================================== */
@media (max-width: 1024px) {
  :root {
    --text-6xl: 3rem;
    --text-5xl: 2.5rem;
    --text-4xl: 2rem;
  }
  
  .hero-title {
    font-size: var(--text-5xl);
  }
  
  .nav {
    gap: var(--space-4);
  }
  
  .section {
    padding: var(--space-16) 0;
  }
}

@media (max-width: 768px) {
  :root {
    --text-6xl: 2.5rem;
    --text-5xl: 2rem;
    --text-4xl: 1.75rem;
    --text-3xl: 1.5rem;
  }
  
  .header-content {
    padding: var(--space-3) var(--space-4);
  }
  
  .nav {
    gap: var(--space-2);
  }
  
  .nav-link {
    padding: var(--space-2);
    font-size: var(--text-xs);
  }
  
  .hero-content {
    padding: var(--space-4);
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 280px;
  }
  
  .section {
    padding: var(--space-12) 0;
  }
  
  .container-section {
    padding: 0 var(--space-4);
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: var(--text-lg);
  }
  
  .hero-title {
    font-size: var(--text-4xl);
  }
  
  .hero-subtitle {
    font-size: var(--text-lg);
  }
  
  .card {
    padding: var(--space-4);
  }
  
  .btn {
    padding: var(--space-4);
    font-size: var(--text-xs);
  }
}

/* ==========================================
   ANIMATIONS & INTERACTIONS
========================================== */
@keyframes bounce {
  0%, 20%, 53%, 80%, 100% {
    transform: translate3d(0,0,0);
  }
  40%, 43% {
    transform: translate3d(0, -8px, 0);
  }
  70% {
    transform: translate3d(0, -4px, 0);
  }
  90% {
    transform: translate3d(0, -2px, 0);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: var(--shadow-offset);
  }
  50% {
    box-shadow: var(--shadow-offset), 0 0 20px var(--accent);
  }
}

.animate-bounce {
  animation: bounce 1s infinite;
}

.animate-pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

/* Focus States for Accessibility */
*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Smooth Scrolling for Anchor Links */
html {
  scroll-behavior: smooth;
}

/* Selection Styles */
::selection {
  background-color: var(--accent);
  color: var(--bg-main);
}

::-moz-selection {
  background-color: var(--accent);
  color: var(--bg-main);
}


/* Cookie Banner Additional Styles for Tailwind */
.cookie-banner-hover-effect:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

@media (prefers-reduced-motion: reduce) {
    .cookie-banner-hover-effect:hover {
        transform: none;
    }
}