/* Шрифтовая пара набора: Spectral / Commissioner.
   Файлы лежат рядом с этим css - копировать в out/fonts/ и подключать оттуда.
   .ttf рядом - для обводки букв wordmark'а логотипа (opentype.js), в out/ их не класть. */

/* --- Spectral --- */
/* cyrillic-ext */
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Spectral-cyrillic-ext-00.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Spectral-cyrillic-01.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Spectral-vietnamese-02.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Spectral-latin-ext-03.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Spectral-latin-04.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/Spectral-cyrillic-ext-05.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/Spectral-cyrillic-06.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/Spectral-vietnamese-07.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/Spectral-latin-ext-08.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/Spectral-latin-09.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/Spectral-cyrillic-ext-10.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/Spectral-cyrillic-11.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/Spectral-vietnamese-12.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/Spectral-latin-ext-13.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/Spectral-latin-14.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Spectral-cyrillic-ext-15.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Spectral-cyrillic-16.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Spectral-vietnamese-17.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Spectral-latin-ext-18.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Spectral-latin-19.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* --- Commissioner --- */
/* cyrillic-ext */
@font-face {
  font-family: 'Commissioner';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Commissioner-cyrillic-ext-00.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Commissioner';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Commissioner-cyrillic-01.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Commissioner';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Commissioner-greek-02.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Commissioner';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Commissioner-vietnamese-03.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Commissioner';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Commissioner-latin-ext-04.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Commissioner';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Commissioner-latin-05.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Commissioner';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/Commissioner-cyrillic-ext-06.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Commissioner';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/Commissioner-cyrillic-07.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Commissioner';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/Commissioner-greek-08.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Commissioner';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/Commissioner-vietnamese-09.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Commissioner';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/Commissioner-latin-ext-10.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Commissioner';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/Commissioner-latin-11.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Commissioner';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/Commissioner-cyrillic-ext-12.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Commissioner';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/Commissioner-cyrillic-13.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Commissioner';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/Commissioner-greek-14.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Commissioner';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/Commissioner-vietnamese-15.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Commissioner';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/Commissioner-latin-ext-16.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Commissioner';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/Commissioner-latin-17.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Commissioner';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Commissioner-cyrillic-ext-18.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Commissioner';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Commissioner-cyrillic-19.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Commissioner';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Commissioner-greek-20.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Commissioner';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Commissioner-vietnamese-21.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Commissioner';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Commissioner-latin-ext-22.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Commissioner';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Commissioner-latin-23.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ==========================================================================
   CoopDesk Design System & Stylesheet
   Гаражно-строительные кооперативы (ГСК) · sntpilot.ru/gsk
   Шрифтовая пара: Spectral / Commissioner (локальные woff2)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens & CSS Variables
   -------------------------------------------------------------------------- */
:root {
  --font-base: 'Commissioner', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Spectral', Georgia, serif;

  /* Colors */
  --bg-main: #090d16;
  --bg-secondary: #0f172a;
  --bg-card: rgba(22, 30, 49, 0.78);
  --bg-card-hover: rgba(30, 41, 69, 0.9);
  --bg-card-solid: #131c31;
  --bg-elevated: #1e293b;
  --bg-input: rgba(15, 23, 42, 0.9);

  --border-light: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-active: rgba(245, 158, 11, 0.5);

  --text-primary: #ffffff;
  --text-secondary: #cbd5e1;
  --text-muted: #8492a6;
  --text-dim: #475569;

  /* Brand Accents */
  --accent-amber: #f59e0b;
  --accent-amber-glow: rgba(245, 158, 11, 0.35);
  --accent-orange: #ea580c;
  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.25);
  --accent-cyan: #06b6d4;
  --accent-blue: #3b82f6;
  --accent-red: #ef4444;

  /* Shadows & Glassmorphism */
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.35);
  --shadow-card: 0 14px 35px -10px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 40px rgba(245, 158, 11, 0.15);
  --shadow-green-glow: 0 0 35px rgba(16, 185, 129, 0.15);
  --backdrop-blur: blur(16px);

  /* Layout */
  --container-max: 1240px;
  --header-height: 76px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & Base Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  background-color: var(--bg-main);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0%, #151e36 0%, #090d16 60%, #060910 100%);
  color: var(--text-secondary);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

ul, ol {
  list-style: none;
}

/* --------------------------------------------------------------------------
   3. Layout Containers & Grid System
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.header-container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding-top: 96px;
  padding-bottom: 96px;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 56px auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: var(--accent-amber);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  line-height: 1.18;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   4. Typography Accents & Headings
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 600;
}

.text-amber { color: var(--accent-amber); }
.text-emerald { color: var(--accent-emerald); }
.text-cyan { color: var(--accent-cyan); }
.text-white { color: #ffffff; }

/* --------------------------------------------------------------------------
   5. Buttons & Interactive Controls
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  transition: all var(--transition-fast);
  white-space: nowrap;
  user-select: none;
}

.btn-primary {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #090d16;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.45);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.0625rem;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.8125rem;
  border-radius: var(--radius-sm);
}

.btn-icon-right svg {
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon-right svg {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   6. Header & Navigation Bar (Single Line Across All Widths)
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(9, 13, 22, 0.82);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border-bottom: 1px solid var(--border-light);
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.site-header.scrolled {
  background: rgba(9, 13, 22, 0.96);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  flex-wrap: nowrap;
}

/* Custom Vector Logo: >= 44px on desktop, >= 32px on mobile */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 48px;
  color: var(--text-primary);
  text-decoration: none;
  flex-shrink: 0;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.brand:hover {
  color: var(--accent-amber);
  transform: translateY(-1px);
}

.brand-logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: inherit;
}

.brand-logo-mark svg {
  width: 44px;
  height: 44px;
}

.brand-text-block {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: inherit;
  line-height: 1;
}

.brand-badge-chip {
  font-family: var(--font-base);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(245, 158, 11, 0.2);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.35);
  letter-spacing: 0.04em;
  line-height: 1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.mobile-only-nav-item {
  display: none;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-amber);
  transition: width var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-login {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-login:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-light);
  gap: 5px;
  padding: 0;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* --------------------------------------------------------------------------
   7. Hero Section & The Chief Effect (Зацикленный фон в окне)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 48px);
  padding-bottom: 72px;
  overflow: hidden;
}

.hero-bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

/* Light background overlay, <= 22% opacity to guarantee bright daylight scene */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 13, 22, 0.22) 0%, rgba(9, 13, 22, 0.18) 50%, rgba(9, 13, 22, 0.24) 100%);
}

.hero-content-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.hero-text-block {
  max-width: 600px;
  background: rgba(9, 13, 22, 0.86);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  padding: 36px 40px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero-branch-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fbbf24;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  line-height: 1.12;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.1875rem;
  line-height: 1.65;
  color: #e2e8f0;
  margin-bottom: 32px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.hero-badges-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  font-weight: 500;
  background: rgba(9, 13, 22, 0.5);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-badge-item svg {
  color: var(--accent-amber);
}

/* THE CHIEF EFFECT: Architectural Portal with Looping Canvas */
.hero-window-wrapper {
  position: relative;
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
}

.hero-window-portal {
  position: relative;
  border-radius: var(--radius-xl);
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.75), 0 0 35px rgba(245, 158, 11, 0.14);
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Cutout shape with clip-path and mask-image */
.hero-window-cutout {
  position: relative;
  width: 100%;
  height: 440px;
  clip-path: polygon(0% 5%, 5% 0%, 95% 0%, 100% 5%, 100% 95%, 95% 100%, 5% 100%, 0% 95%);
  -webkit-mask-image: radial-gradient(ellipse 96% 96% at 50% 50%, #000000 70%, transparent 100%);
  mask-image: radial-gradient(ellipse 96% 96% at 50% 50%, #000000 70%, transparent 100%);
  overflow: hidden;
}

.hero-window-canvas {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Window HUD Overlay */
.hero-window-hud {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  z-index: 5;
}

.hud-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hud-coop-name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #ffffff;
  background: rgba(9, 13, 22, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hud-pin-icon {
  color: var(--accent-amber);
  display: flex;
  align-items: center;
}

.hud-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hud-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: pulse-hud 2s infinite ease-in-out;
}

@keyframes pulse-hud {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

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

.hud-metric-card {
  background: rgba(9, 13, 22, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hud-metric-label {
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.hud-metric-val {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   8. Problems Section & Centered Incomplete Rows
   -------------------------------------------------------------------------- */
.problems-section {
  background-color: var(--bg-main);
  border-top: 1px solid var(--border-light);
}

.problems-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-bottom: 56px;
}

.problem-card {
  flex: 0 1 360px;
  max-width: 380px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.problem-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(245, 158, 11, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.problem-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-amber);
  margin-bottom: 20px;
}

.problem-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1.35;
  margin-bottom: 12px;
  color: #ffffff;
}

.problem-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Compare Widget «Было vs Стало» */
.compare-widget {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.compare-col {
  padding: 40px;
}

.compare-col.before-col {
  background: rgba(239, 68, 68, 0.03);
  border-right: 1px solid var(--border-light);
}

.compare-col.after-col {
  background: rgba(16, 185, 129, 0.03);
}

.compare-header {
  margin-bottom: 24px;
}

.compare-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
}

.badge-before {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

.badge-after {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-emerald);
}

.compare-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.compare-bullet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
}

.compare-bullet.red {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.compare-bullet.green {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
}

/* --------------------------------------------------------------------------
   9. Features Section - THE SIGNATURE FEATURE (ГОРИЗОНТАЛЬНАЯ СЕКЦИЯ)
   -------------------------------------------------------------------------- */
.features-section {
  background: linear-gradient(180deg, var(--bg-main) 0%, #0d1322 100%);
  border-top: 1px solid var(--border-light);
  overflow: hidden;
}

.horizontal-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 12px 18px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.horizontal-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.horizontal-tabs::-webkit-scrollbar {
  display: none;
}

.htab-btn {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.htab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.htab-btn.active {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: var(--accent-amber);
}

.horizontal-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.horizontal-counter {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-muted);
  min-width: 50px;
  text-align: center;
}

.hnav-arrow-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.hnav-arrow-btn:hover {
  background: rgba(245, 158, 11, 0.2);
  border-color: rgba(245, 158, 11, 0.4);
  color: var(--accent-amber);
}

/* Horizontal Viewport & Track */
.horizontal-viewport-container {
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  padding: 10px 0 20px 0;
}

.horizontal-viewport-container::-webkit-scrollbar {
  display: none;
}

.horizontal-cards-track {
  display: flex;
  flex-direction: row;
  gap: 32px;
  width: max-content;
}

.horizontal-card {
  flex: 0 0 min(1120px, calc(100vw - 48px));
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 48px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  box-shadow: var(--shadow-card);
  transition: border-color var(--transition-normal);
}

.horizontal-card.active {
  border-color: rgba(245, 158, 11, 0.35);
}

.hcard-content-col {
  display: flex;
  flex-direction: column;
}

.hcard-index {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent-amber);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hcard-content-col h3 {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 16px;
}

.hcard-content-col p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.hcard-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hcard-point {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.hcard-point svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
}

.hcard-mockup-col {
  width: 100%;
}

/* Proprietary UI Mockup Shell (No macOS dots) */
.coop-panel-frame {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.6);
}

.coop-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #0f172a;
  border-bottom: 1px solid var(--border-light);
}

.panel-coop-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.panel-badge-live {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
}

.coop-panel-body {
  padding: 20px;
}

/* Mockup Elements Inside Panels */
.mockup-dashboard-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.mockup-kpi-card {
  background: #182238;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.mockup-kpi-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.mockup-kpi-value {
  font-size: 1.1875rem;
  font-weight: 700;
  color: #ffffff;
}

.mockup-chart-container {
  background: #182238;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.svg-chart {
  width: 100%;
  height: 90px;
}

/* Registry Search & Table */
.registry-search-container {
  padding: 0 16px 12px 16px;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-wrapper svg {
  position: absolute;
  left: 12px;
  color: var(--text-muted);
}

.search-input-wrapper input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: #ffffff;
  font-size: 0.8125rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition-fast);
}

.search-input-wrapper input:focus {
  border-color: var(--accent-amber);
}

.mockup-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}

.mockup-table th {
  text-align: left;
  padding: 10px 16px;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-light);
  background: rgba(15, 23, 42, 0.5);
}

.mockup-table td {
  padding: 12px 16px;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.table-box-tag {
  display: inline-block;
  font-weight: 700;
  color: var(--accent-amber);
  background: rgba(245, 158, 11, 0.12);
  padding: 2px 8px;
  border-radius: 4px;
}

.status-badge-paid {
  display: inline-block;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.12);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.status-badge-debt {
  display: inline-block;
  color: #f87171;
  background: rgba(239, 68, 68, 0.12);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Fee Items */
.mockup-fee-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mockup-fee-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #182238;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.fee-title-row {
  font-weight: 600;
  color: #ffffff;
  font-size: 0.875rem;
  margin-bottom: 2px;
}

.fee-desc-row {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.fee-amount-badge {
  font-weight: 700;
  color: var(--accent-amber);
  background: rgba(245, 158, 11, 0.12);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.8125rem;
}

/* Mass Accrual Box */
.mass-accrual-box {
  background: #182238;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 18px;
}

.accrual-row-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.875rem;
}

.accrual-action-btn {
  margin-top: 16px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: 8px;
  background: var(--accent-emerald);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all var(--transition-fast);
}

.accrual-action-btn:hover {
  background: #059669;
}

/* Debtor Analytics & Donut */
.debtor-analytics-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
}

.donut-svg-wrapper {
  position: relative;
  width: 130px;
  height: 130px;
}

.donut-center-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.donut-stat-num {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-emerald);
  line-height: 1;
}

.donut-stat-label {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.debtor-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.debtor-breakdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
}

.breakdown-legend {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
}

.legend-color-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-green { background-color: var(--accent-emerald); }
.dot-yellow { background-color: var(--accent-amber); }
.dot-red { background-color: #ef4444; }

/* Notice Box */
.notice-preview-box {
  background: #182238;
  border-radius: 8px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.notice-label-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.notice-subject-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
  font-size: 0.9375rem;
}

.notice-subject-header svg {
  color: var(--accent-amber);
}

.notice-body-text {
  background: rgba(15, 23, 42, 0.8);
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 0.8125rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin-bottom: 14px;
}

.notice-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.notice-recipients {
  font-size: 0.75rem;
  color: var(--accent-emerald);
}

.notice-status-tag {
  padding: 4px 10px;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 6px;
  color: var(--accent-amber);
  font-weight: 600;
  font-size: 0.75rem;
}

/* --------------------------------------------------------------------------
   10. How It Works Section & Centered Incomplete Rows
   -------------------------------------------------------------------------- */
.how-it-works-section {
  background: var(--bg-main);
  border-top: 1px solid var(--border-light);
}

.steps-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.step-card {
  flex: 0 1 260px;
  max-width: 290px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.step-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(245, 158, 11, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.step-num-badge {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-amber);
  margin-bottom: 16px;
}

.step-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1.35;
  color: #ffffff;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   11. Pricing Section (Strictly 2 Plans) & Centered Incomplete Rows
   -------------------------------------------------------------------------- */
.pricing-section {
  background: linear-gradient(180deg, var(--bg-main) 0%, #0d1322 100%);
  border-top: 1px solid var(--border-light);
}

.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  margin-bottom: 40px;
}

.pricing-card {
  flex: 0 1 440px;
  max-width: 480px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-card);
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.65);
}

.pricing-card.featured-plan {
  border-color: rgba(245, 158, 11, 0.45);
  background: linear-gradient(180deg, rgba(30, 41, 69, 0.85) 0%, rgba(22, 30, 49, 0.85) 100%);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.6), 0 0 40px rgba(245, 158, 11, 0.1);
}

.pricing-plan-header {
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 24px;
}

.plan-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: #ffffff;
  margin-bottom: 8px;
}

.plan-limit-badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-amber);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.plan-price-num {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

.plan-price-period {
  font-size: 1rem;
  color: var(--text-muted);
}

.pricing-features-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
  flex-grow: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.pricing-feature-item svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
}

.pricing-cta-btn {
  width: 100%;
}

.pricing-footnote {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.pricing-legal-links {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.8125rem;
}

.pricing-legal-links a {
  color: var(--accent-amber);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   12. FAQ Section (Accordion)
   -------------------------------------------------------------------------- */
.faq-section {
  background: var(--bg-main);
  border-top: 1px solid var(--border-light);
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.faq-item.active {
  border-color: rgba(245, 158, 11, 0.4);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-size: 1.0625rem;
  font-weight: 600;
  color: #ffffff;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--accent-amber);
}

.faq-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform var(--transition-normal), background-color var(--transition-fast), color var(--transition-fast);
}

.faq-item.active .faq-icon-wrapper {
  transform: rotate(180deg);
  background: rgba(245, 158, 11, 0.2);
  color: var(--accent-amber);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-content {
  padding: 0 24px 22px 24px;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   13. Final CTA Section
   -------------------------------------------------------------------------- */
.final-cta-section {
  background: linear-gradient(180deg, var(--bg-main) 0%, #111827 100%);
  border-top: 1px solid var(--border-light);
  padding-bottom: 120px;
}

.final-cta-banner {
  background: radial-gradient(circle at 50% 0%, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-xl);
  padding: 64px 40px;
  text-align: center;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.6), 0 0 50px rgba(245, 158, 11, 0.1);
  max-width: 980px;
  margin: 0 auto;
}

.final-cta-title {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 16px;
}

.final-cta-subtitle {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 36px auto;
}

.final-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   14. Site Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: #060911;
  border-top: 1px solid var(--border-light);
  padding: 64px 0 32px 0;
  color: var(--text-muted);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand-col .brand {
  margin-bottom: 16px;
}

.footer-brand-col p {
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 380px;
}

.footer-col-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

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

.footer-links-list a:hover {
  color: var(--accent-amber);
}

.contact-support-text {
  color: var(--text-secondary);
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-bar a {
  color: var(--text-muted);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   15. Return to Top Floating Button
   -------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.3s,
              border-color 0.2s,
              box-shadow 0.2s;
  cursor: pointer;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  border-color: var(--accent-amber);
  box-shadow: 0 12px 35px rgba(245, 158, 11, 0.25);
  transform: translateY(-2px) scale(1.05);
}

.progress-ring {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}

.progress-ring-bg {
  stroke: rgba(255, 255, 255, 0.08);
}

.progress-ring-circle {
  stroke: var(--accent-amber);
  stroke-linecap: round;
  stroke-dasharray: 132;
  stroke-dashoffset: 132;
  transition: stroke-dashoffset 0.15s ease-out;
}

.back-to-top-icon {
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, color 0.2s;
  z-index: 2;
}

.back-to-top:hover .back-to-top-icon {
  color: var(--accent-amber);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   16. Scroll Reveal (IntersectionObserver)
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --------------------------------------------------------------------------
   17. Responsive Media Queries (Zero Horizontal Overflow at 390px and 360px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-text-block {
    max-width: 100%;
    text-align: center;
    padding: 32px 28px;
  }

  .hero-actions,
  .hero-badges-row {
    justify-content: center;
  }

  .horizontal-card {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

@media (max-width: 768px) {
  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-text-block {
    padding: 28px 24px;
    border-radius: 20px;
    background: rgba(9, 13, 22, 0.90);
  }

  /* Single-row header stays strictly 1 line */
  .header-inner {
    height: 64px;
  }

  .brand {
    height: 36px;
    gap: 8px;
  }

  .brand-logo-mark {
    width: 36px;
    height: 36px;
  }

  .brand-logo-mark svg {
    width: 36px;
    height: 36px;
  }

  .brand-title {
    font-size: 1.35rem;
  }

  .header-actions .nav-login {
    display: none;
  }

  .header-cta-btn {
    padding: 6px 12px;
    font-size: 0.75rem;
  }

  .main-nav {
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    background: rgba(9, 13, 22, 0.98);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    flex-direction: column;
    padding: 32px 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border-light);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-normal), opacity var(--transition-normal);
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-only-nav-item {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
  }

  .nav-link-login-mobile {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    color: #ffffff;
    font-weight: 600;
  }

  .hamburger {
    display: flex;
  }

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

  .compare-col.before-col {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
  }

  .debtor-analytics-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .donut-svg-wrapper {
    margin: 0 auto;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .container,
  .header-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section-title {
    font-size: 1.65rem;
  }

  .hero-text-block {
    padding: 24px 18px;
    border-radius: 18px;
    background: rgba(9, 13, 22, 0.92);
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .final-cta-actions .btn {
    width: 100%;
  }

  .horizontal-card {
    padding: 24px 16px;
  }

  .mockup-dashboard-kpis {
    grid-template-columns: 1fr;
  }

  .hero-window-cutout {
    height: 360px;
  }

  .back-to-top {
    bottom: 16px;
    right: 16px;
  }
}

/* Strict check for 390px and 360px: guaranteed zero bounding overflow */
@media (max-width: 390px) {
  .container,
  .header-container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero-text-block {
    padding: 20px 14px;
    border-radius: 16px;
    background: rgba(9, 13, 22, 0.94);
  }

  .brand-title {
    font-size: 1.2rem;
  }

  .brand-logo-mark {
    width: 32px;
    height: 32px;
  }

  .brand-logo-mark svg {
    width: 32px;
    height: 32px;
  }

  .header-cta-btn {
    padding: 6px 10px;
    font-size: 0.6875rem;
    gap: 4px;
  }

  .header-cta-btn .btn-icon-right {
    display: none;
  }

  .hero-title {
    font-size: 1.65rem;
  }

  .pricing-card {
    padding: 32px 20px;
  }

  .final-cta-banner {
    padding: 40px 20px;
  }
}

/* --------------------------------------------------------------------------
   18. prefers-reduced-motion Handling
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .hud-pulse-dot {
    animation: none !important;
  }
}
