:root {
  --orange: #fd8a09;
  --pink: #ff5c9b;
  --purple: #835af8;

  --gradient-123: linear-gradient(
    135deg,
    #fd8a09 0.91%,
    #fd8a09 5.45%,
    #ff5c9b 46.43%,
    #6828ee 87.21%,
    #6828ee 87.21%,
    #6828ee 91.75%
  );

  --bg-start: #11062a;
  --bg-end: #0a0418;

  --text-main: #ffffff;

  --mx: 50vw;
  --my: 45vh;
}

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

body {
  font-family: "Pathway Extreme", system-ui, -apple-system, sans-serif;
  color: var(--text-main);
  background: linear-gradient(135deg, var(--bg-start), var(--bg-end));
  height: 100vh;
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: -1px;
  pointer-events: none;
  z-index: 0;

  /* Gentle highlight that follows the cursor */
  background: radial-gradient(
    520px circle at var(--mx) var(--my),
    rgba(255, 92, 155, 0.14),
    rgba(131, 90, 248, 0.08) 35%,
    rgba(0, 0, 0, 0) 62%
  );
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-content {
  width: 50%;
  padding-left: 7rem;
  max-width: 1100px;
  z-index: 2;
}

.hero-decoration {
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.header {
  margin-bottom: 5rem;
}

.logo {
  height: 28px;
}

.headline {
  font-size: clamp(2.6rem, 3.8vw, 3.6rem);
  font-weight: 620;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.subheadline {
  font-size: clamp(1.5rem, 2.25vw, 2.1rem);
  font-weight: 520;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-top: 1.5rem;
}

.accent {
  color: var(--orange);
  background: var(
    --gradient-123,
    linear-gradient(
      135deg,
      #fd8a09 0.91%,
      #fd8a09 5.45%,
      #ff5c9b 46.43%,
      #6828ee 87.21%,
      #6828ee 87.21%,
      #6828ee 91.75%
    )
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-section {
  margin-top: 4rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  appearance: none;
  border: none;
  cursor: pointer;
  text-decoration: none;

  padding: 0 36px;
  height: 52px;
  border-radius: 12px;

  font-family: inherit;
  font-size: 18px;
  font-weight: 520;
  letter-spacing: -0.01em;
  color: #fff;

  background: var(--gradient-123);
  background-size: 200% 200%;

  box-shadow: 0 8px 24px rgba(255, 92, 155, 0.25), 0 2px 6px rgba(0, 0, 0, 0.35);

  transition: background-position 0.4s ease, transform 0.15s ease,
    box-shadow 0.2s ease;
}

.cta-button:hover {
  background-position: 100% 50%;
  box-shadow: 0 12px 36px rgba(255, 92, 155, 0.35),
    0 4px 12px rgba(0, 0, 0, 0.45);
}

.cta-button:active {
  transform: translateY(1px) scale(0.98);
}

.cubes-svg {
  height: 90%;
  opacity: 0.85;
  filter: drop-shadow(0 0 16px rgba(255, 92, 155, 0.15))
    drop-shadow(0 0 32px rgba(131, 90, 248, 0.12));
  will-change: transform;
}

.site-footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  z-index: 2;

  padding: 1.5rem 2.5rem;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.footer-brand {
  white-space: nowrap;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

.footer-nav a:hover {
  color: #fff;
}

/* --- Laptop sizing/spacing: reduce type + vertical gaps for common laptop viewports --- */
@media (min-width: 1101px) and (max-width: 1440px) {
  .hero-content {
    padding-left: 4.5rem;
    max-width: 980px;
  }

  .header {
    margin-bottom: 3.25rem;
  }

  .headline {
    font-size: clamp(2.7rem, 3.6vw, 3.7rem);
    line-height: 1.08;
  }

  .subheadline {
    font-size: clamp(1.25rem, 1.7vw, 1.7rem);
    margin-top: 1.15rem;
  }

  .cta-section {
    margin-top: 3rem;
  }
}

/* --- Short laptop heights (e.g. 1366x768): tighten gaps a bit more --- */
@media (min-width: 1101px) and (max-height: 820px) {
  .header {
    margin-bottom: 2.5rem;
  }

  .cta-section {
    margin-top: 2.5rem;
  }

  .site-footer {
    padding: 1.25rem 2.25rem;
  }
}

@media (max-width: 700px) {
  .site-footer {
    padding: 1.25rem 1.5rem;
  }

  .subheadline {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before {
    display: none;
  }

  .cubes-svg {
    transform: none !important;
  }
}

@media (max-width: 1100px) {
  .hero {
    flex-direction: column;
    justify-content: center;
    align-items: center;

    height: 100vh;
    padding: 2.5rem 2rem;
    text-align: center;
    overflow: hidden;
  }

  .hero-content {
    width: 100%;
    max-width: 520px;
    padding-left: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;

    z-index: 2;
  }

  .header {
    margin-bottom: 3rem;
  }

  .cta-section {
    margin-top: 3rem;
  }

  /* --- Cubes become background --- */
  .hero-decoration {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 1;
    pointer-events: none;
  }

  .cubes-svg {
    height: 110%;
    max-width: none;

    opacity: 0.35;
    transform: translateY(4%) scale(1.1);

    filter: drop-shadow(0 0 24px rgba(255, 92, 155, 0.12))
      drop-shadow(0 0 48px rgba(131, 90, 248, 0.1));
  }
}
