:root {
  --ink: #081126;
  --ink-soft: #1b2742;
  --muted: #66718a;
  --line: rgba(22, 35, 66, .11);
  --surface: #ffffff;
  --surface-soft: #f5f7fc;
  --primary: #6157e9;
  --primary-2: #7d73ff;
  --cyan: #43bddd;
  --warm: #ffae62;
  --night: #071026;
  --night-2: #101d43;
  --shadow-sm: 0 12px 34px rgba(17, 30, 65, .08);
  --shadow-md: 0 24px 70px rgba(16, 30, 68, .14);
  --shadow-lg: 0 40px 110px rgba(2, 10, 34, .38);
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: #fbfcff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
button, a { font: inherit; }
a { color: inherit; }
button { color: inherit; }
svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  transform: translateY(-150%);
  padding: 11px 16px;
  border-radius: 12px;
  color: #fff;
  background: var(--primary);
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.ambient { position: fixed; z-index: -3; border-radius: 999px; filter: blur(8px); pointer-events: none; }
.ambient-one { width: 510px; height: 510px; top: -260px; right: -170px; background: radial-gradient(circle, rgba(106, 91, 239, .15), transparent 69%); }
.ambient-two { width: 420px; height: 420px; top: 650px; left: -230px; background: radial-gradient(circle, rgba(67, 189, 221, .1), transparent 70%); }
.grain { position: fixed; inset: 0; z-index: 20; opacity: .022; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E"); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { background: rgba(251, 252, 255, .86); border-color: var(--line); box-shadow: 0 12px 40px rgba(15, 28, 61, .06); backdrop-filter: blur(18px); }
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; }
.brand-mark { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 15px; color: #fff; background: linear-gradient(145deg, var(--primary), #756aff 55%, var(--cyan)); box-shadow: 0 12px 26px rgba(97, 87, 233, .24); }
.brand-mark svg { width: 30px; height: 30px; stroke-width: 3; }
.brand-mark .brand-orbit { opacity: .65; stroke-width: 2; }
.brand-mark.small { width: 40px; height: 40px; border-radius: 13px; }
.brand-mark.small svg { width: 26px; height: 26px; }
.brand-copy { display: grid; gap: 2px; }
.brand-copy strong { font-size: 1.05rem; letter-spacing: .18em; }
.brand-copy small { color: var(--muted); font-size: .75rem; }
.header-actions { display: flex; align-items: center; gap: 13px; }
.status-chip { display: inline-flex; align-items: center; gap: 9px; color: #49536b; padding: 10px 13px; font-size: .8rem; font-weight: 700; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .72); }
.status-chip span { width: 7px; height: 7px; border-radius: 50%; background: #65c8a0; box-shadow: 0 0 0 5px rgba(101, 200, 160, .13); }

.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 18px; border: 0; border-radius: 14px; font-weight: 750; font-size: .91rem; text-decoration: none; cursor: pointer; transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease; }
.button svg { width: 19px; height: 19px; }
.button:not(:disabled):hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-2)); box-shadow: 0 16px 38px rgba(97, 87, 233, .26); }
.button-primary:not(:disabled):hover { box-shadow: 0 20px 46px rgba(97, 87, 233, .34); }
.button-ghost { color: var(--ink); border: 1px solid var(--line); background: rgba(255, 255, 255, .65); box-shadow: 0 10px 28px rgba(16, 30, 68, .06); }
.button-login { color: #9098aa; border: 1px solid rgba(20, 35, 70, .1); background: #eef1f8; cursor: not-allowed; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #6ec9ab; box-shadow: 0 0 0 0 rgba(110, 201, 171, .45); animation: pulse 2s infinite; }
@keyframes pulse { 65% { box-shadow: 0 0 0 8px rgba(110, 201, 171, 0); } 100% { box-shadow: 0 0 0 0 rgba(110, 201, 171, 0); } }

.hero { position: relative; padding: 155px 0 100px; min-height: 830px; overflow: clip; }
.hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 760px; z-index: -2; background: radial-gradient(circle at 75% 32%, rgba(111, 98, 245, .1), transparent 28%), linear-gradient(180deg, #f8f9ff, #fbfcff 80%, transparent); }
.hero-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 68px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px; color: #59637b; font-size: .75rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow span { width: 30px; height: 1px; background: linear-gradient(90deg, var(--primary), var(--cyan)); }
.hero h1, .section-heading h2, .closing h2 { margin: 0; letter-spacing: -.055em; line-height: .98; font-weight: 760; }
.hero h1 { max-width: 640px; font-size: clamp(3.6rem, 5.6vw, 6.05rem); }
.hero h1 em, .section-heading h2 em { color: var(--primary); font-style: normal; }
.hero-lead { max-width: 625px; margin: 28px 0 0; color: var(--muted); font-size: 1.07rem; line-height: 1.78; }
.hero-actions { display: flex; align-items: center; gap: 12px; margin-top: 34px; }
.hero-note { display: flex; align-items: center; gap: 11px; margin-top: 27px; color: #747e94; font-size: .82rem; }
.note-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; color: var(--primary); background: rgba(97, 87, 233, .08); }
.note-icon svg { width: 16px; height: 16px; }

.hero-stage { position: relative; height: 590px; perspective: 1100px; }
.stage-glow { position: absolute; width: 560px; height: 560px; top: 0; left: 50%; transform: translateX(-48%); border-radius: 50%; background: radial-gradient(circle, rgba(101, 88, 235, .17), rgba(67, 189, 221, .06) 42%, transparent 70%); filter: blur(4px); }
.orbit { position: absolute; border: 1px solid rgba(99, 87, 229, .12); border-radius: 50%; pointer-events: none; }
.orbit-one { width: 540px; height: 320px; left: 8%; top: 17%; transform: rotate(-18deg); }
.orbit-two { width: 390px; height: 500px; left: 22%; top: 6%; transform: rotate(36deg); }
.dashboard { position: absolute; top: 74px; right: 0; width: min(100%, 595px); border: 1px solid rgba(255, 255, 255, .7); border-radius: 29px; color: #eaf0ff; background: linear-gradient(155deg, rgba(18, 31, 69, .97), rgba(7, 16, 38, .98)); box-shadow: var(--shadow-lg); transform: rotateY(-5deg) rotateX(2deg); transform-style: preserve-3d; overflow: hidden; transition: transform .18s ease-out; }
.dashboard::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 72% 4%, rgba(120, 107, 255, .24), transparent 27%); }
.dashboard-topbar { position: relative; height: 66px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.mini-brand { display: flex; align-items: center; gap: 9px; font-size: .8rem; letter-spacing: .12em; }
.mini-brand-icon { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 8px; color: #fff; background: linear-gradient(135deg, var(--primary-2), var(--cyan)); font-size: .73rem; font-weight: 900; }
.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.dashboard-body { position: relative; min-height: 435px; display: grid; grid-template-columns: 62px 1fr; }
.dashboard-sidebar { padding: 22px 13px; border-right: 1px solid rgba(255, 255, 255, .06); }
.side-item { height: 36px; display: grid; place-items: center; margin-bottom: 10px; border-radius: 11px; }
.side-item i { width: 13px; height: 13px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 4px; }
.side-item.active { background: rgba(113, 99, 244, .17); }
.side-item.active i { border-color: #9a91ff; box-shadow: inset 0 0 0 3px rgba(154, 145, 255, .18); }
.dashboard-content { min-width: 0; padding: 25px 25px 27px; }
.dashboard-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.dashboard-date { color: #8e99b3; font-size: .67rem; text-transform: uppercase; letter-spacing: .13em; }
.dashboard-heading h2 { margin: 5px 0 0; color: #f7f9ff; font-size: 1.22rem; }
.completion-ring { --value: calc(var(--progress) * 1%); position: relative; width: 59px; height: 59px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(#7d72ff var(--value), rgba(255, 255, 255, .08) 0); }
.completion-ring::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: #111d3e; }
.completion-ring span { position: relative; font-size: .7rem; font-weight: 800; }
.summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 21px; }
.summary-card { min-width: 0; display: flex; align-items: center; gap: 10px; padding: 12px 11px; color: #eaf0ff; border: 1px solid rgba(255, 255, 255, .075); border-radius: 14px; background: rgba(255, 255, 255, .035); cursor: pointer; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.summary-card:hover, .summary-card.active { border-color: rgba(132, 120, 255, .34); background: rgba(111, 97, 244, .12); transform: translateY(-2px); }
.summary-icon { flex: 0 0 auto; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; }
.summary-icon svg { width: 15px; height: 15px; }
.summary-icon.blue { color: #89a8ff; background: rgba(90, 125, 245, .13); }
.summary-icon.violet { color: #a491ff; background: rgba(127, 98, 240, .13); }
.summary-icon.cyan { color: #6ad0e4; background: rgba(67, 189, 221, .12); }
.summary-card div { min-width: 0; }
.summary-card strong { display: block; font-size: .9rem; }
.summary-card small { display: block; margin-top: 1px; overflow: hidden; color: #8995ae; font-size: .56rem; white-space: nowrap; text-overflow: ellipsis; }
.task-panel { margin-top: 17px; padding: 16px; border: 1px solid rgba(255, 255, 255, .07); border-radius: 17px; background: rgba(255, 255, 255, .025); }
.task-panel.is-hidden { display: none; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 11px; }
.panel-heading strong { font-size: .8rem; }
.panel-heading span { color: #7f8ba4; font-size: .59rem; }
.task-row { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 47px; padding: 0 8px; color: #d7ddef; border-top: 1px solid rgba(255, 255, 255, .055); font-size: .69rem; }
.task-row:first-of-type { border-top: 0; }
.task-row button { width: 19px; height: 19px; padding: 0; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .2); border-radius: 7px; color: #fff; background: transparent; font-size: .57rem; cursor: pointer; }
.task-row.completed button { border-color: transparent; background: linear-gradient(135deg, #55c49b, #65d0a7); }
.task-row.completed span { color: #78849d; text-decoration: line-through; }
.task-row.current { margin-inline: -2px; padding-inline: 10px; border-radius: 11px; background: rgba(112, 99, 245, .09); }
.task-row.current button { border-color: #7e73ff; box-shadow: 0 0 0 3px rgba(126, 115, 255, .08); }
.task-row time { color: #73809a; font-size: .58rem; }
.agenda-row { display: grid; grid-template-columns: 42px minmax(0, 1fr) 8px; align-items: center; gap: 11px; min-height: 64px; border-top: 1px solid rgba(255, 255, 255, .055); }
.agenda-row:first-of-type { border-top: 0; }
.agenda-row time { color: #9790ff; font-size: .68rem; font-weight: 800; }
.agenda-row div { min-width: 0; }
.agenda-row strong, .agenda-row span { display: block; }
.agenda-row strong { font-size: .69rem; }
.agenda-row span { margin-top: 3px; color: #7d899f; font-size: .58rem; }
.agenda-row i { width: 6px; height: 6px; border-radius: 50%; background: #7d72ff; box-shadow: 0 0 0 5px rgba(125, 114, 255, .09); }
.knowledge-row { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: center; gap: 11px; min-height: 63px; border-top: 1px solid rgba(255, 255, 255, .055); }
.knowledge-row:first-of-type { border-top: 0; }
.knowledge-row > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; color: #a7a0ff; background: rgba(125, 114, 255, .1); font-size: .58rem; font-weight: 800; }
.knowledge-row strong, .knowledge-row small { display: block; }
.knowledge-row strong { overflow: hidden; font-size: .68rem; white-space: nowrap; text-overflow: ellipsis; }
.knowledge-row small { margin-top: 4px; color: #78859d; font-size: .56rem; }
.floating-card { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .75); border-radius: 16px; background: rgba(255, 255, 255, .9); box-shadow: var(--shadow-md); backdrop-filter: blur(15px); transition: transform .2s ease-out; }
.floating-card small, .floating-card strong { display: block; }
.floating-card small { color: #8a93a6; font-size: .58rem; }
.floating-card strong { margin-top: 2px; color: var(--ink); font-size: .72rem; }
.floating-icon { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 11px; color: var(--primary); background: rgba(97, 87, 233, .09); }
.floating-icon.warm { color: #f59b4e; background: rgba(255, 174, 98, .13); }
.floating-icon svg { width: 16px; height: 16px; }
.floating-reminder { top: 28px; right: 5px; }
.floating-streak { bottom: 26px; left: 35px; }

.experience { padding: 105px 0 115px; border-top: 1px solid var(--line); background: var(--surface); }
.section-heading { max-width: 760px; margin: 0 auto; text-align: center; }
.section-heading .eyebrow { justify-content: center; }
.section-heading h2 { font-size: clamp(2.7rem, 5vw, 4.9rem); }
.section-heading p { max-width: 690px; margin: 24px auto 0; color: var(--muted); line-height: 1.75; }
.feature-tabs { display: grid; grid-template-columns: .92fr 1.08fr; gap: 48px; align-items: stretch; margin-top: 62px; }
.tab-list { display: grid; gap: 10px; }
.feature-tab { width: 100%; min-height: 91px; display: grid; grid-template-columns: 42px minmax(0, 1fr) 24px; align-items: center; gap: 14px; padding: 16px 17px; border: 1px solid transparent; border-radius: 18px; text-align: left; background: transparent; cursor: pointer; transition: border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease; }
.feature-tab:hover { transform: translateX(3px); background: #f7f8fc; }
.feature-tab.active { border-color: var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.tab-number { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: #78839b; background: #f1f3f8; font-size: .68rem; font-weight: 850; }
.feature-tab.active .tab-number { color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-2)); box-shadow: 0 10px 22px rgba(97, 87, 233, .2); }
.feature-tab strong, .feature-tab small { display: block; }
.feature-tab strong { font-size: .98rem; }
.feature-tab small { margin-top: 5px; color: var(--muted); font-size: .76rem; line-height: 1.45; }
.feature-tab > svg { width: 18px; height: 18px; color: #a0a7b5; }
.feature-tab.active > svg { color: var(--primary); }
.feature-visual { min-height: 465px; padding: 12px; border: 1px solid var(--line); border-radius: 29px; background: linear-gradient(145deg, #f3f5fb, #e9edf6); box-shadow: inset 0 1px 0 #fff; }
.feature-panel { height: 100%; min-height: 439px; padding: 25px; border: 1px solid rgba(255, 255, 255, .88); border-radius: 22px; background: rgba(255, 255, 255, .85); box-shadow: 0 18px 40px rgba(24, 39, 76, .08); animation: panelIn .36s ease; }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.visual-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.visual-top span { font-size: 1rem; font-weight: 800; }
.visual-top i { color: #8a94a8; font-size: .7rem; font-style: normal; }
.visual-task { min-height: 75px; display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 13px; margin-top: 10px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.visual-task b { width: 25px; height: 25px; display: grid; place-items: center; border: 1px solid #ccd2df; border-radius: 8px; color: #fff; font-size: .65rem; }
.visual-task.completed b { border-color: transparent; background: #62c79f; }
.visual-task strong, .visual-task small { display: block; }
.visual-task strong { font-size: .78rem; }
.visual-task small { margin-top: 4px; color: #8a94a8; font-size: .66rem; }
.visual-task > span { padding: 7px 9px; color: #6c7589; border-radius: 999px; background: #f0f2f7; font-size: .59rem; font-weight: 750; }
.visual-task.completed > span { color: #278361; background: #e6f7ef; }
.visual-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 25px; padding: 16px 4px 0; border-top: 1px solid var(--line); }
.visual-footer span { display: flex; align-items: center; gap: 8px; color: #727d92; font-size: .7rem; }
.visual-footer span i { width: 44px; height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--primary) 72%, #e6e9f0 72%); }
.visual-footer strong { color: var(--primary); }
.calendar-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 20px; }
.calendar-strip b { min-height: 65px; display: grid; place-items: center; gap: 3px; padding: 9px; color: #8a93a6; border: 1px solid var(--line); border-radius: 13px; font-size: .55rem; }
.calendar-strip em { display: block; color: var(--ink); font-size: .88rem; font-style: normal; }
.calendar-strip b.active { color: #fff; border-color: transparent; background: linear-gradient(145deg, var(--primary), var(--primary-2)); box-shadow: 0 13px 26px rgba(97, 87, 233, .2); }
.calendar-strip b.active em { color: #fff; }
.timeline-item { min-height: 74px; display: grid; grid-template-columns: 44px 10px minmax(0, 1fr); align-items: center; gap: 12px; border-top: 1px solid var(--line); }
.timeline-item time { color: var(--primary); font-size: .68rem; font-weight: 800; }
.timeline-item > i { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 5px rgba(97, 87, 233, .09); }
.timeline-item strong, .timeline-item small { display: block; }
.timeline-item strong { font-size: .78rem; }
.timeline-item small { margin-top: 4px; color: #8a94a8; font-size: .65rem; }
.search-demo { min-height: 54px; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 0 14px; color: #8d96a9; border: 1px solid var(--line); border-radius: 14px; background: #f8f9fc; font-size: .7rem; }
.search-demo svg { width: 17px; height: 17px; }
.search-demo kbd { padding: 4px 7px; color: #7b8495; border: 1px solid var(--line); border-radius: 6px; background: #fff; font: inherit; font-size: .58rem; }
.knowledge-demo { min-height: 78px; display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; align-items: center; gap: 12px; border-top: 1px solid var(--line); }
.knowledge-demo > span { padding: 6px 8px; color: var(--primary); border-radius: 8px; background: rgba(97, 87, 233, .08); text-align: center; font-size: .55rem; font-weight: 800; }
.knowledge-demo strong, .knowledge-demo small { display: block; }
.knowledge-demo strong { font-size: .76rem; }
.knowledge-demo small { margin-top: 4px; color: #8b95a8; font-size: .63rem; }
.knowledge-demo > b { color: #9ba3b2; font-size: .9rem; }
.cycle-path { padding: 22px 10px; }
.cycle-step { display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: center; gap: 14px; }
.cycle-step > span { width: 39px; height: 39px; display: grid; place-items: center; border: 1px solid #d8dce5; border-radius: 50%; color: #929bad; background: #fff; font-size: .7rem; font-weight: 850; }
.cycle-step.complete > span { color: #fff; border-color: transparent; background: #60c69d; }
.cycle-step.active > span { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--primary), var(--primary-2)); box-shadow: 0 10px 24px rgba(97, 87, 233, .23); }
.cycle-step strong, .cycle-step small { display: block; }
.cycle-step strong { font-size: .8rem; }
.cycle-step small { margin-top: 4px; color: #8a94a8; font-size: .66rem; }
.cycle-path > i { width: 1px; height: 31px; display: block; margin: 4px 0 4px 19px; background: linear-gradient(#d6dae4, #eceef3); }
.cycle-message { display: flex; align-items: center; gap: 12px; margin-top: 15px; padding: 15px 16px; color: #5a657b; border: 1px solid rgba(86, 194, 151, .18); border-radius: 14px; background: #f1faf6; font-size: .69rem; line-height: 1.5; }
.cycle-message svg { flex: 0 0 auto; width: 19px; height: 19px; color: #46a67f; }

.principles { padding: 0 0 110px; background: #fff; }
.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-top: 36px; border-top: 1px solid var(--line); }
.principles article { display: flex; gap: 16px; padding: 23px; border: 1px solid var(--line); border-radius: 20px; background: #fff; transition: transform .22s ease, box-shadow .22s ease; }
.principles article:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.principle-icon { flex: 0 0 auto; width: 43px; height: 43px; display: grid; place-items: center; border-radius: 14px; color: var(--primary); background: rgba(97, 87, 233, .08); }
.principle-icon svg { width: 21px; height: 21px; }
.principles strong { font-size: .9rem; }
.principles p { margin: 7px 0 0; color: var(--muted); font-size: .76rem; line-height: 1.6; }

.closing { padding: 0 0 95px; background: #fff; }
.closing-card { position: relative; min-height: 360px; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 65px 72px; overflow: hidden; color: #fff; border-radius: var(--radius-lg); background: linear-gradient(130deg, #111c40, #080f24 70%); box-shadow: var(--shadow-lg); }
.closing-card::after { content: ""; position: absolute; width: 460px; height: 460px; right: -190px; top: -210px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 50%; box-shadow: 0 0 0 50px rgba(255, 255, 255, .018), 0 0 0 105px rgba(255, 255, 255, .014); }
.closing-glow { position: absolute; width: 450px; height: 330px; right: -80px; bottom: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(104, 91, 240, .55), transparent 65%); filter: blur(12px); }
.closing-card > *:not(.closing-glow) { position: relative; z-index: 2; }
.eyebrow.light { color: #abb5ce; }
.closing h2 { max-width: 670px; font-size: clamp(2.8rem, 5vw, 5.2rem); }
.closing p { margin: 22px 0 0; color: #aeb8cf; }
.closing-login { flex: 0 0 auto; color: rgba(255, 255, 255, .65); border-color: rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .08); }

.site-footer { color: #69748b; border-top: 1px solid var(--line); background: #f7f8fc; }
.footer-inner { min-height: 125px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 30px; font-size: .72rem; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand strong, .footer-brand small { display: block; }
.footer-brand strong { color: var(--ink); letter-spacing: .15em; }
.footer-brand small { margin-top: 3px; }
.footer-inner p { margin: 0; }

.progress-dialog { width: min(calc(100% - 30px), 510px); padding: 38px; color: var(--ink); border: 0; border-radius: 26px; box-shadow: var(--shadow-lg); }
.progress-dialog::backdrop { background: rgba(6, 13, 32, .66); backdrop-filter: blur(7px); }
.progress-dialog[open] { animation: dialogIn .24s ease; }
@keyframes dialogIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.dialog-close { position: absolute; top: 17px; right: 17px; width: 38px; height: 38px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 12px; color: #778196; background: #f1f3f8; cursor: pointer; }
.dialog-close svg { width: 18px; height: 18px; }
.dialog-icon { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 17px; color: var(--primary); background: rgba(97, 87, 233, .09); }
.dialog-icon svg { width: 25px; height: 25px; animation: rotateIcon 10s linear infinite; }
@keyframes rotateIcon { to { transform: rotate(360deg); } }
.dialog-kicker { color: var(--primary); font-size: .7rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.progress-dialog h2 { margin: 9px 0 12px; font-size: 1.85rem; letter-spacing: -.035em; }
.progress-dialog p { margin: 0; color: var(--muted); line-height: 1.65; }
.progress-track { height: 10px; margin-top: 25px; overflow: hidden; border-radius: 999px; background: #eceef4; }
.progress-track i { display: block; width: 68%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary), var(--primary-2), var(--cyan)); animation: shimmer 2.8s ease-in-out infinite alternate; }
@keyframes shimmer { from { filter: saturate(.9); } to { filter: saturate(1.25) brightness(1.05); } }
.progress-meta { display: flex; justify-content: space-between; gap: 16px; margin-top: 10px; color: #9099aa; font-size: .66rem; }
.progress-meta strong { color: #59637a; }
.dialog-action { width: 100%; margin-top: 26px; }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--reveal-delay, 0ms); }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

@media (max-width: 1050px) {
  .hero { padding-top: 135px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 35px; }
  .hero-copy { max-width: 760px; text-align: center; margin-inline: auto; }
  .hero-copy .eyebrow, .hero-actions, .hero-note { justify-content: center; }
  .hero-lead { margin-inline: auto; }
  .hero-stage { width: min(100%, 690px); height: 570px; margin-inline: auto; }
  .feature-tabs { grid-template-columns: 1fr; }
  .tab-list { grid-template-columns: repeat(2, 1fr); }
  .principles-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 24px), var(--container)); }
  .header-inner { min-height: 74px; }
  .brand-copy small, .status-chip { display: none; }
  .button-login { min-height: 43px; padding-inline: 13px; font-size: .76rem; }
  .button-login svg { width: 16px; height: 16px; }
  .hero { padding: 120px 0 65px; }
  .hero h1 { font-size: clamp(3rem, 13vw, 4.8rem); }
  .hero-lead { font-size: .98rem; }
  .hero-stage { height: 465px; transform: scale(.86); transform-origin: top center; margin-bottom: -50px; }
  .dashboard { right: 50%; width: 570px; transform: translateX(50%) rotateY(-4deg) rotateX(2deg); }
  .floating-reminder { right: -15px; }
  .floating-streak { left: -5px; }
  .experience { padding: 80px 0 85px; }
  .section-heading h2 { font-size: clamp(2.45rem, 11vw, 4rem); }
  .feature-tabs { margin-top: 42px; gap: 28px; }
  .tab-list { grid-template-columns: 1fr; }
  .feature-tab { min-height: 82px; }
  .feature-visual { min-height: 445px; }
  .feature-panel { min-height: 420px; padding: 18px; }
  .knowledge-demo { grid-template-columns: 62px minmax(0, 1fr) auto; }
  .closing { padding-bottom: 70px; }
  .closing-card { min-height: 410px; padding: 45px 28px; flex-direction: column; align-items: flex-start; justify-content: center; }
  .closing-login { width: 100%; }
  .footer-inner { min-height: 175px; grid-template-columns: 1fr; justify-items: center; gap: 12px; padding-block: 27px; text-align: center; }
}

@media (max-width: 520px) {
  .brand-mark { width: 41px; height: 41px; border-radius: 13px; }
  .brand-mark svg { width: 26px; height: 26px; }
  .brand-copy strong { font-size: .9rem; }
  .header-actions { gap: 7px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .hero-note { align-items: flex-start; text-align: left; }
  .hero-stage { height: 395px; transform: scale(.7); margin-bottom: -108px; }
  .feature-panel { min-height: 435px; }
  .visual-task { grid-template-columns: 28px minmax(0, 1fr); }
  .visual-task > span { display: none; }
  .knowledge-demo { grid-template-columns: minmax(0, 1fr) auto; padding-block: 10px; }
  .knowledge-demo > span { display: none; }
  .calendar-strip { gap: 5px; }
  .calendar-strip b { min-height: 58px; padding: 6px; }
  .progress-dialog { padding: 32px 23px 25px; }
  .progress-meta { flex-direction: column; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
