/* Rocket Coach AI — CSS bundle (generated for P2.2) */


/* ===== app-header.css ===== */

/* app-header.css - RC layout (header + sidebar + user dropdown) */

:root{
  --rc-header-h: 56px;
  --rc-sidebar-w: 260px;

  --rc-surface: rgba(10, 14, 20, 0.70);
  --rc-surface-2: rgba(10, 14, 20, 0.92);
  --rc-border: rgba(255,255,255,0.10);
  --rc-border-2: rgba(255,255,255,0.08);

  --rc-surface-light: rgba(255,255,255,0.75);
  --rc-surface-2-light: rgba(255,255,255,0.92);
  --rc-border-light: rgba(2,8,23,0.10);
}

/* Layout wrapper injected by app-header.js */
#rcAppWrap{
  min-height: 100vh;
  display: flex;
}

#rcSidebar{
  width: var(--rc-sidebar-w);
  flex: 0 0 var(--rc-sidebar-w);
}

/* Sidebar hidden state (requested) */
body.rc-sidebar-hidden #rcSidebar{
  display: none;
}

#rcContentSlot{
  flex: 1 1 auto;
  min-width: 0;
}

/* Header */
.rc-header{
  position: sticky;
  top: 0;
  z-index: 1100;
  height: var(--rc-header-h);
  display: flex;
  align-items: center;
  background: var(--rc-surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rc-border-2);
}

html[data-theme="light"] .rc-header{
  background: var(--rc-surface-light);
  border-bottom-color: var(--rc-border-light);
}

.rc-header-inner{
  width: 100%;
  max-width: 1400px;
  padding: 0 16px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.rc-left{
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
}

.rc-brand{
  font-weight: 800;
  letter-spacing: 0.2px;
  text-decoration: none;
  color: var(--text-main);
}

.rc-icon-btn{
  height: 36px;
  width: 36px;
  border-radius: 12px;
  border: 1px solid var(--rc-border);
  background: rgba(255,255,255,0.06);
  color: var(--text-main);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

html[data-theme="light"] .rc-icon-btn{
  border-color: var(--rc-border-light);
  background: rgba(2,8,23,0.04);
}

.rc-center{
  flex: 1 1 auto;
  min-width: 240px;
}

.rc-search{
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  position: relative;
}

.rc-search input{
  width: 100%;
  height: 38px;
  border-radius: 999px;
  padding: 0 14px 0 44px;
  border: 1px solid var(--rc-border);
  background: rgba(255,255,255,0.06);
  color: var(--text-main);
  outline: none;
}

html[data-theme="light"] .rc-search input{
  border-color: var(--rc-border-light);
  background: rgba(2,8,23,0.04);
}

.rc-search-icon{
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.75;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.rc-right{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 280px;
}

.rc-auth-actions{
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.rc-auth-actions .btn{
  height: 36px;
  padding: 0 14px;
  font-size: 13px;
  border-radius: 999px;
}

/* Sidebar */
.rc-sidebar{
  position: sticky;
  top: var(--rc-header-h);
  height: calc(100vh - var(--rc-header-h));
  overflow: auto;
  border-right: 1px solid var(--rc-border-2);
  background: rgba(10, 14, 20, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

html[data-theme="light"] .rc-sidebar{
  border-right-color: var(--rc-border-light);
  background: rgba(255,255,255,0.55);
}

.rc-sidebar-inner{
  padding: 14px;
}

.rc-section-label{
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.65;
  margin: 14px 10px 8px;
}

.rc-nav{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rc-nav a{
  display: flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 12px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--text-main);
  opacity: 0.85;
  border: 1px solid transparent;
}

.rc-nav a.is-active{
  opacity: 1;
  border-color: rgba(59,130,246,0.35);
  background: rgba(59,130,246,0.12);
}

.rc-nav a:hover{
  opacity: 1;
  background: rgba(255,255,255,0.06);
}

html[data-theme="light"] .rc-nav a:hover{
  background: rgba(2,8,23,0.04);
}

/* ===== User dropdown ===== */
.rc-user-wrap{ position: relative; }

.rc-user-btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--rc-border);
  background: rgba(255,255,255,0.06);
  color: var(--text-main);
  cursor: pointer;
}

html[data-theme="light"] .rc-user-btn{
  border-color: var(--rc-border-light);
  background: rgba(2,8,23,0.04);
}

.rc-user-name{ font-weight: 800; }

.rc-avatar{
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.4px;
  background: rgba(59,130,246,0.20);
  border: 1px solid rgba(59,130,246,0.30);
}

.rc-avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rc-user-chevron{
  opacity: 0.8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.rc-badge{
  height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--rc-border);
  background: rgba(255,255,255,0.06);
  color: var(--text-main);
}

html[data-theme="light"] .rc-badge{
  border-color: var(--rc-border-light);
  background: rgba(2,8,23,0.04);
}

.rc-badge--admin{ border-color: rgba(59,130,246,0.40); }
.rc-badge--lang{ opacity: 0.9; }

.rc-menu{
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 360px;
  z-index: 2000;
}

.rc-menu__panel{
  border-radius: 16px;
  border: 1px solid var(--rc-border);
  background: var(--rc-surface-2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
  overflow: hidden;
}

html[data-theme="light"] .rc-menu__panel{
  border-color: var(--rc-border-light);
  background: var(--rc-surface-2-light);
  box-shadow: 0 16px 40px rgba(2,8,23,0.10);
}

.rc-menu__head{
  padding: 14px 14px 10px;
  border-bottom: 1px solid var(--rc-border-2);
}

html[data-theme="light"] .rc-menu__head{
  border-bottom-color: var(--rc-border-light);
}

.rc-menu__name{
  font-weight: 900;
  font-size: 14px;
  color: var(--text-main);
}

.rc-menu__meta{
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rc-pill{
  height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--rc-border);
  background: rgba(255,255,255,0.06);
  color: var(--text-main);
}

html[data-theme="light"] .rc-pill{
  border-color: var(--rc-border-light);
  background: rgba(2,8,23,0.04);
}

.rc-pill--muted{ opacity: 0.85; }

.rc-menu__section{
  padding: 12px 14px;
  border-bottom: 1px solid var(--rc-border-2);
}

html[data-theme="light"] .rc-menu__section{
  border-bottom-color: var(--rc-border-light);
}

.rc-menu__section:last-child{ border-bottom: none; }

.rc-menu__label{
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 10px;
  color: var(--text-main);
}

.rc-menu__row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
}

.rc-menu__rowlabel{
  font-weight: 800;
  opacity: 0.9;
  color: var(--text-main);
}

.rc-chips{
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.rc-chip{
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--rc-border);
  background: rgba(255,255,255,0.06);
  color: var(--text-main);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  opacity: 0.95;
}

html[data-theme="light"] .rc-chip{
  border-color: var(--rc-border-light);
  background: rgba(2,8,23,0.04);
}

.rc-chip:hover{ background: rgba(255,255,255,0.10); }
html[data-theme="light"] .rc-chip:hover{ background: rgba(2,8,23,0.06); }

.rc-chip.is-active{
  border-color: rgba(59,130,246,0.35);
  background: rgba(59,130,246,0.14);
}

.rc-chip__icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
}

/* IMPORTANT: avoid purple/underlined links from global styles */
.rc-menu a,
.rc-menu a:visited,
.rc-menu a:hover{
  color: var(--text-main) !important;
  text-decoration: none !important;
}

.rc-menu__item{
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-main);
  cursor: pointer;
  font-weight: 800;
  opacity: 0.95;
}

.rc-menu__item:hover{
  opacity: 1;
  background: rgba(255,255,255,0.06);
}

html[data-theme="light"] .rc-menu__item:hover{
  background: rgba(2,8,23,0.04);
}

.rc-menu__itemicon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
}

.rc-menu__item--danger{
  color: #fca5a5;
}

@media (max-width: 520px){
  .rc-menu{ width: 92vw; }
}


/* ===== index-wow.css ===== */

/* ===========================
   LANDING WOW — Rocket Coach AI
   (Complément à main.css)
   =========================== */

.landing {
  overflow-x: hidden;
}

/* Buttons (slightly bigger on landing) */
.btn-lg {
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 600;
}

.landing-hero {
  position: relative;
  padding: 110px 0 70px;
}

.landing-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.landing-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.landing-aurora {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(closest-side, rgba(41, 128, 255, 0.18), transparent 70%),
    radial-gradient(closest-side, rgba(175, 64, 255, 0.16), transparent 70%),
    radial-gradient(closest-side, rgba(0, 240, 255, 0.10), transparent 70%);
  filter: blur(18px);
  animation: auroraMove 10s ease-in-out infinite alternate;
  transform: translate3d(0,0,0);
}

@keyframes auroraMove {
  0% { transform: translate(-3%, -2%) scale(1.02); }
  100% { transform: translate(3%, 2%) scale(1.06); }
}

.landing-grid {
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 30%, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 68%);
  animation: gridFloat 14s linear infinite;
}

@keyframes gridFloat {
  0% { transform: translateY(0px); }
  100% { transform: translateY(22px); }
}

.landing-orb {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.22;
  mix-blend-mode: screen;
  animation: orbFloat 9s ease-in-out infinite alternate;
}

.landing-orb-1 { left: -140px; top: 40px; background: rgba(41,128,255,0.9); }
.landing-orb-2 { right: -180px; top: 10px; background: rgba(175,64,255,0.85); animation-duration: 11s; }
.landing-orb-3 { left: 50%; top: 520px; transform: translateX(-50%); background: rgba(0,240,255,0.55); animation-duration: 12s; opacity: 0.16; }

@keyframes orbFloat {
  0% { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(0,-18px,0) scale(1.04); }
}

.landing-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  background: rgba(255,255,255,0.03);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(41,128,255,0.15);
  border: 1px solid rgba(41,128,255,0.35);
  color: #dfeaff;
  font-weight: 600;
  font-size: 0.85rem;
}

.landing-title {
  margin: 22px 0 12px;
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.grad-text {
  background: linear-gradient(90deg, rgba(41,128,255,1), rgba(175,64,255,1), rgba(0,240,255,1));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.landing-subtitle {
  max-width: 820px;
  margin: 0 auto 20px;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.landing-cta {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.landing-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 920px;
  margin: 26px auto 0;
}

.proof-item {
  border: 1px solid var(--border-color);
  background: rgba(255,255,255,0.03);
  border-radius: 16px;
  padding: 14px 14px;
  text-align: left;
}

.proof-top {
  font-weight: 700;
  margin-bottom: 4px;
}

.proof-bottom {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.landing-mock {
  max-width: 980px;
  margin: 30px auto 0;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  box-shadow: 0 18px 60px rgba(0,0,0,0.55);
  overflow: hidden;
  text-align: left;
}

.mock-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(10,12,18,0.55);
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
}

.mock-title {
  margin-left: 8px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}

.mock-body {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  padding: 16px;
}

.mock-left, .mock-right {
  display: grid;
  gap: 14px;
}

.mock-card {
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  border-radius: 16px;
  padding: 14px;
}

.mock-h { font-weight: 700; margin-bottom: 6px; }
.mock-p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.45; }

.mock-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.mock-pill {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
}

.mock-bars { display: grid; gap: 8px; margin-top: 10px; }
.mock-bars span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(41,128,255,0.9), rgba(175,64,255,0.85));
  opacity: 0.85;
}

.mock-timeline {
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  border-radius: 16px;
  padding: 14px;
}

.tl-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.tl-row:last-child { border-bottom: none; }
.tl-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(41,128,255,0.9); box-shadow: 0 0 0 4px rgba(41,128,255,0.15); }
.tl-label { color: rgba(255,255,255,0.86); font-size: 0.92rem; }

.mock-viewer {
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  border-radius: 16px;
  overflow: hidden;
}

.viewer-hud {
  display: flex;
  gap: 8px;
  padding: 10px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(10,12,18,0.55);
}

.hud-pill {
  font-size: 0.8rem;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.85);
}

.viewer-field {
  height: 210px;
  background:
    radial-gradient(circle at 50% 45%, rgba(41,128,255,0.18), transparent 60%),
    linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
}

.landing-note {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.landing-section .section-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 22px;
}
.landing-section .section-head p { color: var(--text-muted); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.step-n {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  background: rgba(41,128,255,0.15);
  border: 1px solid rgba(41,128,255,0.35);
  margin-bottom: 10px;
}

.step-meta {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature .bullets,
.price .bullets {
  margin: 12px 0 0;
  padding-left: 18px;
  color: rgba(255,255,255,0.84);
}

.feature .bullets li,
.price .bullets li {
  margin: 8px 0;
  color: var(--text-muted);
}

.pricing-teaser {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}


/* Pricing teaser layout (moved from inline hotfix in index.html) */
.pricing-teaser{
  align-items: stretch;
}
.pricing-teaser .price{
  display:flex;
  flex-direction:column;
  min-width:0;
  position:relative;
}
.pricing-teaser .price-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}
.pricing-teaser .bullets{
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
  margin:14px 0 18px;
  padding-left:18px;
}
.pricing-teaser .price .btn{
  margin-top:auto;
  align-self:flex-start;
}

@media (max-width: 1100px){
  body.rc-has-sidebar .pricing-teaser{ grid-template-columns:1fr; }
}
.price-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.price-tag {
  font-size: 0.8rem;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.85);
}

.price-featured {
  border-color: rgba(41,128,255,0.35);
  box-shadow: 0 18px 60px rgba(41,128,255,0.10);
  position: relative;
}

.price-featured::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(41,128,255,0.35), rgba(175,64,255,0.30), rgba(0,240,255,0.20));
  opacity: 0.32;
  pointer-events: none;
  filter: blur(10px);
}

.landing-final .final-card {
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  border-radius: 18px;
  padding: 28px;
  text-align: center;
}

.final-card p {
  color: var(--text-muted);
  max-width: 760px;
  margin: 10px auto 0;
}

.final-cta {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: transform 0.7s ease, opacity 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 980px) {
  .mock-body { grid-template-columns: 1fr; }
  .landing-proof { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .pricing-teaser { grid-template-columns: 1fr; }
  .landing-hero { padding: 95px 0 60px; }
}


/* Testimonials */
.landing-testimonials .testimonials-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.t-card{
  padding: 18px;
}
.t-quote{
  color: rgba(255,255,255,.86);
  line-height: 1.7;
  font-size: 14px;
}
html[data-theme="light"] .t-quote{
  color: rgba(2,8,23,.86);
}
.t-meta{
  margin-top: 14px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.t-name{
  font-weight: 800;
  color: var(--text-main);
}
.t-tag{
  font-size: 12px;
  font-weight: 700;
  opacity: 0.78;
  color: var(--text-muted);
}
.trustline{
  margin-top: 14px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}
@media (max-width: 980px){
  .landing-testimonials .testimonials-grid{ grid-template-columns: 1fr; }
}


/* ===== marketing.css ===== */

/* /assets/css/marketing.css
   Shared styling for marketing + legal pages.
   Keep it minimal-premium (style A) and compatible with existing layout.
*/

/* Background helpers (subtle, works in light/dark) */
body.landing.marketing {
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(31,111,235,.16), transparent 60%),
    radial-gradient(900px 520px at 90% 5%, rgba(168,85,247,.10), transparent 55%),
    var(--bg-main);
}

:root[data-theme="light"] body.landing.marketing {
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(31,111,235,.10), transparent 60%),
    radial-gradient(900px 520px at 90% 5%, rgba(168,85,247,.08), transparent 55%),
    var(--bg-main);
}

/* Reusable grids */
.mk-grid-2 {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
}

.mk-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.mk-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 1100px) {
  .mk-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .mk-grid-2 { grid-template-columns: 1fr; }
  .mk-grid-3 { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .mk-grid-4 { grid-template-columns: 1fr; }
}

/* Shared "glass" surface that respects theme */
.mk-surface {
  background: color-mix(in srgb, var(--bg-surface) 85%, transparent);
  border: 1px solid color-mix(in srgb, var(--border-color) 70%, transparent);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(0,0,0,.22);
}

:root[data-theme="light"] .mk-surface {
  box-shadow: var(--shadow-md);
}

/* Legal pages */
.legal-wrap {
  padding: 52px 0;
}

.legal-card {
  max-width: 980px;
  margin: 0 auto;
  padding: 22px;
}

.prose h1 { font-size: 1.9rem; letter-spacing: -0.01em; }
.prose h2 { font-size: 1.15rem; margin-top: 18px; }
.prose h3 { font-size: 1rem; margin-top: 14px; }

.prose p,
.prose li {
  line-height: 1.75;
  color: var(--text-muted);
}

.prose ul { padding-left: 18px; }

.prose a {
  color: var(--accent-blue);
  text-decoration: none;
}

.prose a:hover { text-decoration: underline; }

.legal-toc {
  border-radius: 12px;
  padding: 14px;
  margin: 0 0 18px;
}

.legal-toc a {
  color: var(--text-muted);
}

.legal-toc a:hover {
  color: var(--text-main);
}

/* Pricing */
.pricing-wrap { padding: 70px 0 30px; }

.pricing-grid { margin-top: 18px; }

.price-card {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 18px;
}

.price-card .badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--border-color) 70%, transparent);
  background: color-mix(in srgb, var(--bg-surface) 70%, transparent);
  color: var(--text-main);
}

.price-card.featured {
  border-color: color-mix(in srgb, var(--accent-blue) 45%, transparent);
  box-shadow: 0 18px 60px rgba(31,111,235,.10), 0 18px 50px rgba(0,0,0,.22);
  transform: translateY(-2px);
}

.tier { font-weight: 800; font-size: 18px; margin-bottom: 4px; color: var(--text-main); }
.tier-desc { color: var(--text-muted); font-size: 13px; margin-bottom: 14px; }

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 6px 0 14px;
}

.price .value { font-weight: 900; font-size: 34px; letter-spacing: -0.02em; color: var(--text-main); }
.price .unit { color: var(--text-muted); font-size: 13px; }

.features {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0 0 14px;
  list-style: none;
  color: var(--text-muted);
  font-size: 13px;
}

.features li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
}

.tick {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: color-mix(in srgb, #22c55e 16%, transparent);
  border: 1px solid color-mix(in srgb, #22c55e 34%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.tick::before { content: "✓"; font-size: 12px; color: color-mix(in srgb, #22c55e 92%, white); }

.cross {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: color-mix(in srgb, #ef4444 14%, transparent);
  border: 1px solid color-mix(in srgb, #ef4444 30%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.cross::before { content: "✕"; font-size: 12px; color: color-mix(in srgb, #ef4444 86%, white); }

.price-actions { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.btn-full { width: 100%; justify-content: center; }

.note {
  color: var(--text-muted);
  font-size: 12px;
  margin-top: 10px;
  line-height: 1.5;
}

.compare {
  margin-top: 26px;
  border-radius: 18px;
  overflow: hidden;
}

.compare .row {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  border-top: 1px solid color-mix(in srgb, var(--border-color) 60%, transparent);
}

.compare .row:first-child { border-top: none; }

.compare .cell {
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text-muted);
  border-left: 1px solid color-mix(in srgb, var(--border-color) 60%, transparent);
}

.compare .cell:first-child {
  border-left: none;
  color: var(--text-main);
  font-weight: 700;
}

.compare .head .cell {
  font-weight: 800;
  color: var(--text-main);
  background: color-mix(in srgb, var(--bg-surface) 75%, transparent);
}

.yes { color: color-mix(in srgb, #22c55e 92%, white); font-weight: 800; }
.no { color: color-mix(in srgb, var(--text-muted) 60%, transparent); }

@media (max-width: 980px) {
  .compare { display: none; }
}

.faq {
  margin-top: 26px;
  display: grid;
  gap: 12px;
}

details.faq-item {
  border-radius: 18px;
  padding: 14px 16px;
}

details.faq-item summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--text-main);
  list-style: none;
}

details.faq-item summary::-webkit-details-marker { display: none; }

details.faq-item p {
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}

.beta-banner {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--border-color) 70%, transparent);
  background: color-mix(in srgb, var(--bg-surface) 65%, transparent);
}

.beta-pill {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .02em;
  background: color-mix(in srgb, var(--accent-blue) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent-blue) 28%, transparent);
  color: var(--text-main);
}

.beta-text {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.55;
  margin-top: 1px;
}

.billing-toggle {
  margin-top: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--border-color) 70%, transparent);
  background: color-mix(in srgb, var(--bg-surface) 70%, transparent);
}

.billing-label {
  font-weight: 800;
  color: var(--text-main);
  font-size: 13px;
}

.billing-chips { display: flex; gap: 8px; align-items: center; }

.billing-chips .chip {
  border-radius: 999px;
  padding: 6px 10px;
  border: 1px solid color-mix(in srgb, var(--border-color) 70%, transparent);
  background: color-mix(in srgb, var(--bg-surface) 70%, transparent);
  color: var(--text-main);
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
}

.billing-chips .chip.active {
  border-color: color-mix(in srgb, var(--accent-blue) 38%, transparent);
  background: color-mix(in srgb, var(--accent-blue) 16%, transparent);
}

.billing-chips .chip.disabled {
  opacity: .55;
  cursor: not-allowed;
}

/* Contact */
.contact-grid { gap: 18px; margin-top: 18px; }

.contact-info { display: grid; gap: 12px; }

.contact-line { display: flex; gap: 10px; align-items: center; }

.contact-pill {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  font-size: 0.78rem;
  color: var(--text-muted);
}

textarea.mk-textarea {
  resize: vertical;
  min-height: 120px;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px;
  color: var(--text-main);
  font-family: inherit;
}

textarea.mk-textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
}


/* About page (shared style) */
.about-wrap{ padding-top: 10px; }

.num{
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 13px;
  background: color-mix(in srgb, var(--accent-blue) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent-blue) 22%, transparent);
  color: var(--text-main);
  margin-bottom: 10px;
}

.about-list{ display:grid; gap: 12px; }
.about-list .card{ padding: 14px 16px; }
.about-list .title{ font-weight: 800; color: var(--text-main); }
.about-list .desc{ margin-top: 4px; color: var(--text-muted); font-size: 13px; line-height: 1.55; }

.about-road{ display:grid; gap: 10px; margin-top: 14px; }
.road-item{
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--bg-surface) 65%, transparent);
  border: 1px solid color-mix(in srgb, var(--border-color) 70%, transparent);
}
.road-chip{
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  background: color-mix(in srgb, var(--bg-surface) 70%, transparent);
  border: 1px solid color-mix(in srgb, var(--border-color) 70%, transparent);
  color: var(--text-main);
}
.road-desc{ color: var(--text-muted); font-size: 13px; line-height: 1.55; margin-top: 2px; }

.about-cta2{
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  background:
    radial-gradient(1200px 400px at 20% 0%, rgba(31,111,235,.16), transparent),
    radial-gradient(1000px 420px at 90% 40%, rgba(168,85,247,.12), transparent),
    color-mix(in srgb, var(--bg-surface) 60%, transparent);
  border: 1px solid color-mix(in srgb, var(--border-color) 70%, transparent);
}
.about-cta2 h3{ margin: 0 0 10px 0; font-size: 18px; color: var(--text-main); }
.about-cta2 .landing-cta{ margin-top: 10px; }
/* Pricing cards — shared UI states (used by marketing + subscription) */
.pricing-grid.mk-grid-3{ gap: 14px; }

.price-card.is-selected{
  box-shadow: 0 0 0 2px var(--accent), 0 16px 40px rgba(0,0,0,.22);
}
:root[data-theme="light"] .price-card.is-selected{
  box-shadow: 0 0 0 2px var(--accent), var(--shadow-md);
}

.price-card.is-current{
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border-color));
}

.badge.badge-current{
  background: color-mix(in srgb, var(--accent) 22%, rgba(255,255,255,.06));
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  color: rgba(255,255,255,.92);
}
:root[data-theme="light"] .badge.badge-current{
  color: rgba(0,0,0,.75);
}

/* Disabled CTA (links) */
.rc-disabled{
  pointer-events: none !important;
  opacity: .72 !important;
}


/* ===== end bundle ===== */
