/* Components CSS - Component-specific styles */

/* Navigation */
.nav-container {
  position: static;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 50;
  background: transparent;
  /* border-bottom: 1px solid var(--border-color); */
  padding: 1.25rem 0;
  transition: background 0.3s;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  max-width: 1440px;
  padding: 0 1rem;
}

.nav-logo {
  height: 2.8rem;
  width: auto;
  margin-left: 1.5rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--animation-duration-normal) ease-in-out;
}

.nav-link:hover {
  color: var(--text-primary);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 2rem 0;
}

.hero-content {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  position: relative;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(
    to right,
    var(--text-primary),
    var(--text-secondary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.hero-instructions {
  font-size: 1.125rem;
  color: var(--text-tertiary);
  animation: enter var(--animation-duration-normal) ease-out forwards;
  animation-delay: 0.4s;
  opacity: 0;
  line-height: 1.6;
}

.hero-gradient-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-gradient-layer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 4px;
  transition: opacity var(--animation-duration-normal);
  filter: blur(8px) brightness(1.2) saturate(1.3);
  opacity: 0.95;
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(
        133.37% 144.84% at 0% 100%,
        #22272b 0%,
        rgba(0, 0, 0, 0.9) 35%
      )
      0% 100%/150% 150%,
    radial-gradient(
        175.09% 148.32% at 100% 0%,
        #22272b 0%,
        rgba(0, 0, 0, 0.8) 30%
      )
      100% 0%/150% 150%,
    radial-gradient(
        105.24% 133% at 50% 50%,
        rgba(0, 0, 0, 0.95) 75%,
        rgba(82, 111, 255, 0.32) 100%
      )
      50% 50%/150% 150%,
    #000;
  opacity: 0.1;
  animation: gradient-shift 30s cubic-bezier(0.76, 0, 0.24, 1) infinite;
  transform-origin: 0% 100%;
  backface-visibility: hidden;
  will-change: transform, background-position;
}

.hero-blur-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  backdrop-filter: blur(24px) brightness(1.1);
  opacity: 0.3;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.5;
}

/* Feature Section */
.feature-section {
  padding: 4rem 0;
  background-color: var(--secondary-color);
}

.feature-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-card {
  background-color: var(--tertiary-color);
  border-radius: 0.5rem;
  padding: 2rem;
  transition: transform var(--animation-duration-normal) ease-in-out;
}

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

.feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.feature-description {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Video Container */
.video-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  margin: 2rem 0;
}

.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 0.5rem;
  object-fit: cover;
}

/* Twitter Section */
.twitter-section {
  padding: 4rem 0;
  background-color: var(--primary-color);
}

.twitter-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1rem;
}

.twitter-embed {
  max-width: 500px;
  margin: 0 auto;
  border-radius: 0.5rem;
  overflow: hidden;
}

/* Footer */
.footer {
  background-color: var(--secondary-color);
  padding: 4rem 0;
  border-top: 1px solid var(--border-color);
}

.footer-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  color: #fff;
  font-size: 1.18rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.18s;
  display: flex;
  align-items: center;
  gap: 0.2em;
}

.footer-link:hover {
  color: #7caaff;
}

.footer-link svg {
  display: inline-block;
  vertical-align: middle;
  width: 1.7em;
  height: 1.7em;
  fill: currentColor;
  color: inherit;
}

.footer-link:hover svg {
  color: inherit;
}

.footer-link .ri-twitter-x-fill,
.footer-link .ri-discord-fill {
  color: #fff !important;
}
.footer-link:hover .ri-twitter-x-fill,
.footer-link:hover .ri-discord-fill {
  color: #7caaff !important;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: var(--text-tertiary);
}

/* Bookmarklet Button */
.bookmarklet-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: #fff;
  border: 1.5px solid #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  text-decoration: none;
  font-weight: 500;
  transition: all var(--animation-duration-normal) ease-in-out;
  cursor: move;
  margin-top: 2.5rem;
}

.bookmarklet-button:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: #fff;
  box-shadow: 0 2px 8px 0 rgba(255, 255, 255, 0.08);
}

.backed-by {
  margin-top: 2.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.backed-by-label {
  font-size: 1rem;
  color: var(--text-tertiary);
  font-weight: 400;
  margin-bottom: 0.25rem;
  letter-spacing: 0.02em;
}

.backed-by-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  margin-top: 0.25rem;
}

.backed-by-y {
  display: inline-block;
  vertical-align: middle;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.backed-by-combinator {
  font-size: 1.5rem;
  color: var(--text-primary);
  font-weight: 500;
  letter-spacing: 0.01em;
  vertical-align: middle;
}

.backed-by-logo {
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.5rem;
  height: 1.5em;
}

.architecture-section {
  background: linear-gradient(to bottom, #15161a, #0a0a0f);
  padding: 6rem 0 4rem 0;
}

.advanced-features-section {
  width: 100%;
  background: linear-gradient(90deg, #0a0a0f 60%, #232c4b 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6rem 0 4rem 0;
}

.advanced-features-container {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.advanced-features-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.advanced-features-title {
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.advanced-features-subtitle {
  font-size: 1.1rem;
  color: var(--text-tertiary);
  font-weight: 400;
}

.advanced-features-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: center;
  align-items: stretch;
  margin-top: 2.5rem;
}

.feature-card-v2 {
  background: var(--tertiary-color);
  border-radius: 1rem;
  box-shadow: 0 4px 32px 0 rgba(0, 0, 0, 0.12);
  padding: 2.5rem 2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 320px;
  max-width: 380px;
  width: 100%;
  transition:
    transform 0.18s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card-v2:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 40px 0 rgba(82, 111, 255, 0.18);
}

.feature-card-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  width: 100%;
  margin-bottom: 1.5rem;
}

.feature-card-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.feature-card-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.feature-card-video {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #111;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  margin-top: 1rem;
}

.feature-card-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-card-desc {
  margin-top: 1.25rem;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  width: 100%;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feature-subfeature {
  color: var(--text-primary);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-logo {
  height: 1.5em;
  vertical-align: middle;
  margin-left: 0.25em;
  display: inline-block;
}

/* Feature Tabs Navigation (Refined) */
.feature-tabs {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 2.5rem;
  width: 100%;
  margin: 0 auto 1.25rem auto;
  max-width: 1200px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-left: 0;
}
.feature-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 280px;
  padding-bottom: 0.5rem;
}
.feature-tab-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: inherit;
  line-height: 1.2;
  white-space: nowrap;
}
.feature-tab-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  font-weight: 400;
  margin-top: 0.15rem;
  line-height: 1.3;
  white-space: nowrap;
}
.feature-tab.active .feature-tab-title,
.feature-tab.active .feature-tab-subtitle {
  color: var(--text-primary);
}
.feature-tab:not(.active) .feature-tab-title,
.feature-tab:not(.active) .feature-tab-subtitle {
  color: var(--text-secondary);
}

/* Feature Main Row (Two-column layout) */
.feature-main-row {
  display: flex;
  flex-direction: row;
  gap: 2.5rem;
  width: 100%;
  max-width: 900px;
  margin: 2.5rem auto 0 auto;
  align-items: stretch;
}
.feature-main-card {
  background: var(--tertiary-color);
  border-radius: 1rem 0 0 1rem;
  box-shadow: 0 4px 32px 0 rgba(0, 0, 0, 0.12);
  padding: 2.5rem 2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  min-width: 340px;
  max-width: 400px;
  width: 100%;
  justify-content: flex-start;
}
.feature-main-title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.feature-main-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.2rem;
  width: 2.2rem;
}
.feature-main-title {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-primary);
}
.feature-main-desc {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}
.feature-main-desc-secondary {
  font-size: 1.05rem;
  color: var(--text-tertiary);
  margin-top: 1rem;
}
.feature-main-video-container {
  position: relative;
  flex: 1 1 0%;
  min-width: 0;
  border-radius: 0 1rem 1rem 0;
  overflow: hidden;
  background: #111;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-main-video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 260px;
  opacity: 0.85;
}
.feature-main-video-overlay {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  background: rgba(0, 0, 0, 0.32);
  border-radius: 0.5rem;
  padding: 0.25rem 0.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-main-video-icon svg {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  opacity: 0.85;
}

.feature-main-subfeatures {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
  justify-content: center;
}
.feature-main-subfeature {
  display: flex;
  align-items: center;
  font-size: 1.08rem;
  color: var(--text-primary);
  font-weight: 500;
  gap: 0.6rem;
  letter-spacing: 0.01em;
}
.feature-main-subfeature-icon {
  font-size: 1.25em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.92;
}

.feature-main-subfeature-card {
  background: var(--secondary-color);
  border-radius: 0.6rem;
  padding: 1rem 1.2rem;
  margin-bottom: 0.7rem;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--text-primary);
  transition:
    box-shadow 0.18s,
    transform 0.18s;
}
.feature-main-subfeature-card:last-child {
  margin-bottom: 0;
}
.feature-main-subfeature-card:hover {
  box-shadow: 0 4px 16px 0 rgba(82, 111, 255, 0.13);
  transform: translateY(-2px) scale(1.01);
}
.feature-main-subfeature-icon svg {
  width: 2rem;
  height: 2rem;
  display: block;
}
.feature-main-subfeature-label {
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-left: 0.5rem;
}

.feature-main-card-tracker {
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-sizing: border-box;
}
.feature-main-gradient-bar {
  position: absolute;
  left: 0;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 6px;
  border-radius: 6px;
  background: linear-gradient(180deg, #3b82f6 0%, #1da1f2 100%);
  opacity: 0.85;
  z-index: 1;
}
.feature-main-icon-glow {
  position: relative;
  z-index: 2;
}
.feature-main-icon-glow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3.2rem;
  height: 3.2rem;
  background: radial-gradient(
    circle,
    #3b82f6 0%,
    #1da1f2 60%,
    transparent 100%
  );
  opacity: 0.25;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  filter: blur(2px);
  animation: tracker-glow 2.2s infinite alternate;
  z-index: 0;
}
@keyframes tracker-glow {
  0% {
    opacity: 0.18;
    filter: blur(2px);
  }
  100% {
    opacity: 0.38;
    filter: blur(6px);
  }
}
.feature-main-tracker-subfeatures {
  display: flex;
  gap: 1.5rem;
  margin-top: 2.2rem;
  z-index: 2;
}
.feature-main-tracker-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--text-primary);
  background: rgba(59, 130, 246, 0.1);
  border-radius: 0.5rem;
  padding: 0.45rem 1.1rem 0.45rem 0.8rem;
  box-shadow: 0 1px 4px 0 rgba(59, 130, 246, 0.08);
}
.feature-main-tracker-dot {
  width: 0.7em;
  height: 0.7em;
  border-radius: 50%;
  background: #3b82f6;
  margin-right: 0.2em;
  box-shadow: 0 0 8px 2px #3b82f6;
  animation: tracker-dot-pulse 1.2s infinite alternate;
}
.feature-main-tracker-dot-twitter {
  background: #1da1f2;
  box-shadow: 0 0 8px 2px #1da1f2;
  animation-delay: 0.6s;
}
@keyframes tracker-dot-pulse {
  0% {
    opacity: 0.7;
    transform: scale(1);
  }
  100% {
    opacity: 1;
    transform: scale(1.25);
  }
}
.feature-main-tracker-label {
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--text-primary);
}

.feature-main-badges {
  display: flex;
  flex-direction: row;
  gap: 0.7rem;
  margin-top: 1.1rem;
}
.feature-main-badge {
  display: inline-flex;
  align-items: center;
  background: var(--tertiary-color);
  color: var(--text-primary);
  font-size: 0.98rem;
  font-weight: 500;
  border-radius: 0.35em;
  padding: 0.32em 1em 0.32em 0.7em;
  letter-spacing: 0.01em;
  box-shadow: none;
  border: 1px solid var(--border-color);
  transition: background 0.18s;
}
.feature-main-badge svg {
  display: inline-block;
  vertical-align: middle;
}

.feature-main-badges-modern {
  display: flex;
  flex-direction: row;
  gap: 1.2rem;
  margin-top: 1.1rem;
}
.feature-main-badge-modern {
  display: flex;
  align-items: center;
  background: var(--secondary-color);
  border: 1px solid var(--border-color);
  border-radius: 0.6rem;
  padding: 1rem 1.2rem;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1);
  transition:
    box-shadow 0.18s,
    transform 0.18s,
    background 0.18s;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
}
.feature-main-badge-modern:hover {
  box-shadow: 0 4px 16px 0 rgba(82, 111, 255, 0.13);
  transform: translateY(-2px) scale(1.01);
  background: var(--secondary-color);
}
.feature-main-badge-icon {
  margin-right: 0.7em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-main-badge-icon svg {
  width: 1.5em;
  height: 1.5em;
  display: block;
}
.feature-main-badge-text {
  display: block;
  line-height: 1.15;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
}

@media (max-width: 900px) {
  .feature-main-row {
    flex-direction: column;
    gap: 1.5rem;
    max-width: 100%;
  }
  .feature-main-card,
  .feature-main-video-container {
    border-radius: 1rem;
    max-width: 100%;
  }
}

.advanced-features-cta-row {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  margin-top: 2.5rem;
  margin-bottom: 0.5rem;
  max-width: 900px;
  padding-left: calc((100% - 900px) / 2 + 900px / 2 + 2.5rem);
}
.advanced-features-cta {
  color: #aab4c8;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  transition: color 0.18s;
  white-space: nowrap;
  min-width: 220px;
  padding-right: 0.5em;
}
.advanced-features-cta:hover {
  color: #fff;
}
.advanced-features-cta svg {
  margin-left: 0.2em;
  display: inline-block;
  vertical-align: middle;
  width: 1.2em;
  height: 1.2em;
}

.antimev-hero-section {
  width: 100%;
  background: #090a0f;
  padding: 5rem 0 3.5rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.antimev-hero-content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.antimev-hero-title {
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
}
.antimev-hero-subtitle {
  font-size: 1.45rem;
  color: #aab4c8;
  font-weight: 400;
  margin-top: 0;
  letter-spacing: 0.01em;
}

/* Decorative Nested Cards Section (Below Anti-MEV Hero) */
.mev-nested-cards-section {
  position: relative;
  width: 100vw;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  background: none;
}
.mev-nested-cards-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mev-nested-card {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 2.5rem;
  transition:
    box-shadow 0.3s,
    filter 0.3s;
  will-change: box-shadow, filter;
  pointer-events: none;
}
.mev-nested-card-back {
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, #232c4b 0%, #6b7cff 100%);
  box-shadow:
    0 12px 64px 0 rgba(82, 111, 255, 0.18),
    0 2px 12px 0 rgba(0, 0, 0, 0.1);
  filter: blur(2px) brightness(1.08) saturate(1.1);
  opacity: 0.95;
  z-index: 1;
}
.mev-nested-card-mid {
  width: 85%;
  height: 80%;
  background: linear-gradient(120deg, #7caaff 0%, #232c4b 100%);
  box-shadow:
    0 8px 48px 0 rgba(82, 111, 255, 0.13),
    0 1.5px 8px 0 rgba(0, 0, 0, 0.1);
  filter: blur(1.5px) brightness(1.04) saturate(1.05);
  opacity: 0.97;
  z-index: 2;
}
.mev-nested-card-front {
  width: 70%;
  height: 62%;
  background: linear-gradient(120deg, #6b7cff 0%, #aab6ff 100%);
  box-shadow:
    0 4px 32px 0 rgba(82, 111, 255, 0.1),
    0 1.5px 8px 0 rgba(0, 0, 0, 0.08);
  filter: none;
  opacity: 1;
  z-index: 3;
}
@media (max-width: 900px) {
  .mev-nested-cards-container {
    max-width: 98vw;
    height: 180px;
  }
  .mev-nested-card {
    border-radius: 1.2rem;
  }
}
@media (max-width: 600px) {
  .mev-nested-cards-container {
    height: 110px;
  }
  .mev-nested-card {
    border-radius: 0.7rem;
  }
}

/* Enhanced Decorative Box with Animated Glowing Corners */
.mev-corner-box-section {
  position: relative;
  width: 100vw;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  background: none;
}
.mev-corner-box-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 120vw;
  height: 600px;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 60% 30%, #7caaff88 0%, #232c4b00 70%),
    radial-gradient(ellipse at 30% 80%, #6b7cff55 0%, #232c4b00 80%);
  filter: blur(48px) brightness(1.2) saturate(1.2);
  opacity: 0.7;
  animation: mev-glow-shift 8s ease-in-out infinite alternate;
}
@keyframes mev-glow-shift {
  0% {
    filter: blur(48px) brightness(1.2) saturate(1.2);
    opacity: 0.7;
  }
  100% {
    filter: blur(64px) brightness(1.3) saturate(1.3);
    opacity: 0.85;
  }
}
.mev-corner-box {
  position: relative;
  width: 96vw;
  max-width: 1400px;
  height: 680px;
  background: linear-gradient(120deg, #10131e 60%, #232c4b 100%);
  border-radius: 2.5rem;
  box-shadow:
    0 16px 96px 0 rgba(82, 111, 255, 0.18),
    0 2px 12px 0 rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  border: 3px solid transparent;
  background-clip: padding-box, border-box;
  background-origin: padding-box, border-box;
  border-image: linear-gradient(120deg, #7caaff 0%, #6b7cff 50%, #aab6ff 100%) 1;
  animation: mev-border-anim 6s linear infinite alternate;
}
@keyframes mev-border-anim {
  0% {
    border-image: linear-gradient(120deg, #7caaff 0%, #6b7cff 50%, #aab6ff 100%)
      1;
  }
  100% {
    border-image: linear-gradient(120deg, #aab6ff 0%, #7caaff 50%, #6b7cff 100%)
      1;
  }
}
.mev-corner {
  position: absolute;
  width: 88px;
  height: 88px;
  z-index: 2;
  pointer-events: none;
  border-radius: 2.5rem;
  opacity: 0.95;
  box-shadow: none;
  background: none;
}
.mev-corner-tl {
  top: -8px;
  left: -8px;
  border-top-left-radius: 2.5rem;
  border-top: 7px solid #7caaff;
  border-left: 7px solid #7caaff;
  box-shadow: none;
  background: none;
  animation: none;
}
.mev-corner-tr {
  top: -8px;
  right: -8px;
  border-top-right-radius: 2.5rem;
  border-top: 7px solid #6b7cff;
  border-right: 7px solid #6b7cff;
  box-shadow: none;
  background: none;
  animation: none;
}
.mev-corner-br {
  bottom: -8px;
  right: -8px;
  border-bottom-right-radius: 2.5rem;
  border-bottom: 7px solid #aab6ff;
  border-right: 7px solid #aab6ff;
  box-shadow: none;
  background: none;
  animation: none;
}
@media (max-width: 1200px) {
  .mev-corner-box {
    max-width: 98vw;
    height: 480px;
    border-radius: 1.5rem;
  }
  .mev-corner {
    width: 54px;
    height: 54px;
    border-radius: 1.5rem;
  }
}
@media (max-width: 700px) {
  .mev-corner-box-section {
    min-height: 180px;
  }
  .mev-corner-box {
    height: 320px;
    border-radius: 1rem;
  }
  .mev-corner {
    width: 28px;
    height: 28px;
    border-radius: 1rem;
  }
  .mev-corner-box-glow {
    height: 180px;
    filter: blur(24px) brightness(1.1) saturate(1.1);
  }
}

.mev-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2.5rem;
  width: 90%;
  height: 90%;
  margin: 0 auto;
  align-items: center;
  justify-items: center;
}
.mev-card {
  background: rgba(24, 28, 48, 0.92);
  border-radius: 1.2rem;
  box-shadow:
    0 2px 16px 0 rgba(82, 111, 255, 0.1),
    0 1.5px 8px 0 rgba(0, 0, 0, 0.08);
  padding: 2.2rem 1.5rem 1.5rem 1.5rem;
  min-width: 220px;
  min-height: 180px;
  max-width: 320px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transition:
    box-shadow 0.18s,
    transform 0.18s;
}
.mev-card:hover {
  box-shadow: 0 8px 32px 0 rgba(82, 111, 255, 0.18);
  transform: translateY(-4px) scale(1.03);
}
.mev-card-image {
  width: 56px;
  height: 56px;
  background: rgba(82, 111, 255, 0.1);
  border-radius: 0.7rem;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #7caaff;
}
.mev-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
  text-align: center;
}
.mev-card-subtitle {
  font-size: 1rem;
  color: #aab4c8;
  font-weight: 400;
  text-align: center;
}
@media (max-width: 900px) {
  .mev-cards-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
    gap: 1.5rem;
    width: 98%;
    height: auto;
  }
  .mev-card {
    max-width: 98vw;
    min-width: 0;
    padding: 1.2rem 0.7rem 1rem 0.7rem;
  }
}

.mev-sections-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0;
  width: 96%;
  height: 96%;
  margin: 0 auto;
  align-items: stretch;
  justify-items: stretch;
  background: none;
  position: relative;
}
.mev-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem 2rem 1.5rem;
  min-width: 0;
  min-height: 0;
  background: none;
  position: relative;
}
.mev-section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
  text-align: center;
}
.mev-section-subtitle {
  font-size: 1rem;
  color: #aab4c8;
  font-weight: 400;
  text-align: center;
}
.mev-section-image {
  width: 56px;
  height: 56px;
  background: rgba(82, 111, 255, 0.1);
  border-radius: 0.7rem;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #7caaff;
}
.mev-section:nth-child(1),
.mev-section:nth-child(2) {
  border-bottom: 1.5px solid rgba(170, 180, 200, 0.1);
}
.mev-section:nth-child(1),
.mev-section:nth-child(3) {
  border-right: 1.5px solid rgba(170, 180, 200, 0.1);
}
@media (max-width: 900px) {
  .mev-sections-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
    width: 99%;
    height: auto;
  }
  .mev-section {
    padding: 1.2rem 0.7rem 1rem 0.7rem;
    border-right: none !important;
    border-bottom: 1.5px solid rgba(170, 180, 200, 0.1);
  }
  .mev-section:last-child {
    border-bottom: none;
  }
}

.mev-section-img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  max-height: 180px;
  border-radius: 1.1rem;
  box-shadow:
    0 4px 32px 0 rgba(82, 111, 255, 0.1),
    0 1.5px 8px 0 rgba(0, 0, 0, 0.08);
  object-fit: cover;
}
@media (max-width: 900px) {
  .mev-section-img {
    max-height: 110px;
    border-radius: 0.7rem;
  }
}

.mev-section-large {
  grid-row: 1 / span 2;
  grid-column: 1 / 2;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 2.5rem 2.2rem 2rem 2.2rem;
  border-bottom: none !important;
  min-height: 420px;
}
.mev-section-divider {
  width: 100%;
  height: 1.5px;
  background: rgba(170, 180, 200, 0.1);
  margin-top: 0;
  margin-bottom: 0;
  border: none;
  border-radius: 1px;
}
.mev-section-large .mev-section-img {
  margin-left: 64px;
  margin-top: 32px;
  margin-right: auto;
  margin-bottom: 16px;
}
.mev-section-large .mev-section-divider {
  margin-top: 8px;
}
.mev-section:last-child {
  align-self: end;
  margin-top: 48px;
}
@media (max-width: 900px) {
  .mev-section-large {
    grid-row: auto;
    grid-column: auto;
    align-items: center;
    padding: 1.2rem 0.7rem 1rem 0.7rem;
    min-height: 0;
  }
  .mev-section-large .mev-section-img {
    margin: 24px auto 32px auto;
  }
  .mev-section:last-child {
    margin-top: 24px;
    align-self: center;
  }
}
.mev-section:last-child .mev-section-img {
  margin-top: 48px;
}
@media (max-width: 900px) {
  .mev-section:last-child .mev-section-img {
    margin-top: 28px;
  }
}

.mev-section-image-ranks {
  width: 300px;
  height: 300px;
  max-width: 100%;
  max-height: 340px;
  display: block;
  margin: 2rem auto 0 auto;
  border-radius: 1.1rem;
  box-shadow:
    0 4px 32px 0 rgba(82, 111, 255, 0.1),
    0 1.5px 8px 0 rgba(0, 0, 0, 0.08);
  object-fit: contain;
}

.mev-section-referrals {
  margin-top: 220px;
}

.mev-section-progress-ranks {
  margin-top: 164px;
  border-bottom: none !important;
}
.mev-section-progress-ranks .mev-section-img {
  margin-bottom: 48px;
}
.mev-section-progress-ranks .mev-section-subtitle {
  margin-bottom: 32px;
}
.mev-section-progress-ranks .mev-section-img {
  margin-bottom: 48px;
}
.mev-section-referrals {
  margin-top: 220px;
}
.mev-section-referrals .mev-section-subtitle {
  margin-top: 32px;
}
.mev-section-referrals .mev-section-img {
  margin-top: 32px;
  margin-bottom: 64px;
  width: 400px;
  height: 240px;
  max-width: 100%;
  max-height: 260px;
  display: block;
  object-fit: contain;
}
.mev-section-divider {
  margin-top: 32px;
  margin-bottom: 32px;
}
.mev-section-referrals .mev-section-title {
  margin-bottom: 30px;
}
.mev-section-referrals .mev-section-subtitle {
  margin-top: 0;
}
.mev-section-progress-ranks .mev-section-divider {
  display: none;
}

.faq-section {
  width: 100vw;
  min-height: 480px;
  background: linear-gradient(180deg, #18191d 0%, #0a0a0f 100%);
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 6rem 0 4rem 0;
}
.faq-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 2rem;
}
.faq-title {
  font-size: 4rem;
  font-weight: 700;
  color: #fff;
  margin-left: 4vw;
  margin-right: 2vw;
  margin-top: 0.5rem;
  margin-bottom: 0;
  text-align: left;
  flex: 1 0 320px;
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: #fff;
  filter: none;
}
.faq-accordion {
  flex: 2 1 600px;
  margin-left: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.faq-item {
  background: rgba(30, 32, 40, 0.65);
  border-radius: 1.1rem;
  box-shadow:
    0 8px 32px 0 rgba(82, 111, 255, 0.18),
    0 1.5px 8px 0 rgba(0, 0, 0, 0.1);
  border: 1.5px solid transparent;
  border-image: linear-gradient(120deg, #7caaff 0%, #aab6ff 100%) 1;
  backdrop-filter: blur(12px) saturate(1.2);
  overflow: hidden;
  transition:
    box-shadow 0.18s,
    border-image 0.3s;
  position: relative;
}
.faq-item.open,
.faq-item:focus-within {
  box-shadow: 0 12px 48px 0 rgba(82, 111, 255, 0.28);
  border-image: linear-gradient(120deg, #aab6ff 0%, #7caaff 100%) 1;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-size: 2rem;
  font-weight: 600;
  text-align: left;
  padding: 1.5rem 2.5rem 1.5rem 2.5rem;
  cursor: pointer;
  transition: background 0.18s;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.faq-question::after {
  content: "+";
  font-size: 2.2rem;
  color: #aab6ff;
  margin-left: 1.2rem;
  transition:
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.2s;
}
.faq-item.open .faq-question::after {
  content: "-";
  color: #7caaff;
  transform: rotate(180deg) scale(1.2);
}
.faq-item:not(.open) .faq-answer {
  max-height: 0;
  opacity: 0;
  padding: 0 2.5rem;
  transition:
    max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s,
    padding 0.3s;
  overflow: hidden;
  transform: translateY(-16px) scaleY(0.95);
}
.faq-item.open .faq-answer {
  max-height: 400px;
  opacity: 1;
  padding: 1.2rem 2.5rem 1.8rem 2.5rem;
  transition:
    max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s,
    padding 0.3s;
  transform: translateY(0) scaleY(1);
}
.faq-answer {
  color: #e2e6f3;
  font-size: 1.18rem;
  line-height: 1.6;
  background: none;
  text-align: left;
}
@media (max-width: 900px) {
  .faq-section {
    padding: 3rem 0 2rem 0;
  }
  .faq-container {
    flex-direction: column;
    gap: 2rem;
    align-items: stretch;
    justify-content: flex-start;
  }
  .faq-title {
    font-size: 2.2rem;
    margin-left: 2vw;
    margin-right: 0;
    margin-bottom: 1.5rem;
    filter: none;
    background: none;
    -webkit-text-fill-color: #fff;
  }
  .faq-accordion {
    flex: 1 1 100%;
  }
}

.glow-banner-section {
  position: relative;
  width: 100vw;
  min-height: 600px;
  background: #090a0f;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.glow-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.glow-bar {
  position: absolute;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(60, 80, 160, 0.1);
  border-radius: 18px;
  filter: blur(1.5px);
}
.glow-bar-top {
  top: 0;
  left: 0;
  right: 0;
  opacity: 0.55;
}
.glow-bar-mid {
  top: 110px;
  left: 0;
  right: 0;
  opacity: 0.35;
}
.glow-bar-bottom {
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0.45;
}
.glow-banner-glow {
  position: absolute;
  left: -18vw;
  bottom: -12vw;
  width: 80vw;
  height: 80vw;
  max-width: 900px;
  max-height: 700px;
  background: radial-gradient(ellipse at 0% 100%, #7caaff77 0%, #232c4b00 80%);
  filter: blur(32px) brightness(1.2) saturate(1.2);
  opacity: 0.85;
  z-index: 2;
}
.glow-banner-content {
  position: relative;
  z-index: 3;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}
.glow-banner-title {
  color: #fff;
  font-size: 3.8rem;
  font-weight: 500;
  text-align: center;
  margin: 0 auto;
  max-width: 1100px;
  line-height: 1.18;
  letter-spacing: 0.01em;
  text-shadow:
    0 4px 32px #000a,
    0 1.5px 8px #232c4b44;
}
@media (max-width: 900px) {
  .glow-banner-title {
    font-size: 2.2rem;
    max-width: 98vw;
  }
  .glow-banner-content {
    min-height: 320px;
  }
  .glow-bar {
    height: 38px;
  }
}

.footer-simple {
  width: 100vw;
  background: #18191d;
  padding: 1.7rem 0;
  border-top: 1.5px solid #111216;
  font-family: inherit;
}
.footer-simple-content {
  max-width: 1920px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4vw;
}
.footer-simple-left {
  color: #aab4c8;
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.footer-simple-right {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}
.footer-link {
  color: #fff;
  font-size: 1.18rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.18s;
  display: flex;
  align-items: center;
  gap: 0.2em;
}
.footer-link:hover {
  color: #7caaff;
}
.footer-link svg {
  display: inline-block;
  vertical-align: middle;
  width: 1.7em;
  height: 1.7em;
  fill: currentColor;
  color: inherit;
}
@media (max-width: 900px) {
  .footer-simple-content {
    flex-direction: column;
    gap: 0.7rem;
    padding: 0 1vw;
  }
  .footer-simple-left,
  .footer-simple-right {
    justify-content: center;
    text-align: center;
  }
}
