/* ==========================================================================
   KRD Landing v2 – Premium fintech/crypto startup
   Dark gradient, yellow accent, scroll reveal, phone mockup, trust elements
   ========================================================================== */

/* Global background for landing v2 */
.lp-v2 {
  background: linear-gradient(180deg, #0f172a 0%, #0a0e18 40%, #020617 100%);
  background-attachment: fixed;
}

/* Noise texture overlay */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- 1. HERO V2 – Two column + phone mockup ---- */
.hero-v2 {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  padding: 80px 24px 100px;
  overflow: hidden;
}

.hero-v2__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-v2__gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(250, 204, 21, 0.06) 0%, transparent 50%),
              radial-gradient(ellipse 60% 40% at 80% 60%, rgba(250, 204, 21, 0.04) 0%, transparent 45%);
}

.hero-v2__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}
.hero-v2__glow--l {
  width: 400px;
  height: 400px;
  top: 20%;
  left: -10%;
  background: rgba(250, 204, 21, 0.06);
}
.hero-v2__glow--r {
  width: 500px;
  height: 500px;
  bottom: -20%;
  right: -15%;
  background: rgba(250, 204, 21, 0.05);
}

.hero-v2__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-v2__left {
  max-width: 560px;
}

.hero-v2__headline {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 20px;
}

.hero-v2__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 32px;
}

.hero-v2__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.landing-hero-user__title .landing-hero-user__name {
  display: block;
  margin-top: 0.12em;
  color: var(--accent);
  word-break: break-word;
}

.landing-hero-user__strong {
  color: var(--text);
  font-weight: 600;
}

.landing-hero-user__balance-wrap {
  display: block;
  margin-top: 0.5em;
}

.landing-hero-user__balance {
  font-weight: 700;
  color: var(--accent);
  margin: 0 0.2em;
}

.btn--outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid rgba(250, 204, 21, 0.5);
}
.btn--outline:hover {
  border-color: var(--accent);
  background: rgba(250, 204, 21, 0.08);
  color: var(--accent);
  text-decoration: none;
}

.btn--glow:hover {
  box-shadow: 0 0 40px rgba(250, 204, 21, 0.4), 0 12px 40px rgba(250, 204, 21, 0.25);
}

/* Phone mockup – float, tilt, shadow */
.hero-v2__right {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-mockup {
  position: relative;
  animation: phone-float 5s ease-in-out infinite;
}

@keyframes phone-float {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-12px) rotate(-4deg); }
}

.phone-mockup__frame {
  width: 260px;
  height: 520px;
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  border-radius: 32px;
  padding: 12px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5),
              0 0 0 1px rgba(255, 255, 255, 0.06),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transform: rotate(-4deg);
}

.phone-mockup__screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #0f172a 0%, #0a0e18 100%);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-mockup__ui {
  position: relative;
  text-align: center;
  padding: 24px;
  width: 100%;
  height: 100%;
}
.phone-mockup__ui--mining {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.phone-mockup__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 10px;
  font-weight: 700;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.2);
  padding: 4px 8px;
  border-radius: 6px;
}
.phone-mockup__krd {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.phone-mockup__value {
  font-size: 1.25rem;
  color: var(--text-muted);
}
.phone-mockup__label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---- 2. SOCIAL PROOF STRIP ---- */
.social-proof {
  background: rgba(15, 23, 42, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px 24px;
}

.social-proof__inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.social-proof__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.social-proof__number {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.social-proof__label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ---- 3. HOW IT WORKS ---- */
.section-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-head {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  text-align: center;
  color: var(--text);
  margin-bottom: 48px;
  letter-spacing: -0.02em;
}

.how-it-works {
  padding: 100px 0;
}

.how-it-works__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}

.how-card {
  background: rgba(30, 41, 59, 0.4);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.how-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 0 0 40px rgba(250, 204, 21, 0.06);
  border-color: rgba(250, 204, 21, 0.15);
}

.how-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(250, 204, 21, 0.12);
  border-radius: 14px;
  color: var(--accent);
}

.how-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.how-card__desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Screenshot collage */
.screenshot-collage {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  padding: 24px;
}

.screenshot-collage__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(250, 204, 21, 0.04) 0%, transparent 60%);
  filter: blur(1px);
}

.screenshot-collage__strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.screenshot-collage__item {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}
.screenshot-collage__item::after {
  content: attr(data-label);
}
.screenshot-collage__item:hover {
  transform: scale(1.02);
}

/* ---- 4. MARKETPLACE SECTION ---- */
.marketplace-section {
  padding: 100px 0;
}

.marketplace-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.reward-card {
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  color: inherit;
}
.reward-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2), 0 0 30px rgba(250, 204, 21, 0.08);
  border-color: rgba(250, 204, 21, 0.2);
  color: var(--text);
}

.reward-card__logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: #0a0e18;
}
.reward-card__logo--playstation { background: linear-gradient(135deg, #003791 0%, #0070d1 100%); color: #fff; }
.reward-card__logo--xbox { background: linear-gradient(135deg, #107c10 0%, #0e7c0e 100%); color: #fff; }
.reward-card__logo--netflix { background: #e50914; color: #fff; }
.reward-card__logo--mobile { background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); color: #fff; }

.reward-card__name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.reward-card__price {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--accent);
}

/* ---- 5. ROADMAP ---- */
.roadmap-section {
  padding: 100px 0;
}

.roadmap {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
}

.roadmap__line {
  position: absolute;
  left: 11px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent) 0%, rgba(250, 204, 21, 0.3) 50%, transparent 100%);
  border-radius: 1px;
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.3);
}

.roadmap__item {
  position: relative;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px 0;
  padding-left: 48px;
}

.roadmap__dot {
  position: absolute;
  left: 0;
  top: 28px;
  width: 24px;
  height: 24px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(250, 204, 21, 0.5), 0 0 0 4px rgba(250, 204, 21, 0.2);
}

.roadmap__content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.roadmap__date {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.roadmap__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
}

/* ---- 6. COMMUNITY TESTIMONIALS ---- */
.community-section {
  padding: 100px 0;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: rgba(30, 41, 59, 0.4);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(250, 204, 21, 0.12);
}

.testimonial-card__avatar {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.25) 0%, rgba(250, 204, 21, 0.1) 100%);
  border: 2px solid rgba(250, 204, 21, 0.2);
}

.testimonial-card__quote {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 12px;
  font-style: italic;
}

.testimonial-card__name {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ---- 7. DOWNLOAD SECTION ---- */
.download-section {
  position: relative;
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
}

.download-section__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(250, 204, 21, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.download-section__headline {
  position: relative;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.download-section__sub {
  position: relative;
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.download-buttons {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: var(--text);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
}
.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(250, 204, 21, 0.15);
  border-color: rgba(250, 204, 21, 0.3);
  color: var(--text);
}

.store-btn__icon {
  font-size: 1.75rem;
  line-height: 1;
}
.store-btn__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.store-btn__text small {
  font-size: 0.7rem;
  color: var(--text-muted);
}
.store-btn__text strong {
  font-size: 1.125rem;
}

.store-btn__badge {
  position: absolute;
  top: -8px;
  right: -8px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--accent);
  color: #0a0e18;
  padding: 4px 8px;
  border-radius: 6px;
}

/* ---- 8. FOOTER V2 ---- */
.footer-v2 {
  padding: 64px 24px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(2, 6, 23, 0.8);
}

.footer-v2__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.footer-v2__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  margin-bottom: 24px;
}
.footer-v2__links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
}
.footer-v2__links a:hover {
  color: var(--accent);
}

.footer-v2__social {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
}
.footer-v2__social a {
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.footer-v2__social a:hover {
  color: var(--accent);
}

.footer-v2__tagline {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 8px;
}

.footer-v2__copy {
  font-size: 0.875rem;
  color: var(--text-muted);
  opacity: 0.8;
  margin: 0;
}

/* ---- SCROLL REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .hero-v2__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-v2__left {
    max-width: 100%;
  }
  .hero-v2__ctas {
    justify-content: center;
  }
  .hero-v2__right {
    order: -1;
  }
  .phone-mockup__frame {
    width: 220px;
    height: 440px;
  }
  .social-proof__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .how-it-works__grid {
    grid-template-columns: 1fr;
  }
  .marketplace-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-v2 {
    padding: 48px 20px 64px;
  }
  .social-proof__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .screenshot-collage__strip {
    grid-template-columns: 1fr;
  }
  .marketplace-grid {
    grid-template-columns: 1fr;
  }
  .roadmap__item {
    padding-left: 44px;
  }
  .download-buttons {
    flex-direction: column;
    align-items: center;
  }
  .store-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .phone-mockup__frame {
    width: 180px;
    height: 360px;
    border-radius: 24px;
  }
  .phone-mockup__screen {
    border-radius: 18px;
  }
}
