/* ER Konnect — Marketing landing */
:root {
  --erk-bg: #000000;
  --erk-bg-soft: #0a0a0a;
  --erk-panel: #141414;
  --erk-text: #ffffff;
  --erk-muted: #9ca3af;
  --erk-gold: #c4a574;
  --erk-gold-hot: #d8bc8c;
  --erk-gold-deep: #9a7b4f;
  --erk-border: rgba(255, 255, 255, 0.08);
  --erk-font: "Inter", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.erk-landing {
  margin: 0;
  min-height: 100%;
  font-family: var(--erk-font);
  color: var(--erk-text);
  background: var(--erk-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.erk-landing a {
  color: inherit;
  text-decoration: none;
}

.erk-stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(1px 1px at 28% 72%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1.5px 1.5px at 62% 22%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 78% 58%, rgba(255, 255, 255, 0.28), transparent),
    radial-gradient(1px 1px at 88% 14%, rgba(255, 255, 255, 0.35), transparent);
  opacity: 0.55;
}

.erk-nav {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0 auto;
  padding: 22px 3.5vw 8px;
}

.erk-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.erk-logo-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 50%;
  background: #0d0d0d;
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.35);
}

.erk-logo-text {
  line-height: 1;
}

.erk-logo-er {
  color: #fff;
}

.erk-logo-konnect {
  color: var(--erk-gold-hot);
}

.erk-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.erk-nav-links > a:not(.erk-btn) {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.erk-nav-links > a:not(.erk-btn):hover {
  color: #fff;
}

.erk-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--erk-border);
  border-radius: 10px;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}

.erk-nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
  border-radius: 2px;
}

.erk-hero {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0 auto;
  padding: 28px 3.5vw 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(16px, 2.5vw, 40px);
  align-items: center;
  min-height: calc(100vh - 90px);
}

.erk-hero-copy {
  position: relative;
  z-index: 3;
  max-width: 760px;
}

.erk-eyebrow {
  margin: 0 0 18px;
  color: var(--erk-muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.erk-hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 5.6vw, 4.6rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.erk-accent {
  color: var(--erk-gold-hot);
}

.erk-lead {
  margin: 22px 0 0;
  max-width: 540px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
  line-height: 1.65;
}

.erk-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.erk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.erk-btn-sm {
  min-height: 38px;
  padding: 0 18px;
  font-size: 0.88rem;
}

.erk-btn-solid {
  background: linear-gradient(135deg, var(--erk-gold) 0%, var(--erk-gold-deep) 100%);
  color: #111 !important;
  border: 1px solid var(--erk-gold);
  box-shadow: 0 10px 28px rgba(154, 123, 79, 0.32);
}

.erk-btn-solid:hover {
  background: linear-gradient(135deg, var(--erk-gold-hot) 0%, var(--erk-gold) 100%);
  border-color: var(--erk-gold-hot);
  transform: translateY(-1px);
}

.erk-btn-outline {
  background: transparent;
  color: #fff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}

.erk-btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.erk-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 42px;
}

.erk-stat {
  background: #121212;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 18px 16px;
}

.erk-stat strong {
  display: block;
  color: var(--erk-gold-hot);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.erk-stat span {
  display: block;
  margin-top: 6px;
  color: var(--erk-muted);
  font-size: 0.88rem;
}

.erk-globe-wrap {
  position: relative;
  width: min(100%, 720px);
  aspect-ratio: 1;
  margin-left: auto;
  margin-right: 0;
  pointer-events: none;
}

.erk-globe-glow {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 165, 116, 0.2) 0%, rgba(154, 123, 79, 0.08) 42%, transparent 70%);
  filter: blur(10px);
  animation: erk-pulse 7s ease-in-out infinite;
}

.erk-globe {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  overflow: hidden;
  background: #0369a1;
  box-shadow:
    inset -34px 0 55px rgba(0, 0, 0, 0.78),
    inset 12px 0 28px rgba(216, 188, 140, 0.1),
    0 0 90px rgba(154, 123, 79, 0.26);
}

.erk-globe-map {
  position: absolute;
  inset: 0;
  background-image: url("../../images/erconnect/earth-map.jpg");
  background-repeat: repeat-x;
  background-size: auto 100%;
  background-position: 0 center;
  border-radius: 50%;
  animation: erk-earth-spin 95s linear infinite;
  filter: saturate(1.15) contrast(1.05) brightness(1.02);
}

.erk-globe-shade {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(
    105deg,
    rgba(0, 0, 0, 0.12) 0%,
    transparent 38%,
    transparent 58%,
    rgba(0, 0, 0, 0.72) 100%
  );
}

@keyframes erk-earth-spin {
  from { background-position: 0 center; }
  to { background-position: -2048px center; }
}

@keyframes erk-pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.03); }
}

.erk-section {
  position: relative;
  z-index: 2;
  padding: 72px 0;
}

.erk-section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}

.erk-section-inner {
  width: 100%;
  margin: 0 auto;
  padding: 0 3.5vw;
}

.erk-section h2 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.erk-section p {
  margin: 0;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  font-size: 1.02rem;
}

.erk-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.erk-feature {
  background: var(--erk-panel);
  border: 1px solid var(--erk-border);
  border-radius: 16px;
  padding: 22px 20px;
}

.erk-feature h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--erk-gold-hot);
}

.erk-feature p {
  font-size: 0.95rem;
}

.erk-footer {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0 auto;
  padding: 28px 3.5vw;
  color: var(--erk-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--erk-border);
}

@media (max-width: 980px) {
  .erk-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 28px;
  }

  .erk-globe-wrap {
    order: -1;
    width: min(78vw, 420px);
    margin: 0 auto 8px;
    opacity: 0.95;
  }

  .erk-hero-copy {
    max-width: none;
  }

  .erk-nav,
  .erk-hero,
  .erk-section-inner,
  .erk-footer {
    width: 100%;
  }
}

.erk-launch {
  margin: 0 0 1.25rem;
  color: var(--erk-gold);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.erk-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.erk-contact-card {
  background: var(--erk-panel);
  border: 1px solid var(--erk-border);
  border-radius: 14px;
  padding: 1.25rem 1.35rem;
}

.erk-contact-card h3 {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--erk-gold);
}

.erk-contact-card p {
  margin: 0;
  color: var(--erk-muted);
  line-height: 1.55;
}

.erk-contact-card a {
  color: var(--erk-text);
}

.erk-contact-card a:hover {
  color: var(--erk-gold-hot);
}

.erk-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.erk-footer-meta {
  color: var(--erk-gold);
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .erk-contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .erk-nav-toggle {
    display: block;
  }

  .erk-nav-links {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: #111;
    border: 1px solid var(--erk-border);
    border-radius: 14px;
  }

  .erk-nav-links.is-open {
    display: flex;
  }

  .erk-nav-links > a {
    padding: 12px 14px;
    border-radius: 10px;
  }

  .erk-stats,
  .erk-feature-grid {
    grid-template-columns: 1fr;
  }

  .erk-cta-row .erk-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .erk-globe-map,
  .erk-globe-glow {
    animation: none !important;
  }
}
