/* ============================================
   Plantão Top — Landing Page Styles
   Design: Clean, Modern, Premium, Trustworthy
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: light;
  --ink: #152129;
  --ink-soft: #4b5d66;
  --canvas: #f5f8f7;
  --surface: #ffffff;
  --line: #d9e2df;
  --green: #0f766e;
  --green-strong: #0a5c56;
  --green-soft: #dff3ed;
  --orange: #f59e42;
  --orange-soft: #fff0df;
  --blue: #2878a5;
  --blue-soft: #e4f2f9;
  --violet: #7257a8;
  --violet-soft: #eee9f8;
  --red: #b94c5d;
  --red-soft: #fae9ec;
  --hero: #0f1d24;
  --max-width: 1180px;
  --radius: 8px;
  --gradient-premium: linear-gradient(135deg, #0f766e 0%, #2878a5 100%);
}

/* ============================================
   Keyframe Animations
   ============================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(53, 185, 149, 0.4); }
  50% { box-shadow: 0 0 20px 4px rgba(53, 185, 149, 0.2); }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ============================================
   Base Reset & Global
   ============================================ */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid #fbbf73;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(var(--max-width), calc(100% - 48px));
  margin-inline: auto;
}

/* ============================================
   Topbar / Navigation (Glassmorphism on scroll)
   ============================================ */

.hero {
  position: relative;
  min-height: 780px;
  overflow: hidden;
  background-color: var(--hero);
  background-image:
    radial-gradient(circle at 78% 36%, rgb(53 185 149 / 16%), transparent 31%),
    radial-gradient(circle at 24% 78%, rgb(40 120 165 / 13%), transparent 36%),
    linear-gradient(135deg, #0c1920 0%, #122731 54%, #0c1920 100%);
  color: #ffffff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background-image:
    linear-gradient(rgb(255 255 255 / 4%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 78%, transparent);
}

.topbar,
.hero-content,
.hero-next,
.mobile-navigation {
  position: relative;
  z-index: 1;
}

.topbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgb(255 255 255 / 12%);
  transition: background-color 300ms ease, backdrop-filter 300ms ease;
}

.topbar.is-scrolled {
  background: rgb(15 29 36 / 72%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgb(255 255 255 / 8%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand img {
  border-radius: 8px;
}

.brand strong {
  color: #8ee4cc;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.desktop-nav a,
.login-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: rgb(255 255 255 / 82%);
  font-size: 14px;
  font-weight: 600;
  transition: color 200ms ease;
}

.desktop-nav a:hover,
.login-link:hover {
  color: #ffffff;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.menu-button {
  width: 42px;
  height: 42px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(255 255 255 / 34%);
  border-radius: var(--radius);
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  transition: background 200ms ease;
}

.menu-button:hover {
  background: rgb(255 255 255 / 10%);
}

.menu-button svg,
.button svg,
.hero-next svg,
.hero-proof svg,
.feature-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-navigation {
  display: grid;
  gap: 2px;
  margin-top: 8px;
  padding: 10px;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: var(--radius);
  background: rgb(8 23 31 / 94%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.mobile-navigation[hidden] {
  display: none;
}

.mobile-navigation a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 6px;
  color: #ffffff;
  font-weight: 600;
  transition: background 200ms ease;
}

.mobile-navigation a:hover {
  background: rgb(255 255 255 / 10%);
}

/* ============================================
   Hero Content
   ============================================ */

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(440px, 0.98fr);
  align-items: center;
  gap: 64px;
  padding: 76px 0 112px;
}

.hero-copy-column {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffc07c;
  display: inline-block;
  background: linear-gradient(
    90deg,
    #ffc07c 30%,
    #ffe0b2 50%,
    #ffc07c 70%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s ease-in-out infinite;
}

.hero h1 {
  margin: 0;
  font-size: clamp(52px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.01;
  letter-spacing: -0.03em;
}

.hero-headline {
  max-width: 590px;
  margin: 20px 0 0;
  color: #ffffff;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.hero-copy {
  max-width: 570px;
  margin: 18px 0 0;
  color: rgb(255 255 255 / 74%);
  font-size: 17px;
  line-height: 1.6;
}

/* Hero product illustration */

.hero-product-art {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.hero-art-halo {
  position: absolute;
  z-index: -1;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(114 215 187 / 22%), transparent 68%);
  filter: blur(12px);
}

.hero-app-shell {
  width: min(100%, 500px);
  padding: 18px;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 24px;
  background: linear-gradient(145deg, rgb(253 255 254 / 98%), rgb(232 242 240 / 96%));
  color: var(--ink);
  box-shadow: 0 38px 80px rgb(0 0 0 / 38%), inset 0 1px rgb(255 255 255 / 88%);
  transform: perspective(1200px) rotateY(-4deg) rotateX(1deg);
}

.hero-app-toolbar,
.hero-app-heading,
.schematic-toolbar,
.team-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-app-toolbar {
  min-height: 36px;
  padding-bottom: 14px;
  border-bottom: 1px solid #dce7e4;
  font-size: 12px;
}

.hero-app-mark {
  display: flex;
  gap: 4px;
}

.hero-app-mark i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #77cfb8;
}

.hero-app-mark i:nth-child(2) { background: #ffb76a; }
.hero-app-mark i:nth-child(3) { background: #ad98d5; }

.hero-toolbar-action,
.hero-today {
  padding: 6px 9px;
  border-radius: 7px;
  background: #dff3ed;
  color: #0a675d;
  font-size: 10px;
  font-weight: 800;
}

.hero-app-heading {
  padding: 18px 4px 14px;
}

.hero-app-heading div {
  display: grid;
  gap: 2px;
}

.hero-app-heading div span {
  color: #71828a;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-app-heading div strong {
  font-size: 18px;
}

.hero-weekdays,
.hero-month-grid,
.schematic-weekdays,
.schematic-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.hero-weekdays span,
.schematic-weekdays span {
  padding: 5px 0 8px;
  color: #7d8d94;
  font-size: 9px;
  font-weight: 800;
  text-align: center;
}

.hero-month-grid {
  overflow: hidden;
  border: 1px solid #dce7e4;
  border-radius: 13px;
  background: rgb(255 255 255 / 72%);
}

.hero-month-grid > span {
  position: relative;
  min-height: 54px;
  padding: 7px;
  border-right: 1px solid #e3ebe8;
  border-bottom: 1px solid #e3ebe8;
  color: #53646c;
  font-size: 9px;
  font-weight: 700;
}

.hero-month-grid > span:nth-child(7n) { border-right: 0; }
.hero-month-grid > span:nth-last-child(-n + 7) { border-bottom: 0; }
.hero-month-grid .is-muted { color: #b9c3c6; }

.hero-month-grid small {
  display: block;
  margin-top: 5px;
  color: #ae4c5c;
  font-size: 6px;
  font-weight: 800;
}

.hero-month-grid .is-holiday { background: #fff1f3; }

.hero-month-grid .is-today {
  color: #087268;
  background: #dff3ed;
  box-shadow: inset 0 0 0 2px #80d8c1;
}

.hero-month-grid .has-shift::after,
.hero-month-grid .has-event::after {
  content: "Plantão";
  position: absolute;
  right: 5px;
  bottom: 7px;
  left: 5px;
  overflow: hidden;
  padding: 3px 4px;
  border-radius: 4px;
  background: #c9ecdf;
  color: #155f53;
  font-size: 6px;
  white-space: nowrap;
}

.hero-month-grid .has-event::after {
  content: "Pessoal";
  background: #eee9f8;
  color: #695293;
}

.hero-float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 15px;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 14px;
  background: rgb(18 39 49 / 94%);
  color: #fff;
  box-shadow: 0 18px 38px rgb(0 0 0 / 34%);
  backdrop-filter: blur(16px);
}

.hero-float-card div:not(.hero-avatars) {
  display: grid;
  gap: 2px;
}

.hero-float-card span {
  color: rgb(255 255 255 / 60%);
  font-size: 9px;
}

.hero-float-card strong { font-size: 13px; }

.float-card-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #dff3ed;
  color: #0f766e !important;
  font-size: 18px !important;
}

.hero-finance-card {
  right: -10px;
  top: 64px;
}

.hero-team-card {
  left: -36px;
  bottom: 58px;
}

.hero-avatars {
  display: flex;
  padding-left: 8px;
}

.hero-avatars > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  margin-left: -8px;
  border: 2px solid #17313c;
  border-radius: 50%;
  background: #72d7bb;
  color: #13332c;
  font-size: 8px;
  font-weight: 800;
}

.hero-avatars > span:nth-child(2) { background: #ffb76a; }
.hero-avatars > span:nth-child(3) { background: #ad98d5; }
.hero-avatars > span:nth-child(4) { background: #e4f2f9; }

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

.hero-actions {
  margin-top: 30px;
}

/* ============================================
   App Store and Google Play badges
   ============================================ */

.store-downloads {
  display: grid;
  gap: 8px;
}

.store-downloads > p {
  margin: 0;
  color: rgb(255 255 255 / 62%);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.store-downloads-hero {
  margin-top: 22px;
}

.store-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.store-badge {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: transform 180ms ease, filter 180ms ease;
}

.store-badge:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.store-badge img {
  display: block;
  width: auto;
}

.store-badge-apple img {
  height: 44px;
}

.store-badge-google img {
  height: 54px;
  margin: -5px 0;
}

/* ============================================
   Buttons
   ============================================ */

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  transition: background-color 200ms ease, border-color 200ms ease,
    color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-small {
  min-height: 40px;
  padding-inline: 15px;
  font-size: 14px;
}

.button-primary {
  background: #35b995;
  color: #071c18;
  animation: pulseGlow 3s ease-in-out infinite;
}

.button-primary:hover {
  background: #58caa9;
  box-shadow: 0 4px 16px rgba(53, 185, 149, 0.3);
}

.button-ghost {
  border-color: rgb(255 255 255 / 42%);
  background: rgb(255 255 255 / 5%);
  color: #ffffff;
}

.button-ghost:hover {
  background: rgb(255 255 255 / 12%);
  border-color: rgb(255 255 255 / 66%);
}

/* ============================================
   Hero Proof / Trust Badges
   ============================================ */

.hero-proof {
  display: flex;
  gap: 14px 22px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.hero-proof li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgb(255 255 255 / 78%);
  font-size: 12px;
  font-weight: 600;
  transition: color 200ms ease;
}

.hero-proof li:hover {
  color: #ffffff;
}

.hero-proof svg {
  width: 18px;
  height: 18px;
  color: #ffc07c;
}

.hero-next {
  position: absolute;
  right: max(24px, calc((100% - var(--max-width)) / 2));
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgb(255 255 255 / 70%);
  font-size: 13px;
  font-weight: 650;
  transition: color 200ms ease;
}

.hero-next:hover {
  color: #ffffff;
}

.hero-next svg {
  width: 18px;
  height: 18px;
  animation: float 2.5s ease-in-out infinite;
}

/* ============================================
   Sections (shared)
   ============================================ */

.section {
  padding: 100px 0;
}

.section-light {
  background: var(--canvas);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading h2,
.google-calendar-copy h2,
.cta-layout h2 {
  margin: 0;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.section-heading > p:last-child {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
}

/* ============================================
   Feature Grid (Resources section)
   ============================================ */

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

.feature-card {
  min-height: 240px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 300ms ease, box-shadow 300ms ease,
    border-color 300ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 29, 36, 0.08);
  border-color: var(--green-soft);
}

.feature-card:nth-child(n+5) {
  grid-column: auto;
}

/* Last row: if 7 cards → 3+3+1. Make the last card span all 3 */
.feature-card:last-child:nth-child(3n+1) {
  grid-column: 1 / -1;
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  transition: transform 300ms ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.08);
}

.feature-icon-green {
  background: var(--green-soft);
  color: var(--green);
}

.feature-icon-orange {
  background: var(--orange-soft);
  color: #b66417;
}

.feature-icon-blue {
  background: var(--blue-soft);
  color: var(--blue);
}

.feature-icon-violet {
  background: var(--violet-soft);
  color: var(--violet);
}

.feature-icon-red {
  background: var(--red-soft);
  color: var(--red);
}

.feature-icon-teal {
  background: #e0f5f1;
  color: #0d6e64;
}

.feature-card h3 {
  margin: 30px 0 10px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.feature-card p {
  margin: 0;
  color: var(--ink-soft);
}

/* ============================================
   Google Calendar integration
   ============================================ */

.google-calendar-section {
  padding: 100px 0;
  overflow: hidden;
  background: #101d24;
  color: #ffffff;
}

.google-calendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  align-items: start;
  gap: 80px;
}

.section-kicker-on-dark {
  color: #ffb76a;
}

.google-calendar-copy > p:not(.section-kicker) {
  max-width: 640px;
  margin: 20px 0 0;
  color: rgb(255 255 255 / 70%);
  font-size: 18px;
}

.google-calendar-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  color: #72d7bb;
  font-size: 15px;
  font-weight: 750;
}

.google-calendar-link:hover {
  color: #a5ead7;
}

.google-calendar-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.google-calendar-points {
  margin: 0;
  padding: 0;
  list-style: none;
}

.google-calendar-points li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid rgb(255 255 255 / 16%);
}

.google-calendar-points li:last-child { border-bottom: 1px solid rgb(255 255 255 / 16%); }

.google-calendar-points > li > span {
  color: #72d7bb;
  font-size: 13px;
  font-weight: 800;
}

.google-calendar-points strong {
  display: block;
  margin-bottom: 4px;
  font-size: 17px;
  font-weight: 700;
}

.google-calendar-points p {
  margin: 0;
  color: rgb(255 255 255 / 70%);
  font-size: 15px;
}

.schematic-card {
  overflow: hidden;
  min-width: 0;
  padding: 22px;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 20px;
  background: linear-gradient(145deg, rgb(255 255 255 / 8%), rgb(255 255 255 / 3%));
  box-shadow: 0 20px 50px rgb(0 0 0 / 18%);
}

.schematic-card-heading {
  min-height: 66px;
  display: flex;
  align-items: center;
  gap: 13px;
}

.schematic-card-heading > div > span {
  color: rgb(255 255 255 / 52%);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.schematic-card-heading h3 {
  margin: 4px 0 0;
  font-size: 17px;
  line-height: 1.2;
}

.schematic-icon {
  width: 42px;
  height: 42px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
}

.schematic-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.schematic-icon-green { background: #dff3ed; color: #0f766e; }
.schematic-icon-orange { background: #fff0df; color: #a75710; }
.schematic-icon-violet { background: #eee9f8; color: #7257a8; }

.schematic-canvas {
  position: relative;
  min-height: 272px;
  margin-top: 20px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 56%);
  border-radius: 15px;
  background: #f8fbfa;
  color: var(--ink);
  box-shadow: inset 0 1px #fff;
}

.schematic-toolbar {
  min-height: 30px;
  margin-bottom: 8px;
}

.schematic-toolbar strong { font-size: 13px; }

.schematic-toolbar span {
  padding: 5px 7px;
  border-radius: 6px;
  background: #eaf3f0;
  color: #52666d;
  font-size: 8px;
  font-weight: 800;
}

.schematic-weekdays span { padding: 4px 0 6px; }

.schematic-calendar-grid {
  overflow: hidden;
  border: 1px solid #dfe8e5;
  border-radius: 9px;
}

.schematic-calendar-grid span {
  min-height: 52px;
  padding: 5px;
  border-right: 1px solid #e2ebe8;
  border-bottom: 1px solid #e2ebe8;
  color: #65767c;
  font-size: 8px;
}

.schematic-calendar-grid span:nth-child(7n) { border-right: 0; }
.schematic-calendar-grid span:nth-last-child(-n + 7) { border-bottom: 0; }
.schematic-calendar-grid .holiday-cell { color: #a84254; background: #fff1f3; }
.schematic-calendar-grid .today-cell { color: #0f766e; background: #dff3ed; font-weight: 800; }
.schematic-calendar-grid small { display: block; margin-top: 5px; font-size: 5px; }

.schematic-event {
  position: absolute;
  z-index: 2;
  overflow: hidden;
  height: 15px;
  padding: 3px 6px;
  border-radius: 4px;
  background: #c8eddf;
  color: #175f53;
  font-size: 6px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.event-a { top: 126px; left: 32%; width: 39%; }
.event-b { top: 181px; left: 47%; width: 30%; background: #eee9f8; color: #66508e; }
.event-c { top: 237px; left: 17%; width: 43%; background: #ffe3c7; color: #8c4b12; }

.finance-canvas {
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.finance-summary {
  display: grid;
  gap: 3px;
}

.finance-summary > span { color: #72838a; font-size: 9px; font-weight: 700; }
.finance-summary strong { font-size: 23px; letter-spacing: -0.04em; }
.finance-summary small { color: #0f766e; font-size: 8px; font-weight: 800; }

.finance-bars {
  height: 116px;
  display: flex;
  align-items: end;
  gap: 10px;
  margin: 15px 2px;
  padding: 12px 10px 0;
  border-bottom: 1px solid #d9e5e1;
  background-image: linear-gradient(#e6eeeb 1px, transparent 1px);
  background-size: 100% 33%;
}

.finance-bars i {
  height: var(--bar);
  flex: 1;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(to top, #0f766e, #72d7bb);
}

.finance-bars i:nth-child(2n) { background: linear-gradient(to top, #d87927, #ffbd79); }

.finance-legend {
  display: grid;
  gap: 9px;
}

.finance-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #65767c;
  font-size: 8px;
}

.finance-legend span > i { width: 7px; height: 7px; border-radius: 50%; background: #72d7bb; }
.finance-legend span:nth-child(2) > i { background: #ffb76a; }
.finance-legend strong { margin-left: auto; color: #304149; }

.team-canvas { display: grid; align-content: start; gap: 10px; }
.team-topline { margin-bottom: 4px; }
.team-topline small { color: #72838a; font-size: 8px; font-weight: 700; }
.team-canvas .hero-avatars > span { border-color: #f8fbfa; }

.team-shift {
  min-height: 55px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 9px;
  border: 1px solid #e0e9e6;
  border-radius: 10px;
  background: #fff;
}

.team-avatar {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  font-size: 8px;
  font-weight: 800;
}

.team-avatar.mint { background: #dff3ed; color: #0f766e; }
.team-avatar.orange { background: #fff0df; color: #a75710; }
.team-avatar.violet { background: #eee9f8; color: #7257a8; }

.team-shift > div { min-width: 0; display: grid; gap: 2px; }
.team-shift strong { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.team-shift small { color: #78888e; font-size: 7px; }
.team-status { padding: 4px 5px; border-radius: 5px; background: #dff3ed; color: #0f766e; font-size: 6px; font-style: normal; font-weight: 800; }
.team-status.open { background: #fff0df; color: #a75710; }

/* Real product screenshots */

.app-preview-section {
  border-top: 1px solid #dfe8e5;
  background: #f3f7f5;
}

.app-preview-heading {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
  align-items: end;
  gap: 64px;
  margin-bottom: 38px;
}

.app-preview-heading > p {
  margin: 0 0 5px;
  color: var(--ink-soft);
  font-size: 17px;
}

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

.app-preview-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  padding: 10px;
  border: 1px solid #d7e3df;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 36px rgb(24 54 62 / 9%);
}

.app-preview-image {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 768 / 1376;
  border: 1px solid #e3e9e7;
  border-radius: 14px;
  background: #f7f5fb;
}

.app-preview-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.app-preview-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 88px;
  padding: 16px 10px 10px;
}

.app-preview-copy strong {
  font-size: 17px;
  line-height: 1.25;
}

.app-preview-copy small {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.4;
}

/* ============================================
   Values / Differentials Section
   ============================================ */

.section-values {
  background: #ffffff;
}

.value-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
}

.value-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  transition: transform 300ms ease;
}

.value-item:hover {
  transform: translateX(4px);
}

.value-number {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--green-soft);
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  transition: transform 300ms ease;
}

.value-item:hover .value-number {
  transform: scale(1.08);
}

.value-number-orange {
  background: var(--orange-soft);
  color: #a75710;
}

.value-number-blue {
  background: var(--blue-soft);
  color: var(--blue);
}

.value-number-violet {
  background: var(--violet-soft);
  color: var(--violet);
}

.value-number-red {
  background: var(--red-soft);
  color: var(--red);
}

.value-number-teal {
  background: #e0f5f1;
  color: #0d6e64;
}

.value-item h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.value-item p {
  margin: 0;
  color: var(--ink-soft);
}

/* ============================================
   CTA Section
   ============================================ */

.cta-section {
  padding: 72px 0;
  background: var(--gradient-premium);
  color: #ffffff;
}

.cta-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.cta-layout > div:first-child {
  max-width: 720px;
}

.cta-action-stack {
  display: grid;
  justify-items: end;
  gap: 16px;
}

.store-downloads-cta {
  justify-items: end;
}

.store-downloads-cta > p {
  color: rgb(255 255 255 / 72%);
}

.cta-layout h2 {
  font-size: 36px;
}

.cta-layout p:not(.section-kicker) {
  margin: 12px 0 0;
  color: rgb(255 255 255 / 76%);
}

.button-light {
  background: #ffffff;
  color: var(--green-strong);
}

.button-light:hover {
  background: #edf8f5;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.button-outline-light {
  border-color: rgb(255 255 255 / 54%);
  color: #ffffff;
}

.button-outline-light:hover {
  border-color: #ffffff;
  background: rgb(255 255 255 / 10%);
}

/* ============================================
   Footer (Full company info)
   ============================================ */

.footer {
  padding: 56px 0 32px;
  background: #0c171d;
  color: rgb(255 255 255 / 68%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand {
  color: #ffffff;
  font-size: 17px;
}

.footer-tagline {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgb(255 255 255 / 56%);
}

.footer-col-title {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-links a,
.footer-col-links p {
  margin: 0;
  font-size: 14px;
  color: rgb(255 255 255 / 60%);
  transition: color 200ms ease;
}

.footer-col-links a:hover {
  color: #ffffff;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  font-size: 14px;
  color: rgb(255 255 255 / 60%);
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  fill: none;
  stroke: rgb(255 255 255 / 50%);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 10%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.copyright {
  margin: 0;
  font-size: 13px;
  color: rgb(255 255 255 / 44%);
  white-space: nowrap;
}

.footer-bottom-links {
  display: flex;
  gap: 18px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: rgb(255 255 255 / 44%);
  transition: color 200ms ease;
}

.footer-bottom-links a:hover {
  color: rgb(255 255 255 / 80%);
}

/* ============================================
   Reveal Animations
   ============================================ */

.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animation for value items */
.js .reveal-stagger {
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 400ms ease, transform 400ms ease;
}

.js .reveal-stagger.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   Responsive — Tablet
   ============================================ */

@media (max-width: 900px) {
  .container {
    width: min(100% - 32px, var(--max-width));
  }

  .desktop-nav,
  .desktop-cta {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 68px 0 112px;
  }

  .hero h1 {
    font-size: 56px;
  }

  .hero-headline {
    max-width: 620px;
    font-size: 28px;
  }

  .hero-product-art {
    width: min(100%, 620px);
    min-height: 500px;
    margin-inline: auto;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-card:last-child:nth-child(3n+1) {
    grid-column: auto;
  }

  .feature-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .google-calendar-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .schematic-card {
    display: grid;
    grid-template-columns: minmax(210px, 0.7fr) minmax(0, 1.3fr);
    align-items: center;
    gap: 20px;
  }

  .schematic-canvas { margin-top: 0; }

  .app-preview-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .app-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-layout {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }

  .cta-action-stack,
  .store-downloads-cta {
    justify-items: start;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

/* ============================================
   Responsive — Mobile
   ============================================ */

@media (max-width: 620px) {
  .topbar {
    min-height: 68px;
  }

  .brand {
    font-size: 18px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .topbar-actions {
    gap: 8px;
  }

  .login-link {
    padding: 0 6px;
  }

  .hero-content {
    padding-top: 52px;
  }

  .hero .eyebrow {
    margin-bottom: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
  }

  .hero h1 {
    font-size: clamp(36px, 10.5vw, 42px);
    line-height: 1.04;
  }

  .hero-headline {
    margin-top: 14px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.28;
  }

  .hero-copy {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.5;
  }

  .hero-actions {
    margin-top: 22px;
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-proof {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 18px;
  }

  .store-downloads-hero {
    margin-top: 18px;
  }

  .store-badges {
    flex-wrap: nowrap;
  }

  .hero-product-art {
    min-height: 410px;
    margin-top: 10px;
  }

  .hero-app-shell {
    width: calc(100% - 8px);
    padding: 12px;
    border-radius: 18px;
    transform: none;
  }

  .hero-month-grid > span {
    min-height: 42px;
    padding: 5px;
  }

  .hero-month-grid .has-shift::after,
  .hero-month-grid .has-event::after {
    right: 3px;
    bottom: 5px;
    left: 3px;
    padding-inline: 2px;
    font-size: 5px;
  }

  .hero-finance-card {
    right: -4px;
    top: 30px;
  }

  .hero-team-card {
    left: -4px;
    bottom: 20px;
  }

  .hero-next {
    display: none;
  }

  .section,
  .google-calendar-section {
    padding: 68px 0;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .section-heading h2,
  .google-calendar-copy h2,
  .cta-layout h2 {
    font-size: 32px;
  }

  .section-heading > p:last-child,
  .google-calendar-copy > p:not(.section-kicker) {
    font-size: 16px;
  }

  .feature-grid,
  .value-list {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .feature-card:last-child:nth-child(odd),
  .feature-card:last-child:nth-child(3n+1) {
    grid-column: auto;
  }

  .feature-card {
    min-height: auto;
    padding: 20px;
  }

  .feature-card h3 {
    margin-top: 22px;
  }

  .schematic-card {
    display: block;
    padding: 18px;
  }

  .schematic-canvas {
    min-height: 265px;
    margin-top: 18px;
  }

  .app-preview-grid {
    grid-auto-columns: minmax(270px, 78vw);
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 14px;
    margin-right: -16px;
    padding: 0 16px 18px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .app-preview-card {
    min-height: 0;
    scroll-snap-align: start;
  }

  .cta-section {
    padding: 58px 0;
  }

  .cta-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .cta-action-stack {
    width: 100%;
  }

  .store-downloads-cta {
    width: 100%;
    justify-items: start;
  }

  .cta-actions .button {
    width: 100%;
  }

  .footer {
    padding: 42px 0 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ============================================
   Reduced Motion
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

}
