/* ===================================================================
   MOBILE.CSS — Mobile adaptation (landing page only)
   Loaded via <link media="(max-width: 768px)">
   Desktop is NOT affected by this file.
   ================================================================ */

/* === HEADER === */
.site-header {
  width: 100% !important;
  padding: 0 16px !important;
  margin: 10px auto 0 !important;
}

body.landing-active .site-header {
  top: 10px !important;
}

.header-inner {
  height: 44px !important;
}

/* Hide desktop menu */
.header-menu {
  display: none !important;
}

/* Sign In / Access button — icon only */
.header-signin-btn {
  width: 35px !important;
  height: 35px !important;
  padding: 0 !important;
  gap: 0 !important;
  border-radius: 8px !important;
}

.signin-text {
  display: none !important;
}

.signin-icon {
  width: 18px !important;
  height: 18px !important;
}

/* Plan badge — slightly smaller */
.header-plan-badge {
  width: 55px !important;
  height: 30px !important;
}

.plan-badge-text {
  font-size: 12px !important;
}

/* Show burger button (hidden on desktop via inline style) */
.burger-btn {
  display: flex !important;
  width: 35px;
  height: 35px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.burger-line {
  display: block;
  width: 16px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  position: relative;
}

.burger-line::before,
.burger-line::after {
  content: '';
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
}

.burger-line::before { top: -5px; }
.burger-line::after  { top: 5px; }

/* === FULLSCREEN MENU OVERLAY === */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.97);
  z-index: 9998;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
}

.mobile-menu-overlay.open {
  display: flex !important;
}

.mobile-menu-overlay a {
  color: #fff;
  font-family: 'Benzin-Semibold', sans-serif;
  font-size: 24px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.mobile-menu-overlay a:hover {
  opacity: 0.7;
}

.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 35px;
  height: 35px;
  background: transparent;
  border: 0.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  line-height: 1;
}

/* === HERO SECTION === */
.hero-section {
  min-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Gradient fade at bottom of hero */
.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to bottom, transparent, #0A0A0A);
  z-index: 3;
  pointer-events: none;
}

.hero-content {
  width: 100% !important;
  padding-top: 0 !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  flex: none !important;
}

.hero-title {
  width: 100% !important;
  max-width: 100% !important;
  font-size: 38px !important;
}

.hero-subtitle {
  width: 100% !important;
  max-width: 100% !important;
  font-size: 16px !important;
  line-height: 24px !important;
  margin-top: 16px !important;
}

.hero-cta-btn {
  width: auto !important;
  max-width: calc(100% - 32px) !important;
  height: 52px !important;
  padding: 7px 32px !important;
  margin-top: 36px !important;
}

.hero-cta-text {
  font-size: 18px !important;
}

/* Hide SVG glow on mobile */
.hero-glow-svg {
  display: none !important;
}

/* === NOISE SECTION === */
.noise-section {
  min-height: 100vh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding-top: 0 !important;
  position: relative !important;
  background: #0A0A0A !important;
}

/* Gradient fade at bottom of noise */
.noise-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to bottom, transparent, #0A0A0A);
  z-index: 3;
  pointer-events: none;
}

.noise-title {
  width: 100% !important;
  max-width: calc(100% - 40px) !important;
  font-size: 24px !important;
}

/* === CONSTRUCTOR SECTION === */
.constructor-section {
  width: 100% !important;
  height: 300vh !important;
  min-height: auto !important;
  padding-top: 0 !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  box-sizing: border-box !important;
  position: relative !important;
}

.constructor-sticky-wrapper {
  position: sticky !important;
  top: 0 !important;
  z-index: 5 !important;
  background: #0A0A0A !important;
}

.constructor-title {
  font-size: 26px !important;
  position: static !important;
  padding-top: 40px !important;
  padding-bottom: 24px !important;
}

/* Constructor cards — stacked for scroll animation */
.constructor-cards {
  position: static !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  overflow: visible !important;
  scroll-snap-type: none !important;
  gap: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
}

.constructor-card {
  grid-row: 1 !important;
  grid-column: 1 !important;
  width: 100% !important;
  min-width: auto !important;
  height: 360px !important;
  flex-shrink: 0 !important;
  scroll-snap-align: none !important;
  transition: opacity 0.3s ease !important;
}

.constructor-card:nth-child(1) { opacity: 1; }
.constructor-card:nth-child(2) { opacity: 0; }
.constructor-card:nth-child(3) { opacity: 0; }

.constructor-card-content {
  padding: 32px !important;
  justify-content: center !important;
  gap: 24px !important;
}

.constructor-card-number {
  width: auto !important;
  font-size: 36px !important;
}

.constructor-card-text {
  width: auto !important;
  font-size: 15px !important;
  line-height: 22px !important;
}

/* === FUNCTIONS SECTION === */
.functions-section {
  width: 100% !important;
  padding-top: 100px !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
  flex-direction: column !important;
  gap: 20px !important;
}

.functions-title {
  font-size: 26px !important;
}

.functions-description {
  width: 100% !important;
  font-size: 18px !important;
  line-height: 26px !important;
}

.functions-description br {
  display: none;
}

/* === FUNCTIONS CARDS — vertical stack === */
.functions-cards {
  width: 100% !important;
  min-height: auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  margin-top: 32px !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
}

.function-card {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  width: 100% !important;
  height: auto !important;
  display: flex !important;
  flex-direction: column !important;
}

.function-card-bg {
  position: absolute !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 12px !important;
}

.function-card-content {
  padding: 32px 24px !important;
  padding-bottom: 32px !important;
  order: 1 !important;
}

.function-card-image {
  position: relative !important;
  left: auto !important;
  bottom: auto !important;
  width: calc(100% - 48px) !important;
  height: auto !important;
  margin: 0 24px 24px !important;
  z-index: 3;
  order: 2 !important;
}

.function-card-title {
  width: 100% !important;
  font-size: 22px !important;
  margin-bottom: 16px !important;
}

.function-card-title br {
  display: none !important;
}

.function-card-text {
  width: 100% !important;
  font-size: 15px !important;
  line-height: 22px !important;
}

.function-card-text br {
  display: none;
}

/* Crypto icons in card 2 */
.crypto-icons-row {
  display: flex !important;
  margin-left: 0 !important;
  margin-top: 8px !important;
  transform: none !important;
}

.crypto-icon {
  width: 36px !important;
  height: 36px !important;
}

/* === PRICING + CTA WRAPPER === */
.pricing-cta-wrapper {
  padding-bottom: 0 !important;
}

/* === PRICING SECTION === */
.pricing-section {
  width: 100% !important;
  padding-top: 150px !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
}

.pricing-title {
  width: 100% !important;
  font-size: 28px !important;
}

/* Pricing cards — vertical stack */
.pricing-cards {
  display: flex !important;
  flex-direction: column !important;
  overflow-x: visible !important;
  scroll-snap-type: none !important;
  gap: 16px !important;
  margin-top: 16px !important;
  padding-bottom: 0 !important;
}

.pricing-card {
  width: 100% !important;
  min-width: auto !important;
  height: auto !important;
  min-height: 620px !important;
  flex-shrink: 0 !important;
}

.pricing-card-bg {
  position: absolute !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: fill !important;
}

.pricing-plan-name  { order: 1 !important; }
.pricing-price-row  { order: 2 !important; }
.pricing-description { order: 3 !important; }
.pricing-includes   { order: 4 !important; }
.pricing-features-list { order: 5 !important; }
.pricing-cta-btn    { order: 6 !important; }

/* Pricing card internals — override absolute positioning to normal flow */
.pricing-card-content {
  position: relative !important;
  height: 100% !important;
  min-height: 620px !important;
  padding: 48px 28px 48px !important;
  display: flex !important;
  flex-direction: column !important;
}

.pricing-plan-name {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  width: auto !important;
  height: auto !important;
  font-size: 36px !important;
  margin-bottom: 16px !important;
}

.pricing-price-row {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  display: flex !important;
  align-items: baseline !important;
  gap: 4px !important;
  margin-bottom: 12px !important;
}

.pricing-price {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  width: auto !important;
  height: auto !important;
  font-size: 36px !important;
}

.pricing-period {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  width: auto !important;
  height: auto !important;
  font-size: 20px !important;
}

.pricing-card:nth-child(3) .pricing-period {
  left: auto !important;
  top: auto !important;
}

/* Description — force order above includes/features */
.pricing-description {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  width: 100% !important;
  height: auto !important;
  font-size: 14px !important;
  margin-bottom: 16px !important;
  order: 3 !important;
}

.pricing-card:nth-child(3) .pricing-description {
  width: 100% !important;
  height: auto !important;
}

.pricing-includes {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  width: 100% !important;
  height: auto !important;
  font-size: 14px !important;
  margin-bottom: 12px !important;
}

.pricing-card:nth-child(1) .pricing-includes,
.pricing-card:nth-child(2) .pricing-includes,
.pricing-card:nth-child(3) .pricing-includes {
  top: auto !important;
}

.pricing-features-list {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  gap: 10px !important;
  margin-bottom: 24px !important;
}

.pricing-card:nth-child(1) .pricing-features-list,
.pricing-card:nth-child(2) .pricing-features-list,
.pricing-card:nth-child(3) .pricing-features-list {
  top: auto !important;
}

.pricing-feature {
  width: 100% !important;
  font-size: 14px !important;
}

.pricing-cta-btn {
  position: relative !important;
  left: auto !important;
  bottom: auto !important;
  width: 100% !important;
  height: 52px !important;
  padding: 0 !important;
  font-size: 18px !important;
  margin-top: auto !important;
}

/* Pricing tooltip — prevent overflow on mobile */
.pricing-tooltip-bubble {
  left: auto !important;
  right: 0 !important;
  transform: none !important;
}

/* === CTA SECTION === */
.cta-section {
  width: 100% !important;
  min-height: 100vh !important;
  padding: 0 16px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

.cta-title {
  width: 100% !important;
  max-width: 100% !important;
  font-size: 26px !important;
}

.cta-title br {
  display: none;
}

.cta-button {
  width: auto !important;
  height: 50px !important;
  padding: 0 32px !important;
  margin-top: 36px !important;
}

.cta-button-text {
  font-size: 18px !important;
}

/* === FOOTER === */
.site-footer {
  height: auto !important;
  margin-top: 0 !important;
}

.footer-inner {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  padding: 24px 16px 32px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 24px !important;
}

.footer-site-name {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  font-size: 18px !important;
}

.footer-disclaimer {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  width: 100% !important;
  height: auto !important;
}


.footer-columns {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 24px !important;
}

.footer-menu {
  grid-column: 1 / -1 !important;
}

.footer-copy {
  position: relative !important;
  left: auto !important;
  bottom: auto !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  font-size: 11px !important;
}

/* === DESKTOP BANNER (shown on calculator pages on mobile) === */
.mobile-desktop-banner {
  display: none;
  background: rgba(161, 25, 207, 0.15);
  border: 0.5px solid rgba(161, 25, 207, 0.4);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 16px;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 20px;
}

body.calculator-active .mobile-desktop-banner {
  display: block !important;
}

/* === MODALS — fit mobile screens === */
.modal-window {
  width: calc(100vw - 32px) !important;
  max-width: 536px !important;
  height: auto !important;
  min-height: 260px !important;
}

.modal-title {
  left: 24px !important;
}

.modal-label-container {
  left: 24px !important;
  right: 24px !important;
}

.modal-input {
  left: 24px !important;
  width: calc(100% - 48px) !important;
}

.modal-buttons {
  right: 24px !important;
}

.consent-modal-window {
  width: calc(100vw - 32px) !important;
  max-width: 536px !important;
}

.consent-modal-content {
  padding: 40px 24px 28px !important;
}
