/* ═══════════════════════════════════════════════════════════
   OMNI Distribution — Growth Engine
   Section Layouts & Section-Specific Styles
   ═══════════════════════════════════════════════════════════ */

/* ══ NAVIGATION ══ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  z-index: var(--z-nav);
  padding: 0 clamp(20px, 4vw, 48px);
  transition: background var(--t-med), backdrop-filter var(--t-med);
}

.nav.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(240, 240, 245, 0.04);
}

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

.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
}

.nav-logo span { color: var(--cyan); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white-muted);
  transition: color var(--t-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--cyan);
  transition: width var(--t-med) var(--ease-out-expo);
}

.nav-link:hover {
  color: var(--white);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px;
  font-size: 0.78rem;
}

/* ══ HERO ══ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: var(--z-canvas);
}

.hero-content {
  position: relative;
  z-index: var(--z-content);
  text-align: center;
  max-width: 900px;
  padding: 0 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(0, 240, 255, 0.06);
  border: 1px solid rgba(0, 240, 255, 0.15);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 32px;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulseDot 2s infinite;
}

.hero-title {
  margin-bottom: 24px;
}

.hero-title .gradient {
  background: linear-gradient(135deg, var(--white) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  max-width: 600px;
  margin: 0 auto 40px;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--white-dim);
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid rgba(240, 240, 245, 0.06);
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--cyan);
}

.hero-stat-label {
  font-size: 0.78rem;
  color: var(--white-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ══ VITALS / DASHBOARD ══ */
.vitals {
  position: relative;
}

.vitals-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

/* ══ SERVICES ══ */
.services {
  position: relative;
}

.services .energy-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: background var(--t-slow);
  opacity: 0.5;
}

.services-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-top: 48px;
  margin-bottom: 48px;
}

.services-cards {
  position: relative;
  min-height: 320px;
}

.services-cards .service-card {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

/* ══ AUDIENCE ══ */
.audience {
  position: relative;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 400px));
  justify-content: center;
  gap: 24px;
  margin-top: 48px;
}

/* ══ MAP ══ */
.map-section {
  position: relative;
  overflow: hidden;
}

.map-canvas-wrap {
  position: relative;
  width: 100%;
  height: 500px;
  margin-top: 48px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(240, 240, 245, 0.06);
  background: url('../assets/world-map.png') center center / cover no-repeat;
  background-color: #0A0A0F;
}

.map-canvas {
  width: 100%;
  height: 100%;
}

.map-overlay {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 5;
}

.map-overlay-stat {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--cyan);
  text-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
}

/* ══ DEPLOY ══ */
.deploy {
  position: relative;
}

.deploy-timeline {
  position: relative;
  max-width: 600px;
  margin: 48px auto 0;
}

/* ══ VALUE PROP / CTA ══ */
.cta-section {
  position: relative;
  text-align: center;
  overflow: hidden;
}

.cta-section .glow-orb {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.08) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-title {
  max-width: 800px;
  margin: 0 auto 16px;
}

.cta-desc {
  max-width: 550px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
  color: var(--white-dim);
}

/* ══ FOOTER ══ */
.footer {
  border-top: 1px solid rgba(240, 240, 245, 0.04);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--white-muted);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-link {
  font-size: 0.82rem;
  color: var(--white-muted);
  transition: color var(--t-fast);
}

.footer-link:hover { color: var(--cyan); }

/* ══ STICKY CTA ══ */
.sticky-cta {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 90;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--t-med) var(--ease-out-expo),
              transform var(--t-med) var(--ease-out-expo);
  pointer-events: none;
}

.sticky-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ══ CUSTOM CURSOR ══ */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: var(--z-cursor);
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: difference;
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(0, 240, 255, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: var(--z-cursor);
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out-expo),
              height 0.3s var(--ease-out-expo),
              border-color 0.3s,
              background 0.3s;
}

.cursor-dot.hovering {
  width: 4px;
  height: 4px;
}

.cursor-ring.hovering {
  width: 56px;
  height: 56px;
  border-color: var(--cyan);
  background: rgba(0, 240, 255, 0.06);
}

.cursor-ring.graph-mode {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border-color: var(--cyan);
  background: rgba(0, 240, 255, 0.08);
}

/* ══ NAV PROGRESS BAR ══ */
.nav-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan), rgba(0, 240, 255, 0.3));
  transition: width 0.1s linear;
  z-index: 101;
}

/* ══ CONTACT FORM ══ */
.contact-form-wrap {
  max-width: 560px;
  margin: 48px auto 0;
}

.contact-form {
  background: rgba(18, 18, 26, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(240, 240, 245, 0.06);
  border-radius: 20px;
  padding: 40px;
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-field {
  flex: 1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(10, 10, 15, 0.6);
  border: 1px solid rgba(240, 240, 245, 0.08);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  cursor: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.06);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--white-muted);
}

.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2300F0FF' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5.5l6.5 6.5 6.5-6.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.contact-form select option {
  background: var(--obsidian);
  color: var(--white);
}

.contact-form textarea {
  resize: vertical;
  min-height: 80px;
}

.form-submit {
  font-size: 0.95rem;
}

/* ══ ACTIVITY FEED ══ */
.activity-feed {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 240px;
  z-index: 5;
  background: rgba(10, 10, 15, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(240, 240, 245, 0.06);
  border-radius: 12px;
  padding: 16px;
  max-height: 200px;
  overflow: hidden;
}

.feed-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feed-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--white-dim);
  animation: feedSlideIn 0.4s var(--ease-out-expo) forwards;
  opacity: 0;
  transform: translateY(-8px);
}

.feed-item .platform {
  font-weight: 600;
  color: var(--cyan);
  min-width: 28px;
}

.feed-item .views {
  color: #22C55E;
  margin-left: auto;
  white-space: nowrap;
}

@keyframes feedSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ══ RESPONSIVE ══ */
@media (max-width: 1024px) {
  .vitals-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 32px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .audience-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .service-toggle { flex-direction: column; }
  .service-toggle-slider { display: none; }
  .service-toggle-btn.active {
    background: var(--cyan);
    color: var(--obsidian);
    border-radius: 8px;
  }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .cursor-dot, .cursor-ring { display: none; }
  html, body, button { cursor: auto; }
  .map-canvas-wrap { height: 350px; }
  .timeline-step { gap: 20px; }
  .activity-feed { display: none; }
  .contact-form { padding: 28px 20px; }
  .form-row { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-ghost { width: 100%; justify-content: center; }
  .services-cards { min-height: auto; }
  .services-cards .service-card { position: relative; }
}
