/* =====================================================
   AJIN DESIGN SYSTEM v1.0
   공통 레이아웃 / 섹션 / 카드 / 표 / 푸터 / 반응형
   ===================================================== */

:root {
  --ajin-navy: #0f172a;
  --ajin-blue: #1d4ed8;
  --ajin-blue-dark: #1e40af;
  --ajin-sky: #dbeafe;
  --ajin-text: #0f172a;
  --ajin-muted: #475569;
  --ajin-light: #f8fafc;
  --ajin-border: #e5e7eb;
  --ajin-white: #ffffff;

  --container-lg: 1200px;
  --container-xl: 1280px;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  --shadow-card: 0 14px 32px rgba(15, 23, 42, 0.07);
  --shadow-card-hover: 0 22px 44px rgba(15, 23, 42, 0.11);
}

main {
  min-height: 60vh;
}

a {
  color: inherit;
}

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

/* =====================================================
   CONTAINER SYSTEM
   ===================================================== */

.container,
.content-container,
.product-container,
.banner-content,
.section-container,
.footer-container,
.hero-content,
.product-grid,
.quick-links-container {
  max-width: var(--container-lg);
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
  box-sizing: border-box;
}

@media (min-width: 1400px) {
  .container,
  .content-container,
  .product-container,
  .banner-content,
  .section-container,
  .footer-container,
  .hero-content,
  .product-grid,
  .quick-links-container {
    max-width: var(--container-xl);
  }
}

/* =====================================================
   PAGE BANNER
   ===================================================== */

.page-banner {
  background: linear-gradient(135deg, var(--ajin-navy), var(--ajin-blue-dark));
  color: var(--ajin-white);
  padding: 78px 20px;
  text-align: center;
}

.banner-content {
  max-width: 960px;
}

.page-banner h2 {
  margin: 0;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.25;
}

.page-banner p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
  line-height: 1.75;
}

/* =====================================================
   SECTION SYSTEM
   ===================================================== */

.content-section,
.product-detail-section,
.section {
  padding: 82px 20px;
}

.section.alt,
.content-section.alt,
.product-detail-section.alt {
  background: var(--ajin-light);
}

.section-title {
  text-align: center;
  margin-bottom: 42px;
}

.section-title h2,
.section-title h3 {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  color: var(--ajin-text);
  line-height: 1.35;
}

.section-title p {
  margin: 12px 0 0;
  color: #64748b;
  line-height: 1.7;
}

.lead-text,
.product-intro {
  max-width: 900px;
  margin: 0 auto 46px;
  text-align: center;
}

.lead-text h3,
.product-intro h3 {
  margin: 0 0 20px;
  font-size: 30px;
  line-height: 1.45;
  color: var(--ajin-text);
  font-weight: 800;
}

.lead-text p,
.product-intro p {
  margin: 0 0 13px;
  color: var(--ajin-muted);
  line-height: 1.85;
  font-size: 16px;
}

/* =====================================================
   GRID SYSTEM
   ===================================================== */

.value-grid,
.feature-grid,
.contact-grid,
.grid-2,
.grid-3 {
  display: grid;
  gap: 24px;
}

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

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

/* =====================================================
   CARD SYSTEM
   ===================================================== */

.value-card,
.feature-card,
.contact-card,
.notice-box,
.company-info-box,
.info-box,
.card {
  background: var(--ajin-white);
  border: 1px solid var(--ajin-border);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-card);
}

.card {
  overflow: hidden;
  padding: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.value-icon {
  color: var(--ajin-blue);
  font-weight: 800;
  margin-bottom: 12px;
}

.value-card h4,
.feature-card h4,
.contact-card h3,
.notice-box h4,
.company-info-box h3,
.info-box h4,
.card h3 {
  margin: 0 0 12px;
  color: var(--ajin-text);
  font-weight: 800;
}

.value-card p,
.feature-card p,
.contact-card p,
.notice-box p,
.info-box p,
.card p {
  margin: 0;
  color: var(--ajin-muted);
  line-height: 1.8;
}

/* =====================================================
   BUTTON / LINK
   ===================================================== */

.link,
.info-box a {
  display: inline-block;
  margin-top: 18px;
  color: var(--ajin-blue);
  font-weight: 800;
  text-decoration: none;
}

.link:hover,
.info-box a:hover {
  text-decoration: underline;
}

.btn-common {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
}

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

.btn-outline {
  border: 1px solid var(--ajin-blue);
  color: var(--ajin-blue);
  background: transparent;
}

/* =====================================================
   COMPANY INFO
   ===================================================== */

.contact-main {
  font-size: 22px;
  font-weight: 800;
  color: var(--ajin-blue) !important;
  margin-bottom: 8px !important;
}

.company-info-box {
  margin-top: 30px;
}

.company-info-box dl {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px 18px;
  margin: 18px 0 0;
}

.company-info-box dt {
  font-weight: 800;
  color: var(--ajin-text);
}

.company-info-box dd {
  margin: 0;
  color: var(--ajin-muted);
}

/* =====================================================
   TABLE SYSTEM
   ===================================================== */

.specs-box {
  margin-top: 38px;
  background: var(--ajin-light);
  border: 1px solid var(--ajin-border);
  border-radius: var(--radius-md);
  padding: 28px;
}

.specs-box h4 {
  margin: 0 0 20px;
  color: var(--ajin-text);
  font-size: 22px;
  font-weight: 800;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

.specs-table,
.board-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--ajin-white);
  min-width: 640px;
}

.specs-table th,
.specs-table td,
.board-table th,
.board-table td {
  border: 1px solid var(--ajin-border);
  padding: 15px;
  text-align: left;
  line-height: 1.65;
}

.specs-table th,
.board-table th {
  background: #f1f5f9;
  color: var(--ajin-text);
  font-weight: 800;
}

/* =====================================================
   FAQ / NOTICE
   ===================================================== */

.text-left {
  text-align: left;
}

.section-divider {
  border: 0;
  border-top: 1px solid var(--ajin-border);
  margin: 52px 0;
}

.faq-list {
  display: grid;
  gap: 18px;
}

.faq-item {
  border: 1px solid var(--ajin-border);
  border-radius: var(--radius-md);
  background: var(--ajin-white);
  overflow: hidden;
}

.faq-question {
  padding: 18px 20px;
  background: var(--ajin-light);
}

.faq-question span {
  color: var(--ajin-blue);
  font-weight: 800;
}

.faq-answer {
  padding: 18px 20px;
}

.faq-answer p {
  margin: 0;
  color: var(--ajin-muted);
  line-height: 1.8;
}

.notice-box ul {
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--ajin-muted);
  line-height: 1.8;
}

/* =====================================================
   FOOTER
   ===================================================== */

.site-footer {
  background: var(--ajin-navy);
  color: var(--ajin-white);
  padding: 56px 20px 24px;
}

.footer-inner {
  max-width: var(--container-lg);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
}

.site-footer h3,
.site-footer h4 {
  margin: 0 0 14px;
  color: var(--ajin-white);
}

.site-footer p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
}

.footer-bottom {
  max-width: var(--container-lg);
  margin: 32px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 1024px) {
  .container,
  .content-container,
  .product-container,
  .banner-content,
  .section-container,
  .footer-container,
  .hero-content,
  .product-grid,
  .quick-links-container {
    padding-left: 28px;
    padding-right: 28px;
  }

  .value-grid,
  .feature-grid,
  .contact-grid,
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .container,
  .content-container,
  .product-container,
  .banner-content,
  .section-container,
  .footer-container,
  .hero-content,
  .product-grid,
  .quick-links-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .page-banner {
    padding: 58px 20px;
  }

  .page-banner h2 {
    font-size: 29px;
  }

  .page-banner p {
    font-size: 16px;
  }

  .content-section,
  .product-detail-section,
  .section {
    padding: 68px 20px;
  }

  .lead-text h3,
  .product-intro h3 {
    font-size: 24px;
  }

  .section-title h2,
  .section-title h3 {
    font-size: 25px;
  }

  .value-grid,
  .feature-grid,
  .contact-grid,
  .grid-2,
  .grid-3,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .company-info-box dl {
    grid-template-columns: 1fr;
  }

  .value-card,
  .feature-card,
  .contact-card,
  .notice-box,
  .company-info-box,
  .info-box {
    padding: 22px;
  }
}