:root {
  --bg: #f7f9fd;
  --paper: #ffffff;
  --ink: #101828;
  --muted: #667085;
  --line: #e4e7ec;
  --primary: #6c63ff;
  --blue: #2563eb;
  --green: #059669;
  --orange: #f97316;
  --pink: #db2777;
  --cyan: #0891b2;
  --shadow: 0 18px 48px rgba(16, 24, 40, 0.12);
  --soft-shadow: 0 14px 34px rgba(35, 38, 59, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    linear-gradient(120deg, #f7fbff, #fff7ed, #f5f3ff, #ecfeff, #f8fafc);
  background-size: 320% 320%;
  animation: pageFlow 18s ease infinite;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  background:
    linear-gradient(120deg, transparent, rgba(255, 255, 255, .58), transparent),
    linear-gradient(60deg, rgba(37, 99, 235, .1), transparent 30%, rgba(249, 115, 22, .1) 66%, transparent);
  content: "";
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: -1;
  animation: lightSweep 9s ease-in-out infinite alternate;
}

button, input, select, textarea { font: inherit; }
button, a, select { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.top-info {
  align-items: center;
  background: rgba(16, 24, 40, .05);
  color: rgba(16, 24, 40, .72);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  padding: 8px clamp(16px, 4vw, 44px);
  font-size: 13px;
}

.site-header {
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
}

.main-bar {
  align-items: center;
  display: flex;
  gap: 18px;
  min-height: 70px;
  padding: 10px clamp(16px, 4vw, 44px);
}

.brand {
  align-items: center;
  display: flex;
  gap: 10px;
  min-width: max-content;
}

.brand img {
  height: 42px;
  object-fit: contain;
  width: 42px;
}

.brand strong {
  display: block;
  font-size: 15px;
  letter-spacing: .04em;
}

.brand small {
  color: var(--muted);
  display: block;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.search {
  flex: 1;
}

.search input, .field input, .field select, .field textarea {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  min-height: 44px;
  padding: 10px 16px;
  width: 100%;
}

.header-actions {
  align-items: center;
  display: flex;
  gap: 10px;
}

.icon-button, .outline-link, .solid-link, .menu-button, .mobile-head button, .primary-button, .soft-button {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 42px;
  padding: 9px 15px;
}

.icon-button, .outline-link, .menu-button, .mobile-head button, .soft-button {
  background: #fff;
  color: var(--ink);
}

.solid-link, .primary-button {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(108, 99, 255, .25);
}

.old-style-action {
  min-width: 150px;
  text-transform: uppercase;
}

.nav {
  border-top: 1px solid var(--line);
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 0 clamp(16px, 4vw, 44px);
}

.nav a {
  border-bottom: 3px solid transparent;
  color: rgba(16, 24, 40, .72);
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 800;
  padding: 15px 0 12px;
}

.nav a.active, .nav a:hover { border-color: var(--primary); color: var(--primary); }
.menu-button { display: none; }

.mobile-menu {
  background: #fff;
  inset: 0;
  padding: 18px;
  position: fixed;
  z-index: 50;
}

.mobile-head {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding-bottom: 14px;
}

.mobile-menu nav {
  display: grid;
  gap: 8px;
  padding: 20px 0;
}

.mobile-menu nav a {
  border-bottom: 1px solid var(--line);
  font-weight: 800;
  padding: 12px 0;
}

.mobile-actions {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

.mobile-actions a {
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
  padding: 13px;
  text-align: center;
}

.mobile-actions a { background: var(--green); }

.app {
  min-height: 70vh;
}

.section {
  margin: 0 auto;
  max-width: 1180px;
  padding: 56px 20px;
}

.section-title-row {
  align-items: end;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.hero {
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  padding-top: 72px;
}

.hero-single {
  grid-template-columns: 1fr;
}

.app-hero {
  align-items: center;
}

.glass-panel {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .93), rgba(255, 255, 255, .76)),
    linear-gradient(120deg, rgba(108, 99, 255, .15), transparent 38%, rgba(255, 122, 24, .15));
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.eyebrow {
  align-items: center;
  background: rgba(108, 99, 255, .1);
  border: 1px solid rgba(108, 99, 255, .22);
  border-radius: 999px;
  color: var(--primary);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  margin-bottom: 18px;
  padding: 7px 12px;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  font-size: clamp(38px, 6vw, 68px);
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin-bottom: 20px;
}
h2 {
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 14px;
}
h3 { font-size: 20px; margin-bottom: 10px; }
.lead { color: var(--muted); font-size: 18px; max-width: 720px; }

.hero-actions, .row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-stats, .platform-grid, .service-grid, .achievement-grid, .pricing-grid, .dashboard-grid, .role-grid {
  display: grid;
  gap: 16px;
}

.hero-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.stat, .card, .quick-signup, .snapshot, .auth-card, .dashboard-card {
  background: rgba(255, 255, 255, .84);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.stat { padding: 20px; }
.stat strong { display: block; font-size: 34px; line-height: 1; }
.stat span, .muted { color: var(--muted); }

.hero-panel {
  padding: 26px;
  position: relative;
}

.phone-frame {
  background: linear-gradient(135deg, #101828, #4c1d95, #f97316);
  border-radius: 28px;
  overflow: hidden;
  padding: 14px;
}

.animated-phone {
  animation: floatPhone 5s ease-in-out infinite;
  box-shadow: 0 28px 70px rgba(76, 29, 149, .22);
}

.phone-frame img {
  border-radius: 20px;
  display: block;
  height: 430px;
  object-fit: cover;
  object-position: top;
  width: 100%;
}

.platform-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.platform-card {
  background: linear-gradient(135deg, var(--c1), var(--c2));
  border: 0;
  border-radius: 28px;
  color: #fff;
  min-height: 132px;
  padding: 3px;
  text-align: left;
}

.platform-card > span {
  background: rgba(255, 255, 255, .95);
  border-radius: 25px;
  color: var(--ink);
  display: grid;
  gap: 6px;
  height: 100%;
  padding: 18px;
}

.platform-card strong { font-size: 17px; }
.platform-card small { color: var(--primary); font-weight: 900; }

.sphere-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sphere-grid.compact {
  margin-bottom: 28px;
}

.sphere-grid.mini {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 14px 0 20px;
}

.sphere-card {
  align-items: center;
  animation: riseIn .55s ease both;
  animation-delay: var(--delay, 0ms);
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.86)),
    linear-gradient(135deg, color-mix(in srgb, var(--c1) 16%, transparent), color-mix(in srgb, var(--c2) 12%, transparent));
  border: 1px solid rgba(228, 231, 236, .9);
  border-radius: 24px;
  box-shadow: var(--soft-shadow);
  display: grid;
  justify-items: center;
  min-height: 170px;
  overflow: hidden;
  padding: 22px 14px;
  position: relative;
  text-align: center;
  transition: transform .22s ease, box-shadow .22s ease;
}

.home-spheres .sphere-card {
  min-height: 218px;
  padding: 26px 14px 24px;
}

.home-spheres .sphere-icon {
  height: 142px;
  width: 142px;
}

.home-spheres .sphere-card strong {
  font-size: 21px;
}

.sphere-card::before {
  background: linear-gradient(90deg, var(--c1), var(--c2));
  bottom: 0;
  content: "";
  height: 5px;
  left: 0;
  position: absolute;
  right: 0;
}

.sphere-card:hover {
  box-shadow: 0 22px 54px rgba(16, 24, 40, .18);
  transform: translateY(-6px);
}

.sphere-icon {
  align-items: center;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  display: inline-flex;
  height: 108px;
  justify-content: center;
  margin-bottom: 14px;
  padding: 0;
  width: 108px;
}

.sphere-icon.large {
  height: 128px;
  width: 128px;
}

.sphere-icon img {
  filter: drop-shadow(0 16px 20px rgba(16, 24, 40, .2));
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.module-mark {
  align-items: center;
  background:
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, .95), rgba(255, 255, 255, .22) 30%, transparent 32%),
    linear-gradient(135deg, var(--c1), var(--c2));
  border-radius: 999px;
  box-shadow: inset 0 -10px 18px rgba(0, 0, 0, .12), 0 12px 26px rgba(16, 24, 40, .16);
  display: inline-flex;
  height: 86px;
  justify-content: center;
  margin-bottom: 12px;
  padding: 14px;
  width: 86px;
}

.module-mark img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.sphere-card strong {
  display: block;
  font-size: 18px;
}

.sphere-card small {
  color: var(--muted);
  font-weight: 800;
}

.sphere-grid.mini .sphere-card {
  min-height: 112px;
  padding: 12px 8px;
}

.sphere-grid.mini .sphere-card small {
  display: none;
}

.sphere-grid.mini .sphere-icon {
  height: 58px;
  width: 58px;
}

.role-icon-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 20px 0;
}

.role-icon-card {
  align-items: center;
  background: rgba(255, 255, 255, .74);
  border: 2px solid transparent;
  border-radius: 18px;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  gap: 7px;
  justify-items: center;
  min-width: 0;
  padding: 10px;
  text-align: center;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.role-icon-card:hover,
.role-icon-card.selected {
  border-color: #2563eb;
  box-shadow: 0 12px 28px rgba(37, 99, 235, .18);
  transform: translateY(-3px);
}

.role-icon-card img {
  aspect-ratio: 1;
  border-radius: 14px;
  display: block;
  max-width: 124px;
  object-fit: cover;
  width: 100%;
}

.role-icon-card strong { font-size: 14px; }
.role-icon-card small { color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }

.module-mark {
  height: 58px;
  margin-bottom: 10px;
  width: 58px;
}

.deals-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.module-products-grid {
  display: grid;
  gap: 22px;
}

.priority-products {
  gap: 26px;
}

.module-products {
  background: rgba(255, 255, 255, .82);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--soft-shadow);
  padding: 20px;
}

.module-products-head {
  align-items: center;
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.module-products-head h3 {
  margin-bottom: 2px;
}

.product-strip {
  display: flex;
  gap: 14px;
  overflow: hidden;
  position: relative;
}

.auto-strip .product-card {
  animation: productMovie 34s linear infinite;
  flex: 0 0 204px;
}

.auto-strip:hover .product-card {
  animation-play-state: paused;
}

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 10px 24px rgba(16, 24, 40, .08);
  min-width: 0;
  overflow: hidden;
  padding: 12px;
  transition: transform .22s ease, box-shadow .22s ease;
}

.product-card:hover {
  box-shadow: 0 18px 40px rgba(16, 24, 40, .16);
  transform: translateY(-5px);
}

.product-card img {
  aspect-ratio: 1 / 1;
  background: #f2f4f7;
  border-radius: 16px;
  display: block;
  object-fit: contain;
  padding: 8px;
  width: 100%;
}

.product-card span {
  color: var(--primary);
  display: block;
  font-size: 11px;
  font-weight: 900;
  margin-top: 10px;
  text-transform: uppercase;
}

.product-card h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.product-card p {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 10px;
}

.product-action {
  background: #101828;
  border: 0;
  border-radius: 999px;
  color: #fff;
  display: block;
  font-weight: 900;
  min-height: 34px;
  padding: 7px 10px;
  text-align: center;
  width: 100%;
}

.home-module-section {
  padding-top: 22px;
  padding-bottom: 34px;
}

.home-module-section .lead {
  max-width: 650px;
}

.featured-row {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .8)),
    linear-gradient(120deg, color-mix(in srgb, var(--c1) 14%, transparent), color-mix(in srgb, var(--c2) 12%, transparent));
  border-color: color-mix(in srgb, var(--c1) 26%, #e4e7ec);
  overflow: hidden;
  position: relative;
}

.featured-row::before {
  background: linear-gradient(90deg, var(--c1), var(--c2));
  content: "";
  height: 4px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.module-hero {
  align-items: center;
  background:
    radial-gradient(circle at 88% 10%, rgba(255,255,255,.22), transparent 14rem),
    linear-gradient(135deg, var(--c1), var(--c2));
  border-radius: 30px;
  box-shadow: var(--shadow);
  color: #fff;
  display: flex;
  gap: 24px;
  margin: 28px 0;
  padding: 28px;
}

.app-store-hero {
  position: relative;
  overflow: hidden;
}

.app-store-hero::after {
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.28), transparent);
  content: "";
  inset: -80px;
  position: absolute;
  transform: translateX(-35%) rotate(10deg);
  animation: moduleSweep 4.8s ease-in-out infinite;
}

.app-store-hero > * {
  position: relative;
  z-index: 1;
}

.module-toolbar {
  align-items: center;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--soft-shadow);
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(220px, 1fr) repeat(3, auto);
  margin: 22px 0;
  padding: 12px;
}

.module-toolbar button {
  background: #101828;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
  min-height: 42px;
  padding: 9px 16px;
}

.module-search {
  color: var(--muted);
  display: grid;
  font-size: 12px;
  font-weight: 900;
  gap: 6px;
  text-transform: uppercase;
}

.module-search input {
  border: 1px solid var(--line);
  border-radius: 999px;
  min-height: 42px;
  padding: 10px 15px;
}

.module-hero .eyebrow {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.3);
  color: #fff;
}

.module-hero p {
  color: rgba(255,255,255,.84);
  margin-bottom: 0;
}

.app-module-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 32px;
}

.app-module-nav button {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 900;
  padding: 10px 14px;
}

.app-module-nav button.active,
.app-module-nav button:hover {
  background: var(--ink);
  color: #fff;
}

.module-grid-products {
  margin-bottom: 34px;
}

.commerce-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

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

.split {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
}

.quick-signup, .card, .auth-card, .dashboard-card { padding: 24px; }
.form-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { color: var(--muted); display: grid; font-size: 13px; font-weight: 900; gap: 7px; text-transform: uppercase; }
.field.full { grid-column: 1 / -1; }
.field textarea { border-radius: 18px; min-height: 110px; resize: vertical; }

.service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-card {
  background:
    linear-gradient(135deg, rgba(108, 99, 255, .08), transparent 70%),
    var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 26px;
}

.glossy-card {
  overflow: hidden;
  position: relative;
}

.glossy-card::after {
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.55), transparent);
  content: "";
  height: 160%;
  left: -80%;
  position: absolute;
  top: -30%;
  transform: rotate(18deg);
  width: 42%;
}

.glossy-card:hover::after {
  animation: shine 1.2s ease;
}

.role-tile {
  transition: transform .2s ease, box-shadow .2s ease;
}

.role-tile:hover {
  transform: translateY(-5px);
}

.chat-box {
  align-self: start;
  background: linear-gradient(180deg, #101828, #312e81);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(49, 46, 129, .28);
  color: #fff;
  padding: 22px;
}

.chat-head {
  align-items: center;
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.chat-avatar {
  align-items: center;
  background: linear-gradient(135deg, var(--primary), var(--pink));
  border-radius: 50%;
  display: inline-flex;
  font-weight: 900;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.chat-head small {
  color: rgba(255,255,255,.7);
  display: block;
}

.chat-line {
  border-radius: 18px;
  margin: 10px 0;
  max-width: 88%;
  padding: 11px 13px;
}

.chat-line.left {
  background: rgba(255,255,255,.12);
}

.chat-line.right {
  background: rgba(108, 99, 255, .88);
  margin-left: auto;
}

.chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.chat-suggestions button {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  padding: 8px 12px;
}

.app-auth {
  background:
    radial-gradient(circle at 20% 12%, rgba(255, 255, 255, .14), transparent 24rem),
    linear-gradient(135deg, #190933, #5b21b6 48%, #db2777);
}

.app-shell {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: 250px minmax(0, 1fr);
}

.app-side {
  background: #101828;
  border-radius: 28px;
  box-shadow: var(--shadow);
  color: #fff;
  padding: 20px;
  position: sticky;
  top: 120px;
}

.app-side h3 {
  margin: 12px 0 18px;
}

.app-side button {
  background: transparent;
  border: 0;
  border-radius: 14px;
  color: rgba(255,255,255,.72);
  display: block;
  font-weight: 850;
  margin: 6px 0;
  padding: 12px;
  text-align: left;
  width: 100%;
}

.app-side button.active, .app-side button:hover {
  background: rgba(255,255,255,.12);
  color: #fff;
}

.app-main {
  display: grid;
  gap: 24px;
}

@keyframes floatPhone {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(16px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes shine {
  from { left: -80%; }
  to { left: 125%; }
}

@keyframes productMovie {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-100% - 14px)); }
}

@keyframes pageFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes lightSweep {
  from { opacity: .72; transform: translateX(-2%); }
  to { opacity: 1; transform: translateX(2%); }
}

@keyframes moduleSweep {
  0%, 100% { transform: translateX(-45%) rotate(10deg); }
  50% { transform: translateX(45%) rotate(10deg); }
}

.service-card ul, .card ul, .footer ul {
  margin: 0;
  padding-left: 18px;
}

.service-card li, .card li { margin: 7px 0; }
.achievement-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pricing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dashboard-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.role-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.badge {
  background: #eef4ff;
  border-radius: 999px;
  color: #1d4ed8;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  padding: 5px 10px;
}

.auth-page {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(17, 24, 39, .92), rgba(76, 29, 149, .9), rgba(219, 39, 119, .84)),
    #111827;
  display: flex;
  justify-content: center;
  min-height: 760px;
  padding: 42px 18px;
}

.auth-card {
  max-width: 560px;
  width: 100%;
}

.auth-card h1 { font-size: 36px; }
.notice {
  background: #ecfdf3;
  border: 1px solid #abefc6;
  border-radius: 16px;
  color: #067647;
  display: none;
  font-weight: 800;
  margin-top: 14px;
  padding: 12px;
}

.footer {
  background: rgba(16, 24, 40, .05);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1.35fr 1fr 1fr 1.2fr;
  margin: 0 auto;
  max-width: 1180px;
  padding: 46px 20px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 20px;
}

@media (max-width: 1100px) {
  .hero, .split { grid-template-columns: 1fr; }
  .platform-grid, .dashboard-grid, .sphere-grid, .deals-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .commerce-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .app-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .auto-strip .product-card { flex-basis: 190px; }
  .app-shell { grid-template-columns: 1fr; }
  .app-side { position: static; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .top-info, .nav, .search, .header-actions { display: none; }
  .menu-button { display: inline-flex; }
  .main-bar { justify-content: space-between; }
  .hero-stats, .service-grid, .achievement-grid, .pricing-grid, .role-grid, .platform-grid, .dashboard-grid, .footer-grid, .form-grid, .sphere-grid, .deals-grid {
    grid-template-columns: 1fr;
  }
  .section-title-row {
    align-items: start;
    flex-direction: column;
  }
  .commerce-grid, .app-feature-grid { grid-template-columns: 1fr; }
  .role-icon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .module-toolbar { grid-template-columns: 1fr; }
  .home-spheres .sphere-icon {
    height: 126px;
    width: 126px;
  }
  .auto-strip .product-card { flex-basis: 168px; }
  .section { padding: 38px 16px; }
  h1 { font-size: 38px; }
  .phone-frame img { height: 360px; }
  .footer-bottom { flex-direction: column; }
}
