:root {
  color-scheme: dark;
  --bg: #07111f;
  --bg-2: #0b1726;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.16);
  --text: #f8fafc;
  --muted: #a8b3c4;
  --blue: #38bdf8;
  --blue-strong: #2563eb;
  --green: #10d48f;
  --gold: #f8c35b;
  --red: #ff6b6b;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.16), transparent 32%),
    linear-gradient(225deg, rgba(16, 212, 143, 0.12), transparent 36%),
    var(--bg);
  color: var(--text);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 72px);
  background: rgba(7, 17, 31, 0.76);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.site-header nav,
.hero-actions,
.metric-row,
.price-row,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: #04111d;
  font-size: 13px;
}

.site-header nav {
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.site-header nav a:hover {
  color: var(--text);
}

.header-cta,
.primary-action,
.secondary-action,
.checkout-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
}

.header-cta,
.primary-action,
.checkout-button {
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: #06111d;
}

.secondary-action {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: clamp(28px, 5vw, 86px);
  align-items: center;
  padding: clamp(42px, 7vw, 100px) clamp(18px, 5vw, 72px);
  overflow: hidden;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.14em;
  font-size: 12px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(44px, 7.8vw, 104px);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-text,
.premium-copy p,
.app-panel p,
.security-grid p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 630px;
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-stage {
  position: relative;
  min-height: 610px;
}

.phone {
  position: absolute;
  width: min(320px, 44vw);
  min-height: 520px;
  padding: 28px;
  border-radius: 42px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.phone-top {
  width: 92px;
  height: 8px;
  margin: 0 auto 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
}

.phone img {
  width: 110px;
  height: 110px;
  border-radius: 28px;
  object-fit: cover;
}

.phone h2 {
  margin: 28px 0 12px;
  font-size: 34px;
}

.phone p {
  color: var(--muted);
  line-height: 1.55;
}

.phone-gorde {
  top: 24px;
  left: 2%;
  transform: rotate(-7deg);
}

.phone-finantziak {
  right: 0;
  bottom: 0;
  transform: rotate(6deg);
}

.metric-row {
  justify-content: space-between;
  margin-top: 54px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.metric-row strong {
  color: var(--text);
}

.apps-section,
.premium-section,
.security-section {
  padding: clamp(64px, 8vw, 112px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading h2,
.premium-copy h2 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.app-panel,
.checkout-card,
.security-grid article {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.app-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px;
  padding: clamp(22px, 3vw, 36px);
  border-radius: 28px;
  background: var(--panel);
}

.app-panel img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 24px;
}

.app-label {
  color: var(--green);
  font-weight: 900;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.app-panel h3 {
  margin-bottom: 10px;
  font-size: 32px;
}

.app-panel ul,
.premium-list {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.app-panel li,
.premium-list li {
  padding: 13px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
}

.premium-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 36px;
  align-items: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border-block: 1px solid var(--line);
}

.checkout-card {
  padding: 28px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.1);
}

.price-row {
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.price-row span {
  color: var(--muted);
  font-weight: 800;
}

.price-row strong {
  font-size: 48px;
}

.price-row small {
  color: var(--muted);
  font-size: 17px;
}

.checkout-button {
  width: 100%;
  margin-top: 22px;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.checkout-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.security-grid article {
  padding: 28px;
  border-radius: 24px;
  background: var(--panel);
}

.security-grid span {
  color: var(--gold);
  font-weight: 900;
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.62);
}

.checkout-modal[hidden] {
  display: none;
}

.modal-panel {
  position: relative;
  max-width: 520px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #101827;
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 28px;
  cursor: pointer;
}

@media (max-width: 920px) {
  .site-header nav,
  .header-cta {
    display: none;
  }

  .hero,
  .premium-section {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 480px;
  }

  .phone {
    width: min(290px, 70vw);
    min-height: 430px;
  }

  .app-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero-stage {
    min-height: 660px;
  }

  .phone {
    position: relative;
    inset: auto;
    width: 100%;
    transform: none;
  }

  .phone + .phone {
    margin-top: 18px;
  }

  .app-panel {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
