/* ==========================================================================
   NCM by BioCortexAI – product site stylesheet (ncm.biocortexai.eu)
   Design tokens and components mirror the main BioCortexAI website (style.css).
   Page-specific rules live in the <style> block of each page and use only
   the tokens / legacy aliases defined here.
   ========================================================================== */

:root {
  --bg-dark: #070e1b;
  --bg-deep: #050a14;
  --bg-surface: #0a1324;
  --bg-surface-elevated: #0f1c32;
  --bg-card: #0b1526;
  --bg-card-hover: #101e36;

  --border-subtle: #16263e;
  --border-medium: #1d3353;
  --border-bright: #38bdf8;

  --accent-cyan: #38bdf8;
  --accent-blue: #0284c7;
  --accent-blue-hover: #0369a1;
  --accent-amber: #f59e0b;
  --accent-emerald: #10b981;
  --accent-violet: #818cf8;
  --accent-red: #f87171;

  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 9999px;
  --shadow-glow: 0 0 35px rgba(56, 189, 248, 0.15);

  /* Legacy aliases – the account / checkout pages were written against these names */
  --bg-main: var(--bg-dark);
  --border-color: var(--border-medium);
  --border-light: var(--border-subtle);
  --text-dark: var(--text-main);
  --navy-blue: #ffffff;
  --primary-blue: var(--accent-cyan);
  --primary-blue-hover: #7dd3fc;
  --font-heading: var(--font-family);
  --font-body: var(--font-family);
  --danger: #fca5a5;
  --danger-text: #fca5a5;
  --success: var(--accent-emerald);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 12px 30px rgba(0, 0, 0, 0.45);
}

/* ---------- Reset & base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: 90px; }
body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body > main { flex: 1 0 auto; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: all 0.2s ease; }
h1, h2, h3, h4 { font-family: var(--font-family); font-weight: 700; color: #ffffff; letter-spacing: -0.01em; }
button, input, select, textarea { font-family: inherit; }
::selection { background: rgba(56, 189, 248, 0.3); }

.container { max-width: 1260px; margin: 0 auto; padding: 0 24px; }
.link-cyan { color: var(--accent-cyan); }
.link-cyan:hover { text-decoration: underline; }
.gradient-text {
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 60%, #60a5fa 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; display: inline-block;
}

/* Legacy decorative layers from the old site – not used any more */
.bg-glow, .noise-overlay { display: none; }

/* ---------- Typography helpers ---------- */
.section-badge {
  display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  color: var(--accent-cyan); text-transform: uppercase; margin-bottom: 0.75rem;
}
.section-title { line-height: 1.2; font-size: 2.25rem; font-weight: 700; color: #fff; letter-spacing: -0.02em; margin-bottom: 0.75rem; }
.section-subtitle { font-size: 1.02rem; color: var(--text-muted); max-width: 760px; line-height: 1.65; margin-bottom: 2rem; }
.section { padding: 70px 0; }
.text-blue { color: var(--accent-cyan); }
.tech-link { color: var(--accent-cyan); font-weight: 600; font-size: 0.95rem; display: inline-block; }
.tech-link:hover { color: #7dd3fc; transform: translateX(3px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-weight: 600; font-size: 0.92rem; padding: 10px 22px;
  border-radius: var(--radius-md); cursor: pointer; border: 1px solid transparent;
  transition: all 0.2s ease; text-align: center; line-height: 1.3; white-space: nowrap;
}
.pricing-btn, .btn-full, .product-action-box .btn { white-space: normal; }
.btn-pill { border-radius: var(--radius-pill); }
.btn-sm { font-size: 0.82rem; padding: 7px 16px; border-radius: var(--radius-pill); }
.btn-full { width: 100%; }
.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%); color: #fff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}
.btn-primary:hover { background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%); box-shadow: 0 6px 20px rgba(56, 189, 248, 0.45); }
.btn-outline, .btn-secondary {
  background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.15); color: var(--text-main);
}
.btn-outline:hover, .btn-secondary:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--accent-cyan); color: #fff; }
.btn-disabled, .btn:disabled {
  background: rgba(255, 255, 255, 0.04) !important; color: var(--text-dim) !important;
  border: 1px solid var(--border-subtle) !important; box-shadow: none !important;
  cursor: not-allowed; pointer-events: none;
}

/* ---------- Badges ---------- */
.badge-pill {
  display: inline-flex; align-items: center; gap: 6px; font-size: 0.72rem; font-weight: 600;
  padding: 3px 10px; border-radius: var(--radius-pill); white-space: nowrap;
}
.badge-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; display: inline-block; }
.badge-available { background: rgba(2, 132, 199, 0.2); border: 1px solid rgba(56, 189, 248, 0.5); color: #38bdf8; }
.badge-internal { background: rgba(30, 41, 59, 0.7); border: 1px solid #475569; color: #94a3b8; }

/* ==========================================================================
   Header (same structure as biocortexai.eu)
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7, 14, 27, 0.9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06); padding: 14px 0;
}
.nav-container {
  max-width: 1260px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-img { height: 30px; width: auto; }
.brand-product {
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; color: var(--accent-cyan);
  padding: 3px 10px; border: 1px solid rgba(56, 189, 248, 0.45); border-radius: var(--radius-pill);
  background: rgba(2, 132, 199, 0.15);
}
.main-nav { display: flex; align-items: center; gap: 26px; }
.nav-link { font-size: 0.92rem; font-weight: 500; color: var(--text-muted); white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 14px; }

.os-status-nav {
  display: none; font-size: 0.72rem; font-weight: 600; padding: 4px 12px; border-radius: var(--radius-pill);
  border: 1px solid var(--border-medium); background: rgba(11, 21, 38, 0.75); color: var(--text-muted); white-space: nowrap;
}
.os-status-nav.supported { display: inline-block; color: #34d399; background: rgba(16, 185, 129, 0.1); border-color: rgba(16, 185, 129, 0.3); }
.os-status-nav.unsupported { display: inline-block; color: #fbbf24; background: rgba(245, 158, 11, 0.1); border-color: rgba(245, 158, 11, 0.3); }

.lang-switch {
  display: inline-flex; align-items: center; background: rgba(11, 21, 38, 0.75);
  border: 1px solid var(--border-medium); border-radius: var(--radius-pill); padding: 3px; gap: 2px;
}
.lang-btn {
  display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 28px; padding: 0 8px;
  border-radius: var(--radius-pill); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--text-muted); background: transparent; border: 1px solid transparent; transition: all 0.2s ease;
  user-select: none; cursor: pointer;
}
.lang-btn:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.lang-btn.active {
  color: #fff; background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  border-color: rgba(56, 189, 248, 0.4); box-shadow: 0 2px 8px rgba(2, 132, 199, 0.35); font-weight: 700;
}

/* "Back to the main site" ribbon – gives direct visitors a way to the detailed info */
.site-bridge {
  background: linear-gradient(90deg, rgba(2, 132, 199, 0.16), rgba(56, 189, 248, 0.05));
  border-bottom: 1px solid rgba(56, 189, 248, 0.18);
  font-size: 0.8rem; color: var(--text-muted);
}
.site-bridge .container { display: flex; align-items: center; justify-content: center; gap: 10px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; text-align: center; }
.site-bridge a { color: var(--accent-cyan); font-weight: 600; white-space: nowrap; }
.site-bridge a:hover { text-decoration: underline; }

/* ==========================================================================
   Landing (index.html)
   ========================================================================== */
.hero-section { position: relative; padding: 70px 0 40px; overflow: hidden; }
.hero-glow {
  position: absolute; top: -150px; left: 50%; transform: translateX(-50%); width: 900px; height: 500px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.15) 0%, rgba(56, 189, 248, 0.05) 50%, transparent 75%);
  pointer-events: none; z-index: 0;
}
.hero-container { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; gap: 48px; }
.hero-badge-tag { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; color: var(--accent-cyan); text-transform: uppercase; margin-bottom: 12px; }
.hero-title { font-size: 3.6rem; font-weight: 800; line-height: 1.05; color: #fff; letter-spacing: -0.03em; margin-bottom: 20px; }
.hero-description { font-size: 1.05rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 28px; }
.hero-buttons { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-notice { font-size: 0.8rem; color: var(--text-dim); line-height: 1.5; max-width: 480px; }
.hero-preview { position: relative; }
.window-frame {
  background: var(--bg-surface); border: 1px solid var(--border-medium); border-radius: var(--radius-md);
  overflow: hidden; box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), var(--shadow-glow);
}
.hero-dashboard-img { width: 100%; height: auto; display: block; }
.hero-preview-caption { font-size: 0.8rem; color: var(--text-dim); margin-top: 8px; text-align: center; }
.preview-tabs { display: flex; gap: 8px; margin-bottom: 10px; }
.preview-tab {
  background: #091322; border: 1px solid #1a2c46; color: var(--text-muted); font-size: 0.82rem; font-weight: 600;
  padding: 6px 16px; border-radius: var(--radius-pill); cursor: pointer; transition: all 0.2s ease;
}
.preview-tab.active { background: #0d1e38; border-color: var(--accent-cyan); color: #fff; }

.models-line { margin-top: 26px; font-size: 0.85rem; color: var(--text-dim); }
.models-line strong { color: var(--text-muted); font-weight: 600; display: block; margin-bottom: 8px; }
.model-item { display: inline-flex; align-items: center; white-space: nowrap; line-height: 1; margin-right: 14px; color: var(--text-muted); }
.inline-logo { height: 1.1em; width: auto; margin-right: 6px; border-radius: 2px; }

/* Pricing / product cards (same family as .edition-card on the main site) */
.pricing { padding: 70px 0 40px; scroll-margin-top: 70px; }
.section-header { margin-bottom: 36px; }
.section-header h2 { font-size: 2.25rem; letter-spacing: -0.02em; margin-bottom: 0.6rem; }
.section-header p { color: var(--text-muted); max-width: 760px; font-size: 1.02rem; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: stretch; }
.pricing-grid.cols-3 { grid-template-columns: repeat(3, 1fr); max-width: 1080px; margin: 0 auto; }
.glass-panel, .pricing-card {
  background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md);
  transition: all 0.2s ease;
}
.pricing-card { padding: 30px 24px 26px; display: flex; flex-direction: column; position: relative; height: 100%; }
.pricing-card:hover { border-color: var(--accent-cyan); transform: translateY(-3px); }
.pricing-card.popular { border-color: rgba(56, 189, 248, 0.7); box-shadow: 0 0 28px rgba(56, 189, 248, 0.18); }
.popular-badge, .new-badge, .soon-badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%); padding: 3px 14px;
  border-radius: var(--radius-pill); font-size: 0.72rem; font-weight: 700; z-index: 5; white-space: nowrap; color: #fff;
}
.popular-badge { background: linear-gradient(135deg, #0284c7, #0369a1); border: 1px solid var(--accent-cyan); }
.new-badge { background: linear-gradient(135deg, #10b981, #059669); }
.soon-badge { background: #475569; }
.pricing-header { margin-bottom: 18px; text-align: left; border-bottom: 1px solid var(--border-subtle); padding-bottom: 16px; }
.pricing-header h3 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; color: #fff; margin-bottom: 12px; }
.plan-icon { width: 26px; height: 26px; object-fit: contain; }
.price { color: #fff; }
.currency { font-size: 1rem; vertical-align: super; font-weight: 600; color: var(--text-muted); }
.amount { font-size: 2.6rem; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.period { color: var(--text-muted); font-weight: 500; font-size: 0.9rem; }
.original-price { text-decoration: line-through; opacity: 0.45; font-size: 1.15rem; color: var(--text-muted); }
.price-promo { font-size: 0.78rem; color: var(--accent-cyan); font-weight: 600; margin-top: 6px; }
.pricing-features { list-style: none; margin-bottom: 24px; flex: 1; }
.pricing-features li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 11px; color: var(--text-muted); font-size: 0.86rem; line-height: 1.45; }
.pricing-features svg { width: 17px; height: 17px; color: var(--accent-cyan); flex-shrink: 0; margin-top: 2px; }
.pricing-btn { width: 100%; }
.pricing-enterprise-note { margin-top: 34px; font-size: 0.95rem; color: var(--text-muted); display: flex; gap: 8px; flex-wrap: wrap; }

/* Info strip (what is NCM) */
.about-card {
  background: linear-gradient(135deg, #0a1629 0%, #07101e 100%); border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg); padding: 38px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
}
.about-card p { color: var(--text-muted); font-size: 0.98rem; margin-bottom: 14px; }
.about-card p:last-child { margin-bottom: 0; }
.about-points { display: grid; gap: 12px; }
.about-point {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border-subtle); font-size: 0.88rem; color: var(--text-muted);
}
.about-point svg { width: 20px; height: 20px; color: var(--accent-cyan); flex-shrink: 0; margin-top: 2px; }
.about-point strong { display: block; color: #fff; font-size: 0.92rem; margin-bottom: 2px; }

/* Link tiles into the main website */
.explore-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.explore-card {
  display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--radius-md);
  background: var(--bg-card); border: 1px solid var(--border-subtle); transition: all 0.2s ease;
}
.explore-card:hover { border-color: var(--accent-cyan); transform: translateY(-3px); background: var(--bg-card-hover); }
.explore-card h3 { font-size: 1rem; }
.explore-card p { font-size: 0.84rem; color: var(--text-muted); flex: 1; }
.explore-card span { font-size: 0.82rem; font-weight: 600; color: var(--accent-cyan); }

.video-container {
  position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%;
  border-radius: var(--radius-md); border: 1px solid var(--border-medium); box-shadow: 0 25px 60px rgba(0,0,0,0.5); background: #000;
}
.video-container iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ==========================================================================
   Sub-pages: header block + forms
   ========================================================================== */
.page-header { padding: 64px 0 36px; text-align: center; position: relative; }
.page-header::before {
  content: ""; position: absolute; top: -120px; left: 50%; transform: translateX(-50%); width: 820px; height: 380px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.13) 0%, rgba(56, 189, 248, 0.04) 50%, transparent 75%); pointer-events: none; z-index: -1;
}
.page-header h1 {
  font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; margin-bottom: 16px;
  background: linear-gradient(135deg, #ffffff 0%, #38bdf8 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.page-header p { color: var(--text-muted); font-size: 1.05rem; max-width: 720px; margin: 0 auto; line-height: 1.65; }

.form-section { padding-bottom: 80px; }
.form-container {
  max-width: 520px; margin: 0 auto; background: var(--bg-card); padding: 36px; border-radius: var(--radius-lg);
  border: 1px solid var(--border-medium); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), var(--shadow-glow);
}
.form-group { margin-bottom: 22px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; color: var(--text-main); }
.form-group input[type="text"], .form-group input[type="email"], .form-group input[type="password"],
.form-group input[type="number"], .form-group input[type="tel"], .form-group select, .form-group textarea,
.form-input {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-md); border: 1px solid var(--border-medium);
  background: var(--bg-surface); color: var(--text-main); font-size: 0.98rem; transition: all 0.2s ease;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-dim); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus, .form-input:focus {
  outline: none; border-color: var(--accent-cyan); background: var(--bg-surface-elevated); box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.12);
}
.form-hint { display: block; margin-top: 6px; font-size: 0.8rem; color: var(--text-dim); }
.hp-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.form-footer { margin-top: 28px; text-align: center; font-size: 0.92rem; color: var(--text-muted); }
.form-footer a { color: var(--accent-cyan); font-weight: 600; }
.form-footer a:hover { text-decoration: underline; }
.login-btn, .trial-btn, .submit-btn { width: 100%; margin-top: 8px; padding: 14px; font-size: 1rem; }

/* Messages returned by the backend */
#login-message, #registration-message, [id$="-message"] { margin-top: 20px; padding: 14px 16px; border-radius: var(--radius-md); font-size: 0.92rem; text-align: center; display: none; }
#login-message.error, #registration-message.error, [id$="-message"].error { display: block; background: rgba(239, 68, 68, 0.1); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.3); }
#login-message.success, #registration-message.success, [id$="-message"].success { display: block; background: rgba(16, 185, 129, 0.1); color: #6ee7b7; border: 1px solid rgba(16, 185, 129, 0.3); }

/* Checkbox */
.checkbox-container { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; user-select: none; position: relative; }
.checkbox-container input { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0; }
.checkmark {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 6px; border: 1px solid var(--border-medium);
  background: var(--bg-surface); position: relative; transition: all 0.2s ease; margin-top: 1px;
}
.checkbox-container:hover .checkmark { border-color: var(--accent-cyan); }
.checkbox-container input:checked ~ .checkmark { background: var(--accent-blue); border-color: var(--accent-cyan); }
.checkbox-container input:checked ~ .checkmark::after {
  content: ""; position: absolute; left: 7px; top: 3px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.checkbox-label { font-size: 0.88rem; color: var(--text-muted); line-height: 1.5; }
.checkbox-label a { color: var(--accent-cyan); }
.checkbox-label a:hover { text-decoration: underline; }

/* Info card (e.g. payment hint) */
.info-card {
  display: flex; gap: 14px; align-items: flex-start; text-align: left; max-width: 900px; margin: 28px auto 0;
  padding: 16px 20px; border-radius: var(--radius-md); background: rgba(2, 132, 199, 0.1); border: 1px solid rgba(56, 189, 248, 0.3);
}
.info-card-icon { color: var(--accent-cyan); flex-shrink: 0; margin-top: 2px; }
.info-card-text { display: flex; flex-direction: column; gap: 10px; }
.info-card-text p { font-size: 0.9rem; margin: 0; max-width: none; color: var(--text-muted); text-align: left; }

/* ==========================================================================
   Footer (same family as biocortexai.eu .site-footer)
   ========================================================================== */
.site-footer { background: #040810; border-top: 1px solid rgba(255, 255, 255, 0.06); padding: 48px 0 26px; margin-top: 60px; flex-shrink: 0; }
.footer-top { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 34px; }
.footer-brand img { height: 28px; width: auto; margin-bottom: 14px; }
.footer-brand p { font-size: 0.84rem; color: var(--text-muted); max-width: 300px; }
.footer-col h4 { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-cyan); margin-bottom: 14px; font-weight: 700; }
.footer-col a { display: block; font-size: 0.86rem; color: var(--text-muted); margin-bottom: 9px; }
.footer-col a:hover { color: #fff; }
.footer-col p { font-size: 0.84rem; color: var(--text-muted); margin-bottom: 4px; }
.footer-bottom-bar { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, 0.05); padding-top: 22px; gap: 20px; }
.footer-bottom-copy { font-size: 0.8rem; color: var(--text-dim); }
.footer-bottom-copy a { color: var(--text-muted); }
.footer-bottom-copy a:hover { color: #fff; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.active { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .explore-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1080px) {
  .hero-container { grid-template-columns: 1fr; gap: 36px; }
  .about-card { grid-template-columns: 1fr; }
  .main-nav { gap: 18px; }
  .os-status-nav { display: none !important; }
}
@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-container { gap: 12px; }
}
@media (max-width: 768px) {
  .hero-title { font-size: 2.6rem; }
  .page-header h1 { font-size: 2rem; }
  .section-title, .section-header h2 { font-size: 1.8rem; }
  .pricing-grid, .pricing-grid.cols-3, .explore-grid { grid-template-columns: 1fr; }
  .form-container { padding: 26px 20px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom-bar { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .container, .nav-container { padding: 0 16px; }
  .lang-btn { min-width: 26px; height: 25px; padding: 0 5px; font-size: 0.7rem; }
  .brand-product { display: none; }
}

/* Dark glyphs from the old light-theme site need to be readable on dark backgrounds */
img[src$="openai_logo_icon.png"], img[src$="grok-ai-icon.svg"], img[src$="apple.svg"], img[src$="ollama_logo.png"], img[src$="perplexity_logo_icon.png"] { filter: invert(1) brightness(1.1); }

/* ===== Components carried over from the old product site (palette converted) ===== */
.doc-tutorial-section {
  margin: 24px 0;
  text-align: left;
}
.doc-tutorial-card {
  background: linear-gradient(135deg, #0b1526 0%, #0a1324 100%);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.05);
  transition: all 0.3s ease;
}
.doc-tutorial-card:hover {
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.08);
}
.doc-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-color);
}
.doc-icon-wrapper {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.1);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.doc-icon-wrapper svg {
  width: 24px;
  height: 24px;
}
.doc-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.doc-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-blue);
}
.doc-filename {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: monospace;
}
.doc-btn {
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.2s ease;
}
.doc-btn:hover {
  transform: translateY(-1px);
}
.tutorial-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 16px;
  font-size: 0.95rem;
  color: var(--text-dark);
}
.tutorial-link-row-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.tutorial-link-row-left svg {
  color: var(--primary-blue);
  flex-shrink: 0;
}
.tutorial-link {
  color: var(--primary-blue);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}
.tutorial-link:hover {
  color: var(--navy-blue);
  text-decoration: underline;
}
@media (max-width: 640px) {
  .doc-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .doc-btn {
    width: 100%;
  }
  .tutorial-link-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
.eset-notice-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(245, 158, 11, 0.07);
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 28px 0 24px 0;
  text-align: left;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.05);
  transition: all 0.2s ease;
}
.eset-notice-box:hover {
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.09);
}
.eset-notice-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: #fbbf24;
  margin-top: 2px;
}
.eset-notice-content {
  flex: 1;
}
.eset-notice-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fbbf24;
  margin-bottom: 4px;
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
}
.eset-notice-text {
  font-size: 0.88rem;
  color: #78350f;
  line-height: 1.5;
  margin: 0;
}
.eset-notice-text strong {
  color: #fcd34d;
  font-weight: 600;
}
@media (max-width: 640px) {
  .eset-notice-box {
    padding: 14px 16px;
    gap: 12px;
    margin: 20px 0 20px 0;
  }
  .eset-notice-icon {
    width: 22px;
    height: 22px;
  }
  .eset-notice-title {
    font-size: 0.9rem;
  }
  .eset-notice-text {
    font-size: 0.84rem;
  }
}
.transparency-accordion {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  margin: 50px auto 0;
  text-align: left;
  overflow: hidden;
  transition: all 0.3s ease;
}
.transparency-accordion:hover {
  border-color: rgba(56, 189, 248, 0.3);
  box-shadow: 0 6px 24px rgba(56, 189, 248, 0.06);
}
.transparency-accordion[open] {
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 8px 30px rgba(56, 189, 248, 0.08);
}
.transparency-summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
  transition: background-color 0.2s ease;
}
.transparency-summary::-webkit-details-marker {
  display: none;
}
.transparency-summary:hover {
  background-color: var(--bg-surface);
}
.transparency-summary-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
}
.transparency-summary-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.08);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.transparency-summary-title {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--navy-blue);
  margin: 0;
  line-height: 1.35;
}
.transparency-summary-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 3px 0 0;
  line-height: 1.4;
}
.transparency-summary-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.transparency-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56, 189, 248, 0.08);
  color: var(--primary-blue);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.2s ease;
}
.transparency-summary:hover .transparency-toggle-btn {
  background: var(--primary-blue);
  color: #ffffff;
}
.transparency-chevron {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}
.transparency-accordion[open] .transparency-chevron {
  transform: rotate(180deg);
}
.transparency-accordion .toggle-close-text {
  display: none;
}
.transparency-accordion[open] .toggle-close-text {
  display: inline;
}
.transparency-accordion[open] .toggle-open-text {
  display: none;
}
.transparency-content {
  padding: 0 32px 32px;
  border-top: 1px solid var(--border-subtle);
  animation: fadeInContent 0.3s ease;
}
@keyframes fadeInContent { from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    } }
.transparency-content .transparency-intro {
  padding-top: 24px;
}
.transparency-intro p {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.65;
  margin-bottom: 8px;
}
.transparency-intro p:last-child {
  color: var(--navy-blue);
  font-weight: 500;
  margin-bottom: 0;
}
.transparency-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 24px;
}
.transparency-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: 16px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}
.transparency-item:hover {
  border-color: rgba(56, 189, 248, 0.3);
  background: var(--bg-card);
  box-shadow: 0 6px 18px rgba(56, 189, 248, 0.06);
}
.transparency-item-wide {
  grid-column: 1 / -1;
}
.transparency-item-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.transparency-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.1);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.transparency-item h4 {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy-blue);
  margin: 0;
  line-height: 1.35;
}
.transparency-item p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}
.transparency-sla {
  margin-top: 14px;
  padding: 14px 18px;
  background: rgba(56, 189, 248, 0.05);
  border: 1px solid rgba(56, 189, 248, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.transparency-sla-icon {
  color: var(--primary-blue);
  flex-shrink: 0;
  margin-top: 2px;
}
.transparency-sla-text {
  color: #0f4c81;
  font-size: 0.88rem;
  line-height: 1.6;
}
.transparency-sla-text strong {
  color: var(--navy-blue);
  font-weight: 600;
}
@media (max-width: 768px) {
  .transparency-summary {
    padding: 18px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .transparency-summary-right {
    width: 100%;
    justify-content: flex-end;
  }
  .transparency-summary-title {
    font-size: 1.05rem;
  }
  .transparency-content {
    padding: 0 20px 24px;
  }
  .transparency-grid {
    grid-template-columns: 1fr;
  }
  .transparency-item-wide {
    grid-column: 1;
  }
}

@media (max-width: 560px) {
  .nav-container { flex-wrap: wrap; row-gap: 10px; }
  .header-actions { width: 100%; justify-content: space-between; }
  .site-bridge .container { flex-direction: column; gap: 2px; }
  .hero-title { font-size: 2.2rem; }
  .about-card { padding: 24px; }
}
