:root {
  --bg: #f5f4f0;
  --surface: #eeecea;
  --card: #ffffff;
  --border: #e0deda;
  --border2: #d4d0cb;
  --text: #1a1916;
  --muted: #8a8680;
  --faint: #e8e5e0;
  --green: #1e9e56;
  --green-bg: #e8f5ee;
  --red: #d94f4f;
  --red-bg: #fdeaea;
  --blue: #2e6fdb;
  --tg: #2aabee;
  --yellow: #b87d1a;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2.5rem;
  background: rgba(245, 244, 240, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}
.logo sup {
  font-size: 0.5rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-left: 3px;
  vertical-align: super;
}

.nav-r {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.73rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-link:hover {
  color: var(--text);
}

.tg-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  background: var(--tg);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 500;
  border-radius: 99px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.tg-pill:hover {
  opacity: 0.85;
}

/* ─── HERO ─── */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 2.5rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "09:02";
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(10rem, 21vw, 21rem);
  font-weight: 300;
  font-style: italic;
  color: transparent;
  -webkit-text-stroke: 1px var(--border);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.05em;
  white-space: nowrap;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 3rem;
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
}

.hero-left h1 {
  font-size: clamp(2.8rem, 5.5vw, 5.2rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 1.4rem;
}
.hero-left h1 strong {
  font-weight: 600;
  font-style: normal;
}

.hero-left p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 360px;
  margin-bottom: 2rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  background: var(--text);
  color: var(--bg);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition:
    background 0.2s,
    transform 0.15s;
}
.hero-cta:hover {
  background: #000;
  transform: translateY(-1px);
}

.hero-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.45rem;
}

.hero-tag {
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-tag b {
  color: var(--text);
  font-weight: 500;
}

.dot-live {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--green);
  border-radius: 50%;
  margin-right: 5px;
  animation: blink 2s infinite;
}
.dot {
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.25;
  }
}

/* ─── TICKER ─── */
.ticker-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 0.65rem 0;
}
.ticker-track {
  display: flex;
  gap: 3.5rem;
  white-space: nowrap;
  animation: roll 30s linear infinite;
}
.ticker-item {
  font-size: 0.63rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ticker-item i {
  font-size: 0.38rem;
  margin-right: 0.85rem;
  color: var(--border2);
}
@keyframes roll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ─── SHARED ─── */
.w {
  max-width: 1160px;
  margin: 0 auto;
  padding: 7rem 2.5rem;
}

.sec-label {
  font-size: 0.61rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.sec-label::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--border2);
}

/* ─── DEMO ─── */
.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

/* phone */
.phone {
  background: #fff;
  border-radius: 28px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.04),
    0 20px 60px rgba(0, 0, 0, 0.08);
  max-width: 290px;
}

.ph-bar {
  background: #fff;
  padding: 0.9rem 1rem 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border-bottom: 1px solid var(--border);
}

.ph-back {
  color: var(--tg);
  font-size: 1rem;
}

.ph-ava {
  width: 30px;
  height: 30px;
  background: var(--faint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tg);
}

.ph-info {
  flex: 1;
}
.ph-name {
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--text);
}
.ph-status {
  font-size: 0.56rem;
  color: var(--tg);
}

.chat {
  background: var(--surface);
  min-height: 380px;
  padding: 0.85rem 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.68rem;
}

.chat-sep {
  align-self: center;
  font-size: 0.54rem;
  color: var(--muted);
  background: var(--border);
  padding: 0.18rem 0.55rem;
  border-radius: 6px;
  margin: 0.2rem 0;
}

.msg {
  max-width: 88%;
  padding: 0.45rem 0.65rem;
  border-radius: 12px;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}
.msg.show {
  opacity: 1;
  transform: none;
}

.msg-bot {
  background: #fff;
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: 3px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}
.msg-user {
  background: var(--tg);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 3px;
}
.msg code {
  font-size: 0.85em;
  background: var(--faint);
  color: var(--text);
  padding: 0.1em 0.3em;
  border-radius: 3px;
  font-family: monospace;
}
.msg-ts {
  display: block;
  font-size: 0.5rem;
  opacity: 0.35;
  margin-top: 0.18rem;
  text-align: right;
}

.kbd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem;
  margin-top: 0.45rem;
}
.kbd-k {
  background: var(--faint);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.57rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  padding: 0.35rem 0.4rem;
  border-radius: 5px;
  text-align: center;
}

/* features */
.demo-right h2 {
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.9rem;
}
.demo-right h2 strong {
  font-style: normal;
  font-weight: 600;
}

.demo-right > p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 2.8rem;
}

.feat {
  display: flex;
  flex-direction: column;
  margin-top: 1rem;
}
.feat-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}
.feat-row:last-child {
  border-bottom: 1px solid var(--border);
}
.feat-ic {
  width: 24px;
  flex-shrink: 0;
  color: var(--muted);
  font-size: 0.73rem;
  padding-top: 0.12rem;
  text-align: center;
}
.feat-title {
  font-size: 0.74rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.feat-desc {
  font-size: 0.7rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ─── DASHBOARD ─── */
.dash-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.dash-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.dash-left h2 {
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.9rem;
}
.dash-left h2 strong {
  font-style: normal;
  font-weight: 600;
}

.dash-left > p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.dash-list {
  display: flex;
  flex-direction: column;
}
.dash-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}
.dash-item:last-child {
  border-bottom: 1px solid var(--border);
}
.dash-ic {
  width: 24px;
  flex-shrink: 0;
  color: var(--muted);
  font-size: 0.73rem;
  padding-top: 0.12rem;
  text-align: center;
}
.dash-title {
  font-size: 0.74rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.dash-desc {
  font-size: 0.7rem;
  color: var(--muted);
  line-height: 1.7;
}

/* dashboard mockup */
.dash-mockup {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.04),
    0 20px 60px rgba(0, 0, 0, 0.07);
  font-size: 0.71rem;
}

.dm-topbar {
  background: var(--card);
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.dm-title {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.dm-working {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.6rem;
  color: var(--green);
  background: var(--green-bg);
  border: 1px solid rgba(30, 158, 86, 0.15);
  padding: 0.2rem 0.55rem;
  border-radius: 99px;
}

.dm-body {
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dm-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.dm-card-head {
  padding: 0.55rem 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.61rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}
.dm-card-head i {
  margin-right: 0.35rem;
}

.dm-prog-wrap {
  padding: 0.65rem 0.8rem;
}
.dm-prog-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.61rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.dm-prog-row b {
  color: var(--text);
  font-weight: 600;
}
.dm-bar-bg {
  height: 3px;
  background: var(--faint);
  border-radius: 2px;
  overflow: hidden;
}
.dm-bar-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0;
}
.dm-bar-green {
  background: var(--green);
}
.dm-bar-blue {
  background: var(--blue);
}

.dm-timbrate {
  display: flex;
  flex-direction: column;
}
.dm-tb-row {
  display: grid;
  grid-template-columns: 90px 1fr 22px;
  align-items: center;
  padding: 0.42rem 0.8rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.61rem;
  color: var(--muted);
}
.dm-tb-row:last-child {
  border-bottom: none;
}

.dm-rows {
  display: flex;
  flex-direction: column;
}
.dm-row {
  display: grid;
  grid-template-columns: 32px 1fr 72px 52px;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.6rem;
  color: var(--muted);
}
.dm-row:last-child {
  border-bottom: none;
}
.dm-day {
  font-weight: 600;
  color: var(--text);
}

.dm-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.1rem 0.38rem;
  border-radius: 4px;
  font-size: 0.57rem;
  font-weight: 600;
}
.bg-g {
  background: var(--green-bg);
  color: var(--green);
}
.bg-r {
  background: var(--red-bg);
  color: var(--red);
}

/* ─── REMINDER ─── */
.rem-section {
  border-top: 1px solid var(--border);
}

.rem-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}

.rem-left h2 {
  font-size: clamp(2rem, 3vw, 2.7rem);
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.9rem;
}
.rem-left h2 strong {
  font-style: normal;
  font-weight: 600;
}
.rem-left p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.8;
}

.rem-cards {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.rem-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  font-size: 0.7rem;
  line-height: 1.75;
  color: var(--text);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  opacity: 0;
  transform: translateX(12px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}
.rem-card.show {
  opacity: 1;
  transform: none;
}

.rem-from {
  font-size: 0.57rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.rem-from i {
  color: var(--tg);
}

/* ─── REPORT ─── */
.rep-section {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.rep-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.rep-left h2 {
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.9rem;
}
.rep-left h2 strong {
  font-style: normal;
  font-weight: 600;
}
.rep-left > p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.8rem;
}

.rep-snippet {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.2rem;
  font-size: 0.68rem;
  font-family: monospace;
  line-height: 1.9;
  white-space: pre-wrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.rs-d {
  color: var(--muted);
}
.rs-g {
  color: var(--green);
}
.rs-y {
  color: var(--yellow);
}
.rs-r {
  color: var(--red);
}
.rs-b {
  color: var(--text);
  font-weight: 600;
}

.rep-right h3 {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 1.3rem;
}

.day-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}
.day-label {
  width: 26px;
  font-size: 0.61rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.bar-wrap {
  flex: 1;
  background: var(--faint);
  border-radius: 2px;
  height: 3px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 1.1s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0;
}
.bar-over {
  background: var(--green);
}
.bar-under {
  background: var(--red);
}
.bar-exact {
  background: var(--blue);
}
.day-info {
  font-size: 0.63rem;
  color: var(--text);
  min-width: 62px;
  text-align: right;
}
.day-info small {
  color: var(--muted);
}

/* ─── CTA ─── */
.cta {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 9rem 2.5rem;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 240px;
  background: radial-gradient(
    ellipse,
    rgba(42, 171, 238, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.cta h2 {
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 0.7rem;
}
.cta h2 strong {
  font-style: normal;
  font-weight: 600;
}
.cta p {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.88rem 2.2rem;
  background: var(--tg);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition:
    opacity 0.2s,
    transform 0.15s;
}
.cta-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* ─── FOOTER ─── */
footer {
  border-top: 1px solid var(--border);
  margin: 0 auto;
  padding: 1.4rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.f-logo {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}
footer small {
  font-size: 0.62rem;
  color: var(--muted);
}
footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
footer a:hover {
  color: var(--text);
}

/* ─── REVEAL ─── */
.rv {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.rv.in {
  opacity: 1;
  transform: none;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 860px) {
  .hero-grid,
  .demo-grid,
  .dash-grid,
  .rem-grid,
  .rep-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-right {
    align-items: flex-start;
  }
  .phone {
    max-width: 100%;
  }
  nav {
    padding: 1rem 1.5rem;
  }
  .hero {
    padding: 0 1.5rem 3.5rem;
  }
  .w {
    padding: 5rem 1.5rem;
  }
  .dash-section .w,
  .rem-section .w,
  .rep-section .w {
    padding: 5rem 1.5rem;
  }
  .cta {
    padding: 5rem 1.5rem;
  }
  footer {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  .nav-link {
    display: none;
  }
}
