:root {
  --text: #111;
  --muted: #5d5d5d;
  --line: #ece6df;
  --red: #ef3e20;
  --shadow: 0 18px 38px rgba(0, 0, 0, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.topbar,
.product-bar {
  position: sticky;
  z-index: 60;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
}
.topbar { top: 0; border-bottom: 1px solid rgba(0, 0, 0, 0.05); }
.product-bar { top: 68px; border-bottom: 1px solid #f0e7e1; }
.topbar-inner,
.product-bar-inner,
.page {
  width: min(1440px, calc(100% - 2rem));
  margin: 0 auto;
}
.topbar-inner,
.product-bar-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.zoho-mark { display: inline-flex; align-items: center; gap: 0.15rem; white-space: nowrap; }
.zoho-box {
  width: 26px;
  height: 24px;
  border: 4px solid currentColor;
  border-radius: 7px;
  display: inline-block;
  transform: rotate(8deg);
  margin-right: -3px;
}
.zoho-box.red { color: #f44336; }
.zoho-box.green { color: #29a745; }
.zoho-box.blue { color: #2f80ed; }
.zoho-box.yellow { color: #f2b21f; }
.zoho-word { margin-left: 0.4rem; font-size: 0.72rem; letter-spacing: 0.42em; font-weight: 700; }

.top-nav,
.product-nav,
.top-actions,
.billing-row,
.filter-row,
.footer-grid,
.footer-bottom,
.socials {
  display: flex;
  align-items: center;
}
.top-nav {
  flex: 1;
  gap: 1.2rem;
  margin-left: 1rem;
  font-size: 0.98rem;
  flex-wrap: wrap;
}
.top-actions { gap: 1rem; }
.icon-link { font-size: 1.05rem; }
.signin-link { color: var(--red); font-weight: 600; }
.signup-link { padding: 0.85rem 1rem; background: var(--red); color: #fff; border-radius: 2px; font-weight: 700; }
.inline-caret { font-size: 0.82rem; margin-left: 0.1rem; }

.product-logo { width: 145px; }
.product-nav { gap: 2rem; margin-left: auto; font-size: 1rem; flex-wrap: wrap; }
.product-nav a { position: relative; padding: 1.8rem 0 1.5rem; color: #202020; }
.product-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #111;
}

.hero {
  padding: 3rem 0 2rem;
  text-align: center;
}
.hero-art {
  display: grid;
  place-items: center;
  min-height: 170px;
}
.hero-person {
  width: 220px;
  height: 140px;
  position: relative;
}
.hero-person::before {
  content: "";
  position: absolute;
  left: 62px;
  top: 35px;
  width: 90px;
  height: 90px;
  border-radius: 50% 50% 44% 44%;
  background: linear-gradient(180deg, #fff 0%, #fff 34%, #cf2126 34% 100%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.hero-person::after {
  content: "";
  position: absolute;
  left: 44px;
  top: 48px;
  width: 116px;
  height: 74px;
  border: 3px solid #2b2b2b;
  border-color: #2b2b2b transparent transparent transparent;
  border-radius: 50%;
}
.tile {
  position: absolute;
  width: 38px;
  height: 44px;
  border-radius: 8px;
  border: 2px solid #2a2a2a;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}
.tile-1 { left: 10px; top: 48px; background: #ffc94d; }
.tile-2 { left: 84px; top: 0; background: #ffe0a8; }
.tile-3 { right: 12px; top: 58px; background: #d68a41; }
.tile-4 { left: 150px; top: 38px; background: #ffd14a; }
.hero h1 {
  margin: 0;
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(3rem, 5vw, 4.3rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.comparison-shell {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.controls {
  padding: 1rem 1rem 1.2rem;
  background: #fff;
  border-right: 1px solid var(--line);
}
.controls h2 {
  margin: 0;
  font-size: 1.9rem;
  line-height: 1;
  font-family: Manrope, Inter, sans-serif;
  letter-spacing: -0.05em;
}
.billing-row { gap: 0.65rem; margin-top: 0.9rem; font-size: 1.15rem; }
.billing-row em {
  color: #17925e;
  font-size: 1rem;
  font-family: "Brush Script MT", cursive;
}
.toggle {
  position: relative;
  width: 52px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: #111;
  padding: 3px;
}
.toggle span {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
}
.filter-row { gap: 2rem; margin-top: 1.4rem; flex-wrap: wrap; }
.filter-row label { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.98rem; }

.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}
.plan-card { border-right: 1px solid var(--line); background: #fff; }
.plan-card:last-child { border-right: 0; }
.plan-head {
  min-height: 190px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
}
.plan-head h3 { margin: 0; font-size: 0.9rem; letter-spacing: 0.24em; }
.plan-head strong {
  display: block;
  margin: 0.5rem 0 0.2rem;
  font-size: clamp(2.2rem, 3vw, 3.2rem);
  letter-spacing: -0.05em;
}
.plan-head p { margin: 0; color: #666; line-height: 1.45; }
.plan-head p strong { font-size: 1rem; display: inline; letter-spacing: 0; }

.feature-table { grid-column: 1 / -1; background: #fff; }
.feature-group { border-top: 1px solid var(--line); }
.group-head {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1rem;
  border: 0;
  background: #f3f3f3;
  color: #333;
  text-align: left;
  font-size: 1rem;
}
.group-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #222;
  display: inline-grid;
  place-items: center;
  font-size: 0.72rem;
}
.group-body { display: grid; }
.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 320px) repeat(4, minmax(0, 1fr));
  align-items: stretch;
  border-top: 1px solid var(--line);
}
.feature-name,
.cell {
  min-height: 48px;
  padding: 0.9rem 1rem;
  border-right: 1px solid var(--line);
  display: flex;
  align-items: center;
}
.feature-name { color: #222; line-height: 1.4; }
.cell { justify-content: center; }
.cell:last-child { border-right: 0; }
.cell-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 0.72rem;
}
.cell-icon.yes { background: #111; color: #fff; }
.cell-icon.no { background: #efefef; color: #222; }

.site-footer {
  margin-top: 3rem;
  background: #060606;
  color: #d7d7d7;
  border-radius: 28px 28px 0 0;
  overflow: hidden;
  padding: 2.5rem 0 1.8rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  padding: 0 2.4rem 1.5rem;
  align-items: start;
}
.footer-grid h3 {
  color: #a4a4a4;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 0.9rem;
}
.footer-grid a { display: block; color: #d7d7d7; margin: 0.48rem 0; }
.footer-bottom {
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 2.4rem 0;
  flex-wrap: wrap;
}
.edition { display: flex; align-items: center; gap: 1rem; }
.edition span,
.socials span {
  color: #8d8d8d;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.92rem;
  font-weight: 700;
}
.edition button {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0 1rem;
  border: 0;
  border-radius: 999px;
  background: #2d2d2d;
  color: #fff;
  font-weight: 700;
}
.socials { gap: 0.7rem; flex-wrap: wrap; }
.socials a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: inline-grid;
  place-items: center;
  color: #fff;
}

.floating-demo {
  position: fixed;
  right: 90px;
  bottom: 18px;
  z-index: 70;
  padding: 0.85rem 1.2rem;
  background: #fff;
  color: #555;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.floating-chat {
  position: fixed;
  right: 20px;
  bottom: 18px;
  z-index: 70;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ffca42;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  font-size: 1.1rem;
}

@media (max-width: 1200px) {
  .comparison-shell { grid-template-columns: 1fr; }
  .controls { border-right: 0; border-bottom: 1px solid var(--line); }
  .plan-grid,
  .feature-row { min-width: 1040px; }
  .plan-grid { overflow-x: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .top-nav,
  .product-nav { display: none; }
  .topbar-inner,
  .product-bar-inner,
  .page { width: min(100% - 1rem, 100%); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { padding-left: 1rem; padding-right: 1rem; }
  .hero h1 { font-size: 2.5rem; }
  .floating-demo { right: 84px; }
}
