:root { color-scheme: light; --ink: #080f2e; --muted: #5c6478; --container: 941px; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background: #fff; font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif; letter-spacing: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 3px solid #194fff; outline-offset: 5px; }
.container { width: min(var(--container), 100%); margin-inline: auto; }
.header-inner { height: 82px; padding-inline: 49px 44px; display: flex; align-items: center; justify-content: space-between; position: relative; }
.brand { display: flex; align-items: center; gap: 19px; font-size: 37px; font-weight: 700; max-width: calc(100% - 60px); }
.brand span { overflow-wrap: anywhere; min-width: 0; line-height: 1.2; }
.brand img { width: 57px; height: 57px; }
.menu-toggle { border: 0; padding: 6px 0; background: transparent; width: 34px; }
.menu-toggle span { display: block; height: 3px; margin: 7px 0; background: var(--ink); border-radius: 2px; }
.main-nav { display: none; position: absolute; top: 74px; right: 32px; z-index: 10; width: 180px; padding: 10px; border: 1px solid #e0e7f4; border-radius: 8px; background: #fff; box-shadow: 0 8px 24px #1d42751a; }
.main-nav.is-open { display: grid; }
.main-nav a { padding: 12px; font-size: 16px; }
.main-nav a:hover { background: #f0f5ff; }
.hero-section { overflow: hidden; background: linear-gradient(125deg, #eefaff 0%, #e3efff 40%, #ceddff 70%, #e8f1ff 100%); }
.hero-grid { display: grid; grid-template-columns: 45% 55%; padding: 30px 49px 28px; min-height: 548px; align-items: center; position: relative; }
.hero-grid::before { content: ""; position: absolute; inset: 0; background: linear-gradient(144deg, transparent 49.8%, #ffffff75 50%, #ffffff30 61%, transparent 61.2%); pointer-events: none; }
.hero-copy { position: relative; z-index: 1; min-width: 0; }
.hero-copy h1 { font-size: 58px; line-height: 1.15; margin: 0 0 16px; overflow-wrap: anywhere; }
.hero-copy h2 { color: #122f82; font-size: 31px; line-height: 1.4; margin: 0; overflow-wrap: anywhere; }
.title-rule { width: 54px; height: 3px; margin: 18px 0 15px 4px; background: linear-gradient(90deg, #354bff, #b18cff); border-radius: 3px; }
.hero-description { margin: 0; color: var(--muted); font-size: 22px; line-height: 1.42; }
.download-actions { display: grid; gap: 13px; width: 330px; max-width: 100%; margin-top: 31px; }
.download-button { border: 1px solid #ffffff50; border-radius: 999px; height: 64px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; color: #fff; white-space: nowrap; box-shadow: inset 0 2px 3px #ffffff20; transition: filter .18s, transform .18s; }
.download-button--android { background: linear-gradient(175deg, #349dff 0%, #0878ff 48%, #0057e8 100%); }
.download-button--ios { background: linear-gradient(175deg, #a18aff 0%, #8968ff 42%, #6245ef 100%); }
.download-button:hover { filter: brightness(1.07); transform: translateY(-2px); }
.download-button:active { transform: translateY(0); }
.download-button img { display: block; width: 38px; height: 40px; object-fit: contain; flex-shrink: 0; }
.download-button span { font-size: 28px; font-weight: 500; }
.hero-visual { position: relative; width: 100%; height: 490px; }
/* Keep the supplied phone artwork intact using a shared local image sprite. */
.reference-phone { position: relative; overflow: hidden; aspect-ratio: var(--crop-w) / var(--crop-h); }
.reference-phone img { position: absolute; width: calc(941 / var(--crop-w) * 100%); max-width: none; height: auto; left: calc(var(--crop-x) / var(--crop-w) * -100%); top: calc(var(--crop-y) / var(--crop-h) * -100%); user-select: none; pointer-events: none; }
.reference-phone.custom-art { background: #f3f7ff; }
.reference-phone.custom-art img { width: 100%; height: 100%; left: 0; top: 0; object-fit: contain; }
.screen-home { --crop-x: 342; --crop-y: 986; --crop-w: 258; --crop-h: 480; }
.screen-notes { --crop-x: 110; --crop-y: 1036; --crop-w: 218; --crop-h: 414; }
.screen-profile { --crop-x: 616; --crop-y: 1036; --crop-w: 218; --crop-h: 414; }
.screen-calendar { --crop-x: 696; --crop-y: 153; --crop-w: 200; --crop-h: 432; }
.hero-home { --crop-x: 459; --crop-y: 113; --crop-w: 245; --crop-h: 492; position: absolute; width: 246px; top: 0; left: 31px; z-index: 2; border-radius: 38px; box-shadow: 0 10px 16px #486ea62b; }
.hero-calendar { position: absolute; width: 200px; right: -2px; top: 42px; border-radius: 34px; box-shadow: 0 10px 16px #486ea62b; }
.feature-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 941px; padding: 24px 26px 0; }
.feature-item { text-align: center; padding: 12px 8px 14px; border-radius: 16px; background: linear-gradient(130deg, #f1f7ff, #edf3fc); min-width: 0; }
.feature-icon { width: 60px; height: 57px; margin: 3px auto 12px; transform: scale(1.12); background-image: url("assets/design-reference.png"); background-size: 941px 1672px; }
.feature-rocket { background-position: -106px -674px; }
.feature-shield { background-position: -332px -674px; }
.feature-grid { background-position: -552px -674px; }
.feature-heart { background-position: -779px -674px; }
.feature-item h3 { margin: 0 0 6px; font-size: 24px; line-height: 1.3; overflow-wrap: anywhere; }
.feature-item p { margin: 0; font-size: 16px; line-height: 1.4; color: var(--muted); overflow-wrap: anywhere; }
.showcase-section { padding: 48px 0 24px; }
.section-heading { text-align: center; padding-inline: 15px; }
.section-heading h2 { display: flex; align-items: center; justify-content: center; gap: 27px; margin: 0 0 10px; font-size: 36px; line-height: 1.4; }
.section-heading h2::before, .section-heading h2::after { content: ""; width: 44px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #aa8aff, #3c5fff); }
.section-heading p { margin: 0; color: var(--muted); font-size: 21px; line-height: 1.5; }
.showcase-layout { display: grid; grid-template-columns: 52px minmax(0, 1fr) 52px; gap: 28px; align-items: center; margin: 28px 28px 0; }
.showcase-content { position: relative; aspect-ratio: 722 / 480; min-width: 0; overflow: hidden; touch-action: pan-y; }
.preview-phone { position: absolute; width: 35.73%; left: 50%; top: 50%; border-radius: 35px; opacity: 1; --slot-offset: 0%; --slot-scale: 1; transform: translate(-50%, -50%) translateX(var(--slot-offset)) scale(calc(var(--slot-scale) * var(--art-scale, 1))); transition: transform 560ms cubic-bezier(.22, .61, .36, 1), opacity 460ms ease; will-change: transform, opacity; backface-visibility: hidden; box-shadow: 0 8px 18px #87b3df26; }
.preview-phone.screen-calendar { --art-scale: .86; }
.preview-phone.screen-notes, .preview-phone.screen-profile { --art-scale: .978; }
.preview-phone--left { --slot-offset: -99%; --slot-scale: .845; z-index: 1; }
.preview-phone--right { --slot-offset: 99%; --slot-scale: .845; z-index: 1; }
.preview-phone--center { z-index: 2; box-shadow: 0 12px 18px #36597824; }
.preview-phone--hidden { --slot-offset: 198%; --slot-scale: .75; opacity: 0; z-index: 0; pointer-events: none; }
.preview-phone.is-positioning { transition: none; }
.carousel-arrow { display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 1px solid #e8eef7; border-radius: 50%; background: #fff; box-shadow: 0 4px 10px #5378a929; }
.chevron { width: 14px; height: 14px; border-top: 2px solid #18243d; border-right: 2px solid #18243d; transform: rotate(45deg); margin-right: 6px; }
.chevron-left { transform: rotate(-135deg); margin: 0 0 0 6px; }
.carousel-progress { width: 120px; height: 3px; margin: 23px auto 0; overflow: hidden; border-radius: 999px; background: #e4e9f3; }
.carousel-progress span { display: block; width: 100%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #348cff, #8867ff); transform: scaleX(0); transform-origin: left; }
.carousel-dots { display: flex; justify-content: center; gap: 13px; margin-top: 15px; }
.carousel-dot { position: relative; width: 14px; height: 14px; border-radius: 50%; border: 0; padding: 0; background: #d2d9e2; }
.carousel-dot::before { content: ""; position: absolute; inset: -8px; }
.carousel-dot.is-active { background: linear-gradient(130deg, #7667ff, #3c5fff); }
.download-section { max-width: 941px; padding: 0 19px 16px; }
.download-panel { display: flex; align-items: center; gap: 24px; padding: 20px 24px; border-radius: 18px; background: linear-gradient(120deg, #e8f5ff, #e7ebff 67%, #c8d3ff); }
.download-brand { display: flex; align-items: center; gap: 16px; flex-shrink: 0; max-width: 38%; min-width: 0; }
.download-brand > img { width: 64px; height: 64px; }
.download-brand h2 { font-size: 30px; margin: 0; overflow-wrap: anywhere; }
.download-brand p { margin: 0; color: #4d5972; font-size: 16px; }
.download-panel-actions { display: grid; grid-template-columns: 1.16fr 1fr; gap: 14px; flex: 1; padding-left: 24px; border-left: 1px solid #ccd9f5; }
.download-panel-actions .download-button { min-width: 0; height: 54px; gap: 12px; padding-inline: 17px; }
.download-panel-actions .download-button span { font-size: 22px; }
.download-panel-actions .download-button img { width: 34px; height: 36px; }
.toast { position: fixed; left: 50%; bottom: 25px; z-index: 50; max-width: calc(100% - 32px); transform: translate(-50%, 15px); padding: 12px 18px; background: #17243def; color: white; border-radius: 8px; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (min-width: 1200px) { :root { --container: 1120px; } .hero-grid { grid-template-columns: 48% 52%; } .hero-visual { max-width: 465px; margin-left: auto; } .showcase-layout { margin-inline: 75px; } }
@media (max-width: 850px) {
  .header-inner { padding-inline: 28px; }
  .hero-grid { padding-inline: 28px; grid-template-columns: 46% 54%; }
  .hero-copy h1 { font-size: 48px; }
  .hero-copy h2 { font-size: 24px; }
  .hero-description { font-size: 18px; }
  .hero-home { width: 61%; left: 0; }
  .hero-calendar { width: 49%; }
  .hero-visual { height: auto; aspect-ratio: 420 / 490; }
  .feature-item h3 { font-size: 21px; }
  .feature-item p { font-size: 14px; }
  .download-panel { gap: 16px; padding: 18px 20px; flex-wrap: wrap; }
  .download-brand { gap: 12px; max-width: 100%; }
  .download-brand > img { width: 58px; height: 58px; }
  .download-brand h2 { font-size: 26px; }
  .download-brand p { font-size: 14px; }
  .download-panel-actions { flex-basis: 100%; padding-left: 0; border-left: 0; gap: 10px; }
  .download-panel-actions .download-button { padding-inline: 12px; gap: 8px; }
  .download-panel-actions .download-button span { font-size: 17px; }
}
@media (max-width: 600px) {
  .header-inner { height: 68px; padding-inline: 20px; }
  .brand { font-size: 26px; gap: 12px; }
  .brand img { width: 44px; height: 44px; }
  .menu-toggle { width: 28px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); padding: 30px 24px 24px; gap: 24px; }
  .hero-copy h1 { font-size: 46px; margin-bottom: 12px; }
  .hero-copy h2 { font-size: 25px; white-space: normal; }
  .hero-description { font-size: 18px; }
  .desktop-break { display: none; }
  .download-actions { width: 330px; gap: 12px; margin-top: 24px; }
  .download-button { height: 58px; }
  .download-button span { font-size: 25px; }
  .download-button img { width: 34px; height: 36px; }
  .hero-visual { width: min(100%, 420px); margin-inline: auto; }
  .hero-calendar { top: 8.6%; }
  .feature-strip { padding: 24px 16px 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .feature-item { border-radius: 12px; padding: 10px 6px 12px; }
  .feature-item h3 { font-size: 21px; }
  .feature-item p { font-size: 14px; }
  .showcase-section { padding: 32px 0 24px; }
  .section-heading h2 { font-size: 27px; gap: 14px; }
  .section-heading h2::before, .section-heading h2::after { width: 27px; }
  .section-heading p { font-size: 16px; }
  .showcase-layout { margin: 22px 8px 0; grid-template-columns: 30px minmax(0, 1fr) 30px; gap: 6px; }
  .showcase-content { gap: 5px; }
  .preview-phone { border-radius: 13px; }
  .carousel-arrow { width: 30px; height: 30px; }
  .chevron { width: 10px; height: 10px; margin-right: 4px; }
  .chevron-left { margin: 0 0 0 4px; }
  .carousel-dots { margin-top: 18px; gap: 12px; }
  .carousel-dot { width: 11px; height: 11px; }
  .download-section { padding-inline: 12px; }
  .download-panel { flex-direction: column; align-items: stretch; padding: 16px; gap: 14px; border-radius: 14px; }
  .download-brand { justify-content: center; gap: 16px; }
  .download-brand > img { width: 52px; height: 52px; }
  .download-panel-actions { padding-left: 0; border-left: 0; gap: 10px; grid-template-columns: 1.16fr 1fr; }
  .download-panel-actions .download-button { height: 48px; padding-inline: 8px; gap: 7px; }
  .download-panel-actions .download-button span { font-size: 16px; }
  .download-panel-actions .download-button img { width: 25px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
