:root {
  color-scheme: light;
  --bg: #f7f8ff;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-solid: #ffffff;
  --surface-alt: #f5f7ff;
  --line: rgba(99, 102, 241, 0.12);
  --line-strong: rgba(99, 102, 241, 0.2);
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-tertiary: #6b7280;
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-soft: #eef2ff;
  --green: #27ae60;
  --coral: #ef4444;
  --pink: #ec4899;
  --shadow-soft: 0 24px 60px rgba(99, 102, 241, 0.08);
  --shadow-card: 0 18px 40px rgba(17, 24, 39, 0.08);
  --shadow-glow: 0 18px 50px rgba(99, 102, 241, 0.16);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: min(1180px, calc(100vw - 40px));
  --header-height: 82px;
  --transition: 220ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', 'Microsoft YaHei', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(238, 242, 255, 0.8), transparent 28%),
    linear-gradient(180deg, #fbfbff 0%, #f7f8ff 45%, #fdfdff 100%);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
a.button,
.button {
  font: inherit;
}

.page-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.8;
}

.orb-a {
  top: -80px;
  left: -60px;
  width: 280px;
  height: 280px;
  background: rgba(99, 102, 241, 0.16);
}

.orb-b {
  top: 200px;
  right: -120px;
  width: 360px;
  height: 360px;
  background: rgba(168, 85, 247, 0.12);
}

.orb-c {
  bottom: 120px;
  left: 18%;
  width: 240px;
  height: 240px;
  background: rgba(236, 72, 153, 0.08);
}

.grid-mask {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(99, 102, 241, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.65), transparent 72%);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header-height);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  background: rgba(247, 248, 255, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}

.brand-text {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  color: var(--text-secondary);
}

.site-nav a {
  position: relative;
  font-size: 0.96rem;
  transition: color var(--transition);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text-primary);
}

.site-nav a.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
}

.nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary) !important;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: rgba(99, 102, 241, 0.08);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 999px;
  transition: transform var(--transition), opacity var(--transition);
}

.hero-section {
  padding: 48px 0 24px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 56px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 0.86rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}

.hero-copy h1,
.section-heading h2,
.content-column h2,
.pro-copy h2,
.download-shell h2 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-lead {
  margin: 24px 0 0;
  font-size: 1.08rem;
  line-height: 1.95;
  color: var(--text-secondary);
  max-width: 38rem;
}

.hero-subtitle {
  margin: 18px 0 0;
  color: var(--text-primary);
  font-weight: 600;
}

.hero-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

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

.button-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.78);
  color: var(--text-primary);
  border: 1px solid rgba(99, 102, 241, 0.14);
  box-shadow: var(--shadow-soft);
}

.button-disabled {
  background: rgba(17, 24, 39, 0.08);
  color: rgba(17, 24, 39, 0.54);
  cursor: not-allowed;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.hero-badges li {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(99, 102, 241, 0.12);
  color: var(--text-secondary);
  font-size: 0.94rem;
}

.hero-visual {
  position: relative;
  padding: 42px 20px 64px;
}

.device-frame {
  position: relative;
  margin: 0 auto;
  padding: 18px;
  border-radius: 42px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(234, 239, 255, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 36px 80px rgba(99, 102, 241, 0.16);
}

.device-frame::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  width: 108px;
  height: 8px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.08);
}

.device-surface {
  background: linear-gradient(180deg, #fbfbff 0%, #f7f8ff 100%);
  border-radius: 30px;
  padding: 28px 22px 22px;
  border: 1px solid rgba(99, 102, 241, 0.08);
}

.device-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}

.device-month {
  margin: 0;
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.device-date {
  margin: 6px 0 0;
  font-size: 1.35rem;
  font-weight: 700;
}

.device-chip,
.panel-chip,
.floating-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.12);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
}

.week-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 12px;
  color: var(--text-tertiary);
  font-size: 0.8rem;
  text-align: center;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.day {
  position: relative;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(99, 102, 241, 0.06);
  display: flex;
  flex-direction: column;
  text-align: center;
}

.day strong {
  font-size: 1rem;
}

.day small,
.day em {
  font-style: normal;
  font-size: 0.68rem;
  color: var(--text-tertiary);
}

.day em {
  position: absolute;
  top: 8px;
  right: 8px;
  font-weight: 700;
}

.day.holiday {
  background: rgba(239, 68, 68, 0.07);
}

.day.holiday em,
.day.holiday small {
  color: var(--coral);
}

.day.workday {
  background: rgba(59, 130, 246, 0.08);
}

.day.workday em,
.day.workday small {
  color: #3b82f6;
}

.day.birthday small {
  color: var(--pink);
}

.day.active {
  border-color: rgba(99, 102, 241, 0.32);
  background: linear-gradient(180deg, rgba(238, 242, 255, 0.95), rgba(255, 255, 255, 0.92));
  box-shadow: inset 0 0 0 1px rgba(99, 102, 241, 0.12);
}

.day.muted {
  opacity: 0.48;
}

.detail-card,
.info-panel,
.note-snippet,
.reminder-card,
.trust-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(99, 102, 241, 0.1);
  box-shadow: var(--shadow-card);
}

.detail-card {
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
}

.detail-title,
.panel-date,
.note-snippet h3,
.reminder-card h3,
.trust-card h3,
.feature-card h3 {
  margin: 0;
  font-size: 1.06rem;
}

.detail-meta,
.panel-text,
.note-snippet p,
.reminder-card p,
.trust-card p,
.feature-card p,
.content-column p,
.section-heading p,
.pro-copy p,
.download-shell p,
.footer-copy {
  color: var(--text-secondary);
  line-height: 1.9;
}

.detail-meta {
  margin: 8px 0 0;
}

.detail-note {
  margin: 12px 0 0;
  color: var(--text-primary);
  line-height: 1.85;
}

.floating-card {
  position: absolute;
  max-width: 220px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(99, 102, 241, 0.1);
  box-shadow: var(--shadow-card);
}

.floating-card p {
  margin: 12px 0 0;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.94rem;
}

.floating-top {
  top: 18px;
  right: -10px;
}

.floating-bottom {
  bottom: 0;
  left: -4px;
}

.section {
  padding: 110px 0;
}

.section-alt {
  position: relative;
}

.section-alt::before {
  content: '';
  position: absolute;
  inset: 40px auto 40px 50%;
  width: min(1240px, calc(100vw - 20px));
  transform: translateX(-50%);
  border-radius: 42px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.58);
  z-index: -1;
}

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

.section-heading h2,
.content-column h2,
.pro-copy h2,
.download-shell h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12;
}

.section-heading p,
.content-column p,
.pro-copy p,
.download-shell p {
  margin: 18px 0 0;
  font-size: 1.03rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 44px;
}

.feature-card {
  padding: 26px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(99, 102, 241, 0.1);
  box-shadow: var(--shadow-card);
}

.feature-icon {
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(0, 122, 255, 0.12);
  color: #007aff;
}

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

.feature-icon-green {
  background: rgba(52, 199, 89, 0.12);
  color: #34c759;
}

.feature-icon-indigo {
  background: rgba(88, 86, 214, 0.12);
  color: #5856d6;
}

.feature-icon-coral {
  background: rgba(255, 59, 48, 0.12);
  color: #ff3b30;
}

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

.feature-card p {
  margin: 12px 0 0;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 46px;
  align-items: center;
}

.reverse-layout {
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1fr);
}

.bullet-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.bullet-list li {
  position: relative;
  padding-left: 18px;
  color: var(--text-secondary);
  line-height: 1.85;
}

.bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), #8b93ff);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.08);
}

.info-panel {
  border-radius: 30px;
  padding: 24px;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.panel-body {
  margin-top: 18px;
}

.priority-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.priority-stack span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.08);
  color: var(--primary-dark);
  font-size: 0.92rem;
}

.mini-grid,
.trust-grid,
.reminder-grid {
  display: grid;
  gap: 16px;
}

.mini-grid {
  margin-top: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mini-grid article,
.reminder-card,
.trust-card {
  padding: 20px;
  border-radius: 24px;
}

.mini-grid article {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(99, 102, 241, 0.08);
}

.mini-grid strong {
  display: block;
  font-size: 1.3rem;
}

.mini-grid span {
  display: block;
  margin-top: 6px;
  color: var(--text-secondary);
}

.note-board {
  display: grid;
  gap: 18px;
}

.note-snippet {
  padding: 24px;
  border-radius: 28px;
}

.note-primary {
  background: linear-gradient(180deg, rgba(238, 242, 255, 0.88), rgba(255, 255, 255, 0.92));
}

.note-day {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.note-snippet h3 {
  margin-bottom: 10px;
}

.note-snippet p:last-child {
  margin-bottom: 0;
}

.reminder-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px;
}

.pro-section {
  padding-top: 120px;
}

.pro-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.84fr);
  gap: 36px;
  padding: 40px;
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.96));
  color: #f8fafc;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.22);
  overflow: hidden;
}

.pro-shell::before,
.pro-shell::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  filter: blur(18px);
}

.pro-shell::before {
  top: -40px;
  right: -20px;
  width: 180px;
  height: 140px;
  background: rgba(129, 140, 248, 0.22);
}

.pro-shell::after {
  bottom: -60px;
  left: -30px;
  width: 220px;
  height: 180px;
  background: rgba(244, 114, 182, 0.12);
}

.pro-copy,
.pro-panel {
  position: relative;
  z-index: 1;
}

.pro-copy .section-kicker,
.bullet-list-light li,
.pro-copy p,
.pro-copy h2,
.swatch span,
.swatch small {
  color: #f8fafc;
}

.bullet-list-light li {
  color: rgba(248, 250, 252, 0.84);
}

.theme-swatches {
  display: grid;
  gap: 14px;
}

.swatch {
  padding: 20px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
}

.swatch span,
.swatch small {
  display: block;
}

.swatch span {
  font-size: 1rem;
  font-weight: 700;
}

.swatch small {
  margin-top: 8px;
  color: rgba(248, 250, 252, 0.7);
  line-height: 1.7;
}

.swatch-default {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.22), rgba(255, 255, 255, 0.06));
}

.swatch-aurora {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.24), rgba(45, 212, 191, 0.16));
}

.swatch-warm {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.24), rgba(244, 114, 182, 0.14));
}

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

.download-section {
  padding-top: 80px;
}

.download-shell {
  text-align: center;
  max-width: 820px;
}

.download-shell .section-kicker {
  justify-self: center;
}

.download-shell p {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.download-actions {
  justify-content: center;
}

.site-footer {
  padding: 36px 0 44px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 26px;
  border-top: 1px solid rgba(99, 102, 241, 0.1);
}

.footer-brand {
  margin: 0;
  font-weight: 700;
  font-size: 1rem;
}

.footer-copy {
  margin: 8px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--text-secondary);
}

.copyright {
  margin: 26px 0 0;
  text-align: center;
  color: var(--text-tertiary);
  font-size: 0.9rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .split-layout,
  .reverse-layout,
  .pro-shell,
  .feature-grid,
  .reminder-grid,
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .hero-grid,
  .split-layout,
  .reverse-layout,
  .pro-shell {
    gap: 30px;
  }
}

@media (max-width: 860px) {
  :root {
    --container: min(100vw - 24px, 100vw - 24px);
  }

  .site-header {
    height: auto;
  }

  .header-inner {
    min-height: var(--header-height);
    flex-wrap: wrap;
    padding: 16px 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 0 4px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
  }

  .site-nav a.is-active::after {
    display: none;
  }

  .hero-section {
    padding-top: 26px;
  }

  .hero-grid,
  .split-layout,
  .reverse-layout,
  .pro-shell,
  .feature-grid,
  .reminder-grid,
  .trust-grid,
  .footer-inner {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .hero-copy h1,
  .section-heading h2,
  .content-column h2,
  .pro-copy h2,
  .download-shell h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero-visual {
    padding: 20px 0 46px;
  }

  .floating-card {
    position: static;
    max-width: none;
    margin-top: 16px;
  }

  .section {
    padding: 84px 0;
  }

  .section-alt::before {
    inset: 20px 10px;
    transform: none;
    width: auto;
  }

  .pro-shell {
    padding: 28px;
  }
}

@media (max-width: 560px) {
  .brand-text {
    font-size: 0.96rem;
  }

  .button,
  .download-actions .button {
    width: 100%;
  }

  .device-frame {
    padding: 12px;
    border-radius: 30px;
  }

  .device-surface {
    padding: 24px 14px 14px;
    border-radius: 22px;
  }

  .day {
    min-height: 62px;
    border-radius: 14px;
    padding-top: 8px;
  }

  .day strong {
    font-size: 0.94rem;
  }

  .day small,
  .day em {
    font-size: 0.62rem;
  }

  .feature-card,
  .info-panel,
  .note-snippet,
  .reminder-card,
  .trust-card {
    padding: 20px;
    border-radius: 22px;
  }
}
