:root {
  --ink: #12005f;
  --purple: #5b2cff;
  --purple-deep: #16006a;
  --purple-mid: #7d4cff;
  --orange: #ff8a00;
  --green: #22c55e;
  --blue: #2d7bff;
  --pink: #ff4db3;
  --paper: #ffffff;
  --mist: #f4f2fb;
  --line: #ded9f0;
  --shadow: 0 24px 60px rgba(35, 11, 117, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 10%, rgba(125, 76, 255, 0.12), transparent 22rem),
    radial-gradient(circle at 78% 8%, rgba(255, 138, 0, 0.1), transparent 18rem),
    linear-gradient(135deg, #fbfbff 0%, #f7f4ff 55%, #ffffff 100%);
}

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

.page-shell {
  width: min(1440px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(16px, 2.2vw, 32px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(470px, 1.16fr) minmax(250px, 0.74fr) minmax(170px, 0.34fr);
  align-items: center;
  min-height: clamp(240px, 27vw, 330px);
  gap: clamp(14px, 3vw, 48px);
  overflow: hidden;
  border-radius: 42px 42px 0 0;
  padding: clamp(22px, 3.4vw, 44px);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.brand-panel {
  display: grid;
  grid-template-columns: clamp(104px, 13vw, 168px) 1px 1fr;
  align-items: center;
  gap: clamp(18px, 2.8vw, 38px);
}

.brand-panel::after {
  content: "";
  width: 1px;
  height: 74%;
  background: var(--line);
  grid-column: 2;
  grid-row: 1;
}

.brand-mark,
.mini-logo {
  display: block;
}

.brand-mark {
  width: clamp(104px, 13vw, 168px);
  height: auto;
  filter: drop-shadow(0 24px 18px rgba(83, 30, 211, 0.18));
}

.brand-copy {
  grid-column: 3;
  grid-row: 1;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--purple);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(4rem, 8.2vw, 7.6rem);
  line-height: 0.82;
  font-weight: 900;
  letter-spacing: 0;
}

.tagline {
  width: min(380px, 100%);
  margin: clamp(18px, 2vw, 26px) 0 0;
  font-size: clamp(1.28rem, 1.9vw, 1.75rem);
  line-height: 1.16;
  font-weight: 900;
}

strong {
  color: inherit;
}

.tagline strong,
.preview-copy strong {
  color: var(--orange);
}

.mascot-stage {
  position: relative;
  align-self: stretch;
  min-height: 225px;
}

.mascot-stage img {
  position: absolute;
  left: 50%;
  bottom: -3%;
  width: min(100%, 390px);
  max-height: 112%;
  object-fit: contain;
  transform: translateX(-50%);
}

.sparkle {
  position: absolute;
  width: 16px;
  aspect-ratio: 1;
  transform: rotate(45deg);
}

.sparkle::before,
.sparkle::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: currentColor;
}

.sparkle::after {
  transform: rotate(90deg) scale(0.38, 1.7);
}

.sparkle-one {
  top: 22%;
  left: 8%;
  color: var(--orange);
}

.sparkle-two {
  top: 9%;
  right: 8%;
  color: var(--purple);
}

.sparkle-three {
  right: 22%;
  bottom: 28%;
  color: var(--green);
}

.helper-note {
  align-self: center;
  max-width: 210px;
  font-weight: 800;
}

.helper-note span {
  display: block;
  margin-bottom: 8px;
  color: var(--purple-deep);
  font-size: clamp(1.1rem, 1.6vw, 1.55rem);
}

.helper-note p {
  margin: 0;
  font-size: clamp(0.9rem, 1.1vw, 1.12rem);
  line-height: 1.35;
}

.project-dock {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  width: min(1030px, 100%);
  margin: -12px 0 0;
  overflow: hidden;
  border: 1px solid rgba(222, 217, 240, 0.78);
  border-radius: 0 20px 20px 0;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.project-tile {
  position: relative;
  display: grid;
  justify-items: start;
  min-height: 146px;
  padding: 22px 24px 20px;
  border-right: 1px solid var(--line);
  transition: transform 180ms ease, background 180ms ease;
}

.project-tile:hover {
  background: #fbfaff;
  transform: translateY(-2px);
}

.project-tile:last-child {
  border-right: 0;
}

.mini-logo {
  width: 92px;
  height: 92px;
  margin-bottom: 14px;
  filter: drop-shadow(0 10px 10px rgba(83, 30, 211, 0.12));
}

.project-tile strong {
  margin-bottom: 7px;
  font-size: 1.04rem;
  font-weight: 900;
}

.project-tile small {
  font-size: 0.85rem;
  font-weight: 700;
}

.showcase {
  display: block;
  margin-top: clamp(22px, 3vw, 42px);
}

.preview-panel {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border-radius: 20px;
  padding: clamp(22px, 3vw, 40px);
  color: #fff;
  background:
    radial-gradient(circle at 86% 92%, rgba(125, 76, 255, 0.78), transparent 25rem),
    radial-gradient(circle at 66% 14%, rgba(255, 77, 179, 0.18), transparent 18rem),
    linear-gradient(135deg, #1a0077 0%, #160052 54%, #250091 100%);
  box-shadow: 0 24px 54px rgba(20, 0, 76, 0.24);
}

.preview-nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-right: clamp(170px, 18vw, 270px);
  font-size: 0.82rem;
  font-weight: 800;
}

.preview-nav div {
  display: flex;
  gap: clamp(14px, 2vw, 34px);
}

.preview-logo {
  display: block;
  width: 178px;
  height: auto;
}

.preview-copy {
  position: relative;
  z-index: 3;
  width: min(420px, 58%);
  margin-top: clamp(36px, 5vw, 68px);
}

.preview-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3.1vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.preview-copy p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.52;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 18px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, #ff8a00, #ff6f00);
  box-shadow: 0 14px 24px rgba(255, 112, 0, 0.28);
}

.preview-mascot {
  position: absolute;
  right: 24%;
  bottom: -28px;
  width: min(26vw, 310px);
  min-width: 180px;
  transform: scaleX(-1);
  filter: drop-shadow(0 22px 22px rgba(0, 0, 0, 0.22));
}

.phone {
  position: absolute;
  right: 4%;
  bottom: -10px;
  width: clamp(170px, 18vw, 250px);
  aspect-ratio: 0.58 / 1;
  border: 8px solid #17122c;
  border-radius: 32px;
  background: #fff;
  box-shadow: -12px 18px 40px rgba(0, 0, 0, 0.32);
  transform: rotate(10deg);
}

.phone-speaker {
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 3;
  width: 42%;
  height: 18px;
  border-radius: 0 0 14px 14px;
  background: #17122c;
  transform: translateX(-50%);
}

.phone-screen {
  height: 100%;
  padding: 38px 14px 14px;
  border-radius: 24px;
  color: var(--ink);
  background: linear-gradient(160deg, #fff 0%, #f8f5ff 100%);
}

.phone-greeting {
  margin: 0 0 2px;
  font-size: 1rem;
  font-weight: 900;
}

.phone-screen small {
  display: block;
  margin-bottom: 12px;
  font-size: 0.68rem;
  line-height: 1.28;
  font-weight: 800;
}

.phone-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.phone-grid span {
  display: grid;
  place-items: center;
  min-height: 48px;
  border-radius: 10px;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(20, 0, 76, 0.13);
}

.phone-grid span:nth-child(6) {
  color: var(--ink);
  background: #fff;
}

.phone-grid .market {
  background: var(--orange);
}

.phone-grid .ai {
  background: var(--blue);
}

.phone-grid .web {
  background: var(--green);
}

.phone-grid .chat {
  background: var(--pink);
}

.phone-grid .account {
  background: #ffb819;
}

.phone-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.phone-tabs b {
  height: 7px;
  border-radius: 99px;
  background: #d6cff2;
}

.phone-tabs b:first-child {
  background: var(--purple);
}

.project-tabs {
  display: grid;
  grid-template-columns: minmax(210px, 0.32fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 56px);
  align-items: center;
  margin-top: clamp(18px, 3vw, 40px);
  padding: clamp(26px, 4vw, 54px);
  scroll-margin-top: 24px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 12% 22%, rgba(255, 138, 0, 0.12), transparent 17rem),
    radial-gradient(circle at 86% 78%, rgba(91, 44, 255, 0.16), transparent 22rem),
    rgba(255, 255, 255, 0.82);
  box-shadow: 0 22px 54px rgba(35, 11, 117, 0.14);
}

.tabs-heading p {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3vw, 3rem);
  line-height: 1;
  font-weight: 900;
  color: var(--purple-deep);
}

.tabs-heading h2 {
  max-width: 360px;
  margin: 0;
  font-size: clamp(1.6rem, 2.6vw, 2.75rem);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
}

.tab-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 1fr));
  gap: clamp(14px, 2vw, 24px);
}

.tab-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  grid-template-rows: auto auto;
  align-content: center;
  align-items: center;
  column-gap: 16px;
  min-height: clamp(118px, 10vw, 152px);
  padding: clamp(18px, 2.2vw, 28px);
  border-radius: 22px;
  color: #fff;
  box-shadow: 0 18px 34px rgba(20, 0, 76, 0.15);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.tab-card img {
  grid-row: 1 / span 2;
  width: 58px;
  height: 58px;
  border-radius: 14px;
}

.tab-card:hover {
  transform: translateY(-4px) rotate(0deg);
  box-shadow: 0 24px 44px rgba(20, 0, 76, 0.2);
}

.tab-card span {
  display: block;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1;
  font-weight: 900;
}

.tab-card small {
  display: block;
  margin-top: 8px;
  font-size: clamp(0.72rem, 1vw, 0.9rem);
  line-height: 1.25;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.82);
}

.tab-card.market {
  transform: rotate(5deg);
  background: linear-gradient(145deg, #ff9c19, var(--orange));
}

.tab-card.ai {
  transform: rotate(8deg);
  background: linear-gradient(145deg, #3d86ff, var(--blue));
}

.tab-card.web {
  transform: rotate(8deg);
  background: linear-gradient(145deg, #2dd36a, var(--green));
}

.tab-card.chat {
  transform: rotate(7deg);
  background: linear-gradient(145deg, #ff5cbc, var(--pink));
}

.tab-card.account {
  transform: rotate(8deg);
  background: linear-gradient(145deg, #ffc433, #ffb819);
}

.tab-card.profile {
  color: var(--ink);
  transform: rotate(9deg);
  background: #fff;
}

.tab-card.profile small {
  color: rgba(18, 0, 95, 0.72);
}

.benefits {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, #130059, #080029);
  box-shadow: 0 22px 50px rgba(20, 0, 76, 0.22);
}

.benefits div {
  display: grid;
  grid-template-columns: 56px 1fr;
  grid-template-rows: auto auto;
  column-gap: 16px;
  min-height: 110px;
  padding: 22px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.benefits div:last-child {
  border-right: 0;
}

.benefit-icon {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  font-size: 1.8rem;
  font-weight: 900;
  background: linear-gradient(145deg, #8e55ff, #5b2cff);
}

.benefits div:nth-child(2) .benefit-icon,
.benefits div:nth-child(4) .benefit-icon {
  background: linear-gradient(145deg, #ff7bc5, var(--pink));
}

.benefits div:nth-child(3) .benefit-icon {
  background: linear-gradient(145deg, #43da71, var(--green));
}

.benefits div:nth-child(5) .benefit-icon {
  background: linear-gradient(145deg, #ff9b00, #ff7600);
}

.benefits strong {
  align-self: end;
  font-size: 0.96rem;
  font-weight: 900;
}

.benefits p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.42;
}

@media (max-width: 1060px) {
  .hero {
    grid-template-columns: 1fr 0.72fr;
    min-height: 350px;
  }

  .helper-note {
    grid-column: 1 / -1;
    max-width: none;
    margin-top: -28px;
  }

  .project-dock,
  .tab-grid,
  .benefits {
    grid-template-columns: repeat(3, 1fr);
  }

  .project-tabs {
    grid-template-columns: 1fr;
  }

  .benefits div:nth-child(3n) {
    border-right: 0;
  }
}

@media (max-width: 760px) {
  .page-shell {
    padding: 12px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 28px 22px 18px;
    border-radius: 30px 30px 0 0;
  }

  .brand-panel {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 14px;
  }

  .brand-panel::after {
    display: none;
  }

  .brand-mark {
    width: 78px;
  }

  .brand-copy {
    grid-column: 2;
  }

  h1 {
    font-size: clamp(2.8rem, 14.6vw, 3.65rem);
  }

  .tagline {
    margin-top: 12px;
    font-size: 1.05rem;
  }

  .mascot-stage {
    min-height: 220px;
  }

  .mascot-stage img {
    width: min(86%, 280px);
  }

  .helper-note {
    margin: 0;
    padding-bottom: 8px;
  }

  .project-dock {
    grid-template-columns: 1fr;
    margin-top: 0;
    border-radius: 0 0 24px 24px;
  }

  .project-tile {
    grid-template-columns: 76px 1fr;
    grid-template-rows: auto auto;
    column-gap: 20px;
    align-items: center;
    min-height: 96px;
    padding: 18px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .project-tile:last-child {
    border-bottom: 0;
  }

  .mini-logo {
    grid-row: 1 / span 2;
    margin: 0;
  }

  .project-badge {
    top: 16px;
    left: 74px;
    width: 34px;
    min-width: 34px;
    height: 34px;
    font-size: 0.62rem;
  }

  .preview-panel {
    min-height: 560px;
    padding: 24px;
  }

  .preview-nav {
    align-items: flex-start;
    padding-right: 0;
  }

  .preview-nav div {
    display: none;
  }

  .preview-copy {
    width: 100%;
    margin-top: 34px;
  }

  .preview-copy h2 {
    max-width: 340px;
    font-size: 2rem;
  }

  .preview-copy p {
    max-width: 300px;
  }

  .preview-mascot {
    right: auto;
    left: 0;
    bottom: 4px;
    width: 230px;
  }

  .phone {
    right: 22px;
    bottom: 28px;
    width: 170px;
  }

  .project-tabs {
    padding: 28px 22px 34px;
  }

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

  .tab-card {
    grid-template-columns: 46px 1fr;
    column-gap: 12px;
    min-height: 106px;
    border-radius: 18px;
  }

  .tab-card img {
    width: 46px;
    height: 46px;
    border-radius: 12px;
  }

  .benefits {
    grid-template-columns: 1fr;
  }

  .benefits div,
  .benefits div:nth-child(3n) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .benefits div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 420px) {
  .phone {
    width: 154px;
    right: 10px;
  }

  .preview-mascot {
    width: 205px;
    left: -20px;
  }

  .phone-grid span {
    min-height: 42px;
  }
}
