/* ============================================
   Clicéo — Landing & Auth (style moderne, wow)
   ============================================ */
*,*::before,*::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body.landing {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: radial-gradient(1200px 800px at 10% -10%, #2a1d6e 0%, transparent 60%),
              radial-gradient(900px 700px at 90% 10%, #0a3e5c 0%, transparent 60%),
              linear-gradient(180deg, #07071a 0%, #0a0a23 100%);
  color: #e8e8ff;
  min-height: 100vh;
  overflow-x: hidden;
}
canvas#bgfx { position: fixed; inset: 0; z-index: 0; opacity: .55; pointer-events: none; }
a { color: inherit; text-decoration: none; }
.brand-dot {
  width:14px;height:14px;border-radius:50%;
  background: conic-gradient(from 0deg, #6c5ce7, #00d4ff, #ff6ec7, #6c5ce7);
  display:inline-block;margin-right:10px;animation: spin 6s linear infinite;
  box-shadow: 0 0 18px rgba(108,92,231,.7);
  vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

.lp-header {
  position: relative; z-index:2;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 6vw; gap:24px;
}
.brand { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; display:inline-flex;align-items:center; }
.lp-header nav { display: flex; gap: 28px; opacity: .85; }
.lp-header nav a:hover { opacity: 1; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 18px; border-radius: 12px; font-weight: 600; cursor: pointer;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  color: #fff; transition: transform .15s ease, background .2s;
}
.btn:hover { transform: translateY(-1px); background: rgba(255,255,255,.1); }
.btn-primary {
  background: linear-gradient(135deg,#6c5ce7,#00d4ff);
  border:0; box-shadow: 0 8px 30px rgba(108,92,231,.45), inset 0 0 0 1px rgba(255,255,255,.1);
}
.btn-primary:hover { filter: brightness(1.1); }
.btn-ghost { background: transparent; }
.btn-lg { padding: 14px 24px; font-size: 1.05rem; border-radius: 14px; }

.hero { position: relative; z-index: 1; padding: 60px 6vw 100px; text-align: center; }
.hero-inner { max-width: 1100px; margin: 0 auto; }
.pill {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  font-size: .85rem; letter-spacing:.02em; backdrop-filter: blur(6px);
  margin-bottom: 28px;
}
.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.05;
  font-weight: 800; letter-spacing: -0.03em; margin: 0 0 18px;
}
.grad  { background: linear-gradient(90deg,#6c5ce7,#00d4ff); -webkit-background-clip:text; background-clip:text; color:transparent; }
.grad2 { background: linear-gradient(90deg,#ff6ec7,#ffd166); -webkit-background-clip:text; background-clip:text; color:transparent; }
.hero-sub { max-width: 720px; margin: 0 auto 36px; font-size: 1.15rem; opacity: .85; line-height: 1.6; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }

/* Hero mock window */
.hero-mock { perspective: 1500px; }
.mock-window {
  width: min(820px, 92vw); margin: 0 auto;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: 22px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.06);
  transform: rotateX(8deg);
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 0%,100%{transform: rotateX(8deg) translateY(0);} 50%{transform: rotateX(8deg) translateY(-10px);} }
.mock-bar { display:flex; gap:6px; padding:12px 16px; background: rgba(0,0,0,.3); }
.mock-bar span { width:11px;height:11px;border-radius:50%;background:#ff5f57; }
.mock-bar span:nth-child(2){background:#febc2e;}
.mock-bar span:nth-child(3){background:#28c840;}
.mock-body { position: relative; height: 320px; background:
  repeating-linear-gradient(45deg, rgba(255,255,255,.02) 0 10px, transparent 10px 20px);
}
.mock-cursor {
  position: absolute; width: 22px; height: 22px; left: 50%; top: 60%;
  background: radial-gradient(circle at 30% 30%, #fff, #00d4ff);
  border-radius: 50%; box-shadow: 0 0 30px #00d4ff;
  animation: cursorMove 5s ease-in-out infinite;
}
@keyframes cursorMove {
  0%   { left: 60%; top: 70%; opacity: 0; transform: scale(.5);}
  10%  { opacity: 1; transform: scale(1); }
  40%  { left: 22%; top: 28%; }
  55%  { transform: scale(.7); }
  60%  { transform: scale(1.2); }
  100% { left: 22%; top: 28%; opacity: 0; }
}
.mock-hl {
  position: absolute; left: 14%; top: 20%; width: 200px; height: 36px;
  border-radius: 10px; border: 2px solid #00d4ff;
  box-shadow: 0 0 25px rgba(0,212,255,.6), inset 0 0 25px rgba(0,212,255,.15);
  animation: hlPulse 5s ease-in-out infinite;
}
@keyframes hlPulse { 0%,55%{opacity:0;} 60%,90%{opacity:1;} 100%{opacity:0;} }
.mock-bubble {
  position: absolute; right: 20px; bottom: 20px; width: 260px;
  background: #fff; color: #111; border-radius: 16px; padding: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
}
.b-head { font-weight:700; font-size:.85rem; margin-bottom:8px; color:#6c5ce7; }
.b-msg { padding:8px 12px; border-radius:12px; font-size:.85rem; margin-bottom:6px; }
.b-msg.me  { background:#eef0ff; }
.b-msg.bot { background:linear-gradient(135deg,#6c5ce7,#00d4ff); color:#fff; }

/* Sections */
.features, .how, .pricing { position: relative; z-index:1; padding: 80px 6vw; max-width: 1200px; margin: 0 auto; }
.features h2, .how h2, .pricing h2 { font-size: 2.2rem; text-align:center; margin-bottom: 50px; letter-spacing:-0.02em; }
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card, .plan {
  padding: 28px; border-radius: 18px; background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(8px);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.card:hover, .plan:hover { transform: translateY(-4px); border-color: rgba(108,92,231,.5); box-shadow: 0 20px 50px rgba(108,92,231,.15); }
.card .ic { font-size: 2rem; margin-bottom: 10px; }
.card h3 { margin: 0 0 8px; }
.card p { opacity:.8; line-height:1.5; margin:0; }

.steps { list-style: none; padding:0; counter-reset: s; display:grid; gap:16px; grid-template-columns: repeat(3, 1fr); }
.steps li { padding: 24px; border-radius: 18px; background: rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08); }
.steps span { display:inline-flex; width:36px;height:36px;border-radius:50%;
  background:linear-gradient(135deg,#6c5ce7,#00d4ff); align-items:center;justify-content:center;font-weight:700;margin-bottom:12px;}
@media(max-width: 800px){ .steps { grid-template-columns: 1fr; } }

.plan { text-align:center; }
.plan.featured { border-color: rgba(0,212,255,.6); box-shadow: 0 20px 60px rgba(0,212,255,.15); transform: scale(1.03); }
.plan h3 { margin: 0 0 10px; }
.plan .price { font-size: 2.4rem; font-weight: 800; margin: 14px 0; }
.plan .price span { font-size: 1rem; opacity:.6; font-weight:500; }
.plan ul { list-style:none; padding:0; opacity:.85; line-height:1.9; }

.lp-foot { text-align:center; padding: 40px; opacity: .5; position: relative; z-index:1; }

/* Auth page */
.auth-page { display: flex; align-items: center; justify-content: center; }
.auth-brand { position: absolute; top: 24px; left: 6vw; font-weight:800; display:inline-flex; align-items:center; z-index:2; }
.auth-wrap { width: min(440px, 92vw); position: relative; z-index:1; }
.auth-card {
  background: rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.1);
  padding: 36px; border-radius: 22px; backdrop-filter: blur(10px);
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
}
.auth-card h1 { margin: 0 0 6px; font-size: 1.8rem; }
.auth-card .muted { opacity:.7; margin-top:0; }
.form label { display:block; margin: 14px 0; font-size: .9rem; opacity:.85; }
.form input, .form textarea, .form select {
  display:block; width:100%; padding: 12px 14px; margin-top:6px;
  background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.12); border-radius: 12px;
  color: #fff; font: inherit; outline: none; transition: border-color .15s, box-shadow .15s;
}
.form input:focus, .form textarea:focus, .form select:focus {
  border-color: #6c5ce7; box-shadow: 0 0 0 4px rgba(108,92,231,.2);
}

.flash { padding: 12px 16px; border-radius: 12px; margin-bottom: 14px; }
.flash-err { background: rgba(255,80,80,.15); border:1px solid rgba(255,80,80,.4); }
.flash-ok  { background: rgba(60,200,120,.15); border:1px solid rgba(60,200,120,.4); }
