/* ============================================================
   bunq — Activation Bonus  |  Standalone static styles
   Mirrors the original Tailwind/React design exactly.
   ============================================================ */

/* ---------- Fonts (local) ---------- */
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/geist-variable.woff2") format("woff2");
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: #070b18;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #fff;
  background-color: #070b18;
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* ---------- Layout shell ---------- */
.page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background-color: #070b18;
}

.bg-wash {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at top right,
      rgba(20, 40, 90, 0.6),
      transparent 55%
    ),
    radial-gradient(
      ellipse at bottom left,
      rgba(10, 20, 45, 0.8),
      transparent 60%
    );
}

.page-inner {
  position: relative;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: relative;
  z-index: 50;
  width: 100%;
}

.nav {
  margin: 0 auto;
  display: flex;
  max-width: 1400px;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
}

.logo {
  font-size: 1.875rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #fff;
  transition: opacity 0.2s ease;
}
.logo:hover {
  opacity: 0.8;
}

/* Desktop nav links */
.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s ease;
}
.nav-link:hover {
  color: #fff;
}

.icon-chevron {
  width: 1rem;
  height: 1rem;
  opacity: 0.7;
}

/* Desktop actions */
.nav-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-block;
  border-radius: 9999px;
  font-weight: 600;
  text-align: center;
  transition: transform 0.2s ease;
}
.btn:hover {
  transform: scale(1.03);
}
.btn:active {
  transform: scale(0.95);
}

.btn-sm {
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 700;
  margin-top: 2rem;
}

.btn-white {
  background-color: #fff;
  color: #0b1020;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.btn-lg.btn-white {
  box-shadow: 0 10px 30px -8px rgba(255, 255, 255, 0.4);
}

.btn-orange {
  background-color: #ff5b14;
  color: #fff;
  box-shadow: 0 6px 20px rgba(255, 91, 20, 0.4);
}

.btn-block {
  display: block;
  width: 100%;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
}
.btn-block:hover {
  transform: none;
}

/* Mobile toggle */
.menu-toggle {
  display: inline-flex;
  color: #fff;
}
.menu-toggle svg {
  width: 1.75rem;
  height: 1.75rem;
}
.menu-toggle .icon-close {
  display: none;
}
.menu-toggle.is-open .icon-menu {
  display: none;
}
.menu-toggle.is-open .icon-close {
  display: block;
}

/* Mobile menu */
.mobile-menu {
  margin: 0 1.5rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.mobile-menu[hidden] {
  display: none;
}

.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  transition: background-color 0.2s ease;
}
.mobile-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.mobile-actions {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  margin: 0 auto;
  display: grid;
  max-width: 1400px;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 2.5rem;
  padding: 2rem 1.25rem 4rem;
}

.hero-copy {
  order: 2;
  max-width: 36rem;
}

.hero-title {
  font-size: 2.25rem;
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff;
  text-wrap: balance;
}

.hero-desc {
  margin-top: 1.5rem;
  font-size: 1rem;
  line-height: 1.625;
  color: rgba(255, 255, 255, 0.75);
  text-wrap: pretty;
}

.hero-phone {
  order: 1;
  display: flex;
  justify-content: center;
}

/* ============================================================
   PHONE MOCKUP
   ============================================================ */
.phone-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-glow {
  position: absolute;
  inset: -2.5rem;
  border-radius: 9999px;
  background: radial-gradient(
    circle at center,
    rgba(255, 91, 20, 0.35),
    rgba(34, 197, 94, 0.18),
    transparent 70%
  );
  filter: blur(64px);
}

.phone-frame {
  position: relative;
  width: 270px;
  border-radius: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: #0a0a0c;
  padding: 0.75rem;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8);
}

.phone-btn {
  position: absolute;
  width: 0.25rem;
  background-color: rgba(255, 255, 255, 0.15);
}
.phone-btn-left {
  left: -0.25rem;
  top: 7rem;
  height: 4rem;
  border-top-left-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
}
.phone-btn-right {
  right: -0.25rem;
  top: 8rem;
  height: 5rem;
  border-top-right-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;
}

.phone-screen {
  position: relative;
  aspect-ratio: 9 / 19.5;
  width: 100%;
  overflow: hidden;
  border-radius: 2.3rem;
  background: linear-gradient(to bottom, #0e1b3d, #10243f, #06122a);
}

.phone-notch {
  position: absolute;
  left: 50%;
  top: 0.75rem;
  z-index: 20;
  height: 1.75rem;
  width: 6rem;
  transform: translateX(-50%);
  border-radius: 9999px;
  background-color: #000;
}

.screen-glow {
  position: absolute;
  width: 12rem;
  height: 12rem;
  border-radius: 9999px;
  filter: blur(64px);
}
.screen-glow-orange {
  right: -4rem;
  top: 2.5rem;
  background-color: rgba(255, 91, 20, 0.3);
}
.screen-glow-green {
  left: -4rem;
  bottom: 6rem;
  background-color: rgba(52, 211, 153, 0.25);
}

.screen-content {
  position: relative;
  z-index: 10;
  display: flex;
  height: 100%;
  flex-direction: column;
  padding: 3.5rem 1.25rem 1.5rem;
}

.screen-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.screen-brand {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
}

.badge-secure {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.75rem;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.icon-xs {
  width: 0.75rem;
  height: 0.75rem;
}

/* Bonus card */
.screen-body {
  margin-top: 1.5rem;
  flex: 1 1 0%;
}

.bonus-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: linear-gradient(to bottom right, #ff7a3c, #ff5b14, #e23a00);
  padding: 1.25rem;
  box-shadow: 0 20px 50px -15px rgba(255, 91, 20, 0.7);
}

.bonus-shine {
  position: absolute;
  right: -2rem;
  top: -2rem;
  width: 7rem;
  height: 7rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.25);
  filter: blur(32px);
}

.bonus-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.badge-exclusive {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 9999px;
  background-color: rgba(0, 0, 0, 0.2);
  padding: 0.25rem 0.75rem;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
}

.icon-zap {
  width: 1.25rem;
  height: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
}

.bonus-label {
  position: relative;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

.bonus-amount {
  position: relative;
  margin-top: 0.25rem;
  font-size: 3rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff;
}

.bonus-sub {
  position: relative;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  line-height: 1.625;
  color: rgba(255, 255, 255, 0.8);
}

.bonus-progress {
  position: relative;
  margin-top: 1.25rem;
}

.progress-track {
  height: 0.375rem;
  width: 100%;
  overflow: hidden;
  border-radius: 9999px;
  background-color: rgba(0, 0, 0, 0.25);
}

.progress-fill {
  height: 100%;
  width: 75%;
  border-radius: 9999px;
  background-color: #fff;
}

.progress-text {
  margin-top: 0.375rem;
  font-size: 0.625rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
}

/* mini stats */
.mini-stats {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.stat-card {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.05);
  padding: 0.75rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.stat-label {
  font-size: 0.625rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
}

.stat-value {
  margin-top: 0.125rem;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}
.stat-green {
  color: #34d399;
}

/* CTA */
.phone-cta {
  display: block;
  width: 100%;
  margin-top: 1.25rem;
  border-radius: 1rem;
  background-color: #fff;
  padding: 0.875rem 0;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: #0b1020;
  box-shadow: 0 10px 30px -8px rgba(255, 255, 255, 0.5);
  transition: transform 0.2s ease;
}
.phone-cta:hover {
  transform: scale(1.02);
}
.phone-cta:active {
  transform: scale(0.95);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* sm: >= 640px */
@media (min-width: 640px) {
  .nav {
    padding: 1.5rem;
  }
  .hero {
    padding: 2rem 1.5rem 6rem;
  }
  .hero-title {
    font-size: 3.75rem;
  }
  .hero-desc {
    margin-top: 2rem;
    font-size: 1.25rem;
  }
  .btn-lg {
    margin-top: 2.5rem;
    padding: 1rem 2rem;
    font-size: 1.125rem;
  }
  .phone-frame {
    width: 330px;
  }
}

/* lg: >= 1024px */
@media (min-width: 1024px) {
  .nav {
    padding: 1.5rem 2.5rem;
  }
  .nav-links {
    display: flex;
  }
  .nav-actions {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
  .mobile-menu {
    display: none !important;
  }

  .hero {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 4rem 2.5rem 6rem;
  }
  .hero-copy {
    order: 1;
  }
  .hero-phone {
    order: 2;
    justify-content: flex-end;
  }
  .hero-title {
    font-size: 4.5rem;
  }
}
