:root {
  --fitly-primary: #ff6b4a;
  --fitly-primary-light: #ff8f73;
  --fitly-primary-dark: #e64a2e;
  --fitly-secondary: #3d5afe;
  --fitly-accent: #ffc56b;
  --fitly-ice: #99b8ff;
  --fitly-bg: #fdfdfd;
  --fitly-surface: #ffffff;
  --fitly-border: #e8edf5;
  --fitly-text: #131823;
  --fitly-muted: #566479;
  --fitly-shadow: 0 16px 36px rgba(19, 24, 35, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Outfit", "Segoe UI", sans-serif;
  color: var(--fitly-text);
  background:
    radial-gradient(circle at 3% 0%, #fff1e8 0%, rgba(255, 241, 232, 0) 42%),
    radial-gradient(circle at 96% 8%, #eef3ff 0%, rgba(238, 243, 255, 0) 46%),
    linear-gradient(180deg, #fffefc 0%, #f9fbff 58%, #fffaf5 100%);
}

body {
  min-height: 100vh;
  overflow-x: hidden;
}

.page-glow {
  position: fixed;
  width: 34rem;
  height: 34rem;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.24;
  z-index: -1;
}

.page-glow--one {
  background: var(--fitly-primary-light);
  top: -13rem;
  right: -9rem;
}

.page-glow--two {
  background: var(--fitly-ice);
  bottom: -15rem;
  left: -10rem;
}

.site-header {
  position: sticky;
  top: 0.75rem;
  z-index: 12;
  max-width: 1140px;
  margin: 0.75rem auto 0;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 20px rgba(24, 32, 48, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
}

.brand-logo {
  width: 1.5rem;
  height: 1.5rem;
}

.brand-text {
  font-family: "Sora", "Outfit", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--fitly-text);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.nav-pill {
  text-decoration: none;
  color: var(--fitly-muted);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(208, 217, 231, 0.8);
  background: rgba(255, 255, 255, 0.8);
  transition: all 220ms ease;
}

.nav-pill:hover {
  color: var(--fitly-text);
  transform: translateY(-1px);
  border-color: rgba(160, 178, 204, 0.85);
  box-shadow: 0 8px 14px rgba(33, 41, 61, 0.1);
}

.nav-pill--cta {
  background: linear-gradient(120deg, var(--fitly-primary), var(--fitly-accent));
  color: #fff;
  border-color: transparent;
}

main {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.2rem 3rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.1rem;
  align-items: center;
  padding: 3.25rem 0 2rem;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.8rem;
  font-weight: 700;
  color: var(--fitly-secondary);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.hero h1 {
  font-family: "Sora", "Outfit", sans-serif;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.08;
  margin: 0;
}

.hero-text {
  margin: 1rem 0 0;
  color: var(--fitly-muted);
  font-size: 1.08rem;
  line-height: 1.72;
  max-width: 62ch;
}

.hero-actions,
.download-actions,
.built-by-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 0.83rem 1.25rem;
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(115deg, var(--fitly-primary) 0%, var(--fitly-accent) 100%);
  box-shadow: 0 13px 24px rgba(255, 107, 74, 0.32);
}

.btn-ghost {
  color: var(--fitly-secondary);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--fitly-border);
}

.hero-metrics {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.hero-metrics li {
  display: grid;
  grid-template-columns: 8.7rem 1fr;
  gap: 0.6rem;
  align-items: center;
}

.hero-metrics strong {
  color: var(--fitly-primary-dark);
}

.hero-metrics span {
  color: var(--fitly-muted);
}

.hero-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 530px;
}

.phone-frame {
  width: min(308px, 72vw);
  background: linear-gradient(180deg, #111725 0%, #1a2337 100%);
  border-radius: 2.5rem;
  padding: 0.82rem;
  box-shadow: var(--fitly-shadow);
  transform: rotate(-5deg);
}

.phone-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1.8rem;
}

.badge {
  position: absolute;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  backdrop-filter: blur(8px);
}

.badge-top {
  background: rgba(61, 90, 254, 0.88);
  top: 15%;
  right: 0;
}

.badge-bottom {
  background: rgba(230, 74, 46, 0.9);
  bottom: 14%;
  left: 4%;
}

.fireice {
  margin: 2.3rem 0 0;
  border-radius: 1.45rem;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 18px 34px rgba(17, 24, 39, 0.15);
}

.fireice img {
  width: 100%;
  height: auto;
  display: block;
}

.fireice-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.35rem;
  color: #fff;
  background: linear-gradient(180deg, rgba(10, 17, 34, 0), rgba(10, 10, 16, 0.84));
}

.fireice-overlay h2 {
  margin: 0;
  font-family: "Sora", "Outfit", sans-serif;
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
}

.fireice-overlay p {
  margin: 0.5rem 0 0;
  line-height: 1.64;
  color: rgba(255, 255, 255, 0.92);
}

.features,
.why-fitly,
.lifestyle,
.showcase,
.roadmap,
.trust,
.about,
.download {
  margin-top: 3rem;
}

.features h2,
.why-fitly h2,
.lifestyle h2,
.showcase h2,
.roadmap h2,
.trust h2,
.about h2,
.download h2 {
  font-family: "Sora", "Outfit", sans-serif;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  margin: 0;
}

.features-grid {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--fitly-border);
  border-radius: 1rem;
  padding: 1.1rem;
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.07);
  backdrop-filter: blur(8px);
  transition: transform 230ms ease, box-shadow 230ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(17, 24, 39, 0.12);
}

.feature-card h3 {
  margin: 0;
  color: var(--fitly-primary-dark);
  font-size: 1.08rem;
}

.feature-icon {
  width: 1.45rem;
  height: 1.45rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  margin: 0.55rem 0 0;
  color: var(--fitly-muted);
  line-height: 1.64;
}

.why-grid {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.why-card {
  padding: 1.05rem;
  border-radius: 1rem;
  border: 1px solid var(--fitly-border);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.95), rgba(247, 251, 255, 0.9));
}

.why-card h3 {
  margin: 0;
  font-family: "Sora", "Outfit", sans-serif;
  font-size: 1.04rem;
}

.why-card p {
  margin: 0.55rem 0 0;
  color: var(--fitly-muted);
  line-height: 1.62;
}

.lifestyle-grid {
  margin-top: 1rem;
  display: grid;
  gap: 0.95rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lifestyle-card {
  border: 1px solid var(--fitly-border);
  border-radius: 1rem;
  padding: 1rem;
  background: #fff;
}

.lifestyle-card h3 {
  margin: 0;
  color: var(--fitly-secondary);
}

.lifestyle-card p {
  margin: 0.45rem 0 0;
  color: var(--fitly-muted);
}

.showcase-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
}

.showcase-grid img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  border: 1px solid var(--fitly-border);
  box-shadow: 0 10px 20px rgba(17, 24, 39, 0.08);
}

.roadmap-grid {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.roadmap-card {
  border: 1px solid var(--fitly-border);
  border-radius: 1rem;
  padding: 1rem;
  background: #fff;
}

.roadmap-card h3 {
  margin: 0;
  font-family: "Sora", "Outfit", sans-serif;
}

.roadmap-card ul {
  margin: 0.7rem 0 0;
  padding-left: 1.05rem;
  color: var(--fitly-muted);
  line-height: 1.8;
}

.trust ul {
  margin: 1rem 0 0;
  padding-left: 1.05rem;
  color: var(--fitly-muted);
  line-height: 1.9;
}

.about p,
.download p {
  margin: 0.8rem 0 0;
  color: var(--fitly-muted);
  line-height: 1.76;
  max-width: 76ch;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 260px) 1fr;
  gap: 2rem;
  align-items: center;
}

.about-logo {
  width: 100%;
  height: auto;
  display: block;
}

.download {
  border: 1px solid var(--fitly-border);
  border-radius: 1.2rem;
  background: linear-gradient(110deg, #fff8f4 0%, #f5f8ff 100%);
  padding: 1.25rem;
}

.site-footer {
  text-align: center;
  padding: 2.7rem 1rem;
  color: var(--fitly-muted);
  font-weight: 600;
}

.built-by {
  max-width: 980px;
  margin: 0 auto 1.1rem;
  padding: 1rem;
  border-radius: 1rem;
  background: linear-gradient(105deg, #ffffff 0%, #f6f8ff 50%, #fff6ef 100%);
  border: 1px solid var(--fitly-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 10px 20px rgba(17, 24, 39, 0.08);
  text-align: left;
}

.nexoma-logo {
  width: 58px;
  height: 58px;
  border-radius: 0.75rem;
  object-fit: cover;
  border: 1px solid var(--fitly-border);
  background: #fff;
}

.built-by-text h3 {
  margin: 0.2rem 0 0;
  color: var(--fitly-text);
  font-family: "Sora", "Outfit", sans-serif;
}

.built-by-label {
  margin: 0;
  color: var(--fitly-muted);
  font-size: 0.85rem;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: auto;
    padding-top: 1rem;
  }

  .phone-frame {
    transform: rotate(-2deg);
  }

  .showcase-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lifestyle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    border-radius: 1rem;
    margin-top: 0.8rem;
  }

  .site-nav {
    width: 100%;
  }

  .features-grid,
  .roadmap-grid,
  .lifestyle-grid,
  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .built-by {
    flex-direction: column;
    align-items: flex-start;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .about-logo {
    max-width: 220px;
    margin: 0 auto;
  }
}
