/* ============================================================
   AXIS — New sections: sticky CTA, AI demo, form states,
   card glow, expanded footer
   ============================================================ */

/* ── SCROLL-SPY NAV ── */
.nav-links a { position: relative; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -21px; height: 2px;
  background: var(--lime); border-radius: 2px;
  transform: scaleX(0); transform-origin: center; transition: transform 0.25s ease;
}
.nav-links a.active { color: var(--white); }
.nav-links a.active::after { transform: scaleX(1); }

/* ── STICKY FLOATING CTA ── */
.sticky-cta {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: flex; align-items: center; gap: 11px;
  background: var(--lime); color: var(--black);
  font-family: 'Manrope', sans-serif; font-size: 15px; font-weight: 700;
  padding: 14px 22px; border-radius: 100px; border: none; cursor: pointer;
  box-shadow: 0 14px 40px rgba(115,255,92,0.4);
  opacity: 0; transform: translateY(24px) scale(0.92); pointer-events: none;
  transition: opacity 0.4s cubic-bezier(.2,.7,.2,1), transform 0.4s cubic-bezier(.2,.7,.2,1);
}
.sticky-cta.show { opacity: 1; transform: none; pointer-events: auto; }
.sticky-cta:hover { transform: translateY(-2px); box-shadow: 0 18px 48px rgba(115,255,92,0.5); }
.sticky-cta ion-icon { font-size: 18px; }
.sticky-cta .sc-pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--black);
  animation: pulse 2s infinite;
}
@media (max-width: 640px) {
  .sticky-cta { right: 14px; bottom: 14px; padding: 13px 18px; font-size: 14px; }
}
@media print { .sticky-cta { display: none !important; } }

/* ── AXIS IA — FULL SECTION ── */
.ai-section {
  background: var(--black); position: relative; overflow: hidden;
  padding: 120px 24px;
}
.ai-section::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 18% 30%, rgba(127,58,239,0.16), transparent 70%),
    radial-gradient(ellipse 45% 55% at 85% 75%, rgba(115,255,92,0.10), transparent 70%);
  pointer-events: none;
}
.ai-section .container { position: relative; z-index: 1; }
.ai-grid {
  display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 64px; align-items: center;
}
.ai-copy .section-tag { color: var(--violet); }
.ai-copy .section-title { color: var(--white); }
.ai-copy .section-title em { font-style: normal; color: var(--lime); }
.ai-copy .ai-desc {
  font-size: 17px; font-weight: 300; color: rgba(255,255,255,0.55);
  line-height: 1.7; margin: 18px 0 30px; max-width: 440px;
}
.ai-points { display: flex; flex-direction: column; gap: 16px; margin-bottom: 8px; }
.ai-point { display: flex; align-items: center; gap: 13px; }
.ai-point-ico {
  width: 38px; height: 38px; min-width: 38px; border-radius: 11px;
  background: rgba(127,58,239,0.14); color: #b98aff;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.ai-point-text { font-size: 14.5px; font-weight: 500; color: rgba(255,255,255,0.8); line-height: 1.45; }
.ai-point-text b { color: var(--white); font-weight: 700; }

/* chat console */
.ai-console {
  background: linear-gradient(165deg, #141417, #0b0b0d);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px; overflow: hidden;
  box-shadow: 0 40px 90px rgba(0,0,0,0.5);
  display: flex; flex-direction: column; height: 560px;
}
.ai-console-bar {
  display: flex; align-items: center; gap: 13px;
  padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.02);
}
.ai-console-avatar {
  width: 38px; height: 38px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(115,255,92,0.18), rgba(127,58,239,0.18));
  display: flex; align-items: center; justify-content: center; font-size: 19px; color: var(--black);
}
.ai-console-avatar img { width: 26px; height: 26px; object-fit: contain; display: block; }
.ai-console-id { flex: 1; }
.ai-console-name { font-size: 14px; font-weight: 700; color: var(--white); }
.ai-console-status {
  font-family: var(--mono); font-size: 10px; color: var(--lime);
  display: flex; align-items: center; gap: 6px; margin-top: 2px;
}
.ai-console-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); animation: pulse 2s infinite; }
.ai-console-dots { display: flex; gap: 6px; }
.ai-console-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.12); }

.ai-thread {
  flex: 1; overflow-y: auto; padding: 22px 20px;
  display: flex; flex-direction: column; gap: 13px;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.15) transparent;
}
.ai-thread::-webkit-scrollbar { width: 6px; }
.ai-thread::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 3px; }
.ai-msg {
  max-width: 80%; font-size: 14px; line-height: 1.55; padding: 12px 15px; border-radius: 16px;
  animation: msgIn 0.4s cubic-bezier(.2,.7,.2,1);
}
@keyframes msgIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.ai-msg.user {
  align-self: flex-end; background: var(--lime); color: var(--black);
  font-weight: 600; border-bottom-right-radius: 5px;
}
.ai-msg.bot {
  align-self: flex-start; background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.08); border-bottom-left-radius: 5px;
}
.ai-msg.bot b { color: var(--lime); font-weight: 700; }
.ai-typing {
  align-self: flex-start; display: inline-flex; gap: 4px; align-items: center;
  padding: 14px 16px; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; border-bottom-left-radius: 5px;
}
.ai-typing i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.5); animation: typingDot 1.2s infinite; }
.ai-typing i:nth-child(2) { animation-delay: 0.2s; }
.ai-typing i:nth-child(3) { animation-delay: 0.4s; }

.ai-suggestions {
  display: flex; gap: 8px; padding: 0 20px 14px; flex-wrap: wrap;
}
.ai-chip {
  font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  padding: 8px 14px; border-radius: 100px; cursor: pointer; white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}
.ai-chip:hover { background: rgba(115,255,92,0.12); border-color: rgba(115,255,92,0.4); color: var(--lime); transform: translateY(-1px); }

.ai-inputbar {
  display: flex; gap: 9px; padding: 14px 16px;
  border-top: 1px solid rgba(255,255,255,0.07); background: rgba(255,255,255,0.02);
}
.ai-input {
  flex: 1; min-width: 0; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14); border-radius: 100px;
  padding: 12px 18px; font-family: 'Manrope', sans-serif; font-size: 14px; color: var(--white);
  outline: none; transition: border-color 0.2s;
}
.ai-input::placeholder { color: rgba(255,255,255,0.35); }
.ai-input:focus { border-color: rgba(115,255,92,0.55); }
.ai-send {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; border: none; cursor: pointer;
  background: var(--lime); color: var(--black); font-size: 19px;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.ai-send:hover { transform: scale(1.06); box-shadow: 0 8px 22px rgba(115,255,92,0.35); }
.ai-disclaimer {
  text-align: center; font-family: var(--mono); font-size: 10px;
  color: rgba(255,255,255,0.3); margin-top: 18px; letter-spacing: 0.5px;
}

@media (max-width: 920px) {
  .ai-grid { grid-template-columns: 1fr; gap: 44px; }
  .ai-copy { text-align: center; }
  .ai-copy .section-tag { justify-content: center; }
  .ai-copy .ai-desc { margin-left: auto; margin-right: auto; }
  .ai-points { max-width: 420px; margin: 0 auto 8px; }
  .ai-point { text-align: left; }
}
@media (max-width: 640px) {
  .ai-console { height: 500px; }
}

/* ── FORM STATES ── */
.waitlist-input.invalid { border-color: rgba(244,33,103,0.7) !important; }
.waitlist-input.valid   { border-color: rgba(115,255,92,0.6) !important; }
.input-wrap { position: relative; flex: 1; min-width: 0; display: flex; }
.input-check {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  font-size: 18px; opacity: 0; transition: opacity 0.2s; pointer-events: none;
}
.input-check.show { opacity: 1; }
.waitlist-btn .btn-spinner {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(5,5,5,0.3); border-top-color: var(--black);
  animation: spin 0.7s linear infinite; display: none;
}
.waitlist-btn.loading .btn-spinner { display: inline-block; }
.waitlist-btn.loading .btn-label { display: none; }
.waitlist-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* live waitlist counter */
.waitlist-counter {
  display: flex; align-items: center; gap: 8px; margin-top: 14px;
  font-size: 13px; color: rgba(255,255,255,0.5);
}
.waitlist-counter .wc-num {
  font-family: var(--mono); font-weight: 700; color: var(--lime);
}

/* ── CARD GLOW (mouse-follow) ── */
.feature-card { --mx: 50%; --my: 50%; }
.feature-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(220px circle at var(--mx) var(--my), rgba(115,255,92,0.14), transparent 60%);
  opacity: 0; transition: opacity 0.35s; pointer-events: none; z-index: 0;
}
.feature-card:hover::before { opacity: 1; }
.feature-card.accent::before {
  background: radial-gradient(220px circle at var(--mx) var(--my), rgba(127,58,239,0.28), transparent 60%);
}

/* ── EXPANDED FOOTER ── */
.footer-main {
  background: var(--black); border-top: 1px solid rgba(255,255,255,0.06);
  padding: 70px 24px 0;
}
.footer-cols {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px;
}
.footer-brand-col { max-width: 290px; }
.footer-brand-col .footer-logo { margin-bottom: 16px; }
.footer-tagline {
  font-size: 14px; font-weight: 300; color: rgba(255,255,255,0.45);
  line-height: 1.6; margin-bottom: 20px;
}
.footer-socials { display: flex; gap: 10px; }
.footer-social {
  width: 38px; height: 38px; border-radius: 11px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); font-size: 18px; text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s, border-color 0.2s;
}
.footer-social:hover { background: var(--lime); color: var(--black); transform: translateY(-2px); border-color: transparent; }
.footer-col h4 {
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.4);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  font-size: 14px; font-weight: 400; color: rgba(255,255,255,0.6);
  text-decoration: none; transition: color 0.2s; display: inline-flex; align-items: center; gap: 7px;
}
.footer-col a:hover { color: var(--white); }
.footer-col a .nt {
  font-family: var(--mono); font-size: 8px; font-weight: 700; letter-spacing: 0.5px;
  background: rgba(127,58,239,0.2); color: #b98aff; padding: 2px 6px; border-radius: 5px; text-transform: uppercase;
}
.footer-bottom {
  max-width: 1080px; margin: 0 auto; margin-top: 56px;
  padding: 26px 0; border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.3); }
.footer-made { font-size: 12px; color: rgba(255,255,255,0.4); display: inline-flex; align-items: center; gap: 6px; }
.footer-made .flag { font-size: 14px; }

@media (max-width: 820px) {
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand-col { grid-column: 1 / -1; max-width: 100%; }
}
@media (max-width: 520px) {
  .footer-cols { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
