@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

:root {
  --color-primary: #FF6B35;
  --color-primary-dark: #E5552A;
  --color-accent: #FFB627;
  --color-bg: #FFFFFF;
  --color-text: #1A1A1A;
  --color-text-muted: #6B6B6B;
  --color-border: #E5E5E5;
  --color-surface: #FAFAFA;
  --radius: 12px;
  --max-width: 960px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* Header */
header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.logo:hover {
  text-decoration: none;
}

.logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: block;
}

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

nav {
  display: flex;
  gap: 28px;
}

nav a {
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 500;
}

nav a:hover {
  color: var(--color-text);
  text-decoration: none;
}

/* Hero */
.hero {
  padding: 80px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, #FFF8F3 0%, #FFFFFF 100%);
}

.hero-logo {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  margin: 0 auto 32px;
  display: block;
  box-shadow: 0 20px 60px -20px rgba(255, 107, 53, 0.4),
              0 8px 24px -8px rgba(0, 0, 0, 0.08);
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
}

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

.hero p {
  font-size: 20px;
  color: var(--color-text-muted);
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

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

.btn-primary:hover {
  background: #000;
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background: var(--color-border);
  text-decoration: none;
}

/* Section */
section {
  padding: 80px 0;
}

section.alt {
  background: var(--color-surface);
}

section h2 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  text-align: center;
}

section .lead {
  font-size: 18px;
  color: var(--color-text-muted);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

/* Feature grid */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.feature {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 24px;
}

.feature .icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: block;
}

.feature h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature p {
  font-size: 15px;
  color: var(--color-text-muted);
}

/* Article (legal pages) */
article {
  max-width: 720px;
  margin: 64px auto;
  padding: 0 24px;
}

article h1 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

article .meta {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}

article h2 {
  font-size: 22px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 12px;
}

article h3 {
  font-size: 17px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 8px;
}

article p,
article li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-text);
  margin-bottom: 12px;
}

article ul,
article ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

article li {
  margin-bottom: 6px;
}

article .callout {
  background: #FFF8F3;
  border-left: 4px solid var(--color-primary);
  padding: 16px 20px;
  border-radius: 6px;
  margin: 20px 0;
}

article .callout strong {
  color: var(--color-primary-dark);
}

article table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}

article th,
article td {
  padding: 12px;
  text-align: left;
  border: 1px solid var(--color-border);
}

article th {
  background: var(--color-surface);
  font-weight: 600;
}

/* Contact card */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.contact-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
}

.contact-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.contact-card a {
  font-size: 15px;
  font-weight: 500;
}

/* Footer */
footer {
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 32px;
  font-size: 14px;
}

footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 32px;
}

footer h4 {
  color: white;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

footer a {
  color: rgba(255, 255, 255, 0.7);
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}

footer a:hover {
  color: white;
}

footer .company-info {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
}

footer .bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* Lang toggle */
.lang-section {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 2px solid var(--color-border);
}

.lang-section .lang-label {
  display: inline-block;
  background: var(--color-text);
  color: white;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 56px 0 56px;
  }
  .hero-logo {
    width: 96px;
    height: 96px;
    margin-bottom: 24px;
    border-radius: 22px;
  }
  .hero h1 {
    font-size: 36px;
  }
  .hero p {
    font-size: 17px;
  }
  section {
    padding: 56px 0;
  }
  section h2 {
    font-size: 28px;
  }
  .features {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  nav {
    gap: 16px;
  }
  nav a {
    font-size: 13px;
  }
}
