/* ==== NAVBAR V2 ==== */
.v2-navbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  background: #0006101a;
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  transition: all 0.3s ease;
}

.v2-navbar-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 35px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.v2-navbar-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.v2-navbar-logo:hover {
  opacity: 0.8;
}

.v2-logo-img {
  height: 24px;
  width: auto;
  display: block;
}

/* Scrolled state - more opaque */
.v2-navbar.scrolled {
  background: rgba(0, 6, 16, 0.85);
  padding: 15px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media screen and (max-width: 768px) {
  .v2-navbar {
    padding: 15px 0;
  }

  .v2-navbar-container {
    padding: 0 20px;
  }

  .v2-logo-img {
    height: 28px;
  }
}

@media screen and (max-width: 480px) {
  .v2-logo-img {
    height: 24px;
  }
}

/* ==== HERO SECTION ==== */
.v2-hero-section {
  position: relative;
  height: 711px;
  background: #000000;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 80px 0;
}

/* Container */
.v2-hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 35px;
  width: 100%;
  position: relative;
  z-index: 2;
}

/* Left Content Area */
.v2-hero-content {
  max-width: 750px;
  position: relative;
  z-index: 9;
}

/* Hero Title */
.v2-hero-title {
  font-size: 56px;
  font-weight: 300;
  line-height: 1.1;
  color: #ffffff;
  margin: 0 0 22px 0;
}

.v2-hero-title-highlight {
  background: linear-gradient(90deg, #2d5de9, #34ffc3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  /* Optional for Firefox */
  background-clip: text;
  color: transparent;
}

/* Hero Description */
.v2-hero-description {
  font-size: 20px;
  line-height: 150%;
  color: #a7adbe;
  font-weight: 300;
  text-align: left;
  margin: 0 0 40px 0;
}

/* Buttons Container */
.v2-hero-buttons {
  display: flex;
  gap: 20px;
  align-items: center;
}

/* Primary Button */
.v2-btn-primary {
  background: #0044dd;
  color: #ffffff;
  padding: 16px 32px;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border: 2px solid #0044dd;
}

.v2-btn-primary:hover {
  background: #0044dd;
  border-color: #0044dd;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow:
    0 10px 25px rgba(0, 68, 221, 0.4),
    0 0 0 4px rgba(0, 68, 221, 0.15);
}

/* Secondary Button */
.v2-btn-secondary {
  background: transparent;
  color: #ffffff;
  padding: 16px 32px;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border: 2px solid #0044dd;
}

.v2-btn-secondary:hover {
  color: #ffffff;
  border-color: #2d5de9;
  background: rgba(45, 93, 233, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(45, 93, 233, 0.25);
}

/* Right Visual Area - Floating/Absolute Position */
.v2-hero-visual {
  position: absolute;
  right: -50%;
  top: 46%;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
}

/* Hero Video */
.v2-hero-visual video {
  width: 1770px;
  height: 1148px;
  display: block;
  object-fit: contain;
  /* keeps full video visible */
}

.v2-hero-blue-glow-top {
  position: absolute;
  width: 641px;
  height: 641px;
  background: #0044dd;
  opacity: 0.4;
  border-radius: 100%;
  filter: blur(400px);
  z-index: 4;
  top: -95%;
  left: 25%;
}

.v2-hero-blue-glow-left-bottom {
  position: absolute;
  width: 641px;
  height: 641px;
  background: #0044dd;
  opacity: 0.4;
  border-radius: 100%;
  filter: blur(400px);
  z-index: 5;
  bottom: -50%;
  left: 0%;
}

.v2-hero-blue-glow-top-right {
  position: absolute;
  width: 641px;
  height: 641px;
  background: #0044dd;
  opacity: 0.4;
  border-radius: 100%;
  filter: blur(400px);
  z-index: 6;
  top: -83%;
  right: -13%;
}

/* .v2-hero-black-gradient {
  position: absolute;
  width: 100%;
  height: 438px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 100%
  );
  z-index: 2;
  bottom: 0;
} */

/* Responsive Design */
@media screen and (max-width: 1200px) {
  .v2-hero-container {
    padding: 0 40px;
    gap: 60px;
  }

  .v2-hero-title {
    font-size: 56px;
  }

  .v2-hero-description {
    font-size: 17px;
  }
}

@media screen and (max-width: 992px) {
  .v2-hero-container {
    flex-direction: column;
    text-align: center;
    gap: 50px;
  }

  .v2-hero-content {
    max-width: 100%;
  }

  .v2-hero-title {
    font-size: 48px;
  }

  .v2-hero-buttons {
    justify-content: center;
  }

  .v2-hero-visual {
    max-width: 500px;
  }
}

@media screen and (max-width: 768px) {
  .v2-hero-section {
    padding: 60px 0;
    min-height: auto;
  }

  .v2-hero-container {
    padding: 0 30px;
  }

  .v2-hero-title {
    font-size: 40px;
  }

  .v2-hero-description {
    font-size: 16px;
  }

  .v2-hero-description br {
    display: none;
  }

  .v2-hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .v2-btn-primary,
  .v2-btn-secondary {
    width: 100%;
    text-align: center;
  }
}

@media screen and (max-width: 480px) {
  .v2-hero-title {
    font-size: 32px;
  }

  .v2-hero-description {
    font-size: 15px;
  }

  .v2-btn-primary,
  .v2-btn-secondary {
    padding: 14px 24px;
    font-size: 15px;
  }
}

/* ==== TRUSTED BY SECTION ==== */
.v2-trusted-by-section {
  position: relative;
  height: 351px;
  display: flex;
  align-items: center;
  z-index: 50;
  /* Increased to stay above hero bottom and other elements */
  padding: 0;
  /* overflow: hidden; */
  /* Removed to allow popovers to pop out */
}

/* Blurred background layer */
.v2-trusted-by-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, #000000 50%, rgba(0, 0, 0, 0) 100%),
    url("../img/trusted-logos-bg.png");
  background-size: cover;
  background-position: left;
  background-repeat: no-repeat;
  filter: blur(5px);
  transform: scale(1.05);
  z-index: -1;
  clip-path: inset(0);
  /* Contains the blurred background without using overflow: hidden on parent */
}

.v2-trusted-container {
  max-width: 1400px;
  margin: 0 auto;
  padding-bottom: 35px;
  width: 100%;
}

.v2-trusted-heading {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #a7adbe;
  margin-bottom: 40px;
  font-weight: 600;
  opacity: 0.8;
  text-align: center;
}

.v2-trusted-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 75px;
  flex-wrap: wrap;
  position: relative;
}

.v2-trusted-logo-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.v2-trusted-logo {
  height: 30px;
  width: auto;
  opacity: 0.5;
  transition: all 0.3s ease;
  cursor: pointer;
}

.v2-trusted-logo-item:hover .v2-trusted-logo {
  opacity: 1;
  transform: scale(1.1);
}

/* Popover / Contents Section */
.v2-logo-popover {
  position: absolute;
  bottom: calc(100% + 15px);
  /* Slightly closer for tighter bridge */
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  width: 450px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 99999;
  /* Extremely high to stay above hero */
  pointer-events: none;
}

/* Bridge pseudo-element to maintain hover state while moving mouse to popover */
.v2-logo-popover::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 25px;
  /* Bridges the 15px gap + some extra safety */
  background: transparent;
  pointer-events: auto;
}

.v2-trusted-logo-item:hover .v2-logo-popover {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.v2-popover-inner {
  background: rgba(0, 10, 30, 0.9);
  /* Slightly more opaque for better legibility above content */
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  text-align: left;
  position: relative;
}

.v2-popover-inner p {
  color: #e2e8f0;
  /* Slightly brighter text for contrast */
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  font-weight: 400;
}

.v2-popover-link {
  color: #3b82f6;
  /* More vibrant blue */
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.v2-popover-link:hover {
  gap: 10px;
  color: #60a5fa;
}

/* Arrow for popover - Pointing DOWN */
.v2-popover-inner::after {
  content: "";
  position: absolute;
  bottom: -6px;
  /* Positioned at bottom */
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: rgba(0, 10, 30, 0.9);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* Divider */
.v2-trusted-divider {
  height: 2px;
  width: 100%;
  background: linear-gradient(to right, #000000, #001d3f, #000000);
  margin: 40px 0;
  /* Adjust spacing as needed */
  border: none;
}

/* Badges */
.v2-trusted-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.v2-badge {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 12px;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);

  width: fit-content;
  height: fit-content;
}

.v2-badge:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.2);
}

.v2-badge-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.v2-badge span {
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* Responsive for Trusted By */
@media screen and (max-width: 992px) {
  .v2-trusted-logos {
    gap: 50px;
    margin-bottom: 60px;
  }
}

@media screen and (max-width: 768px) {
  .v2-trusted-by-section {
    padding-bottom: 60px;
  }

  .v2-trusted-logos {
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .v2-trusted-logo {
    height: 24px;
  }

  .v2-trusted-badges {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .v2-badge {
    width: 100%;
    max-width: 320px;
    justify-content: flex-start;
  }
}

/* ==== PAIN POINTS SECTION ==== */
.v2-pain-points-section {
  background-color: #000610;
  padding-top: 100px;
  position: relative;
  /* Ensure it sits above any absolute background if needed, or match z-index context */
  z-index: 2;
}

.v2-pain-points-container {
  max-width: 1240px;
  margin: 0 auto;
}

.v2-pain-points-heading {
  font-size: 48px;
  font-weight: 300;
  line-height: 120%;
  color: #ffffff;
  margin-bottom: 16px;
  text-align: center;
}

.v2-pain-points-subtitle {
  text-align: center;
  color: #a7adbe;
  font-size: 18px;
  margin-bottom: 60px;
  opacity: 0.7;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

.v2-pain-points-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.v2-pain-card {
  background: #000529;
  border-radius: 16px;
  padding: 32px;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  position: relative;
}

.v2-pain-card:hover {
  transform: translateY(-5px);
}

.v2-pain-icon-wrapper {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  height: 48px;
}

.v2-pain-icon {
  width: auto;
  height: 48px;
  object-fit: contain;
}

.v2-pain-title {
  color: #ffffff;
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 16px;
  line-height: 1.2;
}

.v2-pain-text {
  color: #a7adbe;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  font-weight: 400;
}

.v2-pain-text strong {
  font-weight: 700;
}

/* Responsive adjustments */
@media screen and (max-width: 992px) {
  .v2-pain-points-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .v2-pain-points-grid {
    grid-template-columns: 1fr;
  }

  .v2-pain-card {
    padding: 30px;
  }

  .v2-pain-points-heading {
    margin-bottom: 40px;
    font-size: 14px;
    padding: 0 10px;
  }
}

/* ==== INFRASTRUCTURE SECTION ==== */
.v2-infrastructure-section {
  position: relative;
  padding-top: 7rem;
  /* padding-bottom: 7rem; */
  overflow: hidden;
  background: #000610;
  color: #ffffff;
}

/* Background Image Layer */
.v2-infra-bg-layer {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 883px;
  height: 320px;
  z-index: 1;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.v2-infra-bg-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 0.8;
  mix-blend-mode: screen;
}

.v2-infra-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
  text-align: center;
}

.v2-infra-title {
  font-size: 48px;
  font-weight: 300;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.v2-infra-subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: #a7adbe;
  max-width: 700px;
  margin: 0 auto 60px auto;
  font-weight: 300;
}

.v2-text-highlight-green {
  color: #34ffc3;
  font-weight: 600;
}

/* Infrastructure Badges */
.v2-infra-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.v2-infra-badge {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 12px;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.3s ease;
}

.v2-infra-badge:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.v2-infra-badge-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.v2-infra-badge span {
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* Grid Layout - 4 columns */
.v2-infra-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: left;
}

/* Feature Cards (First 3 columns) */
.v2-infra-feature-card {
  background: transparent;
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border: 1px solid #ffffff1a;
  position: relative;
  overflow: hidden;
}

.v2-infra-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(45, 93, 233, 0.15);
  border-color: rgba(45, 93, 233, 0.3);
}

.v2-feature-icon-wrapper {
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.v2-feature-icon {
  width: 48px;
  height: 48px;
  display: block;
}

.v2-feature-text {
  flex: 1;
  position: relative;
  z-index: 1;
}

.v2-feature-title {
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 12px 0;
  color: #ffffff;
  line-height: 1.2;
}

.v2-feature-desc {
  font-size: 16px;
  line-height: 1.5;
  color: #a7adbe;
  margin: 0;
  font-weight: 400;
}

/* GraphBit Card (4th column) */
.v2-graphbit-card {
  background: linear-gradient(158deg,
      rgba(108, 79, 247, 0.15) 0%,
      rgba(63, 46, 145, 0.15) 50%);
  border-radius: 20px;
  padding: 40px 32px 0 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.v2-graphbit-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 30px;
}

.v2-graphbit-logo {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 20px rgba(255, 255, 255, 0.2));
}

.v2-graphbit-title {
  font-size: 28px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.5px;
}

.v2-graphbit-link {
  width: calc(100% + 64px);
  margin: 0 -32px;
  padding: 18px 32px;
  background: #ffffff0d;
  color: #34ffc3;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  display: flex;
  justify-content: center;
  gap: 8px;
  align-items: center;
  transition: all 0.3s ease;
}

.v2-graphbit-link:hover {
  color: #ffffff;
}

.v2-arrow {
  font-size: 18px;
  transition: transform 0.3s ease;
  display: inline-block;
}

.v2-graphbit-link:hover .v2-arrow {
  transform: translateX(4px);
}

/* Responsive */
@media screen and (max-width: 1024px) {
  .v2-infra-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .v2-graphbit-card {
    grid-column: span 2;
  }
}

@media screen and (max-width: 768px) {
  .v2-infra-title {
    font-size: 36px;
  }

  .v2-infra-subtitle {
    font-size: 15px;
  }

  .v2-infra-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .v2-graphbit-card {
    grid-column: span 1;
    min-height: 350px;
  }

  .v2-infra-feature-card {
    padding: 28px 24px;
  }
}

/* ==== ENGINE SECTION ==== */
.v2-engine-section {
  background-color: #000610;
  color: #ffffff;
  position: relative;
}

.v2-engine-header-text h1 {
  text-align: center;
  color: #ffffff;
  font-size: 48px;
  line-height: 1.2;
  margin: 0 auto 16px auto;
  font-weight: 300;
}

.v2-engine-header-text p {
  text-align: center;
  color: #a7adbe;
  font-size: 18px;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto 60px auto;
  font-weight: 400;
}

.v2-engine-header-text p span {
  text-align: center;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto 60px auto;
  font-weight: 400;
  font-style: italic;
}

.v2-engine-container {
  max-width: 1240px;
  margin: 0 auto;
}

.v2-engine-card {
  background-color: #000000;
  border-radius: 40px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  border: 1px solid #6c4ff74d;
  padding: 60px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

/* --- Diagram Area --- */
.v2-engine-diagram {
  width: 100%;
  max-width: 1000px;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 20px;
}

.v2-polygon-bg {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 0;
  pointer-events: none;
}

.v2-poly-img {
  width: 620px;
  height: 500px;
  opacity: 1;
}

/* Columns */
.v2-diag-col {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 20px;
}

.v2-diag-left {
  margin-left: 35px;
}

.v2-diag-right {
  margin-right: 35px;
}

.v2-diag-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.v2-glass-btn {
  /* Gradient background */
  background: linear-gradient(90deg,
      rgba(0, 0, 65, 0.4) 0%,
      rgba(41, 204, 204, 0.1) 100%);

  /* Glass blur */
  backdrop-filter: blur(25px);

  /* Shape & spacing */
  border-radius: 72px;
  padding: 20px;
  min-width: 190px;

  /* Text */
  color: #34ffc3;
  font-size: 18px;
  font-weight: 500;
  text-align: center;

  transition: all 0.3s ease;
}

.v2-vertical-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 30px;
  color: #ffffff;
  /* Dark gray/blue for recessed look */
  font-weight: 300;
  text-transform: uppercase;
  opacity: 0.1;
  line-height: 1.2;
}

/* Center Orb */
.v2-diag-center {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 20px;
  gap: 10px;
}

/* GraphBit Engine Orb - Perfect Circle Container */
.v2-engine-orb {
  width: 220px;
  height: 220px;
  position: relative;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  /* Ensure perfect circle */
  aspect-ratio: 1 / 1;
  /* Outer dark background */
  background: #000610;
  overflow: hidden;
}

/* Rotating Gradient Glow - Matches Design Exactly */
.v2-orb-gradient {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;

  /* Perfect diagonal gradient matching Figma design with #34FFC3 */
  background: linear-gradient(78deg,
      #1a1f3a 0%,
      #1c2540 15%,
      #1e2a4a 25%,
      #203548 35%,
      #234a5a 45%,
      #285d65 55%,
      #2d6b6b 65%,
      #2a8a7a 75%,
      #2eb89a 85%,
      #34ffc3 100%);

  /* Smooth continuous rotation */
  animation: rotateGlow 8s linear infinite;

  /* GPU acceleration for smooth performance */
  will-change: transform;
  transform-origin: center center;

  /* Subtle glow effect for premium feel */
  filter: blur(2px);
  box-shadow:
    0 0 30px rgba(52, 255, 195, 0.3),
    inset 0 0 40px rgba(52, 255, 195, 0.1);
}

/* Keyframe animation for smooth 360° rotation */
@keyframes rotateGlow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Inner Content Container - Static with dark overlay */
.v2-orb-content {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;

  /* Semi-transparent dark overlay to create depth */
  background: radial-gradient(circle at center,
      rgba(0, 6, 16, 0.2) 0%,
      rgba(0, 6, 16, 0.3) 20%,
      rgba(0, 6, 16, 0.4) 100%);

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
}

/* Static Centered Text */
.v2-orb-content h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
  color: #ffffff;
  font-weight: 700;
  position: relative;
  z-index: 3;

  /* Subtle text glow */
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(52, 255, 195, 0.3);
}

.v2-orb-caption {
  font-size: 14px;
  color: #ffffff;
  text-align: center;
  line-height: 1.2;
  opacity: 0.7;
  font-weight: 400;
}

/* --- Right Comparison Table --- */
.v2-engine-comparison {
  width: 360px;
  background: #1b1539;
  background: linear-gradient(90deg,
      rgba(27, 21, 57, 1) 0%,
      rgba(27, 16, 83, 1) 50%);
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  overflow: hidden;
}

.v2-comp-header {
  background: #2e226a;
  background: linear-gradient(90deg,
      rgba(46, 34, 106, 1) 0%,
      rgba(2, 53, 59, 1) 70%);
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.v2-comp-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.v2-text-green {
  color: #34ffc3 !important;
}

.v2-comp-header-img {
  height: auto;
  width: auto;
  object-fit: contain;
}

.v2-divider-vertical {
  width: 1px;
  background: #ffffff1a;
}

.v2-comp-body {
  display: flex;
  flex-direction: column;
}

.v2-comp-row-group {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.v2-comp-row-group:last-child {
  border-bottom: none;
}

.v2-comp-label {
  font-size: 12px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 1px;
  margin-bottom: 8px;
  text-align: center;
  background: #00000059;
  font-weight: 600;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.v2-comp-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.v2-comp-cell {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: #ffffff;
  text-align: center;
  text-align: center;
  padding: 12px 16px;
}

.v2-highlight {
  color: #34ffc3;
  font-weight: 500;
}

/* Alternating logic or specific backgrounds as per image */
/* Darker backgrounds for rows to separate them? */
.v2-comp-row-group:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

/* Responsive */
@media screen and (max-width: 1200px) {
  .v2-engine-card {
    flex-direction: column;
  }

  .v2-engine-comparison {
    width: 100%;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .v2-comp-row {
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
  }
}

@media screen and (max-width: 992px) {
  .v2-engine-diagram {
    flex-direction: column;
    gap: 40px;
    padding: 40px 20px;
  }

  .v2-diag-col {
    width: 100%;
    justify-content: center;
  }

  .v2-vertical-text {
    display: none;
    /* Hide vertical text on mobile */
  }

  .v2-diag-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .v2-polygon-bg {
    transform: scale(0.8);
  }
}