/* ==========================================================================
   UTURD - Components & Screen-Specific Styling (Frontend Landing)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. LANDING PAGE HERO
   -------------------------------------------------------------------------- */
.hero-section {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 2.5rem;
  padding: 3rem 0 2rem;
  position: relative;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.hero-title .white-text {
  color: #ffffff;
  display: block;
}

.hero-title .gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  text-shadow: 0 0 30px rgba(245, 192, 68, 0.3);
}

.hero-subtitle {
  font-size: 1.15rem;
  font-weight: 600;
  color: #cbd5e1;
  letter-spacing: 0.2px;
}

.hero-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 0.5rem 0 1rem;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.98rem;
  font-weight: 600;
  color: #e2e8f0;
}

.feature-icon-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(245, 192, 68, 0.2);
  border: 1px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 0.72rem;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(245, 192, 68, 0.4);
}

.hero-cta-box {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* 3D Bitcoin Platform Visual */
.hero-visual-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual-container {
  position: relative;
  width: 100%;
  max-width: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual-container::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 192, 68, 0.28) 0%, rgba(56, 189, 248, 0.2) 45%, transparent 70%);
  filter: blur(40px);
  animation: pulseGlow 4s infinite alternate ease-in-out;
  pointer-events: none;
}

@keyframes pulseGlow {
  0% { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.15); opacity: 1; }
}

.hero-visual-img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  border-radius: 20px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 30px rgba(56, 189, 248, 0.25));
  animation: floatCoin 5s ease-in-out infinite;
}

@keyframes floatCoin {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

/* --------------------------------------------------------------------------
   2. 4 TRUST BADGES STRIP
   -------------------------------------------------------------------------- */
.trust-badges-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 1.8rem 2rem;
  background: rgba(6, 18, 45, 0.75);
  border: 1px solid rgba(46, 92, 175, 0.35);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  margin: 1.5rem 0 3.5rem;
  box-shadow: 0 10px 25px rgba(0, 5, 20, 0.4);
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-badge-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(245, 192, 68, 0.12);
  border: 1px solid rgba(245, 192, 68, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.trust-badge-text h4 {
  font-size: 0.96rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.trust-badge-text p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   3. CUSTOMIZED SINGLE MINING PLAN CARD & CALCULATOR
   -------------------------------------------------------------------------- */
.custom-mining-container {
  max-width: 960px;
  margin: 0 auto;
}

.mining-plan-card-custom {
  background: rgba(8, 22, 53, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 2px solid var(--gold-primary);
  box-shadow: 0 0 35px rgba(245, 192, 68, 0.32), 0 20px 50px rgba(0, 5, 25, 0.85);
  border-radius: 24px;
  padding: 2.2rem 2.4rem;
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
}

.plan-card-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(46, 92, 175, 0.35);
  padding-bottom: 1.5rem;
  margin-bottom: 1.8rem;
}

.plan-name-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.plan-badge-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(245, 192, 68, 0.15);
  border: 1px solid rgba(245, 192, 68, 0.4);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 0 15px rgba(245, 192, 68, 0.25);
}

.plan-custom-heading {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.plan-custom-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

.plan-popular-pill {
  background: var(--gold-gradient);
  color: #0b1526;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  box-shadow: 0 3px 12px rgba(245, 192, 68, 0.4);
  display: flex;
  align-items: center;
  gap: 6px;
}

.plan-card-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.2rem;
  align-items: stretch;
}

/* Controls Column */
.control-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 0.6rem;
}

.amount-field-wrapper {
  display: flex;
  align-items: center;
  background: rgba(4, 13, 34, 0.95);
  border: 1.5px solid rgba(56, 102, 184, 0.6);
  border-radius: 14px;
  padding: 10px 18px;
  gap: 8px;
  margin-bottom: 1rem;
  transition: all 0.25s ease;
}

.amount-field-wrapper:focus-within {
  border-color: var(--gold-primary);
  box-shadow: 0 0 16px rgba(245, 192, 68, 0.35);
  background: rgba(7, 20, 50, 0.98);
}

.currency-prefix {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gold-primary);
  line-height: 1;
}

.custom-amount-field {
  width: 100%;
  background: transparent;
  border: none;
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  outline: none;
  font-family: inherit;
}

/* Presets */
.presets-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin-bottom: 1.25rem;
}

.preset-btn {
  background: rgba(14, 34, 78, 0.7);
  border: 1px solid rgba(46, 92, 175, 0.45);
  color: #cbd5e1;
  padding: 8px 0;
  text-align: center;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.preset-btn:hover {
  background: rgba(22, 54, 115, 0.95);
  border-color: rgba(70, 130, 230, 0.8);
  color: #ffffff;
}

.preset-btn.active {
  background: var(--gold-gradient);
  color: #0b1526;
  border-color: transparent;
  box-shadow: 0 3px 12px rgba(245, 192, 68, 0.4);
}

/* Slider */
.range-slider-wrapper {
  margin-bottom: 1.5rem;
}

.styled-range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 6px;
  background: rgba(14, 34, 78, 0.95);
  outline: none;
  cursor: pointer;
}

.styled-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold-gradient);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(245, 192, 68, 0.7);
  transition: transform 0.15s ease;
}

.styled-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.slider-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--text-dim);
  font-weight: 600;
}

/* Duration */
.duration-section {
  margin-top: 0.5rem;
}

.duration-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.duration-btn {
  background: rgba(6, 18, 45, 0.8);
  border: 1px solid rgba(46, 92, 175, 0.45);
  padding: 10px 8px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: all 0.25s ease;
}

.duration-btn .d-days {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
}

.duration-btn .d-rate {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.duration-btn:hover {
  border-color: rgba(70, 130, 230, 0.8);
  background: rgba(12, 32, 75, 0.9);
}

.duration-btn.active {
  background: rgba(18, 44, 100, 0.95);
  border: 1.5px solid var(--gold-primary);
  box-shadow: 0 0 15px rgba(245, 192, 68, 0.25);
}

.duration-btn.active .d-rate {
  color: var(--gold-primary);
  font-weight: 700;
}

/* Right Column Summary */
.summary-card-inner {
  background: rgba(5, 16, 42, 0.85);
  border: 1px solid rgba(46, 92, 175, 0.45);
  border-radius: 18px;
  padding: 1.6rem 1.6rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.summary-headline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.summary-headline span {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rate-badge {
  background: rgba(245, 192, 68, 0.15);
  border: 1px solid var(--gold-primary);
  color: var(--gold-primary);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 12px;
}

.summary-metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 1.25rem;
}

.metric-item {
  background: rgba(8, 22, 53, 0.9);
  border: 1px solid rgba(46, 92, 175, 0.35);
  border-radius: 12px;
  padding: 12px 14px;
}

.metric-lbl {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 4px;
}

.metric-val {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
}

.metric-val.text-green {
  color: #10b981;
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.35);
}

.metric-total-box {
  background: linear-gradient(135deg, rgba(14, 38, 90, 0.9), rgba(8, 22, 53, 0.95));
  border: 1.5px solid rgba(245, 192, 68, 0.45);
  border-radius: 14px;
  padding: 14px 16px;
  text-align: center;
  margin-bottom: 1.4rem;
}

.total-lbl {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.total-val {
  font-size: 2rem;
  font-weight: 900;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.15;
  margin: 4px 0;
}

.total-sub {
  display: block;
  font-size: 0.74rem;
  color: var(--text-dim);
}

.btn-invest-action {
  background: var(--gold-gradient);
  color: #0b1526;
  font-size: 1.1rem;
  font-weight: 800;
  padding: 14px 24px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 5px 22px rgba(245, 192, 68, 0.45);
  transition: all 0.25s ease;
}

.btn-invest-action:hover {
  background: var(--gold-gradient-hover);
  box-shadow: 0 7px 28px rgba(245, 192, 68, 0.65);
  transform: translateY(-2px);
  color: #000;
}

.security-guarantee-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.76rem;
  color: var(--text-dim);
  margin-top: 0.85rem;
}

.security-guarantee-note i {
  color: #10b981;
}

/* 3 Bottom Badges for Mining Investment Screen */
.plans-benefits-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  margin-top: 1.5rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #e2e8f0;
}

.benefit-item i {
  color: var(--gold-primary);
  font-size: 1.1rem;
}

/* Security Ribbon */
.security-ribbon-banner {
  background: rgba(8, 24, 60, 0.75);
  border: 1px solid rgba(46, 92, 175, 0.4);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin: 3.5rem 0 1rem;
  text-align: left;
}

.security-ribbon-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #10b981;
  font-size: 1.5rem;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}

.security-ribbon-text h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.security-ribbon-text p {
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   4. ABOUT, HOW IT WORKS & FAQ
   -------------------------------------------------------------------------- */
.landing-section {
  padding: 4.5rem 0 2rem;
  position: relative;
}

.section-header-center {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header-center h2 {
  font-size: 2.1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.section-header-center p {
  font-size: 0.98rem;
  color: var(--text-muted);
}

.stats-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.stat-counter-card {
  padding: 1.8rem 1.5rem;
  text-align: center;
  background: rgba(8, 22, 53, 0.75);
  border: 1px solid rgba(46, 92, 175, 0.35);
  border-radius: 16px;
  transition: transform 0.25s ease;
}

.stat-counter-card:hover {
  transform: translateY(-4px);
  border-color: rgba(70, 130, 230, 0.6);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 900;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.step-card {
  padding: 2.2rem 1.8rem;
  border-radius: 16px;
  background: rgba(8, 22, 53, 0.75);
  border: 1px solid rgba(46, 92, 175, 0.4);
  position: relative;
  text-align: center;
}

.step-number-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #0c172a;
  font-size: 1.25rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 15px rgba(245, 192, 68, 0.4);
}

.step-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* FAQ Accordion */
.faq-container {
  max-width: 820px;
  margin: 2.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: rgba(8, 22, 53, 0.75);
  border: 1px solid rgba(46, 92, 175, 0.4);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-item:hover {
  border-color: rgba(70, 130, 230, 0.6);
}

.faq-question {
  padding: 1.2rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.faq-icon {
  font-size: 0.85rem;
  color: var(--gold-primary);
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 0 1.5rem 1.25rem;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

/* Bottom CTA Banner */
.ready-cta-banner {
  margin: 4rem 0 2rem;
  padding: 3rem 2rem;
  background: radial-gradient(circle at 50% 50%, rgba(20, 60, 140, 0.5) 0%, rgba(8, 22, 53, 0.85) 100%);
  border: 1.5px solid var(--gold-primary);
  box-shadow: 0 0 35px rgba(245, 192, 68, 0.25);
  border-radius: 20px;
  text-align: center;
}

.ready-cta-banner h2 {
  font-size: 2.2rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.ready-cta-banner p {
  font-size: 1rem;
  color: #cbd5e1;
  max-width: 600px;
  margin: 0 auto 1.75rem;
}

/* Responsive */
@media (max-width: 860px) {
  .plan-card-grid {
    grid-template-columns: 1fr;
  }
  .presets-row {
    grid-template-columns: repeat(3, 1fr);
  }
  .plans-benefits-row {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
}

@media (max-width: 580px) {
  .mining-plan-card-custom {
    padding: 1.5rem 1.2rem;
  }
  .plan-card-topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .duration-options {
    grid-template-columns: 1fr;
  }
  .summary-metric-row {
    grid-template-columns: 1fr;
  }
}
