@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Noto+Sans+KR:wght@300;400;500;700&display=swap');

:root {
  /* Color System */
  --bg-primary: hsl(224, 71%, 4%);
  --bg-secondary: hsl(224, 64%, 7%);
  --bg-card: rgba(15, 23, 42, 0.65);
  --bg-card-hover: rgba(30, 41, 59, 0.8);
  --border-color: rgba(255, 255, 255, 0.06);
  --border-color-hover: rgba(59, 130, 246, 0.3);
  
  --text-primary: hsl(210, 40%, 98%);
  --text-secondary: hsl(215, 20%, 68%);
  --text-muted: hsl(215, 15%, 48%);
  
  --accent: hsl(217, 91%, 56%);
  --accent-hover: hsl(217, 91%, 66%);
  --accent-rgb: 59, 130, 246;
  --accent-gradient: linear-gradient(135deg, hsl(217, 91%, 56%), hsl(224, 76%, 40%));
  
  --danger: hsl(0, 84%, 60%);
  --success: hsl(142, 72%, 29%);

  /* Typography */
  --font-family: 'Inter', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Layout */
  --container-max-width: 1200px;
  --header-height-large: 90px;
  --header-height-small: 64px;

  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button, input, textarea, select {
  font-family: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

/* Common Layout Components */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
}

/* Headers & Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
}

.text-gradient {
  background: linear-gradient(to right, #ffffff, hsl(215, 20%, 75%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Button & UI elements */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: var(--accent-gradient);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(var(--accent-rgb), 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(var(--accent-rgb), 0.4);
  background: var(--accent-hover);
}

.btn-secondary {
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Navigation Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height-large);
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  background-color: rgba(4, 7, 17, 0.6);
  backdrop-filter: blur(12px);
}

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

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
}

nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}

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

.header-cta {
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
}

.header-cta:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* Shrinking Header - Native Scroll-driven Animation & JS Fallback */
@keyframes shrink-header {
  to {
    height: var(--header-height-small);
    background-color: rgba(4, 7, 17, 0.9);
    border-color: rgba(255, 255, 255, 0.1);
  }
}

@supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
  header {
    animation: shrink-header auto linear both;
    animation-timeline: scroll(block root);
    animation-range: 0px 120px;
  }
}

/* Fallback class added via JS when scroll-driven timeline is not supported */
header.header-shrunk {
  height: var(--header-height-small);
  background-color: rgba(4, 7, 17, 0.9);
  border-color: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero-sec {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height-large);
  overflow: hidden;
  background-color: var(--bg-primary);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-image: linear-gradient(to bottom, rgba(4, 7, 17, 0.4) 0%, var(--bg-primary) 95%), url('images/hero_background.png');
  background-size: cover;
  background-position: center;
  opacity: 0.65;
}

.hero-sec .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  max-width: 680px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: var(--accent);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.25;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-content p {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text-secondary);
  margin-bottom: 40px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

.hero-stats {
  display: flex;
  gap: 45px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
  width: 100%;
  justify-content: space-between;
}

.stat-item {
  flex: 1;
  text-align: left;
}

.stat-item h3 {
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.stat-item p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .hero-sec .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    margin: 0 auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
}

/* Common Section Headers */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

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

/* Risks Section */
.risks-sec {
  background-color: var(--bg-secondary);
}

.risks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 24px;
}

.risk-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 32px 28px;
  border-radius: 12px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.risk-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--danger);
  transition: var(--transition-smooth);
}

.risk-card:hover {
  transform: translateY(-6px);
  border-color: rgba(239, 68, 68, 0.2);
  background: var(--bg-card-hover);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.risk-card:hover::before {
  height: 100%;
}

.risk-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--danger);
  margin-bottom: 24px;
  font-size: 1.3rem;
  font-weight: bold;
}

.risk-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.risk-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Consulting Area Section */
.consulting-sec {
  background-color: var(--bg-primary);
}

.consulting-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

@media (max-width: 768px) {
  .consulting-grid {
    grid-template-columns: 1fr;
  }
}

.consulting-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.01);
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.consulting-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
}

.consulting-body h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.consulting-body p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Service Card Section */
.services-sec {
  background-color: var(--bg-secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 40px 32px;
  border-radius: 16px;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-color-hover);
  background: var(--bg-card-hover);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.service-header {
  margin-bottom: 24px;
}

.service-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: inline-block;
}

.service-card h3 {
  font-size: 1.3rem;
  color: var(--text-primary);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-list {
  list-style: none;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  margin-bottom: 24px;
}

.service-list li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
}

.service-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* Deliverables Section */
.deliverables-sec {
  background-color: var(--bg-primary);
}

.deliverables-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 992px) {
  .deliverables-container {
    grid-template-columns: 1fr;
  }
}

.deliverables-image {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.deliverables-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 600px) {
  .deliverables-list {
    grid-template-columns: 1fr;
  }
}

.deliverable-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: 12px;
  transition: var(--transition-fast);
}

.deliverable-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.02);
}

.deliverable-card h4 {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.deliverable-card h4::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.deliverable-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Process Section */
.process-sec {
  background-color: var(--bg-secondary);
}

.process-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--border-color);
  transform: translateX(-50%);
}

@media (max-width: 768px) {
  .process-timeline::before {
    left: 30px;
  }
}

.process-step {
  position: relative;
  margin-bottom: 60px;
  width: 50%;
  padding: 0 40px;
}

.process-step:nth-child(odd) {
  left: 0;
  text-align: right;
}

.process-step:nth-child(even) {
  left: 50%;
  text-align: left;
}

@media (max-width: 768px) {
  .process-step {
    width: 100%;
    left: 0 !important;
    padding-left: 70px;
    padding-right: 20px;
    text-align: left !important;
  }
}

.process-badge {
  position: absolute;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text-primary);
  z-index: 10;
}

.process-step:nth-child(odd) .process-badge {
  right: -20px;
}

.process-step:nth-child(even) .process-badge {
  left: -20px;
}

@media (max-width: 768px) {
  .process-badge {
    left: 10px !important;
    right: auto !important;
  }
}

.process-step h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.process-step p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Brands Section */
.brands-sec {
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 768px) {
  .brands-grid {
    grid-template-columns: 1fr;
  }
}

.brand-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 40px 32px;
  border-radius: 12px;
  transition: var(--transition-smooth);
}

.brand-card:hover {
  transform: scale(1.02);
  border-color: rgba(255, 255, 255, 0.15);
}

.brand-logo {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-logo span {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}

.brand-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* FAQ Section */
.faq-sec {
  background-color: var(--bg-secondary);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 24px 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  width: 100%;
  text-align: left;
}

.faq-question h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.faq-answer p {
  padding-top: 16px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* FAQ Active state */
.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

/* Contact CTA Section */
.contact-sec {
  background-color: var(--bg-primary);
  position: relative;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

@media (max-width: 992px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.contact-info h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.contact-info p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 40px;
}

.contact-channels {
  display: grid;
  gap: 24px;
}

.channel-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

.channel-icon {
  font-size: 1.5rem;
  color: var(--accent);
}

.channel-body h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.channel-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Contact Form */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 48px;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

@media (max-width: 576px) {
  .contact-form {
    padding: 30px 20px;
  }
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 12px 16px;
  border-radius: 6px;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.15);
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 10px;
}

@media (max-width: 576px) {
  .checkbox-group {
    grid-template-columns: 1fr;
  }
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.checkbox-label input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

.privacy-notice {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 16px;
}

.btn-submit {
  width: 100%;
  margin-top: 16px;
}

/* Legal Notice */
.legal-notice-sec {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 40px 0;
}

.legal-notice-box {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: 8px;
}

.legal-notice-box h3 {
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.legal-notice-box ul {
  list-style: none;
}

.legal-notice-box li {
  font-size: 0.8rem;
  color: var(--text-muted);
  position: relative;
  padding-left: 14px;
  margin-bottom: 6px;
}

.legal-notice-box li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

/* Footer */
footer {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

.footer-info h4 {
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.footer-info p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 8px;
}

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

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 576px) {
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.social-links a:hover {
  color: var(--accent);
}

/* Subpage Layouts & Elements */
.subpage-hero {
  position: relative;
  padding: 140px 0 60px;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  text-align: left;
}

.subpage-hero h1 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-top: 16px;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.subpage-hero p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 800px;
  line-height: 1.7;
}

/* Breadcrumbs */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  list-style: none;
  margin-bottom: 8px;
}

.breadcrumb li a {
  color: var(--text-muted);
}

.breadcrumb li a:hover {
  color: var(--text-primary);
}

.breadcrumb li::after {
  content: '/';
  margin-left: 8px;
}

.breadcrumb li:last-child::after {
  content: '';
}

.breadcrumb li:last-child {
  color: var(--text-secondary);
  font-weight: 500;
}

/* Subpage Detail Body */
.subpage-body {
  background-color: var(--bg-primary);
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 48px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

@media (max-width: 576px) {
  .detail-card {
    padding: 30px 20px;
  }
}

.detail-card h3 {
  font-size: 1.4rem;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
  color: var(--text-primary);
}

.detail-item-list {
  list-style: none;
}

.detail-item-list li {
  margin-bottom: 32px;
  padding-left: 32px;
  position: relative;
}

.detail-item-list li:last-child {
  margin-bottom: 0;
}

.detail-item-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--accent);
  font-weight: bold;
  font-size: 1.15rem;
}

.detail-item-list h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.detail-item-list p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.btn-back-container {
  margin-top: 40px;
  display: flex;
  justify-content: flex-start;
  gap: 16px;
}

/* ==========================================================================
   Mobile Responsive Custom Style Optimization (Antigravity Reorganization)
   ========================================================================== */

/* Utility helper classes */
.mobile-only {
  display: none !important;
}

/* Tablet (1024px and below) */
@media (max-width: 1024px) {
  .detail-layout {
    grid-template-columns: 1fr;
  }
  #main-header nav ul {
    flex-wrap: nowrap !important;
    gap: 16px !important;
  }
  #main-header nav ul li a {
    white-space: nowrap !important;
    font-size: 0.88rem !important;
  }
  #main-header .header-cta {
    white-space: nowrap !important;
    padding: 8px 16px !important;
  }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
  .pc-only {
    display: none !important;
  }
  .mobile-only {
    display: block !important;
  }
  span.mobile-only {
    display: inline !important;
  }
  p.mobile-only {
    display: block !important;
  }

  /* Hamburger Menu Toggle Button */
  .mobile-menu-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    margin-left: 16px;
  }
  .mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
  }
  #main-header.menu-open .mobile-menu-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  #main-header.menu-open .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
  }
  #main-header.menu-open .mobile-menu-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Mobile Header Overlay Navigation */
  #main-header {
    height: 64px !important;
    padding: 0 18px !important; /* 요구사항: padding 18px 전후 */
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #0f172a !important; /* 불투명 배경 적용 */
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
  }
  #main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 !important;
    max-width: 100% !important;
  }
  #main-header .logo {
    white-space: nowrap;
    font-size: 1.1rem !important; /* 요구사항 */
  }
  #main-header nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: #0f172a; /* 불투명 배경 적용 */
    border-top: 1px solid var(--border-color);
    padding: 16px 0;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
  }
  #main-header.menu-open nav {
    display: block !important;
  }
  #main-header nav ul {
    flex-direction: column;
    gap: 0 !important;
    padding: 0;
    margin: 0;
  }
  #main-header nav ul li {
    width: 100%;
    text-align: center;
  }
  #main-header nav ul li a {
    display: block;
    padding: 16px 0;
    width: 100%;
    font-size: 1.05rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
    min-height: 48px; /* 터치 영역 */
  }
  #main-header nav ul li:last-child a {
    border-bottom: none;
  }
  #main-header .header-cta {
    display: none !important; /* 모바일 헤더에서 상담 CTA 제거 */
  }

  /* Hero Section Mobile Optimization */
  .hero-sec {
    min-height: 580px !important; /* 요구사항: 권장 min-height 560px~640px */
    height: auto !important;
    padding: 96px 20px 52px !important; /* 요구사항: top 96px, bottom 52px 전후 */
    background-position: center !important;
    background-size: cover !important;
    position: relative;
    display: flex !important;
    align-items: center !important;
  }
  .hero-sec::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75) !important; /* 어두운 오버레이 강화 */
    z-index: 1;
  }
  .hero-sec .container {
    position: relative;
    z-index: 2;
    padding: 0 !important;
    display: block !important;
  }
  .hero-sec h1 {
    font-size: clamp(2rem, 8vw, 3rem) !important; /* 요구사항: clamp(2rem, 8vw, 3rem) */
    line-height: 1.18 !important; /* 요구사항: line-height 1.18 전후 */
    margin-bottom: 16px !important;
    word-break: keep-all !important;
    letter-spacing: -0.02em !important;
  }
  .hero-sec p {
    font-size: 0.98rem !important; /* 요구사항: 0.95rem~1rem */
    line-height: 1.6 !important; /* 요구사항: 1.55~1.65 */
    margin-top: 18px !important;
    margin-bottom: 28px !important;
    word-break: keep-all !important;
    color: var(--text-secondary);
  }
  .hero-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    margin-top: 28px !important;
  }
  .hero-actions .btn {
    width: 100% !important;
    min-height: 48px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1rem !important;
    border-radius: 8px !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
  }
  .hero-actions .btn-secondary {
    order: 1 !important;
    background: rgba(59, 130, 246, 0.15) !important;
    color: #e0f2fe !important;
    border: 1px solid rgba(59, 130, 246, 0.3) !important;
  }
  .hero-actions .btn-primary {
    order: 2 !important;
    background: rgba(59, 130, 246, 0.3) !important;
    color: #ffffff !important;
    border: 1px solid rgba(59, 130, 246, 0.55) !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15) !important;
  }
  .hero-stats,
  .hero-visual {
    display: none !important;
  }

  /* 모바일 요약 카드 스타일 */
  .mobile-stats-sec {
    padding: 56px 20px !important;
  }
  .mobile-stats-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important; /* 요구사항: gap 16px 이상 */
  }
  .mobile-stat-card {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    padding: 24px 20px !important; /* 요구사항: padding 20px 이상 */
    border-radius: 12px !important;
  }
  .mobile-stat-card h3 {
    font-size: 1.1rem !important;
    color: var(--text-primary) !important;
    margin-bottom: 8px !important;
    font-weight: 700 !important;
  }
  .mobile-stat-card p {
    font-size: 0.88rem !important;
    color: var(--text-secondary) !important;
    line-height: 1.6 !important; /* 요구사항: line-height 1.5 이상 */
  }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
  .hero-sec {
    padding: 88px 18px 48px !important; /* 요구사항: 패딩 좌우 18px 전후 */
    min-height: 560px !important; /* 요구사항: min-height 560px */
  }
  .hero-sec h1 {
    font-size: 1.95rem !important; /* 요구사항: 1.85rem~2.1rem */
    line-height: 1.2 !important;
  }
  .hero-sec p {
    font-size: 0.94rem !important;
  }
  .hero-badge {
    font-size: 0.72rem !important; /* 요구사항: 작게 표시 */
    margin-bottom: 14px !important;
  }
}

