* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

:root {
  --red: #FF4757;
  --red-soft: rgba(255, 71, 87, 0.2);
  --green: #2ED573;
  --green-soft: rgba(46, 213, 115, 0.2);
  --bg-dark: #0a0a0a;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.5);
  --border: rgba(255, 255, 255, 0.08);
}

html, body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  min-height: 100vh;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}

/* Hide scrollbar but keep scroll */
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}

html::-webkit-scrollbar {
  width: 4px;
}

html::-webkit-scrollbar-track {
  background: transparent;
}

html::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
}

html::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.2);
}

.screen {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* Background pattern */
.bg-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 71, 87, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(46, 213, 115, 0.08) 0%, transparent 50%);
}

.radial-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.02) 0%, transparent 70%);
}

/* Content */
.content {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 80px 28px 24px;
  text-align: center;
}

.bottom-cta {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

/* Status container */
.status-container {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.status {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.status svg {
  width: 28px;
  height: 28px;
}

.status.blocked {
  background: var(--red-soft);
  color: var(--red);
  animation: fadeSlide 0.6s ease 0.2s both;
}

.status.allowed {
  background: var(--green-soft);
  color: var(--green);
  animation: fadeSlide 0.6s ease 0.5s both, pulse 2s ease-in-out infinite 1s;
}

.status-arrow {
  color: var(--text-secondary);
  animation: fadeSlide 0.6s ease 0.35s both;
}

.status-arrow svg {
  width: 24px;
  height: 24px;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 var(--green-soft); }
  50% { transform: scale(1.05); box-shadow: 0 0 20px 5px var(--green-soft); }
}

/* Typography */
.headline {
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 12px;
  animation: headlineIn 0.7s ease 0.6s both;
}

@keyframes headlineIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.subheadline {
  font-size: 17px;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 0;
  animation: headlineIn 0.7s ease 0.75s both;
}

/* Benefits */
.benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  flex: 1;
  width: 100%;
  max-width: 220px;
  padding: 24px 0;
  animation: headlineIn 0.7s ease 0.9s both;
}

.benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
}

.benefit-check {
  color: var(--green);
  font-weight: 700;
  font-size: 16px;
}

/* Trial badge */
.trial-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-bottom: 20px;
  animation: headlineIn 0.7s ease 1s both;
}

.trial-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
}

.trial-sub {
  font-size: 12px;
  color: var(--text-secondary);
}

/* Apple Pay button */
.apple-pay-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 54px;
  background: #fff;
  color: #000;
  border: none;
  border-radius: 14px;
  font-size: 20px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
  animation: headlineIn 0.7s ease 1.1s both;
}

.apple-pay-btn:active {
  transform: scale(0.98);
  opacity: 0.9;
}

.apple-logo {
  width: 24px;
  height: 24px;
}

/* Terms */
.terms {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-secondary);
  animation: headlineIn 0.7s ease 1.2s both;
}

/* Safe area support */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .content {
    padding-bottom: calc(40px + env(safe-area-inset-bottom));
  }
}

/* Legal footer */
.legal {
  position: relative;
  z-index: 10;
  padding: 40px 28px;
  padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px));
  font-size: 9px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.2);
  text-align: center;
  margin: 0 auto;
}

.legal a {
  color: rgba(255, 255, 255, 0.3);
  text-decoration: underline;
}

/* Larger phones */
@media (min-height: 800px) {
  .headline {
    font-size: 60px;
  }

  .content {
    padding-top: 80px;
  }

  .status {
    width: 64px;
    height: 64px;
  }

  .status svg {
    width: 32px;
    height: 32px;
  }
}

