/* ============================================================
   Xanov Cloud — Premium Edition
   Тёмная тема, aurora-фон, стеклянные панели, плавные анимации
   ============================================================ */

:root {
  --bg: #05070f;
  --bg-2: #0a0e1c;
  --text: #edf1ff;
  --muted: #939fca;
  --muted-2: #6b77a3;
  --accent: #6d8bff;
  --accent-2: #8b7bff;
  --cyan: #5fd4f6;
  --good: #34d399;
  --danger: #ff6b7a;
  --stroke: rgba(168, 186, 255, 0.13);
  --stroke-soft: rgba(168, 186, 255, 0.09);
  --glass: rgba(146, 170, 255, 0.055);
  --glass-strong: rgba(146, 170, 255, 0.09);
  --radius: 20px;
  --radius-lg: 26px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --shadow-deep: 0 30px 90px rgba(0, 0, 0, 0.55);
  --grad-accent: linear-gradient(120deg, #5b7cfa 0%, #8b7bff 55%, #5fc9f6 120%);
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "SF Pro Display", system-ui, -apple-system, "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 15.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
[hidden] { display: none !important; }
::selection { background: rgba(109, 139, 255, 0.38); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(146, 170, 255, 0.16); border-radius: 20px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: rgba(146, 170, 255, 0.3); }
:focus-visible { outline: 2.5px solid rgba(126, 156, 255, 0.9); outline-offset: 3px; border-radius: 6px; }
button:disabled { cursor: not-allowed; opacity: 0.5; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.i { width: 18px; height: 18px; flex: none; }

/* ---------- Фоновая сцена ---------- */
.bg-scene { position: fixed; inset: 0; z-index: -2; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, #0b1128 0%, var(--bg) 55%); }
.aurora { position: absolute; border-radius: 50%; filter: blur(95px); opacity: 0.5; will-change: transform; }
.aurora-a { width: 62vw; height: 62vw; min-width: 560px; min-height: 560px; top: -22vw; left: -12vw; background: radial-gradient(circle at 40% 40%, rgba(91, 124, 250, 0.5), transparent 62%); animation: drift-a 38s ease-in-out infinite alternate; }
.aurora-b { width: 48vw; height: 48vw; min-width: 440px; min-height: 440px; top: -8vw; right: -16vw; background: radial-gradient(circle at 55% 45%, rgba(139, 123, 250, 0.42), transparent 62%); animation: drift-b 44s ease-in-out infinite alternate; }
.aurora-c { width: 52vw; height: 52vw; min-width: 460px; min-height: 460px; top: 68%; left: 28%; background: radial-gradient(circle at 50% 50%, rgba(48, 184, 220, 0.24), transparent 62%); animation: drift-c 52s ease-in-out infinite alternate; }
@keyframes drift-a { from { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); } to { transform: translate3d(9vw, 7vh, 0) rotate(22deg) scale(1.14); } }
@keyframes drift-b { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-8vw, 10vh, 0) scale(0.9); } }
@keyframes drift-c { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-10vw, -8vh, 0) scale(1.18); } }
.bg-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(168, 186, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(168, 186, 255, 0.05) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(90% 62% at 50% 0%, black 0%, transparent 78%); -webkit-mask-image: radial-gradient(90% 62% at 50% 0%, black 0%, transparent 78%); }
.bg-noise { position: absolute; inset: 0; opacity: 0.05; mix-blend-mode: overlay; }
.bg-noise svg { width: 100%; height: 100%; }
.bg-scene-app { opacity: 0.55; }

/* ---------- Прогресс скролла ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2.5px; z-index: 120; }
.scroll-progress span { display: block; height: 100%; width: 100%; background: var(--grad-accent); transform: scaleX(0); transform-origin: 0 50%; box-shadow: 0 0 14px rgba(109, 139, 255, 0.8); }

/* ---------- Шапка ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background 0.45s ease, border-color 0.45s ease, backdrop-filter 0.45s ease; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(6, 9, 20, 0.72); backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%); border-bottom-color: var(--stroke-soft); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; height: 92px; transition: height 0.45s var(--ease-out); }
.site-header.scrolled .header-inner { height: 66px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 13px; color: #fff; background: var(--grad-accent); box-shadow: 0 8px 28px rgba(91, 124, 250, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35); transition: transform 0.5s var(--ease-spring); }
.brand-mark svg { width: 20px; height: 20px; }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
.brand-name { font-size: 17px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; white-space: nowrap; }
.brand-name b { font-weight: 800; }
.brand-name small { display: block; margin-top: 2px; color: var(--muted-2); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { position: relative; color: var(--muted); font-size: 13.5px; font-weight: 600; padding: 6px 0; transition: color 0.25s ease; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--grad-accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.4s var(--ease-out); }
.site-nav a:hover { color: var(--text); }
.site-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 10px; }

/* ---------- Кнопки ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 12px 22px; border-radius: 13px; border: 1px solid transparent; font-size: 13.5px; font-weight: 700; letter-spacing: 0.01em; line-height: 1.3; text-align: center; white-space: nowrap; overflow: hidden; transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease, color 0.3s ease, filter 0.3s ease; }
.btn .i { width: 16px; height: 16px; transition: transform 0.35s var(--ease-spring); }
.btn:hover:not(:disabled) { transform: translateY(-2px); }
.btn:active:not(:disabled) { transform: translateY(0) scale(0.985); }
.btn-lg { min-height: 52px; padding: 14px 26px; font-size: 14px; border-radius: 15px; }
.btn-sm { min-height: 38px; padding: 8px 15px; font-size: 12px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn-primary { color: #fff; background: var(--grad-accent); box-shadow: 0 10px 34px rgba(97, 120, 250, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.28); }
.btn-primary:hover:not(:disabled) { box-shadow: 0 16px 46px rgba(97, 120, 250, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.28); filter: saturate(1.12); }
.btn-primary::after { content: ""; position: absolute; top: 0; bottom: 0; left: -80%; width: 55%; background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.42), transparent); transform: skewX(-22deg); transition: left 0.7s var(--ease-out); pointer-events: none; }
.btn-primary:hover:not(:disabled)::after { left: 135%; }
.btn-ghost { color: var(--text); background: var(--glass); border-color: var(--stroke); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn-ghost:hover { background: var(--glass-strong); border-color: rgba(168, 186, 255, 0.28); }
.btn-outline { color: #a9baff; background: transparent; border-color: rgba(126, 156, 255, 0.35); }
.btn-outline:hover { background: rgba(109, 139, 255, 0.1); border-color: rgba(126, 156, 255, 0.6); }
.btn-light { color: #101736; background: #fff; box-shadow: 0 10px 36px rgba(255, 255, 255, 0.18); }
.btn-light:hover { box-shadow: 0 14px 44px rgba(255, 255, 255, 0.28); }
.btn.is-loading { pointer-events: none; }
.btn.is-loading .i { display: none; }
.btn.is-loading::before { content: ""; width: 15px; height: 15px; flex: none; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Анимации появления ---------- */
@keyframes hero-in { from { opacity: 0; transform: translateY(34px); filter: blur(10px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }
.reveal-load { opacity: 0; animation: hero-in 1.05s var(--ease-out) both; }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.d-0 { animation-delay: 0.05s; transition-delay: 0s; }
.d-1 { animation-delay: 0.14s; transition-delay: 0.09s; }
.d-2 { animation-delay: 0.23s; transition-delay: 0.18s; }
.d-3 { animation-delay: 0.32s; transition-delay: 0.27s; }
.d-4 { animation-delay: 0.41s; transition-delay: 0.36s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 178px 0 90px; }
.hero-inner { display: grid; grid-template-columns: 1.04fr 0.96fr; align-items: center; gap: 44px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border: 1px solid rgba(126, 156, 255, 0.3); background: rgba(109, 139, 255, 0.09); border-radius: 100px; color: #c3d0f5; font-size: 12px; font-weight: 700; }
.pulse-dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); } 70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.hero h1 { margin: 26px 0 20px; font-size: clamp(38px, 5vw, 66px); line-height: 1.06; letter-spacing: -0.045em; font-weight: 800; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, #93b0ff 5%, #b79bff 45%, #6ee2f7 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { margin: 0 0 32px; max-width: 540px; font-size: 16px; line-height: 1.8; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 42px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.hero-facts li { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.hero-facts .i { width: 15px; height: 15px; color: var(--good); }

/* Hero-визуал */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 430px; perspective: 1200px; }
.orbit { position: absolute; border: 1px solid rgba(140, 165, 255, 0.12); border-radius: 50%; }
.orbit-1 { width: min(540px, 108%); height: min(540px, 108%); animation: orbit-breathe 9s ease-in-out infinite alternate; }
.orbit-2 { width: min(380px, 78%); height: min(380px, 78%); border-color: rgba(140, 165, 255, 0.18); animation: orbit-breathe 7s 0.8s ease-in-out infinite alternate-reverse; }
@keyframes orbit-breathe { from { transform: scale(0.98); opacity: 0.75; } to { transform: scale(1.04); opacity: 1; } }
.mockup { position: relative; width: min(430px, 100%); border-radius: var(--radius-lg); background: linear-gradient(165deg, rgba(24, 32, 62, 0.92), rgba(12, 17, 36, 0.94)); border: 1px solid rgba(168, 186, 255, 0.18); box-shadow: var(--shadow-deep), inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 0 90px rgba(97, 120, 250, 0.16); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform 0.25s ease-out; }
.mockup-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 56px; padding: 0 20px; border-bottom: 1px solid rgba(168, 186, 255, 0.1); color: var(--muted-2); font-size: 11px; font-weight: 600; }
.mockup-dots { display: flex; gap: 5px; }
.mockup-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(168, 186, 255, 0.18); }
.mockup-dots i:first-child { background: rgba(255, 130, 130, 0.55); }
.mockup-dots i:nth-child(2) { background: rgba(255, 210, 130, 0.5); }
.mockup-dots i:nth-child(3) { background: rgba(94, 226, 178, 0.55); }
.mockup-url { flex: 1; text-align: center; color: var(--muted); }
.mockup-lock { display: flex; align-items: center; gap: 5px; color: var(--good); font-weight: 700; }
.mockup-lock .i { width: 12px; height: 12px; }
.mockup-body { padding: 22px 20px; }
.mockup-file, .mockup-row { display: flex; align-items: center; gap: 13px; }
.mockup-file-icon { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 13px; color: #9db4ff; background: rgba(109, 139, 255, 0.13); border: 1px solid rgba(126, 156, 255, 0.22); }
.mockup-file-icon .i { width: 22px; height: 22px; }
.mockup-file-icon.done { color: #052b1e; background: linear-gradient(135deg, #4ee6ac, #2bd493); border: none; box-shadow: 0 4px 14px rgba(52, 211, 153, 0.45); }
.mockup-file-icon.done .i { width: 15px; height: 15px; }
.mockup-file-name { flex: 1; min-width: 0; }
.mockup-file-name b { display: block; font-size: 12.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mockup-file-name small { display: block; margin-top: 2px; color: var(--muted-2); font-size: 10.5px; }
.mockup-tag { padding: 5px 9px; border-radius: 7px; font-size: 10px; font-weight: 800; letter-spacing: 0.06em; color: #9db4ff; background: rgba(109, 139, 255, 0.14); border: 1px solid rgba(126, 156, 255, 0.24); }
.mockup-tag-up { color: #7ce9c0; background: rgba(52, 211, 153, 0.12); border-color: rgba(52, 211, 153, 0.3); }
.mockup-progress { height: 7px; margin: 18px 0; border-radius: 20px; background: rgba(146, 170, 255, 0.1); overflow: hidden; }
.mockup-progress-bar { display: block; height: 100%; border-radius: 20px; background: var(--grad-accent); box-shadow: 0 0 16px rgba(109, 139, 255, 0.8); animation: bar-loop 4.2s var(--ease-out) infinite; }
@keyframes bar-loop { 0% { width: 4%; } 55% { width: 74%; } 82% { width: 96%; } 92%, 100% { width: 100%; } }
.mockup-storage { display: block; margin-top: 20px; padding: 14px 15px; border-radius: 13px; background: rgba(146, 170, 255, 0.06); border: 1px solid var(--stroke-soft); }
.mockup-storage-head { display: flex; justify-content: space-between; margin-bottom: 9px; font-size: 11px; color: var(--muted); }
.mockup-storage-head b { color: var(--text); font-size: 12px; }
.mockup-storage-bar { display: block; height: 7px; border-radius: 20px; background: rgba(146, 170, 255, 0.12); overflow: hidden; }
.mockup-storage-bar i { display: block; width: 68%; height: 100%; border-radius: 20px; background: var(--grad-accent); box-shadow: 0 0 14px rgba(109, 139, 255, 0.6); }
.float-chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 11px 15px; border-radius: 13px; font-size: 11.5px; font-weight: 800; color: var(--text); background: rgba(16, 22, 46, 0.85); border: 1px solid rgba(168, 186, 255, 0.2); box-shadow: 0 16px 44px rgba(0, 0, 0, 0.5); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.float-chip .i { width: 15px; height: 15px; color: var(--accent); }
.chip-a { top: 26px; right: 2%; animation: float-y 6s ease-in-out infinite; }
.chip-a .i { color: #f5c26b; }
.chip-b { bottom: 22px; left: 0%; animation: float-y 7s 1.2s ease-in-out infinite; }
.chip-b .i { color: var(--good); }
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Бегущая строка ---------- */
.marquee { overflow: hidden; padding: 6px 0 10px; mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { color: var(--muted-2); font-size: 12px; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; white-space: nowrap; }
.marquee-track i { color: rgba(109, 139, 255, 0.4); font-style: normal; font-size: 8px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Секции ---------- */
.features-section { padding: 108px 0 30px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; margin-bottom: 38px; }
.kicker { display: block; margin-bottom: 13px; color: #8fa7ff; font-size: 11px; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; }
.section-head h2 { margin: 0; font-size: clamp(27px, 3.2vw, 40px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.18; }
.section-head p { margin: 12px 0 0; color: var(--muted); font-size: 14.5px; max-width: 520px; }
.section-index { color: var(--muted-2); font-size: 11px; font-weight: 800; letter-spacing: 0.2em; white-space: nowrap; padding-bottom: 8px; }

/* Карточки (возможности) */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.adv-card { position: relative; padding: 30px 28px 32px; border-radius: var(--radius); border: 1px solid var(--stroke-soft); background: linear-gradient(170deg, rgba(20, 27, 54, 0.55), rgba(10, 14, 30, 0.7)); transition: transform 0.5s var(--ease-out), border-color 0.4s ease, box-shadow 0.5s ease; }
.adv-card::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(150deg, rgba(126, 156, 255, 0.55), rgba(139, 123, 250, 0.3) 45%, transparent 75%); -webkit-mask: linear-gradient(black 0 0) content-box, linear-gradient(black 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.5s ease; pointer-events: none; }
.adv-card:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45); }
.adv-card:hover::after { opacity: 1; }
.adv-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 14px; color: #fff; background: var(--grad-accent); box-shadow: 0 10px 30px rgba(97, 120, 250, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3); transition: transform 0.5s var(--ease-spring); }
.adv-icon .i { width: 22px; height: 22px; }
.adv-card:hover .adv-icon { transform: rotate(-7deg) scale(1.08); }
.adv-card h3 { margin: 0 0 10px; font-size: 16.5px; font-weight: 800; letter-spacing: -0.02em; }
.adv-card p { margin: 0; color: var(--muted); font-size: 12.8px; line-height: 1.8; }

/* ---------- Цифры ---------- */
.stats-band { padding: 64px 0 8px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { position: relative; padding: 28px 26px; border-radius: var(--radius); border: 1px solid var(--stroke-soft); background: linear-gradient(170deg, rgba(20, 27, 54, 0.55), rgba(10, 14, 30, 0.7)); overflow: hidden; }
.stat::before { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 60% at 50% -10%, rgba(109, 139, 255, 0.14), transparent 70%); opacity: 0; transition: opacity 0.5s ease; }
.stat:hover::before { opacity: 1; }
.stat-value { display: block; font-size: 40px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; background: linear-gradient(110deg, #fff 30%, #9db4ff 75%, #6ee2f7); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat-label { display: block; margin-top: 9px; color: var(--muted); font-size: 12.5px; font-weight: 600; }

/* ---------- Безопасность ---------- */
.security-section { padding: 96px 0 20px; }
.security-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center; }
.security-copy h2 { margin: 0 0 12px; font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.2; }
.security-copy > p { margin: 0 0 24px; color: var(--muted); font-size: 14.5px; max-width: 480px; }
.security-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 13px; }
.security-list li { display: flex; align-items: center; gap: 11px; color: #c6d1f1; font-size: 13.5px; font-weight: 600; }
.security-list .i { width: 16px; height: 16px; color: var(--good); }
.security-card { padding: 34px; border-radius: var(--radius-lg); border: 1px solid var(--stroke); background: linear-gradient(170deg, rgba(20, 27, 54, 0.72), rgba(10, 14, 30, 0.82)); box-shadow: var(--shadow-deep), inset 0 1px 0 rgba(255, 255, 255, 0.06); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); }
.security-shield { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 18px; color: #fff; background: var(--grad-accent); box-shadow: 0 14px 40px rgba(97, 120, 250, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3); margin-bottom: 22px; }
.security-shield svg { width: 30px; height: 30px; }
.security-rows { display: grid; gap: 12px; }
.security-rows span { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--stroke-soft); background: rgba(109, 139, 255, 0.05); font-size: 12px; }
.security-rows b { color: var(--muted-2); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; font-size: 10.5px; }
.security-rows i { color: #c6d1f1; font-style: normal; font-weight: 750; }

/* ---------- Тарифы ---------- */
.pricing-section { padding: 96px 0 30px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 32px 30px; border-radius: var(--radius-lg); border: 1px solid var(--stroke-soft); background: linear-gradient(170deg, rgba(20, 27, 54, 0.55), rgba(10, 14, 30, 0.7)); transition: transform 0.5s var(--ease-out), border-color 0.4s ease, box-shadow 0.5s ease; }
.price-card:hover { transform: translateY(-6px); border-color: rgba(126, 156, 255, 0.3); box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45); }
.price-card.featured { border-color: rgba(126, 156, 255, 0.5); background: linear-gradient(170deg, rgba(30, 39, 78, 0.8), rgba(13, 18, 40, 0.9)); box-shadow: 0 24px 70px rgba(97, 120, 250, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.price-flag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 5px 14px; border-radius: 100px; font-size: 10.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: var(--grad-accent); box-shadow: 0 8px 22px rgba(97, 120, 250, 0.5); }
.price-name { color: #8fa7ff; font-size: 12px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; }
.price-amount { display: block; margin: 14px 0 4px; font-size: 42px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; }
.price-amount small { font-size: 14px; color: var(--muted-2); font-weight: 600; letter-spacing: 0; }
.price-desc { color: var(--muted); font-size: 12.5px; margin-bottom: 20px; }
.price-list { margin: 0 0 26px; padding: 0; list-style: none; display: grid; gap: 11px; flex: 1; }
.price-list li { display: flex; align-items: center; gap: 10px; color: #c6d1f1; font-size: 13px; font-weight: 550; }
.price-list li::before { content: ""; width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--grad-accent); box-shadow: 0 0 8px rgba(109, 139, 255, 0.8); }

/* ---------- FAQ ---------- */
.faq-section { padding: 96px 0 30px; }
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--stroke-soft); border-radius: 17px; background: linear-gradient(170deg, rgba(20, 27, 54, 0.5), rgba(10, 14, 30, 0.65)); transition: border-color 0.35s ease, background 0.35s ease; }
.faq-item.open { border-color: rgba(126, 156, 255, 0.4); background: rgba(109, 139, 255, 0.06); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 20px 22px; border: 0; background: transparent; color: var(--text); font-size: 14.5px; font-weight: 700; text-align: left; letter-spacing: -0.01em; }
.faq-icon { position: relative; width: 30px; height: 30px; flex: none; border-radius: 9px; border: 1px solid rgba(126, 156, 255, 0.35); background: rgba(109, 139, 255, 0.08); transition: transform 0.5s var(--ease-spring), background 0.3s ease; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 11px; height: 1.8px; border-radius: 2px; background: #9db4ff; transform: translate(-50%, -50%); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .faq-icon { transform: rotate(135deg); background: rgba(109, 139, 255, 0.18); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.55s var(--ease-out); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a-inner p { margin: 0; padding: 0 58px 22px 22px; color: var(--muted); font-size: 13.5px; line-height: 1.85; }

/* ---------- CTA и футер ---------- */
.cta-wrap { padding: 90px 0 100px; }
.bottom-cta { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 26px; padding: 46px 48px; border-radius: 28px; border: 1px solid rgba(126, 156, 255, 0.3); background: linear-gradient(120deg, #1a2450 0%, #141b3d 55%, #1c1f4e 100%); overflow: hidden; }
.bottom-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 120% at 85% 0%, rgba(109, 139, 255, 0.3), transparent 60%), radial-gradient(50% 90% at 8% 100%, rgba(139, 123, 250, 0.22), transparent 60%); pointer-events: none; }
.bottom-cta > * { position: relative; }
.cta-tag { color: #9db4ff; font-size: 10.5px; font-weight: 800; letter-spacing: 0.24em; text-transform: uppercase; }
.bottom-cta h2 { margin: 8px 0 4px; font-size: clamp(21px, 2.4vw, 28px); font-weight: 800; letter-spacing: -0.03em; }
.bottom-cta p { margin: 0; color: #a9b8dd; font-size: 13px; }
.footer { padding: 40px 0 46px; border-top: 1px solid var(--stroke-soft); background: rgba(6, 9, 20, 0.6); }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 11px; font-size: 16.5px; font-weight: 800; letter-spacing: -0.03em; }
.footer-mark { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; color: #fff; background: var(--grad-accent); box-shadow: 0 6px 20px rgba(97, 120, 250, 0.4); }
.footer-mark svg { width: 15px; height: 15px; }
.footer-left p { margin: 12px 0 0; color: var(--muted-2); font-size: 12px; }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; color: var(--muted-2); font-size: 12px; }

/* ---------- Сообщения и тост ---------- */
.message { margin-top: 16px; padding: 13px 16px; border-radius: 12px; font-size: 12.5px; font-weight: 600; animation: panel-in 0.4s var(--ease-out) both; }
.message.error { border: 1px solid rgba(255, 107, 122, 0.35); background: rgba(255, 107, 122, 0.09); color: #ffa3ad; }
@keyframes panel-in { from { opacity: 0; transform: translateY(16px) scale(0.995); filter: blur(4px); } to { opacity: 1; transform: none; filter: blur(0); } }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 200; display: flex; align-items: center; gap: 10px; padding: 13px 20px; border-radius: 14px; border: 1px solid rgba(126, 156, 255, 0.35); background: rgba(14, 20, 42, 0.92); color: var(--text); font-size: 13px; font-weight: 700; white-space: nowrap; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55), 0 0 40px rgba(97, 120, 250, 0.2); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); animation: toast-in 0.55s var(--ease-spring) both; }
.toast .i { width: 15px; height: 15px; color: var(--good); }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 18px) scale(0.94); } to { opacity: 1; transform: translate(-50%, 0) scale(1); } }

/* ---------- Формы (auth) ---------- */
.form-block { margin-top: 18px; }
.field-label { display: block; margin-bottom: 9px; color: #c6d1f1; font-size: 12.5px; font-weight: 750; }
.field-control { width: 100%; min-height: 48px; padding: 12px 15px; border: 1px solid var(--stroke); border-radius: 13px; background: rgba(8, 12, 26, 0.6); color: var(--text); font-size: 13.5px; outline: none; transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease; }
.field-control::placeholder { color: var(--muted-2); }
.field-control:hover { border-color: rgba(168, 186, 255, 0.26); }
.field-control:focus { border-color: rgba(126, 156, 255, 0.75); box-shadow: 0 0 0 4px rgba(109, 139, 255, 0.14); background: rgba(8, 12, 26, 0.85); }

/* ---------- Auth-страницы ---------- */
.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 120px 20px 60px; }
.auth-card { position: relative; width: min(470px, 100%); padding: 40px 38px 34px; border-radius: 28px; border: 1px solid var(--stroke); background: linear-gradient(170deg, rgba(20, 27, 54, 0.82), rgba(10, 14, 30, 0.9)); box-shadow: var(--shadow-deep), inset 0 1px 0 rgba(255, 255, 255, 0.07); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); animation: panel-in 0.7s var(--ease-out) both; }
.auth-brand { margin-bottom: 26px; }
.auth-title { margin: 0 0 6px; font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.auth-sub { margin: 0 0 22px; color: var(--muted); font-size: 13.5px; }
.auth-submit { margin-top: 22px; min-height: 50px; }
.auth-alt { margin: 22px 0 0; color: var(--muted); font-size: 13px; text-align: center; }
.auth-back { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; margin: 26px auto 0; width: fit-content; color: var(--muted-2); font-size: 12px; font-weight: 700; transition: color 0.25s ease; }
.auth-back:hover { color: var(--text); }
.auth-back .i { width: 14px; height: 14px; transition: transform 0.35s var(--ease-spring); }
.auth-back:hover .i { transform: translateX(-3px); }
.pw-wrap { position: relative; display: block; }
.pw-wrap .field-control { padding-right: 48px; }
.pw-toggle { position: absolute; top: 50%; right: 8px; transform: translateY(-50%); width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 10px; background: transparent; color: var(--muted); transition: color 0.25s ease, background 0.25s ease; }
.pw-toggle:hover { color: var(--text); background: rgba(146, 170, 255, 0.08); }
.pw-toggle .i { width: 17px; height: 17px; }
.pw-meter { display: block; margin-top: 10px; height: 5px; border-radius: 20px; background: rgba(146, 170, 255, 0.12); overflow: hidden; }
.pw-meter i { display: block; width: 0%; height: 100%; border-radius: 20px; background: var(--danger); transition: width 0.45s var(--ease-out), background 0.45s ease; }
.pw-hint { display: block; margin-top: 8px; color: var(--muted-2); font-size: 11px; }
.check-row { display: flex; align-items: flex-start; gap: 11px; margin-top: 20px; cursor: pointer; color: #c6d1f1; font-size: 12.5px; line-height: 1.55; }
.check-row input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.check-box { width: 20px; height: 20px; flex: none; display: grid; place-items: center; margin-top: 1px; border-radius: 7px; border: 1.5px solid rgba(126, 156, 255, 0.45); background: rgba(109, 139, 255, 0.07); transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease-spring); }
.check-box .i { width: 12px; height: 12px; color: #fff; opacity: 0; transform: scale(0.4); transition: opacity 0.25s ease, transform 0.35s var(--ease-spring); }
.check-row:hover .check-box { border-color: rgba(126, 156, 255, 0.75); }
.check-row input:checked + .check-box { background: var(--grad-accent); border-color: transparent; box-shadow: 0 5px 16px rgba(97, 120, 250, 0.45); }
.check-row input:checked + .check-box .i { opacity: 1; transform: scale(1); }
.check-row input:focus-visible + .check-box { outline: 2.5px solid rgba(126, 156, 255, 0.9); outline-offset: 2px; }
.plan-pill { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 7px 14px; border-radius: 100px; border: 1px solid rgba(126, 156, 255, 0.4); background: rgba(109, 139, 255, 0.12); color: #b9c8f5; font-size: 12px; font-weight: 750; }
.plan-pill .i { width: 14px; height: 14px; }
.success-panel { text-align: center; padding: 18px 0 8px; animation: panel-in 0.6s var(--ease-out) both; }
.success-icon { width: 64px; height: 64px; display: grid; place-items: center; margin: 0 auto 20px; border-radius: 50%; color: #052b1e; background: linear-gradient(135deg, #4ee6ac, #2bd493); box-shadow: 0 14px 44px rgba(52, 211, 153, 0.5); }
.success-icon .i { width: 28px; height: 28px; }
.success-panel h2 { margin: 0 0 8px; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.success-panel p { margin: 0 0 6px; color: var(--muted); font-size: 13.5px; line-height: 1.7; }
.success-panel b { color: var(--text); }
.success-note { color: var(--muted-2) !important; font-size: 11.5px !important; }
.success-bar { display: block; margin: 18px auto 4px; width: 70%; height: 6px; border-radius: 20px; background: rgba(146, 170, 255, 0.12); overflow: hidden; }
.success-bar i { display: block; height: 100%; width: 0; border-radius: 20px; background: var(--grad-accent); transition: width 0.2s linear; }
.auth-success-btn { margin-top: 18px; }

/* ---------- Приложение (дашборд) ---------- */
.app-body { overflow: hidden; }
.app-shell { display: grid; grid-template-columns: 272px 1fr; min-height: 100vh; }
.app-sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 20px; padding: 26px 20px 20px; border-right: 1px solid var(--stroke-soft); background: rgba(8, 12, 26, 0.55); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.app-brand { margin-bottom: 6px; }
.side-nav { display: grid; gap: 5px; }
.side-link { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border: 1px solid transparent; border-radius: 12px; background: transparent; color: var(--muted); font-size: 13.5px; font-weight: 650; text-align: left; transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease; }
.side-link .i { width: 17px; height: 17px; }
.side-link:hover { color: var(--text); background: rgba(146, 170, 255, 0.06); }
.side-link.active { color: #fff; background: linear-gradient(160deg, rgba(109, 139, 255, 0.18), rgba(139, 123, 250, 0.12)); border-color: rgba(126, 156, 255, 0.35); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.storage-card { margin-top: auto; padding: 16px; border-radius: 16px; border: 1px solid var(--stroke-soft); background: rgba(109, 139, 255, 0.06); }
.storage-head { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 10.5px; color: var(--muted-2); }
.storage-head b { color: var(--text); font-size: 12px; }
.storage-bar { display: block; height: 7px; border-radius: 20px; background: rgba(146, 170, 255, 0.12); overflow: hidden; }
.storage-bar i { display: block; width: 68%; height: 100%; border-radius: 20px; background: var(--grad-accent); box-shadow: 0 0 14px rgba(109, 139, 255, 0.6); transition: width 0.8s var(--ease-out); }
.storage-btn { width: 100%; margin-top: 13px; }
.side-user { display: flex; align-items: center; gap: 11px; padding: 12px; border-radius: 14px; border: 1px solid var(--stroke-soft); background: rgba(8, 12, 26, 0.6); }
.side-avatar { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 10px; color: #fff; font-weight: 800; font-size: 14px; background: var(--grad-accent); }
.side-user-name { flex: 1; min-width: 0; }
.side-user-name b { display: block; font-size: 12.5px; }
.side-user-name small { display: block; color: var(--muted-2); font-size: 10.5px; }
.side-exit { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border: 1px solid var(--stroke-soft); border-radius: 9px; background: transparent; color: var(--muted); transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease; }
.side-exit:hover { color: var(--danger); border-color: rgba(255, 107, 122, 0.4); transform: translateX(2px); }
.side-exit .i { width: 15px; height: 15px; }
.app-main-col { display: flex; flex-direction: column; min-width: 0; }
.app-topbar { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 14px; height: 76px; padding: 0 30px; border-bottom: 1px solid var(--stroke-soft); background: rgba(6, 9, 20, 0.7); backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%); }
.app-search { flex: 1; max-width: 460px; display: flex; align-items: center; gap: 10px; padding: 0 15px; height: 42px; border-radius: 12px; border: 1px solid var(--stroke); background: rgba(8, 12, 26, 0.6); color: var(--muted); transition: border-color 0.25s ease, box-shadow 0.25s ease; }
.app-search:focus-within { border-color: rgba(126, 156, 255, 0.75); box-shadow: 0 0 0 4px rgba(109, 139, 255, 0.14); }
.app-search .i { width: 16px; height: 16px; }
.app-search input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; color: var(--text); font-size: 13px; }
.app-search input::placeholder { color: var(--muted-2); }
.app-main { padding: 30px; }
.app-title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.app-title-row h1 { margin: 0; font-size: 23px; font-weight: 800; letter-spacing: -0.03em; }
.app-count { color: var(--muted-2); font-size: 12px; font-weight: 650; }
.file-table { border: 1px solid var(--stroke-soft); border-radius: 18px; background: linear-gradient(170deg, rgba(20, 27, 54, 0.5), rgba(10, 14, 30, 0.65)); overflow: hidden; }
.file-row { display: grid; grid-template-columns: minmax(0, 1fr) 110px 130px; align-items: center; gap: 14px; padding: 13px 18px; border-bottom: 1px solid rgba(168, 186, 255, 0.06); transition: background 0.25s ease; animation: row-in 0.5s var(--ease-out) both; }
.file-row:last-of-type { border-bottom: 0; }
@keyframes row-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.file-row:hover { background: rgba(109, 139, 255, 0.05); }
.file-head { padding: 11px 18px; color: var(--muted-2); font-size: 10.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; background: rgba(8, 12, 26, 0.5); }
.file-cell-name { display: flex; align-items: center; gap: 12px; min-width: 0; font-size: 13px; font-weight: 650; }
.file-cell-name > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-ico { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 10px; background: rgba(109, 139, 255, 0.12); border: 1px solid rgba(126, 156, 255, 0.22); color: #9db4ff; }
.file-ico .i { width: 16px; height: 16px; }
.file-ico.video { color: #c9a9ff; background: rgba(139, 123, 250, 0.13); border-color: rgba(139, 123, 250, 0.25); }
.file-ico.pdf { color: #ff9db0; background: rgba(255, 107, 122, 0.1); border-color: rgba(255, 107, 122, 0.22); }
.file-ico.zip { color: #f5c26b; background: rgba(245, 194, 107, 0.1); border-color: rgba(245, 194, 107, 0.22); }
.file-row > span:nth-child(2), .file-row > span:nth-child(3) { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.file-empty { padding: 34px; text-align: center; color: var(--muted-2); font-size: 13px; }
.row-progress { grid-column: 1 / -1; height: 4px; border-radius: 20px; background: rgba(146, 170, 255, 0.12); overflow: hidden; }
.row-progress i { display: block; height: 100%; width: 0; border-radius: 20px; background: var(--grad-accent); box-shadow: 0 0 10px rgba(109, 139, 255, 0.7); transition: width 0.15s linear; }
.drop-overlay { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 24px; background: rgba(5, 7, 15, 0.75); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.drop-overlay-card { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 44px 60px; border-radius: 26px; border: 2px dashed rgba(126, 156, 255, 0.6); background: rgba(16, 22, 46, 0.85); font-size: 15px; font-weight: 750; box-shadow: 0 0 80px rgba(97, 120, 250, 0.3); animation: panel-in 0.3s var(--ease-out) both; }
.drop-overlay-card .i { width: 40px; height: 40px; color: #9db4ff; animation: float-y 1.6s ease-in-out infinite; }

/* ---------- Адаптив ---------- */
@media (max-width: 1060px) {
  .hero-inner { grid-template-columns: 1fr; gap: 20px; }
  .hero { padding-top: 150px; }
  .hero-copy { max-width: 640px; }
  .hero-visual { min-height: 400px; margin-top: 12px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .price-card.featured { order: -1; }
  .site-nav { display: none; }
  .security-inner { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 780px) {
  .container { width: min(100% - 36px, 620px); }
  .header-inner { height: 74px; }
  .site-header.scrolled .header-inner { height: 60px; }
  .header-login { display: none; }
  .hero { padding: 128px 0 60px; }
  .hero h1 { font-size: clamp(34px, 8.4vw, 46px); }
  .hero-visual { min-height: 360px; transform: scale(0.92); margin: -6px 0 -20px; }
  .chip-a { right: -2px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 28px; }
  .section-index { padding-bottom: 0; }
  .steps { grid-template-columns: 1fr; }
  .bottom-cta { flex-direction: column; align-items: flex-start; padding: 32px 28px; }
  .footer-inner { flex-direction: column; }
  .footer-right { align-items: flex-start; }
  .app-shell { grid-template-columns: 1fr; }
  .app-sidebar { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px; border-right: 0; border-bottom: 1px solid var(--stroke-soft); padding: 14px 16px; }
  .side-nav { display: none; }
  .storage-card { display: none; }
  .side-user { margin-left: auto; }
  .app-topbar { padding: 0 16px; }
  .app-main { padding: 20px 16px; }
  .file-row { grid-template-columns: minmax(0, 1fr) 80px; }
  .file-row > span:nth-child(3) { display: none; }
  .file-head > span:nth-child(3) { display: none; }
}
@media (max-width: 500px) {
  .container { width: calc(100% - 30px); }
  .brand-mark { width: 37px; height: 37px; }
  .brand-name { font-size: 15px; }
  .hero { padding-top: 112px; }
  .hero-actions .btn { flex: 1; min-width: 0; padding: 13px 14px; font-size: 12.5px; }
  .hero-facts { gap: 8px 16px; font-size: 11.5px; }
  .hero-visual { transform: scale(0.8); min-height: 350px; margin: -20px 0 -40px; }
  .float-chip { padding: 9px 12px; font-size: 10.5px; }
  .chip-a { top: 0; right: -2px; }
  .chip-b { bottom: 0; left: -2px; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-value { font-size: 34px; }
  .faq-a-inner p { padding-right: 22px; }
  .auth-wrap { padding: 96px 14px 40px; }
  .auth-card { padding: 30px 22px 26px; }
  .file-row { grid-template-columns: minmax(0, 1fr) 66px; gap: 10px; padding: 12px 12px; }
  .drop-overlay-card { padding: 32px 34px; font-size: 13.5px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal-load, .reveal { opacity: 1; transform: none; filter: none; }
  .mockup-progress-bar, .marquee-track, .aurora { animation: none !important; }
  .mockup-progress-bar { width: 74%; }
}
