/* ==========================================================================
   CSS Variables - Dark Theme (Default)
   ========================================================================== */
:root {
  --bg: #181f2e;
  --bg-secondary: #1e2636;
  --bg-card: #273349;
  --bg-card-hover: #2d3a52;
  --text: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.6);
  --text-muted: rgba(255, 255, 255, 0.5);
  --text-faint: rgba(255, 255, 255, 0.35);
  --text-dim: rgba(255, 255, 255, 0.4);
  --primary: #0098ea;
  --primary-light: #41b8de;
  --primary-lighter: #17aeff;
  --border: rgba(255, 255, 255, 0.06);
  --border-light: rgba(255, 255, 255, 0.08);
  --border-primary: rgba(0, 152, 234, 0.2);
  --border-primary-hover: rgba(0, 152, 234, 0.3);
  --primary-glow: rgba(0, 152, 234, 0.1);
  --shadow: rgba(0, 0, 0, 0.3);
  --shadow-lg: rgba(0, 0, 0, 0.5);
  --overlay: rgb(0, 0, 0, 0.7);
  --overlay-bg: rgb(24, 31, 46, 0.95);
  --scrollbar-bg: #c8d5de;
  --modal-bg: #273349;
  --modal-bg-light: rgba(39, 51, 73, 0.6);
  --modal-bg-lighter: rgba(39, 51, 73, 0.5);
  --modal-bg-lightest: rgba(39, 51, 73, 0.3);
  --modal-bg-dark: rgba(24, 31, 46, 0.8);
  --skeleton-shine: rgba(255, 255, 255, 0.08);
  --text-on-primary: #ffffff;
  --glass-bg: rgba(39, 51, 73, 0.4);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-bg-hover: rgba(39, 51, 73, 0.55);
}

/* Light Theme */
[data-theme="light"] {
  --bg: #f5f7fa;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f8f9fc;
  --text: #1a1f2e;
  --text-secondary: rgba(26, 31, 46, 0.7);
  --text-muted: rgba(26, 31, 46, 0.6);
  --text-faint: rgba(26, 31, 46, 0.4);
  --text-dim: rgba(26, 31, 46, 0.5);
  --border: rgba(0, 0, 0, 0.08);
  --border-light: rgba(0, 0, 0, 0.1);
  --border-primary: rgba(0, 152, 234, 0.15);
  --border-primary-hover: rgba(0, 152, 234, 0.25);
  --primary-glow: rgba(0, 152, 234, 0.08);
  --shadow: rgba(0, 0, 0, 0.15);
  --shadow-lg: rgba(0, 0, 0, 0.25);
  --overlay: rgba(255, 255, 255, 0.85);
  --overlay-bg: rgba(245, 247, 250, 0.95);
  --scrollbar-bg: #e0e0e0;
  --modal-bg: #ffffff;
  --modal-bg-light: rgba(240, 244, 248, 0.6);
  --modal-bg-lighter: rgba(240, 244, 248, 0.5);
  --modal-bg-lightest: rgba(240, 244, 248, 0.3);
  --modal-bg-dark: rgba(255, 255, 255, 0.8);
  --skeleton-shine: rgba(0, 0, 0, 0.06);
  --text-on-primary: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(0, 0, 0, 0.08);
  --glass-bg-hover: rgba(255, 255, 255, 0.75);
}

/* ==========================================================================
   Loading Overlay
   ========================================================================== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.loading-overlay_active {
    opacity: 1;
    visibility: visible;
}
.loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--border-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: loading-spin 0.8s linear infinite;
}
.loading-status {
    margin-top: 16px;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
}
@keyframes loading-spin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   Theme Toggle Button
   ========================================================================== */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
  margin-left: 16px;
  flex-shrink: 0;
}
.theme-toggle:hover {
  border-color: var(--border-primary-hover);
  background: var(--bg-card-hover);
}
.theme-toggle svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-secondary);
  transition: all 0.3s;
}
.theme-toggle:hover svg {
  stroke: var(--primary);
}

/* ==========================================================================
   Entrance Animations (Option 2)
   ========================================================================== */
.animate-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-fade-in.animate-visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-fade-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.animate-fade-up.animate-visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.animate-scale-in.animate-visible {
  opacity: 1;
  transform: scale(1);
}
.animate-slide-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-slide-left.animate-visible {
  opacity: 1;
  transform: translateX(0);
}
.animate-slide-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-slide-right.animate-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ==========================================================================
   Skeleton Loading (Option 3)
   ========================================================================== */
.skeleton {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  border-radius: 16px;
}
.skeleton::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--skeleton-shine), transparent);
  animation: skeleton-shimmer 1.5s infinite;
}
@keyframes skeleton-shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}
.skeleton-text {
  height: 16px;
  background: var(--bg-card);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.skeleton-text::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--skeleton-shine), transparent);
  animation: skeleton-shimmer 1.5s infinite;
}
.skeleton-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-card);
  border-radius: 12px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.skeleton-icon::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--skeleton-shine), transparent);
  animation: skeleton-shimmer 1.5s infinite;
}
.skeleton-number {
  width: 80px;
  height: 48px;
  background: var(--bg-card);
  border-radius: 8px;
  margin: 0 auto 8px;
  position: relative;
  overflow: hidden;
}
.skeleton-number::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--skeleton-shine), transparent);
  animation: skeleton-shimmer 1.5s infinite;
}
.skeleton-label {
  width: 100px;
  height: 14px;
  background: var(--bg-card);
  border-radius: 4px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.skeleton-label::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--skeleton-shine), transparent);
  animation: skeleton-shimmer 1.5s infinite;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: "Google Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  top: 0;
  left: 0;
  padding: 0;
  background: var(--bg);
  margin: 0;
  width: 100%;
  min-height: 100vh;
  color: var(--text);
  transition: background-color 0.3s ease, color 0.3s ease;
}

html,
body {
  width: 100vw;
  overflow-x: hidden;
}

/* Aurora background */
body::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0, 152, 234, 0.07) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(23, 174, 255, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(0, 152, 234, 0.04) 0%, transparent 50%);
  animation: aurora-shift 30s ease-in-out infinite alternate;
}
@keyframes aurora-shift {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(3%, 2%) rotate(3deg); }
  100% { transform: translate(-2%, 4%) rotate(-2deg); }
}

a {
  text-decoration: none;
  color: var(--text);
  display: block;
}

::-webkit-scrollbar {
  width: 5px;
  background-color: var(--scrollbar-bg);
  height: 5px;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: var(--primary);
  width: 5px;
}
::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px var(--shadow);
  border-radius: 10px;
  background-color: var(--scrollbar-bg);
}

.container {
  width: 100%;
  max-width: 1440px;
  display: block;
  margin: 0 auto;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  width: 100%;
}
.header_items {
  display: flex;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
}
.header_item:nth-child(2) {
  margin-left: auto;
  margin-right: 50px;
}
.header_item_logo {
  vertical-align: middle;
}
.header_item_socials {
  display: flex;
  align-items: center;
}
.header_item_social {
  cursor: pointer;
  transition: all 0.5s;
  margin-right: 12px;
}
.header_item_social:hover {
  opacity: 0.5;
}
.header_item_social:last-child {
  margin-right: 0;
}
.header_item_button {
  color: var(--text-on-primary);
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  line-height: 140%;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.5s;
  padding: 24px 32px;
  border-radius: 100px;
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--primary) 125.89%);
  outline: none;
  border: none;
  white-space: nowrap;
}
.header_item_button:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}
.header_item_button:active {
  transform: translateY(0);
}
.header_item_button img {
  vertical-align: middle;
  margin-left: 12px;
}

/* ==========================================================================
   Main Section
   ========================================================================== */
.main {
  padding-top: 78px;
  padding-bottom: 60px;
}
.main_tittle {
  text-align: center;
  font-size: 72px;
  font-weight: 800;
  line-height: 110%;
  letter-spacing: -1.44px;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--text) 0%, var(--primary-light) 50%, var(--primary-lighter) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.main_tittle span {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-lighter) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.main_wheel {
  margin-top: 40px;
  position: relative;
}
.main_wheel::before {
  content: " ";
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: url(../img/grad.png) bottom no-repeat;
  background-size: 100% 100%;
  background-position-y: 150px;
}
.main_wheel_main {
  position: relative;
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  padding: 40px 20px 0;
  margin-top: -40px;
}
.main_wheel_main_arrow {
  position: absolute;
  left: calc(50% - 62px);
  top: 0;
  z-index: 1;
}
.main_wheel_main::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  padding-bottom: 90%;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(0, 152, 234, 0.35) 0%,
    rgba(0, 152, 234, 0.15) 30%,
    rgba(0, 152, 234, 0.05) 50%,
    transparent 70%
  );
  animation: wheel-halo 3s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes wheel-halo {
  0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(0.92); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}
.main_wheel_main_wheel {
  top: -40px;
  position: relative;
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 1344px;
  z-index: 1;
}
.main_wheel_main_button {
  color: var(--text-on-primary);
  text-align: center;
  z-index: 8;
  font-size: 32px;
  font-weight: 800;
  line-height: 110%;
  letter-spacing: -0.64px;
  text-transform: uppercase;
  outline: none;
  border: none;
  padding: 32px 44px;
  border-radius: 1000px;
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--primary) 125.89%);
  cursor: pointer;
  transition: all 0.3s;
  position: absolute;
  left: calc(50% - 120.5px);
  top: 330px;
  white-space: nowrap;
}
.main_wheel_main_button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--primary-glow);
}
.main_wheel_main_button:active {
  transform: translateY(0);
}

.main_faq {
  position: relative;
  top: -130px;
  width: 100%;
  z-index: 3;
}
.main_faq_blocks {
  display: block;
  margin: 0 auto;
  max-width: 1061px;
}
.main_faq_block {
  margin-bottom: 12px;
  color: var(--text);
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  line-height: 150%;
  display: flex;
  align-items: center;
  padding: 24px 20px;
  border-radius: 16px;
  background: var(--modal-bg);
  transition: background 0.3s ease, color 0.3s ease;
}
.main_faq_block img {
  vertical-align: middle;
  margin-right: 12px;
  flex-shrink: 0;
}
.main_faq_block:last-child {
  margin-bottom: 0;
}
.main_faq_copy {
  color: var(--text-dim);
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  line-height: 150%;
  position: relative;
  margin-top: 60px;
  transition: color 0.3s ease;
}

/* ==========================================================================
   Modal
   ========================================================================== */
.modal {
  display: none;
  position: fixed;
  z-index: 11;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  background: var(--overlay);
  backdrop-filter: blur(3px);
}
.modal_active {
  display: block;
  animation: modal-fade-in 0.3s ease;
}
@keyframes modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.modal_rect {
  width: 100%;
  max-width: 600px;
  display: block;
  margin: 0 auto;
  margin-top: 250px;
  border-radius: 16px;
  background: var(--modal-bg);
  transition: background 0.3s ease;
}
.modal_active .modal_rect {
  animation: modal-spring-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes modal-spring-in {
  0% { transform: scale(0.85) translateY(40px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.modal_rect_up {
  width: 100%;
  height: auto;
  background: url(../img/modal_bg.png) top no-repeat;
}
.modal_rect_up_tittle {
  color: var(--text-on-primary);
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  line-height: 110%;
  letter-spacing: -0.64px;
  text-transform: uppercase;
  padding-top: 58px;
  padding-bottom: 58px;
}
.modal_rect_up_tittle span {
  color: var(--primary);
}
.modal_rect_bottom_content {
  padding-top: 40px;
  padding-bottom: 40px;
}
.modal_rect_bottom_text {
  color: var(--text-on-primary);
  text-align: center;
  font-size: 28px;
  font-weight: 500;
  line-height: 110%;
  letter-spacing: -0.56px;
}
.modal_rect_bottom_button {
  color: var(--text-on-primary);
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  line-height: 140%;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.5s;
  padding: 24px 48px;
  border-radius: 100px;
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--primary) 125.89%);
  outline: none;
  border: none;
  margin: 0 auto;
  margin-top: 40px;
}
.modal_rect_bottom_button:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

/* ==========================================================================
   Loading Spinner
   ========================================================================== */
.loading-overlay {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  background: var(--overlay-bg);
  backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.loading-overlay_active {
  display: flex;
}
.loading-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid var(--border-primary);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 24px;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.loading-text {
  color: var(--text);
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  line-height: 1.5;
}
.loading-text span {
  display: block;
  color: var(--primary);
  font-size: 14px;
  margin-top: 8px;
  font-weight: 400;
}

/* ==========================================================================
   Stats Section
   ========================================================================== */
.stats {
  width: 100%;
  padding: 60px 0;
  background: var(--modal-bg-light);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  transition: background 0.3s ease;
  content-visibility: auto;
  contain-intrinsic-size: auto 200px;
}
.stats_items {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
}
.stats_item {
  text-align: center;
  min-width: 150px;
}
.stats_number {
  color: var(--primary);
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}
.stats_label {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

/* ==========================================================================
   Section Titles
   ========================================================================== */
.section_title {
  color: var(--text);
  text-align: center;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 16px;
  transition: color 0.3s ease;
}
.section_title span {
  color: var(--primary);
}
.section_subtitle {
  color: var(--text-muted);
  text-align: center;
  font-size: 18px;
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto 50px;
  line-height: 1.5;
  transition: color 0.3s ease;
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features {
  width: 100%;
  padding: 80px 0;
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}
.features_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.feature_card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 32px 24px;
  transition: all 0.3s;
}
.feature_card:hover {
  border-color: var(--border-primary-hover);
  background: var(--glass-bg-hover);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px var(--primary-glow);
}
.feature_icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-glow);
  border-radius: 12px;
}
.feature_icon img {
  width: 24px;
  height: 24px;
}
.feature_title {
  color: var(--text);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}
.feature_desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  transition: color 0.3s ease;
}

/* ==========================================================================
   Use Cases Section
   ========================================================================== */
.usecases {
  width: 100%;
  padding: 80px 0;
  background: var(--modal-bg-lightest);
  transition: background 0.3s ease;
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}
.usecases_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.usecase_card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s;
}
.usecase_card:hover {
  border-color: var(--border-primary-hover);
  background: var(--glass-bg-hover);
}
.usecase_title {
  color: var(--primary);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.usecase_desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  transition: color 0.3s ease;
}

/* ==========================================================================
   Ecosystem Section
   ========================================================================== */
.ecosystem {
  width: 100%;
  padding: 80px 0;
  content-visibility: auto;
  contain-intrinsic-size: auto 400px;
}
.ecosystem_stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}
.ecosystem_stat {
  text-align: center;
}
.ecosystem_number {
  display: block;
  color: var(--primary);
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}
.ecosystem_label {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  width: 100%;
  padding-top: 40px;
  padding-bottom: 40px;
  border-top: 1px solid var(--border-light);
  margin-top: 60px;
  transition: border-color 0.3s ease;
}
.footer_items {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer_logo {
  width: 120px;
  height: auto;
  display: block;
}
.footer_item_links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer_link {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
  text-decoration: none;
}
.footer_link:hover {
  color: var(--primary);
}
.footer_copy_text {
  color: var(--text-faint);
  font-size: 13px;
  font-weight: 400;
  text-align: right;
  transition: color 0.3s ease;
}

/* ==========================================================================
   Responsive - Mobile (< 500px)
   ========================================================================== */
@media (min-width: 320px) and (max-width: 499px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  body {
    background: var(--bg);
  }
  .modal {
    padding-left: 20px;
    padding-right: 20px;
  }
  .modal_rect_up_tittle {
    font-size: 20px;
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .modal_rect_up {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
  }
  .modal_rect_bottom_text {
    font-size: 18px;
  }
  .modal_rect_bottom_content {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .modal_rect_bottom_button {
    margin-top: 20px;
    font-size: 16px;
    padding: 12px 24px;
  }
  .header_item:nth-child(2) {
    display: none;
  }
  .header_item_logo {
    width: 100px;
  }
  .header_item_button {
    font-size: 12px;
    white-space: nowrap;
    padding: 10px 14px;
  }
  .header_item_button img {
    width: 6px;
  }
  .header_item:last-child {
    margin-left: auto;
  }
  .theme-toggle {
    width: 36px;
    height: 36px;
    margin-left: 8px;
  }
  .theme-toggle svg {
    width: 16px;
    height: 16px;
  }
  .main_tittle {
    font-size: 40px;
  }
  .main_wheel_main_arrow {
    width: 50px;
    left: calc(50% - 25px);
  }
  .main_wheel_main_button {
    font-size: 14px;
    font-weight: 600;
    padding: 14px 20px;
    left: 50%;
    transform: translateX(-50%);
    top: 120px;
    white-space: nowrap;
  }
  .main_faq_block {
    font-size: 14px;
    text-align: left;
    padding: 12px 10px;
  }
  .main_wheel_main_wheel {
    top: -10px;
    width: 100%;
    max-width: 350px;
    display: block;
    margin: 0 auto;
  }
  .main_wheel_main {
    width: 100%;
    max-height: inherit;
    display: block;
    margin: 0 auto;
    padding: 0;
  }
  .main_wheel::before {
    display: none;
  }
  .main_faq {
    top: 0;
  }
  .main_faq_copy {
    margin-top: 30px;
    font-size: 14px;
  }
  .main {
    padding-top: 30px;
  }
  .stats_items {
    gap: 20px;
  }
  .stats_number {
    font-size: 32px;
  }
  .stats_label {
    font-size: 11px;
  }
  .section_title {
    font-size: 28px;
  }
  .section_subtitle {
    font-size: 14px;
    margin-bottom: 30px;
  }
  .features_grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .feature_card {
    padding: 20px 16px;
  }
  .usecases_grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .usecase_card {
    padding: 20px 16px;
  }
  .ecosystem_stats {
    gap: 30px;
  }
  .ecosystem_number {
    font-size: 28px;
  }
  .ecosystem_label {
    font-size: 11px;
  }
  .features, .usecases, .ecosystem {
    padding: 40px 0;
  }
  .footer_items {
    flex-direction: column;
    text-align: center;
  }
  .footer_item_links {
    justify-content: center;
    gap: 16px;
  }
  .footer_copy_text {
    text-align: center;
  }
  .footer_logo {
    width: 100px;
  }
}

/* ==========================================================================
   Responsive - Tablet (500px - 799px)
   ========================================================================== */
@media (min-width: 500px) and (max-width: 799px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .modal {
    padding-left: 20px;
    padding-right: 20px;
  }
  .modal_rect_up_tittle {
    font-size: 30px;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .modal_rect_up {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
  }
  .modal_rect_bottom_text {
    font-size: 20px;
  }
  .modal_rect_bottom_content {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .modal_rect_bottom_button {
    margin-top: 30px;
    font-size: 18px;
    padding: 18px 30px;
  }
  .header_item:nth-child(2) {
    display: none;
  }
  .header_item_logo {
    width: 150px;
  }
  .header_item_button {
    font-size: 14px;
    white-space: nowrap;
    padding: 14px 18px;
  }
  .header_item_button img {
    width: 6px;
  }
  .header_item:last-child {
    margin-left: auto;
  }
  .main_tittle {
    font-size: 50px;
    padding-top: 75px;
  }
  .main_wheel_main_arrow {
    width: 50px;
    left: calc(50% - 25px);
  }
  .main_wheel_main_button {
    font-size: 16px;
    font-weight: 600;
    padding: 20px;
    left: calc(50% - 59px);
    top: 170px;
  }
  .main_faq_block {
    font-size: 16px;
    text-align: left;
    padding: 16px 14px;
  }
  .main_wheel_main_wheel {
    top: -10px;
  }
  .main_wheel_main {
    max-width: 460px;
    max-height: inherit;
    display: block;
    margin: 0 auto;
    padding: 0;
  }
  .main_wheel::before {
    display: none;
  }
  .main_faq {
    top: 0;
  }
  .main_faq_copy {
    margin-top: 30px;
    font-size: 16px;
  }
  .stats_items {
    gap: 24px;
  }
  .stats_number {
    font-size: 36px;
  }
  .section_title {
    font-size: 36px;
  }
  .features_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .usecases_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .ecosystem_stats {
    gap: 40px;
  }
  .ecosystem_number {
    font-size: 32px;
  }
  .footer_items {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  .footer_item_links {
    justify-content: center;
  }
  .footer_copy_text {
    text-align: center;
  }
}

/* ==========================================================================
   Responsive - Small Desktop (800px - 1480px)
   ========================================================================== */
@media (min-width: 800px) and (max-width: 1480px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .main {
    padding-top: 250px;
  }
  .main_wheel_main_wheel {
    top: -20px;
  }
}

@media (min-width: 1920px) {
  .main_wheel::before {
    width: 90%;
  }
}

/* ==========================================================================
   prefers-reduced-motion (Option 4)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .animate-fade-in,
  .animate-fade-up,
  .animate-scale-in,
  .animate-slide-left,
  .animate-slide-right {
    opacity: 1;
    transform: none;
  }
  .skeleton::after,
  .skeleton-text::after,
  .skeleton-icon::after,
  .skeleton-number::after,
  .skeleton-label::after {
    animation: none;
    display: none;
  }
  .loading-spinner {
    animation: none;
    border: 4px solid var(--primary);
  }
  body::before {
    animation: none;
  }
  .main_wheel_main::before {
    animation: none;
    opacity: 0.6;
  }
  .modal_active {
    animation: none;
  }
  .modal_active .modal_rect {
    animation: none;
  }
}
