/*============================================
  DARK FIBER PAGE - OPTION 3 (HYBRID)
  Blends V1.5 conventions with unique fiber aesthetics
  Uses EverFast brand colors with fiber-themed accents
  ============================================ */

/*============================================
  CUSTOM PROPERTIES - FIBER ACCENTS
  ============================================ */
:root {
  --fiber-glow: rgba(0, 153, 255, 0.5);
  --fiber-blue: #0099ff;
  --dark-bg: #0a1628;
  --dark-surface: #132238;
}

/*============================================
  DARK HERO SECTION
  ============================================ */
.df-hero {
  position: relative;
  background: linear-gradient(135deg, var(--dark-bg) 0%, #001a33 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.df-hero__canvas {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.df-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 22, 40, 0.5) 100%);
  z-index: 2;
}

.df-hero .container {
  z-index: 10;
}

.min-vh-75 {
  min-height: 75vh;
}

.df-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(239, 177, 58, 0.15);
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.df-hero__pulse {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 5px var(--color-accent), 0 0 10px var(--color-accent);
  }
  50% {
    box-shadow: 0 0 15px var(--color-accent), 0 0 25px var(--color-accent), 0 0 35px var(--color-accent);
  }
}

.df-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, 3.5rem);
  color: white;
  font-weight: 700;
  line-height: 1.2;
  animation: heroFadeSlideUp 0.8s ease-out 0.15s forwards;
}

.df-hero__title-accent {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, 3.5rem);
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: heroFadeSlideUp 0.8s ease-out 0.15s forwards;
}

.df-hero__text {
  font-family: var(--font-body);
  font-size: clamp(1rem, 3vw, 1.5rem);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: heroFadeSlideUp 0.8s ease-out 0.15s forwards;
}

.df-hero__btn-outline {
  background-color: transparent;
  color: white;
  font-weight: 500;
  font-size: 0.875rem;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 1.5625rem;
  min-width: 8rem;
  padding: 0.5rem 1.25rem;
  transition: all 0.3s ease;
}

.df-hero__btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: white;
  color: white;
  transform: translateY(-2px);
}

/*============================================
  STATS SECTION (DARK)
  ============================================ */
.df-stats {
  background: var(--dark-bg);
  position: relative;
}

.df-stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--fiber-blue), transparent);
}

.df-stats__card {
  background: var(--dark-surface);
  border: 1px solid rgba(0, 153, 255, 0.2);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.df-stats__card:hover {
  border-color: var(--fiber-blue);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 153, 255, 0.15);
}

.df-stats__number {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.df-stats__icon {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.df-stats__label {
  font-family: var(--font-body);
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(0.75rem, 2vw, 0.9rem);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.df-stats__fiber-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--fiber-blue), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.df-stats__card:hover .df-stats__fiber-line {
  opacity: 1;
  animation: fiber-flow 1.5s linear infinite;
}

@keyframes fiber-flow {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/*============================================
  OVERVIEW SECTION (LIGHT - V1.5 STYLE)
  ============================================ */
.df-overview__card {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--color-accent);
}

.df-overview__text {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 3vw, 1.125rem);
  color: #555;
  line-height: 1.8;
}

.df-overview__text strong {
  color: var(--color-primary);
}

/* Fiber Visual Animation */
.df-fiber-visual {
  /* background: linear-gradient(135deg, var(--color-primary) 0%, #003f7f 100%); */
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.df-fiber-visual__strand {
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}

.df-fiber-visual__pulse {
  position: absolute;
  top: 0;
  left: -60%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--color-accent), rgba(255, 255, 255, 0.8), var(--color-accent), transparent);
  border-radius: 3px;
  animation: fiber-pulse 2.5s ease-in-out infinite;
}

.df-fiber-visual__strand:nth-child(1) .df-fiber-visual__pulse { animation-delay: 0s; }
.df-fiber-visual__strand:nth-child(2) .df-fiber-visual__pulse { animation-delay: 0.4s; }
.df-fiber-visual__strand:nth-child(3) .df-fiber-visual__pulse { animation-delay: 0.8s; }
.df-fiber-visual__strand:nth-child(4) .df-fiber-visual__pulse { animation-delay: 1.2s; }

@keyframes fiber-pulse {
  0% {
    left: -60%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

.df-fiber-visual__label {
  font-family: var(--font-heading);
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 1rem;
}

@media (max-width: 767px) {
  .df-overview__card {
    padding: 2rem 1.5rem;
  }

  .df-fiber-visual {
    padding: 2rem 1.5rem;
    margin-top: 2rem;
  }
}

/*============================================
  BENEFITS SECTION (LIGHT WITH HOVER EFFECTS)
  ============================================ */
.df-benefits__card {
  border-radius: var(--radius-md);
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.df-benefits__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.df-benefits__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 82, 155, 0.15);
  border-color: rgba(0, 82, 155, 0.1);
}

.df-benefits__card:hover::before {
  transform: scaleX(1);
}

.df-benefits__icon {
  width: clamp(50px, 8vw, 60px);
  height: clamp(50px, 8vw, 60px);
  background: var(--gradient-gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}

.df-benefits__icon i {
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: white;
}

.df-benefits__card:hover .df-benefits__icon {
  transform: scale(1.1);
  box-shadow: 0 5px 20px rgba(239, 177, 58, 0.4);
}

.df-benefits__title {
  font-family: var(--font-heading);
  color: var(--color-accent);
  font-size: clamp(1.1rem, 3vw, 1.25rem);
  font-weight: 600;
}

.df-benefits__description {
  font-family: var(--font-body);
  color: white;
  font-size: clamp(0.875rem, 2.5vw, 1rem);
  line-height: 1.6;
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .df-benefits__card {
    text-align: center;
  }

  .df-benefits__icon {
    margin-left: auto;
    margin-right: auto;
  }
}

/*============================================
  WHY CHOOSE SECTION (DARK)
  ============================================ */
.df-why-choose {
  background: linear-gradient(135deg, var(--color-primary) 0%, #003f7f 100%);
  position: relative;
  overflow: hidden;
}

.df-why-choose::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 30%, rgba(239, 177, 58, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
  pointer-events: none;
}

.df-why-choose__text {
  font-family: var(--font-body);
  font-size: clamp(0.875rem, 2.5vw, 1rem);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

.df-why-choose__text strong {
  color: var(--color-accent);
}

.df-why-choose__card {
  border-radius: var(--radius-md);
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
  text-align: center;
}

.df-why-choose__card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.3);
}

.df-why-choose__icon {
  width: clamp(50px, 8vw, 60px);
  height: clamp(50px, 8vw, 60px);
  background: var(--gradient-gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  transition: all 0.3s ease;
}

.df-why-choose__icon i {
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: white;
}

.df-why-choose__card:hover .df-why-choose__icon {
  transform: scale(1.1);
  box-shadow: 0 5px 25px rgba(239, 177, 58, 0.5);
}

.df-why-choose__card-title {
  font-family: var(--font-heading);
  color: var(--color-accent);
  font-size: clamp(1.1rem, 3vw, 1.25rem);
  font-weight: 600;
}

.df-why-choose__card-text {
  font-family: var(--font-body);
  color: white;
  font-size: clamp(0.875rem, 2.5vw, 1rem);
  line-height: 1.6;
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .df-why-choose .section__title {
    text-align: center;
  }

  .df-why-choose__text {
    text-align: center;
  }
}

/*============================================
  NETWORK SECTION (LIGHT)
  ============================================ */
.df-network__text {
  font-family: var(--font-body);
  color: #555;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}

.df-network__map-placeholder {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 2px dashed rgba(0, 82, 155, 0.3);
  border-radius: var(--radius-md);
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}

.df-network__map-nodes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.df-network__node {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--color-primary);
  border-radius: 50%;
  animation: node-pulse 3s ease-in-out infinite;
}

.df-network__node::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  opacity: 0;
  animation: node-ring 3s ease-in-out infinite;
}

.df-network__node--1 { top: 20%; left: 15%; animation-delay: 0s; }
.df-network__node--2 { top: 35%; right: 20%; animation-delay: 0.5s; }
.df-network__node--3 { top: 60%; left: 30%; animation-delay: 1s; }
.df-network__node--4 { bottom: 25%; right: 35%; animation-delay: 1.5s; }
.df-network__node--5 { top: 45%; left: 55%; animation-delay: 2s; }

@keyframes node-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 82, 155, 0.4);
  }
  50% {
    transform: scale(1.2);
    box-shadow: 0 0 10px 5px rgba(0, 82, 155, 0.2);
  }
}

@keyframes node-ring {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0.5;
  }
}

.df-network__map-content {
  font-family: var(--font-body);
  position: relative;
  text-align: center;
  z-index: 2;
}

.df-network__map-content i {
  font-size: clamp(3rem, 6vw, 4rem);
  color: var(--color-primary);
  opacity: 0.5;
  margin-bottom: 1rem;
  display: block;
}

.df-network__map-content h3 {
  color: var(--color-primary);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.df-network__map-content p {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.df-network__map-content span {
  color: #666;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
}

@media (max-width: 767px) {
  .df-network__map-placeholder {
    padding: 3rem 1.5rem;
  }
}

/*============================================
  CONTACT SECTION
  ============================================ */
.df-contact {
  background: linear-gradient(135deg, rgba(0, 82, 155, 0.03) 0%, rgba(239, 177, 58, 0.03) 100%);
}

.df-contact .contact-card {
  border-top: 4px solid var(--color-accent);
}

@media (max-width: 767px) {
  .df-contact .contact-card {
    padding: 2rem 1.5rem;
  }
}

/*============================================
  UTILITY CLASSES
  ============================================ */
.text-gold {
  color: var(--color-accent);
}
