
:root {
  --primary: #2992eb;
  --primary-light: #68b8fe;
  --primary-dark: #0099CC;
  --primary-glow: rgba(0, 212, 255, 0.4);
  --bg-dark: #0a0a0f;
  --bg-darker: #050508;
  --bg-card: #0d1117;
  --bg-card-border: #1a2332;
  --text-primary: #ffffff;
  --text-secondary: #8b949e;
  --text-muted: #484f58;
  
  --section-padding-mobile: 40px 16px 60px;
  --section-padding-tablet: 60px 32px 80px;
  --section-padding-desktop: 80px 40px 120px;
  
}


.darkgen-section {
  position: relative;
  min-height: 100vh;
  padding: var(--section-padding-mobile);
  overflow: hidden;
}


.timeline-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0;
}

.timeline-track {
  display: none; /* Hidden on mobile */
}

.timeline-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 2px;
  transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 20px var(--primary-glow);
}

.timeline-glow {
  display: none;
}

.steps-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 5;
}

.step-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  padding: 12px 16px;
  background: rgba(13, 17, 23, 0.6);
  border-radius: 12px;
  border: 1px solid transparent;
}

.step-item:hover,
.step-item.active {
  background: rgba(0, 212, 255, 0.05);
  border-color: rgba(0, 212, 255, 0.2);
}

.step-item.active {
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.15);
}

.step-number {
  position: relative;
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--bg-dark);
  z-index: 10;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.step-item:not(.active) .step-number {
  background: var(--bg-card);
  border: 2px solid var(--bg-card-border);
  color: var(--text-secondary);
  box-shadow: none;
}

.step-item:not(.active):hover .step-number {
  border-color: var(--primary);
  color: var(--primary);
}

.step-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0;
  z-index: -1;
}

.step-item.active .step-pulse {
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
  100% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
  }
}

.step-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.step-item:not(.active) .step-icon {
  opacity: 0.5;
  filter: grayscale(0.5);
}

.step-item:not(.active):hover .step-icon {
  opacity: 0.8;
  filter: grayscale(0);
}

.step-connector {
  display: none;
}

.step-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
  flex-grow: 1;
}

.step-item.active .step-label {
  color: var(--primary);
}

.step-item:not(.active):hover .step-label {
  color: var(--text-primary);
}

.step-item::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(-45deg);
  transition: all 0.3s ease;
}

.step-item.active::after {
  border-color: var(--primary);
}

.darkgen-icon {
  width: 100%;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  filter: drop-shadow(0 0 0px transparent);
}

.step-item.active .darkgen-icon {
  filter: drop-shadow(0 0 10px var(--primary-glow));
}

.step-item:hover .darkgen-icon {
  transform: scale(1.05);
  filter: drop-shadow(0 0 15px var(--primary-glow));
}

.icon-stroke {
  stroke: var(--primary);
  stroke-width: 1.5;
  fill: none;
  transition: all 0.4s ease;
}

.icon-stroke-thin {
  stroke: var(--primary);
  stroke-width: 1;
  fill: none;
  opacity: 0.6;
  transition: all 0.4s ease;
}

.icon-fill {
  fill: var(--primary);
  opacity: 0.1;
  transition: all 0.4s ease;
}

.icon-fill-solid {
  fill: var(--primary);
  opacity: 0.2;
  transition: all 0.4s ease;
}

.icon-accent {
  fill: var(--primary);
  transition: all 0.4s ease;
}

.icon-accent-secondary {
  fill: var(--primary);
  opacity: 0.5;
  transition: all 0.4s ease;
}

.icon-dark {
  fill: var(--bg-dark);
}

.icon-glow {
  fill: var(--primary);
  filter: blur(8px);
  opacity: 0;
  transition: all 0.4s ease;
}

.step-item.active .icon-glow,
.step-item:hover .icon-glow {
  opacity: 0.3;
}

.details-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
  position: relative;
}

.details-card {
  position: relative;
  background: var(--bg-card);
  border-radius: 12px;
  padding: 24px 20px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    ellipse at center,
    var(--primary-glow) 0%,
    transparent 60%
  );
  opacity: 0.1;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.details-card:hover .card-glow {
  opacity: 0.15;
}

.card-border {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 12px;
  border: 1px solid var(--bg-card-border);
  pointer-events: none;
  transition: all 0.4s ease;
}

.details-card:hover .card-border {
  border-color: rgba(0, 212, 255, 0.3);
}

.card-border::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 14px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--primary) 50%,
    transparent 100%
  );
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
}

.details-card:hover .card-border::before {
  opacity: 0.2;
  animation: border-flow 3s linear infinite;
}

@keyframes border-flow {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.card-content {
  position: relative;
}

.step-content {
  display: none;
  animation: fadeInUp 0.5s ease forwards;
}

.step-content.active {
  display: block;
}

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

.content-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.content-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.content-icon svg {
  width: 20px;
  height: 20px;
  color: var(--bg-dark);
}

.content-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.content-header h3 span {
  display: block;
}
.content-header h3  span.slideTitleSpan {
  color: var(--primary);
}

.card-content p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.content-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--bg-card-border);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
}

.stat-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: var(--bg-darker);
  border: 1px solid var(--bg-card-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 20;
}

.nav-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 20px var(--primary-glow);
}

.nav-arrow svg {
  width: 16px;
  height: 16px;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.nav-arrow:hover svg {
  color: var(--bg-dark);
}

.nav-prev {
  left: -8px;
}

.nav-next {
  right: -8px;
}

.nav-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.nav-arrow:disabled:hover {
  background: var(--bg-darker);
  border-color: var(--bg-card-border);
  transform: translateY(-50%);
  box-shadow: none;
}

.nav-arrow:disabled:hover svg {
  color: var(--text-secondary);
}


.step-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.indicator {
  width: 8px;
  height: 8px;
  background: var(--bg-card-border);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator:hover {
  background: var(--text-secondary);
  transform: scale(1.2);
}

.indicator.active {
  background: var(--primary);
  width: 20px;
  border-radius: 4px;
  box-shadow: 0 0 10px var(--primary-glow);
}


.floating-badges {
  display: none;
}

.badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 50px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 500;
  backdrop-filter: blur(10px);
  animation: float-badge 6s ease-in-out infinite;
}

.badge svg {
  width: 14px;
  height: 14px;
}

@keyframes float-badge {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.badge-1 {
  animation-delay: 0s;
}

.badge-2 {
  animation-delay: 1s;
}

.badge-3 {
  animation-delay: 2s;
}


@media (min-width: 768px) {
  .darkgen-section {
    padding: var(--section-padding-tablet);
  }

  .timeline-container {
    margin-bottom: 50px;
    padding: 0 20px;
  }

  .steps-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .step-item:nth-child(4),
  .step-item:nth-child(5) {
    grid-column: span 1;
  }


  .steps-wrapper::after {
    content: '';
    grid-column: span 1;
  }

  .step-item {
    flex-direction: column;
    text-align: center;
    padding: 20px 16px;
    border-radius: 16px;
  }

  .step-item::after {
    display: none;
  }

  .step-number {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 15px;
    margin-bottom: 12px;
  }

  .step-icon {
    width: 70px;
    height: 70px;
    min-width: 70px;
    margin-bottom: 8px;
  }

  .step-label {
    font-size: 15px;
    margin-top: 8px;
  }

  .details-card {
    padding: 36px 40px;
    border-radius: 14px;
  }

  .content-header {
    gap: 16px;
    margin-bottom: 20px;
  }

  .content-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
  }

  .content-icon svg {
    width: 22px;
    height: 22px;
  }

  .content-header h3 {
    font-size: 1.4rem;
  }

  .content-header h3 span {
    display: inline;
  }

  .card-content p {
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 28px;
  }

  .content-stats {
    gap: 24px;
    padding-top: 24px;
  }

  .stat-value {
    font-size: 1.25rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }


  .nav-arrow {
    width: 44px;
    height: 44px;
  }

  .nav-arrow svg {
    width: 18px;
    height: 18px;
  }

  .nav-prev {
    left: -16px;
  }

  .nav-next {
    right: -16px;
  }

  .step-indicators {
    gap: 10px;
    margin-top: 28px;
  }

  .indicator.active {
    width: 22px;
  }

  .floating-badges {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
  }

  .badge-1 {
    top: 12%;
    left: 3%;
  }

  .badge-2 {
    top: 20%;
    right: 3%;
  }

  .badge-3 {
    bottom: 25%;
    right: 5%;
  }
}

@media (min-width: 1024px) {
  .darkgen-section {
    padding: var(--section-padding-desktop);
  }

  .timeline-container {
    margin-bottom: 60px;
    padding: 0 40px;
  }

  .timeline-track {
    display: block;
    position: absolute;
    top: 160px;
    left: 100px;
    right: 100px;
    height: 4px;
    background: var(--bg-card-border);
    border-radius: 2px;
    z-index: 1;
  }

  .timeline-progress {
    height: 100%;
    width: 0%;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .timeline-glow {
    display: block;
    position: absolute;
    top: -8px;
    left: 0;
    height: 20px;
    width: 100%;
    background: linear-gradient(90deg, 
      transparent 0%, 
      var(--primary-glow) 20%,
      transparent 40%
    );
    opacity: 0;
    animation: timeline-glow-move 3s infinite linear;
  }

  @keyframes timeline-glow-move {
    0% {
      transform: translateX(-100%);
      opacity: 0;
    }
    10% {
      opacity: 1;
    }
    90% {
      opacity: 1;
    }
    100% {
      transform: translateX(200%);
      opacity: 0;
    }
  }

  .steps-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 0;
  }

  .steps-wrapper::after {
    display: none;
  }

  .step-item {
    flex-direction: column;
    align-items: center;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    flex: 1;
  }

  .step-item:hover,
  .step-item.active {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    transform: translateY(-8px);
  }

  .step-item::after {
    display: none;
  }

  .step-number {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 16px;
    margin-bottom: 16px;
    box-shadow: 0 4px 20px var(--primary-glow);
  }

  .step-icon {
    width: 90px;
    height: 90px;
    min-width: 90px;
    margin-bottom: 8px;
  }

  .step-item:hover .darkgen-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px var(--primary-glow));
  }

  .step-connector {
    display: block;
    position: absolute;
    top: 128px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
  }

  .connector-dot {
    width: 16px;
    height: 16px;
    background: var(--bg-card);
    border: 3px solid var(--bg-card-border);
    border-radius: 50%;
    transition: all 0.4s ease;
  }

  .step-item.active .connector-dot {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
  }

  .step-item:not(.active):hover .connector-dot {
    border-color: var(--primary);
  }

  .step-label {
    font-size: 16px;
    margin-top: 24px;
  }

  .details-container {
    padding: 0 40px;
  }

  .details-card {
    padding: 48px 60px;
    border-radius: 16px;
  }

  .details-card:hover .card-border {
    border-color: var(--primary);
    box-shadow: 
      0 0 40px rgba(0, 212, 255, 0.15),
      inset 0 0 40px rgba(0, 212, 255, 0.03);
  }

  .content-header {
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
  }

  .content-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
  }

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

  .content-header h3 {
    font-size: 1.75rem;
  }

  .card-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 32px;
  }

  .content-stats {
    display: flex;
    flex-direction: row;
    gap: 40px;
    padding-top: 24px;
  }

  .stat-item {
    align-items: flex-start;
    text-align: left;
    gap: 4px;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.85rem;
    letter-spacing: 1px;
  }

  .nav-arrow {
    width: 48px;
    height: 48px;
  }

  .nav-arrow svg {
    width: 20px;
    height: 20px;
  }

  .nav-prev {
    left: -24px;
  }

  .nav-next {
    right: -24px;
  }

  .step-indicators {
    gap: 12px;
    margin-top: 32px;
  }

  .indicator.active {
    width: 24px;
  }

  .badge {
    padding: 8px 16px;
    font-size: 12px;
  }

  .badge svg {
    width: 16px;
    height: 16px;
  }

  .badge-1 {
    top: 15%;
    left: 5%;
  }

  .badge-2 {
    top: 6%;
    right: 8%;
  }

  .badge-3 {
    bottom: 20%;
    right: 5%;
  }
}
@media (min-width: 1280px) {
  .darkgen-section {
    padding: 100px 60px 10px;
  }

  .section-title {
    font-size: 4.5rem;
  }

  .timeline-track {
    left: 120px;
    right: 120px;
  }

  .step-icon {
    width: 100px;
    height: 100px;
    min-width: 100px;
  }

  .details-card {
    padding: 56px 72px;
  }

  .content-header h3 {
    font-size: 1.9rem;
  }

  .card-content p {
    font-size: 1.1rem;
  }

  .content-stats {
    gap: 60px;
  }

  .stat-value {
    font-size: 1.75rem;
  }
}


@media (min-width: 1536px) {
  .darkgen-section {
    padding: 120px 80px 15px;
  }


  .timeline-container {
    max-width: 1400px;
  }

  .timeline-track {
    left: 140px;
    right: 140px;
    top: 170px;
  }

  .step-connector {
    top: 138px;
  }

  .step-icon {
    width: 110px;
    height: 110px;
    min-width: 110px;
  }

  .details-container {
    max-width: 1000px;
  }

  .details-card {
    padding: 64px 80px;
  }
}

/* 
   TOUCH DEVICE OPTIMIZATIONS
    */
@media (hover: none) and (pointer: coarse) {
  .step-item:hover {
    transform: none;
  }

  .step-item:hover .darkgen-icon {
    transform: none;
  }

  .nav-arrow:hover {
    transform: translateY(-50%);
  }

  .details-card:hover .card-glow {
    opacity: 0.1;
  }

  .details-card:hover .card-border {
    border-color: var(--bg-card-border);
    box-shadow: none;
  }

  .step-item {
    min-height: 70px;
  }

  .nav-arrow {
    width: 44px;
    height: 44px;
  }

  .indicator {
    width: 12px;
    height: 12px;
  }

  .indicator.active {
    width: 28px;
  }
}

/* 
  LANDSCAPE PHONE STYLES
    */
@media (max-width: 767px) and (orientation: landscape) {
  .darkgen-section {
    padding: 30px 24px 10px;
    min-height: auto;
  }

  .steps-wrapper {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
  }

  .step-item {
    flex-direction: column;
    padding: 10px 8px;
    text-align: center;
  }

  .step-item::after {
    display: none;
  }

  .step-number {
    width: 24px;
    height: 24px;
    min-width: 24px;
    font-size: 11px;
    margin-bottom: 6px;
  }

  .step-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }

  .step-label {
    font-size: 10px;
    margin-top: 4px;
  }

  .details-card {
    padding: 20px 16px;
  }

  .content-header h3 {
    font-size: 1rem;
  }

  .card-content p {
    font-size: 0.8rem;
    margin-bottom: 16px;
  }

  .content-stats {
    gap: 16px;
    padding-top: 16px;
  }

  .stat-value {
    font-size: 0.9rem;
  }

  .stat-label {
    font-size: 0.6rem;
  }
}

/* 
   SMALL PHONE STYLES (375px and below)
    */
@media (max-width: 375px) {
  .darkgen-section {
    padding: 32px 12px 10px;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .section-subtitle {
    font-size: 0.85rem;
    max-width: 260px;
  }

  .step-item {
    padding: 10px 12px;
    gap: 10px;
  }

  .step-number {
    width: 28px;
    height: 28px;
    min-width: 28px;
    font-size: 12px;
  }

  .step-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }

  .step-label {
    font-size: 13px;
  }

  .details-card {
    padding: 20px 16px;
  }

  .content-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .content-header h3 {
    font-size: 1rem;
  }

  .card-content p {
    font-size: 0.85rem;
  }

  .content-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat-item:last-child {
    grid-column: span 2;
  }

  .nav-prev {
    left: -4px;
  }

  .nav-next {
    right: -4px;
  }
}

