/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #e8e8e8;
  background: #0f0f0f;
  -webkit-font-smoothing: antialiased;
}

/* ===== Typography ===== */
h1, h2, h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; }
.hero-title { font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1.2; letter-spacing: -0.02em; }
.section-title { font-size: clamp(1.75rem, 4vw, 2.5rem); color: #f5f5f5; }
.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #9a9a9a;
  margin-bottom: 0.5rem;
}

/* ===== Layout ===== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 4.5rem 0; }
.section-title { margin-bottom: 2.5rem; }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: padding 0.3s ease;
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.nav {
  display: flex;
  gap: 2rem;
}
.nav a {
  color: #b0b0b0;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav a:hover { color: #fff; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: #b0b0b0;
  transition: background 0.2s ease;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem 4rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(180, 180, 200, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(140, 140, 160, 0.05) 0%, transparent 50%);
  pointer-events: none;
}
.hero-visual {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(201, 169, 98, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 100% 80% at 50% 120%, rgba(201, 169, 98, 0.12) 0%, transparent 50%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  text-align: center;
  max-width: 640px;
}
.hero-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #9a9a9a;
  margin-bottom: 1rem;
}
.hero-title {
  color: #fff;
  margin-bottom: 1.25rem;
}
.hero-title-accent {
  color: #c9a962;
  font-style: italic;
  position: relative;
}
.hero-desc {
  color: #a8a8a8;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  justify-content: center;
  margin-bottom: 2rem;
  padding: 0.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-trust span {
  font-size: 0.9rem;
  color: #b0b0b0;
  font-weight: 500;
}
.hero-trust span::before {
  content: "✓ ";
  color: #c9a962;
  margin-right: 0.25rem;
}
.hero-trust-link {
  font-size: 0.9rem;
  color: #b0b0b0;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}
.hero-trust-link::before {
  content: "✓ ";
  color: #c9a962;
  margin-right: 0.25rem;
}
.hero-trust-link:hover {
  color: #c9a962;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.hero-image-band {
  margin-top: 2.5rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.hero-image-band img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
@media (max-width: 768px) {
  .hero-image-band { margin-top: 1.5rem; max-width: 100%; }
}
.services-cta,
.process-cta {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 0;
}
.services-cta .btn,
.process-cta .btn { margin-top: 0; }
.process-cta {
  color: #a8a8a8;
  font-size: 1rem;
}
.process-cta a {
  color: #c9a962;
  text-decoration: none;
  font-weight: 600;
}
.process-cta a:hover { text-decoration: underline; }
.contact .section-title {
  font-size: clamp(1.35rem, 3.5vw, 2rem);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== SEO 검진 섹션 ===== */
.seo-check { background: #141414; }
.seo-check-visual {
  margin: 1.5rem 0 2rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.seo-check-visual img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.seo-check-desc {
  color: #a8a8a8;
  max-width: 560px;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.seo-check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}
.seo-check-list li {
  padding: 0.6rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: #d0d0d0;
  font-size: 0.95rem;
}
.seo-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #c9a962;
  font-weight: 600;
}
.seo-check-cta { margin: 0; }
.seo-check-cta .btn { margin-top: 0; }

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: #6a6a6a;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, #6a6a6a, transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.6; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.9rem 1.75rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, #c9a962 0%, #a88b4a 100%);
  color: #0f0f0f;
  box-shadow: 0 4px 20px rgba(201, 169, 98, 0.25);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #d4b872 0%, #b89852 100%);
  box-shadow: 0 6px 28px rgba(201, 169, 98, 0.35);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: #c9a962;
  border: 1px solid rgba(201, 169, 98, 0.5);
}
.btn-ghost:hover {
  background: rgba(201, 169, 98, 0.08);
  border-color: #c9a962;
}
.btn-full { width: 100%; text-align: center; }

/* ===== Services ===== */
.services { background: #141414; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}
.service-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.service-card:hover {
  border-color: rgba(201, 169, 98, 0.3);
  transform: translateY(-2px);
}
.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 169, 98, 0.12);
  color: #c9a962;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 10px;
  margin-bottom: 1.25rem;
}
.service-card h3 {
  font-size: 1.35rem;
  color: #f5f5f5;
  margin-bottom: 0.5rem;
}
.service-card p {
  color: #9a9a9a;
  font-size: 0.95rem;
  margin: 0;
}

/* ===== Process ===== */
.process { background: #0f0f0f; }
.process-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.process-list li {
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid #c9a962;
  border-radius: 0 8px 8px 0;
  color: #d0d0d0;
  font-size: 0.95rem;
}
.process-list li strong {
  color: #c9a962;
  margin-right: 0.5rem;
}

/* ===== Silver Graphy Section ===== */
.silver-section {
  background: linear-gradient(180deg, #141414 0%, #1a1a1a 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.silver-desc {
  color: #a8a8a8;
  max-width: 520px;
  margin-bottom: 1.5rem;
}
.silver-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}
.silver-cta small {
  color: #6a6a6a;
  font-size: 0.8rem;
}

/* ===== Contact ===== */
.contact { background: #0f0f0f; }
.contact-form {
  max-width: 480px;
}
.form-row {
  margin-bottom: 1.25rem;
}
.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: #b0b0b0;
  margin-bottom: 0.4rem;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: border-color 0.2s ease;
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: #6a6a6a; }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: rgba(201, 169, 98, 0.5);
}
.form-row select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239a9a9a' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.contact-form .btn-full { margin-top: 0.5rem; }

/* ===== Footer ===== */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #0a0a0a;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-nav {
  display: flex;
  gap: 1.5rem;
}
.footer-nav a {
  color: #6a6a6a;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}
.footer-nav a:hover { color: #b0b0b0; }
.footer-copy {
  color: #5a5a5a;
  font-size: 0.8rem;
  margin: 0;
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #141414; padding: 1rem; gap: 0.75rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .process-list { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}
