/* ═══════════════════════════════════════
   SELF-HOSTED MANROPE FONT
═══════════════════════════════════════ */
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/manrope-0.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: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/manrope-1.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/manrope-2.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: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/manrope-3.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: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/manrope-4.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: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/manrope-5.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: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/manrope-0.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: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/manrope-1.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/manrope-2.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: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/manrope-3.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: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/manrope-4.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: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/manrope-5.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: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/manrope-0.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: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/manrope-1.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/manrope-2.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: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/manrope-3.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: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/manrope-4.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: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/manrope-5.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: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/manrope-0.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: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/manrope-1.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/manrope-2.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: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/manrope-3.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: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/manrope-4.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: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/manrope-5.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;
}

/*
 * BIGDBM – Base Stylesheet
 * Shared navbar + footer styles. Loaded after page <style> blocks so it
 * takes precedence for header/footer CSS. Edit this ONE file to restyle
 * the nav or footer across the entire site.
 */

/* ═══════════════════════════════════════
   SHARED RESETS (safe to apply globally)
═══════════════════════════════════════ */
a { text-decoration: none; color: inherit; }
img { display: block; }

/* Skip navigation link */
.skip-nav {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 9999;
    background: #363F72;
    color: white;
    padding: 10px 18px;
    border-radius: 0 0 8px 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.2s;
}
.skip-nav:focus {
    top: 0;
}

/* ═══════════════════════════════════════
   NAVBAR
═══════════════════════════════════════ */
.navbar {
    position: sticky; top: 0; z-index: 200;
    width: 100%; height: 60px;
    background: white;
    border-bottom: 1px solid #EEEEF0;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Manrope', sans-serif;
}
.navbar-inner {
    width: 100%; max-width: 1280px;
    padding: 0 40px;
    display: flex; align-items: center; justify-content: space-between;
}
.navbar-logo img { width: 118px; height: auto; display: block; }
.navbar-links { display: flex; align-items: center; }
.nav-item {
    height: 48px;
    padding: 0 12px;
    display: flex; align-items: center; gap: 4px;
    color: #4A4E5A; font-size: 14px; font-weight: 600; line-height: 20px;
    cursor: pointer; white-space: nowrap; text-decoration: none;
    transition: color .15s;
}
.nav-item img  { width: 14px; height: 14px; opacity: 0.7; display: inline; }
.nav-item:hover,
.nav-item.active { color: #363F72; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown .nav-item { user-select: none; }
.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 4px); left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #EEEEF0;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,.10);
    padding: 8px;
    min-width: 220px;
    z-index: 300;
    flex-direction: column; gap: 2px;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu { display: flex; }
.nav-dropdown.dropdown-open .dropdown-menu { display: flex; }
.dropdown-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px; border-radius: 8px;
    font-size: 14px; font-weight: 500; color: #4A4E5A;
    white-space: nowrap; text-decoration: none;
    transition: background .15s, color .15s;
}
.dropdown-item:hover { background: #F4F3FF; color: #6838EF; }

/* Nav action buttons */
.navbar-actions { display: flex; gap: 12px; align-items: center; }
.btn-sm-secondary {
    padding: 10px 16px;
    background: white; color: #4A4E5A;
    border: 1px solid #D8DADF; border-radius: 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px; font-weight: 600; line-height: 20px;
    box-shadow: 0 1px 2px rgba(16,24,40,.05);
    cursor: pointer; text-decoration: none;
    display: inline-flex; align-items: center;
    transition: background .15s;
}
.btn-sm-primary {
    padding: 10px 16px;
    background: #363F72; color: white;
    border: 1px solid #363F72; border-radius: 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px; font-weight: 600; line-height: 20px;
    box-shadow: 0 1px 2px rgba(16,24,40,.05);
    cursor: pointer; text-decoration: none;
    display: inline-flex; align-items: center;
    transition: background .15s;
}
.btn-sm-secondary:hover { background: #f5f5f9; }
.btn-sm-primary:hover   { background: #2c3560; }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
footer {
    background: #250F66;
    padding: 60px 80px 0;
    font-family: 'Manrope', sans-serif;
}
.footer-top {
    display: flex; gap: 48px; padding-bottom: 48px;
}
.footer-brand {
    flex: 1.2; display: flex; flex-direction: column; gap: 20px;
}
.footer-brand > img { width: 131px; height: auto; display: block; }
.footer-tagline {
    max-width: 272px;
    font-size: 14px; font-weight: 400; line-height: 21px; color: #D9D5FF;
}
.footer-socials { display: flex; gap: 12px; }
.social-btn {
    width: 36px; height: 36px;
    background: #3F1B97; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: background .2s; border: none;
    text-decoration: none; flex-shrink: 0;
}
.social-btn:hover { background: #5a2ed8; }
.social-btn svg { width: 16px; height: 16px; fill: white; display: block; }
.social-btn img { width: 14px; height: 14px; filter: brightness(10); display: block; }

.footer-col { flex: 1; display: flex; flex-direction: column; gap: 20px; }
.footer-col-title { font-size: 16px; font-weight: 700; color: white; }
.footer-links { display: flex; flex-direction: column; gap: 12px; list-style: none; }
.footer-link {
    font-size: 14px; font-weight: 400; line-height: 21px; color: #D9D5FF;
    cursor: pointer; transition: color .15s; text-decoration: none;
    display: block;
}
.footer-link:hover { color: white; }

.footer-bottom {
    border-top: 1px solid #3F1B97;
    padding: 24px 0;
    display: flex; justify-content: space-between; align-items: center;
}
.footer-copy { font-size: 14px; font-weight: 400; line-height: 21px; color: #D9D5FF; }

/* ═══════════════════════════════════════
   HAMBURGER  (referenced by responsive.css + site.js)
═══════════════════════════════════════ */
.nav-hamburger {
    display: none;
    align-items: center; justify-content: center;
    width: 40px; height: 40px;
    background: none;
    border: 1px solid #EEEEF0;
    border-radius: 8px;
    cursor: pointer;
    flex-shrink: 0;
}

/* Scroll snapping is handled entirely by site.js (position-based, 90% threshold) */

/* ═══════════════════════════════════════
   SCROLL DOT INDICATORS  (injected by site.js)
═══════════════════════════════════════ */
.scroll-dots {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 150;
    pointer-events: auto;
}
.scroll-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(54, 63, 114, 0.22);
    border: 1.5px solid rgba(54, 63, 114, 0.35);
    cursor: pointer;
    padding: 0;
    transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
    outline: none;
}
.scroll-dot:hover {
    background: rgba(54, 63, 114, 0.55);
    border-color: rgba(54, 63, 114, 0.7);
}
.scroll-dot.active {
    background: #363F72;
    border-color: #363F72;
    transform: scale(1.6);
}
@media (max-width: 959px) {
    .scroll-dots { display: none !important; }
}

/* ═══════════════════════════════════════
   SCROLL PROGRESS BAR
═══════════════════════════════════════ */
#scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #6838EF, #363F72);
    z-index: 9999;
    transition: width 0.1s linear;
    pointer-events: none;
}

/* ═══════════════════════════════════════
   COOKIE CONSENT BANNER
═══════════════════════════════════════ */
#cookie-banner {
    position: fixed;
    bottom: 24px; left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: min(640px, calc(100vw - 32px));
    background: white;
    border: 1px solid #EEEEF0;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,.14);
    padding: 20px 24px;
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.35s ease, transform 0.35s ease;
    font-family: 'Manrope', sans-serif;
}
#cookie-banner.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.cookie-inner {
    display: flex; gap: 24px; align-items: center;
}
.cookie-text { flex: 1; }
.cookie-text strong { font-size: 14px; font-weight: 700; color: #25262C; display: block; margin-bottom: 4px; }
.cookie-text p { font-size: 13px; color: #6b7280; line-height: 1.55; margin: 0; }
.cookie-text a { color: #6838EF; text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn-secondary {
    padding: 9px 16px; border-radius: 8px;
    border: 1px solid #D8DADF; background: white;
    font-family: 'Manrope', sans-serif; font-size: 13px; font-weight: 600; color: #4A4E5A;
    cursor: pointer; white-space: nowrap; transition: background .15s;
}
.cookie-btn-secondary:hover { background: #f5f5f9; }
.cookie-btn-primary {
    padding: 9px 16px; border-radius: 8px;
    border: 1px solid #363F72; background: #363F72;
    font-family: 'Manrope', sans-serif; font-size: 13px; font-weight: 600; color: white;
    cursor: pointer; white-space: nowrap; transition: background .15s;
}
.cookie-btn-primary:hover { background: #2c3560; }
@media (max-width: 600px) {
    .cookie-inner { flex-direction: column; gap: 14px; }
    .cookie-actions { width: 100%; }
    .cookie-btn-secondary, .cookie-btn-primary { flex: 1; text-align: center; }
}

/* ═══════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
═══════════════════════════════════════ */
.reveal-ready {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal-ready.revealed {
    opacity: 1;
    transform: translateY(0);
}
/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal-ready { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ═══════════════════════════════════════
   CONTACT FORM STATES
═══════════════════════════════════════ */
.form-success {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; padding: 48px 24px; gap: 16px;
}
.form-success h3 { font-size: 22px; font-weight: 700; color: #25262C; }
.form-success p { font-size: 15px; color: #6b7280; max-width: 300px; }
.form-error {
    font-size: 13px; color: #dc2626; margin-top: 12px;
    padding: 10px 14px; background: #fef2f2;
    border-radius: 8px; border: 1px solid #fecaca;
}
.form-error a { color: #dc2626; text-decoration: underline; }

/* ═══════════════════════════════════════
   DARK MODE  (respects system preference)
═══════════════════════════════════════ */
@media (prefers-color-scheme: dark) {
    /* Navbar */
    .navbar { background: #12131a; border-bottom-color: #2a2b3d; }
    .nav-item { color: #c9cad8; }
    .nav-item:hover, .nav-item.active { color: #a5b4fc; }
    .nav-item img { filter: invert(1) opacity(0.6); }
    .navbar-logo img { filter: none; }
    .dropdown-menu { background: #1e1f2e; border-color: #2a2b3d; box-shadow: 0 8px 24px rgba(0,0,0,.4); }
    .dropdown-item { color: #c9cad8; }
    .dropdown-item:hover { background: #2a2040; color: #a5b4fc; }
    .btn-sm-secondary { background: #1e1f2e; color: #c9cad8; border-color: #2a2b3d; }
    .btn-sm-secondary:hover { background: #2a2b3d; }
    /* Scroll dots */
    .scroll-dot { background: rgba(165, 180, 252, 0.2); border-color: rgba(165, 180, 252, 0.4); }
    .scroll-dot:hover { background: rgba(165, 180, 252, 0.5); }
    .scroll-dot.active { background: #a5b4fc; border-color: #a5b4fc; }
    /* Cookie banner */
    #cookie-banner { background: #1e1f2e; border-color: #2a2b3d; }
    .cookie-text strong { color: #e4e4f0; }
    .cookie-text p { color: #9ca3af; }
    .cookie-btn-secondary { background: #2a2b3d; border-color: #3a3b4d; color: #c9cad8; }
    .cookie-btn-secondary:hover { background: #3a3b4d; }
    /* Hamburger */
    .nav-hamburger { border-color: #2a2b3d; }
    .nav-hamburger svg path { stroke: #c9cad8; }
}

/* ═══════════════════════════════════════
   PRINT STYLESHEET
═══════════════════════════════════════ */
@media print {
    /* Hide interactive / decorative chrome */
    .navbar,
    footer,
    .scroll-dots,
    #cookie-banner,
    #scroll-progress,
    .cta-banner,
    .nav-hamburger,
    .hero-glow-left,
    .hero-glow-right,
    .cta-glow { display: none !important; }

    /* Reset layout for paper */
    body { font-size: 11pt; color: #000; background: #fff; }
    * { box-shadow: none !important; text-shadow: none !important; }

    /* Sections full-width, no snap */
    section { padding: 24pt 0 !important; break-inside: avoid; }
    html { scroll-snap-type: none !important; }

    /* Typography */
    h1, h2, h3 { color: #000; page-break-after: avoid; }
    p, li { line-height: 1.5; }

    /* Cards flat */
    .suite-card, .pain-card, .workflow-card, .feature-item,
    .result-card, .what-card {
        border: 1pt solid #ccc !important;
        break-inside: avoid;
    }

    /* Show full URLs on links */
    a[href]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #666; }
    a[href^="#"]::after, a[href^="javascript:"]::after { content: ""; }

    /* Grids to 2 columns */
    .suite-cards, .features-grid, .pain-grid { grid-template-columns: 1fr 1fr !important; }
}
