/* =============================== */
/* TECHNOLOGY PAGE - PREMIUM STYLE */
/* =============================== */

/* ===== HERO SECTION ===== */
.tech-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0f1a 0%, #1a1f3a 50%, #0d1225 100%);
}

#tech-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
  z-index: 2;
}

.tech-hero .hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 20px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 30px;
  backdrop-filter: blur(10px);
}

.tech-hero h1 {
  font-size: 4.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, #60a5fa, #a78bfa, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.typing-tech {
  color: #60a5fa;
  border-right: 3px solid #60a5fa;
  padding-right: 5px;
  animation: blink 0.7s step-end infinite;
}

@keyframes blink {
  from, to { border-color: transparent; }
  50% { border-color: #60a5fa; }
}

.hero-desc {
  font-size: 1.3rem;
  color: #94a3b8;
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats-mini {
  display: flex;
  justify-content: center;
  gap: 60px;
}

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

.mini-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
}

.mini-label {
  display: block;
  font-size: 0.9rem;
  color: #64748b;
  margin-top: 5px;
}

.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 3;
}

.scroll-icon {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  position: relative;
}

.scroll-icon::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: #60a5fa;
  border-radius: 2px;
  animation: scroll-down 1.5s infinite;
}

@keyframes scroll-down {
  0% { opacity: 1; top: 8px; }
  100% { opacity: 0; top: 22px; }
}

.scroll-hint span {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.7rem;
  letter-spacing: 2px;
}

/* ===== SECTION COMMON ===== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 20px;
  color: #60a5fa;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.section-header h2 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 15px;
}

.section-header p {
  font-size: 1.1rem;
  color: #64748b;
}

/* ===== ORBIT SECTION ===== */
.tech-orbit-section {
  padding: 120px 10%;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  position: relative;
  overflow: hidden;
}

.orbit-container {
  position: relative;
  width: 500px;
  height: 500px;
  margin: 0 auto 60px;
}

.orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.orbit-center img {
  width: 60px;
  height: auto;
}

.pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border: 2px solid rgba(59, 130, 246, 0.3);
  border-radius: 50%;
  animation: pulse-expand 3s ease-out infinite;
}

.pulse-ring.delay-1 { animation-delay: 1s; }
.pulse-ring.delay-2 { animation-delay: 2s; }

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

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px dashed rgba(59, 130, 246, 0.2);
  border-radius: 50%;
}

.orbit-1 {
  width: 200px;
  height: 200px;
  animation: orbit-rotate 20s linear infinite;
}

.orbit-2 {
  width: 320px;
  height: 320px;
  animation: orbit-rotate 30s linear infinite reverse;
}

.orbit-3 {
  width: 440px;
  height: 440px;
  animation: orbit-rotate 40s linear infinite;
}

@keyframes orbit-rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.orbit-item {
  position: absolute;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(59, 130, 246, 0.4);
}

.orbit-item:hover {
  transform: scale(1.2);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.6);
}

.orbit-item i {
  font-size: 1.5rem;
  color: #fff;
}

/* Position orbit items */
.orbit-1 .orbit-item:nth-child(1) { top: -30px; left: 50%; transform: translateX(-50%); }

.orbit-2 .orbit-item:nth-child(1) { top: 50%; left: -30px; transform: translateY(-50%); }
.orbit-2 .orbit-item:nth-child(2) { top: 50%; right: -30px; transform: translateY(-50%); }

.orbit-3 .orbit-item:nth-child(1) { top: -30px; left: 50%; transform: translateX(-50%); }
.orbit-3 .orbit-item:nth-child(2) { bottom: 50px; left: 30px; }
.orbit-3 .orbit-item:nth-child(3) { bottom: 50px; right: 30px; }

.tech-info-panel {
  max-width: 600px;
  margin: 0 auto;
  padding: 30px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.tech-info-panel h3 {
  color: #1e293b;
  margin-bottom: 10px;
}

.tech-info-panel p {
  color: #64748b;
}

/* ===== FLIP CARDS ===== */
.tech-cards-section {
  padding: 120px 10%;
  background: #fff;
}

.flip-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.flip-card {
  height: 400px;
  perspective: 1000px;
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner,
.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 20px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.flip-card-front {
  color: #fff;
}

.flip-card-front.ai-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.flip-card-front.network-card {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.flip-card-front.cloud-card {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.flip-card-front.media-card {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.card-icon {
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  backdrop-filter: blur(10px);
}

.card-icon i {
  font-size: 2.5rem;
  color: #fff;
}

.flip-card-front h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.flip-card-front p {
  font-size: 0.95rem;
  opacity: 0.9;
}

.card-hint {
  position: absolute;
  bottom: 20px;
  font-size: 0.8rem;
  opacity: 0.7;
  animation: pulse-hint 2s infinite;
}

@keyframes pulse-hint {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.flip-card-back {
  background: #fff;
  transform: rotateY(180deg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  align-items: flex-start;
  text-align: left;
}

.flip-card-back h3 {
  color: #1e293b;
  font-size: 1.4rem;
  margin-bottom: 20px;
  width: 100%;
  padding-bottom: 15px;
  border-bottom: 2px solid #e2e8f0;
}

.tech-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  width: 100%;
}

.tech-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: #475569;
  font-size: 0.9rem;
}

.tech-list li i {
  color: #22c55e;
  font-size: 0.8rem;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.tech-tags span {
  padding: 5px 12px;
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  border-radius: 15px;
  font-size: 0.75rem;
  color: #0284c7;
  font-weight: 600;
}

/* ===== TIMELINE ===== */
.tech-timeline-section {
  padding: 120px 10%;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

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

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #3b82f6, #8b5cf6, #06b6d4);
  transform: translateX(-50%);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 30px;
}

.timeline-item.left {
  left: 0;
  padding-right: 60px;
  text-align: right;
}

.timeline-item.right {
  left: 50%;
  padding-left: 60px;
  text-align: left;
}

.timeline-content {
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: all 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.timeline-year {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: #fff;
  border-radius: 20px;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 15px;
}

.timeline-content h3 {
  color: #1e293b;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.timeline-content p {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
}

.timeline-icon {
  position: absolute;
  width: 50px;
  height: 50px;
  background: #fff;
  border: 4px solid #3b82f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.timeline-item.left .timeline-icon {
  right: -85px;
  top: 50%;
  transform: translateY(-50%);
}

.timeline-item.right .timeline-icon {
  left: -85px;
  top: 50%;
  transform: translateY(-50%);
}

.timeline-icon i {
  font-size: 1.2rem;
  color: #3b82f6;
}

/* ===== PARTNERS CAROUSEL ===== */
.tech-partners-section {
  padding: 100px 0;
  background: #fff;
  overflow: hidden;
}

.partners-carousel {
  width: 100%;
  overflow: hidden;
  margin-top: 40px;
}

.partners-track {
  display: flex;
  gap: 60px;
  animation: scroll-partners 25s linear infinite;
  width: max-content;
}

.partners-track:hover {
  animation-play-state: paused;
}

@keyframes scroll-partners {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.partner-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 30px 40px;
  background: #f8fafc;
  border-radius: 16px;
  transition: all 0.3s ease;
  min-width: 150px;
}

.partner-logo-item:hover {
  background: #fff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.partner-logo-item i {
  font-size: 3rem;
  color: #64748b;
  transition: all 0.3s ease;
}

.partner-logo-item:hover i {
  color: #3b82f6;
  transform: scale(1.1);
}

.partner-logo-item span {
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 600;
}

/* ===== METRICS SECTION ===== */
.tech-metrics-section {
  padding: 120px 10%;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  position: relative;
  overflow: hidden;
}

.metrics-bg-animation {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.1) 0%, transparent 40%);
  animation: float-bg 10s ease-in-out infinite alternate;
}

@keyframes float-bg {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.1) translate(20px, -20px); }
}

.tech-metrics-section .section-header h2 {
  color: #fff;
}

.tech-metrics-section .section-header p {
  color: #94a3b8;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.metric-card {
  text-align: center;
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.metric-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.metric-circle {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 25px;
}

.metric-circle svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.metric-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 8;
}

.metric-progress {
  fill: none;
  stroke: url(#metric-gradient);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  transition: stroke-dashoffset 2s ease-out;
}

.metric-value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
}

.metric-card h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.metric-card p {
  color: #94a3b8;
  font-size: 0.9rem;
}

/* ===== CTA SECTION ===== */
.tech-cta-section {
  padding: 150px 10%;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #06b6d4 100%);
  position: relative;
  overflow: hidden;
}

.cta-particles {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255,255,255,0.1) 2px, transparent 2px),
    radial-gradient(circle at 90% 80%, rgba(255,255,255,0.1) 2px, transparent 2px),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.05) 3px, transparent 3px);
  background-size: 100px 100px, 150px 150px, 200px 200px;
  animation: float-particles 20s linear infinite;
}

@keyframes float-particles {
  0% { transform: translateY(0); }
  100% { transform: translateY(-100px); }
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.3;
}

.cta-content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: #fff;
  color: #3b82f6;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

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

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .flip-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .tech-hero h1 {
    font-size: 2.5rem;
  }

  .hero-stats-mini {
    flex-direction: column;
    gap: 30px;
  }

  .orbit-container {
    width: 300px;
    height: 300px;
  }

  .orbit-1 { width: 120px; height: 120px; }
  .orbit-2 { width: 200px; height: 200px; }
  .orbit-3 { width: 280px; height: 280px; }

  .orbit-item {
    width: 45px;
    height: 45px;
  }

  .orbit-item i {
    font-size: 1rem;
  }

  .flip-cards-grid {
    grid-template-columns: 1fr;
  }

  .flip-card {
    height: 350px;
  }

  .timeline-line {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 60px !important;
    padding-right: 20px !important;
    text-align: left !important;
  }

  .timeline-item.left,
  .timeline-item.right {
    left: 0;
  }

  .timeline-icon {
    left: -5px !important;
    right: auto !important;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .section-header h2 {
    font-size: 2rem;
  }
}
