/* ============================================================
   PSME Industrial - style.css
   Design System: "The Precision Blueprint"
   ============================================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  font-size: 15px;
  color: var(--on-surface);
  line-height: 1.7;
  background-color: var(--surface);
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
}

.section-pad {
  padding: 96px 0;
}

/* ---------- Navigation — Light Glass ---------- */
.main-nav {
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(100, 116, 200, 0.30);
  border-bottom: 2px solid rgba(80, 100, 210, 0.55);
  box-shadow: 0 2px 20px rgba(20, 27, 80, 0.08);
  padding: 0;
  z-index: 1020;
}

.main-nav .container-fluid {
  max-width: 1440px;
  margin: 0 auto;
}

.nav-logo {
  height: 1.8rem;
  width: auto;
}

.main-nav .nav-link {
  color: rgba(20, 30, 60, 0.75);
  font-weight: 500;
  font-size: 14px;
  padding: 4px 16px !important;
  margin: 18px 0;
  position: relative;
  transition: color 0.2s;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.main-nav .nav-link.active {
  color: var(--primary);
  font-weight: 700;
}

.main-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px 2px 0 0;
}

.main-nav .nav-link:hover {
  color: var(--primary);
  font-weight: 700;
}

.main-nav .nav-link:not(.active)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px 2px 0 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}

.main-nav .nav-link:hover::after {
  transform: scaleX(1);
}

.nav-lang {
  color: rgba(20, 30, 60, 0.55) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  padding: 22px 12px !important;
  letter-spacing: 0.03em;
}

.nav-lang:hover {
  color: var(--primary) !important;
  font-weight: 500 !important;
}

.nav-lang:hover::after {
  display: none !important;
}

/* 견적 요청 버튼 — outline CTA */
.btn-nav-quote {
  background: var(--primary);
  color: var(--white) !important;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 22px !important;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.btn-nav-quote:hover {
  background: var(--primary);
  color: var(--on-primary) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 51, 103, 0.25);
  font-weight: 600 !important;
}

/* ---------- Hero Section ---------- */
.hero-section {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0, 15, 35, 0.93) 0%,
    rgba(0, 20, 48, 0.85) 40%,
    rgba(5, 25, 55, 0.60) 70%,
    rgba(8, 28, 58, 0.28) 100%
  );
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  padding: 100px 12px;
}

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

.hero-eyebrow {
  color: rgba(160, 200, 255, 0.75);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  color: var(--white);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  word-break: keep-all;
}

.hero-title-accent {
  color: #7ab8ff;
}

.hero-desc {
  color: rgba(200, 220, 255, 0.72);
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 36px;
  word-break: keep-all;
}

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

/* Primary CTA — gradient "polished steel" */
.btn-hero-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
  color: var(--on-primary);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  border: none;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
  letter-spacing: 0.01em;
}

.btn-hero-primary:hover {
  opacity: 0.88;
  color: var(--on-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 51, 103, 0.45);
}

/* Tertiary — ghost style */
.btn-hero-outline {
  background-color: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255, 255, 255, 0.30);
  transition: background-color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn-hero-outline:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.60);
  color: var(--white);
  transform: translateY(-2px);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll-indicator span {
  display: block;
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.55), transparent);
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 0.8; transform: scaleY(1.1); }
}

/* ---------- Section Common ---------- */
.section-eyebrow {
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-eyebrow.light {
  color: rgba(140, 190, 255, 0.75);
}

.section-title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--on-surface);
  margin-bottom: 18px;
  word-break: keep-all;
}

.section-title.light {
  color: var(--white);
}

.section-desc {
  color: var(--on-surface-variant);
  font-size: 15px;
  line-height: 1.8;
  word-break: keep-all;
}

.section-desc.light {
  color: rgba(180, 210, 255, 0.72);
}

/* ---------- Turnkey Section — surface-container-low layer ---------- */
.turnkey-section {
  background-color: var(--surface-container-low);
}

.anodizing {
  background-color: #003367;
}
.turnkey-layer { height: 230px; overflow: hidden;}
.turnkey-image {object-fit: cover; object-position: top;}
.product-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius-lg);
  transition: background-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.product-item:hover {
  background-color: var(--surface-container-lowest);
  box-shadow: var(--shadow-ambient);
}

.product-icon-wrap {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.product-icon-wrap svg {
  width: 44px;
  height: 44px;
}
.icon-box{width: 60px; height: 60px; display: flex; align-items: center; justify-content: center;}

.product-item-body h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--on-surface);
  margin-bottom: 4px;
}

.product-item-body p {
  font-size: 13px;
  color: var(--on-surface-variant);
  margin: 0;
  line-height: 1.6;
}

/* Feature cards — surface-container-lowest = max lift */
.feature-card-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  line-height: 0;
}

.feature-card-img {
  width: 100%;
  aspect-ratio: 16/6;
  overflow: hidden;
}

.feature-card-img svg {
  width: 100%;
  height: 100%;
  display: block;
}

.feature-card-small {
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

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

.feature-card-small.blue-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
  color: var(--on-primary);
}

.feature-card-small.blue-card h6 {
  color: var(--on-primary);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
}

.feature-card-small.blue-card p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  margin: 0;
  line-height: 1.6;
}

/* light-card: surface-container-lowest on surface-container-low = natural lift, no border */
.feature-card-small.light-card {
  background-color: var(--surface-container-lowest);
  box-shadow: var(--shadow-sm);
  /* No border — "No-Line" rule */
}

.feature-card-small.light-card h6 {
  color: var(--on-surface);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
}

.feature-card-small.light-card p {
  color: var(--on-surface-variant);
  font-size: 13px;
  margin: 0;
  line-height: 1.6;
}

.feature-card-arrow {
  position: absolute;
  bottom: 16px;
  right: 20px;
  font-size: 16px;
  font-weight: 300;
  opacity: 0.45;
  transition: opacity 0.2s, transform 0.2s;
}

.feature-card-small:hover .feature-card-arrow {
  opacity: 1;
  transform: translateX(4px);
}

/* ---------- Stats Section — dark navy layer ---------- */
.stats-section {
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.stat-card {
  background-color: rgba(255, 255, 255, 0.05);
  /* Ghost border fallback at 15% opacity for accessibility */
  border: 1px solid var(--outline-variant);
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
  position: relative;
  z-index: 1;
}

.stat-card:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(120, 180, 255, 0.22);
  transform: translateY(-3px);
}

.stat-number {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.stat-unit {
  font-size: 0.45em;
  font-weight: 500;
  color: var(--text-dark);
  margin-left: 2px;
  vertical-align: middle;
}

.stat-divider {
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-container), transparent);
  margin-bottom: 12px;
  border-radius: 2px;
}

.stat-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

.stat-desc {
  font-size: 12px;
  color: var(--text-dark);
  line-height: 1.6;
  word-break: keep-all;
}

/* ---------- Global Presence — surface layer ---------- */
/* Background shift from stats (dark) → surface creates clean architectural break */
.global-section {
  background-color: var(--surface);
}

/* Cards: surface-container-lowest on surface = natural lift, no border needed */
.global-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  /* No 1px border — "No-Line" rule; lift defined by shadow */
  transition: box-shadow 0.25s, transform 0.25s;
  background-color: var(--surface-container-lowest);
}

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

.global-card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.global-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.global-card:hover .global-card-img {
  transform: scale(1.04);
}

.global-card-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: var(--white);
  color: var(--on-dark-surface);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}

.global-card-body {
  padding: 22px;
}

.global-card-body h5 {
  font-size: 16px;
  font-weight: 700;
  color: var(--on-surface);
  margin-bottom: 8px;
}

.global-card-body p {
  font-size: 13px;
  color: var(--on-surface-variant);
  line-height: 1.7;
  margin-bottom: 14px;
  word-break: keep-all;
}

.global-card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s, color 0.2s;
}

.global-card-link:hover {
  gap: 8px;
  color: var(--primary-container);
}

/* ---------- CTA Section — dark navy ---------- */
.cta-section {
  background-color: var(--primary);
  position: relative;
  overflow: hidden;
}

/* Decorative gear — bottom-right watermark */
.cta-deco-wrap {
  position: absolute;
  right: 0;
  bottom: 0;
  width: wrap-content;
  height: wrap-content;
  pointer-events: none;
  opacity: 0.12;
  z-index: 0;
}


.cta-inner {
  padding: 0;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  word-break: keep-all;
}

.cta-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.85;
  word-break: keep-all;
}

/* White outlined button */
.btn-cta-white {
  background-color: var(--white);
  color: #0b2354;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  border: none;
  transition: background-color 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-cta-white:hover {
  background-color: rgba(255, 255, 255, 0.9);
  color: #0b2354;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Contact card */
.cta-contact-card {
  display: inline-flex;
  align-items: stretch;
  background-color: rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  overflow: hidden;
  width: 510px;
}

.cta-contact-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 28px;
  flex: 1;
}

.cta-contact-divider {
  width: 1px;
  background-color: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.cta-contact-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.cta-contact-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
}

.cta-contact-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Footer ---------- */
.footer {
  background-color: var(--surface-container-low);
}

.footer-top {
  padding: 64px 0 48px;
}

.footer-logo {
  height: 20px;
  width: auto;
}

.footer-brand-desc {
  color: rgba(26, 28, 34, 0.55);
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 0;
  word-break: keep-all;
}

.footer-contact {
  font-size: 12px;
}

.footer-contact p {
  color: rgba(26, 28, 34, 0.60);
  margin-bottom: 5px;
  display: flex;
  gap: 8px;
}

.footer-contact span {
  color: rgba(26, 28, 34, 0.35);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  min-width: 44px;
}

.footer-heading {
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links li a {
  color: rgba(26, 28, 34, 0.52);
  font-size: 13px;
  transition: color 0.2s;
  display: inline-block;
}

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

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(0, 51, 103, 0.12);
}

.footer-copy {
  color: rgba(26, 28, 34, 0.38);
  font-size: 12px;
  margin: 0;
}

.footer-policy-links {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.footer-policy-links a {
  color: rgba(26, 28, 34, 0.42);
  font-size: 12px;
  transition: color 0.2s;
}

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

.footer-policy-links span {
  color: rgba(26, 28, 34, 0.22);
  font-size: 11px;
}

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

/* --- Tablet (≤ 991px) --- */
@media (max-width: 991.98px) {
  .section-pad {
    padding: 64px 0;
  }

  .main-nav .nav-link {
    padding: 12px 4px !important;
    font-size: 15px;
  }

  .main-nav .nav-link::after {
    display: none;
  }

  .btn-nav-quote {
    margin-top: 8px;
    width: 100%;
    text-align: center;
  }

  .hero-section {
    min-height: 560px;
  }

  .hero-container {
    padding: 80px 12px;
  }

  .hero-title {
    font-size: clamp(24px, 4.5vw, 36px);
  }

  .stats-section .section-title,
  .stats-section .section-desc,
  .stats-section .section-eyebrow {
    text-align: center;
  }

  .footer-policy-links {
    margin-top: 8px;
    justify-content: flex-start;
  }
}

/* --- Mobile (≤ 767px) --- */
@media (max-width: 767.98px) {
  .section-pad {
    padding: 52px 0;
  }

  .hero-section {
    min-height: 480px;
  }

  .hero-container {
    padding: 70px 12px 60px;
  }

  .hero-desc br {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .btn-hero-primary,
  .btn-hero-outline {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .product-item {
    padding: 12px;
  }

  .stat-card {
    padding: 20px 16px;
  }

  .stat-number {
    font-size: 30px;
  }

  .global-card-body {
    padding: 16px;
  }

  .btn-cta-white {
    width: 100%;
    justify-content: center;
  }

  .cta-contact-card {
    flex-direction: column;
    width: 100%;
  }

  .cta-contact-divider {
    width: 100%;
    height: 1px;
  }

  .footer-top {
    padding: 44px 0 32px;
  }

  .footer-bottom .row {
    flex-direction: column;
    gap: 8px;
  }

  .footer-policy-links {
    text-align: left;
    justify-content: flex-start;
  }
}

/* --- Small Mobile (≤ 479px) --- */
@media (max-width: 479.98px) {
  .hero-title {
    font-size: 22px;
  }

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

  .cta-title {
    font-size: 20px;
  }

  .stat-number {
    font-size: 26px;
  }
}
