/* ============================================
   VARY Landing Page - Pure Black Theme
   ============================================ */

:root {
  --black-video: #000000;
  --grey: #838192;
  --black: #000000;
  --blue: #783df4;
  --white: #ffffff;
  --text-dark: #e0e0e0;
  --text-muted: rgba(255,255,255,0.7);
  --accent-cyan: #00d4ff;
  --accent-blue: #0066ff;
}

/* Pure black background */
body {
  color: var(--text-dark);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 20px;
  background: #000000;
  margin: 0;
  padding: 0;
}

/* Hero section - pure black background */
.hero {
  background-color: #000000 !important;
  background-image: none !important;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: 100px !important;
}

/* Hero content section - black background */
.hero .content-section,
.hero .hero-image-section,
.hero .hero-headline-wrapper {
  background-color: #000000 !important;
}

/* Video section - pure black background */
.hero .video,
.hero .black-video,
.hero .content-section {
  background-color: #000000 !important;
}

/* Hero bottom wrapper */
.hero-bottom-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 32px;
  width: 100%;
  background-color: #000000 !important;
}

/* Blue video section - black background */
#numbers + .products,
.products {
  background-color: #000000 !important;
}

/* Fix white gap between sections */
.hero + #numbers,
#numbers,
.numbers-track {
  background-color: #000000 !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Ensure no gaps */
section {
  margin: 0 !important;
  padding: 0 !important;
}

/* Hero bottom wrapper */
.hero-bottom-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 32px;
  width: 100%;
}

.hero-areas-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.plaintext-m {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-weight: 500;
}

.plaintext-m.divider {
  color: rgba(255,255,255,0.3);
}

/* CTA Button */
.button-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.button-wrapper:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(0,212,255,0.5);
  transform: translateY(-2px);
}

.button-paragraph-wrapper {
  display: flex;
  align-items: center;
  gap: 4px;
}

.paragraph-m {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}

.paragraph-selection {
  color: #783df4;
  font-weight: 600;
}

.link-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.button-text {
  color: #783df4;
  font-weight: 600;
  font-size: 14px;
}

.symbol-icon-l {
  color: #783df4;
  font-size: 24px;
}

.background-color {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(120,61,244,0.1);
  border-radius: 999px;
  z-index: -1;
}

@media (max-width: 768px) {
  .hero-bottom-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .hero-areas-wrapper {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Products Modal */
.products-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
}

.products-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  cursor: pointer;
}

.products-modal-content {
  position: relative;
  background: #12121a;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 32px;
  min-width: 400px;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.products-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.products-modal-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.products-modal-close {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.products-modal-close:hover {
  color: #fff;
}

.products-modal-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-modal-list-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.product-modal-list-item:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(0,212,255,0.3);
  transform: translateX(4px);
}

.product-modal-list-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,212,255,0.1);
  border-radius: 10px;
}

.product-modal-list-icon .symbol-icon-m {
  font-size: 24px;
  color: var(--accent-cyan);
}

.product-modal-list-text {
  flex: 1;
  min-width: 0;
}

.product-modal-list-name {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 4px 0;
}

.product-modal-list-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin: 0;
  line-height: 1.4;
}

.product-modal-list-arrow {
  flex-shrink: 0;
  color: rgba(255,255,255,0.3);
  font-size: 18px;
  transition: all 0.2s;
}

.product-modal-list-item:hover .product-modal-list-arrow {
  color: var(--accent-cyan);
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .products-modal-content {
    min-width: auto;
    width: 90%;
    padding: 24px;
  }
}

/* Video Modal - full width, no close button */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.95);
  cursor: pointer;
}

.video-modal.is-active {
  display: flex;
}

.video-modal-content {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-modal-content video {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* CTA Button - original style */
.button-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: transparent;
  border: none;
  border-radius: 0;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.button-wrapper:hover {
  transform: translateY(-2px);
}

.button-paragraph-wrapper {
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
  z-index: 1;
}

.paragraph-m {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}

.paragraph-selection {
  color: #783df4;
  font-weight: 600;
}

.link-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.button-text {
  color: #783df4;
  font-weight: 600;
  font-size: 14px;
}

.symbol-icon-l {
  color: #783df4;
  font-size: 24px;
}

.background-color {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(120,61,244,0.1);
  border-radius: 999px;
  z-index: 0;
  transition: all 0.3s ease;
}

.button-wrapper:hover .background-color {
  background: rgba(120,61,244,0.15);
}

.hero h1 {
  color: #fff !important;
  background: none !important;
  -webkit-text-fill-color: #fff !important;
}

.hero .paragraph {
  color: rgba(255,255,255,0.8) !important;
}

/* Dashboard link - add right margin */
.nav-login {
  margin-right: 20px !important;
}

/* Tag buttons in hero */
.tag {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 16px !important;
  background: rgba(255,255,255,0.1) !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  border-radius: 20px !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  backdrop-filter: blur(10px) !important;
}

.tag .symbol-icon-m {
  font-size: 18px !important;
  color: var(--accent-cyan) !important;
}

.tag .plaintext-l {
  color: #fff !important;
  font-size: 14px !important;
}

/* Numbers section - black background */
.numbers,
.numbers-track {
  background: #000000 !important;
  color: #fff !important;
}

.numbers h2,
.numbers .h2,
.numbers .stat-number {
  color: #fff !important;
}

.numbers .stat-label {
  color: rgba(255,255,255,0.7) !important;
}

/* Ending section - black background */
.ending,
.ending-section {
  background: #000000 !important;
}

/* Footer - black background */
.footer,
.footer-section {
  background: #000000 !important;
}

/* Products and other sections - gradient background */
.products,
.currencies,
.features,
.blog,
.faq,
.ending {
  background: transparent;
  color: var(--text-dark);
}

/* Floating Navbar - override Webflow styles */
.navbar[style*="position:fixed"],
.navbar.w-nav[style*="position:fixed"] {
  background: #000000 !important;
  padding: 14px 24px !important;
}

.navbar .nav-menu {
  display: flex !important;
  gap: 8px !important;
}

.navbar .navlink {
  color: rgba(255,255,255,0.85) !important;
  padding: 10px 20px !important;
  border-radius: 999px !important;
  transition: all 0.2s !important;
}

.navbar .navlink:hover {
  background: rgba(255,255,255,0.08) !important;
  color: #fff !important;
}

/* Ensure hero section has proper padding for fixed navbar */
.hero {
  padding-top: 100px !important;
}

/* Language Modal */
.lang-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.lang-modal__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  cursor: pointer;
}

.lang-modal__dialog {
  position: relative;
  background: #12121a;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 32px;
  min-width: 400px;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lang-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.lang-modal__title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.lang-modal__close {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
}

.lang-modal__close:hover {
  color: #fff;
}

.lang-modal__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.lang-modal__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
  color: rgba(255,255,255,0.85);
}

.lang-modal__item:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(0,212,255,0.3);
  transform: translateY(-2px);
}

.lang-modal__item.is-active {
  background: rgba(0,212,255,0.1);
  border-color: rgba(0,212,255,0.5);
  color: #fff;
}

.lang-modal__flag {
  font-size: 24px;
}

.lang-modal__label {
  font-size: 14px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .lang-modal__dialog {
    min-width: auto;
    width: 90%;
    padding: 24px;
  }
  
  .lang-modal__grid {
    grid-template-columns: 1fr;
  }
}

/* Footer Language Button */
.footer-lang-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.footer-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.footer-lang-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(0,212,255,0.5);
  color: #fff;
}

.footer-lang-globe {
  font-size: 18px;
}

.footer-lang-text {
  font-weight: 600;
}

/* Fix hero section background and height */
.hero,
#hero,
article#hero {
  background-color: #000000 !important;
  background-image: none !important;
  min-height: 100vh !important;
  height: 100vh !important;
  position: relative !important;
}

.hero .content-section,
#hero .content-section {
  background-color: #000000 !important;
  min-height: 100vh !important;
  padding-top: 120px !important;
}

.hero-image-section,
.hero-headline-wrapper {
  background-color: #000000 !important;
}

/* Fix numbers section position */
#numbers,
.numbers-track {
  background-color: #000000 !important;
  margin-top: 0 !important;
  padding-top: 80px !important;
  padding-bottom: 80px !important;
  position: relative !important;
  z-index: 10 !important;
}

/* Fix products section */
#products,
.products {
  background-color: #000000 !important;
  padding-top: 80px !important;
  padding-bottom: 80px !important;
}

/* Fix blog section */
#blog,
.blog {
  background-color: #000000 !important;
  padding-top: 80px !important;
  padding-bottom: 80px !important;
}

/* Fix ending section */
#ending,
.ending {
  background-color: #000000 !important;
  padding-top: 80px !important;
  padding-bottom: 80px !important;
}

/* Fix footer */
#footer,
.footer {
  background-color: #000000 !important;
}

/* Ensure all sections have black background */
body,
.body {
  background-color: #000000 !important;
}

/* Fix video sections */
.black-video,
.blue-video,
.reverse-blue-video {
  background-color: #000000 !important;
}

/* Fix any white gaps */
section {
  margin: 0 !important;
  padding: 0 !important;
}

/* Gradient text effect */
.gradient-text {
  background: linear-gradient(135deg, #00d4ff, #0066ff, #783df4, #00d4ff);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Fix numbers section - move down to second screen */
#numbers,
.numbers-track {
  margin-top: 0 !important;
  padding-top: 100px !important;
  padding-bottom: 100px !important;
  position: relative !important;
}

/* Fix hero section height */
.hero,
#hero {
  min-height: 100vh !important;
  height: auto !important;
  padding-bottom: 60px !important;
}

/* Footer like dashboard */
.footer-dashboard {
  background: #0a0a0f;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 40px 24px;
  margin-top: 80px;
}

.footer-dashboard-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-dashboard-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-logo {
  font-size: 24px;
  font-weight: 800;
  background: linear-gradient(135deg, #00d4ff, #0066ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-dashboard-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.footer-lang-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(0,212,255,0.5);
  color: #fff;
}

.footer-copyright {
  width: 100%;
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

@media (max-width: 768px) {
  .footer-dashboard-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-dashboard-left,
  .footer-dashboard-right {
    flex-direction: column;
  }
  
  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Fix video modal z-index - must be above everything */
.video-modal {
  z-index: 99999 !important;
}

.video-modal.is-active {
  display: flex !important;
}

/* Fix numbers section - move down properly */
#numbers,
.numbers-track {
  margin-top: 0 !important;
  padding-top: 120px !important;
  padding-bottom: 100px !important;
  position: relative !important;
  z-index: 10 !important;
}

/* Fix hero section */
.hero,
#hero,
article#hero {
  min-height: 100vh !important;
  height: 100vh !important;
  padding-bottom: 80px !important;
  position: relative !important;
  z-index: 1 !important;
}

.hero .content-section {
  min-height: 100vh !important;
  padding-top: 140px !important;
  padding-bottom: 60px !important;
}

/* Ensure proper section spacing */
#products,
.products {
  padding-top: 100px !important;
  padding-bottom: 100px !important;
}

#blog,
.blog {
  padding-top: 100px !important;
  padding-bottom: 100px !important;
}

/* Remove any white gaps */
section {
  margin: 0 !important;
}

/* Fix body background */
body,
.body {
  background-color: #000000 !important;
  overflow-x: hidden !important;
}
