/* ==========================================================================
   Sections CSS - NextEscaype Master Landing Page
   ========================================================================== */

/* General Section Spacing */
.ne-section {
  padding: 6.5rem 0;
  position: relative;
}

.ne-section-alt {
  background-color: var(--ne-bg-alt);
}

.ne-section-white {
  background-color: #FFFFFF;
}

/* ==========================================================================
   SECTION 2: Understand NextEscaype in 30 Seconds
   ========================================================================== */
.sec-understand {
  background: #FFFFFF;
}

.steps-phone-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  position: relative;
  margin-top: 2rem;
}

.step-phone-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.step-badge-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ne-primary-light);
  color: var(--ne-primary);
  font-family: var(--ne-font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(0, 123, 255, 0.25);
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.12);
}

.step-card-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--ne-text-main);
}

.step-card-header p {
  font-size: 0.88rem;
  color: var(--ne-text-secondary);
  line-height: 1.5;
  min-height: 52px;
  margin-bottom: 1.5rem;
}

/* Step connector arrow */
.step-connector-arrow {
  display: none;
}

@media (min-width: 992px) {
  .step-phone-card:not(:last-child)::after {
    content: '→';
    position: absolute;
    top: 18px;
    right: -15px;
    font-size: 1.4rem;
    color: #94A3B8;
    z-index: 5;
  }
}

/* ==========================================================================
   SECTION 3: What Makes NextEscaype Different?
   ========================================================================== */
.sec-different {
  background: var(--ne-bg);
}

.comparison-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 1rem;
}

.comp-card {
  border-radius: var(--ne-radius-xl);
  padding: 3rem 2.5rem;
  position: relative;
}

.comp-card-traditional {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: var(--ne-shadow-xs);
}

.comp-card-ecosystem {
  background: linear-gradient(145deg, #FFFFFF 0%, #F0F7FF 100%);
  border: 2px solid var(--ne-primary);
  box-shadow: 0 20px 45px -10px rgba(0, 123, 255, 0.15);
}

.comp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--ne-border);
}

.comp-header h3 {
  font-size: 1.45rem;
  font-weight: 700;
  margin: 0;
}

.comp-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--ne-radius-full);
}

.comp-tag-gray {
  background: #F1F5F9;
  color: #64748B;
}

.comp-tag-blue {
  background: var(--ne-primary-light);
  color: var(--ne-primary-dark);
}

.comp-flow-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.comp-step {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.comp-step-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.comp-step-icon.cross {
  background: #FEE2E2;
  color: #EF4444;
}

.comp-step-icon.check {
  background: #DCFCE7;
  color: #10B981;
}

.comp-step-text h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  color: var(--ne-text-main);
}

.comp-step-text p {
  font-size: 0.82rem;
  color: var(--ne-text-secondary);
  margin: 0;
}

.comp-divider {
  width: 2px;
  height: 20px;
  margin-left: 17px;
  background: #E2E8F0;
}

.comp-divider.active {
  background: linear-gradient(180deg, var(--ne-primary) 0%, rgba(0, 123, 255, 0.4) 100%);
}

/* ==========================================================================
   SECTION 4: The NextEscaype Ecosystem (Most Important Section)
   ========================================================================== */
.sec-ecosystem {
  background: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.ecosystem-diagram-container {
  position: relative;
  max-width: 1180px;
  margin: 3rem auto 0 auto;
  min-height: 640px;
  display: grid;
  grid-template-columns: 310px 1fr 310px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem 0;
}

/* SVG Connection Lines Canvas */
.ecosystem-svg-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  overflow: visible;
}

.ecosystem-col {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 5;
}

.ecosystem-col-left,
.ecosystem-col-right {
  gap: 1.5rem;
  justify-content: space-between;
  width: 100%;
}

.ecosystem-col-center {
  align-items: center;
  justify-content: center;
}

/* Central Hub */
.ecosystem-center-hub {
  position: relative;
  z-index: 10;
  width: 190px;
  height: 190px;
  background: linear-gradient(135deg, var(--ne-primary) 0%, var(--ne-primary-dark) 100%);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  text-align: center;
  box-shadow: 
    0 0 0 12px rgba(0, 123, 255, 0.12),
    0 0 0 24px rgba(0, 123, 255, 0.05),
    0 20px 45px rgba(0, 86, 214, 0.35);
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
}

.ecosystem-center-hub:hover {
  transform: scale(1.05);
  box-shadow: 
    0 0 0 16px rgba(0, 123, 255, 0.18),
    0 0 0 32px rgba(0, 123, 255, 0.08),
    0 25px 60px rgba(0, 86, 214, 0.45);
}

.ecosystem-center-logo-img {
  width: 48px;
  height: auto;
  object-fit: contain;
  margin-bottom: 6px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
  transition: transform 0.3s ease;
}

.ecosystem-center-hub:hover .ecosystem-center-logo-img {
  transform: scale(1.1);
}

.ecosystem-center-logo {
  font-family: var(--ne-font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ecosystem-center-sub {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.9;
  margin-top: 2px;
}

/* Ecosystem Node Cards */
.ecosystem-node {
  position: relative;
  z-index: 10;
  background: #FFFFFF;
  border: 1.5px solid var(--ne-border);
  border-radius: var(--ne-radius-xl);
  padding: 1.25rem 1.45rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.06);
  width: 100%;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  box-sizing: border-box;
}

.ecosystem-node:hover {
  border-color: var(--ne-primary);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 18px 35px -8px rgba(0, 123, 255, 0.22);
}

.node-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.node-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--ne-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.node-icon.blue { background: var(--ne-primary-light); color: var(--ne-primary); }
.node-icon.green { background: #DCFCE7; color: #10B981; }
.node-icon.orange { background: #FEF3C7; color: #D97706; }
.node-icon.purple { background: #F3E8FF; color: #9333EA; }
.node-icon.dark { background: #0F172A; color: #38BDF8; }

.node-title {
  font-family: var(--ne-font-heading);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--ne-text-main);
  margin: 0;
  line-height: 1.2;
}

.node-badge {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #64748B;
  display: block;
}

.node-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.82rem;
  color: var(--ne-text-secondary);
  line-height: 1.5;
}

.node-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin-bottom: 0.25rem;
}

.node-list li::before {
  content: '•';
  color: var(--ne-primary);
  font-weight: bold;
  font-size: 1.1rem;
  line-height: 1.1;
  flex-shrink: 0;
}

/* TripGuardian highlight tag */
.powered-by-tg {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  color: #0284C7;
  background: #E0F2FE;
  padding: 0.2rem 0.6rem;
  border-radius: var(--ne-radius-full);
  margin-top: 0.5rem;
}

/* Responsive adjustments for Ecosystem */
@media (max-width: 1080px) {
  .ecosystem-diagram-container {
    grid-template-columns: 280px 1fr 280px;
    gap: 1.25rem;
  }
}

@media (max-width: 991.98px) {
  .ecosystem-diagram-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.25rem;
    min-height: auto;
    padding: 1rem 0;
  }

  .ecosystem-svg-lines {
    display: none;
  }

  .ecosystem-col-center {
    order: 1;
    margin-bottom: 0.5rem;
  }

  .ecosystem-col-left {
    order: 2;
    width: 100%;
    max-width: 600px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
  }

  .ecosystem-col-right {
    order: 3;
    width: 100%;
    max-width: 600px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
  }
}

@media (max-width: 640px) {
  .ecosystem-col-left,
  .ecosystem-col-right {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .ecosystem-center-hub {
    width: 160px;
    height: 160px;
  }

  .ecosystem-center-logo-img {
    width: 42px;
  }

  .ecosystem-center-logo {
    font-size: 1.05rem;
  }
}

/* ==========================================================================
   SECTION 5: Real Journey Example ("From Hyderabad To Araku")
   ========================================================================== */
.sec-journey {
  background: var(--ne-bg-alt);
}

.journey-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  position: relative;
}

.journey-step-card {
  background: #FFFFFF;
  border: 1px solid var(--ne-border);
  border-radius: var(--ne-radius-xl);
  padding: 1.5rem 1.15rem 1.6rem;
  box-shadow: var(--ne-shadow-card);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.journey-step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 123, 255, 0.4);
  box-shadow: 
    0 24px 50px -10px rgba(0, 0, 0, 0.12),
    0 10px 25px -5px rgba(0, 123, 255, 0.18);
}

.journey-step-card:hover .android-phone {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 
    0 0 0 2px #007BFF,
    0 24px 48px -8px rgba(0, 0, 0, 0.45),
    0 12px 25px -4px rgba(0, 123, 255, 0.35);
}

.journey-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.journey-step-num {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ne-primary);
  background: var(--ne-primary-light);
  padding: 0.25rem 0.65rem;
  border-radius: var(--ne-radius-full);
}

.journey-status-pill {
  font-size: 0.74rem;
  font-weight: 600;
  color: #059669;
  background: #D1FAE5;
  padding: 0.2rem 0.6rem;
  border-radius: var(--ne-radius-full);
}

.journey-step-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--ne-text-main);
  line-height: 1.35;
}

.journey-step-card p {
  font-size: 0.82rem;
  color: var(--ne-text-secondary);
  line-height: 1.48;
  margin-bottom: 1.25rem;
  min-height: 50px;
}

.journey-mockup-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: auto;
  padding-top: 0.25rem;
}

/* ==========================================================================
   SECTION 6: For Everyone (Three Premium Cards)
   ========================================================================== */
.sec-everyone {
  background: #FFFFFF;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}

.audience-card {
  background: #FFFFFF;
  border: 1.5px solid var(--ne-border);
  border-radius: var(--ne-radius-xl);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}

.audience-card:hover {
  border-color: var(--ne-primary);
  transform: translateY(-6px);
  box-shadow: 0 20px 45px -10px rgba(0, 123, 255, 0.15);
}

.audience-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ne-primary);
  margin-bottom: 0.75rem;
}

.audience-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.audience-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.audience-features li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--ne-text-secondary);
}

.audience-features li svg {
  color: var(--ne-primary);
  flex-shrink: 0;
}

.audience-preview {
  margin-top: auto;
  border-radius: var(--ne-radius-lg);
  overflow: hidden;
  border: 1px solid var(--ne-border);
  height: 200px;
  background: #F8FAFC;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.audience-mockup-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: auto;
  padding-top: 1.5rem;
}

.audience-card:hover .android-phone {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 
    0 0 0 2px #007BFF,
    0 24px 48px -8px rgba(0, 0, 0, 0.45),
    0 12px 25px -4px rgba(0, 123, 255, 0.35);
}

.audience-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.audience-card:hover .audience-preview img {
  transform: scale(1.04);
}

/* ==========================================================================
   SECTION 7: TripGuardian (Dark Premium Section)
   ========================================================================== */
.sec-tripguardian {
  background: var(--ne-dark-bg);
  color: var(--ne-dark-text);
  overflow: hidden;
  position: relative;
  padding: 6.5rem 0 7rem 0;
}

.tg-ambient-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 123, 255, 0.15) 0%, transparent 70%);
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

@media (max-width: 1024px) {
  .tg-ambient-glow {
    display: none !important;
  }
}

/* ==========================================================================
   TripGuardian View Switcher & Mind Map
   ========================================================================== */
.tg-mode-switch {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 0 auto 2.5rem auto;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 9999px;
  padding: 5px;
  max-width: 380px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  position: relative;
  z-index: 10;
}

.tg-switch-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.15rem;
  font-family: var(--ne-font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: #94A3B8;
  background: transparent;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  white-space: nowrap;
}

.tg-switch-btn svg {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.tg-switch-btn:hover:not(.active) {
  color: #F8FAFC;
  background: rgba(255, 255, 255, 0.06);
}

.tg-switch-btn.active {
  background: linear-gradient(135deg, #007BFF 0%, #0056B3 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 123, 255, 0.45);
}

.tg-switch-btn.active svg {
  transform: scale(1.1);
}

.tg-view-panel {
  display: none;
  animation: tgFadeIn 0.35s ease forwards;
}

.tg-view-panel.active {
  display: block;
}

@keyframes tgFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* TripGuardian Dynamic Mind Map Scaling */
:root {
  --ne-tg-scale: 1;
  --ne-tg-wrapper-height: 580px;
}

@media (max-width: 991.98px) {
  :root {
    --ne-tg-scale: 0.88;
    --ne-tg-wrapper-height: 510px;
  }
}

@media (max-width: 767.98px) {
  :root {
    --ne-tg-scale: 0.54;
    --ne-tg-wrapper-height: 315px;
  }
}

@media (max-width: 420px) {
  :root {
    --ne-tg-scale: 0.48;
    --ne-tg-wrapper-height: 280px;
  }
}

@media (max-width: 360px) {
  :root {
    --ne-tg-scale: 0.45;
    --ne-tg-wrapper-height: 265px;
  }
}

.tg-mindmap-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: var(--ne-tg-wrapper-height, 580px);
  margin-top: 1.5rem;
  overflow: hidden;
  contain: paint;
}

@media (max-width: 767.98px) {
  .tg-mode-switch {
    margin-bottom: 1.25rem;
  }
  .tg-mindmap-wrapper {
    margin-top: 0.25rem;
  }
}

.tg-mindmap-stage {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 580px;
  transform: translate(-50%, -50%) scale(var(--ne-tg-scale, 1));
  transform-origin: center center;
  transition: transform 0.3s ease;
  user-select: none;
}

.tg-mindmap-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 600px;
  height: 580px;
  pointer-events: none;
  z-index: 1;
}

.tg-orbit-path {
  animation: tgRotateOrbit 120s linear infinite;
  transform-origin: 300px 290px;
}

@keyframes tgRotateOrbit {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.tg-laser-path {
  stroke-dasharray: 6 6;
  animation: tgLaserFlow 15s linear infinite;
  transition: stroke 0.3s ease, stroke-width 0.3s ease, filter 0.3s ease;
}

@keyframes tgLaserFlow {
  from { stroke-dashoffset: 200; }
  to { stroke-dashoffset: 0; }
}

.tg-laser-path.active {
  stroke: #38BDF8 !important;
  stroke-width: 3.5px !important;
  filter: drop-shadow(0 0 8px #38BDF8);
}

/* Center Hub, Sonar, Radar Scanner */
.tg-center-hub {
  position: absolute;
  top: 290px;
  left: 300px;
  width: 164px;
  height: 164px;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.tg-sonar-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1.5px solid rgba(56, 189, 248, 0.5);
  pointer-events: none;
  animation: tgSonarPulse 4.5s cubic-bezier(0.1, 0.7, 0.4, 1) infinite;
}

.tg-ring-1 { animation-delay: 0s; }
.tg-ring-2 { animation-delay: 1.5s; }
.tg-ring-3 { animation-delay: 3s; }

@keyframes tgSonarPulse {
  0% {
    width: 140px;
    height: 140px;
    opacity: 0.9;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
  }
  100% {
    width: 380px;
    height: 380px;
    opacity: 0;
    box-shadow: 0 0 25px rgba(56, 189, 248, 0);
  }
}

.tg-radar-scanner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  margin-top: -150px;
  margin-left: -150px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 280deg,
    rgba(56, 189, 248, 0.08) 330deg,
    rgba(56, 189, 248, 0.35) 360deg
  );
  animation: tgRadarSweep 7s linear infinite;
}

@keyframes tgRadarSweep {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.tg-hub-badge {
  position: relative;
  z-index: 6;
  width: 146px;
  height: 146px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #0F2038 0%, #030712 100%);
  border: 2px solid rgba(56, 189, 248, 0.55);
  box-shadow: 
    0 0 30px rgba(0, 123, 255, 0.4),
    inset 0 0 20px rgba(56, 189, 248, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tg-hub-badge:hover {
  transform: scale(1.04);
  box-shadow: 
    0 0 40px rgba(0, 123, 255, 0.6),
    inset 0 0 25px rgba(56, 189, 248, 0.25);
  border-color: #38BDF8;
}

.tg-hub-icon-wrap {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
}

.tg-hub-logo-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 123, 255, 0.8));
}

.tg-hub-title {
  font-family: var(--ne-font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.2px;
  line-height: 1.1;
}

.tg-hub-tag {
  font-size: 0.62rem;
  color: #38BDF8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 1px;
}

.tg-hub-status {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.58rem;
  color: #10B981;
  font-weight: 600;
  margin-top: 4px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 8px;
  border-radius: 9999px;
}

.tg-status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 6px #10B981;
  animation: tgDotBlink 1.8s ease infinite;
}

@keyframes tgDotBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.8); }
}

/* 8 Radial Mind Map Nodes */
.tg-mindnode {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.65rem;
  width: 174px;
  background: rgba(11, 25, 44, 0.92);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--ne-radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  cursor: pointer;
  z-index: 6;
  transform: translate(-50%, -50%);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease,
              background 0.25s ease,
              box-shadow 0.25s ease;
  outline: none;
}

.tg-mindnode:focus-visible,
.tg-mindnode:hover,
.tg-mindnode.active {
  transform: translate(-50%, -50%) scale(1.08) !important;
  border-color: #38BDF8;
  background: rgba(15, 30, 56, 0.98);
  box-shadow: 0 12px 30px rgba(0, 123, 255, 0.45), 0 0 20px rgba(56, 189, 248, 0.35);
}

.node-1 { top: 85px; left: 300px; animation: tgFloat1 4.5s ease-in-out infinite alternate; }
.node-2 { top: 149px; left: 441px; animation: tgFloat2 5s ease-in-out infinite alternate; }
.node-3 { top: 290px; left: 505px; animation: tgFloat3 4.8s ease-in-out infinite alternate; }
.node-4 { top: 431px; left: 441px; animation: tgFloat4 5.2s ease-in-out infinite alternate; }
.node-5 { top: 495px; left: 300px; animation: tgFloat1 4.2s ease-in-out infinite alternate-reverse; }
.node-6 { top: 431px; left: 159px; animation: tgFloat2 4.9s ease-in-out infinite alternate-reverse; }
.node-7 { top: 290px; left: 95px; animation: tgFloat3 4.6s ease-in-out infinite alternate-reverse; }
.node-8 { top: 149px; left: 159px; animation: tgFloat4 5.4s ease-in-out infinite alternate-reverse; }

@keyframes tgFloat1 {
  0% { transform: translate(-50%, -50%) translateY(0); }
  100% { transform: translate(-50%, -50%) translateY(-5px); }
}

@keyframes tgFloat2 {
  0% { transform: translate(-50%, -50%) translate(0, 0); }
  100% { transform: translate(-50%, -50%) translate(4px, -3px); }
}

@keyframes tgFloat3 {
  0% { transform: translate(-50%, -50%) translateX(0); }
  100% { transform: translate(-50%, -50%) translateX(5px); }
}

@keyframes tgFloat4 {
  0% { transform: translate(-50%, -50%) translate(0, 0); }
  100% { transform: translate(-50%, -50%) translate(-3px, 4px); }
}

.tg-mindnode:hover {
  animation-play-state: paused;
}

.tg-node-badge {
  width: 30px;
  height: 30px;
  border-radius: var(--ne-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.tg-node-badge.red { background: rgba(239, 68, 68, 0.2); border: 1px solid rgba(239, 68, 68, 0.45); }
.tg-node-badge.purple { background: rgba(168, 85, 247, 0.2); border: 1px solid rgba(168, 85, 247, 0.45); }
.tg-node-badge.cyan { background: rgba(6, 182, 212, 0.2); border: 1px solid rgba(6, 182, 212, 0.45); }
.tg-node-badge.blue { background: rgba(59, 130, 246, 0.2); border: 1px solid rgba(59, 130, 246, 0.45); }
.tg-node-badge.amber { background: rgba(245, 158, 11, 0.2); border: 1px solid rgba(245, 158, 11, 0.45); }
.tg-node-badge.green { background: rgba(16, 185, 129, 0.2); border: 1px solid rgba(16, 185, 129, 0.45); }
.tg-node-badge.red-subtle { background: rgba(244, 63, 94, 0.2); border: 1px solid rgba(244, 63, 94, 0.45); }
.tg-node-badge.orange { background: rgba(249, 115, 22, 0.2); border: 1px solid rgba(249, 115, 22, 0.45); }

.tg-node-info {
  text-align: left;
  overflow: hidden;
  flex: 1;
}

.tg-node-info h3,
.tg-node-info h4 {
  font-size: 0.70rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 2px 0;
  line-height: 1.2;
  white-space: nowrap;
  letter-spacing: -0.015em;
}

.tg-node-info p {
  font-size: 0.60rem;
  color: #94A3B8;
  margin: 0;
  line-height: 1.2;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.tg-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
  margin-top: 2rem;
}

.tg-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.tg-feature-box {
  background: var(--ne-dark-surface);
  border: 1px solid var(--ne-dark-border);
  border-radius: var(--ne-radius-lg);
  padding: 1.35rem;
  transition: all 0.3s ease;
}

.tg-feature-box:hover {
  border-color: rgba(0, 123, 255, 0.5);
  background: var(--ne-dark-card);
  transform: translateY(-2px);
}

.tg-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--ne-radius-sm);
  background: rgba(0, 123, 255, 0.15);
  color: #38BDF8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  font-size: 1.1rem;
}

.tg-feature-box h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: #FFFFFF;
}

.tg-feature-box p {
  font-size: 0.8rem;
  color: var(--ne-dark-muted);
  line-height: 1.45;
  margin: 0;
}

.tg-device-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.tg-device-wrapper .android-phone {
  background: #020617;
  border-color: #1E293B;
  box-shadow: 
    0 0 0 2px #334155,
    0 25px 60px rgba(0, 0, 0, 0.7),
    0 0 40px rgba(0, 123, 255, 0.25);
}

/* ==========================================================================
   SECTION 8: Payment Protection Infographic
   ========================================================================== */
.sec-payment {
  background: #FFFFFF;
}

.payment-milestone-bar {
  display: grid;
  grid-template-columns: 15% 42.5% 42.5%;
  height: 16px;
  border-radius: var(--ne-radius-full);
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.milestone-seg-1 { background: #38BDF8; }
.milestone-seg-2 { background: var(--ne-primary); }
.milestone-seg-3 { background: var(--ne-success); }

.payment-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}

.payment-card {
  background: var(--ne-bg);
  border: 1.5px solid var(--ne-border);
  border-radius: var(--ne-radius-xl);
  padding: 2.25rem 2rem;
  position: relative;
  transition: all 0.3s ease;
}

.payment-card:hover {
  border-color: var(--ne-primary);
  transform: translateY(-4px);
  background: #FFFFFF;
  box-shadow: var(--ne-shadow-card-hover);
}

.payment-percent {
  font-family: var(--ne-font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
  color: var(--ne-primary);
  margin-bottom: 0.75rem;
}

.payment-card:nth-child(3) .payment-percent {
  color: var(--ne-success);
}

.payment-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--ne-text-main);
}

.payment-card p {
  font-size: 0.9rem;
  color: var(--ne-text-secondary);
  line-height: 1.55;
  margin: 0;
}

/* ==========================================================================
   SECTION 9: App Showcase (Horizontal Phone Carousel)
   ========================================================================== */
.sec-showcase {
  background: var(--ne-bg-alt);
  overflow: hidden;
}

.showcase-carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  padding: 2rem 0;
}

.showcase-carousel {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1rem 2rem;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

.showcase-carousel::-webkit-scrollbar {
  display: none;
}

.showcase-slide {
  flex: 0 0 280px;
  scroll-snap-align: center;
  text-align: center;
}

.showcase-slide h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-top: 1.25rem;
  margin-bottom: 0.25rem;
}

.showcase-slide p {
  font-size: 0.8rem;
  color: var(--ne-text-secondary);
}

/* Carousel Nav Controls */
.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.btn-carousel-ctrl {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--ne-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--ne-shadow-xs);
  transition: all 0.2s ease;
  font-size: 1.2rem;
}

.btn-carousel-ctrl:hover {
  background: var(--ne-primary-light);
  border-color: var(--ne-primary);
  color: var(--ne-primary);
}

/* ==========================================================================
   SECTION 10: Network Effect Flywheel
   ========================================================================== */
.sec-flywheel {
  background: #FFFFFF;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.flywheel-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  position: relative;
  min-height: 480px;
  overflow: hidden;
  width: 100%;
}

:root {
  --ne-fw-scale: 1;
}

@media (max-width: 991.98px) {
  :root {
    --ne-fw-scale: 0.85;
  }
  .flywheel-wrapper {
    min-height: 420px;
  }
}

@media (max-width: 767.98px) {
  :root {
    --ne-fw-scale: 0.52;
  }
  .flywheel-wrapper {
    min-height: 310px;
    contain: paint;
    overflow: hidden;
  }
}

@media (max-width: 420px) {
  :root {
    --ne-fw-scale: 0.44;
  }
  .flywheel-wrapper {
    min-height: 260px;
    contain: paint;
    overflow: hidden;
  }
}

.flywheel-circle {
  position: relative;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  border: 2px dashed #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: center center;
  transform: scale(var(--ne-fw-scale, 1));
  animation: rotateFlywheel 50s linear infinite;
}

@keyframes rotateFlywheel {
  0% { transform: scale(var(--ne-fw-scale, 1)) rotate(0deg); }
  100% { transform: scale(var(--ne-fw-scale, 1)) rotate(360deg); }
}

.flywheel-center-badge {
  position: absolute;
  width: 140px;
  height: 140px;
  background: linear-gradient(135deg, var(--ne-primary) 0%, var(--ne-primary-dark) 100%);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 123, 255, 0.35);
  z-index: 10;
  animation: counterRotate 50s linear infinite;
}

@keyframes counterRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-360deg); }
}

.flywheel-node-item {
  position: absolute;
  width: 120px;
  padding: 0.6rem 0.8rem;
  background: #FFFFFF;
  border: 1.5px solid var(--ne-border);
  border-radius: var(--ne-radius-md);
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  color: var(--ne-text-main);
  animation: counterRotate 50s linear infinite;
}

/* 8 Nodes positioned radially */
.fw-1 { top: -20px; left: calc(50% - 60px); }
.fw-2 { top: 40px; right: -15px; }
.fw-3 { top: calc(50% - 25px); right: -40px; }
.fw-4 { bottom: 40px; right: -15px; }
.fw-5 { bottom: -20px; left: calc(50% - 60px); }
.fw-6 { bottom: 40px; left: -15px; }
.fw-7 { top: calc(50% - 25px); left: -40px; }
.fw-8 { top: 40px; left: -15px; }

/* ==========================================================================
   SECTION 11: Google Reviews
   ========================================================================== */
.sec-reviews {
  background: var(--ne-bg-alt);
}

.google-review-card {
  max-width: 680px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1.5px solid #E5E7EB;
  border-radius: var(--ne-radius-2xl);
  padding: 3.5rem 3rem;
  text-align: center;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.08);
}

.review-artwork {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.review-moto-artwork {
  width: 140px;
  height: 140px;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 12px 30px -8px rgba(0, 123, 255, 0.3);
  border: 3px solid #EFF6FF;
  background: #FFFFFF;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.google-review-card:hover .review-moto-artwork {
  transform: translateY(-4px) scale(1.05);
}

.google-stars {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
  font-size: 1.75rem;
  color: #FBBC04;
}

.google-review-card h3 {
  font-size: 1.85rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.google-review-card p {
  font-size: 1.05rem;
  color: var(--ne-text-secondary);
  max-width: 480px;
  margin: 0 auto 2rem auto;
}

/* ==========================================================================
   SECTION 12: Community
   ========================================================================== */
.sec-community {
  background: #FFFFFF;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  margin-top: 1.5rem;
}

.community-card {
  background: #FFFFFF;
  border: 1.5px solid var(--ne-border);
  border-radius: var(--ne-radius-xl);
  padding: 2.25rem 1.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.community-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px -5px rgba(0, 0, 0, 0.1);
}

.community-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.6rem;
}

.community-card.facebook:hover { border-color: #1877F2; }
.community-card.facebook .community-icon { background: #E7F3FF; color: #1877F2; }

.community-card.instagram:hover { border-color: #E1306C; }
.community-card.instagram .community-icon { background: #FDE8EF; color: #E1306C; }

.community-card.youtube:hover { border-color: #FF0000; }
.community-card.youtube .community-icon { background: #FFEBEE; color: #FF0000; }

.community-card.whatsapp:hover { border-color: #25D366; }
.community-card.whatsapp .community-icon { background: #E8F9EE; color: #25D366; }

.community-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ne-text-main);
  margin-bottom: 0.35rem;
}

.community-card p {
  font-size: 0.85rem;
  color: var(--ne-text-secondary);
  margin-bottom: 1.25rem;
}

.community-btn-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ne-primary);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* ==========================================================================
   SECTION 13: SEO FAQ Accordion
   ========================================================================== */
.sec-faq {
  background: var(--ne-bg-alt);
}

.faq-wrapper {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--ne-border);
  border-radius: var(--ne-radius-lg);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-item:hover {
  border-color: rgba(0, 123, 255, 0.3);
}

.faq-item.active {
  border-color: var(--ne-primary);
  box-shadow: 0 8px 24px rgba(0, 123, 255, 0.08);
}

.faq-question {
  padding: 1.35rem 1.65rem;
  font-family: var(--ne-font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ne-text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  user-select: none;
}

.faq-toggle-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ne-primary-light);
  color: var(--ne-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
  background: var(--ne-primary);
  color: #FFFFFF;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 1.65rem;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.65rem 1.5rem 1.65rem;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--ne-text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* ==========================================================================
   FINAL CTA SECTION
   ========================================================================== */
.sec-final-cta {
  background: linear-gradient(135deg, #070D1E 0%, #0E172F 100%);
  color: #FFFFFF;
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}

.final-cta-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.final-cta-copy h2 {
  font-size: clamp(2.35rem, 4.2vw, 3.4rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.12;
  margin-bottom: 1.25rem;
}

.final-cta-copy p {
  font-size: 1.15rem;
  color: #94A3B8;
  margin-bottom: 2.25rem;
}

.final-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .steps-phone-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  .comparison-wrapper {
    grid-template-columns: 1fr;
  }
  .journey-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .audience-grid {
    grid-template-columns: 1fr;
  }
  .tg-layout {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .sec-tripguardian {
    padding: 5rem 0 6rem 0;
  }
  .tg-device-wrapper {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
  }
  .payment-cards-grid {
    grid-template-columns: 1fr;
  }
  .community-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .final-cta-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .final-cta-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .steps-phone-grid {
    grid-template-columns: 1fr;
  }
  .journey-timeline {
    grid-template-columns: 1fr;
  }
  .community-grid {
    grid-template-columns: 1fr;
  }
  .tg-features-grid {
    grid-template-columns: 1fr;
  }
  .sec-tripguardian {
    padding: 4rem 0 5.5rem 0;
  }
  .tg-device-wrapper {
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
  }
  .sec-final-cta {
    padding: 5.5rem 0 4rem 0;
    scroll-margin-top: 70px;
  }
  .sec-final-cta .final-cta-copy {
    margin-bottom: 2.5rem;
  }
  .sec-final-cta .android-phone.phone-hero {
    width: 255px;
    height: 544px;
    border-radius: 36px;
    padding: 8px;
  }
  .sec-final-cta .android-phone.phone-hero .phone-screen {
    border-radius: 28px;
  }
}

@media (max-width: 420px) {
  .sec-final-cta .android-phone.phone-hero {
    width: 235px;
    height: 501px;
    border-radius: 32px;
    padding: 7px;
  }
  .sec-final-cta .android-phone.phone-hero .phone-screen {
    border-radius: 25px;
  }
}
