:root {
  --landing-bg: #05030b;
  --landing-bg-soft: #080510;
  --landing-panel: rgba(15, 11, 27, 0.78);
  --landing-panel-strong: rgba(21, 16, 39, 0.9);
  --landing-line: rgba(192, 132, 252, 0.22);
  --landing-line-strong: rgba(192, 132, 252, 0.48);
  --landing-text: #f7f2ff;
  --landing-muted: #b8abc8;
  --landing-dim: #837493;
  --landing-violet: #7c3aed;
  --landing-violet-bright: #a855f7;
  --landing-violet-soft: #c084fc;
  --landing-pink: #ec4899;
  --landing-amber: #f59e0b;
  --landing-green: #22c55e;
  --landing-shadow: 0 30px 90px rgba(91, 33, 182, 0.34);
  --landing-radius: 8px;
}

html {
  scroll-behavior: smooth;
}

body:not(.editor-active) {
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  background:
    radial-gradient(circle at 70% 6%, rgba(124, 58, 237, 0.2), transparent 28rem),
    radial-gradient(circle at 8% 36%, rgba(168, 85, 247, 0.14), transparent 24rem),
    var(--landing-bg);
  color: var(--landing-text);
}

body.editor-active {
  overflow: hidden;
  background: var(--app-bg);
}

.landing-view {
  position: relative;
  min-height: 100vh;
  overflow: clip;
  background:
    linear-gradient(180deg, rgba(5, 3, 11, 0.7), rgba(5, 3, 11, 0.94) 45%, #05030b),
    var(--landing-bg);
  color: var(--landing-text);
  isolation: isolate;
}

.landing-view[hidden],
.editor-view[hidden] {
  display: none !important;
}

.landing-view a,
.landing-view button {
  color: inherit;
  font: inherit;
  text-decoration: none;
}

.landing-view button,
.landing-view a.home-button {
  min-height: 0;
  border-radius: var(--landing-radius);
}

.landing-view svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.landing-glow {
  position: fixed;
  z-index: -1;
  width: 34rem;
  height: 34rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.22), rgba(124, 58, 237, 0.05) 48%, transparent 72%);
  filter: blur(8px);
  pointer-events: none;
}

.landing-glow-top {
  top: -18rem;
  right: 4vw;
}

.landing-glow-bottom {
  bottom: -23rem;
  left: -10rem;
}

.section-shell,
.home-navbar {
  width: min(1840px, calc(100% - 72px));
  margin-inline: auto;
}

.home-navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 22px 0 16px;
  backdrop-filter: blur(18px);
}

.home-navbar::after {
  position: absolute;
  inset: 0 -20px auto;
  z-index: -1;
  height: 72px;
  border: 1px solid transparent;
  border-radius: 0 0 18px 18px;
  background: linear-gradient(180deg, rgba(5, 3, 11, 0.82), rgba(5, 3, 11, 0.28));
  content: "";
  opacity: 0;
  transition: opacity 240ms ease;
}

.home-navbar.is-scrolled::after {
  opacity: 1;
}

.home-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  color: var(--landing-text);
  font-size: clamp(1.2rem, 1.7vw, 1.85rem);
  font-weight: 850;
}

.home-brand > span:last-child span {
  color: var(--landing-violet-soft);
}

.home-brand-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: clamp(42px, 3.8vw, 58px);
  height: clamp(42px, 3.8vw, 58px);
  border: 1px solid rgba(192, 132, 252, 0.55);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(168, 85, 247, 0.94), rgba(67, 24, 128, 0.96));
  box-shadow: 0 0 34px rgba(168, 85, 247, 0.55);
}

.home-brand-icon svg {
  width: 80%;
  height: 80%;
  color: #f7edff;
  stroke-width: 2.4;
}

.home-nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 3vw, 44px);
  color: rgba(247, 242, 255, 0.9);
  font-size: 0.96rem;
  font-weight: 720;
}

.home-nav-links a {
  position: relative;
  padding: 8px 0;
  white-space: nowrap;
}

.home-nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--landing-violet), var(--landing-violet-soft));
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 220ms ease;
}

.home-nav-links a:hover::after,
.home-nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.home-nav-actions,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.home-nav-actions {
  justify-content: flex-end;
}

.home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid var(--landing-line-strong);
  background: rgba(12, 8, 24, 0.72);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
  color: var(--landing-text);
  cursor: pointer;
  font-size: 0.93rem;
  font-weight: 800;
  transition:
    transform 240ms ease,
    border-color 240ms ease,
    background 240ms ease,
    box-shadow 240ms ease;
}

.home-button:hover,
.home-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(216, 180, 254, 0.78);
  box-shadow: 0 20px 46px rgba(124, 58, 237, 0.28);
}

.home-button-primary {
  border-color: rgba(192, 132, 252, 0.65);
  background: linear-gradient(135deg, #7c3aed, #a855f7 54%, #5b21b6);
  color: #fff;
}

.home-button-secondary {
  background: rgba(8, 5, 16, 0.68);
}

.home-button-large {
  min-height: 58px;
  padding-inline: clamp(22px, 2.4vw, 34px);
}

.home-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--landing-line);
  background: rgba(13, 9, 25, 0.82);
  cursor: pointer;
}

.home-menu-button span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: #fff;
}

.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(330px, 0.78fr) minmax(560px, 1.3fr);
  gap: clamp(30px, 5vw, 88px);
  align-items: start;
  min-height: clamp(520px, calc(72vh - 40px), 670px);
  padding: clamp(24px, 3vw, 52px) 0 20px;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 620px;
}

.home-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 0 0 24px;
  color: rgba(247, 242, 255, 0.88);
  font-size: clamp(0.93rem, 1vw, 1.05rem);
}

.home-kicker span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(192, 132, 252, 0.5);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.95), rgba(168, 85, 247, 0.78));
  color: white;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 560px;
  margin: 0;
  color: #fff;
  font-size: clamp(3.35rem, 4.65vw, 5.15rem);
  font-weight: 900;
  line-height: 0.94;
}

.hero-copy h1 span {
  display: block;
  background: linear-gradient(100deg, #c084fc, #a855f7 46%, #7c3aed);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
}

.hero-description {
  max-width: 550px;
  margin: 22px 0 26px;
  color: rgba(229, 220, 240, 0.9);
  font-size: clamp(1.03rem, 1.12vw, 1.18rem);
  line-height: 1.65;
}

.product-visual {
  position: relative;
  min-height: clamp(380px, 33vw, 560px);
  perspective: 1500px;
}

.orbital-arc {
  position: absolute;
  right: 0;
  bottom: 12%;
  left: 2%;
  z-index: 0;
  height: 70%;
  border: 11px solid transparent;
  border-bottom: 0;
  border-radius: 52% 52% 0 0 / 86% 86% 0 0;
  background:
    linear-gradient(var(--landing-bg), var(--landing-bg)) padding-box,
    linear-gradient(100deg, transparent 8%, #c084fc 25%, #a855f7 52%, #7c3aed 78%, transparent 96%) border-box;
  filter: drop-shadow(0 0 18px rgba(192, 132, 252, 0.95)) drop-shadow(0 0 54px rgba(124, 58, 237, 0.68));
  opacity: 0.98;
  transform: rotate(-2deg);
  animation: haloPulse 5.5s ease-in-out infinite;
}

.orbital-floor {
  position: absolute;
  right: 3%;
  bottom: 8%;
  left: 8%;
  z-index: 0;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(168, 85, 247, 0.38), rgba(124, 58, 237, 0.12) 46%, transparent 74%);
  filter: blur(10px);
}

.laptop-mockup {
  position: absolute;
  right: 8%;
  bottom: 12%;
  z-index: 2;
  width: min(690px, 70%);
  transform: rotateX(3deg) rotateY(-9deg) rotateZ(1deg);
  transform-style: preserve-3d;
}

.laptop-screen {
  display: grid;
  grid-template-columns: 165px 1fr;
  min-height: clamp(235px, 20vw, 320px);
  overflow: hidden;
  border: 4px solid rgba(116, 86, 160, 0.82);
  border-radius: 18px 18px 10px 10px;
  background: #090712;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 26px 90px rgba(0, 0, 0, 0.66),
    0 0 50px rgba(124, 58, 237, 0.5);
}

.laptop-screen::before {
  position: absolute;
  top: 4px;
  left: 50%;
  width: 70px;
  height: 12px;
  border-radius: 0 0 10px 10px;
  background: #020106;
  content: "";
  transform: translateX(-50%);
}

.mock-sidebar {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 34px 16px 20px;
  border-right: 1px solid rgba(192, 132, 252, 0.16);
  background: rgba(6, 4, 13, 0.88);
}

.mock-logo {
  margin-bottom: 16px;
  color: var(--landing-violet-soft);
  font-size: 0.9rem;
  font-weight: 900;
}

.mock-side-item {
  min-height: 28px;
  padding: 7px 10px;
  border-radius: 6px;
  color: #9587a9;
  font-size: 0.72rem;
  font-weight: 700;
}

.mock-side-item.active {
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.84), rgba(124, 58, 237, 0.24));
  color: #fff;
}

.mock-dashboard {
  padding: 34px 28px 28px;
  background:
    radial-gradient(circle at 80% 0%, rgba(124, 58, 237, 0.17), transparent 28%),
    #0b0815;
}

.mock-topbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
}

.mock-topbar span {
  display: block;
  color: var(--landing-violet-soft);
  font-size: 0.74rem;
  font-weight: 800;
}

.mock-topbar strong {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: clamp(1.15rem, 1.25vw, 1.45rem);
}

.mock-window-dots {
  display: flex;
  gap: 8px;
}

.mock-window-dots i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(192, 132, 252, 0.38);
}

.mock-search {
  display: flex;
  gap: 8px;
  align-items: center;
  width: min(300px, 70%);
  min-height: 34px;
  margin: 20px 0;
  padding: 0 12px;
  border: 1px solid rgba(192, 132, 252, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: #8f82a5;
  font-size: 0.72rem;
}

.mock-search svg {
  width: 14px;
  height: 14px;
}

.mock-note-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.mock-note-grid article {
  min-height: 104px;
  padding: 15px;
  border: 1px solid rgba(192, 132, 252, 0.11);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
}

.mock-note-grid strong {
  color: #fff;
  font-size: 0.78rem;
}

.mock-note-grid p {
  margin: 8px 0 11px;
  color: #857799;
  font-size: 0.68rem;
  line-height: 1.35;
}

.tag {
  display: inline-flex;
  min-height: 18px;
  align-items: center;
  padding: 0 7px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
}

.tag.purple {
  background: rgba(168, 85, 247, 0.8);
}

.tag.pink {
  background: rgba(236, 72, 153, 0.76);
}

.tag.amber {
  background: rgba(245, 158, 11, 0.8);
}

.tag.green {
  background: rgba(34, 197, 94, 0.72);
}

.tag.orange {
  background: rgba(249, 115, 22, 0.75);
}

.laptop-base {
  width: 112%;
  height: 24px;
  margin: 0 -6%;
  border-radius: 0 0 34px 34px;
  background:
    linear-gradient(90deg, rgba(43, 35, 60, 0.95), rgba(116, 86, 160, 0.74), rgba(25, 21, 39, 0.98)),
    #17111f;
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.75),
    0 0 28px rgba(168, 85, 247, 0.48);
}

.phone-mockup {
  position: absolute;
  right: 0;
  bottom: 12%;
  z-index: 4;
  width: clamp(148px, 10.5vw, 198px);
  min-height: clamp(288px, 20vw, 360px);
  padding: 34px 16px 18px;
  border: 4px solid rgba(116, 86, 160, 0.9);
  border-radius: 30px;
  background:
    radial-gradient(circle at 75% 12%, rgba(124, 58, 237, 0.28), transparent 32%),
    #080610;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 26px 70px rgba(0, 0, 0, 0.7),
    0 0 36px rgba(168, 85, 247, 0.48);
}

.phone-speaker {
  position: absolute;
  top: 11px;
  left: 50%;
  width: 48px;
  height: 6px;
  border-radius: 999px;
  background: #020106;
  transform: translateX(-50%);
}

.phone-status {
  position: absolute;
  top: 20px;
  right: 15px;
  display: flex;
  gap: 4px;
}

.phone-status span {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
}

.phone-brand {
  color: var(--landing-violet-soft);
  font-size: 0.84rem;
  font-weight: 900;
}

.phone-mockup h2 {
  margin: 18px 0 16px;
  font-size: 1rem;
}

.phone-list {
  display: grid;
  gap: 10px;
}

.phone-list article {
  display: grid;
  gap: 5px;
  padding: 11px;
  border: 1px solid rgba(192, 132, 252, 0.12);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
}

.phone-list strong {
  color: #fff;
  font-size: 0.74rem;
}

.phone-list span {
  color: #9281a9;
  font-size: 0.64rem;
}

.phone-add-button {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff;
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.5);
  font-size: 1.6rem;
  line-height: 1;
}

.floating-device {
  animation: floatDevice 6s ease-in-out infinite;
}

.phone-mockup.floating-device {
  animation-delay: -2s;
}

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

.trust-panel {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  align-items: center;
  min-height: 92px;
  overflow: hidden;
  border: 1px solid var(--landing-line);
  border-radius: var(--landing-radius);
  background: linear-gradient(180deg, rgba(15, 11, 27, 0.78), rgba(11, 8, 20, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.trust-panel > div {
  display: grid;
  place-items: center;
  min-height: 58px;
  padding: 0 26px;
  text-align: center;
}

.trust-panel > div + div {
  border-left: 1px solid rgba(192, 132, 252, 0.32);
}

.trust-panel strong {
  color: #fff;
  font-size: clamp(1rem, 1.15vw, 1.34rem);
  font-weight: 900;
}

.trust-panel small {
  color: var(--landing-muted);
}

.stars {
  color: var(--landing-violet-soft);
  font-size: 0.78rem;
}

.features-section,
.usecases-section,
.testimonials-section,
.final-cta-section {
  padding-top: 28px;
}

.features-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 3fr);
  gap: 26px;
  align-items: stretch;
}

.section-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 152px;
  padding: 34px;
  border: 1px solid var(--landing-line);
  border-radius: var(--landing-radius);
  background: linear-gradient(135deg, rgba(15, 11, 27, 0.74), rgba(8, 5, 16, 0.88));
}

.section-intro p {
  margin: 0;
  color: #fff;
  font-size: clamp(1.35rem, 1.7vw, 2.05rem);
  font-weight: 900;
  line-height: 1.08;
}

.section-intro h2 {
  margin: 0;
  background: linear-gradient(100deg, var(--landing-violet-soft), var(--landing-violet-bright));
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  font-size: clamp(1.35rem, 1.7vw, 2.05rem);
  font-weight: 900;
  line-height: 1.08;
}

.section-intro span {
  display: block;
  max-width: 460px;
  margin-top: 18px;
  color: var(--landing-muted);
  line-height: 1.55;
}

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

.feature-card {
  position: relative;
  min-height: 180px;
  padding: 24px 56px 22px 24px;
  overflow: hidden;
  border: 1px solid var(--landing-line);
  border-radius: var(--landing-radius);
  background: linear-gradient(180deg, rgba(17, 13, 31, 0.85), rgba(10, 7, 19, 0.93));
  transition:
    transform 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease,
    background 240ms ease;
}

.feature-card:hover,
.feature-card:focus-within {
  transform: translateY(-5px);
  border-color: var(--landing-line-strong);
  box-shadow: 0 22px 46px rgba(124, 58, 237, 0.24);
}

.feature-card.featured {
  background:
    radial-gradient(circle at 76% 20%, rgba(216, 180, 254, 0.28), transparent 32%),
    linear-gradient(135deg, rgba(124, 58, 237, 0.98), rgba(88, 28, 135, 0.95));
  box-shadow: 0 24px 70px rgba(124, 58, 237, 0.36);
}

.feature-card > svg {
  width: 40px;
  height: 40px;
  color: var(--landing-violet-soft);
}

.feature-card.featured > svg {
  color: #fff;
}

.feature-card h3 {
  margin: 24px 0 10px;
  color: #fff;
  font-size: 1rem;
}

.feature-card p {
  margin: 0;
  color: rgba(228, 218, 239, 0.82);
  font-size: 0.9rem;
  line-height: 1.48;
}

.feature-card button {
  position: absolute;
  top: 24px;
  right: 22px;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid rgba(192, 132, 252, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.feature-card button svg {
  width: 15px;
  height: 15px;
}

.productivity-section {
  padding-top: 18px;
}

.productivity-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 3fr);
  gap: 26px;
  align-items: stretch;
  border: 1px solid var(--landing-line);
  border-radius: var(--landing-radius);
  background:
    radial-gradient(circle at 70% 10%, rgba(168, 85, 247, 0.3), transparent 36%),
    linear-gradient(115deg, rgba(14, 10, 27, 0.94), rgba(45, 15, 90, 0.74), rgba(10, 7, 19, 0.98));
}

.productivity-panel > div:first-child {
  padding: 34px;
}

.productivity-panel h2 {
  max-width: 340px;
  margin: 0;
  background: linear-gradient(100deg, #fff, var(--landing-violet-soft));
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  font-size: clamp(1.5rem, 2vw, 2.45rem);
  line-height: 1.08;
}

.productivity-panel p {
  max-width: 330px;
  margin: 18px 0 0;
  color: var(--landing-muted);
  line-height: 1.55;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(190px, 1fr));
  gap: 22px;
  padding: 24px;
}

.step-grid article {
  min-height: 142px;
  padding: 24px;
  border: 1px solid rgba(192, 132, 252, 0.32);
  border-radius: var(--landing-radius);
  background: linear-gradient(150deg, rgba(83, 26, 150, 0.8), rgba(31, 12, 67, 0.94));
  transition:
    transform 240ms ease,
    border-color 240ms ease;
}

.step-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(216, 180, 254, 0.72);
}

.step-grid span {
  display: block;
  margin-bottom: 16px;
  color: #fff;
  font-size: clamp(2rem, 2.4vw, 3rem);
  font-weight: 900;
  line-height: 1;
}

.step-grid strong {
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.35;
}

.usecases-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 2.7fr);
  gap: 26px;
  align-items: stretch;
}

.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 22px;
  align-content: center;
}

.usecase-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
  min-height: 116px;
  padding: 24px;
  border: 1px solid var(--landing-line);
  border-radius: var(--landing-radius);
  background: linear-gradient(180deg, rgba(16, 12, 29, 0.86), rgba(9, 6, 18, 0.92));
  transition:
    transform 240ms ease,
    border-color 240ms ease;
}

.usecase-card:hover {
  transform: translateY(-4px);
  border-color: var(--landing-line-strong);
}

.usecase-card svg {
  width: 52px;
  height: 52px;
  color: var(--landing-violet-bright);
}

.usecase-card h3 {
  margin: 0 0 8px;
  color: var(--landing-violet-soft);
  font-size: 1.03rem;
}

.usecase-card p {
  margin: 0;
  color: rgba(232, 222, 242, 0.86);
  line-height: 1.5;
}

.usecase-button {
  grid-column: 2;
  justify-self: center;
  margin-top: -8px;
}

.testimonials-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 3.18fr);
  gap: 22px;
  align-items: stretch;
}

.testimonial-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(230px, 1fr));
  gap: 16px;
}

.testimonial-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 18px;
  min-height: 150px;
  padding: 24px 22px;
  border: 1px solid var(--landing-line);
  border-radius: var(--landing-radius);
  background: linear-gradient(180deg, rgba(16, 12, 29, 0.88), rgba(9, 6, 18, 0.94));
  transition:
    transform 240ms ease,
    border-color 240ms ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--landing-line-strong);
}

.quote-mark {
  position: absolute;
  top: 16px;
  left: 18px;
  color: var(--landing-violet-bright);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
}

.avatar {
  grid-row: 1 / span 3;
  align-self: center;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 0 0 5px rgba(124, 58, 237, 0.11);
}

.avatar-one {
  background: radial-gradient(circle at 45% 30%, #ffd8a8, #92400e 48%, #3b1a08 82%);
}

.avatar-two {
  background: radial-gradient(circle at 48% 25%, #ffe4e6, #be185d 46%, #3b0a24 82%);
}

.avatar-three {
  background: radial-gradient(circle at 45% 28%, #fed7aa, #7c2d12 48%, #1c0b06 82%);
}

.avatar-four {
  background: radial-gradient(circle at 48% 26%, #fbcfe8, #9d174d 48%, #2a0a1a 82%);
}

.avatar-five {
  background: radial-gradient(circle at 46% 28%, #fde68a, #92400e 48%, #261206 82%);
}

.testimonial-card p {
  margin: 16px 0 14px;
  color: rgba(231, 222, 242, 0.88);
  font-size: 0.9rem;
  line-height: 1.55;
}

.testimonial-card strong {
  color: #fff;
}

.testimonial-card small {
  margin-top: 4px;
  color: var(--landing-muted);
}

.final-cta-section {
  padding-bottom: 28px;
}

.final-cta-panel {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
  overflow: hidden;
  padding: 64px 24px;
  border: 1px solid var(--landing-line);
  border-radius: var(--landing-radius);
  background:
    radial-gradient(circle at 50% 12%, rgba(192, 132, 252, 0.3), transparent 36%),
    linear-gradient(180deg, rgba(16, 12, 29, 0.92), rgba(7, 4, 13, 0.98));
  text-align: center;
}

.cta-orbit {
  position: absolute;
  inset: 18% 8% auto;
  height: 220px;
  border: 7px solid transparent;
  border-bottom: 0;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background:
    linear-gradient(var(--landing-bg-soft), var(--landing-bg-soft)) padding-box,
    linear-gradient(90deg, transparent, #a855f7, #c084fc, #7c3aed, transparent) border-box;
  filter: drop-shadow(0 0 28px rgba(168, 85, 247, 0.76));
  opacity: 0.6;
}

.final-cta-panel h2,
.final-cta-panel p,
.final-cta-panel .hero-actions {
  position: relative;
  z-index: 2;
}

.final-cta-panel h2 {
  max-width: 780px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.25rem, 4vw, 4.8rem);
  line-height: 1.02;
}

.final-cta-panel p {
  max-width: 620px;
  margin: 22px 0 28px;
  color: var(--landing-muted);
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.6;
}

.final-cta-panel .hero-actions {
  justify-content: center;
}

.home-footer {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 2.8fr);
  gap: 48px;
  padding: 38px 0 46px;
  border-top: 1px solid var(--landing-line);
}

.footer-brand-block p {
  max-width: 430px;
  margin: 18px 0 24px;
  color: var(--landing-muted);
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--landing-line);
  border-radius: var(--landing-radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--landing-violet-soft);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 24px;
}

.footer-links div {
  display: grid;
  align-content: start;
  gap: 11px;
}

.footer-links strong {
  margin-bottom: 6px;
  color: #fff;
}

.footer-links a,
.footer-links button {
  justify-content: flex-start;
  width: fit-content;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--landing-muted);
  cursor: pointer;
  text-align: left;
}

.footer-links a:hover,
.footer-links button:hover {
  color: #fff;
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--landing-dim);
}

.reveal-on-scroll {
  opacity: 1;
  transform: none;
}

@keyframes floatDevice {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -12px;
  }
}

@keyframes haloPulse {
  0%,
  100% {
    opacity: 0.82;
    filter: drop-shadow(0 0 18px rgba(192, 132, 252, 0.9)) drop-shadow(0 0 46px rgba(124, 58, 237, 0.6));
  }

  50% {
    opacity: 1;
    filter: drop-shadow(0 0 24px rgba(216, 180, 254, 1)) drop-shadow(0 0 74px rgba(124, 58, 237, 0.78));
  }
}

@media (prefers-reduced-motion: no-preference) {
  .reveal-on-scroll {
    opacity: 0;
    transform: translateY(22px);
    transition:
      opacity 520ms ease,
      transform 520ms ease;
  }

  .reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .hero-section .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .floating-device,
  .orbital-arc {
    animation: none;
  }

  .home-button,
  .feature-card,
  .step-grid article,
  .usecase-card,
  .testimonial-card {
    transition: none;
  }
}

@media (max-width: 1440px) {
  .section-shell,
  .home-navbar {
    width: min(1380px, calc(100% - 48px));
  }

  .hero-section {
    grid-template-columns: minmax(310px, 0.8fr) minmax(520px, 1.2fr);
  }

  .feature-grid {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
  }

  .step-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }

  .testimonial-row {
    grid-template-columns: repeat(3, minmax(230px, 1fr));
  }
}

@media (max-width: 1180px) {
  .home-navbar {
    grid-template-columns: auto auto;
  }

  .home-menu-button {
    display: block;
    justify-self: end;
  }

  .home-nav-links,
  .home-nav-actions {
    grid-column: 1 / -1;
    display: none;
    justify-content: stretch;
  }

  .home-navbar.menu-open .home-nav-links,
  .home-navbar.menu-open .home-nav-actions {
    display: grid;
  }

  .home-navbar.menu-open .home-nav-links {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--landing-line);
    border-radius: var(--landing-radius);
    background: rgba(10, 7, 19, 0.94);
  }

  .home-navbar.menu-open .home-nav-links a {
    text-align: center;
  }

  .home-navbar.menu-open .home-nav-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-section {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 50px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .product-visual {
    min-height: 560px;
  }

  .features-section,
  .productivity-panel,
  .usecases-section,
  .testimonials-section,
  .home-footer {
    grid-template-columns: 1fr;
  }

  .usecase-button {
    grid-column: auto;
  }
}

@media (max-width: 900px) {
  .section-shell,
  .home-navbar {
    width: min(100% - 28px, 760px);
  }

  .home-navbar.menu-open .home-nav-links {
    grid-template-columns: 1fr;
  }

  .home-navbar.menu-open .home-nav-actions {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: clamp(3.15rem, 14vw, 5.1rem);
  }

  .hero-actions,
  .home-nav-actions {
    align-items: stretch;
  }

  .hero-actions .home-button,
  .home-nav-actions .home-button {
    width: 100%;
  }

  .product-visual {
    min-height: 470px;
  }

  .laptop-mockup {
    right: 6%;
    width: 88%;
  }

  .laptop-screen {
    grid-template-columns: 118px 1fr;
  }

  .mock-sidebar {
    padding: 28px 10px 16px;
  }

  .mock-dashboard {
    padding: 28px 16px 18px;
  }

  .mock-note-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .phone-mockup {
    right: -3%;
    width: 165px;
  }

  .trust-panel {
    grid-auto-flow: column;
    grid-auto-columns: minmax(180px, 1fr);
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .trust-panel > div {
    scroll-snap-align: start;
  }

  .feature-grid,
  .usecase-grid,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .step-grid {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .testimonial-row {
    display: flex;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
  }

  .testimonial-card {
    flex: 0 0 min(84vw, 360px);
    scroll-snap-align: start;
  }
}

@media (max-width: 560px) {
  .home-navbar {
    gap: 14px;
    padding-top: 14px;
  }

  .home-brand {
    font-size: 1.25rem;
  }

  .home-brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .hero-section {
    padding-top: 34px;
  }

  .home-kicker {
    align-items: flex-start;
    font-size: 0.88rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .product-visual {
    min-height: 390px;
    margin-top: 34px;
    overflow: hidden;
  }

  .orbital-arc {
    left: -18%;
    height: 62%;
    border-width: 8px;
  }

  .laptop-mockup {
    right: -5%;
    bottom: 22%;
    width: 104%;
  }

  .laptop-screen {
    grid-template-columns: 1fr;
    min-height: 260px;
  }

  .mock-sidebar {
    display: none;
  }

  .mock-note-grid article:nth-child(n + 5) {
    display: none;
  }

  .phone-mockup {
    right: -6px;
    bottom: 1%;
    width: 142px;
    min-height: 278px;
    padding: 30px 12px 16px;
    border-radius: 24px;
  }

  .phone-list article {
    padding: 9px;
  }

  .section-intro,
  .productivity-panel > div:first-child,
  .feature-card,
  .usecase-card,
  .testimonial-card {
    padding: 22px;
  }

  .feature-card {
    min-height: 166px;
    padding-right: 54px;
  }

  .final-cta-panel {
    min-height: 320px;
    padding: 46px 18px;
  }

  .home-footer {
    gap: 30px;
    padding-bottom: 34px;
  }
}
