:root{
  --bg:#f7f7fb;
  --surface:#ffffff;
  --surface-2:#f4f1ff;
  --text:#111827;
  --muted:#667085;
  --line:#e7e7ef;
  --violet:#6d28d9;
  --violet-2:#7c3aed;
  --violet-3:#8b5cf6;
  --violet-4:#ede9fe;
  --dark:#0f172a;
  --shadow:0 20px 60px rgba(15,23,42,.08);
  --shadow-lg:0 34px 90px rgba(15,23,42,.14);
  --radius:28px;
  --radius-sm:18px;
  --container:1200px;
  --nav-h:78px;
  --transition: 450ms cubic-bezier(.2,.8,.2,1);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, rgba(139,92,246,.18), rgba(255,255,255,0) 28%),
    linear-gradient(180deg, #ffffff 0%, #fbfbfe 38%, #f7f7fb 100%);
  color:var(--text);
  overflow-x:hidden;
}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

.container{
  width:min(calc(100% - 32px), var(--container));
  margin-inline:auto;
}

.progress{
  position:fixed;
  top:0;left:0;
  height:3px;
  width:0%;
  z-index:120;
  background:linear-gradient(90deg,var(--violet),var(--violet-3));
  box-shadow:0 0 24px rgba(109,40,217,.45);
}

header{
  position:sticky;
  top:0;
  z-index:100;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  background:rgba(255,255,255,.72);
  border-bottom:1px solid rgba(231,231,239,.75);
}

.nav{
  min-height:var(--nav-h);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
}

.brand-logo{
  width:48px;
  height:48px;
  border-radius:16px;
  object-fit:contain;
  flex-shrink:0;
}

/* Logo image inside card bars */
.bar-logo{
  width:38px;
  height:38px;
  border-radius:14px;
  object-fit:contain;
  flex-shrink:0;
}

.brand-text{
  display:flex;
  flex-direction:column;
  line-height:1.05;
}

.brand-text strong{
  font-size:1.12rem;
  letter-spacing:-.03em;
}

.brand-text span{
  margin-top:4px;
  font-size:.78rem;
  color:var(--muted);
}

.nav-links{
  display:flex;
  align-items:center;
  gap:30px;
}

.nav-links a{
  font-size:.95rem;
  color:#475467;
  transition:color var(--transition);
}

.nav-links a:hover{color:var(--violet)}

/* Ensure primary button in nav keeps white text (incl. hover) */
.nav-links .btn-primary,
.nav-links .btn-primary:hover{
  color:white;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:48px;
  padding:0 22px;
  border-radius:999px;
  border:1px solid transparent;
  font-weight:600;
  letter-spacing:-.01em;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    border-color var(--transition),
    color var(--transition);
  cursor:pointer;
  white-space:nowrap;
}

.btn:hover{
  transform:translateY(-2px);
}

.btn-primary{
  background:linear-gradient(135deg,var(--violet),var(--violet-2));
  color:white;
  box-shadow:0 18px 40px rgba(109,40,217,.24);
}

.btn-primary:hover{
  box-shadow:0 22px 50px rgba(109,40,217,.32);
}

.btn-secondary{
  background:rgba(255,255,255,.9);
  border-color:var(--line);
  color:var(--text);
}

.btn-secondary:hover{
  background:#fff;
  box-shadow:var(--shadow);
}

.hamburger{
  display:none;
  width:44px;height:44px;
  border-radius:14px;
  border:1px solid var(--line);
  background:white;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:4px;
}

.hamburger span{
  width:18px;height:2px;
  background:#344054;
  border-radius:99px;
}

.pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 16px;
  border-radius:999px;
  border:1px solid #ddd6fe;
  background:rgba(255,255,255,.84);
  box-shadow:0 10px 30px rgba(15,23,42,.05);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color:var(--violet);
  font-size:.92rem;
  font-weight:600;
}

.dot{
  width:8px;height:8px;border-radius:999px;
  background:linear-gradient(135deg,var(--violet),var(--violet-3));
  box-shadow:0 0 0 7px rgba(109,40,217,.08);
}

section{
  position:relative;
}

.hero{
  padding:36px 0 54px;
  overflow:hidden;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:48px;
  align-items:center;
}

.hero h1{
  margin:12px 0 0;
  font-size:clamp(3rem, 6vw, 5.6rem);
  line-height:.96;
  letter-spacing:-.065em;
  max-width:760px;
}

.hero h1 .accent{
  display:block;
  color:var(--violet);
}

.hero p{
  margin:26px 0 0;
  max-width:720px;
  font-size:1.15rem;
  line-height:1.8;
  color:#475467;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:34px;
}

.hero-tags{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin-top:34px;
}

.mini-card{
  border:1px solid rgba(231,231,239,.9);
  background:rgba(255,255,255,.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius:22px;
  padding:16px 18px;
  box-shadow:0 14px 36px rgba(15,23,42,.05);
}

.mini-card strong{
  display:block;
  font-size:.96rem;
  letter-spacing:-.02em;
}

.mini-card span{
  display:block;
  margin-top:6px;
  color:var(--muted);
  line-height:1.55;
  font-size:.92rem;
}

.hero-visual{
  min-height:640px;
  position:relative;
  perspective:1200px;
}

.hero-orb,
.hero-orb-2{
  position:absolute;
  border-radius:999px;
  filter:blur(40px);
  pointer-events:none;
}

.hero-orb{
  width:360px;height:360px;
  background:rgba(124,58,237,.18);
  top:90px;left:50%;
  transform:translateX(-50%);
}

.hero-orb-2{
  width:240px;height:240px;
  background:rgba(217,70,239,.12);
  bottom:60px;right:0;
}

.floating-chip{
  position:absolute;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid #ddd6fe;
  background:rgba(255,255,255,.92);
  box-shadow:0 14px 34px rgba(15,23,42,.08);
  color:var(--violet);
  font-weight:600;
  font-size:.92rem;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  animation:float 8s ease-in-out infinite;
  z-index:8;
}

.floating-chip:nth-child(2){animation-duration:10s}
.floating-chip:nth-child(3){animation-duration:9s}
.floating-chip:nth-child(4){animation-duration:11s}

@keyframes float{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-10px)}
}

.ui-card{
  position:absolute;
  border-radius:34px;
  overflow:hidden;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(255,255,255,.8);
  box-shadow:var(--shadow-lg);
  transform-style:preserve-3d;
  transition:transform var(--transition), box-shadow var(--transition);
}

.ui-card:hover{
  box-shadow:0 40px 110px rgba(15,23,42,.17);
}

.ui-card .bar{
  padding:16px 20px;
  display:flex;
  align-items:center;
  gap:12px;
  background:#fafafe;
  border-bottom:1px solid var(--line);
}

.ui-card .bar .title{
  font-size:.95rem;
  font-weight:700;
  letter-spacing:-.02em;
}

.ui-card .bar .sub{
  margin-top:2px;
  font-size:.78rem;
  color:var(--muted);
}

.ui-card .content{
  padding:18px;
}

.card-connect{
  width:58%;
  left:2%;
  top:0%;
  animation:drift-1 8s ease-in-out infinite;
  z-index:3;
}

.card-plan{
  width:42%;
  right:2%;
  top:8%;
  animation:drift-2 9s ease-in-out infinite;
  z-index:4;
}

.card-learn{
  width:66%;
  left:14%;
  bottom:10%;
  background:linear-gradient(180deg,#111827 0%, #0f172a 100%);
  color:white;
  border-color:rgba(255,255,255,.08);
  animation:drift-3 10s ease-in-out infinite;
  z-index:5;
}

.card-learn .bar{
  background:rgba(255,255,255,.03);
  border-bottom-color:rgba(255,255,255,.08);
}

@keyframes drift-1{
  0%,100%{transform:translateY(0) rotate(-4deg)}
  50%{transform:translateY(-8px) rotate(-2deg)}
}
@keyframes drift-2{
  0%,100%{transform:translateY(0) rotate(5deg)}
  50%{transform:translateY(10px) rotate(3deg)}
}
@keyframes drift-3{
  0%,100%{transform:translateY(0) rotate(-1.5deg)}
  50%{transform:translateY(-10px) rotate(.5deg)}
}

.logo-wrap{
  position:relative;
  width:48px;height:48px;
  border-radius:16px;
  background:linear-gradient(135deg,var(--violet),var(--violet-2));
  box-shadow:0 14px 34px rgba(109,40,217,.24);
  display:grid;
  place-items:center;
  overflow:hidden;
  transition:transform var(--transition), box-shadow var(--transition), border-radius var(--transition);
  flex-shrink:0;
}

.logo-wrap:hover{
  transform:translateY(-2px) scale(1.04);
  box-shadow:0 18px 44px rgba(109,40,217,.30);
}

.logo-core{
  position:relative;
  width:30px;height:30px;
}

.logo-core .e-bar,
.logo-core .layer-tile{
  position:absolute;
  left:0;
  height:8px;
  border-radius:999px;
  background:#fff;
  transition:all 540ms cubic-bezier(.22,1,.36,1);
}

.logo-core .e-bar.top{top:1px;width:28px}
.logo-core .e-bar.mid{top:11px;width:22px}
.logo-core .e-bar.bot{top:21px;width:28px}

.logo-core .layer-tile{
  width:14px;height:10px;
  opacity:0;
  top:10px;left:8px;
  border-radius:8px;
}

.logo-wrap:hover .e-bar.top{
  width:16px; top:3px; left:7px;
  transform:skewX(-12deg) translateY(1px);
  border-radius:8px;
}
.logo-wrap:hover .e-bar.mid{
  width:16px; top:10px; left:0;
  transform:translateX(6px);
  border-radius:8px;
}
.logo-wrap:hover .e-bar.bot{
  width:16px; top:17px; left:14px;
  transform:skewX(-12deg) translateY(-1px);
  border-radius:8px;
}
.logo-wrap:hover .layer-tile{
  opacity:1;
  top:10px;
  left:8px;
  box-shadow:
    -8px -5px 0 #fff,
    8px 5px 0 #fff;
}

.skeleton{
  display:grid;
  gap:12px;
}

.skeleton .row{
  border:1px solid var(--line);
  background:#fafafe;
  border-radius:20px;
  padding:12px;
}

.line{
  height:10px;
  border-radius:999px;
  background:linear-gradient(90deg,#ddd6fe 0%, #ede9fe 24%, #ffffff 50%, #ede9fe 76%, #ddd6fe 100%);
  background-size:200% 100%;
  animation:shine 3s linear infinite;
}

.line.gray{
  background:linear-gradient(90deg,#eef0f5 0%, #f8f9fc 28%, #ffffff 50%, #f8f9fc 72%, #eef0f5 100%);
  background-size:200% 100%;
}

@keyframes shine{
  from{background-position:200% 0}
  to{background-position:-200% 0}
}

.stats-box{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-top:14px;
}

.stat{
  border:1px solid var(--line);
  background:#fff;
  border-radius:22px;
  padding:14px;
}

.stat.violet{
  background:linear-gradient(135deg,var(--violet),var(--violet-2));
  color:white;
  border:none;
  box-shadow:0 18px 40px rgba(109,40,217,.23);
}

.stat .small{
  font-size:.76rem;
  text-transform:uppercase;
  letter-spacing:.14em;
  color:inherit;
  opacity:.78;
}

.stat strong{
  display:block;
  margin-top:8px;
  font-size:1.7rem;
  letter-spacing:-.05em;
}

/* Smaller stat sizing inside floating UI-cards */
.ui-card .stat{
  padding:10px;
  border-radius:16px;
}
.ui-card .stat .small{
  font-size:.62rem;
  letter-spacing:.1em;
}
.ui-card .stat strong{
  margin-top:4px;
  font-size:1.1rem;
}

.section-pad{
  padding:110px 0;
}

.section-head{
  max-width:760px;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  background:#f5f3ff;
  border:1px solid #ddd6fe;
  color:var(--violet);
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
}

.section-head h2{
  margin:18px 0 0;
  font-size:clamp(2.2rem,4vw,4rem);
  line-height:1.02;
  letter-spacing:-.055em;
}

.section-head p{
  margin:18px 0 0;
  color:#475467;
  line-height:1.85;
  font-size:1.08rem;
}

.products{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
  margin-top:52px;
}

.product{
  position:relative;
  overflow:hidden;
  border-radius:32px;
  background:rgba(255,255,255,.95);
  border:1px solid rgba(231,231,239,.95);
  box-shadow:var(--shadow);
  transition:
    transform 700ms cubic-bezier(.25,.8,.25,1),
    box-shadow 700ms cubic-bezier(.25,.8,.25,1),
    border-color 700ms cubic-bezier(.25,.8,.25,1);
  transform-style:preserve-3d;
}

.product::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(165deg, #4c1d95 0%, #5b21b6 30%, #6d28d9 60%, #7c3aed 100%);
  opacity:0;
  transition:opacity 700ms cubic-bezier(.25,.8,.25,1);
  pointer-events:none;
  z-index:0;
}

.product::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:32px;
  background:
    radial-gradient(ellipse at 25% -10%, rgba(167,139,250,.35), transparent 55%),
    radial-gradient(ellipse at 80% 110%, rgba(88,28,180,.3), transparent 50%),
    linear-gradient(160deg, rgba(255,255,255,.1) 0%, rgba(255,255,255,0) 40%);
  opacity:0;
  transition:opacity 900ms cubic-bezier(.25,.8,.25,1) 50ms;
  pointer-events:none;
  z-index:1;
}

.product-inner{
  position:relative;
  z-index:2;
}

.product:hover{
  transform:translateY(-10px) scale(1.015);
  border-color:rgba(139,92,246,.3);
  box-shadow:
    0 30px 80px rgba(109,40,217,.32),
    0 0 0 1px rgba(139,92,246,.15),
    inset 0 1px 0 rgba(255,255,255,.08);
}

.product:hover::before{opacity:1}
.product:hover::after{opacity:1}

.product:hover .topline{
  background:linear-gradient(90deg, rgba(255,255,255,.25), rgba(255,255,255,.08));
}

.product:hover .icon-badge{
  background:rgba(255,255,255,.12);
  border-color:rgba(255,255,255,.15);
  color:white;
  box-shadow:0 8px 24px rgba(0,0,0,.12);
}

.product:hover .product-tag{
  background:rgba(255,255,255,.1);
  border-color:rgba(255,255,255,.15);
  color:rgba(255,255,255,.9);
}

.product:hover h3{
  color:white;
}

.product:hover p{
  color:rgba(255,255,255,.75);
}

.product:hover .p-stat{
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.1);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
}

.product:hover .p-stat strong{
  color:white;
}

.product:hover .p-stat span{
  color:rgba(255,255,255,.6);
}

.product:hover .product-link{
  color:white;
  text-shadow:0 0 20px rgba(255,255,255,.3);
}

.product .topline{
  position:relative;
  z-index:2;
  height:4px;
  background:linear-gradient(90deg,var(--violet),var(--violet-3));
  transition:background 700ms cubic-bezier(.25,.8,.25,1);
}

.product-inner{
  position:relative;
  z-index:2;
  padding:28px;
}

.product .icon-badge{
  transition:
    background 700ms cubic-bezier(.25,.8,.25,1),
    border-color 700ms cubic-bezier(.25,.8,.25,1),
    color 700ms cubic-bezier(.25,.8,.25,1),
    box-shadow 700ms cubic-bezier(.25,.8,.25,1);
}

.product .product-tag{
  transition:
    background 700ms cubic-bezier(.25,.8,.25,1),
    border-color 700ms cubic-bezier(.25,.8,.25,1),
    color 700ms cubic-bezier(.25,.8,.25,1);
}

.product h3,
.product p{
  transition:color 700ms cubic-bezier(.25,.8,.25,1);
}

.product .p-stat{
  transition:
    background 700ms cubic-bezier(.25,.8,.25,1),
    border-color 700ms cubic-bezier(.25,.8,.25,1),
    box-shadow 700ms cubic-bezier(.25,.8,.25,1);
}

.product .p-stat strong,
.product .p-stat span{
  transition:color 700ms cubic-bezier(.25,.8,.25,1);
}

.product .product-link{
  transition:
    color 700ms cubic-bezier(.25,.8,.25,1),
    text-shadow 700ms cubic-bezier(.25,.8,.25,1);
}

.icon-badge{
  width:54px;height:54px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background:#f5f3ff;
  border:1px solid #ede9fe;
  color:var(--violet);
  font-size:1.25rem;
  box-shadow:0 12px 30px rgba(15,23,42,.04);
}

.product-meta{
  margin-top:18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.product-tag{
  font-size:.78rem;
  padding:8px 12px;
  border-radius:999px;
  background:#fafafa;
  border:1px solid var(--line);
  color:#667085;
  font-weight:700;
}

.product h3{
  margin:18px 0 0;
  font-size:1.8rem;
  letter-spacing:-.04em;
}

.product p{
  margin:14px 0 0;
  color:#475467;
  line-height:1.8;
}

.product-stats{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-top:20px;
}

.p-stat{
  border-radius:18px;
  background:#fafafe;
  border:1px solid var(--line);
  padding:12px;
}

.p-stat strong{
  display:block;
  font-size:1.08rem;
  letter-spacing:-.03em;
}

.p-stat span{
  display:block;
  margin-top:4px;
  font-size:.78rem;
  color:#667085;
}

.product-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:20px;
  color:var(--violet);
  font-weight:700;
}

.showcase{
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:
    radial-gradient(circle at top, rgba(196,181,253,.28), rgba(255,255,255,0) 40%),
    linear-gradient(180deg,#fafafe 0%, #f8f8fc 100%);
}

.showcase-grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:46px;
  align-items:center;
}

.stack-scene{
  position:relative;
  min-height:680px;
}

.stack-card{
  position:absolute;
  overflow:hidden;
  border-radius:34px;
  box-shadow:var(--shadow-lg);
  transition:transform var(--transition), box-shadow var(--transition);
}

.stack-card:hover{
  box-shadow:0 40px 110px rgba(15,23,42,.16);
}

.stack-card-a{
  width:72%;
  left:0;
  top:40px;
  background:white;
  border:1px solid rgba(255,255,255,.8);
  transform:rotate(-5deg);
}

.stack-card-b{
  width:64%;
  right:0;
  bottom:26px;
  background:linear-gradient(180deg,#111827 0%, #0f172a 100%);
  color:white;
  border:1px solid rgba(255,255,255,.08);
  transform:rotate(4deg);
}

.stack-card .head{
  padding:18px 20px;
  border-bottom:1px solid var(--line);
  background:#fafafe;
  display:flex;
  align-items:center;
  gap:12px;
}

.stack-card-b .head{
  background:rgba(255,255,255,.03);
  border-bottom-color:rgba(255,255,255,.08);
}

.stack-card .body{
  padding:20px;
}

.metric-grid{
  margin-top:26px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}

.metric{
  padding:24px 24px 22px;
  border-radius:28px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}

.metric strong{
  display:block;
  font-size:2.3rem;
  letter-spacing:-.06em;
}

.metric span{
  display:block;
  margin-top:8px;
  color:#475467;
  line-height:1.6;
}

.schools-grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:42px;
  align-items:start;
}

.feature-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}

.feature{
  border-radius:28px;
  border:1px solid var(--line);
  background:#fff;
  box-shadow:var(--shadow);
  padding:24px;
  transition:transform var(--transition), box-shadow var(--transition);
}

.feature:hover{
  transform:translateY(-5px);
  box-shadow:0 26px 70px rgba(15,23,42,.10);
}

.feature .ficon{
  width:52px;height:52px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background:#f5f3ff;
  color:var(--violet);
  border:1px solid #ede9fe;
  font-size:1.2rem;
}

.feature h3{
  margin:18px 0 0;
  font-size:1.2rem;
  letter-spacing:-.03em;
}

.feature p{
  margin:12px 0 0;
  color:#475467;
  line-height:1.75;
}

.dark-panel{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:24px;
  padding:0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:#fafafe;
}

.dark-side{
  padding:42px;
  border-radius:0;
  background:linear-gradient(180deg,#111827 0%, #0f172a 100%);
  color:white;
}

.light-side{
  padding:42px;
}

.dark-side .eyebrow{
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.1);
  color:#d8b4fe;
}

.dark-side h3,
.light-side h3{
  margin:22px 0 0;
  font-size:clamp(2rem,3vw,3.3rem);
  line-height:1.06;
  letter-spacing:-.05em;
}

.dark-side p,
.light-side p{
  margin:18px 0 0;
  line-height:1.82;
  font-size:1.04rem;
}

.dark-list,
.light-list{
  margin-top:26px;
  display:grid;
  gap:14px;
}

.dark-item{
  display:flex;
  align-items:flex-start;
  gap:12px;
  border-radius:22px;
  background:rgba(255,255,255,.07);
  padding:16px;
}

.check{
  width:22px;height:22px;border-radius:999px;
  display:grid;place-items:center;
  background:rgba(255,255,255,.1);
  color:#d8b4fe;
  flex:0 0 auto;
  font-size:.85rem;
  margin-top:1px;
}

.light-side{
  background:linear-gradient(135deg,#faf5ff 0%, #ffffff 56%, #eef2ff 100%);
}

.light-list .row{
  border-radius:22px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.88);
  padding:16px;
}

.light-list .row .muted-text{
  color:#667085;
}

.palette{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-top:20px;
}

.swatch{
  overflow:hidden;
  border-radius:20px;
  border:1px solid var(--line);
  background:white;
  box-shadow:0 10px 24px rgba(15,23,42,.04);
}

.swatch .tone{height:72px}
.swatch span{
  display:block;
  padding:12px 14px;
  font-size:.9rem;
  font-weight:700;
  color:#475467;
}

.cta{
  padding:110px 0;
}

.cta-box{
  position:relative;
  overflow:hidden;
  border-radius:38px;
  padding:44px;
  background:linear-gradient(135deg,#faf5ff 0%, #ffffff 52%, #eef2ff 100%);
  border:1px solid #e9ddff;
  box-shadow:0 30px 80px rgba(15,23,42,.08);
}

.cta-box::before{
  content:"";
  position:absolute;
  inset:auto -80px -80px auto;
  width:220px;height:220px;border-radius:999px;
  background:rgba(139,92,246,.12);
  filter:blur(24px);
  pointer-events:none;
}

.cta-grid{
  display:grid;
  grid-template-columns:1fr auto;
  gap:24px;
  align-items:center;
}

.cta h2{
  margin:20px 0 0;
  font-size:clamp(2.2rem,4vw,4rem);
  line-height:1.04;
  letter-spacing:-.055em;
  max-width:820px;
}

.cta p{
  margin:18px 0 0;
  max-width:760px;
  color:#475467;
  line-height:1.82;
  font-size:1.08rem;
}

.cta-actions{
  display:flex;
  flex-direction:column;
  gap:12px;
}

footer{
  padding:0 0 36px;
}

.footer{
  display:flex;
  justify-content:space-between;
  gap:24px;
  align-items:center;
  color:#667085;
  font-size:.94rem;
}

.footer-links{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
}

.footer-links a:hover{color:var(--violet)}

.reveal{
  opacity:0;
  transform:translateY(32px);
  transition:opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1);
}

.reveal.visible{
  opacity:1;
  transform:translateY(0);
}

/* ========== Inline-Style-Ersatz-Klassen ========== */

/* Floating Chips – Positionen */
.chip-kommunikation{left:2%; top:-3%}
.chip-organisation{right:6%; top:-1%}
.chip-lernbegleitung{left:6%; bottom:18%}
.chip-schulportal{right:4%; bottom:12%}

/* Kleine Logo-Wrap-Variante (in UI-Cards / Stack-Cards) */
.logo-wrap--sm{width:38px;height:38px;border-radius:14px}
.logo-core--sm{width:24px;height:24px}
.logo-core--sm .e-bar.top{top:0;width:22px;height:6px}
.logo-core--sm .e-bar.mid{top:9px;width:17px;height:6px}
.logo-core--sm .e-bar.bot{top:18px;width:22px;height:6px}

/* Icon-Badge klein */
.icon-badge--sm{width:38px;height:38px;border-radius:14px;font-size:1rem}

/* Icon-Badge klein – dunkle Variante */
.icon-badge--sm-dark{
  width:38px;height:38px;border-radius:14px;
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.08);
  color:white;
  font-size:1rem;
}

/* Sub-Text in dunklen Karten */
.sub--dark{color:#cbd5e1}

/* Skeleton-Lines mit variabler Breite */
.line--w92{width:92%}
.line--w90{width:90%}
.line--w88{width:88%}
.line--w84{width:84%}
.line--w78{width:78%}
.line--w70{width:70%}
.line--w68{width:68%}
.line--w64{width:64%}
.line--w60{width:60%}
.line--w56{width:56%}
.line--w52{width:52%}
.line--w28{width:28%}
.line--w30{width:30%}
.line--w94{width:94%}
.line--w92p{width:92%}
.line--w80{width:80%}
.line--w76{width:76%}

.line--mt10{margin-top:10px}
.line--mt12{margin-top:12px}

/* Dunkle Karten-Varianten */
.row--dark{
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.08);
}

.line--dark-accent{
  background:linear-gradient(90deg,rgba(216,180,254,.7),rgba(255,255,255,.24),rgba(216,180,254,.7));
}

.line--dark-gray{
  background:rgba(255,255,255,.08);
}

.stat--dark{
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.08);
  color:white;
}

.stat--dark-accent{
  background:rgba(139,92,246,.18);
  border-color:rgba(196,181,253,.18);
  color:white;
}

/* Stack-Card Body – Tagesübersicht */
.row--overview{
  margin-top:16px;
  background:linear-gradient(135deg,#faf5ff 0%, #ffffff 55%, #eef2ff 100%);
  border-color:#ede9fe;
}

.row--overview-title{
  font-weight:700;
  margin-bottom:12px;
  letter-spacing:-.02em;
}

/* Swatch Farben */
.tone--violet{background:#6D28D9}
.tone--light{background:#F5F3FF}
.tone--dark{background:#0F172A}

/* ========== Responsive ========== */

@media (max-width: 1120px){
  .hero-grid,
  .showcase-grid,
  .schools-grid,
  .dark-panel,
  .cta-grid{
    grid-template-columns:1fr;
  }

  .hero-visual,
  .stack-scene{
    min-height:620px;
  }

  .cta-actions{
    flex-direction:row;
    flex-wrap:wrap;
  }
}

/* Mobile nav overlay */
.nav-links.open{
  display:flex;
  flex-direction:column;
  position:fixed;
  inset:var(--nav-h) 0 0 0;
  background:rgba(255,255,255,.96);
  -webkit-backdrop-filter:blur(20px);
  backdrop-filter:blur(20px);
  padding:32px 24px;
  gap:20px;
  z-index:99;
  align-items:flex-start;
  animation:fadeIn .3s ease;
}

.nav-links.open .btn-primary{
  margin-top:12px;
}

@keyframes fadeIn{
  from{opacity:0;transform:translateY(-8px)}
  to{opacity:1;transform:translateY(0)}
}

.hamburger.active span:nth-child(1){
  transform:rotate(45deg) translate(4px,4px);
}
.hamburger.active span:nth-child(2){
  opacity:0;
}
.hamburger.active span:nth-child(3){
  transform:rotate(-45deg) translate(4px,-4px);
}

.hamburger span{
  transition:transform .3s ease, opacity .3s ease;
}

@media (max-width: 900px){
  .nav-links{display:none}
  .hamburger{display:flex}

  .hero-tags,
  .products,
  .metric-grid,
  .feature-grid{
    grid-template-columns:1fr;
  }

  .product-stats,
  .stats-box,
  .palette{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

  .hero-visual{
    min-height:560px;
  }

  .stack-scene{
    min-height:560px;
  }

  .card-connect{width:68%}
  .card-plan{width:48%}
  .card-learn{width:76%;left:10%}
}

@media (max-width: 680px){
  .hero{
    padding-top:48px;
  }

  .section-pad,
  .cta{
    padding:84px 0;
  }

  .hero-visual{
    min-height:auto;
    position:relative;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:0;
    padding:20px 0 40px;
  }

  .stack-scene{
    min-height:500px;
  }

  .floating-chip{
    display:none;
  }

  .hero-orb,
  .hero-orb-2{
    display:none;
  }

  .ui-card{
    position:relative;
    left:auto !important;
    right:auto !important;
    top:auto !important;
    bottom:auto !important;
    animation:none !important;
  }

  .card-connect{
    width:72% !important;
    margin-left:4%;
    z-index:3;
  }
  .card-plan{
    width:58% !important;
    margin-left:36%;
    margin-top:-28%;
    z-index:4;
  }
  .card-learn{
    width:76% !important;
    margin-left:10%;
    margin-top:-18%;
    z-index:5;
  }

  .product-stats,
  .stats-box{
    grid-template-columns:1fr;
  }

  .dark-side,
  .light-side,
  .cta-box{
    padding:28px;
  }

  .footer{
    flex-direction:column;
    align-items:flex-start;
  }
}
