/* ═══════════════════════════════════════════════════
   SLECAI Health Intelligence · styles.css
   Premium Corporate Medical · v2.0
   ═══════════════════════════════════════════════════ */

/* ─── CUSTOM PROPERTIES ─── */
:root {
  /* Brand colours */
  --void:          #040810;
  --abyss:         #080F1E;
  --deep:          #0A1628;
  --surface:       #0D1C36;
  --elevated:      #10213F;
  --rim:           rgba(107, 70, 224, 0.14);
  --rim-bright:    rgba(107, 70, 224, 0.38);

  --violet:        #6B46E0;
  --violet-mid:    #8A62F5;
  --amethyst:      #9B6FFF;
  --lavender:      #C4A8FF;
  --pearl:         #EDE0FF;
  --magenta:       #B040A8;
  --magenta-pale:  #D070C0;

  --white:         #FFFFFF;
  --ghost-90:      rgba(255, 255, 255, 0.90);
  --ghost-65:      rgba(255, 255, 255, 0.65);
  --ghost-40:      rgba(255, 255, 255, 0.40);
  --ghost-18:      rgba(255, 255, 255, 0.08);
  --ghost-08:      rgba(255, 255, 255, 0.04);

  /* Typography */
  --font-display:  'Cormorant Garamond', 'Georgia', serif;
  --font-body:     'DM Sans', 'Helvetica Neue', sans-serif;

  /* Spacing */
  --gutter:        clamp(1.5rem, 6vw, 6rem);
  --section-py:    clamp(5rem, 10vh, 8rem);

  /* Radii */
  --r-sm:   10px;
  --r-md:   16px;
  --r-lg:   24px;
  --r-xl:   32px;
  --r-pill: 999px;

  /* Transitions */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; border: none; outline: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ─── BASE ─── */
body {
  background-color: var(--void);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23g)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.022;
  pointer-events: none;
  z-index: 9999;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-weight: 600;
}

.display-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.2rem, 7.5vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--amethyst);
  margin-bottom: 1rem;
}

.body-lead {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--ghost-65);
  line-height: 1.75;
}

.body-sm {
  font-size: 0.9rem;
  color: var(--ghost-65);
  line-height: 1.7;
}

/* Gradient text */
.text-gradient {
  background: linear-gradient(135deg, var(--lavender) 0%, var(--amethyst) 40%, var(--magenta) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── LAYOUT ─── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-pad {
  padding: var(--section-py) 0;
}

/* ─── NAVIGATION ─── */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  height: 72px;
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease-out), border-color 0.4s;
  border-bottom: 1px solid transparent;
}

#nav.scrolled {
  background: rgba(4, 8, 16, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--rim);
}

.nav-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo-mark {
  width: 38px;
  height: 38px;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-brand-name {
  font-family: 'Syne', var(--font-body);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--white);
}

.nav-brand-sub {
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--lavender);
  opacity: 0.8;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.5rem);
}

.nav-link {
  font-size: 0.84rem;
  font-weight: 400;
  color: var(--ghost-65);
  letter-spacing: 0.02em;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--lavender); }

.nav-cta-btn {
  background: linear-gradient(135deg, var(--violet), var(--magenta));
  color: var(--white);
  padding: 0.5rem 1.4rem;
  border-radius: var(--r-pill);
  font-size: 0.84rem;
  font-weight: 500;
  transition: opacity 0.2s, transform 0.2s var(--ease-spring);
  box-shadow: 0 0 28px rgba(107, 70, 224, 0.35);
  white-space: nowrap;
}
.nav-cta-btn:hover { opacity: 0.88; transform: translateY(-1px); }

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(4, 8, 16, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 1.5rem var(--gutter) 2rem;
  border-bottom: 1px solid var(--rim);
  flex-direction: column;
  gap: 0;
  z-index: 490;
  transform: translateY(-10px);
  opacity: 0;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

.nav-mobile.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

.nav-mobile a {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--rim);
  color: var(--ghost-65);
  font-size: 1rem;
  transition: color 0.2s;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--lavender); }

/* ─── HERO ─── */
#home {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
}

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

.hero-orb-1 {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 65vw;
  height: 65vw;
  max-width: 900px;
  max-height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107,70,224,0.22) 0%, transparent 65%);
  filter: blur(40px);
  animation: orb-float-1 16s ease-in-out infinite;
}

.hero-orb-2 {
  position: absolute;
  bottom: -15%;
  left: -8%;
  width: 50vw;
  height: 50vw;
  max-width: 700px;
  max-height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176,64,168,0.15) 0%, transparent 65%);
  filter: blur(50px);
  animation: orb-float-2 20s ease-in-out infinite;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(107,70,224,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107,70,224,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
}

.hero-neural {
  position: absolute;
  inset: 0;
  background-image: url('assets/neural-bg.svg');
  background-size: cover;
  background-position: center;
  opacity: 0.6;
}

@keyframes orb-float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-2%, 3%) scale(1.04); }
  66% { transform: translate(2%, -2%) scale(0.97); }
}
@keyframes orb-float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(2%, -4%) scale(1.05); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4rem;
  padding: clamp(3rem, 8vh, 6rem) 0;
}

.hero-content {
  max-width: 680px;
}

.hero-pre-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(107, 70, 224, 0.12);
  border: 1px solid rgba(107, 70, 224, 0.3);
  border-radius: var(--r-pill);
  padding: 0.35rem 1rem 0.35rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  color: var(--lavender);
  margin-bottom: 2rem;
  animation: fade-in-up 0.7s 0.1s var(--ease-out) both;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amethyst);
  box-shadow: 0 0 10px var(--amethyst);
  animation: pulse-anim 2s ease-in-out infinite;
}

@keyframes pulse-anim {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  margin-bottom: 2rem;
  animation: fade-in-up 0.8s 0.2s var(--ease-out) both;
}

.hero-sub {
  max-width: 560px;
  margin-bottom: 2.5rem;
  animation: fade-in-up 0.8s 0.35s var(--ease-out) both;
}

.hero-legal-note {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  background: rgba(176, 64, 168, 0.06);
  border: 1px solid rgba(176, 64, 168, 0.2);
  border-radius: var(--r-md);
  padding: 1rem 1.2rem;
  max-width: 540px;
  margin-bottom: 2.5rem;
  animation: fade-in-up 0.8s 0.45s var(--ease-out) both;
}

.legal-icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.hero-legal-note p {
  font-size: 0.8rem;
  color: rgba(200, 160, 220, 0.75);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: fade-in-up 0.8s 0.55s var(--ease-out) both;
}

.hero-graphic {
  width: clamp(260px, 32vw, 440px);
  flex-shrink: 0;
  animation: hero-graphic-in 1.2s 0.3s var(--ease-out) both;
  filter: drop-shadow(0 20px 60px rgba(107, 70, 224, 0.3));
}

@keyframes hero-graphic-in {
  from { opacity: 0; transform: translateY(30px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--ghost-40);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fade-in-up 1s 1s var(--ease-out) both;
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--amethyst), transparent);
  animation: scroll-line-pulse 2s ease-in-out infinite;
}

@keyframes scroll-line-pulse {
  0%, 100% { opacity: 0.5; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--violet), var(--magenta));
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: var(--r-pill);
  font-size: 0.95rem;
  font-weight: 500;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s;
  box-shadow: 0 4px 35px rgba(107, 70, 224, 0.4);
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 50px rgba(107, 70, 224, 0.55);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: transparent;
  color: var(--ghost-65);
  padding: 0.85rem 2rem;
  border-radius: var(--r-pill);
  font-size: 0.95rem;
  font-weight: 400;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: border-color 0.2s, color 0.2s, transform 0.2s var(--ease-spring);
  cursor: pointer;
}

.btn-outline:hover {
  border-color: var(--amethyst);
  color: var(--lavender);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.55rem 1.3rem;
  font-size: 0.84rem;
}

/* ─── ABOUT ─── */
#about {
  background: var(--abyss);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.about-text-block { }

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.pillar-card {
  background: var(--ghost-08);
  border: 1px solid var(--rim);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  transition: border-color 0.3s, background 0.3s;
}

.pillar-card:hover {
  border-color: var(--rim-bright);
  background: rgba(107, 70, 224, 0.04);
}

.pillar-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, rgba(107,70,224,0.25), rgba(176,64,168,0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.pillar-title {
  font-family: var(--font-body);
  font-size: 0.97rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
  color: var(--white);
}

.pillar-text {
  font-size: 0.87rem;
  color: var(--ghost-65);
  line-height: 1.65;
}

/* ─── LEGAL BANNER ─── */
.legal-banner {
  background: rgba(107, 70, 224, 0.06);
  border-top: 1px solid rgba(107, 70, 224, 0.15);
  border-bottom: 1px solid rgba(107, 70, 224, 0.15);
  padding: 1.8rem 0;
}

.legal-banner-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.legal-banner-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(107, 70, 224, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.legal-banner p {
  font-size: 0.85rem;
  color: rgba(196, 168, 255, 0.8);
  line-height: 1.6;
}

.legal-banner strong {
  color: var(--lavender);
}

/* ─── PLATFORM VISION ─── */
#platform {
  background: var(--deep);
  overflow: hidden;
}

.platform-header {
  max-width: 680px;
  margin-bottom: 4rem;
}

.platform-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.p-card {
  background: var(--ghost-08);
  border: 1px solid var(--rim);
  border-radius: var(--r-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), border-color 0.3s;
}

.p-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--violet) 30%, var(--amethyst) 60%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.p-card:hover {
  transform: translateY(-5px);
  border-color: var(--rim-bright);
}

.p-card:hover::before { opacity: 1; }

.p-card-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: rgba(107, 70, 224, 0.2);
  line-height: 1;
  margin-bottom: 1rem;
  transition: color 0.3s;
}

.p-card:hover .p-card-num {
  color: rgba(155, 111, 255, 0.4);
}

.p-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, rgba(107,70,224,0.22), rgba(176,64,168,0.18));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}

.p-card-title {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
}

.p-card-text {
  font-size: 0.87rem;
  color: var(--ghost-65);
  line-height: 1.7;
}

.p-card-tag {
  display: inline-block;
  margin-top: 1.2rem;
  padding: 0.22rem 0.75rem;
  border-radius: var(--r-pill);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(107, 70, 224, 0.12);
  color: var(--lavender);
  border: 1px solid rgba(107, 70, 224, 0.2);
}

/* Platform Vision Note */
.vision-note {
  background: var(--ghost-08);
  border: 1px solid var(--rim);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.vision-note-text {}
.vision-note-text h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
}

.vision-note-text p {
  font-size: 0.9rem;
  color: var(--ghost-65);
  max-width: 540px;
}

/* Tech tags */
.tech-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.tech-tag {
  padding: 0.28rem 0.85rem;
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  background: rgba(107, 70, 224, 0.1);
  color: var(--lavender);
  border: 1px solid rgba(107, 70, 224, 0.18);
}

/* ─── FOUNDER ─── */
#founder {
  background: var(--abyss);
}

.founder-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5rem;
  align-items: start;
}

.founder-portrait {
  width: 280px;
  flex-shrink: 0;
}

.founder-portrait-frame {
  width: 280px;
  height: 340px;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--surface), var(--elevated));
  border: 1px solid var(--rim-bright);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.founder-portrait-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(107,70,224,0.08), rgba(176,64,168,0.05));
}

.founder-initials {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 700;
  color: rgba(107, 70, 224, 0.4);
  position: relative;
  z-index: 1;
}

.founder-portrait-badge {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(4, 8, 16, 0.85);
  border: 1px solid var(--rim-bright);
  border-radius: var(--r-md);
  padding: 0.5rem 1rem;
  text-align: center;
  white-space: nowrap;
  z-index: 2;
}

.founder-portrait-badge .name {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--white);
}

.founder-portrait-badge .role {
  font-size: 0.7rem;
  color: var(--lavender);
  letter-spacing: 0.05em;
}

.founder-content {}

.founder-name {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.founder-title-text {
  font-size: 1rem;
  color: var(--amethyst);
  margin-bottom: 2rem;
  font-weight: 400;
}

.founder-bio {
  font-size: 1rem;
  color: var(--ghost-65);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.founder-credentials {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.cred-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.9rem;
  color: var(--ghost-65);
}

.cred-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amethyst);
  flex-shrink: 0;
}

.founder-quote-block {
  background: rgba(107, 70, 224, 0.08);
  border-left: 2px solid var(--violet);
  padding: 1.5rem 1.8rem;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin-top: 2rem;
}

.founder-quote-block blockquote {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--ghost-90);
  line-height: 1.55;
}

.founder-quote-block cite {
  display: block;
  margin-top: 0.8rem;
  font-size: 0.78rem;
  color: var(--lavender);
  font-style: normal;
  letter-spacing: 0.06em;
}

/* ─── PARTNERS / SPONSORS ─── */
#partners {
  background: var(--deep);
}

.partners-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4.5rem;
}

.partner-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.partner-card {
  background: var(--ghost-08);
  border: 1px solid var(--rim);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.partner-card::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107,70,224,0.07), transparent 70%);
  pointer-events: none;
}

.partner-card:hover {
  transform: translateY(-4px);
  border-color: var(--rim-bright);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.pc-emoji {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  display: block;
}

.pc-title {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.pc-text {
  font-size: 0.85rem;
  color: var(--ghost-65);
  line-height: 1.7;
}

.partners-cta {
  text-align: center;
  margin-top: 1rem;
}

.partners-cta-sub {
  margin-top: 0.8rem;
  font-size: 0.82rem;
  color: var(--ghost-40);
}

/* ─── CONTACT ─── */
#contact {
  background: var(--abyss);
}

.contact-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 5rem;
  align-items: start;
}

.contact-info {}

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.ci-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.ci-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  background: rgba(107, 70, 224, 0.12);
  border: 1px solid var(--rim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.ci-text {}
.ci-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amethyst);
  margin-bottom: 0.2rem;
  font-weight: 500;
}

.ci-value {
  font-size: 0.93rem;
  color: var(--ghost-65);
}

.contact-form-wrap {
  background: var(--ghost-08);
  border: 1px solid var(--rim);
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ghost-65);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-sm);
  padding: 0.8rem 1rem;
  color: var(--white);
  font-size: 0.92rem;
  transition: border-color 0.2s, background 0.2s;
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--ghost-40); }

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: rgba(107, 70, 224, 0.55);
  background: rgba(107, 70, 224, 0.04);
}

.form-select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='rgba(196,168,255,0.6)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-select option { background: var(--void); color: var(--white); }

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--violet), var(--magenta));
  color: var(--white);
  padding: 1rem;
  border-radius: var(--r-sm);
  font-size: 0.97rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s var(--ease-spring);
  box-shadow: 0 4px 30px rgba(107, 70, 224, 0.3);
  border: none;
}

.form-submit:hover { opacity: 0.9; transform: translateY(-1px); }
.form-submit:active { transform: translateY(0); }

.form-disclaimer {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--ghost-40);
  line-height: 1.55;
  text-align: center;
}

/* ─── LEGAL DISCLAIMER ─── */
#legal {
  background: var(--void);
  border-top: 1px solid var(--rim);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  margin-bottom: 2rem;
}

.legal-block {
  margin-bottom: 2rem;
}

.legal-block h3 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amethyst);
  margin-bottom: 0.7rem;
}

.legal-block p {
  font-size: 0.88rem;
  color: var(--ghost-65);
  line-height: 1.8;
}

.legal-block p + p { margin-top: 0.6rem; }

.legal-warning-box {
  background: rgba(176, 64, 168, 0.05);
  border: 1px solid rgba(176, 64, 168, 0.18);
  border-radius: var(--r-md);
  padding: 1.5rem;
  margin: 2rem 0;
}

.legal-warning-box p {
  font-size: 0.85rem;
  color: rgba(210, 120, 200, 0.85);
  line-height: 1.7;
}

/* ─── FOOTER ─── */
footer {
  background: var(--void);
  border-top: 1px solid var(--rim);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 3rem;
  align-items: start;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--rim);
  margin-bottom: 1.5rem;
}

.footer-brand {}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.8rem;
}

.footer-logo-mark {
  width: 34px;
  height: 34px;
}

.footer-brand-name {
  font-family: 'Syne', var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  color: var(--white);
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--ghost-40);
  max-width: 220px;
  line-height: 1.55;
}

.footer-nav-group {}
.footer-nav-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ghost-40);
  margin-bottom: 0.8rem;
}
.footer-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-nav-links a {
  font-size: 0.85rem;
  color: var(--ghost-65);
  transition: color 0.2s;
}
.footer-nav-links a:hover { color: var(--lavender); }

.footer-nav-cols {
  display: flex;
  gap: 3rem;
}

.footer-legal-text {
  font-size: 0.75rem;
  color: var(--ghost-40);
  max-width: 360px;
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--ghost-40);
}

.footer-pre-op-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  color: rgba(196, 168, 255, 0.6);
  background: rgba(107, 70, 224, 0.08);
  border: 1px solid rgba(107, 70, 224, 0.18);
  border-radius: var(--r-pill);
  padding: 0.25rem 0.8rem;
}

/* ─── REVEAL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}

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

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── DIVIDERS ─── */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(107,70,224,0.25), rgba(176,64,168,0.2), transparent);
  margin: 0;
}

/* ─── STAT ROW ─── */
.stat-row {
  display: flex;
  gap: 3rem;
  padding: 2rem 0;
  border-top: 1px solid var(--rim);
  flex-wrap: wrap;
}

.stat-item {}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--lavender), var(--magenta-pale));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--ghost-40);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* ─── LANGUAGE SWITCHER ─── */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--rim);
  border-radius: var(--r-pill);
  padding: 3px 10px;
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ghost-40);
  padding: 3px 5px;
  border-radius: var(--r-pill);
  transition: color 0.2s, background 0.2s;
  line-height: 1;
}

.lang-btn:hover  { color: var(--lavender); }

.lang-btn.active {
  color: var(--white);
  background: rgba(107,70,224,0.22);
}

.lang-sep {
  color: var(--ghost-18);
  font-size: 0.7rem;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.lang-switcher-mobile {
  display: flex;
  gap: 2px;
  background: none;
  border: none;
  padding: 0;
}

.lang-switcher-mobile .lang-sep { display: none; }
.lang-switcher-mobile .lang-btn { font-size: 0.68rem; padding: 4px 6px; }

.nav-right-mobile {
  display: none;
  align-items: center;
  gap: 8px;
}

/* ─── COOKIE BANNER ─── */
#cookieBanner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  z-index: 600;
  opacity: 0;
  transition: transform 0.4s var(--ease-out), opacity 0.4s;
  pointer-events: none;
  width: min(640px, calc(100vw - 2rem));
}

#cookieBanner.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: all;
}

.cookie-inner {
  background: rgba(8,15,30,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--rim-bright);
  border-radius: var(--r-xl);
  padding: 1.2rem 1.8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.cookie-icon { font-size: 1.3rem; flex-shrink: 0; }

.cookie-inner p {
  flex: 1;
  font-size: 0.83rem;
  color: var(--ghost-65);
  line-height: 1.55;
  min-width: 200px;
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

/* ─── IDLE WARNING ─── */
#idleWarning {
  position: fixed;
  bottom: 5rem;
  right: 1.5rem;
  z-index: 550;
  animation: fade-in-up 0.4s var(--ease-out) both;
}

.idle-inner {
  background: rgba(8,15,30,0.96);
  border: 1px solid rgba(245,200,66,0.3);
  border-radius: var(--r-lg);
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4), 0 0 20px rgba(245,200,66,0.1);
  max-width: 340px;
}

.idle-inner span { font-size: 1.2rem; flex-shrink: 0; }
.idle-inner p { font-size: 0.85rem; color: rgba(245,200,200,0.8); flex: 1; }

/* ─── CYBERSECURITY SECTION ─── */
#security {
  background: var(--deep);
  overflow: hidden;
}

.security-header {
  max-width: 700px;
  margin-bottom: 4rem;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.security-card {
  background: var(--ghost-08);
  border: 1px solid var(--rim);
  border-radius: var(--r-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), border-color 0.3s;
}

.security-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--violet), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.security-card:hover { transform: translateY(-4px); border-color: var(--rim-bright); }
.security-card:hover::before { opacity: 1; }

.sc-icon {
  width: 50px; height: 50px;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, rgba(107,70,224,.22), rgba(176,64,168,.18));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}

.sc-title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
}

.sc-text {
  font-size: 0.87rem;
  color: var(--ghost-65);
  line-height: 1.7;
}

/* Security posture bar */
.security-posture {
  background: var(--ghost-08);
  border: 1px solid var(--rim);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  margin-bottom: 2rem;
}

.sp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.sp-title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
}

.sp-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: #4ade80;
  background: rgba(74,222,128,0.08);
  border: 1px solid rgba(74,222,128,0.2);
  border-radius: var(--r-pill);
  padding: 0.3rem 0.8rem;
}

.sp-status::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: pulse-anim 2s infinite;
}

.sec-bars {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sec-bar-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sec-bar-label {
  font-size: 0.82rem;
  color: var(--ghost-65);
  min-width: 200px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sec-bar-label span { font-size: 0.9rem; }

.sec-bar-track {
  flex: 1;
  height: 7px;
  background: rgba(255,255,255,.05);
  border-radius: var(--r-pill);
  overflow: hidden;
}

.sec-bar-fill {
  height: 100%;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--violet), var(--amethyst));
  transition: width 1.4s var(--ease-out);
}

.sec-bar-fill.yellow { background: linear-gradient(90deg, #d97706, #f59e0b); }
.sec-bar-fill.green  { background: linear-gradient(90deg, #059669, #34d399); }

.sec-bar-val {
  font-size: 0.78rem;
  color: var(--lavender);
  min-width: 36px;
  text-align: right;
  font-weight: 500;
}

/* Responsible disclosure box */
.disclosure-box {
  background: rgba(107,70,224,.06);
  border: 1px solid rgba(107,70,224,.2);
  border-radius: var(--r-xl);
  padding: 2rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.db-title {
  font-family: var(--font-body);
  font-size: 0.97rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--lavender);
}

.db-text {
  font-size: 0.87rem;
  color: var(--ghost-65);
  line-height: 1.65;
}

/* Trust checklist */
.trust-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-top: 2rem;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--ghost-65);
}

.trust-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(74,222,128,0.15);
  border: 1px solid rgba(74,222,128,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 0.55rem;
  color: #4ade80;
}

/* Security badge row */
.security-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.5rem;
  justify-content: center;
}

.sec-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: 1px solid;
}

.sec-badge.violet {
  background: rgba(107,70,224,.1);
  border-color: rgba(107,70,224,.25);
  color: var(--lavender);
}

.sec-badge.green {
  background: rgba(74,222,128,.06);
  border-color: rgba(74,222,128,.2);
  color: #86efac;
}

.sec-badge.amber {
  background: rgba(245,200,66,.06);
  border-color: rgba(245,200,66,.2);
  color: #fcd34d;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-graphic { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .platform-cards { grid-template-columns: 1fr 1fr; }
  .founder-grid { grid-template-columns: 1fr; }
  .founder-portrait { display: none; }
  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta-btn { display: none; }
  .nav-hamburger { display: flex; }
  .partner-cards { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto 3rem; }
  .platform-cards { grid-template-columns: 1fr; }
  .vision-note { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav-cols { flex-wrap: wrap; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .stat-row { gap: 1.5rem; }
}

@media (max-width: 500px) {
  .hero-actions { flex-direction: column; }
  .hero-actions a, .hero-actions button { width: 100%; text-align: center; justify-content: center; }
  .contact-form-wrap { padding: 1.5rem; }
}

/* ─── ADDITIONAL RESPONSIVE (v3) ─── */
@media (max-width: 768px) {
  .nav-right-mobile { display: flex; }
  .security-grid { grid-template-columns: 1fr; }
  .trust-list { grid-template-columns: 1fr; }
  .disclosure-box { grid-template-columns: 1fr; }
  .lang-switcher:not(.lang-switcher-mobile) { display: none; }
}

@media (max-width: 1024px) {
  .security-grid { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   SLECAI v4 — PROFESSIONAL INTERFACE ENHANCEMENTS
   Refined aesthetics · Official brand integration
   ═══════════════════════════════════════════════════════════════ */

/* ─── GLOBAL REFINEMENTS ─── */
:root {
  --navy-deep:    #0D0A24;
  --navy-card:    #100E28;
  --violet-core:  #5B38D6;
  --rim-gold:     rgba(212, 175, 255, 0.10);
  --rim-hover:    rgba(107, 70, 224, 0.45);
  --shadow-card:  0 4px 32px rgba(0,0,0,0.35), 0 1px 0 rgba(107,70,224,0.12);
  --shadow-hover: 0 12px 48px rgba(0,0,0,0.45), 0 0 0 1px rgba(107,70,224,0.3);
}

/* ─── NAV: elevated glass with logo improvements ─── */
#nav {
  height: 76px;
  background: rgba(4, 6, 16, 0.65);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
}

#nav.scrolled {
  background: rgba(4, 6, 16, 0.92);
  border-bottom-color: rgba(107,70,224,0.22);
  box-shadow: 0 1px 40px rgba(0,0,0,0.4);
}

.nav-logo-mark {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 0 10px rgba(107,70,224,0.5));
  transition: filter 0.3s;
}
.nav-logo-wrap:hover .nav-logo-mark {
  filter: drop-shadow(0 0 16px rgba(107,70,224,0.75));
}

.nav-brand-name {
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #EDE0FF 0%, #C4A8FF 60%, #B040A8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-brand-sub {
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  opacity: 0.7;
}

/* ─── HERO: premium backdrop, improved layout ─── */
#home { background: var(--navy-deep); }

.hero-inner {
  gap: 5rem;
  padding: clamp(4rem, 10vh, 7rem) 0;
}

.hero-pre-badge {
  border-radius: var(--r-pill);
  padding: 0.4rem 1.1rem 0.4rem 0.75rem;
  border-color: rgba(107,70,224,0.38);
  background: rgba(107,70,224,0.1);
  font-size: 0.77rem;
  letter-spacing: 0.08em;
}

/* Hero title: sharper, more architectural */
.display-title.hero-title {
  font-size: clamp(3.4rem, 7.5vw, 6.2rem);
  line-height: 0.93;
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.72;
}

/* Official logo hero graphic */
.hero-graphic {
  width: clamp(300px, 35vw, 460px);
  filter: drop-shadow(0 30px 70px rgba(107,70,224,0.35))
          drop-shadow(0 0 120px rgba(107,70,224,0.15));
  transition: filter 0.4s;
}
.hero-graphic:hover {
  filter: drop-shadow(0 30px 80px rgba(107,70,224,0.5))
          drop-shadow(0 0 140px rgba(107,70,224,0.2));
}

/* Hero legal note: more refined */
.hero-legal-note {
  border-radius: var(--r-lg);
  padding: 1.1rem 1.4rem;
  background: rgba(107,70,224,0.05);
  border-color: rgba(107,70,224,0.2);
  backdrop-filter: blur(8px);
}

/* ─── STAT ROW: more presence ─── */
.stat-num {
  font-size: 2.6rem;
  font-weight: 700;
}

.stat-label { letter-spacing: 0.04em; }

/* ─── SECTION LABELS: tighter spacing ─── */
.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  margin-bottom: 0.75rem;
}

/* ─── CARDS: premium shadow & refinement ─── */
.p-card,
.partner-card,
.pillar-card,
.security-card {
  box-shadow: var(--shadow-card);
  border-radius: 20px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.3s;
}

.p-card:hover,
.partner-card:hover,
.security-card:hover {
  box-shadow: var(--shadow-hover);
}

.p-card-num {
  font-size: 3rem;
  letter-spacing: -0.04em;
}

/* ─── PLATFORM: vision note ─── */
.vision-note {
  background: linear-gradient(135deg, rgba(107,70,224,0.08), rgba(176,64,168,0.04));
  border-color: rgba(107,70,224,0.22);
  box-shadow: var(--shadow-card);
  padding: 2.8rem;
}

.vision-note-text h3 {
  font-size: 1.45rem;
  margin-bottom: 0.85rem;
}

/* ─── FOUNDER: portrait frame ─── */
.founder-portrait-frame {
  background: linear-gradient(145deg, #130A30, #1A0F40);
  border-color: rgba(107,70,224,0.3);
  box-shadow: var(--shadow-card),
              inset 0 1px 0 rgba(212,190,255,0.08);
}

.founder-quote-block {
  border-left-color: var(--amethyst);
  border-left-width: 3px;
  background: rgba(107,70,224,0.06);
}

.founder-quote-block blockquote {
  font-size: 1.2rem;
  letter-spacing: -0.005em;
}

/* ─── ABOUT SECTION ─── */
#about { background: var(--navy-deep); }

/* ─── LEGAL BANNER: cleaner ─── */
.legal-banner {
  padding: 2rem 0;
  background: rgba(107,70,224,0.04);
  border-top-color: rgba(107,70,224,0.12);
  border-bottom-color: rgba(107,70,224,0.12);
}

.legal-banner-inner { gap: 1.4rem; }
.legal-banner p { font-size: 0.86rem; line-height: 1.65; }

/* ─── PARTNERS HEADER: centered ─── */
.partners-header { text-align: center; }
.partners-header .section-label { text-align: center; display: block; }

/* ─── SECURITY SECTION ─── */
#security { background: var(--navy-deep); }

.security-posture {
  box-shadow: var(--shadow-card);
  border-color: rgba(107,70,224,0.15);
}

/* ─── CONTACT FORM: polished ─── */
#contact { background: var(--abyss); }

.contact-form-wrap {
  box-shadow: var(--shadow-card);
  border-radius: 24px;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  box-shadow: 0 0 0 3px rgba(107,70,224,0.18);
}

.form-submit {
  border-radius: var(--r-md);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 30px rgba(107,70,224,0.35);
  transition: opacity 0.2s, transform 0.2s var(--ease-spring), box-shadow 0.2s;
}
.form-submit:hover {
  box-shadow: 0 8px 45px rgba(107,70,224,0.5);
}

/* ─── FOOTER: refined ─── */
footer {
  border-top: 1px solid rgba(107,70,224,0.14);
  padding: 3.5rem 0 2rem;
}

.footer-brand-name {
  background: linear-gradient(135deg, #EDE0FF 0%, #C4A8FF 70%, #B040A8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.05rem;
}

.footer-tagline { line-height: 1.6; }

/* ─── BUTTONS: more presence ─── */
.btn-primary {
  padding: 0.88rem 2.1rem;
  font-size: 0.96rem;
  box-shadow: 0 4px 32px rgba(107,70,224,0.4), 0 0 0 1px rgba(107,70,224,0.15);
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s;
}

.btn-primary:hover {
  box-shadow: 0 8px 48px rgba(107,70,224,0.6), 0 0 0 1px rgba(107,70,224,0.3);
}

.btn-outline {
  padding: 0.88rem 2.1rem;
  font-size: 0.96rem;
  border-color: rgba(255,255,255,0.14);
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.2s var(--ease-spring);
}

.btn-outline:hover {
  background: rgba(107,70,224,0.08);
  border-color: var(--amethyst);
}

/* ─── SECTION DIVIDERS: more visible ─── */
.section-divider {
  background: linear-gradient(90deg, transparent 0%, rgba(107,70,224,0.3) 25%, rgba(176,64,168,0.25) 75%, transparent 100%);
}

/* ─── SCROLLBAR: branded ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--void); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--violet), var(--magenta));
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--amethyst); }

/* ─── TEXT SELECTION ─── */
::selection {
  background: rgba(107,70,224,0.35);
  color: var(--white);
}

/* ─── FOCUS RINGS: accessible ─── */
:focus-visible {
  outline: 2px solid var(--amethyst);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ─── NAV LINK hover underline ─── */
.nav-link {
  position: relative;
  padding-bottom: 2px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--lavender);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease-out);
  transform-origin: left;
}
.nav-link:hover::after { transform: scaleX(1); }

/* ─── TECH TAGS: more refined ─── */
.tech-tag {
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  transition: background 0.2s, border-color 0.2s;
}
.tech-tag:hover {
  background: rgba(107,70,224,0.18);
  border-color: rgba(107,70,224,0.35);
}

/* ─── SECURITY BADGES ─── */
.sec-badge {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  transition: transform 0.2s, box-shadow 0.2s;
}
.sec-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

/* ─── HERO OFFICIAL LOGO GLOW ANIMATION ─── */
@keyframes logo-breathe {
  0%, 100% { filter: drop-shadow(0 30px 70px rgba(107,70,224,0.35)) drop-shadow(0 0 100px rgba(107,70,224,0.12)); }
  50%       { filter: drop-shadow(0 30px 80px rgba(107,70,224,0.48)) drop-shadow(0 0 130px rgba(107,70,224,0.2)); }
}
.hero-graphic { animation: logo-breathe 5s ease-in-out infinite, float 6s ease-in-out infinite; }

/* Override float for combined animation */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-16px); }
}

/* ─── PILLAR CARDS: refined ─── */
.pillar-card {
  padding: 1.6rem;
  border-radius: 18px;
}

.pillar-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
}

/* ─── CREDENTIAL ITEMS ─── */
.cred-dot {
  width: 7px;
  height: 7px;
  box-shadow: 0 0 8px var(--amethyst);
}

/* ─── COOKIE BANNER: elevated ─── */
.cookie-inner {
  border-color: rgba(107,70,224,0.35);
  box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(107,70,224,0.1);
}

/* ─── DISCLOSURE BOX ─── */
.disclosure-box {
  border-color: rgba(107,70,224,0.22);
  box-shadow: var(--shadow-card);
}

/* ─── TRUST CHECK ITEMS ─── */
.trust-check {
  font-size: 0.6rem;
  font-weight: 700;
  box-shadow: 0 0 10px rgba(74,222,128,0.2);
}


/* ═══════════════════════════════════════════════════════════════
   SLECAI v5 — FOUNDER PHOTO + iaSALUT REGULATORY SECTION
   ═══════════════════════════════════════════════════════════════ */

/* ─── FOUNDER PHOTO ─── */
.founder-portrait {
  width: 290px;
  flex-shrink: 0;
}

.founder-portrait-frame {
  width: 290px;
  height: 355px;
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(107,70,224,0.35);
  box-shadow:
    0 0 0 1px rgba(107,70,224,0.12),
    0 20px 60px rgba(0,0,0,0.5),
    0 0 40px rgba(107,70,224,0.12),
    inset 0 1px 0 rgba(212,190,255,0.1);
  background: #0B0820;
}

.founder-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s var(--ease-out);
}

.founder-portrait-frame:hover .founder-photo {
  transform: scale(1.03);
}

/* Subtle violet overlay on photo */
.founder-portrait-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 55%,
    rgba(10, 5, 32, 0.85) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.founder-portrait-badge {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(4, 8, 20, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(107,70,224,0.3);
  border-radius: var(--r-md);
  padding: 0.6rem 1.2rem;
  text-align: center;
  white-space: nowrap;
  z-index: 2;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.founder-portrait-badge .name {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 2px;
}

.founder-portrait-badge .role {
  font-size: 0.68rem;
  color: var(--lavender);
  letter-spacing: 0.05em;
}

/* Re-enable founder portrait on all breakpoints */
@media (max-width: 1024px) {
  .founder-portrait { display: flex; width: 100%; justify-content: center; }
  .founder-portrait-frame { width: 260px; height: 320px; }
  .founder-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ─── iaSALUT REGULATORY SECTION ─── */
.iasalut-section {
  background: linear-gradient(
    180deg,
    var(--abyss) 0%,
    rgba(10, 6, 28, 1) 100%
  );
  position: relative;
  overflow: hidden;
}

/* Subtle Catalan flag colour glow */
.iasalut-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107,70,224,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.iasalut-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

/* ─── iaSalut text block ─── */
.iasalut-pillars {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.iasalut-pillar {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 1.3rem;
  background: var(--ghost-08);
  border: 1px solid var(--rim);
  border-radius: var(--r-md);
  transition: border-color 0.25s, background 0.25s;
}

.iasalut-pillar:hover {
  border-color: rgba(107,70,224,0.3);
  background: rgba(107,70,224,0.04);
}

.iap-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.iap-title {
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
  color: var(--white);
}

.iap-text {
  font-size: 0.84rem;
  color: var(--ghost-65);
  line-height: 1.6;
}

/* iaSalut link box */
.iasalut-link {
  display: block;
  margin-top: 1.8rem;
  padding: 1.3rem 1.6rem;
  background: rgba(107,70,224,0.05);
  border: 1px solid rgba(107,70,224,0.22);
  border-radius: var(--r-lg);
  text-decoration: none;
  transition: border-color 0.25s, background 0.25s, transform 0.2s var(--ease-spring);
  cursor: pointer;
}

.iasalut-link:hover {
  border-color: rgba(107,70,224,0.42);
  background: rgba(107,70,224,0.08);
  transform: translateY(-2px);
}

.iasalut-link-inner {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.6rem;
}

.iasalut-link-badge {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(107,70,224,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amethyst);
  flex-shrink: 0;
}

.iasalut-link-title {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--lavender);
  margin-bottom: 2px;
}

.iasalut-link-url {
  font-size: 0.75rem;
  color: var(--amethyst);
  letter-spacing: 0.04em;
  font-family: 'DM Mono', 'Courier New', monospace;
}

.iasalut-link-desc {
  font-size: 0.82rem;
  color: var(--ghost-65);
  line-height: 1.55;
  padding-left: calc(32px + 0.8rem);
}

/* ─── iaSalut right visual column ─── */
.iasalut-visual {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Compliance badge card */
.iasalut-badge-card {
  background: var(--ghost-08);
  border: 1px solid var(--rim);
  border-radius: var(--r-xl);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.iasalut-badge-card:hover {
  border-color: rgba(107,70,224,0.3);
  box-shadow: var(--shadow-hover);
}

.ibc-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.ibc-logo {
  flex-shrink: 0;
}

.ibc-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 2px;
}

.ibc-org {
  font-size: 0.75rem;
  color: var(--ghost-40);
  letter-spacing: 0.05em;
}

.ibc-divider {
  height: 1px;
  background: var(--rim);
  margin: 1rem 0;
}

.ibc-checks {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.ibc-check {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.86rem;
  color: var(--ghost-65);
  line-height: 1.4;
}

.ibc-check-icon {
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.ibc-check-icon.green {
  background: rgba(74,222,128,0.14);
  border: 1px solid rgba(74,222,128,0.3);
  color: #4ade80;
}

.ibc-check-icon.amber {
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.25);
  color: #fbbf24;
  font-size: 1rem;
  font-weight: 400;
}

.ibc-footer { margin-top: 0.2rem; }

.ibc-status-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.ibc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-anim 2s ease-in-out infinite;
}

.ibc-dot.green-dot {
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
}

.ibc-status-text {
  font-size: 0.78rem;
  color: var(--ghost-40);
  line-height: 1.45;
}

/* Regulatory tags */
.iasalut-reg-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.reg-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.75rem;
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid;
  transition: transform 0.18s, box-shadow 0.18s;
}

.reg-tag:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.reg-tag.violet {
  background: rgba(107,70,224,0.1);
  border-color: rgba(107,70,224,0.22);
  color: var(--lavender);
}

.reg-tag.green {
  background: rgba(74,222,128,0.06);
  border-color: rgba(74,222,128,0.2);
  color: #86efac;
}

.reg-tag.amber {
  background: rgba(245,158,11,0.06);
  border-color: rgba(245,158,11,0.2);
  color: #fcd34d;
}

.reg-tag.cat {
  background: rgba(220,36,31,0.07);
  border-color: rgba(220,36,31,0.18);
  color: #fca5a5;
}

/* ─── iaSalut nav entry ─── */
/* Already handled by nav-link class */

/* ─── RESPONSIVE for iaSalut ─── */
@media (max-width: 1024px) {
  .iasalut-inner { grid-template-columns: 1fr; gap: 3rem; }
  .iasalut-visual { order: -1; }
}

@media (max-width: 600px) {
  .ibc-checks { gap: 0.5rem; }
  .iasalut-pillar { padding: 1rem; }
}

/* ═══════════════════════════════════════════════════════════════
   SLECAI v6 — STAT LABEL + FOOTER IP + FORM CORRECTIONS
   ═══════════════════════════════════════════════════════════════ */

/* Stat labels: multi-line via CSS max-width, not <br> */
.stat-label {
  max-width: 160px;
  line-height: 1.45;
}

/* Footer: tagline + sig on separate lines with proper spacing */
.footer-tagline {
  font-size: 0.85rem;
  color: var(--ghost-65);
  line-height: 1.5;
  margin-bottom: 0.25rem;
}

.footer-sig {
  font-size: 0.78rem;
  color: var(--ghost-40);
  font-style: italic;
}

/* Footer IP protection row */
.footer-ip-row {
  border-top: 1px solid rgba(107,70,224,0.08);
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  text-align: center;
}

.footer-ip-text {
  font-size: 0.72rem;
  color: var(--ghost-40);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
  letter-spacing: 0.02em;
}

/* Form: accessibility improvements */
.form-input[aria-invalid="true"],
.form-select[aria-invalid="true"],
.form-textarea[aria-invalid="true"] {
  border-color: rgba(220, 60, 80, 0.65) !important;
  box-shadow: 0 0 0 3px rgba(220, 60, 80, 0.12);
}

/* Contact entity value: no br, use display block */
.ci-value {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* iaSalut title: single-line with inline em gradient */
#iasalut-heading em {
  display: inline;
}

/* ═══════════════════════════════════════════════════════════════
   SLECAI v7 — ACCESSIBILITY, REDUCED MOTION, SEC DESIGN GRID
   ═══════════════════════════════════════════════════════════════ */

/* Skip-to-content link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.6rem 1.2rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* Reduced-motion: disable CSS animations for users who request it */
@media (prefers-reduced-motion: reduce) {
  .hero-graphic {
    animation: none;
  }
  @keyframes float {
    0%, 100%, 50% { transform: translateY(0); }
  }
  @keyframes logo-breathe {
    0%, 100%, 50% { filter: drop-shadow(0 30px 70px rgba(107,70,224,0.35)); }
  }
  .reveal {
    transition: none;
  }
}

/* Security design principles grid */
.sec-design-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.sec-dp-item {
  background: rgba(107, 70, 224, 0.06);
  border: 1px solid rgba(107, 70, 224, 0.12);
  border-radius: 12px;
  padding: 1.25rem 1.1rem;
}

.sec-dp-icon {
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
}

.sec-dp-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}

.sec-dp-text {
  font-size: 0.8rem;
  color: var(--ghost-65);
  line-height: 1.55;
}

/* ═══════════════════════════════════════════════════════════════
   SLECAI v8 — PREMIUM POLISH
   ═══════════════════════════════════════════════════════════════ */

/* ─── Hero badge: glow + backdrop ─── */
.hero-pre-badge {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 0 18px rgba(107, 70, 224, 0.15), inset 0 1px 0 rgba(255,255,255,0.06);
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.hero-pre-badge:hover {
  border-color: rgba(107, 70, 224, 0.55);
  box-shadow: 0 0 28px rgba(107, 70, 224, 0.22), inset 0 1px 0 rgba(255,255,255,0.08);
}

/* ─── Section label: left accent pip ─── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 3px;
  height: 18px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--violet), var(--amethyst));
  flex-shrink: 0;
}

/* ─── Nav active link: underline indicator ─── */
.nav-links a {
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 1px;
  background: var(--lavender);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease-out);
}
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

/* ─── Card hover: elevated shadow ─── */
.pillar-card:hover {
  box-shadow: 0 8px 32px rgba(107, 70, 224, 0.14);
}
.p-card:hover,
.partner-card:hover {
  box-shadow: 0 12px 40px rgba(107, 70, 224, 0.16);
}

/* ─── Pillar icon: glow on card hover ─── */
.pillar-card:hover .pillar-icon-wrap {
  box-shadow: 0 0 16px rgba(107, 70, 224, 0.3);
}

/* ─── Reveal: tighter lift distance ─── */
.reveal {
  transform: translateY(24px);
}

/* ─── Partners CTA: centered column ─── */
.partners-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
}
.partners-cta .cta-primary,
.partners-cta .cta-ghost {
  width: fit-content;
}
.partners-cta-sub {
  text-align: center;
}

/* ─── Footer badge: pulsing accent dot ─── */
@keyframes badge-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
.footer-pre-op-badge span[aria-hidden="true"] {
  color: var(--amethyst);
  animation: badge-pulse 2.4s ease-in-out infinite;
}

/* ─── Hero title: tighter mobile sizing ─── */
@media (max-width: 500px) {
  .display-title.hero-title {
    font-size: clamp(2.6rem, 11vw, 3.6rem);
    line-height: 0.97;
  }
  .hero-pre-badge {
    font-size: 0.68rem;
    letter-spacing: 0.05em;
  }
}

/* ─── Extended prefers-reduced-motion ─── */
@media (prefers-reduced-motion: reduce) {
  .hero-pre-badge,
  .hero-pre-badge:hover {
    transition: none;
  }
  .nav-links a::after {
    transition: none;
  }
  .pillar-card,
  .p-card,
  .partner-card,
  .security-card {
    transition: none;
  }
  .footer-pre-op-badge span[aria-hidden="true"] {
    animation: none;
    opacity: 0.7;
  }
}


/* ═══════════════════════════════════════════════════
   SLECAI v8.1 · Premium Visual Enhancement
   Vision Section · Enhanced Reveals · Microinteractions
   ═══════════════════════════════════════════════════ */

/* ─── VISION SECTION ─── */
.vision-section {
  position: relative;
  overflow: hidden;
}

.vision-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  padding-bottom: clamp(2rem, 4vh, 3.5rem);
}

/* Full-bleed video stage — breaks softly past container width */
.vision-video-stage {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
}

.vision-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--rim);
  box-shadow:
    0 0 0 1px rgba(107,70,224,0.06),
    0 40px 120px rgba(4,8,16,0.7),
    0 0 80px rgba(107,70,224,0.10);
  background: var(--abyss);
}

.vision-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Depth overlay — darkens top/bottom edges, preserves centre */
.vision-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(4,8,16,0.22) 0%,
      transparent 28%,
      transparent 60%,
      rgba(4,8,16,0.55) 100%
    ),
    linear-gradient(
      to right,
      rgba(4,8,16,0.18) 0%,
      transparent 18%,
      transparent 82%,
      rgba(4,8,16,0.18) 100%
    );
  pointer-events: none;
}

/* Caption badge — bottom-right corner */
.vision-video-caption {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 2;
}

.vision-caption-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 1rem;
  border-radius: var(--r-pill);
  background: rgba(4,8,16,0.70);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--rim-bright);
  font-size: 0.70rem;
  font-weight: 500;
  letter-spacing: 0.10em;
  color: var(--lavender);
  white-space: nowrap;
}

/* Fallback — shown only when video cannot play */
.vision-video-fallback {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  background: var(--abyss);
  color: var(--ghost-65);
  font-size: 0.9rem;
  text-align: center;
  padding: 2rem;
}
.vision-video-fallback.active {
  display: flex;
}

/* Disclaimer line */
.vision-disclaimer {
  text-align: center;
  margin-top: 2rem;
  color: var(--ghost-40);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

/* ─── ENHANCED REVEAL — cinematic blur entry for the video stage ─── */
.vision-video-stage.reveal {
  filter: blur(5px);
  transition:
    opacity 1.1s var(--ease-out),
    transform 1.1s var(--ease-out),
    filter 1.1s var(--ease-out);
}
.vision-video-stage.reveal.visible {
  filter: blur(0);
}

/* ─── CARD HOVER GLOW — premium depth on interaction ─── */
.p-card:hover,
.partner-card:hover,
.security-card:hover {
  box-shadow:
    0 0 0 1px rgba(107,70,224,0.28),
    0 16px 56px rgba(107,70,224,0.16),
    0 4px 20px rgba(4,8,16,0.5);
  border-color: rgba(107,70,224,0.28);
}

/* ─── RESPONSIVE — Vision section ─── */
@media (max-width: 900px) {
  .vision-video-caption {
    bottom: 0.9rem;
    right: 0.9rem;
  }
  .vision-caption-badge {
    font-size: 0.62rem;
    padding: 0.3rem 0.75rem;
  }
}

@media (max-width: 600px) {
  .vision-video-frame {
    border-radius: var(--r-lg);
    aspect-ratio: 4 / 3;
  }
  .vision-video-caption {
    bottom: 0.6rem;
    right: 0.6rem;
  }
  .vision-caption-badge {
    letter-spacing: 0.05em;
  }
  .vision-disclaimer {
    font-size: 0.70rem;
  }
}

/* ─── REDUCED MOTION — vision section additions ─── */
@media (prefers-reduced-motion: reduce) {
  .vision-video-stage.reveal {
    filter: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  #corporateVideo {
    animation: none !important;
  }
  .p-card:hover,
  .partner-card:hover,
  .security-card:hover {
    transition: border-color 0.2s, box-shadow 0.2s;
  }
}


/* ═══════════════════════════════════════════════════
   SLECAI v8.2 · Premium 3D Immersive Layer
   Card Elevation · Video Glow · Editorial Entries
   Section Continuity · Parallax-ready Transforms
   ═══════════════════════════════════════════════════ */

/* ─── BLOQUE 1 · Card resting elevation ─── */
/* Inset top highlight simulates directional light from above-left.
   Ambient layers add physical weight to resting state. */
.p-card,
.partner-card,
.security-card {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.028) 0%,
    transparent 55%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 2px 12px rgba(4, 8, 16, 0.32),
    0 8px 32px rgba(4, 8, 16, 0.22);
}

/* ─── BLOQUE 2 · Video stage ambient glow ring ─── */
/* ::before creates a soft violet-magenta aureole behind the frame,
   anchoring it to the page depth rather than floating on void. */
.vision-video-stage {
  position: relative;
  isolation: isolate;
}

.vision-video-stage::before {
  content: '';
  position: absolute;
  inset: -4rem -2rem;
  background: radial-gradient(
    ellipse 75% 55% at 50% 50%,
    rgba(107, 70, 224, 0.11) 0%,
    rgba(176, 64, 168, 0.06) 42%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.vision-video-frame {
  position: relative;
  z-index: 1;
}

/* ─── BLOQUE 3 · Section label editorial X+Y entry ─── */
/* Labels slide in from left + up — more typographically editorial
   than a pure vertical lift. 0.65s is faster than .section-title
   (0.9s), creating natural stagger without JS. */
.section-label.reveal {
  transform: translateY(24px) translateX(-8px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

.section-label.reveal.visible {
  transform: translateY(0) translateX(0);
}

/* ─── BLOQUE 4 · Section title blur-in ─── */
/* Headings emerge from a soft focus — editorial depth cue.
   Extends .reveal transition to include filter without overriding
   the translateY that comes from the base .reveal rule. */
.section-title.reveal {
  filter: blur(2.5px);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out),
    filter 0.9s var(--ease-out);
}

.section-title.reveal.visible {
  filter: blur(0);
}

/* ─── BLOQUE 5 · Section background radials (continuidad visual) ─── */
/* Each section has a unique, very-low-opacity radial gradient.
   Positions alternate (left → center → right → right) to create
   a rhythmic visual flow during scroll. Opacities 0.04–0.07 only. */
#about {
  background: radial-gradient(
    ellipse 85% 65% at 20% 60%,
    rgba(107, 70, 224, 0.04) 0%,
    transparent 70%
  );
}

.vision-section {
  background: radial-gradient(
    ellipse 65% 80% at 50% 25%,
    rgba(107, 70, 224, 0.07) 0%,
    transparent 65%
  );
}

#platform {
  background: radial-gradient(
    ellipse 85% 65% at 80% 40%,
    rgba(30, 50, 130, 0.07) 0%,
    transparent 70%
  );
}

#founder {
  background: radial-gradient(
    ellipse 70% 60% at 75% 50%,
    rgba(176, 64, 168, 0.04) 0%,
    transparent 65%
  );
}

/* ─── BLOQUE 6 · Reduced motion — v8.2 additions ─── */
@media (prefers-reduced-motion: reduce) {
  .section-label.reveal,
  .section-title.reveal {
    filter: none;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  .vision-video-stage::before {
    display: none;
  }
}
