/* 04마켓 전용 — 빌드코어와 분리된 비주얼 아이덴티티 */

:root {
  --navy: #1a1814;
  --navy-dark: #0f0e0c;
  --navy-light: #3d3935;
  --green: #ff5c00;
  --green-light: #fff4eb;
  --green-mid: #ffd9bf;
  --accent: #ff7a33;
  --gray-bg: #faf7f2;
  --gray-line: #ebe6df;
  --gray-sub: #6b6560;
  --gray-text: #2c2825;
  --dark: #1a1814;
  --white: #ffffff;
  --shadow-md: 0 8px 30px rgba(255, 92, 0, 0.12);
  --shadow-lg: 0 20px 50px rgba(26, 24, 20, 0.18);
  --mkt-mint: #10b981;
}

body {
  background: var(--gray-bg);
  color: var(--gray-text);
}

/* Logo */
.logo-img-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
}
.logo-brand-img {
  display: block;
  height: 52px;
  width: auto;
  max-width: 140px;
  flex-shrink: 0;
  object-fit: contain;
  object-position: left center;
}
.logo-wordmark {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
  white-space: nowrap;
}
.footer-logo-img-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.footer-brand-img {
  display: block;
  height: 46px;
  width: auto;
  max-width: 120px;
  flex-shrink: 0;
  object-fit: contain;
}
.footer-logo-img-wrap .logo-wordmark {
  font-size: 18px;
  color: #fff;
}

/* Header — 다크 바 */
.header {
  background: rgba(15, 14, 12, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header.scrolled {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}
.header .logo-name {
  color: #fff;
}
.nav-link {
  color: rgba(255, 255, 255, 0.72);
}
.nav-link:hover,
.nav-link.active {
  color: #ff8c42;
}
.nav-link::after {
  background: #ff5c00;
}
.hamburger span {
  background: #fff;
}
.btn-primary {
  background: linear-gradient(135deg, #ff5c00, #ff7a33);
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(255, 92, 0, 0.4);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #e65200, #ff5c00);
}
.btn-outline {
  color: #ff8c42;
  border-color: rgba(255, 140, 66, 0.55);
  background: rgba(255, 92, 0, 0.08);
}
.header .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  background: transparent;
}
.header .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.btn-green {
  background: #ff5c00;
  border-color: #ff5c00;
}

/* Hero — 건설현장 나이트 톤 */
.hero {
  min-height: 92vh;
  background: #121110;
  background-image:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(255, 92, 0, 0.22), transparent),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(16, 185, 129, 0.12), transparent),
    linear-gradient(180deg, #1a1814 0%, #0f0e0c 100%);
}
.hero .blob {
  display: none;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, black 0%, transparent 85%);
  pointer-events: none;
}
.hero h1 {
  color: #fff;
  font-size: clamp(36px, 5vw, 54px);
  letter-spacing: -0.04em;
}
.hero .sec-label,
.hero .green-label {
  color: #ff8c42;
  background: rgba(255, 92, 0, 0.15);
  border: 1px solid rgba(255, 140, 66, 0.35);
}
.hero-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
  max-width: 480px;
}
.text-highlight {
  color: #ff8c42;
  background: none;
  -webkit-text-fill-color: #ff8c42;
}
.text-highlight::after {
  display: none;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero-stat {
  display: flex;
  gap: 24px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-stat div strong {
  display: block;
  font-size: 22px;
  font-weight: 900;
  color: #ff8c42;
}
.hero-stat div span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.phone-mockup {
  width: min(272px, 76vw);
  border-radius: 36px;
  box-shadow:
    0 0 0 8px rgba(255, 92, 0, 0.15),
    0 40px 80px rgba(0, 0, 0, 0.55);
  background: #2a2724;
}
.phone-screen--shot {
  padding: 0;
  min-height: auto;
  aspect-ratio: 470 / 1024;
  background: #f5f5f5;
}
.phone-screen--shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.app-topbar strong {
  color: #ff5c00;
}
.cat.active {
  background: #ff5c00;
}
.item-price {
  color: #ff5c00 !important;
}

/* Sections */
.section:nth-of-type(even) {
  background: #fff;
}
.sec-header h2,
.feat-card h3,
.p-card h3,
.trade-card h4 {
  color: var(--navy);
}
.sec-label {
  color: #c2410c;
  background: var(--green-light);
}
.green-label {
  color: #ea580c;
  background: var(--green-light);
}

.solution-bg {
  background: linear-gradient(180deg, #fff8f3 0%, #faf7f2 100%) !important;
}
.flow-circle.platform {
  background: linear-gradient(135deg, #ff5c00, #ff7a33);
}
.p-icon.green {
  background: rgba(16, 185, 129, 0.15);
  color: var(--mkt-mint);
}

.p-card {
  border-radius: 20px;
  border: 1px solid var(--gray-line);
  box-shadow: 0 4px 20px rgba(26, 24, 20, 0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}
.p-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feat-card {
  border-radius: 20px;
  border: 1px solid var(--gray-line);
}
.feat-icon {
  background: var(--green-light) !important;
  color: #ff5c00 !important;
}
.trade-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--gray-line);
}

.app-cta {
  background: linear-gradient(135deg, #ff5c00 0%, #c2410c 50%, #1a1814 100%) !important;
}
.app-cta .store-btn-lg {
  background: #ffffff;
  color: #1a1814;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.28);
}
.app-cta .store-btn-lg svg {
  color: #1a1814;
  flex-shrink: 0;
}
.app-cta .store-btn-lg small {
  color: #5c564e;
}
.app-cta .store-btn-lg strong {
  color: #1a1814;
}
.app-cta .store-btn-lg:hover {
  background: #fff8f3;
  border-color: #ffffff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.policy-strip {
  background: #1a1814;
  color: #fff;
}
.policy-strip h3 {
  color: #fff;
}
.policy-grid a {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
}
.policy-grid a:hover {
  background: #ff5c00;
  border-color: #ff5c00;
  color: #fff;
}

.footer {
  background: #0f0e0c;
  color: rgba(255, 255, 255, 0.65);
}
.footer-col-title {
  color: #ff8c42;
}
.footer-col a:hover {
  color: #ff8c42;
}
.footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.08);
}

/* Inner pages */
.page-hero {
  background: linear-gradient(135deg, #1a1814, #3d2212) !important;
}
.policy-hero {
  background: linear-gradient(135deg, #1a1814, #3d2212) !important;
}
.policy-page .header .logo-name {
  color: #fff;
}

.mobile-nav {
  background: #1a1814;
}
.mobile-nav a:not(.btn) {
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.1);
}
.mobile-close {
  color: #fff;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    padding: 48px 0 64px;
    min-height: auto;
  }
  .hero h1 {
    font-size: 34px;
  }
}