:root {
  /* OKLCH Colors for modern, vibrant feel */
  --primary: oklch(65% 0.2 150); /* Vibrant Green */
  --primary-dark: oklch(45% 0.15 150);
  --secondary: oklch(35% 0.05 240); /* Deep Professional Blue/Black */
  --accent: oklch(85% 0.15 90); /* Soft Gold/Glow */
  --text-main: oklch(20% 0.02 0);
  --text-light: oklch(98% 0.01 0);
  --bg-main: oklch(98% 0.01 0);
  --bg-alt: oklch(94% 0.02 150 / 0.1);
  
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --border-radius: 12px;
  --shadow-soft: 0 10px 30px -10px oklch(0% 0 0 / 0.1);
  --shadow-lifted: 0 20px 40px -15px oklch(0% 0 0 / 0.2);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-main);
  overflow-x: hidden;
}

/* Texture overlay for premium feel */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 1000;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(100% 0 0 / 0.8);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid oklch(0% 0 0 / 0.05);
}

.logo {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--secondary);
  text-decoration: none;
  letter-spacing: -1px;
}

.logo span {
  color: var(--primary);
}

nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

nav a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--primary);
}

section {
  padding: var(--spacing-lg) 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Typography Scale */
h1 { font-size: clamp(2.5rem, 8vw, 4.5rem); line-height: 1.1; letter-spacing: -2px; margin-bottom: 1.5rem; }
h2 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.2; margin-bottom: 2rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }

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

/* Components Styling */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1rem 2.5rem;
  border-radius: 100px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  border: none;
}

.btn img {
  width: 24px;
  height: 24px;
}

.btn-kakao {
  background-color: #FEE500;
  color: #000000;
  box-shadow: 0 10px 20px -5px rgba(254, 229, 0, 0.4);
}

.btn-kakao:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -5px rgba(254, 229, 0, 0.5);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-light);
  box-shadow: 0 10px 20px -5px oklch(65% 0.2 150 / 0.4);
}

.btn-lead {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--text-light);
  width: 100%;
  max-width: 500px;
  padding: 1.25rem;
  font-size: 1.2rem;
  box-shadow: 0 15px 35px -10px oklch(65% 0.2 150 / 0.5);
  margin-bottom: 1rem;
  animation: pulse 2s infinite;
  border: 2px solid oklch(100% 0 0 / 0.2);
}

@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 15px 35px -10px oklch(65% 0.2 150 / 0.5); }
  50% { transform: scale(1.02); box-shadow: 0 20px 45px -10px oklch(65% 0.2 150 / 0.7); }
  100% { transform: scale(1); box-shadow: 0 15px 35px -10px oklch(65% 0.2 150 / 0.5); }
}

.btn-lead:hover {
  animation: none;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 25px 50px -12px oklch(65% 0.2 150 / 0.8);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.secondary-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}

.btn-outline {
  background: #fff;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 0.8rem 2rem;
}

.btn-outline:hover {
  background: var(--bg-alt);
}

/* Specific Section Styles */
#hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-badge {
  background: var(--bg-alt);
  color: var(--primary-dark);
  padding: 0.5rem 1.5rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 2rem;
  display: inline-block;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
}

.card {
  background: #fff;
  padding: var(--spacing-md);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lifted);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
}

/* Responsive Utilities */
@container (max-width: 600px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  header { padding: 1rem; }
  nav ul { display: none; } /* Mobile menu simplified for now */
  section { padding: var(--spacing-md) 1rem; }
}
