/* Zoho One ("/zoho") — measurements from the Framer desktop layout at 1440px. */

.zc-one { background: #050505; }

/* ---------- Hero: app icons travelling along a spiral ---------- */
.zc-hero { position: relative; padding-top: 84px; background: #050505; color: #fff; }
.zc-hero-stage { position: relative; height: 100vh; min-height: 620px; display: flex; align-items: center; justify-content: center; overflow: hidden; }

/* The spiral is drawn for a 2030×1185 box (Framer: 141% × 131.62vh at 1440×900) and
   centred where Framer centres it (49.8% across, 47.6% down). */
.zc-orbit { position: absolute; z-index: 0; width: 2030px; height: 1185px; left: calc(49.83% - 1015px); top: calc(47.61% - 592px); pointer-events: none;
  -webkit-mask: radial-gradient(43% 54% at 46.5% 45.2%, #0000 10.1967%, #00000017 35%, #000000d6 70%, #0000 100%);
  mask: radial-gradient(43% 54% at 46.5% 45.2%, #0000 10.1967%, #00000017 35%, #000000d6 70%, #0000 100%); }
.zc-orbit-item { position: absolute; top: 0; left: 0; width: 56px; height: 69px;
  offset-path: path("M 1662.17 533.84 C 1652.24 719.605 1569.81 890.871 1434.79 1011.82 C 1305.57 1127.58 1134.29 1190.62 956.813 1180.42 C 791.265 1170.9 633.073 1097.38 520.394 970.259 C 415.461 851.872 358.791 695.452 369.015 533.84 C 378.581 382.642 446.732 239.819 561.959 138.986 C 669.584 44.8052 811.154 -5.42349 956.813 4.82206 C 1091.83 14.3188 1219.95 75.8873 1310.1 180.55 C 1393.33 277.182 1437.34 403.848 1427.05 533.84 C 1417.54 653.934 1361.72 766.902 1268.54 845.568 C 1182.57 918.145 1070.71 955.611 956.813 945.298 C 852.288 935.835 754.222 886.185 686.649 804.004 C 624.74 728.712 593.796 631.65 604.134 533.84 C 613.565 444.624 657.219 361.552 728.214 305.241 C 792.747 254.056 874.98 229.556 956.813 239.941 C 1030.96 249.351 1098.96 287.167 1143.85 346.803 C 1184.72 401.099 1202.28 468.628 1191.93 533.84 C 1182.41 593.828 1149.87 646.342 1102.29 679.313 C 1058.81 709.432 1006.11 720.621 956.813 710.179 C 912.194 700.73 874.603 674.242 852.904 637.749 C 833.458 605.044 828.668 567.142 839.253 533.84 C 848.707 504.098 869.431 481.625 894.466 471.494 C 916.779 462.467 940.013 464.379 956.813 475.06 C 971.9 484.656 979.184 499.764 977.595 513.058");
  offset-rotate: auto; offset-distance: 50%;
  animation: zc-orbit 100s linear infinite; animation-delay: var(--delay, 0s); }
@keyframes zc-orbit {
  0%   { offset-distance: 100%; opacity: 0; }
  10%  { offset-distance: 90%;  opacity: 1; }
  90%  { offset-distance: 10%;  opacity: 1; }
  100% { offset-distance: 0%;   opacity: 0; }
}
.zc-tile { position: absolute; top: 0; left: 0; width: 73px; height: 69px; border-radius: 18px; overflow: hidden; }
.zc-tile::after { content: ""; position: absolute; inset: 0; border: 3px solid var(--tile, #e42527); border-radius: inherit; pointer-events: none; }
.zc-tile img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.zc-tile--red   { --tile: #e42527; }
.zc-tile--green { --tile: #089949; }
.zc-tile--blue  { --tile: #226db4; }
.zc-tile--amber { --tile: #f9b21d; }
@media (prefers-reduced-motion: reduce) {
  .zc-orbit-item { animation-duration: 100s !important; animation-play-state: paused !important; }
}

.zc-hero-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; padding: 0 10px 44px; text-align: center; }
.zc-hero-copy h1 { font-family: var(--font-gilroy); font-weight: 900; font-size: 80px; line-height: 96px; color: #fff; white-space: nowrap; }
.zc-hero-btn { margin-top: 26px; min-height: 54px; padding: 17px 24px; font-size: 18px; line-height: 20px; }
.zc-scroll-cue { display: flex; align-items: center; justify-content: center; width: 40px; height: 48px; margin-top: 31px; padding: 12px 8px; border-radius: 24px; background: #ff5700; color: #000; }
.zc-scroll-cue svg { width: 24px; height: 24px; }

/* ---------- Focus areas (tabs) ---------- */
.zc-focus-section { display: flex; justify-content: center; padding: 150px 0 100px; }
.zc-focus { width: 80%; padding: 26px; background: #000; color: #fff; font-family: var(--font-inter); }
.zc-focus h2 { font-family: var(--font-inter); font-weight: 700; font-size: 38px; line-height: 46px; margin-bottom: 24px; }
.zc-tabs { display: flex; flex-wrap: wrap; gap: 12px; padding: 8px 12px; border: 1px solid #666; border-radius: 8px; }
.zc-tabs [role="tab"] { min-width: 120px; padding: 12px 24px; border-radius: 8px; font-family: Helvetica, Arial, sans-serif; font-weight: 600; font-size: 16px; line-height: 18px; color: #fff; white-space: nowrap; text-align: center; transition: background-color .3s ease; }
.zc-tabs [role="tab"]:hover { background: rgba(255,255,255,.08); }
.zc-tabs [role="tab"][aria-selected="true"] { background: #0460ec; }
.zc-recs { margin-top: 40px; min-height: 300px; }
.zc-recs h3 { font-family: var(--font-inter); font-weight: 700; font-size: 20px; line-height: 24px; margin-bottom: 20px; }
.zc-apps { display: grid; grid-template-columns: repeat(auto-fill, 160px); gap: 20px; min-height: 250px; align-content: start; }
.zc-apps a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; height: 100%; padding: 16px; border-radius: 8px; background: #2a2a2a; color: #fff; font-family: var(--font-inter); font-weight: 400; font-size: 12px; line-height: 24px; text-align: center; transition: background-color .3s ease; }
.zc-apps a:hover { background: #363636; }
/* Product icons come from Zoho's public icon sprite, exactly as on the live page. */
.zc-app-ico { flex: none; width: 40px; height: 40px; border-radius: 6px; background: url("https://www.zohowebstatic.com/sites/zweb/images/commonroot/product-icons.svg") no-repeat; background-size: 800px auto; }
.zc-app-ico--crm { background-position: -320px 0; }
.zc-app-ico--bigin { background-position: -440px -80px; }
.zc-app-ico--bookings { background-position: -320px -80px; }
.zc-app-ico--salesiq { background-position: -360px 0; }
.zc-app-ico--campaigns { background-position: -440px 0; }
.zc-app-ico--social { background-position: -480px 0; }
.zc-app-ico--survey { background-position: -160px -160px; }
.zc-app-ico--forms { background-position: -560px 0; }
.zc-app-ico--pagesense { background-position: -240px -160px; }
.zc-app-ico--backstage { background-position: -520px 0; }
.zc-app-ico--marketing-automation { background-position: -360px -80px; }
.zc-app-ico--thrive { background-position: -280px -160px; }
.zc-app-ico--landingpage { background-position: -320px -120px; }
.zc-app-ico--books { background-position: 0 -40px; }
.zc-app-ico--invoice { background-position: -120px -80px; }
.zc-app-ico--billing { background-position: -120px -40px; }
.zc-app-ico--expense { background-position: -160px -40px; }
.zc-app-ico--inventory { background-position: -40px -40px; }
.zc-app-ico--checkout { background-position: -200px -40px; }
.zc-app-ico--payroll { background-position: -240px -80px; }
.zc-app-ico--commerce { background-position: -280px -80px; }
.zc-app-ico--people { background-position: -280px -40px; }
.zc-app-ico--recruit { background-position: -240px -40px; }
.zc-app-ico--desk { background-position: -680px 0; }
.zc-app-ico--assist { background-position: -720px 0; }
.zc-app-ico--lens { background-position: -480px -80px; }
.zc-app-ico--mail { background-position: -360px -40px; }
.zc-app-ico--cliq { background-position: -640px -40px; }
.zc-app-ico--connect { background-position: -120px -160px; }
.zc-app-ico--calendar { background-position: -200px -120px; }
.zc-app-ico--learn { background-position: 0 -120px; }
.zc-app-ico--teaminbox { background-position: -720px -80px; }
.zc-app-ico--workdrive { background-position: 0 -80px; }
.zc-app-ico--writer { background-position: -40px -80px; }
.zc-app-ico--sheet { background-position: -560px -80px; }
.zc-app-ico--show { background-position: -400px -40px; }
.zc-app-ico--sign { background-position: -640px 0; }
.zc-app-ico--vault { background-position: -680px -40px; }
.zc-app-ico--meeting { background-position: -760px 0; }
.zc-app-ico--notebook { background-position: -480px -40px; }
.zc-app-ico--creator { background-position: -720px -40px; }
.zc-app-ico--analytics { background-position: -160px -80px; }
.zc-app-ico--dataprep { background-position: -120px -120px; }
.zc-app-ico--flow { background-position: -760px -40px; }
.zc-app-ico--rpa { background-position: -320px -200px; }
.zc-app-ico--contracts { background-position: -600px -80px; }

/* ---------- Tablet + phone (Framer reference: 900px and 390px) ---------- */
@media (max-width: 1199px) {
  .zc-hero { padding-top: 50px; }
  /* Framer redraws the spiral for a smaller box below 1200px (140% wide × 1142px tall). */
  /* the fade mask follows Framer's 140vw-wide box, centred on the same point */
  .zc-orbit { width: 1260px; height: 1142px; left: calc(49.93% - 630px); top: calc(52.22% - 571px);
    -webkit-mask-size: 140vw 100%; mask-size: 140vw 100%; -webkit-mask-position: center; mask-position: center; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
  .zc-orbit-item { offset-path: path("M 1253.69 514.469 C 1244.12 693.493 1164.68 858.544 1034.56 975.105 C 910.028 1086.66 744.966 1147.42 573.924 1137.58 C 414.384 1128.41 261.932 1057.56 153.342 935.051 C 52.2162 820.96 -2.39725 670.216 7.45612 514.469 C 16.6748 368.757 82.3525 231.117 193.398 133.942 C 297.118 43.1794 433.551 -5.22669 573.924 4.64708 C 704.04 13.7992 827.516 73.1335 914.394 173.998 C 994.606 267.124 1037.02 389.193 1027.1 514.469 C 1017.94 630.205 964.141 739.073 874.34 814.885 C 791.487 884.828 683.69 920.935 573.924 910.997 C 473.193 901.876 378.685 854.028 313.564 774.829 C 253.901 702.269 224.08 608.729 234.043 514.469 C 243.132 428.49 285.202 348.432 353.62 294.165 C 415.812 244.837 495.06 221.226 573.924 231.235 C 645.378 240.303 710.91 276.747 754.174 334.219 C 793.56 386.544 810.488 451.622 800.511 514.469 C 791.335 572.28 759.98 622.888 714.118 654.663 C 672.222 683.689 621.435 694.472 573.924 684.409 C 530.925 675.303 494.698 649.775 473.786 614.607 C 455.045 583.088 450.43 546.563 460.631 514.469 C 469.742 485.805 489.713 464.148 513.84 454.385 C 535.343 445.686 557.734 447.528 573.924 457.822 C 588.464 467.069 595.484 481.629 593.952 494.441"); }
  .zc-hero-copy h1 { font-size: 64px; line-height: 76.8px; }
  .zc-hero-btn { margin-top: 36px; }
  .zc-scroll-cue { margin-top: 21px; }
  .zc-focus-section { padding: 100px 0; }
  .zc-tabs [role="tab"] { font-family: sans-serif; }
}

/* ---------- Phone ---------- */
@media (max-width: 809px) {
  .zc-hero-stage { min-height: 560px; }
  /* Phone spiral: 800 × 1056px box, 36 tiles (3 per icon) evenly spaced along it. */
  .zc-orbit { width: 800px; height: 1056px; left: calc(54.17% - 400px); top: calc(49.88% - 528px); opacity: .76; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; }
  .zc-orbit-item { offset-path: path("M 797.476 491.973 C 791.378 606.065 740.752 711.252 657.827 785.536 C 578.462 856.631 473.268 895.35 364.263 889.084 C 262.588 883.24 165.43 838.085 96.2254 760.01 C 31.7778 687.3 -3.02745 591.23 3.25212 491.973 C 9.12721 399.11 50.9837 311.392 121.753 249.463 C 187.854 191.619 274.803 160.77 364.263 167.063 C 447.186 172.895 525.877 210.709 581.245 274.99 C 632.364 334.339 659.393 412.134 653.071 491.973 C 647.232 565.731 612.949 635.113 555.718 683.428 C 502.916 728.003 434.217 751.014 364.263 744.68 C 300.066 738.868 239.837 708.374 198.335 657.9 C 160.312 611.658 141.307 552.045 147.656 491.973 C 153.448 437.178 180.26 386.157 223.863 351.573 C 263.497 320.136 314.003 305.089 364.263 311.467 C 409.801 317.246 451.564 340.472 479.136 377.099 C 504.237 410.446 515.025 451.921 508.667 491.973 C 502.819 528.816 482.836 561.069 453.609 581.318 C 426.908 599.817 394.542 606.689 364.263 600.276 C 336.859 594.472 313.772 578.204 300.445 555.791 C 288.501 535.704 285.56 512.426 292.061 491.973 C 297.867 473.705 310.595 459.903 325.971 453.681 C 339.675 448.137 353.945 449.311 364.263 455.871 C 373.529 461.765 378.003 471.044 377.027 479.209"); }
  .zc-orbit-item:nth-child(4n) { display: none; }
  .zc-orbit-item:nth-child(1) { animation-delay: -3.93s; } .zc-orbit-item:nth-child(2) { animation-delay: -37.26s; } .zc-orbit-item:nth-child(3) { animation-delay: -70.60s; }
  .zc-orbit-item:nth-child(5) { animation-delay: -1.15s; } .zc-orbit-item:nth-child(6) { animation-delay: -34.49s; } .zc-orbit-item:nth-child(7) { animation-delay: -67.82s; }
  .zc-orbit-item:nth-child(9) { animation-delay: -98.37s; } .zc-orbit-item:nth-child(10) { animation-delay: -31.71s; } .zc-orbit-item:nth-child(11) { animation-delay: -65.04s; }
  .zc-orbit-item:nth-child(13) { animation-delay: -95.60s; } .zc-orbit-item:nth-child(14) { animation-delay: -28.93s; } .zc-orbit-item:nth-child(15) { animation-delay: -62.26s; }
  .zc-orbit-item:nth-child(17) { animation-delay: -92.82s; } .zc-orbit-item:nth-child(18) { animation-delay: -26.15s; } .zc-orbit-item:nth-child(19) { animation-delay: -59.49s; }
  .zc-orbit-item:nth-child(21) { animation-delay: -90.04s; } .zc-orbit-item:nth-child(22) { animation-delay: -23.37s; } .zc-orbit-item:nth-child(23) { animation-delay: -56.71s; }
  .zc-orbit-item:nth-child(25) { animation-delay: -87.26s; } .zc-orbit-item:nth-child(26) { animation-delay: -20.60s; } .zc-orbit-item:nth-child(27) { animation-delay: -53.93s; }
  .zc-orbit-item:nth-child(29) { animation-delay: -84.49s; } .zc-orbit-item:nth-child(30) { animation-delay: -17.82s; } .zc-orbit-item:nth-child(31) { animation-delay: -51.15s; }
  .zc-orbit-item:nth-child(33) { animation-delay: -81.71s; } .zc-orbit-item:nth-child(34) { animation-delay: -15.04s; } .zc-orbit-item:nth-child(35) { animation-delay: -48.37s; }
  .zc-orbit-item:nth-child(37) { animation-delay: -78.93s; } .zc-orbit-item:nth-child(38) { animation-delay: -12.26s; } .zc-orbit-item:nth-child(39) { animation-delay: -45.60s; }
  .zc-orbit-item:nth-child(41) { animation-delay: -76.15s; } .zc-orbit-item:nth-child(42) { animation-delay: -9.49s; } .zc-orbit-item:nth-child(43) { animation-delay: -42.82s; }
  .zc-orbit-item:nth-child(45) { animation-delay: -73.37s; } .zc-orbit-item:nth-child(46) { animation-delay: -6.71s; } .zc-orbit-item:nth-child(47) { animation-delay: -40.04s; }
  /* The heading sits centred; the button hangs below it and the scroll cue is not shown. */
  .zc-hero-copy { padding-top: 98px; }
  .zc-hero-copy h1 { font-size: 38px; line-height: 45.6px; white-space: normal; }
  .zc-hero-btn { margin-top: 52px; min-height: 46px; padding: 13px 16px; font-size: 15px; }
  .zc-scroll-cue { display: none; }

  /* Focus areas become an accordion: each tab is a full-width bar and the open panel sits
     right under its own tab (visual order only; the DOM stays tablist + tabpanels). */
  .zc-focus { display: flex; flex-direction: column; gap: 16px; width: 100%; padding: 16px; }
  .zc-focus h2 { font-size: 24px; line-height: normal; margin-bottom: 8px; }
  .zc-tabs, .zc-recs { display: contents; }
  .zc-recs h3 { display: none; }
  .zc-tabs [role="tab"] { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-width: 0; min-height: 52px; padding: 16px 20px; border-radius: 12px; background: #f6f6f6; color: #000; text-align: left; }
  .zc-tabs [role="tab"]::after { content: ""; flex: none; width: 20px; height: 20px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M112 184l144 144 144-144'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M112 184l144 144 144-144'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .4s ease; }
  .zc-tabs [role="tab"]:hover { background: #e8e8e8; }
  .zc-tabs [role="tab"][aria-selected="true"] { background: #0460ec; color: #fff; }
  .zc-tabs [role="tab"][aria-selected="true"]::after { transform: rotate(180deg); }
  #zc-tab-sales { order: 1; } #zc-panel-sales { order: 2; }
  #zc-tab-marketing { order: 3; } #zc-panel-marketing { order: 4; }
  #zc-tab-finance { order: 5; } #zc-panel-finance { order: 6; }
  #zc-tab-human-resources { order: 7; } #zc-panel-human-resources { order: 8; }
  #zc-tab-customer-support { order: 9; } #zc-panel-customer-support { order: 10; }
  #zc-tab-productivity { order: 11; } #zc-panel-productivity { order: 12; }
  #zc-tab-business-process { order: 13; } #zc-panel-business-process { order: 14; }
  #zc-tab-legal { order: 15; } #zc-panel-legal { order: 16; }
  .zc-panel { margin-top: -16px; padding: 16px; }
  .zc-apps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; min-height: 0; }
  .zc-apps a { padding: 12px; font-size: 13px; line-height: 16.9px; }
}
