/* ===== KrisLMS — enterprise.css ===== */

  /* ── HERO ── */
  .hero {
    min-height: 86vh; background: var(--navy);
    position: relative; display: flex; align-items: center;
    overflow: hidden; padding-top: 102px;
  }
  .hero-bg-pattern {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(201,168,76,0.035) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(201,168,76,0.035) 1px, transparent 1px);
    background-size: 60px 60px;
  }
  .hero-gradient {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 65% 60% at 65% 50%, rgba(14,116,144,0.2) 0%, transparent 65%),
                radial-gradient(ellipse 35% 50% at 5% 85%, rgba(201,168,76,0.07) 0%, transparent 55%);
  }
  .hero-content {
    position: relative; z-index: 2; max-width: 1200px; margin: 0 auto;
    padding: 80px 48px; display: grid; grid-template-columns: 1fr 420px;
    gap: 72px; align-items: center; width: 100%;
  }
  .hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(201,168,76,0.1); border: 1px solid rgba(201,168,76,0.3);
    border-radius: 100px; padding: 6px 14px; margin-bottom: 28px;
  }
  .hero-badge span { font-size: 11px; font-weight: 600; color: var(--gold-light); letter-spacing: 0.1em; text-transform: uppercase; font-family: 'DM Mono', monospace; }
  .hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: pulse 2s infinite; }
  @keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.8)} }
  .hero h1 { font-family: 'Playfair Display', serif; font-size: 52px; font-weight: 700; color: var(--white); line-height: 1.13; margin-bottom: 24px; }
  .hero h1 em { font-style: normal; color: var(--gold); }
  .hero-sub { font-size: 17px; color: rgba(255,255,255,0.55); line-height: 1.78; margin-bottom: 40px; font-weight: 300; max-width: 490px; }
  .hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
  .btn-primary { background: var(--gold); color: var(--navy); padding: 14px 28px; border-radius: 6px; font-weight: 600; font-size: 14px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: all 0.2s; }
  .btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(201,168,76,0.3); }
  .btn-outline { border: 1px solid rgba(255,255,255,0.22); color: rgba(255,255,255,0.8); padding: 14px 28px; border-radius: 6px; font-weight: 500; font-size: 14px; text-decoration: none; transition: all 0.2s; }
  .btn-outline:hover { border-color: rgba(255,255,255,0.45); color: var(--white); }

  /* Hero right panel: portal preview */
  .portal-preview {
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px; padding: 28px; backdrop-filter: blur(8px);
  }
  .pp-label { font-size: 10px; font-weight: 600; color: var(--gold); letter-spacing: 0.13em; text-transform: uppercase; font-family: 'DM Mono', monospace; margin-bottom: 18px; }
  .pp-browser {
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px; overflow: hidden; margin-bottom: 16px;
  }
  .pp-browser-bar {
    background: rgba(255,255,255,0.05); padding: 8px 12px;
    display: flex; align-items: center; gap: 8px; border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  .pp-dot { width: 8px; height: 8px; border-radius: 50%; }
  .pp-url {
    flex: 1; background: rgba(255,255,255,0.07); border-radius: 4px;
    padding: 4px 8px; font-size: 11px; color: rgba(255,255,255,0.4);
    font-family: 'DM Mono', monospace; margin-left: 6px;
  }
  .pp-url em { color: var(--gold-light); font-style: normal; }
  .pp-screen {
    padding: 14px 12px; display: flex; flex-direction: column; gap: 8px;
  }
  .pp-nav-mock { background: rgba(14,116,144,0.18); border-radius: 4px; height: 28px; display: flex; align-items: center; padding: 0 10px; gap: 8px; }
  .pp-nav-logo { font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.6); font-family: 'DM Mono', monospace; }
  .pp-course-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .pp-card { background: rgba(255,255,255,0.06); border-radius: 6px; padding: 10px 10px 8px; }
  .pp-card-bar { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--teal-light), rgba(14,116,144,0.3)); margin-bottom: 7px; }
  .pp-card-bar.half { width: 55%; }
  .pp-card-bar.full { width: 100%; }
  .pp-card-title { font-size: 9px; color: rgba(255,255,255,0.5); line-height: 1.4; }
  .pp-card-pct { font-size: 10px; font-weight: 600; color: var(--teal-light); margin-top: 4px; font-family: 'DM Mono', monospace; }
  .pp-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .pp-stat { background: rgba(255,255,255,0.04); border-radius: 6px; padding: 8px; text-align: center; border: 1px solid rgba(255,255,255,0.07); }
  .pp-stat-num { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; color: var(--gold); }
  .pp-stat-lbl { font-size: 9px; color: rgba(255,255,255,0.35); margin-top: 2px; line-height: 1.2; }
  .pp-features { display: flex; flex-direction: column; gap: 7px; }
  .pp-feature { display: flex; align-items: center; gap: 8px; font-size: 11px; color: rgba(255,255,255,0.55); }
  .pp-feature-check { width: 16px; height: 16px; background: rgba(14,116,144,0.25); border-radius: 3px; display: flex; align-items: center; justify-content: center; font-size: 9px; color: var(--teal-light); flex-shrink: 0; }

  /* ── SEPARATOR ── */
  .sep-bar { background: var(--navy-mid); border-top: 1px solid rgba(201,168,76,0.15); border-bottom: 1px solid rgba(201,168,76,0.15); padding: 22px 48px; }
  .sep-bar-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
  .sep-item { display: flex; align-items: center; gap: 10px; }
  .sep-icon { font-size: 18px; opacity: 0.7; }
  .sep-text { font-size: 13px; color: rgba(255,255,255,0.6); }
  .sep-text strong { color: var(--gold); }
  .sep-divider { width: 1px; height: 28px; background: rgba(255,255,255,0.1); }

  /* ── GENERAL SECTIONS ── */
  section { padding: 96px 48px; }
  .container { max-width: 1200px; margin: 0 auto; }
  .section-label { font-size: 11px; font-weight: 600; color: var(--teal); letter-spacing: 0.14em; text-transform: uppercase; font-family: 'DM Mono', monospace; margin-bottom: 10px; }
  .section-title { font-family: 'Playfair Display', serif; font-size: 38px; font-weight: 700; color: var(--navy); line-height: 1.2; margin-bottom: 14px; }
  .section-title em { font-style: normal; color: var(--teal); }
  .section-sub { font-size: 16px; color: var(--grey-500); line-height: 1.7; max-width: 580px; }
  .fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
  .fade-in.visible { opacity: 1; transform: none; }

  /* ── AUDIENCE SELECTOR ── */
  .audience-section { background: var(--cream); }
  .audience-tabs { display: flex; gap: 0; border: 1px solid var(--grey-200); border-radius: 10px; overflow: hidden; margin-bottom: 48px; max-width: 520px; }
  .aud-tab { flex: 1; padding: 14px 20px; font-size: 14px; font-weight: 500; color: var(--grey-500); background: var(--white); cursor: pointer; transition: all 0.2s; border: none; font-family: 'DM Sans', sans-serif; text-align: center; }
  .aud-tab:first-child { border-right: 1px solid var(--grey-200); }
  .aud-tab.active { background: var(--navy); color: var(--white); font-weight: 600; }
  .aud-tab.active:first-child { border-right-color: var(--navy); }
  .aud-panel { display: none; animation: fadeTab 0.3s ease; }
  .aud-panel.active { display: block; }
  @keyframes fadeTab { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
  .aud-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
  .aud-text-block { }
  .aud-persona { display: inline-flex; align-items: center; gap: 8px; background: rgba(14,116,144,0.08); border: 1px solid rgba(14,116,144,0.2); border-radius: 6px; padding: 6px 12px; font-size: 12px; color: var(--teal); font-weight: 600; font-family: 'DM Mono', monospace; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 20px; }
  .aud-heading { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700; color: var(--navy); line-height: 1.25; margin-bottom: 16px; }
  .aud-heading em { font-style: normal; color: var(--teal); }
  .aud-body { font-size: 15px; color: var(--grey-700); line-height: 1.75; margin-bottom: 24px; }
  .aud-checklist { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
  .aud-checklist li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--grey-700); line-height: 1.5; }
  .aud-check { width: 20px; height: 20px; background: rgba(14,116,144,0.1); border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--teal); flex-shrink: 0; margin-top: 1px; font-weight: 700; }
  .aud-right { display: flex; flex-direction: column; gap: 16px; }
  .aud-card {
    background: var(--white); border: 1px solid var(--grey-200);
    border-radius: 12px; padding: 24px; border-top: 3px solid var(--teal);
  }
  .aud-card-title { font-family: 'Playfair Display', serif; font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
  .aud-card-body { font-size: 13px; color: var(--grey-500); line-height: 1.65; }
  .aud-card.gold-top { border-top-color: var(--gold); }

  /* ── FEATURES GRID ── */
  .features-section { background: var(--navy); }
  .features-section .section-label { color: var(--gold); }
  .features-section .section-title { color: var(--white); }
  .features-section .section-title em { color: var(--teal-light); }
  .features-section .section-sub { color: rgba(255,255,255,0.5); }
  .feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
  .feat-card {
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09);
    border-radius: 12px; padding: 28px; transition: border-color 0.2s, background 0.2s;
  }
  .feat-card:hover { border-color: rgba(201,168,76,0.3); background: rgba(255,255,255,0.06); }
  .feat-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 18px; }
  .feat-icon.teal { background: rgba(14,116,144,0.2); }
  .feat-icon.gold { background: rgba(201,168,76,0.12); }
  .feat-title { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 10px; line-height: 1.3; }
  .feat-body { font-size: 13px; color: rgba(255,255,255,0.48); line-height: 1.7; }
  .feat-tag { display: inline-block; margin-top: 14px; font-size: 10px; font-weight: 600; color: var(--teal-light); background: rgba(14,116,144,0.15); border-radius: 4px; padding: 3px 8px; font-family: 'DM Mono', monospace; letter-spacing: 0.05em; text-transform: uppercase; }

  /* ── HOW IT WORKS ── */
  .how-section { background: var(--white); }
  .timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 56px; position: relative; }
  .timeline::before {
    content: ''; position: absolute; top: 30px; left: calc(12.5% + 16px); right: calc(12.5% + 16px);
    height: 1px; background: linear-gradient(90deg, var(--teal), rgba(14,116,144,0.2));
    z-index: 0;
  }
  .tl-step { text-align: center; padding: 0 16px; position: relative; z-index: 1; }
  .tl-num { width: 60px; height: 60px; background: var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--gold); margin: 0 auto 20px; border: 3px solid var(--cream); }
  .tl-title { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
  .tl-body { font-size: 13px; color: var(--grey-500); line-height: 1.65; }
  .tl-week { font-size: 10px; font-weight: 600; color: var(--teal); letter-spacing: 0.08em; text-transform: uppercase; font-family: 'DM Mono', monospace; margin-bottom: 6px; }

  /* ── CONTENT LIBRARY ── */
  .content-section { background: var(--cream); }
  .content-split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
  .content-list { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
  .cl-item { display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; background: var(--white); border: 1px solid var(--grey-200); border-radius: 10px; border-left: 3px solid var(--teal); }
  .cl-icon { font-size: 18px; flex-shrink: 0; margin-top: 2px; }
  .cl-title { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 3px; }
  .cl-body { font-size: 13px; color: var(--grey-500); line-height: 1.5; }
  .cl-note { font-size: 11px; color: var(--teal); font-family: 'DM Mono', monospace; margin-top: 4px; font-weight: 500; }
  .content-image-block {
    background: var(--navy); border-radius: 20px; padding: 36px;
    position: relative; overflow: hidden;
  }
  .cib-pattern {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
  }
  .cib-inner { position: relative; z-index: 1; }
  .cib-title { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--white); margin-bottom: 24px; line-height: 1.3; }
  .cib-domains { display: flex; flex-direction: column; gap: 8px; }
  .cib-domain { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; }
  .cib-domain-name { font-size: 13px; color: rgba(255,255,255,0.75); }
  .cib-domain-count { font-size: 11px; font-weight: 600; color: var(--gold); font-family: 'DM Mono', monospace; }
  .cib-note { margin-top: 20px; padding: 12px 14px; background: rgba(201,168,76,0.07); border: 1px solid rgba(201,168,76,0.2); border-radius: 8px; font-size: 11px; color: rgba(255,255,255,0.5); font-family: 'DM Mono', monospace; line-height: 1.5; }
  .cib-note span { color: var(--gold); }

  /* ── PLATFORM SPECS ── */
  .platform-section { background: var(--white); }
  .spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 52px; }
  .spec-card { border: 1px solid var(--grey-200); border-radius: 12px; padding: 28px; }
  .spec-card-header { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--grey-100); }
  .spec-icon { width: 40px; height: 40px; background: rgba(14,116,144,0.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 18px; }
  .spec-card-label { font-size: 10px; font-weight: 600; color: var(--teal); letter-spacing: 0.1em; text-transform: uppercase; font-family: 'DM Mono', monospace; }
  .spec-card-title { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 700; color: var(--navy); margin-top: 2px; }
  .spec-items { list-style: none; display: flex; flex-direction: column; gap: 9px; }
  .spec-items li { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: var(--grey-700); line-height: 1.5; }
  .spec-bullet { width: 5px; height: 5px; border-radius: 50%; background: var(--teal); flex-shrink: 0; margin-top: 6px; }
  .spec-tech { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--grey-100); }
  .spec-tech-pill { font-size: 10px; font-weight: 600; color: var(--navy-mid); background: var(--grey-100); border-radius: 4px; padding: 3px 8px; font-family: 'DM Mono', monospace; text-transform: uppercase; letter-spacing: 0.04em; }

  /* ── CTA SECTION ── */
  .cta-section {
    background: var(--navy); position: relative; overflow: hidden;
    text-align: center; padding: 96px 48px;
  }
  .cta-bg {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(14,116,144,0.2) 0%, transparent 65%);
  }
  .cta-pattern {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(201,168,76,0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(201,168,76,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
  }
  .cta-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
  .cta-label { font-size: 11px; font-weight: 600; color: var(--gold); letter-spacing: 0.14em; text-transform: uppercase; font-family: 'DM Mono', monospace; margin-bottom: 16px; }
  .cta-title { font-family: 'Playfair Display', serif; font-size: 42px; font-weight: 700; color: var(--white); line-height: 1.18; margin-bottom: 18px; }
  .cta-title em { font-style: normal; color: var(--gold); }
  .cta-sub { font-size: 16px; color: rgba(255,255,255,0.52); line-height: 1.7; margin-bottom: 40px; font-weight: 300; }
  .cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
  .cta-note { margin-top: 24px; font-size: 12px; color: rgba(255,255,255,0.3); font-family: 'DM Mono', monospace; }

  /* ── RESPONSIVE ── */
  @media (max-width: 900px) {
    nav { padding: 0 24px; }
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .hero-content { grid-template-columns: 1fr; padding: 60px 24px; gap: 40px; }
    .portal-preview { max-width: 400px; }
    section { padding: 64px 24px; }
    .sep-bar { padding: 20px 24px; }
    .sep-bar-inner { gap: 12px; }
    .sep-divider { display: none; }
    .audience-tabs { max-width: 100%; }
    .aud-grid { grid-template-columns: 1fr; }
    .feat-grid { grid-template-columns: 1fr 1fr; }
    .timeline { grid-template-columns: 1fr 1fr; gap: 32px; }
    .timeline::before { display: none; }
    .content-split { grid-template-columns: 1fr; gap: 40px; }
    .spec-grid { grid-template-columns: 1fr; }
    footer { padding: 48px 24px 28px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .cta-section { padding: 64px 24px; }
    .cta-title { font-size: 32px; }
  }
  @media (max-width: 560px) {
    .hero h1 { font-size: 36px; }
    .section-title { font-size: 28px; }
    .feat-grid { grid-template-columns: 1fr; }
    .timeline { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
  }

/* ── SITE-WIDE TICKER ── */
.ticker-bar{position:fixed;top:68px;left:0;right:0;z-index:290;background:rgba(8,15,34,.96);border-bottom:1px solid rgba(201,168,76,.15);backdrop-filter:blur(8px);height:34px;overflow:hidden;}
.ticker-bar::before,.ticker-bar::after{content:'';position:absolute;top:0;bottom:0;width:80px;z-index:2;pointer-events:none;}
.ticker-bar::before{left:0;background:linear-gradient(90deg,rgba(8,15,34,.98),transparent);}
.ticker-bar::after{right:0;background:linear-gradient(270deg,rgba(8,15,34,.98),transparent);}
.ticker-track{display:flex;align-items:center;height:34px;animation:tickerSlide 40s linear infinite;width:max-content;}
.ticker-track:hover{animation-play-state:paused;}
.ticker-item{display:inline-flex;align-items:center;gap:9px;padding:0 48px 0 0;white-space:nowrap;}
.ticker-tag{font-size:8px;font-weight:700;padding:2px 7px;border-radius:3px;font-family:'DM Mono',monospace;letter-spacing:.07em;text-transform:uppercase;flex-shrink:0;}
.ticker-tag.new{background:rgba(201,168,76,.15);color:#c9a84c;border:1px solid rgba(201,168,76,.25);}
.ticker-tag.live{background:rgba(22,163,74,.12);color:#4ade80;border:1px solid rgba(22,163,74,.25);}
.ticker-tag.cpd{background:rgba(139,92,246,.12);color:#a78bfa;border:1px solid rgba(139,92,246,.25);}
.ticker-tag.info{background:rgba(255,255,255,.06);color:rgba(255,255,255,.38);border:1px solid rgba(255,255,255,.1);}
.ticker-tag.soon{background:rgba(14,116,144,.15);color:#0ea5c9;border:1px solid rgba(14,116,144,.25);}
.ticker-text{font-size:11.5px;color:rgba(255,255,255,.42);font-family:'DM Sans',sans-serif;font-weight:400;}
.ticker-sep{width:1px;height:14px;background:rgba(255,255,255,.1);margin:0 20px 0 -32px;flex-shrink:0;}
@keyframes tickerSlide{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}
/* Push page content down to account for ticker */
body.has-ticker nav ~ *:not(.ticker-bar){margin-top:0;}