/* =========================================================
   员工管理系统 · 官网样式
   现代扁平 / 深色 Hero / 多端自适应
   ========================================================= */

:root {
  --ink: #0b1220;
  --ink-2: #101a2e;
  --text: #0f172a;
  --text-2: #475569;
  --text-3: #64748b;
  --line: #e6ebf2;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --brand: #165dff;
  --brand-2: #06b6d4;
  --grad: linear-gradient(120deg, #165dff 0%, #06b6d4 100%);
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, 0.18);
  --shadow-lg: 0 30px 60px -30px rgba(15, 23, 42, 0.35);
  --container: 1160px;
  --header-h: 68px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}

.container.narrow {
  max-width: 820px;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease,
    color 0.18s ease, border-color 0.18s ease;
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn-primary {
  color: #fff;
  background: var(--grad);
  box-shadow: 0 12px 24px -12px rgba(22, 93, 255, 0.65);
}

.btn-primary:hover {
  box-shadow: 0 16px 30px -12px rgba(22, 93, 255, 0.8);
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--text-2);
  border: 1px solid transparent;
}

.btn-ghost:hover {
  color: var(--brand);
  background: rgba(22, 93, 255, 0.06);
}

.btn-outline {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.1);
}

.btn-white {
  color: var(--brand);
  background: #fff;
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.5);
}

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

.btn-ghost-light {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-lg {
  height: 50px;
  padding: 0 26px;
  font-size: 15px;
}

/* ---------------- Header ---------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -18px rgba(15, 23, 42, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}

.brand-mark svg {
  border-radius: 9px;
  box-shadow: 0 8px 20px -10px rgba(22, 93, 255, 0.8);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  transition: color 0.25s ease;
}

.brand-text small {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.25s ease;
}

.site-header.scrolled .brand-text {
  color: var(--text);
}

.site-header.scrolled .brand-text small {
  color: var(--text-3);
}

.nav {
  display: flex;
  gap: 6px;
}

.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.site-header.scrolled .nav a {
  color: var(--text-2);
}

.site-header.scrolled .nav a:hover {
  color: var(--brand);
  background: rgba(22, 93, 255, 0.06);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-header:not(.scrolled) .header-actions .btn-ghost {
  color: rgba(255, 255, 255, 0.82);
}

.site-header:not(.scrolled) .header-actions .btn-ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.header-actions .btn-primary {
  height: 38px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease, background 0.25s ease;
}

.site-header.scrolled .nav-toggle span,
.site-header.menu-open .nav-toggle span {
  background: var(--text);
}

.site-header.menu-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.menu-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 22px 22px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 50px -30px rgba(15, 23, 42, 0.35);
}

.mobile-menu a {
  padding: 12px 10px;
  border-radius: 12px;
  font-size: 15px;
  color: var(--text-2);
}

.mobile-menu a:hover {
  background: var(--bg-soft);
  color: var(--brand);
}

.mobile-menu .btn {
  margin-top: 8px;
  color: #fff;
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 72px) 0 110px;
  background: radial-gradient(120% 120% at 15% 0%, #16224a 0%, var(--ink) 55%, #070d18 100%);
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
}

.orb-1 {
  width: 520px;
  height: 520px;
  top: -180px;
  right: -80px;
  background: radial-gradient(circle, rgba(22, 93, 255, 0.75), transparent 65%);
}

.orb-2 {
  width: 460px;
  height: 460px;
  bottom: -220px;
  left: -120px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.55), transparent 65%);
}

.grid-pattern {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(75% 65% at 50% 30%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(75% 65% at 50% 30%, #000 35%, transparent 100%);
}

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

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18);
}

.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(36px, 5.6vw, 60px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.grad-text {
  background: linear-gradient(100deg, #7dd3fc, #60a5fa 45%, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 520px;
  font-size: clamp(15px, 1.6vw, 17px);
  color: rgba(255, 255, 255, 0.72);
}

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

.hero-note {
  margin-top: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

/* Hero app mock */
.hero-visual {
  position: relative;
  min-height: 380px;
}

.app-mock {
  position: relative;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transition: transform 0.5s ease;
}

.hero-visual:hover .app-mock {
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg) translateY(-4px);
}

.mock-top {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.tl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.tl-dot:first-child {
  background: #f87171;
}

.tl-dot:nth-child(2) {
  background: #fbbf24;
}

.tl-dot:nth-child(3) {
  background: #34d399;
}

.mock-title {
  margin-left: 8px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
}

.mock-body {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  padding: 16px;
}

.mock-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
}

.side-item {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.side-item.active {
  background: var(--grad);
}

.mock-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mock-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mock-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.ms-label {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.5);
}

.ms-value {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.ms-trend {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.45);
}

.ms-trend.up {
  color: #34d399;
}

.mock-chart {
  display: flex;
  align-items: flex-end;
  gap: 9px;
  height: 110px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.bar {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 3px 3px;
  background: rgba(255, 255, 255, 0.18);
}

.bar.active {
  background: var(--grad);
  box-shadow: 0 8px 20px -8px rgba(22, 93, 255, 0.9);
}

.mock-rows {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.mock-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.6fr;
  gap: 12px;
}

.mock-row span {
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  box-shadow: var(--shadow);
  animation: floaty 5.5s ease-in-out infinite;
}

.float-card strong {
  display: block;
  font-size: 13.5px;
  line-height: 1.3;
}

.float-card small {
  font-size: 11.5px;
  color: var(--text-3);
}

.fc-ico {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: rgba(52, 211, 153, 0.14);
  color: #059669;
  font-size: 14px;
  font-weight: 700;
}

.float-a {
  top: 12%;
  left: -34px;
}

.float-b {
  bottom: 8%;
  right: -28px;
  animation-delay: -2.6s;
}

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

/* ---------------- Stats ---------------- */
.stats-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 34px 22px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
}

.stat strong {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat span {
  font-size: 13.5px;
  color: var(--text-3);
}

/* ---------------- Sections ---------------- */
.section {
  padding: clamp(72px, 9vw, 110px) 0;
}

.section-soft {
  background: var(--bg-soft);
}

.section-head {
  max-width: 640px;
  margin: 0 auto clamp(40px, 5vw, 60px);
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--brand);
  background: rgba(22, 93, 255, 0.08);
}

.section-head h2 {
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.section-head p {
  margin-top: 14px;
  color: var(--text-3);
  font-size: 15.5px;
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.feature-card {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(22, 93, 255, 0.35);
  box-shadow: var(--shadow);
}

.f-ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 13px;
  background: rgba(22, 93, 255, 0.08);
}

.f-ico svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--brand);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-3);
}

/* Advantages (dark) */
.section-dark {
  position: relative;
  background: radial-gradient(110% 130% at 85% 0%, #17224a 0%, var(--ink) 60%, #080e1b 100%);
  color: #fff;
  overflow: hidden;
}

.section-dark::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -160px;
  top: -200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.28), transparent 65%);
  filter: blur(30px);
  pointer-events: none;
}

.section-head.light p {
  color: rgba(255, 255, 255, 0.6);
}

.section-head.light .eyebrow {
  color: #7dd3fc;
  background: rgba(125, 211, 252, 0.12);
}

.adv-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.adv-card {
  padding: 26px 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}

.adv-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(125, 211, 252, 0.4);
  transform: translateY(-3px);
}

.a-num {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #38bdf8;
}

.adv-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.adv-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.62);
}

/* Flow */
.flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  list-style: none;
  counter-reset: flow;
}

.flow-item {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.flow-item::before {
  content: "";
  position: absolute;
  top: 60px;
  right: -22px;
  width: 22px;
  height: 2px;
  background: repeating-linear-gradient(90deg, #c7d2fe 0 6px, transparent 6px 12px);
}

.flow-item:last-child::before {
  display: none;
}

.flow-idx {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 13px;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 12px 22px -12px rgba(22, 93, 255, 0.8);
}

.flow-item h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.flow-item p {
  font-size: 14px;
  color: var(--text-3);
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 0 20px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
  border-color: rgba(22, 93, 255, 0.35);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 17px 30px 17px 0;
  font-size: 15.5px;
  font-weight: 600;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--text-3);
  border-bottom: 2px solid var(--text-3);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq-item p {
  padding: 0 0 18px;
  font-size: 14.5px;
  color: var(--text-2);
}

/* CTA */
.cta {
  padding: clamp(56px, 7vw, 84px) 0;
  background: var(--grad);
  color: #fff;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.cta h2 {
  font-size: clamp(24px, 3.2vw, 34px);
  letter-spacing: -0.02em;
  font-weight: 800;
}

.cta p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  background: #070d18;
  color: rgba(255, 255, 255, 0.65);
  padding: 56px 0 26px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 34px;
}

.brand-text.light {
  color: #fff;
}

.brand-text.light small {
  color: rgba(255, 255, 255, 0.45);
}

.footer-brand p {
  margin-top: 12px;
  font-size: 13.5px;
  max-width: 420px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.footer-links a:hover {
  color: #7dd3fc;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.42);
}

.icp-link {
  color: rgba(255, 255, 255, 0.42);
  transition: color 0.2s ease;
}

.icp-link:hover {
  color: rgba(255, 255, 255, 0.78);
}

/* Reveal（仅 JS 可用时启用，保证无 JS 环境内容可见） */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    max-width: 620px;
    min-height: 0;
  }

  .app-mock {
    transform: none;
  }

  .float-a {
    left: 4px;
  }

  .float-b {
    right: 4px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-header {
    background: rgba(11, 18, 32, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .mobile-menu.open {
    display: flex;
  }
}

@media (max-width: 720px) {
  .header-actions .btn-ghost {
    display: none;
  }

  .hide-sm {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 14px;
  }

  .flow {
    grid-template-columns: 1fr;
  }

  .flow-item::before {
    display: none;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-actions {
    width: 100%;
  }

  .cta-actions .btn {
    flex: 1;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: calc(var(--header-h) + 48px);
    padding-bottom: 76px;
  }

  .mock-stats {
    grid-template-columns: 1fr 1fr;
  }

  .mock-stat:nth-child(3) {
    display: none;
  }

  .float-card {
    display: none;
  }

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

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

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

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .float-card {
    animation: none;
  }

  .app-mock,
  .hero-visual:hover .app-mock {
    transform: none;
  }
}
