/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* PRD Color Palette */
  --color-primary: #2563EB;
  --color-primary-dark: #1d4ed8;
  --color-primary-light: #dbeafe;
  --color-secondary: #10B981;
  --color-accent: #F59E0B;
  --color-bg: #ffffff;
  --color-surface: #ffffff;
  --color-text: #111827;
  --color-text-muted: #6B7280;
  --color-border: #E5E7EB;

  /* Layout */
  --max-width: 1200px;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);

  /* Typography - Inter */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 18px;
}

body {
  font-family: var(--font);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

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

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

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

.logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

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

.lang-switcher {
  display: flex;
  gap: 4px;
  background: #f9fafb;
  border-radius: 8px;
  padding: 4px;
  border: 1px solid var(--color-border);
}

.lang-btn {
  background: none;
  border: none;
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font);
}

.lang-btn:hover {
  color: var(--color-text);
}

.lang-btn.active {
  background: var(--color-primary);
  color: #fff;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== Hero ===== */
.hero {
  padding: 120px 0 100px;
  text-align: center;
  background: linear-gradient(180deg, var(--color-primary-light) 0%, var(--color-bg) 100%);
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--color-text);
}

.hero h1 em {
  font-style: normal;
  color: var(--color-primary);
}

.hero .tagline {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero .social-proof {
  margin-top: 32px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.hero .social-proof .icon {
  color: var(--color-secondary);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font);
  text-decoration: none;
}

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

.btn-primary:hover {
  background: var(--color-primary-dark);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
}

/* ===== Sections ===== */
section {
  padding: 120px 0;
}

section:nth-child(even) {
  background: #f9fafb;
}

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

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto 56px;
  font-size: 1.1rem;
}

/* ===== Pain Points ===== */
.painpoints-section {
  background: var(--color-surface);
}

.painpoints-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.pain-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}

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

.pain-card .pain-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 16px;
  color: var(--color-primary);
  stroke-width: 1.5;
}

.pain-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.painpoints-cta {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
}

/* ===== Services / Pricing Grid ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card.featured {
  border: 2px solid var(--color-primary);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.service-card.featured .badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: #fff;
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card .price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
  margin: 16px 0 8px;
  letter-spacing: -0.02em;
}

.service-card .price-note {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.service-card .service-intro {
  color: var(--color-text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-card .service-features {
  list-style: none;
  text-align: left;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-card .service-features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
  color: var(--color-text);
  padding-left: 28px;
  position: relative;
}

.service-card .service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-secondary);
  font-weight: 700;
}

.service-card .service-result {
  background: var(--color-primary-light);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 24px;
  text-align: left;
  font-size: 0.95rem;
}

.service-card .service-result strong {
  color: var(--color-text);
  margin-right: 4px;
}

.service-card .service-result span {
  color: var(--color-text-muted);
}

.service-card .price-old {
  font-size: 1rem;
  color: var(--color-text-muted);
  text-decoration: line-through;
  font-weight: 400;
  margin-left: 8px;
}

.service-card .btn {
  width: 100%;
  margin-top: auto;
}

/* ===== How It Works ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.step-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  position: relative;
}

.step-card .step-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  color: var(--color-primary);
  stroke-width: 1.5;
}

.step-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.step-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== About ===== */
.about-section .about-content {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 56px;
  align-items: start;
}

.about-section .about-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
}

.about-section .about-text p {
  color: var(--color-text-muted);
  margin-bottom: 16px;
  line-height: 1.7;
}

.about-section .about-text h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 24px 0 12px;
  color: var(--color-text);
}

.about-section .about-list {
  list-style: none;
  margin-bottom: 16px;
}

.about-section .about-list li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  color: var(--color-text-muted);
}

.about-section .about-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

.about-section .about-list.projects li::before {
  content: "✓";
  color: var(--color-secondary);
}

/* ===== FAQ Section ===== */
.faq-section .faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 32px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  transition: background 0.2s;
}

.faq-question span:first-child {
  flex: 1;
}

.faq-question:hover {
  background: #f9fafb;
}

.faq-question .icon {
  font-size: 1.2rem;
  color: var(--color-primary);
  transition: transform 0.3s;
}

.faq-item.open .faq-question .icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-item.open .faq-answer {
  max-height: 600px;
  padding: 0 32px 24px;
}

.faq-answer p {
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul {
  list-style: none;
  margin: 12px 0;
}

.faq-answer li {
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
  color: var(--color-text-muted);
}

.faq-answer li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-secondary);
  font-weight: 600;
}

.faq-answer li.negative::before {
  content: "✗";
  color: #ef4444;
}

.faq-answer .highlight {
  background: var(--color-primary-light);
  border-radius: 8px;
  padding: 16px;
  margin: 12px 0;
  color: var(--color-text);
  font-weight: 500;
}

/* ===== Contact Section ===== */
.contact-section .contact-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-section .contact-intro {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.contact-section .contact-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-section .contact-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: box-shadow 0.2s, transform 0.2s;
  color: var(--color-text);
}

.contact-section .contact-link:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  text-decoration: none;
}

.contact-section .contact-icon {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
  stroke-width: 1.5;
  flex-shrink: 0;
}

.contact-section .contact-link strong {
  color: var(--color-primary);
}

.contact-section .contact-note {
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.contact-section .contact-tips {
  background: var(--color-primary-light);
  border-radius: var(--radius);
  padding: 32px;
  text-align: left;
}

.contact-section .contact-tips p {
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 16px;
}

.contact-section .contact-tips ul {
  list-style: none;
}

.contact-section .contact-tips li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  color: var(--color-text-muted);
}

.contact-section .contact-tips li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-primary);
}

/* ===== Footer ===== */
.footer {
  background: var(--color-text);
  color: #9ca3af;
  padding: 56px 0 40px;
}

.footer .footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}

.footer .footer-brand .logo {
  color: #fff;
  margin-bottom: 12px;
}

.footer .footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer .footer-links {
  display: flex;
  gap: 28px;
}

.footer .footer-links a {
  color: #9ca3af;
  font-size: 0.9rem;
}

.footer .footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #374151;
  margin-top: 40px;
  padding-top: 28px;
  text-align: center;
  font-size: 0.85rem;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .container {
    padding: 0 40px;
  }

  section {
    padding: 100px 0;
  }

  .painpoints-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  html {
    font-size: 16px;
  }

  .container {
    padding: 0 20px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--color-surface);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding: 80px 0 60px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero .tagline {
    font-size: 1rem;
  }

  section {
    padding: 80px 0;
  }

  .section-title {
    font-size: 28px;
  }

  .painpoints-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 32px 24px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .step-card {
    padding: 32px 24px;
  }

  .about-section .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-section .about-photo {
    margin: 0 auto;
  }

  .about-section .about-list {
    text-align: left;
  }

  .faq-question {
    padding: 20px 24px;
    font-size: 1rem;
  }

  .faq-item.open .faq-answer {
    padding: 0 24px 20px;
  }

  .contact-section .contact-tips {
    padding: 24px;
  }

  .footer .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
  }

  .lang-btn {
    padding: 5px 8px;
    font-size: 0.8rem;
  }
}
