/* ==========================================================================
   PROPTRAIL GLOBAL — PAGE LAYOUT & SECTIONS (layout.css)
   ========================================================================== */

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-smooth);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
}

.header-wrap {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  flex-shrink: 0;
}

.brand-subtext {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  border-left: 1px solid var(--border-light);
  padding-left: 10px;
}

.brand-subtext-tag {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-primary);
}

.brand-subtext-sub {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-subtle);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  padding: 0.375rem 0;
  position: relative;
}

.nav-link:hover, .nav-link:focus-visible {
  color: var(--brand-primary);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand-accent);
  border-radius: var(--radius-pill);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  padding: 0.5rem;
  color: var(--text-main);
  border-radius: var(--radius-md);
}

/* ==========================================================================
   HERO SECTION — CORPORATE ECOSYSTEM PLATFORM
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f7f6fc 100%);
  border-bottom: 1px solid var(--border-light);
  padding: 4.5rem 0 5rem;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108, 78, 207, 0.08) 0%, rgba(248, 250, 252, 0) 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-pill);
  background: var(--brand-accent-soft);
  border: 1px solid var(--border-brand-subtle);
  color: var(--brand-primary);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 850;
  line-height: 1.1;
  color: var(--text-main);
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-headline-accent {
  color: var(--brand-primary);
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 580px;
  margin-bottom: 2rem;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.8125rem;
  color: var(--text-subtle);
  flex-wrap: wrap;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.trust-item svg {
  color: var(--brand-accent);
  flex-shrink: 0;
}

/* Ecosystem Visual Box */
.ecosystem-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-brand-subtle);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.ecosystem-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-light);
}

.ecosystem-card-title {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--brand-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ecosystem-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.25rem 0.625rem;
  background: var(--status-emerald-bg);
  border: 1px solid var(--status-emerald-border);
  color: var(--status-emerald-text);
  border-radius: var(--radius-pill);
  font-size: 0.6875rem;
  font-weight: 700;
}

.ecosystem-live-dot {
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
}

/* Hub & Spoke Matrix */
.hub-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.625rem;
}

.hub-node {
  background: var(--bg-body);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.625rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.375rem;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.hub-node:hover {
  background: var(--brand-accent-soft);
  border-color: var(--border-brand);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.hub-node-icon {
  width: 28px;
  height: 28px;
  color: var(--brand-primary);
}

.hub-node-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

/* Center Highlight Node */
.hub-node.center-hub {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #2a1b59 0%, #3e2d7f 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.15);
  padding: 0.875rem 1rem;
  margin-bottom: 0.25rem;
}

.hub-node.center-hub:hover {
  background: linear-gradient(135deg, #32216b 0%, #4a3699 100%);
}

.hub-node.center-hub .hub-node-name {
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.center-hub-desc {
  font-size: 0.6875rem;
  color: var(--brand-lavender-light);
  opacity: 0.9;
}

/* ==========================================================================
   ABOUT PTG SECTION
   ========================================================================== */
.about-section {
  padding: 5.5rem 0;
  background: var(--bg-surface);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.about-card {
  background: var(--bg-body);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about-card:hover {
  border-color: var(--border-brand);
  box-shadow: var(--shadow-md);
  background: #ffffff;
}

.about-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-primary);
  background: var(--brand-accent-soft);
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.about-card-title {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.about-card-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Statistics Matrix */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.stat-card {
  background: var(--bg-body);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: all var(--transition-fast);
}

.stat-card:hover {
  background: #ffffff;
  border-color: var(--border-brand);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.stat-val {
  display: block;
  font-size: 2.25rem;
  font-weight: 850;
  color: var(--brand-primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0.375rem;
}

.stat-lbl {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.stats-footnote {
  font-size: 0.75rem;
  color: var(--text-subtle);
  text-align: center;
  margin-top: 1.25rem;
  font-style: italic;
}

/* ==========================================================================
   INDUSTRIES DIRECTORY & FILTER SECTION
   ========================================================================== */
.industries-section {
  padding: 5.5rem 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.search-filter-bar {
  display: flex;
  gap: 1rem;
  max-width: 820px;
  margin: 0 auto 3rem;
  background: #ffffff;
  padding: 0.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.search-box-wrap {
  position: relative;
  flex: 1;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-subtle);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.625rem;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  background: transparent;
  outline: none;
  transition: all var(--transition-fast);
}

.search-input:focus {
  background: var(--bg-body);
  border-color: var(--border-focus);
}

.category-select {
  min-width: 220px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  outline: none;
  cursor: pointer;
  transition: border var(--transition-fast);
}

.category-select:focus {
  border-color: var(--border-focus);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.industry-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-fast);
  cursor: pointer;
  position: relative;
}

.industry-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-brand);
  box-shadow: var(--shadow-md);
}

.industry-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.industry-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--brand-accent-soft);
  display: grid;
  place-items: center;
  color: var(--brand-primary);
}

.industry-icon-svg {
  width: 24px;
  height: 24px;
}

.industry-node-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--text-subtle);
  background: var(--bg-subtle);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.industry-card-title {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.375rem;
}

.industry-card-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.industry-business-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 1.25rem;
}

.biz-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  background: var(--bg-body);
  border: 1px solid var(--border-light);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--text-muted);
}

.industry-explore-action {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--brand-primary);
  transition: gap var(--transition-fast);
}

.industry-card:hover .industry-explore-action {
  gap: 8px;
  color: var(--brand-accent);
}

/* ==========================================================================
   HOW IT WORKS SECTION
   ========================================================================== */
.how-section {
  padding: 5.5rem 0;
  background: #ffffff;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  position: relative;
}

.step-card {
  background: var(--bg-body);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  position: relative;
  transition: all var(--transition-fast);
}

.step-card:hover {
  background: #ffffff;
  border-color: var(--border-brand);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.step-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 0.875rem;
  font-weight: 800;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 10px rgba(62, 45, 127, 0.25);
}

.step-icon-wrap {
  width: 40px;
  height: 40px;
  margin: 0 auto 0.75rem;
  color: var(--brand-accent);
}

.step-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.375rem;
}

.step-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   BENEFITS SECTION
   ========================================================================== */
.benefits-section {
  padding: 5.5rem 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-light);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.benefit-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: all var(--transition-fast);
}

.benefit-card:hover {
  border-color: var(--border-brand);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.benefit-icon-box {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: var(--brand-accent-soft);
  display: grid;
  place-items: center;
  color: var(--brand-primary);
  margin-bottom: 1.25rem;
}

.benefit-icon-svg {
  width: 24px;
  height: 24px;
}

.benefit-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.benefit-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   CONNECTED BUSINESS JOURNEY
   ========================================================================== */
.journey-section {
  padding: 5rem 0;
  background: #ffffff;
}

.journey-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: stretch;
}

.journey-card {
  background: var(--bg-body);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.flow-diagram {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

.flow-node {
  background: #ffffff;
  border: 1px solid var(--border-brand-subtle);
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--brand-primary);
  box-shadow: var(--shadow-xs);
}

.flow-arrow {
  color: var(--brand-accent);
  font-weight: 900;
}

.cta-banner-card {
  background: linear-gradient(135deg, #1b133d 0%, #3e2d7f 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-lg);
}

.cta-banner-title {
  font-size: 1.75rem;
  font-weight: 850;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.cta-banner-desc {
  font-size: 0.9375rem;
  color: var(--brand-lavender-light);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

/* ==========================================================================
   REGISTRATION FORM SECTION
   ========================================================================== */
.register-section {
  padding: 5.5rem 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-light);
}

.register-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.5rem;
  align-items: start;
}

.register-info-panel {
  background: linear-gradient(135deg, #1b133d 0%, #2a1b59 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.register-info-title {
  font-size: 1.75rem;
  font-weight: 850;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.register-info-desc {
  font-size: 0.9375rem;
  color: var(--brand-lavender-light);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.register-benefits-list {
  list-style: none;
  display: grid;
  gap: 0.875rem;
}

.register-benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
}

.register-benefit-item svg {
  color: #68d391;
  flex-shrink: 0;
}

.register-form-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.125rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--brand-navy-deep);
  color: var(--brand-lavender-light);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.footer-desc {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.6;
}

.footer-tagline {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #ffffff;
}

.footer-col-title {
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 0.625rem;
}

.footer-link {
  font-size: 0.8125rem;
  color: #94a3b8;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 1rem;
}
