:root {
   --navy-950: #07142b;
   --navy-900: #0a1a38;
   --navy-850: #0c2147;
   --navy-800: #102957;
   --blue-500: #2f6bff;
   --blue-400: #4f86ff;
   --blue-300: #8bb2ff;
   --cyan-300: #7fd6ff;
   --white: #ffffff;

   --base: #f3f6fb;
   --surface-1: #ffffff;
   --surface-2: #eaf1fb;
   --surface-3: #f8fbff;

   --text: #0e1b33;
   --text-secondary: #5e6c84;
   --text-muted: #8c98ac;

   --border: rgba(20, 39, 78, 0.08);
   --border-hover: rgba(47, 107, 255, 0.18);
   --border-strong: rgba(47, 107, 255, 0.18);

   --green: #1dbb84;
   --danger: #ef5a6f;

   --accent: var(--blue-500);
   --accent-light: var(--blue-400);
   --accent-soft: rgba(47, 107, 255, 0.08);
   --green-soft: rgba(29, 187, 132, 0.1);
   --green-border: rgba(29, 187, 132, 0.22);
   --danger-soft: rgba(239, 90, 111, 0.1);

   --bg: var(--base);
   --card: var(--surface-1);
   --primary: var(--navy-900);
   --primary-light: var(--navy-800);

   --shadow-card: 0 10px 30px rgba(18, 35, 74, 0.07);
   --shadow-soft: 0 18px 50px rgba(18, 35, 74, 0.08);
   --shadow-raised: 0 14px 36px rgba(18, 35, 74, 0.08);
   --shadow-elevated: 0 18px 50px rgba(18, 35, 74, 0.1);
   --shadow-hero: 0 24px 80px rgba(0, 0, 0, 0.35);

   --radius: 24px;
   --radius-md: 18px;
   --radius-sm: 14px;

   --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
   --max-width: 1180px;
}

* {
   box-sizing: border-box;
   margin: 0;
   padding: 0;
}

html {
   scroll-behavior: smooth;
}

body {
   font-family: "Manrope", -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
   background: var(--base);
   color: var(--text);
   line-height: 1.6;
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
}

.container {
   max-width: var(--max-width);
   margin: 0 auto;
   padding: 0 24px;
}

.hidden {
   display: none !important;
}

.section {
   padding: 0;
}

/* Bands */
.band {
   width: 100%;
}

.band--base {
   background: var(--base);
}

.band--tint {
   background: var(--surface-2);
}

.band--tint+.band--base,
.band--base+.band--tint {
   border-top: 1px solid var(--border);
}

/* Header */
header {
   position: sticky;
   top: 0;
   z-index: 50;
   background: rgba(243, 246, 251, 0.82);
   backdrop-filter: blur(16px);
   -webkit-backdrop-filter: blur(16px);
   border-bottom: 1px solid rgba(16, 41, 87, 0.06);
}

.header-inner {
   display: flex;
   align-items: center;
   justify-content: space-between;
   max-width: var(--max-width);
   margin: 0 auto;
   padding: 14px 24px;
}

.logo {
   display: flex;
   align-items: center;
   gap: 10px;
   color: var(--text);
   text-decoration: none;
   font-size: 17px;
   font-weight: 800;
   letter-spacing: -0.03em;
}

.logo svg {
   width: 24px;
   height: 24px;
   flex-shrink: 0;
   color: var(--blue-500);
}

nav {
   display: flex;
   align-items: center;
   gap: 6px;
}

nav a {
   text-decoration: none;
   color: var(--text-secondary);
   font-size: 14px;
   font-weight: 600;
   padding: 10px 14px;
   border-radius: 12px;
   transition: var(--transition);
}

nav a:hover {
   color: var(--text);
   background: rgba(47, 107, 255, 0.06);
}

nav a.active {
   color: var(--blue-500);
   background: rgba(47, 107, 255, 0.08);
}

/* Burger */
.burger {
   display: none;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   width: 42px;
   height: 42px;
   border: none;
   background: transparent;
   border-radius: 12px;
   cursor: pointer;
   transition: var(--transition);
}

.burger:hover {
   background: rgba(47, 107, 255, 0.06);
}

.burger span {
   display: block;
   width: 22px;
   height: 2px;
   margin: 4px auto;
   background: var(--text);
   border-radius: 2px;
   transition: var(--transition);
}

.burger.open span:nth-child(1) {
   transform: translateY(6px) rotate(45deg);
}

.burger.open span:nth-child(2) {
   opacity: 0;
}

.burger.open span:nth-child(3) {
   transform: translateY(-6px) rotate(-45deg);
}

/* Mobile nav */
.mobile-overlay {
   position: fixed;
   inset: 0;
   background: rgba(7, 20, 43, 0.4);
   backdrop-filter: blur(4px);
   -webkit-backdrop-filter: blur(4px);
   z-index: 140;
   opacity: 0;
   pointer-events: none;
   transition: 0.3s;
}

.mobile-overlay.open {
   opacity: 1;
   pointer-events: auto;
}

.mobile-nav {
   position: fixed;
   top: 0;
   right: 0;
   bottom: 0;
   width: 280px;
   max-width: 82vw;
   background: var(--surface-1);
   box-shadow: -8px 0 32px rgba(18, 35, 74, 0.14);
   z-index: 150;
   padding: 24px 20px 28px;
   display: flex;
   flex-direction: column;
   gap: 4px;
   transform: translateX(100%);
   transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
   overflow-y: auto;
}

.mobile-nav.open {
   transform: translateX(0);
}

.mobile-nav-logo {
   display: flex;
   align-items: center;
   gap: 10px;
   color: var(--text);
   text-decoration: none;
   font-size: 17px;
   font-weight: 800;
   letter-spacing: -0.03em;
   padding: 4px 16px 18px;
}

.mobile-nav-logo svg {
   width: 24px;
   height: 24px;
   color: var(--blue-500);
}

.mobile-nav a:not(.mobile-nav-logo) {
   color: var(--text-secondary);
   text-decoration: none;
   font-size: 16px;
   font-weight: 600;
   padding: 14px 16px;
   border-radius: 12px;
   transition: var(--transition);
}

.mobile-nav a:not(.mobile-nav-logo):hover {
   background: rgba(47, 107, 255, 0.06);
   color: var(--text);
}

.mobile-nav a.active {
   color: var(--blue-500);
   background: rgba(47, 107, 255, 0.08);
}

.mobile-nav-divider {
   height: 1px;
   background: var(--border);
   margin: 16px;
}

.mobile-nav-foot {
   display: flex;
   flex-direction: column;
   gap: 2px;
}

.mobile-nav-foot a {
   color: var(--text-muted);
   font-size: 14px;
   font-weight: 600;
   padding: 11px 16px;
}

.mobile-nav-close {
   position: absolute;
   top: 18px;
   right: 18px;
   width: 36px;
   height: 36px;
   border-radius: 10px;
   border: none;
   background: rgba(47, 107, 255, 0.06);
   color: var(--text-muted);
   font-size: 22px;
   line-height: 1;
   cursor: pointer;
   display: flex;
   align-items: center;
   justify-content: center;
   transition: var(--transition);
}

.mobile-nav-close:hover {
   background: rgba(47, 107, 255, 0.12);
   color: var(--text);
}

/* Hero */
.hero-shell {
   position: relative;
   overflow: hidden;
   background:
      radial-gradient(circle at 78% 18%, rgba(63, 127, 255, 0.3), transparent 16%),
      radial-gradient(circle at 84% 34%, rgba(0, 195, 255, 0.16), transparent 18%),
      radial-gradient(circle at 68% 62%, rgba(58, 104, 255, 0.14), transparent 24%),
      linear-gradient(180deg, #08152d 0%, #061126 100%);
   color: #fff;
}

.hero-shell::before {
   content: "";
   position: absolute;
   inset: 0;
   background:
      linear-gradient(rgba(120, 180, 255, 0.08) 1px, transparent 1px),
      linear-gradient(90deg, rgba(120, 180, 255, 0.08) 1px, transparent 1px);
   background-size: 72px 72px;
   opacity: 0.28;
   mask-image: radial-gradient(circle at 72% 34%, #000 0%, #000 55%, transparent 100%);
   pointer-events: none;
}

.hero-shell::after {
   content: "";
   position: absolute;
   inset: auto -10% -140px -10%;
   height: 320px;
   background: radial-gradient(circle at 50% 0%, rgba(56, 126, 255, 0.22), transparent 48%);
   filter: blur(18px);
   pointer-events: none;
}

.hero-wrap {
   position: relative;
   max-width: var(--max-width);
   margin: 0 auto;
   padding: 48px 24px 72px;
   display: grid;
   grid-template-columns: 1.05fr 0.95fr;
   gap: 36px;
   align-items: center;
   min-height: 720px;
}

.hero {
   max-width: 620px;
   text-align: left;
   padding: 0;
   margin: 0;
}

.hero-eyebrow {
   display: inline-flex;
   align-items: center;
   gap: 8px;
   padding: 8px 14px;
   border-radius: 999px;
   background: rgba(47, 107, 255, 0.14);
   border: 1px solid rgba(143, 186, 255, 0.16);
   color: #a9c9ff;
   font-size: 11px;
   font-weight: 800;
   text-transform: uppercase;
   letter-spacing: 0.12em;
   margin-bottom: 20px;
}

.hero h1 {
   color: #fff;
   font-size: 58px;
   font-weight: 800;
   letter-spacing: -0.055em;
   line-height: 0.98;
   margin-bottom: 18px;
   max-width: 620px;
}

.hero .hero-sub {
   color: rgba(222, 233, 255, 0.82);
   font-size: 17px;
   font-weight: 500;
   line-height: 1.8;
   max-width: 560px;
   margin: 0 0 28px;
}

.hero-cta-row {
   display: flex;
   align-items: center;
   gap: 14px;
   justify-content: flex-start;
   margin-bottom: 26px;
}

.hero-trust {
   display: flex;
   flex-wrap: wrap;
   gap: 10px;
}

.hero-trust-item {
   display: inline-flex;
   align-items: center;
   gap: 8px;
   padding: 10px 14px;
   background: rgba(255, 255, 255, 0.04);
   border: 1px solid rgba(145, 183, 255, 0.12);
   border-radius: 14px;
   color: #d7e4ff;
   font-size: 13px;
   font-weight: 600;
}

.hero-visual {
   position: relative;
   min-height: 671px;
}

.hero-panel {
   position: absolute;
   inset: 40px 20px;
   border-radius: 32px;
   background: linear-gradient(180deg, rgba(17, 41, 88, 0.88), rgba(8, 21, 45, 0.96));
   border: 1px solid rgba(129, 170, 255, 0.14);
   box-shadow:
      0 24px 80px rgba(0, 0, 0, 0.36),
      inset 0 1px 0 rgba(255, 255, 255, 0.04);
   overflow: hidden;
}

.hero-panel::before {
   content: "";
   position: absolute;
   inset: 0;
   background:
      radial-gradient(circle at 20% 10%, rgba(129, 180, 255, 0.1), transparent 22%),
      linear-gradient(90deg, rgba(111, 164, 255, 0.08) 1px, transparent 1px),
      linear-gradient(180deg, rgba(111, 164, 255, 0.06) 1px, transparent 1px);
   background-size: auto, 32px 32px, 32px 32px;
   opacity: 0.8;
   pointer-events: none;
}

.hero-panel::after {
   content: "";
   position: absolute;
   left: 10%;
   right: 10%;
   bottom: -10%;
   height: 40%;
   background: radial-gradient(circle at 50% 0%, rgba(62, 139, 255, 0.16), transparent 70%);
   filter: blur(16px);
   pointer-events: none;
}

.duck-badge {
   position: absolute;
   right: 68px;
   top: 165px;
   width: 180px;
   height: 180px;
   border-radius: 50%;
   background: radial-gradient(circle at 35% 30%, #ffe66d, #ffbf00 72%);
   box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 84px;
   z-index: 3;
}

.float-card {
   position: absolute;
   background: linear-gradient(180deg, rgba(19, 43, 91, 0.98), rgba(11, 26, 56, 0.98));
   border: 1px solid rgba(133, 176, 255, 0.16);
   box-shadow:
      0 16px 34px rgba(0, 0, 0, 0.28),
      0 0 0 1px rgba(133, 176, 255, 0.03),
      0 0 34px rgba(59, 123, 255, 0.12);
   border-radius: 22px;
   color: #fff;
   padding: 18px 18px 16px;
   min-width: 180px;
   z-index: 2;
   backdrop-filter: blur(10px);
}

.float-card::before {
   content: "";
   position: absolute;
   inset: -1px;
   border-radius: inherit;
   background: linear-gradient(135deg, rgba(143, 196, 255, 0.22), transparent 35%, transparent 65%, rgba(72, 130, 255, 0.16));
   z-index: -1;
   opacity: 0.8;
}

.float-card::after {
   content: "";
   position: absolute;
   inset: auto 18px 0;
   height: 22px;
   background: radial-gradient(circle at 50% 0%, rgba(79, 151, 255, 0.22), transparent 72%);
   filter: blur(10px);
   pointer-events: none;
}

.float-card strong {
   display: block;
   font-size: 34px;
   line-height: 1;
   font-weight: 800;
   letter-spacing: -0.04em;
}

.float-card span {
   display: block;
   margin-top: 8px;
   color: #8fdcff;
   font-size: 12px;
   font-weight: 700;
}

.fc-1 {
   top: 30px;
   left: 10px;
   width: 210px;
}

.fc-2 {
   top: 52px;
   right: 10px;
   width: 160px;
}

.fc-3 {
   top: 200px;
   left: 18px;
   width: 170px;
}

.fc-4 {
   top: 228px;
   right: 0;
   width: 168px;
}

.fc-5 {
   left: 50%;
   bottom: 24px;
   transform: translateX(-50%);
   width: 260px;
   text-align: center;
   border-radius: 18px;
   padding: 14px 16px;
}

.hero-line-chart {
   position: absolute;
   left: 44px;
   right: 44px;
   bottom: 84px;
   height: 140px;
   border-radius: 22px;
   background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
   border: 1px solid rgba(131, 172, 255, 0.08);
}

.hero-line-chart svg {
   width: 100%;
   height: 100%;
   display: block;
}

/* Sections */
.light-section {
   position: relative;
   padding: 34px 0;
}

.light-band {
   max-width: var(--max-width);
   margin: 0 auto;
   padding: 0 24px;
}

.benefits-section,
.pricing-section,
.upload-section,
.status-section,
.orders-compact,
.process-wrap,
.report-wrap {
   max-width: var(--max-width);
   margin: 0 auto;
   padding: 28px 24px 40px;
}

/* Buttons */
.btn {
   border: none;
   text-decoration: none;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   gap: 8px;
   cursor: pointer;
   transition: var(--transition);
   font-family: inherit;
   font-weight: 700;
}

.btn-accent {
   background: linear-gradient(180deg, #4b83ff 0%, #2f6bff 100%);
   color: #fff;
   font-size: 15px;
   padding: 16px 28px;
   border-radius: 14px;
   box-shadow:
      0 12px 24px rgba(47, 107, 255, 0.28),
      0 0 22px rgba(47, 107, 255, 0.14);
}

.btn-accent:hover {
   transform: translateY(-1px);
   box-shadow:
      0 16px 28px rgba(47, 107, 255, 0.36),
      0 0 28px rgba(47, 107, 255, 0.16);
}

.btn-accent:active {
   transform: translateY(0);
}

.btn-accent:disabled {
   background: #cfd7e6;
   box-shadow: none;
   cursor: not-allowed;
   transform: none;
}

.btn-accent.loading {
   position: relative;
   color: transparent;
   pointer-events: none;
}

.btn-accent.loading::after {
   content: "";
   position: absolute;
   width: 20px;
   height: 20px;
   border: 2px solid rgba(255, 255, 255, 0.3);
   border-top-color: #fff;
   border-radius: 50%;
   left: 50%;
   top: 50%;
   margin: -10px 0 0 -10px;
   animation: spin 0.7s linear infinite;
}

.btn-ghost {
   background: rgba(255, 255, 255, 0.04);
   color: #fff;
   border: 1px solid rgba(150, 188, 255, 0.18);
   font-size: 15px;
   padding: 16px 22px;
   border-radius: 14px;
   backdrop-filter: blur(8px);
}

.btn-ghost:hover {
   background: rgba(255, 255, 255, 0.08);
}

.btn-sec {
   background: #f2f6fd;
   color: var(--text);
   border: 1px solid rgba(47, 107, 255, 0.06);
   border-radius: 12px;
   font-size: 14px;
   padding: 10px 18px;
   font-weight: 700;
}

.btn-sec:hover {
   background: #eaf2ff;
}

.btn-paid {
   width: 100%;
   background: linear-gradient(180deg, #4b83ff 0%, #2f6bff 100%);
   color: #fff;
   font-size: 16px;
   padding: 15px;
   border: none;
   border-radius: 14px;
   font-weight: 700;
   cursor: pointer;
   font-family: inherit;
   transition: var(--transition);
}

.btn-paid:hover {
   filter: brightness(1.03);
}

/* Benefits */
.benefits-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 18px;
}

.benefit-card,
.upload-area,
.status-card,
.process-card,
.report-card,
.order-mini {
   background: rgb(234, 238, 244);
   border: 1px solid rgba(47, 107, 255, 0.08);
   box-shadow: var(--shadow-card);
   backdrop-filter: blur(10px);
}

.benefit-card {
   border-radius: 22px;
   padding: 24px;
   transition: var(--transition);
}

.benefit-card:hover {
   transform: translateY(-4px);
   box-shadow: var(--shadow-soft);
}

.benefit-icon {
   width: 46px;
   height: 46px;
   border-radius: 14px;
   background: linear-gradient(180deg, #edf4ff 0%, #e4efff 100%);
   display: flex;
   align-items: center;
   justify-content: center;
   margin-bottom: 16px;
}

.benefit-icon svg {
   width: 20px;
   height: 20px;
   color: var(--blue-500);
}

.benefit-card h3 {
   font-size: 16px;
   line-height: 1.35;
   margin-bottom: 8px;
   color: var(--text);
   font-weight: 800;
   letter-spacing: -0.02em;
}

.benefit-card p {
   font-size: 14px;
   color: var(--text-secondary);
   line-height: 1.65;
}

/* Pricing */
.pricing-card {
   background: transparent;
   display: grid;
   grid-template-columns: 1.05fr 0.95fr;
   gap: 18px;
}

.pricing-left,
.pricing-right {
   background: #fff;
   border-radius: 26px;
   border: 1px solid rgba(47, 107, 255, 0.08);
   box-shadow: var(--shadow-card);
   padding: 34px;
}

.pricing-label {
   display: inline-flex;
   align-items: center;
   padding: 7px 10px;
   border-radius: 999px;
   background: #f2f7ff;
   color: var(--blue-500);
   font-size: 11px;
   letter-spacing: 0.08em;
   text-transform: uppercase;
   font-weight: 800;
   margin-bottom: 14px;
}

.pricing-amount {
   font-size: 56px;
   font-weight: 900;
   line-height: 1;
   letter-spacing: -0.05em;
   margin-bottom: 6px;
   color: var(--text);
}

.pricing-per {
   color: var(--text-secondary);
   margin-bottom: 22px;
   font-size: 15px;
}

.pricing-features {
   list-style: none;
   display: grid;
   gap: 12px;
}

.pricing-features li {
   display: flex;
   gap: 10px;
   font-size: 14px;
   color: var(--text);
   line-height: 1.5;
}

.pricing-features li svg {
   width: 18px;
   height: 18px;
   color: var(--blue-500);
   flex-shrink: 0;
   margin-top: 2px;
}

.pricing-right {
   display: grid;
   grid-template-columns: 1fr;
   align-content: center;
   gap: 18px;
}

.proof-item {
   background: linear-gradient(180deg, #f7faff 0%, #eef4ff 100%);
   border: 1px solid rgba(47, 107, 255, 0.08);
   border-radius: 18px;
   padding: 20px;
   text-align: left;
}

.proof-value {
   font-size: 36px;
   font-weight: 900;
   line-height: 1;
   letter-spacing: -0.04em;
   color: var(--text);
}

.proof-value.accent {
   color: var(--blue-500);
}

.proof-value.green {
   color: var(--green);
}

.proof-label {
   margin-top: 8px;
   color: var(--text-secondary);
   font-size: 13px;
   font-weight: 600;
}

/* Upload */
.upload-area,
.status-card,
.process-card,
.report-card {
   border-radius: 28px;
}

.upload-area {
   padding: 36px;
}

.upload-area-header {
   text-align: left;
   margin-bottom: 28px;
}

.upload-area-header h2 {
   font-size: 30px;
   line-height: 1.1;
   font-weight: 900;
   letter-spacing: -0.04em;
   color: var(--text);
   margin-bottom: 10px;
}

.upload-area-header p {
   color: var(--text-secondary);
   font-size: 15px;
}

.upload-columns {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 18px;
}

.upload-col {
   background: #f8fbff;
   border: 1px solid rgba(47, 107, 255, 0.07);
   border-radius: 22px;
   padding: 18px;
}

.upload-col-label {
   font-size: 12px;
   font-weight: 800;
   letter-spacing: 0.08em;
   text-transform: uppercase;
   color: var(--text-muted);
   margin-bottom: 14px;
   display: flex;
   align-items: center;
   gap: 8px;
}

.col-dot {
   width: 6px;
   height: 6px;
   border-radius: 50%;
}

.col-dot.red {
   background: var(--danger);
}

.col-dot.gray {
   background: var(--text-muted);
}

#requiredColumn .upload-col-label {
   color: var(--danger);
}

#requiredColumn .upload-slot {
   border-color: rgba(239, 90, 111, 0.24);
}

.upload-slot {
   background: #fff;
   border: 1.5px dashed rgba(47, 107, 255, 0.2);
   border-radius: 18px;
   padding: 24px;
   text-align: center;
   cursor: pointer;
   transition: var(--transition);
   position: relative;
   margin-bottom: 12px;
}

.upload-slot:last-child {
   margin-bottom: 0;
}

.upload-slot:hover {
   background: #f5f9ff;
   border-color: var(--blue-400);
}

.upload-slot.drag {
   border-color: var(--green);
   background: var(--green-soft);
}

.upload-slot.has-file {
   border-style: solid;
   border-color: var(--green-border);
   background: rgba(29, 187, 132, 0.08);
   cursor: default;
   text-align: left;
}

.upload-slot-icon {
   width: 44px;
   height: 44px;
   border-radius: 14px;
   margin: 0 auto 12px;
   display: flex;
   align-items: center;
   justify-content: center;
   background: #edf4ff;
   transition: var(--transition);
}

.upload-slot:hover .upload-slot-icon {
   background: #e3efff;
}

.upload-slot.has-file .upload-slot-icon {
   display: none;
}

.upload-slot-icon svg {
   width: 20px;
   height: 20px;
   color: var(--blue-500);
}

.upload-slot-title {
   font-size: 15px;
   font-weight: 800;
   margin-bottom: 5px;
   color: var(--text);
}

.upload-slot-hint {
   font-size: 12px;
   color: var(--text-muted);
}

.upload-slot.has-file .upload-slot-hint {
   display: none;
}

input[type="file"] {
   display: none;
}

/* File info */
.file-info {
   display: none;
   margin-top: 8px;
}

.upload-slot.has-file .file-info {
   display: block;
}

.file-info-row {
   display: flex;
   align-items: center;
   gap: 10px;
}

.file-info-icon {
   width: 36px;
   height: 36px;
   border-radius: 10px;
   background: var(--green-soft);
   display: flex;
   align-items: center;
   justify-content: center;
   flex-shrink: 0;
}

.file-info-icon svg {
   width: 18px;
   height: 18px;
   color: var(--green);
}

.file-info-text {
   flex: 1;
   min-width: 0;
}

.file-info-name {
   font-size: 13px;
   font-weight: 700;
   color: var(--text);
   white-space: nowrap;
   overflow: hidden;
   text-overflow: ellipsis;
}

.file-info-meta {
   font-size: 11px;
   color: var(--green);
   font-weight: 700;
   display: flex;
   align-items: center;
   gap: 4px;
   margin-top: 2px;
}

.file-info-meta svg {
   width: 12px;
   height: 12px;
}

.file-del {
   background: none;
   border: none;
   cursor: pointer;
   width: 28px;
   height: 28px;
   border-radius: 8px;
   display: flex;
   align-items: center;
   justify-content: center;
   color: var(--text-muted);
   font-size: 16px;
   transition: var(--transition);
   flex-shrink: 0;
}

.file-del:hover {
   background: var(--danger-soft);
   color: var(--danger);
}

.progress-bar {
   height: 3px;
   background: rgba(20, 39, 78, 0.08);
   border-radius: 3px;
   overflow: hidden;
   margin-top: 10px;
   display: none;
}

.progress-bar.show {
   display: block;
}

.progress-bar .bar {
   height: 100%;
   width: 0;
   background: linear-gradient(90deg, var(--blue-500), var(--cyan-300));
   transition: width 0.2s;
   border-radius: 3px;
}

.upload-err {
   color: var(--danger);
   font-size: 12px;
   margin-top: 8px;
   display: none;
   text-align: left;
}

.upload-err.show {
   display: block;
}

/* Status */
.status-card {
   padding: 42px 34px;
   text-align: left;
   opacity: 0.45;
   pointer-events: none;
   transition: opacity 0.35s;
}

.status-card.active {
   opacity: 1;
   pointer-events: auto;
}

.status-icon-wrap {
   width: 58px;
   height: 58px;
   border-radius: 18px;
   margin: 0 0 18px;
   background: linear-gradient(180deg, #edf5ff, #e6f1ff);
   display: flex;
   align-items: center;
   justify-content: center;
}

.status-icon-wrap svg {
   width: 28px;
   height: 28px;
   color: var(--blue-500);
}

.status-card h2 {
   font-size: 28px;
   line-height: 1.1;
   letter-spacing: -0.03em;
   font-weight: 900;
   margin-bottom: 8px;
   color: var(--text);
}

.status-card .status-sub {
   font-size: 15px;
   color: var(--text-secondary);
   margin-bottom: 24px;
}

.status-metrics {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 14px;
   margin: 0 0 26px;
   padding-bottom: 24px;
   border-bottom: 1px solid var(--border);
}

.status-metric {
   background: linear-gradient(180deg, #f8fbff 0%, #eff5ff 100%);
   border-radius: 18px;
   padding: 20px 16px;
   border: 1px solid rgba(47, 107, 255, 0.06);
   text-align: center;
}

.metric-val {
   font-size: 30px;
   line-height: 1;
   font-weight: 900;
   color: var(--text);
}

.metric-val.green {
   color: var(--green);
}

.metric-val.accent {
   color: var(--blue-500);
}

.metric-lbl {
   margin-top: 8px;
   font-size: 11px;
   font-weight: 700;
   color: var(--text-muted);
   text-transform: uppercase;
   letter-spacing: 0.08em;
}

.balance-line {
   color: var(--green);
   font-size: 14px;
   font-weight: 700;
   margin-bottom: 8px;
}

.price-line {
   color: var(--text);
   font-size: 15px;
   font-weight: 700;
   margin-bottom: 18px;
}

.pay-legal {
   margin-top: 18px;
   max-width: 520px;
   color: var(--text-muted);
   font-size: 12px;
}

.pay-legal a {
   color: var(--blue-500);
   text-decoration: none;
}

.pay-legal a:hover {
   text-decoration: underline;
}

/* Processing */
.process-card {
   padding: 42px 34px;
   text-align: center;
}

.process-spinner,
.spinner {
   border: 3px solid rgba(47, 107, 255, 0.14);
   border-top-color: var(--blue-500);
   border-radius: 50%;
   animation: spin 1s linear infinite;
}

.process-spinner {
   width: 50px;
   height: 50px;
   margin: 0 auto 20px;
}

.spinner {
   width: 44px;
   height: 44px;
   margin: 0 auto 16px;
}

.process-card h3 {
   font-size: 30px;
   line-height: 1.1;
   font-weight: 900;
   letter-spacing: -0.04em;
   color: var(--text);
   margin-bottom: 8px;
}

.process-card>p {
   color: var(--text-secondary);
   margin-bottom: 36px;
}

.process-stages {
   max-width: 400px;
   margin: 0 auto;
   text-align: left;
}

.process-stage {
   display: flex;
   align-items: center;
   gap: 14px;
   padding: 12px 16px;
   border-radius: 16px;
   font-size: 14px;
   color: var(--text-muted);
   transition: var(--transition);
   margin-bottom: 8px;
   background: #f8fbff;
}

.process-stage .stage-dot {
   width: 28px;
   height: 28px;
   border-radius: 50%;
   flex-shrink: 0;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 12px;
   font-weight: 700;
   background: rgba(47, 107, 255, 0.08);
   color: var(--text-muted);
   transition: var(--transition);
}

.process-stage.done {
   background: rgba(29, 187, 132, 0.1);
   color: var(--text);
}

.process-stage.done .stage-dot {
   background: var(--green);
   color: #fff;
}

.process-stage.active {
   background: rgba(47, 107, 255, 0.1);
   color: var(--blue-500);
   font-weight: 600;
}

.process-stage.active .stage-dot {
   background: var(--blue-500);
   color: #fff;
   animation: pulse-dot 1.5s ease infinite;
}

/* Report */
.report-card {
   padding: 42px 34px;
}

.report-header {
   text-align: center;
   margin-bottom: 32px;
}

.success-icon {
   width: 72px;
   height: 72px;
   border-radius: 22px;
   background: linear-gradient(180deg, #edf5ff, #e5f1ff);
   display: flex;
   align-items: center;
   justify-content: center;
   margin: 0 auto 20px;
   animation: pop-in 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-icon svg {
   width: 36px;
   height: 36px;
   color: var(--blue-500);
}

.report-header h2 {
   font-size: 30px;
   line-height: 1.1;
   font-weight: 900;
   letter-spacing: -0.04em;
   color: var(--text);
}

.report-header .meta {
   color: var(--text-secondary);
   font-size: 13px;
}

.report-body {
   border-top: 1px solid var(--border);
   padding-top: 28px;
   margin-bottom: 28px;
}

.report-body h4 {
   color: var(--text);
   font-size: 16px;
   font-weight: 800;
   margin: 24px 0 8px;
}

.report-body h4:first-child {
   margin-top: 0;
}

.report-body p,
.report-body li {
   font-size: 15px;
   color: var(--text);
   margin-bottom: 6px;
   line-height: 1.7;
}

.report-body ul {
   padding-left: 20px;
   margin-bottom: 8px;
}

.report-actions {
   border-top: 1px solid var(--border);
   padding-top: 24px;
   display: flex;
   flex-wrap: wrap;
   gap: 10px;
}

/* Orders */
.orders-header {
   display: flex;
   align-items: center;
   justify-content: space-between;
   margin-bottom: 16px;
}

.orders-header h3 {
   font-size: 18px;
   font-weight: 800;
   color: var(--text);
}

.order-mini {
   display: flex;
   align-items: center;
   gap: 14px;
   border-radius: 18px;
   padding: 18px 20px;
   margin-bottom: 10px;
   transition: var(--transition);
   cursor: pointer;
}

.order-mini:hover {
   transform: translateY(-2px);
   box-shadow: var(--shadow-soft);
}

.order-mini-date {
   font-size: 14px;
   font-weight: 700;
   color: var(--text);
   min-width: 140px;
}

.order-mini-status {
   font-size: 11px;
   font-weight: 800;
   padding: 4px 10px;
   border-radius: 8px;
   text-transform: uppercase;
   letter-spacing: 0.06em;
}

.order-mini-status.s-done {
   background: rgba(47, 107, 255, 0.08);
   color: var(--blue-500);
}

.order-mini-status.s-work {
   background: rgba(29, 187, 132, 0.1);
   color: var(--green);
}

.order-mini-status.s-cancel {
   background: rgba(239, 90, 111, 0.1);
   color: var(--danger);
}

.order-mini-spacer {
   flex: 1;
}

.order-mini-btn {
   background: var(--blue-500);
   color: #fff;
   border: none;
   border-radius: 10px;
   font-size: 13px;
   font-weight: 700;
   padding: 8px 18px;
   cursor: pointer;
   font-family: inherit;
   transition: var(--transition);
}

.order-mini-btn:hover {
   background: var(--blue-400);
}

/* Footer */
footer {
   margin-top: 24px;
   background: #eef4fb;
   border-top: 1px solid rgba(47, 107, 255, 0.08);
   padding: 32px 0;
}

.footer-inner {
   max-width: var(--max-width);
   margin: 0 auto;
   padding: 0 24px;
   display: flex;
   justify-content: space-between;
   gap: 20px;
   flex-wrap: wrap;
}

.footer-links {
   display: flex;
   gap: 18px;
   flex-wrap: wrap;
}

.footer-links a {
   color: var(--text-secondary);
   text-decoration: none;
   font-size: 13px;
   font-weight: 600;
}

.footer-links a:hover {
   color: var(--text);
}

.footer-legal {
   color: var(--text-muted);
   font-size: 12px;
   text-align: right;
}

/* Modal */
.modal-overlay {
   position: fixed;
   inset: 0;
   background: rgba(7, 20, 43, 0.42);
   backdrop-filter: blur(8px);
   -webkit-backdrop-filter: blur(8px);
   display: flex;
   align-items: center;
   justify-content: center;
   z-index: 200;
   padding: 16px;
   opacity: 0;
   pointer-events: none;
   transition: 0.3s;
}

.modal-overlay.show {
   opacity: 1;
   pointer-events: auto;
}

.modal {
   background: var(--surface-1);
   border-radius: var(--radius);
   max-width: 440px;
   width: 100%;
   box-shadow: 0 32px 100px rgba(0, 0, 0, 0.2);
   padding: 32px;
   transform: translateY(20px) scale(0.97);
   transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.show .modal {
   transform: translateY(0) scale(1);
   padding: 20px;
}

.modal-head {
   display: flex;
   justify-content: space-between;
   align-items: flex-start;
   margin-bottom: 24px;
}

.modal-head h3 {
   font-size: 20px;
   font-weight: 800;
   color: var(--text);
}

.modal-close {
   background: rgba(47, 107, 255, 0.06);
   border: none;
   width: 32px;
   height: 32px;
   border-radius: 10px;
   font-size: 20px;
   line-height: 1;
   color: var(--text-muted);
   cursor: pointer;
   display: flex;
   align-items: center;
   justify-content: center;
   transition: var(--transition);
}

.modal-close:hover {
   background: rgba(47, 107, 255, 0.12);
   color: var(--text);
}

.qr-step {
   text-align: center;
}

.qr-box {
   background: var(--surface-3);
   border: 1px solid var(--border);
   border-radius: var(--radius-md);
   padding: 20px;
   display: inline-block;
   margin: 12px auto 18px;
}

.qr-amount {
   font-size: 32px;
   font-weight: 900;
   color: var(--text);
   margin-bottom: 4px;
   letter-spacing: -0.5px;
}

.qr-desc {
   font-size: 14px;
   color: var(--text-secondary);
   margin-bottom: 20px;
}

.qr-timer {
   font-size: 13px;
   color: var(--blue-500);
   font-weight: 700;
   margin-bottom: 18px;
}

/* Toast */
#toast {
   position: fixed;
   bottom: 32px;
   left: 50%;
   transform: translateX(-50%) translateY(20px);
   background: var(--navy-900);
   color: #fff;
   padding: 14px 28px;
   border-radius: 14px;
   font-size: 14px;
   font-weight: 700;
   opacity: 0;
   transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
   z-index: 300;
   pointer-events: none;
   box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

#toast.show {
   opacity: 1;
   transform: translateX(-50%) translateY(0);
}

/* Forms */
.claim-textarea {
   width: 100%;
   min-height: 140px;
   resize: vertical;
   border: 1.5px solid var(--border);
   border-radius: var(--radius-sm);
   padding: 16px;
   font-family: inherit;
   font-size: 14px;
   color: var(--text);
   line-height: 1.6;
   background: #fff;
   transition: var(--transition);
}

.claim-textarea:focus {
   outline: none;
   border-color: var(--blue-500);
   background: #fff;
   box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.1);
}

.claim-count {
   font-size: 11px;
   color: var(--text-muted);
   margin-top: 6px;
   text-align: right;
}

/* Animations */
@keyframes spin {
   to {
      transform: rotate(360deg);
   }
}

@keyframes pulse-dot {

   0%,
   100% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(47, 107, 255, 0.3);
   }

   50% {
      transform: scale(1.1);
      box-shadow: 0 0 0 6px rgba(47, 107, 255, 0);
   }
}

@keyframes pop-in {
   0% {
      transform: scale(0);
      opacity: 0;
   }

   100% {
      transform: scale(1);
      opacity: 1;
   }
}

@keyframes floatSoft {
   0% {
      transform: translateY(0);
   }

   50% {
      transform: translateY(-4px);
   }

   100% {
      transform: translateY(0);
   }
}

@media (min-width: 981px) {
   .fc-1 {
      animation: floatSoft 5.5s ease-in-out infinite;
   }

   .fc-2 {
      animation: floatSoft 6.2s ease-in-out infinite;
   }

   .fc-3 {
      animation: floatSoft 5.8s ease-in-out infinite;
   }

   .fc-4 {
      animation: floatSoft 6.8s ease-in-out infinite;
   }

   .fc-5 {
      animation: floatSoft 5s ease-in-out infinite;
   }
}

/* Print */
@media print {
   body * {
      visibility: hidden;
   }

   #reportBody,
   #reportBody * {
      visibility: visible;
   }

   #reportBody {
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
   }
}

/* Responsive */
@media (max-width: 980px) {
   .hero-wrap {
      grid-template-columns: 1fr;
      min-height: auto;
      padding-top: 32px;
      padding-bottom: 48px;
   }

   .hero {
      max-width: none;
   }

   .hero h1 {
      font-size: 42px;
      max-width: none;
   }

   .hero-visual {
      min-height: 440px;
   }

   .benefits-grid,
   .pricing-card,
   .upload-columns {
      grid-template-columns: 1fr;
   }

   .pricing-right {
      grid-template-columns: repeat(3, 1fr);
   }
}

.qrcodesee button {
   display: none;
}

@media (max-width: 768px) {
   nav {
      display: none;
   }

   .qrcodesee button {
      display: flex;
   }

   .qrcodesee img,
   .qr-desc {
      display: none;
   }

   .burger {
      display: flex;
   }

   .hero h1 {
      font-size: 34px;
   }

   .hero .hero-sub {
      font-size: 15px;
   }

   .hero-cta-row {
      flex-direction: column;
      align-items: stretch;
   }

   .hero-trust {
      gap: 8px;
   }

   .hero-visual {
      min-height: 380px;
   }

   .duck-badge {
      width: 120px;
      height: 120px;
      right: 50px;
      top: 125px;
      font-size: 56px;
   }

   .float-card {
      min-width: 130px;
      padding: 14px;
      border-radius: 18px;
   }

   .float-card strong {
      font-size: 24px;
   }

   .fc-1 {
      width: 150px;
   }

   .fc-2 {
      width: 130px;
   }

   .fc-3 {
      width: 135px;
   }

   .fc-4 {
      width: 130px;
   }

   .fc-5 {
      width: 200px;
   }

   .pricing-right {
      grid-template-columns: 1fr;
   }

   .status-metrics {
      grid-template-columns: 1fr;
   }

   .upload-area,
   .status-card,
   .process-card,
   .report-card,
   .pricing-left,
   .pricing-right {
      padding: 24px;
   }

   .footer-inner {
      flex-direction: column;
      align-items: flex-start;
   }

   .footer-legal {
      text-align: left;
   }

   .order-mini {
      flex-wrap: wrap;
   }
}

@media (max-width: 480px) {

   .container,
   .benefits-section,
   .pricing-section,
   .upload-section,
   .status-section,
   .orders-compact,
   .process-wrap,
   .report-wrap {
      padding-left: 16px;
      padding-right: 16px;
   }

   .hero-wrap {
      padding-left: 16px;
      padding-right: 16px;
   }

   .hero h1 {
      font-size: 30px;
   }

   .pricing-amount {
      font-size: 42px;
   }
}

/* ====== Top-up amount selector (compact) ====== */
.topup-block {
   text-align: left;
   margin-bottom: 14px;
}

.topup-title {
   font-size: 15px;
   font-weight: 800;
   color: var(--text);
   letter-spacing: -0.02em;
   margin-bottom: 10px;
}

.topup-options {
   display: grid;
   gap: 8px;
   margin-bottom: 12px;
}

.topup-card {
   width: 100%;
   text-align: left;
   cursor: pointer;
   display: flex;
   align-items: center;
   gap: 10px;
   flex-wrap: wrap;
   background: #fff;
   border: 1.5px solid var(--border);
   border-radius: var(--radius-sm);
   padding: 10px 13px;
   font-family: inherit;
   transition: var(--transition);
}

.topup-card:hover {
   border-color: var(--border-hover);
   background: var(--surface-3);
}

.topup-card.selected {
   border-color: var(--blue-500);
   background: var(--accent-soft);
   box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.1);
}

.topup-card-top {
   display: flex;
   align-items: center;
   gap: 8px;
}

.topup-card-amount {
   font-size: 18px;
   font-weight: 900;
   color: var(--text);
   letter-spacing: -0.03em;
   line-height: 1;
   white-space: nowrap;
}

.topup-card.selected .topup-card-amount {
   color: var(--blue-500);
}

.topup-card-desc {
   font-size: 12px;
   color: var(--text-secondary);
   margin-left: auto;
   text-align: right;
}

.topup-badge {
   font-size: 10px;
   font-weight: 800;
   padding: 3px 7px;
   border-radius: 999px;
   letter-spacing: 0.02em;
   white-space: nowrap;
}

.topup-badge.popular {
   background: rgba(47, 107, 255, 0.1);
   color: var(--blue-500);
}

.topup-badge.profit {
   background: var(--green-soft);
   color: var(--green);
}

.topup-custom {
   margin-bottom: 10px;
}

.topup-custom label {
   display: block;
   font-size: 12px;
   font-weight: 700;
   color: var(--text-secondary);
   margin-bottom: 6px;
}

.topup-custom input {
   width: 100%;
   background: #fff;
   color: var(--text);
   border: 1.5px solid var(--border);
   border-radius: var(--radius-sm);
   padding: 10px 13px;
   font-family: inherit;
   font-size: 14px;
   font-weight: 700;
   transition: var(--transition);
}

.topup-custom input:focus {
   outline: none;
   border-color: var(--blue-500);
   box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.1);
}

.topup-result {
   background: var(--green-soft);
   border: 1px solid var(--green-border);
   border-radius: var(--radius-sm);
   padding: 9px 13px;
   margin-bottom: 10px;
}

.topup-result-main {
   font-size: 14px;
   font-weight: 800;
   color: var(--text);
}

.topup-result-bonus {
   color: var(--green);
}

.topup-result-sub {
   font-size: 12px;
   color: var(--text-secondary);
   margin-top: 2px;
}

.topup-result-sub b {
   color: var(--green);
   font-weight: 800;
}

.topup-social {
   font-size: 12px;
   color: var(--text-muted);
   line-height: 1.45;
}

.topup-payinfo {
   display: flex;
   justify-content: space-between;
   gap: 12px;
   border-top: 1px solid var(--border);
   border-bottom: 1px solid var(--border);
   padding: 10px 0;
   margin: 12px 0 14px;
   font-size: 13px;
   font-weight: 600;
   color: var(--text-secondary);
}

.topup-payinfo strong {
   color: var(--text);
   font-weight: 800;
}

.topup-payinfo .credit strong {
   color: var(--green);
}

.topup-back {
   background: none;
   border: none;
   cursor: pointer;
   color: var(--text-muted);
   font-size: 18px;
   line-height: 1;
   padding: 0 6px 0 0;
   transition: var(--transition);
}

.topup-back:hover {
   color: var(--text);
}

.btn-paid:disabled {
   background: #cfd7e6;
   cursor: not-allowed;
   filter: none;
}

.topup-result-min {
   font-size: 13px;
   font-weight: 800;
   color: var(--danger);
}

.topup-result:has(.topup-result-min) {
   background: var(--danger-soft);
   border-color: rgba(239, 90, 111, 0.22);
}

/* ====== AI Report card (правый блок hero) ====== */
.ai-report {
   position: absolute;
   inset: 40px 20px;
   display: flex;
   flex-direction: column;
   gap: 16px;
   padding: 26px 24px;
   border-radius: 28px;
   background: linear-gradient(180deg, rgba(17, 41, 88, 0.92), rgba(8, 21, 45, 0.97));
   border: 1px solid rgba(129, 170, 255, 0.16);
   box-shadow: 0 24px 80px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.04);
   color: #fff;
   overflow: hidden;
}

.ai-report-head {
   display: flex;
   align-items: center;
   justify-content: space-between;
}

.ai-report-head-left {
   display: inline-flex;
   align-items: center;
   gap: 8px;
}

.ai-report-dot {
   width: 8px;
   height: 8px;
   border-radius: 50%;
   background: #1dbb84;
   box-shadow: 0 0 0 4px rgba(29, 187, 132, 0.18);
}

.ai-report-kicker {
   font-size: 11px;
   font-weight: 800;
   letter-spacing: 0.12em;
   text-transform: uppercase;
   color: #9fc0ff;
}

.ai-report-status {
   font-size: 11px;
   font-weight: 800;
   letter-spacing: 0.04em;
   text-transform: uppercase;
   padding: 5px 10px;
   border-radius: 999px;
   color: #7fe7c1;
   background: rgba(29, 187, 132, 0.12);
   border: 1px solid rgba(29, 187, 132, 0.28);
}

.ai-report-title {
   font-size: 22px;
   font-weight: 800;
   letter-spacing: -0.03em;
   color: #fff;
   margin: 2px 0 2px;
}

/* --- Финансовые показатели: главный акцент --- */
.ai-report-figures {
   display: grid;
   gap: 12px;
}

.ai-figure {
   border-radius: 18px;
   padding: 18px 18px 16px;
   border: 1px solid rgba(133, 176, 255, 0.14);
   background: rgba(255, 255, 255, 0.03);
}

.ai-figure-label {
   display: flex;
   align-items: center;
   gap: 8px;
   font-size: 12.5px;
   font-weight: 700;
   color: rgba(214, 228, 255, 0.78);
   margin-bottom: 8px;
}

.ai-figure-label svg {
   width: 16px;
   height: 16px;
   flex-shrink: 0;
}

.ai-figure-value {
   font-size: 34px;
   font-weight: 900;
   line-height: 1;
   letter-spacing: -0.04em;
}

.ai-figure-note {
   margin-top: 6px;
   font-size: 12px;
   font-weight: 700;
}

.ai-figure--up {
   background: linear-gradient(180deg, rgba(29, 187, 132, 0.16), rgba(29, 187, 132, 0.05));
   border-color: rgba(29, 187, 132, 0.32);
}

.ai-figure--up .ai-figure-label {
   color: #aef0d4;
}

.ai-figure--up .ai-figure-value {
   color: #43e3a6;
}

.ai-figure--risk {
   background: linear-gradient(180deg, rgba(239, 90, 111, 0.16), rgba(239, 90, 111, 0.05));
   border-color: rgba(239, 90, 111, 0.32);
}

.ai-figure--risk .ai-figure-label {
   color: #ffc3cd;
}

.ai-figure--risk .ai-figure-value {
   color: #ff7c91;
}

.ai-figure--risk .ai-figure-note {
   color: rgba(255, 195, 205, 0.85);
}

/* --- Замечания --- */
.ai-report-findings {
   display: flex;
   align-items: center;
   justify-content: space-between;
   padding: 14px 16px;
   border-radius: 16px;
   background: rgba(255, 255, 255, 0.03);
   border: 1px solid rgba(133, 176, 255, 0.12);
}

.ai-finding-main {
   display: inline-flex;
   align-items: baseline;
   gap: 8px;
}

.ai-finding-num {
   font-size: 24px;
   font-weight: 900;
   letter-spacing: -0.03em;
   color: #fff;
}

.ai-finding-text {
   font-size: 13px;
   font-weight: 600;
   color: rgba(214, 228, 255, 0.78);
}

.ai-finding-critical {
   display: inline-flex;
   align-items: center;
   gap: 7px;
   font-size: 12.5px;
   font-weight: 800;
   color: #ff8a9c;
   padding: 6px 11px;
   border-radius: 999px;
   background: rgba(239, 90, 111, 0.12);
   border: 1px solid rgba(239, 90, 111, 0.28);
}

.ai-crit-dot {
   width: 7px;
   height: 7px;
   border-radius: 50%;
   background: #ef5a6f;
}

/* --- Итоговая рекомендация: главный вывод --- */
.ai-report-reco {
   margin-top: auto;
   padding: 18px 18px;
   border-radius: 18px;
   background: linear-gradient(180deg, rgba(47, 107, 255, 0.22), rgba(47, 107, 255, 0.10));
   border: 1px solid rgba(143, 186, 255, 0.4);
   box-shadow: 0 0 28px rgba(47, 107, 255, 0.18);
}

.ai-reco-label {
   display: flex;
   align-items: center;
   gap: 8px;
   font-size: 11px;
   font-weight: 800;
   letter-spacing: 0.1em;
   text-transform: uppercase;
   color: #a9c9ff;
   margin-bottom: 8px;
}

.ai-reco-label svg {
   width: 15px;
   height: 15px;
}

.ai-reco-text {
   font-size: 17px;
   font-weight: 800;
   line-height: 1.35;
   letter-spacing: -0.02em;
   color: #fff;
}

@media (max-width: 980px) {
   .ai-report {
      inset: 0;
      position: relative;
   }

   .hero-visual {
      min-height: auto;
   }
}

/* ====== AI Report — появление + hover ====== */

/* Плавное появление карточки и её элементов по очереди */
@keyframes aiFadeUp {
   from {
      opacity: 0;
      transform: translateY(14px);
   }

   to {
      opacity: 1;
      transform: translateY(0);
   }
}

.ai-report {
   animation: aiFadeUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
   transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

/* Лёгкое усиление тени, когда курсор над всей карточкой */
.ai-report:hover {
   border-color: rgba(143, 186, 255, 0.28);
   box-shadow:
      0 28px 90px rgba(0, 0, 0, 0.42),
      0 0 40px rgba(47, 107, 255, 0.10),
      inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Поэтапное появление внутренних блоков */
.ai-report-head {
   animation: aiFadeUp 0.5s ease 0.05s both;
}

.ai-report-title {
   animation: aiFadeUp 0.5s ease 0.12s both;
}

.ai-figure--up {
   animation: aiFadeUp 0.5s ease 0.20s both;
}

.ai-figure--risk {
   animation: aiFadeUp 0.5s ease 0.28s both;
}

.ai-report-findings {
   animation: aiFadeUp 0.5s ease 0.36s both;
}

.ai-report-reco {
   animation: aiFadeUp 0.5s ease 0.44s both;
}

/* Финансовые карточки — приподнимаются и подсвечиваются */
.ai-figure {
   transition:
      transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
      box-shadow 0.32s ease,
      border-color 0.32s ease;
   will-change: transform;
}

.ai-figure--up:hover {
   transform: translateY(-4px);
   border-color: rgba(29, 187, 132, 0.5);
   box-shadow: 0 14px 34px rgba(29, 187, 132, 0.18);
}

.ai-figure--risk:hover {
   transform: translateY(-4px);
   border-color: rgba(239, 90, 111, 0.5);
   box-shadow: 0 14px 34px rgba(239, 90, 111, 0.18);
}

/* Блок замечаний — мягкая подсветка */
.ai-report-findings {
   transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.ai-report-findings:hover {
   transform: translateY(-2px);
   background: rgba(255, 255, 255, 0.05);
   border-color: rgba(133, 176, 255, 0.22);
}

/* Итоговая рекомендация — дышащее свечение + усиление на hover */
@keyframes aiRecoGlow {

   0%,
   100% {
      box-shadow: 0 0 24px rgba(47, 107, 255, 0.14);
   }

   50% {
      box-shadow: 0 0 34px rgba(47, 107, 255, 0.26);
   }
}

.ai-report-reco {
   animation:
      aiFadeUp 0.5s ease 0.44s both,
      aiRecoGlow 4.5s ease-in-out 1s infinite;
   transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.32s ease;
}

.ai-report-reco:hover {
   transform: translateY(-3px);
   border-color: rgba(143, 186, 255, 0.6);
}

/* Живой индикатор статуса — мягкая пульсация зелёной точки */
@keyframes aiDotPulse {

   0%,
   100% {
      box-shadow: 0 0 0 0 rgba(29, 187, 132, 0.35);
   }

   50% {
      box-shadow: 0 0 0 6px rgba(29, 187, 132, 0);
   }
}

.ai-report-dot {
   animation: aiDotPulse 2.4s ease-in-out infinite;
}

/* Уважение к системной настройке «уменьшить движение» */
@media (prefers-reduced-motion: reduce) {

   .ai-report,
   .ai-report-head,
   .ai-report-title,
   .ai-figure--up,
   .ai-figure--risk,
   .ai-report-findings,
   .ai-report-reco,
   .ai-report-dot {
      animation: none;
   }
}

/* ====== AI Report — вариант 2: скан + блик ====== */

/* Появление: мягкое проявление с лёгким масштабом */
@keyframes aiReveal {
   from {
      opacity: 0;
      transform: scale(0.985);
      filter: blur(2px);
   }

   to {
      opacity: 1;
      transform: scale(1);
      filter: blur(0);
   }
}

.ai-report {
   position: absolute;
   /* сохраняем как было */
   animation: aiReveal 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
   transition: box-shadow 0.45s ease, border-color 0.45s ease, transform 0.45s ease;
}

/* Однократная полоса сканирования сверху вниз при загрузке */
.ai-report::after {
   content: "";
   position: absolute;
   left: 0;
   right: 0;
   top: 0;
   height: 36%;
   background: linear-gradient(180deg,
         rgba(127, 214, 255, 0.14),
         rgba(127, 214, 255, 0.04) 60%,
         transparent);
   pointer-events: none;
   opacity: 0;
   animation: aiScan 1.9s ease-in-out 0.25s 1;
}

@keyframes aiScan {
   0% {
      transform: translateY(-120%);
      opacity: 0;
   }

   15% {
      opacity: 1;
   }

   85% {
      opacity: 1;
   }

   100% {
      transform: translateY(320%);
      opacity: 0;
   }
}

/* Вся карточка слегка приподнимается при наведении */
.ai-report:hover {
   transform: translateY(-2px);
   border-color: rgba(143, 186, 255, 0.3);
   box-shadow:
      0 30px 90px rgba(0, 0, 0, 0.44),
      0 0 44px rgba(47, 107, 255, 0.12);
}

/* --- Финансовые карточки: глянцевый блик слева направо --- */
.ai-figure {
   position: relative;
   overflow: hidden;
   transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.34s ease, border-color 0.34s ease;
}

.ai-figure::after {
   content: "";
   position: absolute;
   top: 0;
   bottom: 0;
   left: -60%;
   width: 50%;
   background: linear-gradient(100deg,
         transparent,
         rgba(255, 255, 255, 0.10) 40%,
         rgba(255, 255, 255, 0.16) 50%,
         transparent);
   transform: skewX(-18deg);
   pointer-events: none;
   transition: left 0.6s ease;
}

.ai-figure:hover::after {
   left: 130%;
}

.ai-figure--up:hover {
   transform: translateY(-3px);
   border-color: rgba(29, 187, 132, 0.5);
   box-shadow: 0 14px 32px rgba(29, 187, 132, 0.18);
}

.ai-figure--risk:hover {
   transform: translateY(-3px);
   border-color: rgba(239, 90, 111, 0.5);
   box-shadow: 0 14px 32px rgba(239, 90, 111, 0.18);
}

/* Цифры чуть «оживают» при наведении на карточку */
.ai-figure-value {
   transition: letter-spacing 0.34s ease, transform 0.34s ease;
}

.ai-figure:hover .ai-figure-value {
   transform: translateX(2px);
}

/* --- Замечания: подсветка фона при наведении --- */
.ai-report-findings {
   transition: background 0.3s ease, border-color 0.3s ease;
}

.ai-report-findings:hover {
   background: rgba(255, 255, 255, 0.055);
   border-color: rgba(133, 176, 255, 0.24);
}

/* --- Рекомендация: бегущая по контуру световая линия --- */
.ai-report-reco {
   position: relative;
   overflow: hidden;
   transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.34s ease;
}

/* Тонкая световая линия сверху, медленно скользит туда-обратно */
.ai-report-reco::before {
   content: "";
   position: absolute;
   top: 0;
   left: 0;
   height: 2px;
   width: 40%;
   background: linear-gradient(90deg, transparent, rgba(143, 186, 255, 0.9), transparent);
   animation: aiRunline 5s ease-in-out infinite;
   pointer-events: none;
}

@keyframes aiRunline {
   0% {
      left: -40%;
   }

   50% {
      left: 100%;
   }

   100% {
      left: -40%;
   }
}

.ai-report-reco:hover {
   transform: translateY(-3px);
   border-color: rgba(143, 186, 255, 0.6);
}

/* Статус-точка: спокойный «вдох» прозрачности */
@keyframes aiBreath {

   0%,
   100% {
      opacity: 1;
   }

   50% {
      opacity: 0.55;
   }
}

.ai-report-dot {
   animation: aiBreath 2.6s ease-in-out infinite;
}

/* Уважение к системной настройке «уменьшить движение» */
@media (prefers-reduced-motion: reduce) {

   .ai-report,
   .ai-report::after,
   .ai-figure::after,
   .ai-report-reco::before,
   .ai-report-dot {
      animation: none;
   }

   .ai-figure:hover::after {
      left: -60%;
   }
}

/* ====== AI Report — вариант 2: сначала скан, потом карточки ====== */

/* Рамка карточки проявляется сразу (без содержимого) */
@keyframes aiReveal {
   from {
      opacity: 0;
      transform: scale(0.985);
      filter: blur(2px);
   }

   to {
      opacity: 1;
      transform: scale(1);
      filter: blur(0);
   }
}

.ai-report {
   position: absolute;
   /* сохраняем как было */
   animation: aiReveal 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
   transition: box-shadow 0.45s ease, border-color 0.45s ease, transform 0.45s ease;
}

/* Полоса сканирования сверху вниз — проходит первой */
.ai-report::after {
   content: "";
   position: absolute;
   left: 0;
   right: 0;
   top: 0;
   height: 40%;
   background: linear-gradient(180deg,
         rgba(127, 214, 255, 0.16),
         rgba(127, 214, 255, 0.05) 60%,
         transparent);
   pointer-events: none;
   opacity: 0;
   animation: aiScan 1.5s ease-in-out 0.35s 1 forwards;
}

@keyframes aiScan {
   0% {
      transform: translateY(-120%);
      opacity: 0;
   }

   12% {
      opacity: 1;
   }

   88% {
      opacity: 1;
   }

   100% {
      transform: translateY(300%);
      opacity: 0;
   }
}

/* Появление внутренних блоков ПОСЛЕ скана (скан завершается ≈1.85s) */
@keyframes aiFadeUp {
   from {
      opacity: 0;
      transform: translateY(14px);
   }

   to {
      opacity: 1;
      transform: translateY(0);
   }
}

.ai-report-head {
   animation: aiFadeUp 0.5s ease 1.75s both;
}

.ai-report-title {
   animation: aiFadeUp 0.5s ease 1.85s both;
}

.ai-figure--up {
   animation: aiFadeUp 0.5s ease 1.97s both;
}

.ai-figure--risk {
   animation: aiFadeUp 0.5s ease 2.09s both;
}

.ai-report-findings {
   animation: aiFadeUp 0.5s ease 2.21s both;
}

/* --- Финансовые карточки: глянцевый блик при наведении --- */
.ai-figure {
   position: relative;
   overflow: hidden;
   transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.34s ease, border-color 0.34s ease;
}

.ai-figure::after {
   content: "";
   position: absolute;
   top: 0;
   bottom: 0;
   left: -60%;
   width: 50%;
   background: linear-gradient(100deg,
         transparent,
         rgba(255, 255, 255, 0.10) 40%,
         rgba(255, 255, 255, 0.16) 50%,
         transparent);
   transform: skewX(-18deg);
   pointer-events: none;
   transition: left 0.6s ease;
}

.ai-figure:hover::after {
   left: 130%;
}

.ai-figure--up:hover {
   transform: translateY(-3px);
   border-color: rgba(29, 187, 132, 0.5);
   box-shadow: 0 14px 32px rgba(29, 187, 132, 0.18);
}

.ai-figure--risk:hover {
   transform: translateY(-3px);
   border-color: rgba(239, 90, 111, 0.5);
   box-shadow: 0 14px 32px rgba(239, 90, 111, 0.18);
}

.ai-figure-value {
   transition: transform 0.34s ease;
}

.ai-figure:hover .ai-figure-value {
   transform: translateX(2px);
}

/* --- Замечания --- */
.ai-report-findings {
   transition: background 0.3s ease, border-color 0.3s ease;
}

.ai-report-findings:hover {
   background: rgba(255, 255, 255, 0.055);
   border-color: rgba(133, 176, 255, 0.24);
}

/* --- Рекомендация: появляется последней, затем световая линия --- */
.ai-report-reco {
   position: relative;
   overflow: hidden;
   /* появление после скана + бегущая линия, запускающаяся позже */
   animation:
      aiFadeUp 0.5s ease 2.33s both,
      aiRunline 5s ease-in-out 3s infinite;
   transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.34s ease;
}

.ai-report-reco::before {
   content: "";
   position: absolute;
   top: 0;
   left: 0;
   height: 2px;
   width: 40%;
   background: linear-gradient(90deg, transparent, rgba(143, 186, 255, 0.9), transparent);
   pointer-events: none;
   /* линия начинает бег после того, как блок проявился */
   transform: translateX(-100%);
   animation: aiRunlineBar 5s ease-in-out 3s infinite;
}

@keyframes aiRunlineBar {
   0% {
      left: -40%;
   }

   50% {
      left: 100%;
   }

   100% {
      left: -40%;
   }
}

/* пустой keyframe-«держатель», чтобы reco не дёргалась до старта линии */
@keyframes aiRunline {

   0%,
   100% {
      border-color: rgba(143, 186, 255, 0.4);
   }
}

.ai-report-reco:hover {
   transform: translateY(-3px);
   border-color: rgba(143, 186, 255, 0.6);
}

/* Статус-точка появляется вместе с шапкой, затем «дышит» */
@keyframes aiBreath {

   0%,
   100% {
      opacity: 1;
   }

   50% {
      opacity: 0.55;
   }
}

.ai-report-dot {
   animation:
      aiFadeUp 0.5s ease 1.75s both,
      aiBreath 2.6s ease-in-out 2.4s infinite;
}

/* Уменьшение движения: всё видно сразу, без скана и анимаций */
@media (prefers-reduced-motion: reduce) {

   .ai-report,
   .ai-report::after,
   .ai-report-head,
   .ai-report-title,
   .ai-figure--up,
   .ai-figure--risk,
   .ai-report-findings,
   .ai-report-reco,
   .ai-report-reco::before,
   .ai-report-dot {
      animation: none;
   }

   .ai-figure:hover::after {
      left: -60%;
   }
}

@media (max-width: 980px) {

   /* отчёт встаёт в обычный поток, поэтому виден и задаёт высоту */
   .ai-report {
      position: relative;
      inset: auto;
      width: 100%;
   }

   /* убираем «пустую» фиксированную высоту — блок подстраивается под карточку */
   .hero-visual {
      min-height: 0;
      height: auto;
   }
}

/* ====== Header actions / auth ====== */
.header-actions {
   display: flex;
   align-items: center;
   position: relative;
}

.btn-login {
   display: inline-flex;
   align-items: center;
   gap: 8px;
   background: var(--blue-500);
   color: #fff;
   border: none;
   border-radius: 12px;
   padding: 10px 16px;
   font-size: 14px;
   font-weight: 700;
   font-family: inherit;
   cursor: pointer;
   transition: var(--transition);
}

.btn-login:hover {
   background: var(--blue-400);
}

.user-menu {
   position: relative;
}

.user-menu-trigger {
   display: flex;
   align-items: center;
   gap: 8px;
   background: rgba(47, 107, 255, 0.06);
   border: 1px solid var(--border);
   border-radius: 12px;
   padding: 8px 12px;
   font-family: inherit;
   cursor: pointer;
   transition: var(--transition);
}

.user-menu-trigger:hover {
   background: rgba(47, 107, 255, 0.1);
}

.user-menu-info {
   display: flex;
   flex-direction: column;
   align-items: flex-start;
   line-height: 1.25;
}

.user-menu-name {
   font-size: 13px;
   font-weight: 700;
   color: var(--text);
   max-width: 140px;
   white-space: nowrap;
   overflow: hidden;
   text-overflow: ellipsis;
}

.user-menu-balance {
   font-size: 12px;
   font-weight: 700;
   color: var(--green);
}

.user-menu-chevron {
   color: var(--text-muted);
   transition: transform 0.25s ease;
   flex-shrink: 0;
}

.user-menu.open .user-menu-chevron {
   transform: rotate(180deg);
}

.user-menu-dropdown {
   position: absolute;
   top: calc(100% + 8px);
   right: 0;
   min-width: 240px;
   background: var(--surface-1);
   border: 1px solid var(--border);
   border-radius: var(--radius-sm);
   box-shadow: var(--shadow-elevated);
   padding: 8px;
   opacity: 0;
   transform: translateY(-6px);
   pointer-events: none;
   transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
   z-index: 60;
}

.user-menu.open .user-menu-dropdown {
   opacity: 1;
   transform: translateY(0);
   pointer-events: auto;
}

.user-menu-row {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 10px;
   padding: 10px 12px;
   border-radius: 10px;
   font-size: 14px;
   color: var(--text);
   text-decoration: none;
   background: none;
   border: none;
   width: 100%;
   text-align: left;
   font-family: inherit;
   cursor: default;
}

.user-menu-fio {
   font-weight: 800;
}

.user-menu-balance-row .user-menu-balance-val {
   font-weight: 800;
   color: var(--green);
}

a.user-menu-link,
button.user-menu-link {
   cursor: pointer;
   font-weight: 600;
   color: var(--text-secondary);
}

a.user-menu-link:hover,
button.user-menu-link:hover {
   background: rgba(47, 107, 255, 0.06);
   color: var(--text);
}

.user-menu-logout {
   color: var(--danger);
}

.user-menu-logout:hover {
   background: var(--danger-soft);
   color: var(--danger);
}

.btn-topup-mini {
   background: var(--blue-500);
   color: #fff;
   border: none;
   border-radius: 8px;
   padding: 6px 12px;
   font-size: 12px;
   font-weight: 700;
   font-family: inherit;
   cursor: pointer;
   transition: var(--transition);
}

.btn-topup-mini:hover {
   background: var(--blue-400);
}

/* ====== Auth modal ====== */
.auth-methods {
   display: flex;
   flex-direction: column;
   gap: 12px;
}

.buttonyandex.auth_block {
   display: flex;
   align-items: center;
   gap: 12px;
   background: #fff;
   border: 1.5px solid var(--border);
   border-radius: var(--radius-sm);
   padding: 12px 16px;
   text-decoration: none;
   color: var(--text);
   font-weight: 700;
   font-size: 15px;
   transition: var(--transition);
}

.buttonyandex.auth_block:hover {
   border-color: var(--border-hover);
   background: var(--surface-3);
}

.vk-auth-container {
   display: flex;
   justify-content: center;
}

/* ====== Mobile header layout: бургер слева, авторизация справа ====== */
@media (max-width: 768px) {
   .header-inner {
      justify-content: flex-start;
   }

   .burger {
      order: -1;
      margin-right: 10px;
   }

   .logo {
      margin-right: auto;
      font-size: 15px;
   }

   .logo svg {
      width: 20px;
      height: 20px;
   }

   .header-actions {
      order: 1;
   }

   .user-menu-name {
      display: none;
   }

   .user-menu-trigger {
      padding: 8px 10px;
   }
}

@media (max-width: 480px) {
   .btn-login-text {
      display: none;
   }

   .btn-login {
      padding: 10px 12px;
   }
}