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

:root {
  --accent: #00D4FF;
  --accent-glow: rgba(0, 212, 255, 0.4);
  --bg-dark: #0a0a0f;
  --bg-card: rgba(255, 255, 255, 0.03);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.6);
  --border: rgba(255, 255, 255, 0.08);
}

html, body {
  font-family: 'Inter', -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;
  max-width: 100%;
  overflow-x: clip;
}

/* Animated grid background */
.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(40px, 40px); }
}

/* Glowing orbs */
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  pointer-events: none;
}

.glow-1 {
  width: 300px;
  height: 300px;
  background: var(--accent);
  top: -100px;
  right: -100px;
  animation: pulse1 4s ease-in-out infinite;
}

.glow-2 {
  width: 200px;
  height: 200px;
  background: #6366f1;
  bottom: 20%;
  left: -80px;
  animation: pulse2 5s ease-in-out infinite;
}

@keyframes pulse1 {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.1); }
}

@keyframes pulse2 {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.15); }
}

/* 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;
}

/* Control indicator */
.control-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  padding: 8px 16px 8px 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  backdrop-filter: blur(20px);
}

.indicator-ring {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: ringPulse 2s ease-in-out infinite;
}

.indicator-core {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.indicator-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--accent);
}

/* Typography */
.headline {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subheadline {
  font-size: 17px;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* Benefits */
.benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  flex: 1;
  width: 100%;
  max-width: 280px;
  padding: 24px 0;
}

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

.benefit-icon {
  width: 22px;
  height: 22px;
  color: var(--accent);
  flex-shrink: 0;
}

/* Trial badge */
.trial-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-bottom: 20px;
}

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

.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;
}

.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);
}

/* 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: 48px;
  }

  .content {
    padding-top: 80px;
  }
}

