/* ============================================================
   portArgus — Landing Page Stylesheet
   Brand tone: Resolute · Heavy · Uncompromising · Precise
   Sentinel Amber (#F0A500) — 5% accent rule strictly applied
   ============================================================ */

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

/* === CUSTOM PROPERTIES === */
:root {
  --clr-bg:           #0A0A0A;
  --clr-bg-2:         #0F0F0F;
  --clr-bg-3:         #141414;
  --clr-surface:      #1A1A1A;
  --clr-border:       #272727;
  --clr-border-mid:   #333333;
  --clr-text:         #EBEBEB;
  --clr-text-muted:   #AAAAAA;
  --clr-text-dim:     #555555;
  --clr-amber:        #F0A500;
  --clr-amber-dim:    rgba(240,165,0,0.10);
  --clr-amber-glow:   rgba(240,165,0,0.05);

  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body:    'Barlow', 'Helvetica Neue', Arial, sans-serif;

  --sp-xs:  0.5rem;
  --sp-sm:  1rem;
  --sp-md:  1.5rem;
  --sp-lg:  2.5rem;
  --sp-xl:  4rem;
  --sp-2xl: 6rem;
  --sp-3xl: 8rem;

  --container: 1200px;
  --nav-h:     70px;
}

/* === BASE === */
html { scroll-behavior: smooth; }

body {
  background-color: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
strong { font-weight: 600; }

/* === LAYOUT UTILITIES === */
.wrap {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-lg);
}

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-amber);
  border: 1px solid var(--clr-amber);
  padding: 0.2rem 0.65rem;
  margin-bottom: var(--sp-md);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-lg);
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.8rem 2rem;
  border: 2px solid transparent;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-amber {
  background-color: var(--clr-amber);
  color: #000;
  border-color: var(--clr-amber);
  font-size: 1.1rem;
}
.btn-amber:hover {
  background-color: transparent;
  color: var(--clr-amber);
}

.btn-ghost {
  background-color: transparent;
  color: var(--clr-text);
  border-color: var(--clr-border-mid);
}
.btn-ghost:hover {
  border-color: var(--clr-text);
}

.btn-lg { padding: 1rem 2.75rem; font-size: 1.1rem; }

/* === LOGO COLOR === */
.logo-white {
  filter: brightness(0) invert(1);
}

/* === NAVIGATION === */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--nav-h);
  background-color: rgba(10,10,10,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--clr-border);
}

.nav-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-lg);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 29px;
  width: auto;
}

/* === HERO === */
.hero {
  position: relative;
  background-color: var(--clr-bg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Subtle amber grid watermark */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(240,165,0,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240,165,0,0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
}

.hero-body {
  max-width: var(--container);
  margin-inline: auto;
  padding: var(--sp-3xl) var(--sp-lg) 2rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-brand-logo {
  display: block;
  height: clamp(34px, 5.5vw, 56px);
  width: auto;
  margin-top: 0.25em;
  margin-inline: auto;
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clr-amber);
  margin-bottom: var(--sp-md);
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 0.97;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  margin-bottom: var(--sp-md);
}


.hero-sub {
  font-size: 0.95rem;
  color: var(--clr-text-muted);
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: var(--sp-md);
}

.hero-slogan {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: var(--sp-lg);
}

.hero-slogan-bar {
  width: 3px;
  height: 2rem;
  background-color: var(--clr-amber);
  flex-shrink: 0;
}

.hero-slogan-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  font-style: italic;
  color: var(--clr-text);
  letter-spacing: 0.02em;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: var(--sp-sm);
  flex-wrap: wrap;
}

/* Product image side */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img {
  width: auto;
  max-width: 100%;
  max-height: 360px;
  object-fit: contain;
  filter: drop-shadow(0 0 40px rgba(240,165,0,0.08));
  /* 좌측(텍스트 방향) 강하게, 상하 부드럽게 fade */
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, black 24%, black 90%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
  -webkit-mask-composite: destination-in;
  mask-image:
    linear-gradient(to right, transparent 0%, black 24%, black 90%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
  mask-composite: intersect;
}

/* Stats bar below hero */
.hero-stats {
  position: relative;
  z-index: 1;
  background-color: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.hero-stats-inner {
  max-width: var(--container);
  width: 100%;
  padding-inline: var(--sp-lg);
  display: flex;
  align-items: stretch;
}

.stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--sp-md) var(--sp-sm);
  text-align: center;
}

.stat-n {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--clr-amber);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-l {
  font-size: 0.7rem;
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-top: 0.3rem;
}

.stat-sep {
  width: 1px;
  background-color: var(--clr-border);
  align-self: stretch;
  margin-block: var(--sp-sm);
}

/* === ANNOUNCEMENT === */
.announcement {
  padding: var(--sp-xl) 0;
  background-color: var(--clr-bg-2);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}

.announce-lead {
  max-width: 760px;
  margin-bottom: var(--sp-xl);
}

.announce-lead p:first-child {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--clr-text);
  margin-bottom: var(--sp-sm);
}

.announce-lead p:first-child strong { color: var(--clr-amber); }

.announce-lead p:last-child {
  font-size: 1.0rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
}

/* Compat grid — 3 panels */
.compat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background-color: var(--clr-border);
  border: 1px solid var(--clr-border);
  margin-bottom: var(--sp-xl);
}

.compat-card {
  background-color: var(--clr-bg);
  padding: var(--sp-lg);
  position: relative;
  transition: background-color 0.2s;
}

.compat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background-color: var(--clr-amber);
  opacity: 0;
  transition: opacity 0.25s;
}

.compat-card:hover { background-color: var(--clr-bg-3); }
.compat-card:hover::before { opacity: 1; }

.compat-icon {
  width: 2.25rem;
  height: 2.25rem;
  color: var(--clr-amber);
  margin-bottom: var(--sp-md);
}

.compat-icon svg { width: 100%; height: 100%; }

.compat-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: var(--sp-xs);
}

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

/* Origin bar */
.origin-bar {
  display: flex;
  gap: var(--sp-sm);
  align-items: stretch;
  background-color: var(--clr-surface);
  border: 1px solid var(--clr-border);
  padding: var(--sp-md) var(--sp-lg);
}

.origin-accent {
  width: 3px;
  background-color: var(--clr-amber);
  flex-shrink: 0;
  border-radius: 0;
}

.origin-bar p {
  font-size: 0.9375rem;
  color: var(--clr-text-muted);
  line-height: 1.75;
}

.origin-bar p strong { color: var(--clr-text); }

/* === WHY portArgus === */
.why {
  padding: var(--sp-xl) 0;
  background-color: var(--clr-bg);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background-color: var(--clr-border);
  border: 1px solid var(--clr-border);
}

.why-card {
  background-color: var(--clr-bg);
  padding: var(--sp-lg);
  transition: background-color 0.2s;
}

.why-card:hover { background-color: var(--clr-bg-3); }

.why-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--clr-amber);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: var(--sp-sm);
  letter-spacing: -0.04em;
}

.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: var(--sp-sm);
}

.why-card p {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  line-height: 1.75;
}

/* === PRODUCT LINEUP === */
.products {
  background-color: var(--clr-bg-2);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}

.products-visual {
  width: 100%;
  overflow: hidden;
  min-height: 300px;
}

.products-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.products-caption {
  background-color: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  padding: var(--sp-md) 0;
}

.caption-primary {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clr-amber);
  margin-bottom: 0.3rem;
}

.caption-sub {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
}

/* === CONTACT === */
.contact {
  padding: var(--sp-xl) 0;
  background-color: var(--clr-bg);
}

.contact-lead {
  max-width: 600px;
  font-size: 1.05rem;
  color: var(--clr-text-muted);
  line-height: 1.75;
  margin-bottom: var(--sp-xl);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-md);
  max-width: 680px;
  margin-bottom: var(--sp-xl);
}

.contact-card {
  display: flex;
  flex-direction: column;
  padding: var(--sp-lg);
  background-color: var(--clr-surface);
  border: 1px solid var(--clr-border);
  transition: border-color 0.2s, background-color 0.2s;
  cursor: pointer;
}

.contact-card:hover {
  border-color: var(--clr-amber);
  background-color: var(--clr-amber-dim);
}

.contact-icon {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--clr-amber);
  margin-bottom: var(--sp-sm);
}

.contact-icon svg { width: 100%; height: 100%; }

.contact-lbl {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--clr-text-dim);
  margin-bottom: 0.25rem;
}

.contact-val {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--clr-text);
  margin-bottom: var(--sp-sm);
  word-break: break-all;
}

.contact-arrow {
  font-size: 0.8rem;
  color: var(--clr-amber);
  margin-top: auto;
}

/* Services */
.services {
  border-top: 1px solid var(--clr-border);
  padding-top: var(--sp-lg);
  max-width: 680px;
}

.services-heading {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-sm);
}

.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem var(--sp-lg);
}

.services-list li {
  font-size: 0.875rem;
  color: var(--clr-text-muted);
  padding-left: 1rem;
  position: relative;
}

.services-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--clr-amber);
  font-weight: 700;
}

/* === FOOTER === */
.site-footer {
  background-color: var(--clr-bg-3);
  border-top: 1px solid var(--clr-border);
  padding: var(--sp-xl) 0 var(--sp-lg);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--sp-xl);
  padding-bottom: var(--sp-xl);
  border-bottom: 1px solid var(--clr-border);
  gap: var(--sp-lg);
}

.footer-logo img { height: 27px; width: auto; margin-bottom: 0.5rem; }

.footer-slogan {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-style: italic;
  color: var(--clr-text-dim);
  letter-spacing: 0.04em;
}

.footer-contacts a {
  display: block;
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  margin-bottom: 0.25rem;
  transition: color 0.18s;
}

.footer-contacts a:hover { color: var(--clr-amber); }

.legal {
  font-size: 0.72rem;
  color: var(--clr-text-dim);
  line-height: 1.75;
  max-width: 900px;
  margin-bottom: var(--sp-sm);
}

.legal strong { color: var(--clr-text-muted); }

.copyright {
  font-size: 0.72rem;
  color: var(--clr-text-dim);
}

/* === PRODUCTS: PC 2-column layout === */
@media (min-width: 961px) {
  .products-inner {
    display: flex;
    align-items: stretch;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--sp-lg);
  }

  .products-visual {
    flex: 0 0 60%;
    min-height: 420px;
  }

  .products-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* PC: fade overlay 불필요 — cover로 꽉 채움 */

  .products-caption {
    flex: 1;
    border-top: none;
    border-left: 1px solid var(--clr-border);
    padding: 0;
    display: flex;
    align-items: center;
  }

  .products-caption .wrap {
    padding-block: var(--sp-xl);
  }

  .caption-primary {
    font-size: 2.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    letter-spacing: 0.1em;
  }
  .caption-primary .cp-sep {
    display: none;
  }

  .caption-sub {
    font-size: 0.95rem;
    margin-top: var(--sp-sm);
    line-height: 1.75;
  }
}

/* === RESPONSIVE === */
@media (max-width: 960px) {
  .hero-body {
    padding-top: var(--sp-xl);
  }

  .compat-grid { grid-template-columns: 1fr; }
  .why-grid    { grid-template-columns: 1fr; }

  .contact-cards { max-width: 480px; }

  .footer-top { flex-direction: column; }

  .hero-stats-inner { flex-wrap: wrap; }
  .stat-sep { display: none; }
  .stat { flex: 1 1 40%; }
}

@media (max-width: 600px) {
  :root {
    --sp-lg:  1.5rem;
    --sp-xl:  2.5rem;
    --sp-3xl: 4rem;
  }

  .hero-ctas { flex-direction: column; }
  .btn-lg { width: 100%; text-align: center; justify-content: center; }

  .contact-cards { grid-template-columns: 1fr; max-width: 100%; }
}
