/* ===================================
   BUSINESS INDEX PAGE - MODERN STYLES
   =================================== */

/* Network Visualization */
.network-visualization {
  position: relative;
  width: 500px;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.network-globe {
  position: relative;
  width: 350px;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 6s ease-in-out infinite;
}

.globe-ring {
  position: absolute;
  border: 2px solid rgba(246, 135, 50, 0.3);
  border-radius: 50%;
  animation: rotate3d 20s linear infinite;
}

.globe-ring:nth-child(1) {
  width: 100%;
  height: 100%;
  border-color: rgba(246, 135, 50, 0.4);
  animation-duration: 15s;
}

.globe-ring:nth-child(2) {
  width: 80%;
  height: 80%;
  border-color: rgba(16, 185, 129, 0.3);
  animation-duration: 20s;
  animation-direction: reverse;
}

.globe-ring:nth-child(3) {
  width: 60%;
  height: 60%;
  border-color: rgba(59, 130, 246, 0.3);
  animation-duration: 25s;
}

@keyframes rotate3d {
  0% {
    transform: rotateY(0deg) rotateX(20deg);
  }
  100% {
    transform: rotateY(360deg) rotateX(20deg);
  }
}

/* Connection Points */
.connection-point {
  position: absolute;
  width: 16px;
  height: 16px;
  background: #f68732;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(246, 135, 50, 0.8);
  animation: pulse 2s ease-in-out infinite;
}

.connection-point::before {
  content: "";
  position: absolute;
  inset: -4px;
  border: 2px solid rgba(246, 135, 50, 0.4);
  border-radius: 50%;
  animation: ripple 2s ease-out infinite;
}

.point-pulse {
  position: absolute;
  inset: -8px;
  border: 2px solid rgba(246, 135, 50, 0.6);
  border-radius: 50%;
  animation: pulseRing 2s ease-out infinite;
}

.point-1 {
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0s;
}

.point-2 {
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
  animation-delay: 0.5s;
}

.point-3 {
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 1s;
}

.point-4 {
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  animation-delay: 1.5s;
}

@keyframes pulseRing {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Connection Lines SVG */
.connection-lines {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.data-flow {
  fill: none;
  stroke-width: 2;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: drawLine 3s ease-in-out infinite;
  filter: drop-shadow(0 0 8px currentColor);
}

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

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

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

@keyframes drawLine {
  0%,
  100% {
    stroke-dashoffset: 100;
    opacity: 0;
  }
  20%,
  80% {
    opacity: 1;
  }
  50% {
    stroke-dashoffset: 0;
  }
}

/* Network Hub (Center) */
.network-hub {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.hub-core {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #f68732 0%, #f57c00 100%);
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(246, 135, 50, 0.6), 0 0 60px rgba(246, 135, 50, 0.4),
    inset 0 0 20px rgba(255, 255, 255, 0.2);
  animation: corePulse 3s ease-in-out infinite;
}

@keyframes corePulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 30px rgba(246, 135, 50, 0.6),
      0 0 60px rgba(246, 135, 50, 0.4), inset 0 0 20px rgba(255, 255, 255, 0.2);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 40px rgba(246, 135, 50, 0.8),
      0 0 80px rgba(246, 135, 50, 0.6), inset 0 0 30px rgba(255, 255, 255, 0.3);
  }
}

.hub-ring {
  position: absolute;
  border: 2px solid rgba(246, 135, 50, 0.3);
  border-radius: 50%;
  animation: expandRing 3s ease-out infinite;
}

.hub-ring:nth-child(2) {
  width: 80px;
  height: 80px;
  animation-delay: 0s;
}

.hub-ring:nth-child(3) {
  width: 100px;
  height: 100px;
  animation-delay: 1s;
}

.hub-ring:nth-child(4) {
  width: 120px;
  height: 120px;
  animation-delay: 2s;
}

@keyframes expandRing {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

/* Floating Data Packets */
.data-packet {
  position: absolute;
  width: 32px;
  height: 32px;
  color: #10b981;
  filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.6));
  animation: floatPacket 8s ease-in-out infinite;
  opacity: 0;
}

.data-packet svg {
  width: 100%;
  height: 100%;
}

.packet-1 {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.packet-2 {
  top: 60%;
  right: 15%;
  animation-delay: 2.5s;
  color: #f68732;
}

.packet-3 {
  bottom: 25%;
  left: 20%;
  animation-delay: 5s;
  color: #3b82f6;
}

@keyframes floatPacket {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  50% {
    transform: translate(100px, -50px) rotate(180deg);
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translate(200px, 0) rotate(360deg);
    opacity: 0;
  }
}

/* Hero Section */
.business-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0f1419 0%, #1a1f2e 50%, #0f1419 100%);
}

.business-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 30% 50%,
      rgba(16, 185, 129, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 30%,
      rgba(59, 130, 246, 0.06) 0%,
      transparent 50%
    );
}

.network-animation {
  position: absolute;
  inset: 0;
  opacity: 0.3;
}

.network-node {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.6);
  animation: pulse 3s ease-in-out infinite;
}

.network-node:nth-child(1) {
  top: 20%;
  left: 15%;
  animation-delay: 0s;
}

.network-node:nth-child(2) {
  top: 60%;
  left: 25%;
  animation-delay: 1s;
}

.network-node:nth-child(3) {
  top: 40%;
  right: 20%;
  animation-delay: 2s;
}

.network-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, #10b981, transparent);
  animation: flow 4s linear infinite;
}

.network-line:nth-child(4) {
  top: 20%;
  left: 15%;
  width: 200px;
  transform: rotate(45deg);
}

.network-line:nth-child(5) {
  top: 60%;
  left: 25%;
  width: 300px;
  transform: rotate(-30deg);
  animation-delay: 2s;
}

.network-line:nth-child(6) {
  top: 40%;
  right: 20%;
  width: 250px;
  transform: rotate(15deg);
  animation-delay: 1s;
}

@keyframes flow {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.business-hero-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  z-index: 10;
}

.business-hero-content {
  z-index: 10;
}

.business-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 50px;
  color: #f68732;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.6s ease-out;
}

.business-hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.business-hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--color-gray-300);
  margin-bottom: 2.5rem;
  max-width: 600px;
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

.business-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: fadeInUp 0.6s ease-out 0.6s both;
}

.business-btn {
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.business-btn.primary {
  background: linear-gradient(135deg, #f68732 0%, #f57c00 100%);
  color: white;
  box-shadow: 0 4px 20px rgba(246, 135, 50, 0.3);
}

.business-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(246, 135, 50, 0.4);
}

.business-btn.secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.business-btn.secondary:hover {
  border-color: #f68732;
  background: rgba(246, 135, 50, 0.1);
  transform: translateY(-2px);
}

.business-hero-stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease-out 0.8s both;
}

.hero-stat-item {
  text-align: left;
}

.hero-stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: #f68732;
  line-height: 1;
  margin-bottom: 0.5rem;
  font-family: var(--font-primary);
}

.hero-stat-label {
  font-size: 0.875rem;
  color: var(--color-gray-400);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.business-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.8s ease-out 0.4s both;
}

.speed-display {
  position: absolute;
  top: 10%;
  left: 10%;
  z-index: 5;
}

.speed-display-inner {
  background: linear-gradient(135deg, #1a1f2e 0%, #252b3b 100%);
  border: 2px solid #f68732;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(246, 135, 50, 0.3);
  min-width: 180px;
  text-align: center;
  animation: float 6s ease-in-out infinite;
}

.speed-value {
  font-size: 4rem;
  font-weight: 900;
  color: #f68732;
  line-height: 1;
  font-family: var(--font-primary);
  margin-bottom: 0.5rem;
}

.speed-label {
  font-size: 1rem;
  color: var(--color-gray-300);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.speed-bars {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  align-items: flex-end;
  height: 40px;
}

.speed-bar {
  width: 8px;
  background: linear-gradient(180deg, #10b981 0%, #059669 100%);
  border-radius: 4px;
  animation: barGrow 1.5s ease-in-out infinite;
}

.speed-bar:nth-child(1) {
  height: 60%;
  animation-delay: 0s;
}

.speed-bar:nth-child(2) {
  height: 80%;
  animation-delay: 0.2s;
}

.speed-bar:nth-child(3) {
  height: 100%;
  animation-delay: 0.4s;
}

.speed-bar:nth-child(4) {
  height: 70%;
  animation-delay: 0.6s;
}

.speed-bar:nth-child(5) {
  height: 90%;
  animation-delay: 0.8s;
}

@keyframes barGrow {
  0%,
  100% {
    transform: scaleY(1);
    opacity: 1;
  }
  50% {
    transform: scaleY(1.2);
    opacity: 0.7;
  }
}

.hero-image-wrapper {
  position: relative;
  z-index: 1;
}

.hero-img {
  width: 100%;
  max-width: 500px;
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.4));
  animation: fadeInRight 1s ease-out 0.3s backwards;
}

/* Features Highlight */
.business-features-highlight {
  padding: 4rem 0;
  background: #23262b;
  position: relative;
  z-index: 10;
  margin-top: -50px;
}

.business-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.features-highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
/* Intro text above feature cards */
.business-intro-text-block {
  max-width: 900px;
  margin: 0 auto 2.5rem;
  text-align: center;
  color: #f68732;
}

.business-intro-title {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.business-intro-body {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--color-gray-300);
}

/* "Me Abissnet, ju përfitoni" heading above cards */
.features-highlight-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.features-highlight-heading {
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 1.25rem;
  color: #ffffff;
}

.feature-highlight-card {
  background: #fafafa;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(30px);
}

.feature-highlight-card[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-highlight-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.feature-highlight-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #f68732 0%, #f57c00 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: transform 0.3s ease;
}

.feature-highlight-card:hover .feature-highlight-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-highlight-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2c2c2c;
  margin-bottom: 0.75rem;
}

.feature-highlight-desc {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.6;
}

/* Why Choose Us */
.business-why-choose {
  padding: 6rem 0;
  background: var(--color-bg-darker);
}

.why-choose-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #f68732;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.25rem;
  color: white;
  max-width: 600px;
  margin: 0 auto;
}

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

.why-choose-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.why-choose-card[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

.why-choose-card:hover {
  transform: translateY(-8px);
  border-color: #f68732;
  background: rgba(246, 135, 50, 0.05);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.why-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #f68732 0%, #f57c00 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.why-choose-card:hover .why-icon {
  transform: scale(1.1) rotate(-5deg);
}

.why-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.why-desc {
  font-size: 1rem;
  color: var(--color-gray-400);
  line-height: 1.7;
}

/* Featured Service Card */
.service-card.featured {
  position: relative;
  border: 2px solid #f68732;
  background: linear-gradient(
    135deg,
    rgba(246, 135, 50, 0.05) 0%,
    transparent 100%
  );
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f68732 0%, #f57c00 100%);
  color: white;
  padding: 0.375rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(246, 135, 50, 0.4);
}

/* CTA Section */
.business-cta-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f68732 0%, #f57c00 100%);
  position: relative;
  overflow: hidden;
}

.business-cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
  opacity: 0.3;
}

.business-cta-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 10;
}

.business-cta-content {
  text-align: center;
}

.business-cta-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.business-cta-text {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.business-cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.cta-btn {
  padding: 1.25rem 2.5rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.cta-btn.primary {
  background: white;
  color: #f68732;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.cta-btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.cta-btn.secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.cta-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  transform: translateY(-3px);
}

.cta-features {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  font-size: 0.95rem;
  font-weight: 500;
}

.cta-feature svg {
  flex-shrink: 0;
}

/* ===================================
   RESPONSIVE MEDIA QUERIES
   =================================== */

/* Large Tablets and Small Desktops */
@media (max-width: 1024px) {
  /* Hero Section */
  .business-hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .business-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .business-hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .business-hero-stats {
    justify-content: center;
  }

  .speed-display {
    position: relative;
    top: auto;
    left: auto;
    margin-bottom: 2rem;
  }

  /* Network Visualization */
  .network-visualization {
    width: 400px;
    height: 400px;
  }

  .network-globe {
    width: 300px;
    height: 300px;
  }

  /* Features Highlight */
  .features-highlight-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Why Choose Us */
  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablets */
@media (max-width: 768px) {
  /* Hero Section */
  .business-hero {
    min-height: auto;
    padding: 4rem 0;
  }

  .business-hero-title {
    font-size: 2rem;
  }

  .business-hero-subtitle {
    font-size: 1rem;
  }

  .business-hero-stats {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }

  /* Network Visualization */
  .network-visualization {
    width: 320px;
    height: 320px;
  }

  .network-globe {
    width: 250px;
    height: 250px;
  }

  .hub-core {
    width: 50px;
    height: 50px;
  }

  .connection-point {
    width: 12px;
    height: 12px;
  }

  .data-packet {
    width: 24px;
    height: 24px;
  }

  .speed-value {
    font-size: 3rem;
  }

  /* Features Highlight */
  .features-highlight-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Why Choose Us */
  .why-choose-grid {
    grid-template-columns: 1fr;
  }

  /* CTA Section */
  .business-cta-actions {
    flex-direction: column;
  }

  .cta-btn {
    width: 100%;
    justify-content: center;
  }

  .cta-features {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Mobile Phones */
@media (max-width: 480px) {
  /* Hero Section */
  .business-hero-title {
    font-size: 1.75rem;
  }

  .hero-stat-number {
    font-size: 2rem;
  }

  .business-btn {
    width: 100%;
    justify-content: center;
  }

  /* Network Visualization */
  .network-visualization {
    width: 280px;
    height: 280px;
  }

  .network-globe {
    width: 220px;
    height: 220px;
  }
}
