:root {
  --primary-color: #2563eb;
  --secondary-color: #1e40af;
  --bg-color: #ffffff;
  --text-color: #1f2937;
  --text-muted: #6b7280;
  --card-bg: #ffffff;
  --section-bg-light: #f3f4f6;
  --border-color: #e5e7eb;
  --nav-bg: rgba(255, 255, 255, 0.8);
}

[data-theme='dark'] {
  --bg-color: #111827;
  --text-color: #f9fafb;
  --text-muted: #9ca3af;
  --card-bg: #1f2937;
  --section-bg-light: #1f2937;
  --border-color: #374151;
  --nav-bg: rgba(17, 24, 39, 0.8);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans KR', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  transition: background-color 0.3s, color 0.3s;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--nav-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
}

nav {
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li a {
  text-decoration: none;
  color: var(--text-color);
  margin-left: 2rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.icon-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  margin-left: 2rem;
}

/* Sections */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.bg-light {
  background-color: var(--section-bg-light);
}

/* Hero */
.hero {
  padding: 200px 0 120px;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

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

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s, background-color 0.2s;
  margin: 0 10px;
}

.btn.primary {
  background-color: var(--primary-color);
  color: white;
}

.btn.secondary {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn:hover {
  transform: translateY(-2px);
}

/* Grid & Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  background-color: var(--card-bg);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: box-shadow 0.3s;
}

.card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.card h3 {
  margin-bottom: 1rem;
}

/* Roadmap */
.roadmap {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.step {
  flex: 1;
  min-width: 250px;
  position: relative;
  padding: 30px;
  background: var(--bg-color);
  border-radius: 8px;
}

.step-num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-color);
  opacity: 0.15;
  position: absolute;
  top: 10px;
  right: 20px;
}

/* Form */
.contact-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form {
  background-color: var(--card-bg);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.form-group input, 
.form-group textarea {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  background: var(--bg-color);
  color: var(--text-color);
}

.submit-btn {
  width: 100%;
  padding: 14px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s;
}

/* Disqus */
#disqus_container {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

/* Footer */
footer {
  background-color: var(--section-bg-light);
  padding: 60px 0;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  margin-left: 20px;
}

.copyright {
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero h1 { font-size: 2.5rem; }
  .footer-content { flex-direction: column; gap: 20px; }
}
