/* ── PORTAL NAV ── */
.portal-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 72px;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.portal-nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: var(--max-w);
  padding: 0 clamp(20px, 4vw, 48px);
}
.portal-nav.scrolled {
  border-color: var(--border);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.portal-nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 17px; font-weight: 700; color: var(--text-primary);
  letter-spacing: -0.3px; text-decoration: none; flex-shrink: 0;
}
.portal-nav-logo-icon {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
}
.portal-nav-links {
  display: flex; align-items: center; gap: 28px;
}
.portal-nav-link {
  font-size: 15px; font-weight: 500; color: var(--text-secondary);
  text-decoration: none; transition: color 0.15s; white-space: nowrap;
}
.portal-nav-link:hover { color: var(--text-primary); }
.portal-nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-btn-ghost {
  font-size: 15px; font-weight: 600; color: var(--text-secondary);
  background: none; border: none; cursor: pointer; padding: 8px 14px;
  border-radius: 8px; transition: background 0.15s, color 0.15s;
  text-decoration: none; display: inline-flex; align-items: center;
}
.nav-btn-ghost:hover { background: var(--bg-card2); color: var(--text-primary); }
.nav-btn-primary {
  font-size: 15px; font-weight: 600; color: #fff;
  background: #a100ff; border: none; cursor: pointer; padding: 9px 18px;
  border-radius: 8px; transition: opacity 0.15s; white-space: nowrap;
  text-decoration: none; display: inline-flex; align-items: center;
}
.nav-btn-primary:hover { opacity: 0.88; color: #fff; }

/* ── HERO CTA BUTTONS ── */
.portal-hero-ctas { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
.portal-hero-cta-primary { font-size: 17px; padding: 13px 28px; }
.portal-hero-cta-secondary { font-size: 16px; padding: 11px 16px; }
.portal-hero-enterprise-cta { margin-top: 12px; font-size: 13px; color: var(--text-muted); }
.portal-hero-enterprise-cta a { color: var(--text-secondary); text-decoration: underline; }
.portal-hero-enterprise-cta a:hover { color: var(--text-primary); }

/* ── FOOTER CTA BUTTON ── */
.footer-cta-actions { position: relative; z-index: 1; }
.nav-hamburger {
  display: none; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer; padding: 6px;
  border-radius: 8px; color: var(--text-primary);
  transition: background 0.15s;
}
.nav-hamburger:hover { background: var(--bg-card2); }

/* ── MOBILE NAV ── */
.nav-mobile {
  display: none;
  position: fixed; top: 72px; left: 0; right: 0; z-index: 199;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  flex-direction: column; padding: 8px 0 20px;
}
.nav-mobile.open { display: flex; }
.nav-mobile-link {
  font-size: 16px; font-weight: 500; color: var(--text-secondary);
  text-decoration: none; padding: 14px clamp(20px,5vw,80px);
  border-bottom: 1px solid var(--border);
  transition: background 0.1s, color 0.1s;
}
.nav-mobile-link:hover { background: var(--bg-card); color: var(--text-primary); }
.nav-mobile-link:last-of-type { border-bottom: none; }
.nav-mobile-actions {
  display: flex; flex-direction: column; gap: 8px;
  padding: 16px clamp(20px,5vw,80px) 0;
}

/* ── PLATFORM SECTION ── */
.platform-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}

/* ── LOGIN MODAL ── */
.lm-backdrop {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,0.45);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.lm-backdrop[hidden] { display: none; }
.lm-card {
  background: #fff; border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.18);
  width: 100%; max-width: 460px;
  max-height: calc(100vh - 80px); overflow-y: auto;
  padding: 48px 44px;
  display: flex; flex-direction: column; gap: 24px;
  position: relative;
}
.lm-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg-card); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: background 0.15s;
}
.lm-close:hover { background: var(--bg-card2); }
.lm-logo-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(145deg, #7340c8 0%, #a100ff 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(161,0,255,0.35);
}
.lm-step { display: flex; flex-direction: column; gap: 20px; }
.lm-step[hidden] { display: none; }
.lm-step h2 { font-size: 24px; font-weight: 700; letter-spacing: -0.4px; color: var(--text-primary); }
.lm-step p  { font-size: 15px; color: var(--text-secondary); line-height: 1.6; }
.lm-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #f3e8ff; color: #7b00d4;
  font-size: 13px; font-weight: 600;
  padding: 5px 12px; border-radius: 100px;
  width: fit-content;
}
.lm-input-group { display: flex; flex-direction: column; gap: 6px; }
.lm-input-group label { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.lm-input {
  width: 100%; padding: 11px 14px;
  border: 1px solid var(--border); border-radius: 10px;
  font-size: 15px; font-family: inherit; color: var(--text-primary);
  outline: none; transition: border-color 0.15s, box-shadow 0.15s;
  background: #fff;
}
.lm-input:focus {
  border-color: #a100ff;
  box-shadow: 0 0 0 3px rgba(161,0,255,0.12);
}
.lm-input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lm-select {
  width: 100%; padding: 11px 14px;
  border: 1px solid var(--border); border-radius: 10px;
  font-size: 15px; font-family: inherit; color: var(--text-primary);
  background: #fff; outline: none; cursor: pointer;
  transition: border-color 0.15s;
}
.lm-select:focus { border-color: #a100ff; }
.lm-radio-group { display: flex; flex-direction: column; gap: 10px; }
.lm-radio-opt {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--border);
  cursor: pointer; transition: border-color 0.15s, background 0.15s;
}
.lm-radio-opt:hover { border-color: #a100ff; background: #faf5ff; }
.lm-radio-opt input[type="radio"] { margin-top: 3px; accent-color: #a100ff; }
.lm-radio-opt-body { display: flex; flex-direction: column; }
.lm-radio-opt-title { font-size: 15px; font-weight: 600; color: var(--text-primary); }
.lm-radio-opt-sub { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.lm-btn-primary {
  width: 100%; padding: 13px;
  background: #a100ff; color: #fff;
  border: none; border-radius: 10px;
  font-size: 15px; font-weight: 700; font-family: inherit;
  cursor: pointer; transition: opacity 0.15s;
}
.lm-btn-primary:hover { opacity: 0.88; }
.lm-btn-secondary {
  width: 100%; padding: 13px;
  background: var(--bg-card); color: var(--text-primary);
  border: 1px solid var(--border); border-radius: 10px;
  font-size: 15px; font-weight: 600; font-family: inherit;
  cursor: pointer; transition: background 0.15s;
}
.lm-btn-secondary:hover { background: var(--bg-card2); }
.lm-divider {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; color: var(--text-muted);
}
.lm-divider::before, .lm-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.lm-error {
  font-size: 13px; color: #dc2626; padding: 10px 14px;
  background: #fef2f2; border-radius: 8px; display: none;
}
.lm-sso-company {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 12px; background: var(--bg-card);
  font-size: 15px; font-weight: 600;
}
.lm-sso-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: #a100ff; display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.lm-back-link {
  font-size: 14px; color: var(--text-muted); cursor: pointer;
  background: none; border: none; font-family: inherit;
  text-decoration: underline; text-underline-offset: 3px;
  align-self: flex-start;
}
.lm-back-link:hover { color: var(--text-secondary); }

/* ── HERO ── */
.portal-hero {
  padding-top: 72px;
  min-height: 100vh;
  background: #fff;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.picture-contents { display: contents; }
.portal-hero-bg {
  position: absolute; top: 0; right: 0;
  height: 100%; width: auto; max-width: 65%;
  object-fit: cover; pointer-events: none; opacity: 0.18;
}
.portal-hero-inner {
  width: 100%; margin: 0 auto;
  padding: 80px clamp(20px, 4vw, 48px);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center;
  position: relative; z-index: 1;
}
.portal-hero-text { display: flex; flex-direction: column; gap: 32px; }
.portal-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(161,0,255,0.1); color: #7b00d4;
  font-size: 13px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px; width: fit-content;
}
.portal-hero h1 {
  font-size: clamp(36px, 5vw, 60px); font-weight: 700;
  line-height: 1.1; letter-spacing: -1.2px; color: var(--text-primary);
}
.portal-hero h1 span { color: #a100ff; }
.portal-hero-sub {
  font-size: 20px; color: var(--text-secondary); line-height: 1.65; max-width: 520px;
}
.portal-hero-email-form {
  display: flex; flex-direction: column; gap: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px; padding: 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  max-width: 460px;
}
.portal-hero-email-form p {
  font-size: 14px; font-weight: 600; color: var(--text-primary);
}
.portal-hero-email-row { display: flex; gap: 10px; }
.portal-hero-email-input {
  flex: 1; padding: 11px 14px;
  border: 1px solid var(--border); border-radius: 10px;
  font-size: 15px; font-family: inherit; outline: none;
  transition: border-color 0.15s;
}
.portal-hero-email-input:focus { border-color: #a100ff; }
.portal-hero-email-btn {
  padding: 11px 20px; background: #a100ff; color: #fff;
  border: none; border-radius: 10px;
  font-size: 15px; font-weight: 700; font-family: inherit; cursor: pointer;
  transition: opacity 0.15s; white-space: nowrap;
}
.portal-hero-email-btn:hover { opacity: 0.88; }
.portal-hero-email-note {
  font-size: 12px !important; color: var(--text-muted) !important; font-weight: 400 !important;
}
.portal-hero-visual {
  display: flex; justify-content: flex-end; align-items: center;
}
.portal-hero-visual img { max-width: 100%; height: auto; }
.portal-hero-pillars {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid rgba(0,0,0,0.12); padding-top: 40px; margin-top: 16px;
}
.portal-hero-pillar {
  padding: 0 32px 0 0;
  border-right: 1px solid rgba(0,0,0,0.12);
  display: flex; flex-direction: column; gap: 8px;
}
.portal-hero-pillar:first-child { padding-left: 0; }
.portal-hero-pillar:last-child { border-right: none; padding-right: 0; padding-left: 32px; }
.portal-hero-pillar:nth-child(2) { padding: 0 32px; }
.portal-hero-pillar-label {
  font-size: 13px; font-weight: 700; color: #a100ff; text-transform: uppercase; letter-spacing: 0.5px;
}
.portal-hero-pillar p { font-size: 15px; color: var(--text-secondary); line-height: 1.6; }

/* ── SECTION COMMON ── */
.portal-section {
  padding: 96px clamp(20px, 5vw, 80px);
  max-width: var(--max-w); margin: 0 auto;
}
.portal-section-full {
  padding: 96px 0; width: 100vw;
  margin-left: calc(50% - 50vw);
  position: relative;
}
.portal-section-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 80px);
}
.section-label {
  font-size: 13px; font-weight: 700; letter-spacing: 0.5px;
  text-transform: uppercase; color: #a100ff; margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 42px); font-weight: 700;
  letter-spacing: -0.8px; line-height: 1.18; color: var(--text-primary);
}
.section-sub {
  font-size: 18px; color: var(--text-secondary); line-height: 1.65;
  max-width: 600px; margin-top: 16px;
}
.section-header { display: flex; flex-direction: column; }
.section-header-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}

/* ── WHY SECTION ── */
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 56px;
}
.why-card {
  padding: 32px; border-radius: 16px; background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 14px;
}
.why-card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, #f3e8ff, #e9d5ff);
  display: flex; align-items: center; justify-content: center;
}
.why-card-icon img { width: 22px; height: 22px; }
.why-card h3 { font-size: 18px; font-weight: 700; color: var(--text-primary); }
.why-card p { font-size: 15px; color: var(--text-secondary); line-height: 1.65; }

/* ── COMPASSIONAL AGENT ── */
.compassional-section {
  background: #0d0918;
  padding: 96px clamp(20px, 5vw, 80px);
  width: 100vw; margin-left: calc(50% - 50vw);
}
.compassional-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.compassional-text { display: flex; flex-direction: column; gap: 24px; }
.compassional-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(161,0,255,0.2); color: #c084fc;
  font-size: 13px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px; width: fit-content;
}
.compassional-text h2 {
  font-size: clamp(28px, 4vw, 42px); font-weight: 700;
  letter-spacing: -0.8px; line-height: 1.18; color: #fff;
}
.compassional-text h2 em { font-style: normal; color: #c084fc; }
.compassional-text p { font-size: 17px; color: rgba(255,255,255,0.65); line-height: 1.7; }
.compassional-principles {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 12px;
}
.compassional-principle {
  padding: 20px; border-radius: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-direction: column; gap: 8px;
}
.compassional-principle-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(161,0,255,0.25);
  display: flex; align-items: center; justify-content: center;
}
.compassional-principle-icon img { width: 18px; height: 18px; filter: brightness(10); }
.compassional-principle h4 { font-size: 15px; font-weight: 700; color: #fff; }
.compassional-principle p { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.55; }
.compassional-visual {
  border-radius: 20px; overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 32px;
  display: flex; flex-direction: column; gap: 20px;
}
.compassional-chat { display: flex; flex-direction: column; gap: 14px; }
.chat-bubble {
  max-width: 85%; padding: 14px 18px; border-radius: 14px;
  font-size: 14px; line-height: 1.55;
}
.chat-bubble-agent {
  background: rgba(161,0,255,0.15); color: rgba(255,255,255,0.9);
  border-radius: 4px 14px 14px 14px;
  align-self: flex-start;
}
.chat-bubble-user {
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7);
  border-radius: 14px 4px 14px 14px;
  align-self: flex-end;
}
.chat-agent-label {
  font-size: 11px; font-weight: 700; color: #c084fc;
  letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 6px;
  display: flex; align-items: center; gap: 6px;
}
.chat-agent-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #a855f7;
}
.compassional-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.08);
}
.compassional-metric { text-align: center; }
.compassional-metric-num {
  font-size: 22px; font-weight: 700; color: #fff; display: block;
}
.compassional-metric-label {
  font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 2px;
}

/* ── SOLUTIONS ── */
.solutions-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 56px;
}
.sol-card {
  border-radius: 20px; overflow: hidden;
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.sol-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.sol-card-header {
  padding: 28px 28px 20px;
  background: var(--bg-card);
  display: flex; flex-direction: column; gap: 14px;
}
.sol-card-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: #a100ff;
  display: flex; align-items: center; justify-content: center;
}
.sol-card-icon img { width: 24px; height: 24px; filter: brightness(10); }
.sol-card-tier {
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
  color: #a100ff;
}
.sol-card h3 { font-size: 20px; font-weight: 700; color: var(--text-primary); line-height: 1.3; }
.sol-card-body { padding: 20px 28px 28px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.sol-card p { font-size: 15px; color: var(--text-secondary); line-height: 1.65; flex: 1; }
.sol-card-agents { display: flex; flex-direction: column; gap: 8px; }
.sol-agent-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg-card2); color: var(--text-secondary);
  font-size: 13px; padding: 5px 12px; border-radius: 8px; width: fit-content;
}
.sol-card-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 700; color: #a100ff;
  text-decoration: none; transition: gap 0.15s;
}
.sol-card-cta:hover { gap: 10px; }
.sol-card-free-badge {
  font-size: 12px; font-weight: 700; color: #059669;
  background: #d1fae5; padding: 3px 10px; border-radius: 100px;
  width: fit-content;
}

/* ── DEMO SECTION ── */
.demo-section {
  background: var(--bg-card); padding: 96px clamp(20px, 5vw, 80px);
  width: 100vw; margin-left: calc(50% - 50vw);
}
.demo-inner {
  max-width: var(--max-w); margin: 0 auto;
}
.demo-header { text-align: center; margin-bottom: 56px; }
.demo-mockup {
  background: #fff; border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 16px 64px rgba(0,0,0,0.1);
  overflow: hidden;
}
.demo-mockup-bar {
  padding: 14px 20px; background: var(--bg-card2);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}
.demo-dot { width: 12px; height: 12px; border-radius: 50%; }
.demo-dot-r { background: #ff5f57; }
.demo-dot-y { background: #febc2e; }
.demo-dot-g { background: #28c840; }
.demo-mockup-url {
  flex: 1; background: var(--bg-card); border-radius: 8px;
  padding: 6px 14px; font-size: 13px; color: var(--text-muted);
  text-align: center; margin: 0 12px;
}
.demo-mockup-body {
  display: grid; grid-template-columns: 240px 1fr; min-height: 360px;
}
.demo-sidebar {
  background: var(--bg-card); border-right: 1px solid var(--border);
  padding: 20px 16px; display: flex; flex-direction: column; gap: 6px;
}
.demo-sidebar-title {
  font-size: 11px; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.5px; padding: 8px 8px 4px;
}
.demo-sidebar-item {
  padding: 9px 12px; border-radius: 8px; font-size: 14px; cursor: pointer;
  display: flex; align-items: center; gap: 8px;
  color: var(--text-secondary); transition: background 0.15s;
}
.demo-sidebar-item:hover, .demo-sidebar-item.active {
  background: #fff; color: var(--text-primary); font-weight: 500;
}
.demo-sidebar-item-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #a100ff; flex-shrink: 0;
}
.demo-chat-area {
  padding: 24px; display: flex; flex-direction: column; gap: 16px; overflow-y: auto;
}
.demo-msg { display: flex; gap: 12px; max-width: 85%; }
.demo-msg-agent { align-self: flex-start; }
.demo-msg-user { align-self: flex-end; flex-direction: row-reverse; }
.demo-avatar {
  width: 32px; height: 32px; border-radius: 50%; overflow: hidden;
  flex-shrink: 0; background: var(--bg-card2);
}
.demo-avatar img { width: 100%; height: 100%; object-fit: cover; }
.demo-avatar-ai {
  background: #a100ff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff;
}
.demo-bubble {
  padding: 12px 16px; border-radius: 12px;
  font-size: 14px; line-height: 1.6; color: var(--text-primary);
}
.demo-bubble-agent { background: var(--bg-card); border-radius: 4px 12px 12px 12px; }
.demo-bubble-user { background: #a100ff; color: #fff; border-radius: 12px 4px 12px 12px; }
.demo-typing {
  display: flex; gap: 4px; align-items: center; padding: 14px 16px;
  background: var(--bg-card); border-radius: 4px 12px 12px 12px; width: 52px;
}
.demo-typing span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted);
  animation: typing 1.2s infinite;
}
.demo-typing span:nth-child(2) { animation-delay: 0.2s; }
.demo-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing { 0%,60%,100% { opacity:0.3; transform:scale(0.8); } 30% { opacity:1; transform:scale(1); } }

/* ── PARTNERS ── */
.partners-section {
  padding: 64px clamp(20px, 5vw, 80px);
  text-align: center;
}
.partners-label {
  font-size: 13px; font-weight: 700; letter-spacing: 0.5px;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 32px;
}
.partners-logos {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: 32px 48px;
}
.partners-logos img {
  height: 28px; width: auto; object-fit: contain;
  opacity: 0.5; transition: opacity 0.2s; filter: grayscale(1);
}
.partners-logos img:hover { opacity: 0.8; filter: grayscale(0); }

/* ── SUCCESS STATS ── */
.stats-section {
  background: linear-gradient(135deg, #7b00d4 0%, #a100ff 100%);
  padding: 80px clamp(20px, 5vw, 80px);
  width: 100vw; margin-left: calc(50% - 50vw);
}
.stats-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
  text-align: center;
}
.stat-item { display: flex; flex-direction: column; gap: 6px; }
.stat-num {
  font-size: clamp(36px, 5vw, 52px); font-weight: 800;
  color: #fff; letter-spacing: -1px; line-height: 1;
}
.stat-label { font-size: 15px; color: rgba(255,255,255,0.7); line-height: 1.5; }

/* ── TESTIMONIALS ── */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 56px;
}
.testimonial-card {
  background: var(--bg-card); border-radius: 20px;
  border: 1px solid var(--border);
  padding: 32px; display: flex; flex-direction: column; gap: 20px;
}
.testimonial-stars { display: flex; gap: 3px; }
.testimonial-stars span { color: #a100ff; font-size: 16px; }
.testimonial-quote {
  font-size: 16px; color: var(--text-primary); line-height: 1.7;
  font-style: italic; flex: 1;
}
.testimonial-author {
  display: flex; align-items: center; gap: 12px;
  padding-top: 16px; border-top: 1px solid var(--border);
}
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, #7b00d4, #a100ff);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.testimonial-author-name { font-size: 15px; font-weight: 700; color: var(--text-primary); }
.testimonial-author-title { font-size: 13px; color: var(--text-muted); }

/* ── RESPONSIBLE AI ── */
.responsible-section {
  background: var(--bg-card);
  padding: 96px clamp(20px, 5vw, 80px);
  width: 100vw; margin-left: calc(50% - 50vw);
}
.responsible-inner {
  max-width: var(--max-w); margin: 0 auto;
}
.responsible-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-top: 56px;
}
.responsible-card {
  padding: 28px; border-radius: 16px; background: #fff;
  border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 14px;
}
.responsible-card-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.responsible-card h4 { font-size: 17px; font-weight: 700; color: var(--text-primary); }
.responsible-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ── AWARDS ── */
.awards-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: 56px;
}
.award-card {
  padding: 28px 20px; border-radius: 16px; background: var(--bg-card);
  border: 1px solid var(--border);
  text-align: center; display: flex; flex-direction: column; gap: 10px;
  align-items: center;
}
.award-badge {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, #f3e8ff, #e9d5ff);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.award-title { font-size: 14px; font-weight: 700; color: var(--text-primary); line-height: 1.4; }
.award-org { font-size: 12px; color: var(--text-muted); }
.award-year { font-size: 11px; font-weight: 700; color: #a100ff; }

/* ── FOOTER CTA ── */
.footer-cta-section {
  padding: 96px clamp(20px, 5vw, 80px);
  width: 100vw; margin-left: calc(50% - 50vw);
}
.footer-cta-inner {
  max-width: var(--max-w); margin: 0 auto;
}
.footer-cta-card {
  border-radius: 24px; overflow: hidden; position: relative;
  padding: 72px 64px;
  background: #0d0918;
  display: flex; flex-direction: column; gap: 32px; align-items: flex-start;
}
.footer-cta-bg-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.15; pointer-events: none;
}
.footer-cta-content { position: relative; z-index: 1; max-width: 600px; }
.footer-cta-content h2 {
  font-size: clamp(28px, 4vw, 42px); font-weight: 700;
  color: #fff; letter-spacing: -0.8px; line-height: 1.18; margin-bottom: 16px;
}
.footer-cta-content p { font-size: 18px; color: rgba(255,255,255,0.6); line-height: 1.65; }
.footer-cta-email-form {
  position: relative; z-index: 1;
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
}
.footer-cta-email-input {
  padding: 13px 18px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08); color: #fff;
  font-size: 15px; font-family: inherit; outline: none; width: 280px;
  transition: border-color 0.15s;
}
.footer-cta-email-input::placeholder { color: rgba(255,255,255,0.35); }
.footer-cta-email-input:focus { border-color: rgba(255,255,255,0.5); }
.footer-cta-btn {
  padding: 13px 24px; background: #a100ff; color: #fff;
  border: none; border-radius: 10px;
  font-size: 15px; font-weight: 700; font-family: inherit;
  cursor: pointer; transition: opacity 0.15s; white-space: nowrap;
}
.footer-cta-btn:hover { opacity: 0.88; }
.footer-cta-btn-secondary {
  font-size: 13px; color: rgba(255,255,255,0.65);
  text-decoration: underline; white-space: nowrap;
}
.footer-cta-btn-secondary:hover { color: #fff; }

/* ── FOOTER ── */
.portal-footer {
  background: #0d0918;
  padding: 64px clamp(20px, 5vw, 80px) 40px;
  width: 100vw; margin-left: calc(50% - 50vw);
}
.portal-footer-inner {
  max-width: var(--max-w); margin: 0 auto;
}
.portal-footer-top {
  display: grid; grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.portal-footer-brand { display: flex; flex-direction: column; gap: 16px; }
.portal-footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 17px; font-weight: 700; color: #fff;
}
.portal-footer-logo-icon {
  width: 32px; height: 32px; border-radius: 9px;
  background: #a100ff;
  display: flex; align-items: center; justify-content: center;
}
.portal-footer-brand p { font-size: 14px; color: rgba(255,255,255,0.4); line-height: 1.6; max-width: 240px; }
.portal-footer-col h4 { font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 20px; }
.portal-footer-col a {
  display: block; font-size: 15px; color: rgba(255,255,255,0.65);
  text-decoration: none; margin-bottom: 12px; transition: color 0.15s;
}
.portal-footer-col a:hover { color: #fff; }
.portal-footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px; flex-wrap: wrap; gap: 16px;
}
.portal-footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.3); }
.portal-footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; }
.portal-footer-bottom a:hover { color: rgba(255,255,255,0.7); }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .portal-hero-inner { grid-template-columns: 1fr; }
  .portal-hero-visual { display: none; }
  .portal-hero-pillars { grid-template-columns: 1fr; gap: 24px; }
  .portal-hero-pillar { border-right: none; padding: 0 0 24px; border-bottom: 1px solid rgba(0,0,0,0.12); }
  .portal-hero-pillar:last-child { border-bottom: none; padding: 0; }
  .compassional-inner { grid-template-columns: 1fr; gap: 48px; }
  .why-grid, .solutions-grid, .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .responsible-grid, .awards-grid { grid-template-columns: 1fr 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .demo-mockup-body { grid-template-columns: 1fr; }
  .demo-sidebar { display: none; }
  .platform-grid { grid-template-columns: 1fr; gap: 40px; }
  .portal-footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .portal-nav-links { display: none; }
  .portal-nav-actions .nav-btn-ghost { display: none; }
  .nav-hamburger { display: flex; }
  .portal-hero h1 { font-size: 32px; }
  .portal-hero-email-row { flex-direction: column; }
  .why-grid, .solutions-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .responsible-grid, .awards-grid { grid-template-columns: 1fr 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .compassional-principles { grid-template-columns: 1fr; }
  .lm-card { padding: 36px 24px; }
  .lm-input-row { grid-template-columns: 1fr; }
  .footer-cta-card { padding: 48px 32px; }
  .footer-cta-email-form { flex-direction: column; }
  .footer-cta-email-input { width: 100%; }
  .portal-footer-top { grid-template-columns: 1fr; }
}
