﻿:root {
  --text: #111;
  --muted: #666;
  --line: #ece7e1;
  --bg: #fff;
  --soft: #f7f5f1;
  --cream: #f7f1ea;
  --rose: #fff5ef;
  --red: #ef4324;
  --orange: #ef7a2d;
  --yellow: #ffc83d;
  --green: #27a844;
  --shadow: 0 18px 40px rgba(0,0,0,.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }

.topbar, .product-bar {
  position: sticky;
  z-index: 40;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
}
.topbar { top: 0; border-bottom: 1px solid rgba(0,0,0,.05); }
.product-bar { top: 68px; border-bottom: 1px solid #efe8e2; }
.topbar-inner, .product-bar-inner, .layout {
  width: min(1440px, calc(100% - 2rem));
  margin: 0 auto;
}
.topbar-inner, .product-bar-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.topbar-inner { min-height: 68px; }
.product-bar-inner { min-height: 74px; }

.zoho-mark { display: inline-flex; align-items: center; gap: .15rem; white-space: nowrap; }
.zoho-box {
  width: 26px; height: 24px; border: 4px solid currentColor; border-radius: 7px;
  transform: rotate(8deg); display: inline-block; 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: .45rem; font-size: .72rem; letter-spacing: .42em; font-weight: 700; }

.top-nav, .product-nav, .top-actions, .footer-grid, .footer-tools, .social-row {
  display: flex;
  align-items: center;
}
.top-nav {
  gap: 1.2rem; flex: 1; margin-left: 1rem; font-size: .98rem; flex-wrap: wrap;
}
.top-nav a { color: #1b1b1b; }
.top-actions { gap: 1rem; font-size: .98rem; }
.signin-link { color: var(--red); font-weight: 600; }
.signup-link {
  padding: .8rem 1rem; background: var(--red); color: #fff; font-weight: 700; border-radius: 2px;
}
.inline-icon, .inline-caret { display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
.inline-icon { font-size: 1.08rem; width: 1.15rem; color: #282828; }
.inline-caret { font-size: .82rem; margin-left: .1rem; }

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

.layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 0;
  align-items: start;
}
.sidebar {
  position: sticky;
  top: 142px;
  align-self: start;
  min-height: calc(100vh - 142px);
  padding: 1.3rem 1rem 1rem 0;
  border-right: 1px solid #f0e8e2;
}
.sidebar-title {
  padding: .8rem 1rem 1rem 1.2rem;
  font-size: 1.05rem;
  color: #7c7c7c;
}
.sidebar-nav { display: grid; gap: .15rem; }
.sidebar-nav a {
  display: flex; align-items: center; gap: .75rem;
  padding: .8rem 1rem .8rem 1.2rem;
  border-radius: 10px;
  color: #4d5a57;
  transition: background .15s ease, color .15s ease;
}
.sidebar-nav a i { width: 1rem; color: #a7a7a7; }
.sidebar-nav a.active {
  background: linear-gradient(90deg, #ffe6dd 0%, rgba(255,230,221,.5) 60%, transparent 100%);
  color: #335e58;
  font-weight: 700;
}
.sidebar-nav a.active i { color: var(--red); }

.content { min-width: 0; padding: 0 0 5rem; }
.hero-panel,
.feature-section,
.footer-hero,
.footer-grid,
.footer-tools {
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
}
.hero-panel {
  background: var(--cream);
  border-radius: 22px;
  margin-top: 2rem;
  padding: 3.2rem 3.2rem 3.2rem 3.6rem;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 2rem;
  align-items: center;
  min-height: 380px;
}
.hero-copy { max-width: 620px; }
.eyebrow {
  margin: 0 0 .75rem;
  font-size: .88rem;
  color: var(--red);
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.eyebrow.light { color: #f6b5b5; }
.hero-copy h1,
.section-title h2,
.footer-hero h2 {
  margin: 0;
  font-family: Manrope, Inter, sans-serif;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: .97;
}
.hero-copy h1 { font-size: clamp(3rem, 5vw, 4.9rem); max-width: 540px; }
.cta-button {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 1.7rem; min-width: 168px; min-height: 48px;
  padding: 0 1.2rem; background: var(--red); color: #fff; border-radius: 3px;
  font-weight: 700; box-shadow: 0 10px 24px rgba(239,67,36,.15);
}
.hero-art {
  position: relative;
  min-height: 300px;
  background: radial-gradient(circle at center, rgba(255,255,255,.16), transparent 55%);
}
.hero-shape { position: absolute; display: block; }
.hero-shape.cal {
  width: 88px; height: 88px; right: 190px; top: 4px; border-radius: 20px; border: 4px solid #111;
  transform: rotate(9deg);
}
.hero-shape.doc {
  width: 134px; height: 164px; right: 92px; top: 72px; border: 4px solid #111; border-radius: 10px; transform: rotate(-8deg);
}
.hero-shape.search {
  width: 64px; height: 64px; right: 28px; top: 34px; border: 8px solid #111; border-radius: 50%;
}
.hero-shape.chip {
  width: 74px; height: 30px; right: 48px; bottom: 44px; background: #111; border-radius: 999px;
}
.hero-shape.hand {
  width: 120px; height: 78px; left: 108px; bottom: 20px; border-left: 4px solid #111; border-bottom: 4px solid #111; border-bottom-left-radius: 58px;
}
.hero-shape.badge {
  width: 78px; height: 58px; right: 0; bottom: 8px; border: 4px solid #111; border-radius: 18px; transform: rotate(10deg);
}
.hero-shape::before, .hero-shape::after { content: ""; position: absolute; display: block; }
.hero-shape.cal::before { inset: 14px 16px auto; height: 4px; background: #111; box-shadow: 0 18px 0 #111; }
.hero-shape.doc::before { inset: 18px 16px auto; height: 4px; background: #111; box-shadow: 0 24px 0 #111; }
.hero-shape.search::before { width: 26px; height: 8px; background: #111; right: -14px; bottom: -2px; transform: rotate(38deg); border-radius: 999px; }
.hero-shape.hand::before { width: 46px; height: 46px; right: -16px; top: -18px; border: 4px solid #111; border-radius: 50%; background: #f7f1ea; }
.hero-shape.badge::before { width: 20px; height: 20px; left: 10px; top: 12px; background: #111; border-radius: 50%; }

.feature-section {
  padding: 3rem 0 3.8rem;
  border-bottom: 1px solid #eee7e1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 2rem;
  align-items: start;
}
.section-head { margin-bottom: 1.5rem; }
.feature-section .section-head { grid-column: 1; }
.feature-section .mock-panel {
  grid-column: 2;
  grid-row: 1;
  margin-top: 0;
  width: 100%;
}
.feature-section .card-grid,
.feature-section .bullet-layout {
  grid-column: 1 / -1;
  grid-row: 2;
}
.feature-section--reverse {
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
}
.feature-section--reverse .section-head { grid-column: 2; }
.feature-section--reverse .mock-panel,
.feature-section--reverse .bullet-layout {
  grid-column: 1;
}
.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) .95fr;
  gap: 2rem;
  align-items: start;
}
.section-title h2 { font-size: clamp(2.55rem, 4vw, 4.1rem); max-width: 660px; }
.section-copy p { margin: 0; font-size: 1.08rem; line-height: 1.6; color: #222; max-width: 420px; }
.section-copy a { display: inline-flex; margin-top: 1rem; color: var(--red); font-weight: 700; }
.arrow { margin-left: .3rem; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.2rem 2.4rem;
  margin-top: 2rem;
}
.feature-card { padding-top: 1rem; border-top: 1px solid #f1ebe6; min-height: 150px; }
.feature-card h3 {
  margin: 0 0 .8rem; font-size: 1.35rem; line-height: 1.15; font-family: Manrope, Inter, sans-serif; letter-spacing: -0.04em;
}
.feature-card p { margin: 0; color: #222; line-height: 1.6; font-size: 1.03rem; }

.mock-panel {
  background: linear-gradient(180deg, #f6f4ef 0%, #f7f3ee 100%);
  border-radius: 22px;
  min-height: 280px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}
.mock-panel::before {
  content: ""; position: absolute; inset: 0; background: radial-gradient(circle at top left, rgba(255,255,255,.6), transparent 38%), radial-gradient(circle at bottom right, rgba(255,255,255,.35), transparent 35%);
}
.mock-panel > * { position: relative; z-index: 1; }
.mock-panel .mock-card,
.mock-panel .mock-sheet,
.mock-panel .mock-profile,
.mock-panel .benefit-board,
.mock-panel .portal-card,
.mock-panel .phone-card {
  background: #fff; border-radius: 18px; box-shadow: var(--shadow);
}
.mock-panel { display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: flex-start; }

.mock-sheet, .mock-profile, .mock-card { padding: 1rem; border: 1px solid rgba(0,0,0,.04); }
.mock-sheet { width: 58%; min-height: 220px; }
.mock-profile { width: 38%; min-height: 240px; margin-left: auto; margin-top: -5rem; }
.sheet-head { display: flex; align-items: center; gap: .6rem; font-size: .95rem; font-weight: 700; }
.sheet-head span { width: 14px; height: 14px; border-radius: 50%; background: var(--red); }
.sheet-head i, .sheet-head button { margin-left: auto; }
.sheet-head button {
  background: #111; color: #fff; border: 0; border-radius: 999px; padding: .4rem .75rem; font-size: .7rem; font-weight: 700;
}
.sheet-list { display: grid; gap: .9rem; margin-top: 1.2rem; }
.sheet-list span { display: block; height: 14px; border-radius: 999px; background: linear-gradient(90deg, #f2e9e2, #e8e1db); }
.sheet-list span:nth-child(2n) { width: 72%; }
.sheet-list span:nth-child(3n) { width: 88%; }
.profile-head, .profile-step, .profile-form, .bar-grid, .side-lines, .stack-list, .form-stubs, .report-head, .report-lines, .mini-table, .log-lines, .security-gauge, .email-sheet, .code-sheet, .webhook-sheet {
  background: linear-gradient(180deg, #faf7f4, #f0ece8);
  border-radius: 14px;
}
.profile-head { height: 120px; background: linear-gradient(90deg, #fff5f0 0%, #fff 100%); }
.profile-step { height: 68px; margin-top: 1rem; }
.profile-form { height: 84px; margin-top: 1rem; }

.mock-panel > .mock-card { display: flex; flex-direction: column; flex: 1 1 260px; }
.mock-card.dark { background: #111; color: #fff; }
.mock-card.dark .card-head { color: #fff; }
.mock-card.tall { width: 48%; min-height: 250px; }
.mock-card.small { width: 27%; min-height: 208px; }
.mock-card.wide { width: 68%; min-height: 230px; }
.mock-card.narrow { width: 30%; min-height: 230px; }
.mock-card.side { width: 34%; min-height: 210px; margin-left: auto; margin-top: -5.6rem; }
.card-head { font-weight: 800; margin-bottom: .95rem; color: #111; }
.card-head.red { color: #b21e22; }
.card-head.orange { color: #d87335; }
.card-head.yellow { color: #b27b00; }
.card-head.coral { color: #df4c2e; }
.card-head.soft { color: #666; }
.card-head.dark { color: #fff; }
.mini-table, .bar-grid, .side-lines, .stack-list, .form-stubs, .report-head, .report-lines, .log-lines, .email-sheet, .code-sheet, .webhook-sheet { position: relative; overflow: hidden; }
.mini-table { height: 150px; }
.mini-table::before, .bar-grid::before, .side-lines::before, .stack-list::before, .form-stubs::before, .report-head::before, .report-lines::before, .log-lines::before, .email-sheet::before, .code-sheet::before, .webhook-sheet::before {
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 0, transparent 23%, rgba(0,0,0,.07) 24%, transparent 25%), linear-gradient(90deg, transparent 0, transparent 18%, rgba(0,0,0,.06) 19%, transparent 20%);
  opacity: .9;
}
.mini-table.dark { background: linear-gradient(180deg, #111 0, #222 100%); }
.mini-table.dark::before { opacity: .25; }
.mini-table.amber { background: linear-gradient(180deg, #ffcb44 0, #ffbf22 100%); }
.bar-grid { height: 160px; background: linear-gradient(180deg, #fff 0, #fff 55%, #f7f0ea 100%); }
.bar-grid::after { content: ""; position: absolute; left: 1rem; right: 1rem; bottom: 1rem; height: 78px; background: linear-gradient(90deg, #f1c2ab 0 18%, #f5efe9 18% 100%); border-radius: 12px; }
.side-lines { height: 130px; }
.stack-list { height: 172px; }
.stack-list::after { content: ""; position: absolute; left: 1rem; right: 1rem; top: 1rem; bottom: 1rem; background: linear-gradient(180deg, #fff, #faf6f2); border-radius: 12px; box-shadow: inset 0 -38px 0 #f1ddd0; }
.form-stubs { height: 140px; }
.form-stubs::after { content: ""; position: absolute; inset: 1rem; border-radius: 14px; background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.9)); box-shadow: inset 0 0 0 1px rgba(0,0,0,.04); }
.benefit-board { width: 100%; min-height: 250px; padding: 1rem; background: #fff; }
.benefit-head { height: 58px; border-radius: 14px; background: #ffca42; display: flex; align-items: center; padding: 0 1rem; font-weight: 800; }
.benefit-tabs { display: flex; gap: .75rem; margin: 1rem 0; }
.benefit-tabs::before, .benefit-tabs::after { content: ""; width: 72px; height: 12px; border-radius: 999px; background: #f1ede8; }
.benefit-tabs::after { width: 120px; }
.benefit-table { min-height: 120px; border-radius: 14px; background: linear-gradient(180deg, #fff, #fbf8f4); box-shadow: inset 0 0 0 1px rgba(0,0,0,.05); }
.phone-stub { height: 130px; border-radius: 18px; background: linear-gradient(180deg, #1d224c, #0f1230); margin-top: .5rem; }
.phone-stub.large { height: 250px; width: 70%; margin: 1rem auto 0; }
.portal { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: center; }
.portal-card { padding: 1rem; min-height: 170px; }
.portal-head { height: 52px; border-radius: 14px; background: linear-gradient(90deg, #ee3c1b, #f04d27); }
.portal-stub { height: 100px; margin-top: 1rem; border-radius: 14px; background: linear-gradient(180deg, #fff, #f7f0e4); }
.phone-card { padding: 1rem; min-height: 280px; background: #dfe2da; }
.report-head { height: 56px; background: #c02828; }
.report-lines { height: 138px; margin-top: 1rem; }
.ecosystem { min-height: 260px; width: 100%; border-radius: 22px; background: #ffc53d; position: relative; }
.ecosystem::before, .ecosystem::after { content: "Zoho Apps"; position: absolute; left: 2.2rem; top: 50%; transform: translateY(-50%); font-weight: 800; }
.ecosystem::after { content: "WhatsApp"; top: auto; bottom: 2rem; }
.ecosystem::before { left: 50%; top: 26%; content: "Zoho Books  Zoho People  Zoho Analytics"; transform: translateX(-50%); white-space: nowrap; }
.log-lines { height: 160px; }
.security-gauge { height: 120px; background: linear-gradient(180deg, #faf6f1, #f2ece7); border-radius: 50%; width: 120px; margin: 1rem auto 0; }
.email-sheet { height: 145px; }
.code-sheet { height: 160px; }
.webhook-sheet { height: 210px; }
.flow { display: grid; grid-template-columns: 1.1fr .95fr .2fr; gap: 1rem; align-items: center; }
.flow-node { border-radius: 999px; min-height: 76px; display: flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; background: #252525; }
.flow-node.source { background: #ffc53d; color: #111; }
.flow-node.target { background: #ef2b26; }
.flow-stack { display: grid; gap: .6rem; }
.flow-stack span { height: 42px; border-radius: 999px; background: #242424; color: #fff; display: flex; align-items: center; justify-content: center; font-size: .92rem; }

.bullet-layout { max-width: 760px; }
.bullet-list { display: grid; gap: 1.2rem; max-width: 560px; }
.bullet-item { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start; }
.bullet-dot { width: 20px; height: 20px; border-radius: 50%; background: #cf2f23; color: #fff; font-size: .85rem; display: inline-flex; align-items: center; justify-content: center; margin-top: .2rem; }
.bullet-item p { margin: 0; font-size: 1.08rem; line-height: 1.55; }

.footer-hero {
  background: #0a0a0a;
  color: #fff;
  border-radius: 28px 28px 0 0;
  padding: 4rem 2.5rem 3rem;
  margin-top: 2rem;
}
.footer-hero h2 { font-size: clamp(2.4rem, 4vw, 4rem); max-width: 700px; line-height: .95; }
.footer-grid, .footer-tools {
  background: #0a0a0a;
  color: #d6d6d6;
  gap: 2rem;
  padding: 0 2.5rem 1.2rem;
}
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.footer-tools { display: grid; grid-template-columns: 1fr 1fr; padding-bottom: 2.2rem; }
.footer-grid h3, .footer-tools h3 { margin: 0 0 .75rem; color: #a7a7a7; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; }
.footer-grid a, .footer-tools a { display: block; color: #d6d6d6; margin: .46rem 0; }
.social-row { gap: .5rem; margin-top: .4rem; }
.social-row span {
  width: 34px; height: 34px; border: 1px solid #333; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; color: #f2f2f2;
}

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

@media (max-width: 1180px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; min-height: 0; border-right: 0; border-bottom: 1px solid #f0e8e2; padding-right: 0; }
  .sidebar-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .35rem; }
  .content { padding-top: .25rem; }
  .hero-panel, .section-grid { grid-template-columns: 1fr; }
  .feature-section,
  .feature-section--reverse {
    grid-template-columns: 1fr;
  }
  .feature-section .section-head,
  .feature-section .mock-panel,
  .feature-section .card-grid,
  .feature-section .bullet-layout,
  .feature-section--reverse .section-head,
  .feature-section--reverse .mock-panel,
  .feature-section--reverse .bullet-layout {
    grid-column: 1;
    grid-row: auto;
  }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-tools { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .top-nav, .product-nav { display: none; }
  .product-bar { top: 68px; }
  .topbar-inner, .product-bar-inner, .topbar-inner, .layout { width: min(100% - 1rem, 100%); }
  .hero-panel { padding: 2rem; }
  .hero-art { min-height: 220px; }
  .card-grid { grid-template-columns: 1fr; }
  .sidebar-nav { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-hero, .footer-grid, .footer-tools { padding-left: 1rem; padding-right: 1rem; }
  .floating-demo { right: 82px; }
}
