/* ============================
   VSL Landing Page — Styles
   Apple / SF Pro design language
   ============================ */

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

:root {
  --color-accent: #2997ff;
  --color-accent-hover: #5ab2ff;

  --color-bg: #0f0f14;
  --color-surface: #1c1c1e;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-text: #f5f5f7;
  --color-text-secondary: #86868b;

  --font-display: "SF Pro Display", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-text: "SF Pro Text", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container-max: 820px;
  --container-padding: 20px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

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

body {
  font-family: var(--font-text);
  background: linear-gradient(170deg, #1a1a2e 0%, #0f0f14 40%, #0a1628 100%);
  background-color: var(--color-bg);
  background-attachment: fixed;
  color: var(--color-text);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Page & Container --- */
.page {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 38px 0;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* --- Hero (Header + Subtitle) --- */
.hero {
  text-align: center;
  margin-bottom: 38px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw + 0.5rem, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--color-text);
  margin-bottom: 12px;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.7) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__subtitle {
  font-family: var(--font-text);
  font-size: clamp(1.05rem, 1.5vw + 0.5rem, 1.25rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-secondary);
  max-width: 560px;
  margin: 0 auto;
  letter-spacing: -0.01em;
}

/* --- Video --- */
.video {
  margin-bottom: 32px;
}

.video__wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  background-color: var(--color-surface);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

@supports (aspect-ratio: 16 / 9) {
  .video__wrapper {
    padding-bottom: 0;
    aspect-ratio: 16 / 9;
  }
}

.video__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- CTA Button --- */
.cta {
  text-align: center;
}

.cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-text);
  background-color: #007AFF;
  color: #ffffff;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.17;
  letter-spacing: -0.01em;
  text-decoration: none;
  padding: 12px 24px;
  min-height: 48px;
  border: none;
  border-radius: 980px;
  cursor: pointer;
  transition:
    opacity 0.2s var(--ease-out),
    transform 0.15s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .cta__button:hover {
    opacity: 0.8;
  }
}

.cta__button:active {
  transform: scale(0.97);
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  .cta__button {
    transition-duration: 0.01ms;
  }
}

/* --- Responsive --- */
@media (max-width: 480px) {
  :root {
    --container-padding: 16px;
  }

  .cta__button {
    display: flex;
    width: 100%;
    text-align: center;
  }
}

@media (max-height: 600px) {
  .page {
    align-items: flex-start;
  }
}
