/* === HERO === */
.hero {
  position: relative;
  padding: 80px 0 80px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
}

.hero-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-meta::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--text-muted);
}

.hero-title {
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
  color: var(--text);
}
.hero-title .accent { color: var(--brand); }

.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 520px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  width: fit-content;
}
.trust-stat .label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.trust-stat .value {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
}
.trust-stat .value .unit {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 2px;
}

/* HERO VISUAL */
.hero-visual {
  position: relative;
  height: 580px;
}

.glow-bg {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(97, 89, 255, 0.16) 0%, transparent 60%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.mock-card {
  position: absolute;
  background: white;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-soft);
  z-index: 1;
}

.mock-main {
  top: 30px; left: 0;
  right: 0;
  padding: 28px;
  z-index: 2;
}

.mock-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-soft);
}
.mock-tab {
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 8px;
}
.mock-tab.active {
  background: var(--brand-light);
  color: var(--brand);
}

.mock-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--border-soft);
}
.mock-row:last-child { border-bottom: none; }
.mock-row .doc-name {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mock-row .doc-icon {
  width: 28px; height: 28px;
  background: var(--brand-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  flex-shrink: 0;
}
.mock-row .amount {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}
.mock-row .status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 100px;
}
.status-ok { color: #00A572; background: rgba(0,165,114,0.08); }
.status-pending { color: #B8860B; background: rgba(184,134,11,0.08); }

.mock-floating {
  width: 240px;
  padding: 18px 20px;
  z-index: 3;
}
.mock-float-1 {
  top: -24px; right: -28px;
  animation: float 6s ease-in-out infinite;
}
.mock-float-2 {
  bottom: 30px; left: -36px;
  animation: float 7s ease-in-out infinite reverse;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.mfl-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.mfl-icon {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--brand-light);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mfl-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
}
.mfl-value {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.mfl-meta {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
}


/* === LOGO 1C UNIVERSAL === */
.logo-1c {
  display: inline-block;
  background-image: var(--logo-1c-url);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  flex-shrink: 0;
  font-size: 0;
  text-indent: -9999px;
  overflow: hidden;
}
.logo-1c-sm { width: 32px; height: 18px; }
.logo-1c-md { width: 48px; height: 27px; }
.logo-1c-lg { width: 72px; height: 40px; }

/* === SUBSIDIARY BADGE === */
.subsidiary-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.subsidiary-badge strong {
  color: var(--text);
  font-weight: 600;
}
.module-name {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 4px;
}
.module-desc {
  font-size: 12px;
  color: var(--text-muted);
}

/* === HERO MOBILE === */
@media (max-width: 1024px) {
  .mock-float-1 { right: -290px; top: -8px; width: 200px; }
  .mock-float-2 { left: -36px; width: 200px; }

  .mock-main {
    top: 0px;
    left: -290px;
    right: -290px;
    padding: 28px;
  }
}

@media (max-width: 720px) {
  .hero-visual { height: 380px; }
  .mock-main { padding: 20px 18px; }
  .mock-float-1 { right: -290px; top: -8px; width: 200px; }
  .mock-float-2 { left: -36px; width: 200px; }

  .mock-main {
    top: 0px; 
    left: -290px;
    right: -290px;
    padding: 28px;
  }
}

@media (max-width: 480px) {
  .hero-visual { height: 280px; }
  .mock-float-1, .mock-float-2 { display: none; }
  .mock-main { 
    padding: 14px 12px; 
    left: -190px;
    right: -190px;
    top: 0px;
  }
  .mock-row { font-size: 11px; gap: 8px; padding: 10px 0; }
  .mock-row .amount { display: none; }
  .mock-tabs { margin-bottom: 16px; padding-bottom: 12px; }
  .mock-tab { font-size: 11px; padding: 5px 10px; }
  .hero-sub { font-size: 16px; margin-bottom: 28px; }
  .hero-actions { flex-direction: column; gap: 10px; margin-bottom: 40px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-trust { gap: 20px; width: 100%; }
  .trust-stat .value { font-size: 22px; }
  .trust-stat .label { font-size: 11px; }
  .subsidiary-badge { font-size: 11px; gap: 6px; padding: 6px 12px 6px 6px; }
}




/* === TRUST PILLARS === */
.trust-pillars {
  padding: 64px 0;
  background: white;
  border-bottom: 1px solid var(--border);
}
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.pillar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px 32px;
  background: var(--bg-soft);
  border-radius: 20px;
  border: 1px solid var(--border-soft);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}
.pillar:hover {
  background: white;
  border-color: var(--border);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.pillar-mark {
  width: 64px; height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: white;
  border: 1px solid var(--border-soft);
}
.pillar-mark .logo-1c {
  width: 56px; height: 32px;
}
.pillar-mark .gp-mark {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2C5598 0%, #1A3F73 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.02em;
}
.pillar-content .pillar-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 500;
}
.pillar-content .pillar-title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  line-height: 1.3;
}
.pillar-content .pillar-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.pillar-arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.pillar:hover .pillar-arrow {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
  transform: translate(4px, -4px);
}