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

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100dvh;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: #050505;
  background-image:
    radial-gradient(ellipse 100% 70% at 50% -15%, rgba(99, 102, 241, 0.14) 0%, transparent 58%),
    radial-gradient(ellipse 55% 40% at 95% 85%, rgba(139, 92, 246, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse 45% 35% at 5% 70%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
  color: #ffffff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.page {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  padding: 1.5rem 1.125rem 1.25rem;
  isolation: isolate;
  background-color: #050505;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.page-start {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.9)),
    url('/bg-start-mobile.png');
}

.page-clips {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.89), rgba(0, 0, 0, 0.93)),
    url('/bg-clips-mobile.png');
}

.page-ai-service {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.9)),
    url('/bg-ai-service-mobile.png');
}

.page-dm {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.94)),
    url('/bg-dm-mobile.png');
}

.page-capcut {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.94)),
    url('/bg-capcut-mobile.png');
}

.page-offer {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.9)),
    url('/bg-offer-mobile.png');
}

.page::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    180deg,
    rgba(99, 102, 241, 0.05) 0%,
    transparent 35%,
    rgba(0, 0, 0, 0.06) 100%
  );
}

.page::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 100% 70% at 50% -15%, rgba(99, 102, 241, 0.16) 0%, transparent 58%),
    radial-gradient(ellipse 55% 40% at 95% 85%, rgba(139, 92, 246, 0.09) 0%, transparent 55%),
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.025) 0%, transparent 45%),
    radial-gradient(circle at 80% 60%, rgba(255, 255, 255, 0.02) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.012) 0%, transparent 50%);
  opacity: 0.75;
}

.page-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
  width: min(520px, 95vw);
  height: min(640px, 85vh);
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(99, 102, 241, 0.09) 0%,
    rgba(139, 92, 246, 0.04) 35%,
    transparent 70%
  );
  filter: blur(40px);
}

.container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  padding: 0.3125rem 0.6875rem;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b0b0b0;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.heading {
  font-size: clamp(1.5625rem, 6vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: #ffffff;
  text-wrap: balance;
}

.subheading {
  font-size: 0.9375rem;
  color: #b3b3b3;
  line-height: 1.55;
  text-wrap: pretty;
}

.route-promise {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.6875rem 0.8125rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.96);
  line-height: 1.45;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 24px rgba(99, 102, 241, 0.06);
}

.access-preview {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.access-preview-label {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
}

.access-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4375rem;
}

.access-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.6875rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  line-height: 1.3;
}

.access-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4375rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.3;
}

.access-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(129, 140, 248, 0.95), rgba(167, 139, 250, 0.85));
  box-shadow: 0 0 8px rgba(129, 140, 248, 0.5);
  flex-shrink: 0;
}

.route-promise::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 0.45em;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(129, 140, 248, 0.95), rgba(167, 139, 250, 0.8));
  box-shadow: 0 0 8px rgba(129, 140, 248, 0.45);
}

.card {
  position: relative;
  background: rgba(8, 8, 12, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  padding: 1rem 1.25rem 1.125rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 2px 4px rgba(0, 0, 0, 0.35),
    0 12px 40px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(99, 102, 241, 0.07);
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.06) 0%,
    transparent 40%,
    transparent 100%
  );
}

.card-label {
  position: relative;
  z-index: 1;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  margin-bottom: 0.75rem;
}

.card-secondary {
  opacity: 0.9;
  margin-top: 0.25rem;
  background: rgba(8, 8, 12, 0.5);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 1px 3px rgba(0, 0, 0, 0.28);
}

.card-secondary .card-label {
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.34);
}

.card-secondary .bullets {
  gap: 0.5rem;
}

.card-secondary .bullets li {
  font-size: 0.8125rem;
  color: rgba(224, 224, 224, 0.78);
}

.card-secondary .bullets li::before {
  box-shadow: none;
  opacity: 0.65;
}

.bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6875rem;
}

.bullets li {
  position: relative;
  padding-left: 1.0625rem;
  font-size: 0.875rem;
  color: #e0e0e0;
  line-height: 1.46;
}

.bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(129, 140, 248, 0.9), rgba(167, 139, 250, 0.7));
  box-shadow: 0 0 6px rgba(129, 140, 248, 0.35);
}

.cta-block {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5625rem;
  padding-top: 0.125rem;
}

.cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 60px;
  padding: 0 1.375rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(
    165deg,
    rgba(79, 70, 229, 0.55) 0%,
    rgba(109, 40, 217, 0.38) 42%,
    rgba(30, 27, 75, 0.65) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 22px;
  cursor: pointer;
  transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.4),
    0 0 52px rgba(99, 102, 241, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.cta-button:hover {
  background: linear-gradient(
    165deg,
    rgba(99, 102, 241, 0.58) 0%,
    rgba(124, 58, 237, 0.42) 42%,
    rgba(30, 27, 75, 0.7) 100%
  );
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(99, 102, 241, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.cta-button:active {
  transform: translateY(0) scale(0.985);
}

.cta-button[href='#'] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.cta-microcopy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1875rem;
}

.cta-hint {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.62);
  text-align: center;
  line-height: 1.4;
}

.cta-hint-secondary {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.42);
  text-align: center;
  line-height: 1.35;
}

.sticky-cta {
  display: none;
}

@keyframes ctaBreathe {
  0%,
  100% {
    box-shadow:
      0 2px 6px rgba(0, 0, 0, 0.4),
      0 0 52px rgba(99, 102, 241, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.14);
  }

  50% {
    box-shadow:
      0 2px 8px rgba(0, 0, 0, 0.4),
      0 0 64px rgba(99, 102, 241, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.16);
  }
}

.footer {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  line-height: 1.55;
  padding-top: 0.25rem;
}

@media (min-width: 768px) {
  .page {
    padding: 2.5rem 1.5rem;
  }

  .page-start {
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.86)),
      url('/bg-start-desktop.png');
  }

  .page-clips {
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.88)),
      url('/bg-clips-desktop.png');
  }

  .page-ai-service {
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.86)),
      url('/bg-ai-service-desktop.png');
  }

  .page-dm {
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.88)),
      url('/bg-dm-desktop.png');
  }

  .page-capcut {
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.88)),
      url('/bg-capcut-desktop.png');
  }

  .page-offer {
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.86)),
      url('/bg-offer-desktop.png');
  }

  .container {
    gap: 1.0625rem;
  }

  .page-glow {
    width: 560px;
    height: 720px;
    filter: blur(50px);
  }

  .heading {
    font-size: 2.0625rem;
  }

  .subheading {
    font-size: 1rem;
  }

  .card {
    padding: 1.1875rem 1.375rem 1.25rem;
  }

  .access-chips {
    gap: 0.5rem;
  }

  .cta-button {
    min-height: 64px;
    font-size: 1.0625rem;
    animation: ctaBreathe 3.5s ease-in-out infinite;
  }

  .cta-button:hover {
    animation: none;
  }
}

@media (max-width: 767px) {
  .page {
    padding-bottom: calc(5.75rem + env(safe-area-inset-bottom, 0px));
  }

  .sticky-cta {
    display: block;
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 100;
    padding: 0.625rem;
    background: rgba(8, 8, 12, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow:
      0 4px 24px rgba(0, 0, 0, 0.5),
      0 0 32px rgba(99, 102, 241, 0.1);
  }

  .sticky-cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 0 1rem;
    font-size: 0.9375rem;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    background: linear-gradient(
      165deg,
      rgba(79, 70, 229, 0.55) 0%,
      rgba(109, 40, 217, 0.38) 42%,
      rgba(30, 27, 75, 0.65) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 16px;
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.18);
    -webkit-tap-highlight-color: transparent;
  }

  .sticky-cta-button:active {
    transform: scale(0.985);
  }

  .card-secondary {
    margin-top: 1.375rem;
    padding: 0.75rem 0.875rem 0.8125rem;
    border-radius: 12px;
    opacity: 0.58;
    background: rgba(8, 8, 12, 0.32);
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow: none;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  .card-secondary::before {
    opacity: 0.25;
  }

  .card-secondary .card-label {
    margin-bottom: 0.375rem;
    font-size: 0.5625rem;
    color: rgba(255, 255, 255, 0.26);
  }

  .card-secondary .bullets {
    gap: 0.4375rem;
  }

  .card-secondary .bullets li {
    font-size: 0.75rem;
    color: rgba(224, 224, 224, 0.48);
    line-height: 1.42;
  }

  .card-secondary .bullets li::before {
    width: 4px;
    height: 4px;
    opacity: 0.45;
  }

  .footer {
    padding-bottom: 0.5rem;
  }
}

@media (max-width: 430px) {
  .page {
    align-items: flex-start;
    padding: 1.125rem 1rem calc(5.75rem + env(safe-area-inset-bottom, 0px));
  }

  .container {
    gap: 0.625rem;
  }

  .hero {
    gap: 0.3125rem;
  }

  .route-promise {
    font-size: 0.8125rem;
    padding: 0.625rem 0.75rem;
  }

  .access-chip {
    font-size: 0.6875rem;
    padding: 0.3125rem 0.5625rem;
  }
}

@media (max-width: 390px) {
  .page {
    padding: 0.875rem 1rem 0.75rem;
    padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  }

  .container {
    gap: 0.5625rem;
  }

  .heading {
    font-size: 1.4375rem;
  }

  .subheading {
    font-size: 0.8125rem;
  }

  .cta-button {
    min-height: 58px;
    font-size: 0.9375rem;
    border-radius: 20px;
  }
}

@media (max-width: 360px) {
  .page {
    padding: 0.75rem 0.875rem 0.625rem;
    padding-bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px));
  }

  .heading {
    font-size: 1.3125rem;
  }

  .route-promise {
    font-size: 0.75rem;
  }
}
