:root {
  --bg: #08171f;
  --bg-soft: #12263e;
  --card: rgba(14, 42, 76, 0.82);
  --line: rgba(126, 175, 244, 0.26);
  --title: #f3fbff;
  --text: #c8def7;
  --accent: #49a2ff;
  --accent-2: #79b7ff;
  --button: #3f8cff;
  --button-hover: #2f76e3;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Manrope, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, #1a3f6e 0%, transparent 42%),
    radial-gradient(circle at 86% 12%, #2758a4 0%, transparent 38%),
    linear-gradient(165deg, var(--bg) 0%, #0b1f38 48%, var(--bg-soft) 100%);
  overflow-x: hidden;
}

.bg-orb {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.34;
}

.orb-1 {
  width: 320px;
  height: 320px;
  background: linear-gradient(135deg, #58b4ff 0%, #1f78ff 100%);
  top: -120px;
  right: -80px;
}

.orb-2 {
  width: 260px;
  height: 260px;
  background: linear-gradient(135deg, #84d2ff 0%, #4f9dff 100%);
  bottom: -120px;
  left: -90px;
}

.page {
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: 44px 14px 48px;
}

.hero {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 28px;
  animation: rise 0.7s ease-out;
}

.hero-logo {
  margin: 0 auto 14px;
  width: min(220px, 52vw);
  max-width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 24px rgba(26, 91, 194, 0.25));
}

.founder-photo {
  margin: 0 auto;
  width: min(460px, 100%);
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
  border: 1px solid var(--line);
  object-fit: cover;
  box-shadow: 0 18px 42px rgba(5, 19, 44, 0.42);
}

h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--title);
  line-height: 1.08;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
}

.hero-sub {
  margin: 14px auto 0;
  max-width: 680px;
  font-size: clamp(1rem, 2vw, 1.08rem);
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
  animation: rise 0.7s ease-out;
  position: relative;
  overflow: hidden;
}

.feature-card:nth-child(2) {
  animation-delay: 0.08s;
}

.feature-card:nth-child(3) {
  animation-delay: 0.16s;
}

.feature-card:nth-child(4) {
  animation-delay: 0.24s;
}

.card-topline {
  width: 62px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  margin-bottom: 14px;
}

.card-label {
  margin: 0 0 8px;
  color: #a8cdff;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h2 {
  margin: 0;
  color: var(--title);
  line-height: 1.25;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  overflow-wrap: anywhere;
}

.feature-card p {
  margin: 10px 0 0;
  line-height: 1.65;
}

.cta {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  background: var(--button);
  color: #f5f9ff;
  text-decoration: none;
  font-weight: 800;
  padding: 11px 16px;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.cta::after {
  content: "→";
}

.cta:hover {
  transform: translateY(-2px);
  background: var(--button-hover);
  box-shadow: 0 10px 28px rgba(57, 129, 247, 0.35);
}

.feature-card .cta {
  animation: ctaPulse 2.2s ease-in-out infinite;
  will-change: transform, box-shadow, filter;
}

.cta-subtitle {
  margin: 8px 0 0;
  font-size: 0.92rem;
  line-height: 1.4;
  color: #9ec3f2;
}

.cta-subtitle strong {
  font-weight: 800;
  color: #dcecff;
}

.feature-card:nth-child(1) .cta {
  animation-delay: 0s;
}

.feature-card:nth-child(2) .cta {
  animation-delay: 0.35s;
}

.feature-card:nth-child(3) .cta {
  animation-delay: 0.7s;
}

.feature-card:nth-child(4) .cta {
  animation-delay: 1.05s;
}

.footer {
  text-align: center;
  margin-top: 18px;
  color: #9bb9df;
  font-size: 0.85rem;
}

.video-section {
  margin: 28px auto 0;
  width: min(440px, 100%);
  text-align: center;
}

.video-title {
  margin: 0 0 16px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.6rem, 3.6vw, 2.35rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: transparent;
  background: linear-gradient(92deg, #f3fbff 0%, #9bd0ff 48%, #ffffff 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  position: relative;
  display: inline-block;
  text-shadow: 0 0 16px rgba(117, 188, 255, 0.25);
  animation:
    titleReveal 0.7s ease-out,
    titleShine 4.2s ease-in-out infinite;
}

.video-title::after {
  content: "";
  position: absolute;
  left: 6%;
  bottom: -8px;
  width: 88%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent 0%, #75c2ff 48%, transparent 100%);
  transform-origin: center;
  animation: titleLineSweep 2.6s ease-in-out infinite;
}

.video-frame-wrap {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 10px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.video-frame {
  width: 100%;
  aspect-ratio: 9 / 16;
  border: 0;
  border-radius: 14px;
  display: block;
}

@media (max-width: 960px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .page {
    padding: 28px 12px 40px;
  }

  .feature-card {
    padding: 20px;
    text-align: center;
  }

  .video-section {
    margin-top: 24px;
  }

  .feature-card .card-topline {
    margin: 0 auto 14px;
  }

  .feature-card .cta {
    margin-left: auto;
    margin-right: auto;
  }

  .feature-card .cta-subtitle {
    font-size: 1rem;
    text-align: center;
  }

  .founder-photo {
    border-radius: 20px;
  }
}

@media (max-width: 768px) {
  .feature-card .card-label {
    font-size: 0.95rem;
    letter-spacing: 0.1em;
  }

  .feature-card h2 {
    font-size: clamp(1.5rem, 6vw, 1.9rem);
    line-height: 1.18;
  }

  .feature-card .cta {
    font-size: 1.12rem;
    padding: 13px 22px;
  }

  .video-title {
    font-size: clamp(1.45rem, 7vw, 2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature-card .cta {
    animation: none;
  }

  .video-title,
  .video-title::after {
    animation: none;
  }
}

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

@keyframes ctaPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 6px 14px rgba(72, 145, 255, 0.22);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 14px 30px rgba(72, 145, 255, 0.42);
    filter: brightness(1.1);
  }
}

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

@keyframes titleShine {
  0%,
  100% {
    background-position: 0% 50%;
    text-shadow: 0 0 12px rgba(117, 188, 255, 0.2);
  }
  50% {
    background-position: 100% 50%;
    text-shadow: 0 0 24px rgba(139, 205, 255, 0.36);
  }
}

@keyframes titleLineSweep {
  0%,
  100% {
    opacity: 0.55;
    transform: scaleX(0.7);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}
