@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Nunito:wght@400;600;700&display=swap");

:root {
  --sky-500: #70b8e0;
  --sky-400: #8cc8e8;
  --sky-200: #d8eef9;
  --coral-500: #e64b60;
  --coral-400: #ef6c7f;
  --ink-900: #2a2b3a;
  --ink-700: #454659;
  --lavender-100: #f2f0f7;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(36, 58, 88, 0.18);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

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

body {
  margin: 0;
  font-family: "Nunito", "Trebuchet MS", sans-serif;
  color: var(--ink-900);
  background: radial-gradient(circle at top, #f7fbff 0%, #e9f6ff 45%, #cde9f7 100%);
  min-height: 100vh;
}

body.features-loading {
  overflow: hidden;
}

.features-content {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s ease;
}

body.features-loading .features-content {
  opacity: 0;
  visibility: hidden;
}

.features-intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 1;
  transition: opacity 0.65s ease;
}

.features-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #ffffff;
  opacity: 1;
  transition: opacity 0.7s ease;
}

.features-intro.is-dimmed::before {
  opacity: 0.2;
}

.features-intro.is-fading {
  opacity: 0;
  pointer-events: none;
}

.features-intro-video {
  position: relative;
  z-index: 1;
  width: min(980px, 96vw);
  max-height: 512px;
  height: auto;
  object-fit: contain;
}

.features-intro-start {
  position: absolute;
  left: 50%;
  bottom: 42px;
  transform: translateX(-50%);
  z-index: 2;
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  background: #111111;
  color: #ffffff;
  font: 700 0.95rem/1 "Nunito", "Trebuchet MS", sans-serif;
  cursor: pointer;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.features-intro-start:hover,
.features-intro-start:focus {
  transform: translateX(-50%) translateY(-1px);
}

.features-intro.is-started .features-intro-start {
  opacity: 0;
  pointer-events: none;
}

img {
  max-width: 100%;
  display: block;
}

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

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 6vw;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.brand img {
  width: 44px;
  height: 44px;
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-weight: 600;
  color: var(--ink-700);
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.menu-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

.nav-links a:hover,
.nav-links a:focus {
  background: var(--sky-200);
  color: var(--ink-900);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  align-items: center;
  padding: 40px 6vw 24px;
}

.hero h1 {
  font-family: "DM Serif Display", "Georgia", serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin: 0 0 12px;
  color: #4c4a73;
}

.hero p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink-700);
  margin: 0 0 24px;
}

.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button.primary {
  background: var(--coral-500);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(230, 75, 96, 0.35);
}

.button.secondary {
  border-color: var(--sky-500);
  color: var(--ink-700);
  background: var(--white);
}

.button:hover,
.button:focus {
  transform: translateY(-2px);
  box-shadow: 0 16px 24px rgba(42, 43, 58, 0.15);
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(112, 184, 224, 0.3);
}

.hero-card h3 {
  margin: 0 0 12px;
  color: #4c4a73;
  font-size: 1.2rem;
}

.hero-card ul {
  padding-left: 18px;
  margin: 0;
  color: var(--ink-700);
}

.hero-video-card {
  padding: 14px;
}

.hero-video-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #0f1218;
}

.hero-video-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.08) 0,
      rgba(255, 255, 255, 0.08) 1px,
      rgba(255, 255, 255, 0) 1px,
      rgba(255, 255, 255, 0) 3px
    ),
    rgba(128, 128, 128, 0.25);
  opacity: 1;
  transition: opacity 0.3s ease;
}

.hero-video-wrap.is-playing::after {
  opacity: 0;
}

.hero-video {
  width: 100%;
  display: block;
}

.hero-video-play {
  position: absolute;
  left: 45px;
  bottom: 30px;
  transform: none;
  z-index: 2;
  overflow: visible;
  border: 0;
  border-radius: 15px;
  padding: 14px 22px 14px 56px;
  background: rgba(255, 255, 255, 0.92);
  color: #1d2230;
  font: 700 0.95rem/1 "Nunito", "Trebuchet MS", sans-serif;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.hero-video-play-icon {
  position: absolute;
  left: -24px;
  top: 50%;
  transform: translateY(-50%);
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.28));
}

.hero-video-play:hover,
.hero-video-play:focus {
  transform: translateY(-1px);
}

.hero-video-play.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.section {
  padding: 36px 6vw;
}

.section-title {
  font-family: "DM Serif Display", "Georgia", serif;
  font-size: 2rem;
  margin: 0 0 18px;
  color: #4c4a73;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: 0 10px 24px rgba(36, 58, 88, 0.12);
  border: 1px solid rgba(112, 184, 224, 0.2);
}

.card h4 {
  margin: 0 0 10px;
  color: #4c4a73;
}

.card p {
  margin: 0;
  color: var(--ink-700);
  line-height: 1.6;
}

.screenshots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}

.screenshot {
  background: var(--white);
  padding: 12px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.screenshot img {
  border-radius: 18px;
}

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0;
  width: max-content;
  margin: 0 auto;
}

.cta-link {
  display: block;
  line-height: 0;
  width: max-content;
  flex: 0 0 auto;
  padding-left: 5px;
  padding-right: 5px;
}

.cta-privacy-link {
  padding-left: 5px;
  padding-right: 5px;
}

.cta-banner .cta-link,
.cta-banner .cta-privacy-link {
  padding-left: 5px;
  padding-right: 5px;
}

.cta-banner > a {
  display: block;
  line-height: 0;
  width: max-content;
  margin: 0;
}

.cta-link img {
  width: auto;
  max-width: 720px;
  margin: 0;
  display: block;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  border: 1px solid rgba(112, 184, 224, 0.2);
}

.cta-badge {
  width: auto;
  display: block;
  border-radius: var(--radius-md);
  box-shadow: none;
  border: 0;
}

.policy {
  max-width: 960px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  line-height: 1.7;
  color: var(--ink-700);
}

.policy h2 {
  color: #4c4a73;
  margin-top: 22px;
}

.policy ul {
  padding-left: 20px;
}

.footer {
  margin-top: auto;
  padding: 28px 6vw 36px;
  color: var(--ink-700);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(112, 184, 224, 0.2);
  background: rgba(255, 255, 255, 0.6);
}

.footer-links {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-copyright,
.footer-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  transition: transform 0.22s ease, color 0.22s ease, text-shadow 0.22s ease;
}

.footer-copyright {
  color: #6f96b4;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72), 0 -1px 0 rgba(130, 174, 205, 0.28);
  cursor: pointer;
}

.footer-links a {
  color: #4b7394;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.68), 0 -1px 0 rgba(110, 155, 190, 0.34);
}

.footer-copyright::after,
.footer-links a::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: -3px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(112, 184, 224, 0.25), rgba(112, 184, 224, 0.85), rgba(112, 184, 224, 0.25));
  transform: scaleX(0.2);
  opacity: 0;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.footer-copyright:hover,
.footer-copyright:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  transform: translateY(-1px);
  color: #3f7094;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.78), 0 -1px 0 rgba(96, 146, 182, 0.38);
}

.footer-copyright:hover::after,
.footer-copyright:focus-visible::after,
.footer-links a:hover::after,
.footer-links a:focus-visible::after {
  transform: scaleX(1);
  opacity: 1;
}

.footer-separator {
  color: #7ea4bf;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.footer-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

.footer-icon-brand {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
}

@media (max-width: 720px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .footer {
    justify-content: center;
    text-align: center;
  }

  .footer-links {
    margin-left: 0;
  }
}
