/* CONNECTIX skin. Original Lyla stylesheet is kept intact in app.css. */
:root {
  --bg: #07101f;
  --accent: #9388ff;
  --accent2: #32e0c6;
}

html { scroll-padding-top: 100px; }
body { min-height: 100vh; overflow-x: hidden; }
::selection { background: rgba(139, 128, 255, .42); color: #fff; }

.ambient {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  width: 43vw;
  height: 43vw;
  min-width: 360px;
  min-height: 360px;
  border-radius: 50%;
  filter: blur(75px);
  opacity: .18;
  animation: ambient-drift 20s ease-in-out infinite alternate;
}
.ambient-a { top: 3%; left: -18%; background: #5176ea; }
.ambient-b { top: 58%; right: -22%; background: #23bbaa; animation-delay: -9s; }
main, .footer { position: relative; z-index: 1; }
.nav { transition: box-shadow .3s, background .3s; }
.nav.is-scrolled { background: rgba(5, 13, 29, .96); box-shadow: 0 14px 45px rgba(0, 0, 0, .2); }
.logo-mark { box-shadow: 0 0 24px rgba(122, 113, 255, .12); transition: transform .4s, box-shadow .4s; }
.logo:hover .logo-mark { transform: rotate(-12deg) scale(1.07); box-shadow: 0 0 30px rgba(116, 204, 245, .28); }
.navlinks a { position: relative; }
.navlinks a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--accent2); transition: right .28s; }
.navlinks a:hover::after { right: 0; }

.hero { padding: 90px 0 68px; }
.hero-copy { position: relative; z-index: 2; }
h1 { max-width: 710px; }
.gradient { background: linear-gradient(110deg, #fff 0%, #aca5ff 43%, #68e9df 100%); background-size: 210% 100%; background-clip: text; animation: gradient-shift 9s ease-in-out infinite alternate; }
.hero .pill { position: relative; overflow: hidden; }
.pulse { animation: status-pulse 2.4s ease-in-out infinite; }
.notice-star { color: #66d7cc; font-size: 19px; }
.nav-cta, .hero-buttons .btn, .contact .btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; }
.btn { transition: transform .22s, background .22s, box-shadow .22s; }
.btn:hover { transform: translateY(-3px); }
.btn.primary:hover { box-shadow: 0 15px 36px rgba(139, 128, 255, .32); }

.hero-visual {
  min-height: 480px;
  background: linear-gradient(35deg, #101d3b, transparent), url('hero.webp') center / cover no-repeat;
  transform: perspective(1200px) rotateX(var(--rotate-x, 0deg)) rotateY(var(--rotate-y, 0deg));
  transition: transform .55s cubic-bezier(.18, .7, .25, 1), box-shadow .4s;
  will-change: transform;
}
.hero-visual:hover { box-shadow: 0 36px 90px rgba(3, 9, 28, .5); }
.hero-visual::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: -30%;
  pointer-events: none;
  background: radial-gradient(circle at 50% 35%, rgba(141, 180, 255, .13), transparent 42%);
  animation: sheen-breathe 8s ease-in-out infinite alternate;
}
.hero-visual::after { background: linear-gradient(0deg, rgba(5, 15, 32, .98), transparent 74%), linear-gradient(125deg, rgba(12, 25, 57, .1), rgba(21, 38, 78, .17)); }
.visual-sheen {
  position: absolute;
  z-index: 1;
  inset: -60% -20%;
  pointer-events: none;
  background: linear-gradient(112deg, transparent 43%, rgba(255,255,255,.10) 50%, transparent 57%);
  transform: translateX(-100%) rotate(9deg);
  animation: visual-sweep 11s ease-in-out infinite;
}
.visual-orbit { position: absolute; z-index: 1; pointer-events: none; border: 1px solid rgba(230, 242, 255, .27); border-radius: 50%; }
.visual-orbit-a { width: 370px; height: 370px; top: -205px; right: -110px; animation: orbit-float 13s ease-in-out infinite alternate; }
.visual-orbit-b { width: 240px; height: 240px; top: -125px; right: -35px; border-color: rgba(119, 241, 219, .36); animation: orbit-float 10s ease-in-out infinite alternate-reverse; }
.visual-chip {
  position: absolute;
  z-index: 2;
  top: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid rgba(200, 229, 255, .32);
  border-radius: 99px;
  background: rgba(9, 21, 46, .63);
  backdrop-filter: blur(10px);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
  color: #e4f0ff;
}
.visual-chip .pulse { flex: 0 0 6px; height: 6px; }
.floating { animation: panel-float 7s ease-in-out infinite; }
.floating-topline { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.floating .floating-label { color: #91ebe1; font-size: 9px; letter-spacing: .16em; font-weight: 800; }
.floating-mark { color: #91ebe1; font-size: 23px; }
.stats { justify-content: space-between; }
.stats div { flex: 1; }
.stats div + div { padding-left: 13px; border-left: 1px solid rgba(177, 210, 255, .2); }

.ticker-shell { position: relative; z-index: 1; width: 100%; overflow: hidden; border-top: 1px solid rgba(155, 191, 231, .13); border-bottom: 1px solid rgba(155, 191, 231, .13); background: rgba(13, 31, 61, .4); }
.ticker { display: flex; align-items: center; gap: 40px; width: max-content; padding: 18px 40px; animation: ticker-scroll 34s linear infinite; white-space: nowrap; }
.ticker span { color: #889cbb; font-size: 11px; font-weight: 750; letter-spacing: .3em; }
.ticker i { color: #78e3d7; font-size: 14px; font-style: normal; }

.section-kicker { display: inline-block; margin-bottom: 16px; font-size: 11px; letter-spacing: .22em; font-weight: 800; color: #7fddd7; }
.section-title .gradient { display: inline-block; }
.section { padding-top: 78px; padding-bottom: 78px; }
.card { position: relative; overflow: hidden; min-height: 245px; transition: transform .34s, border-color .34s, box-shadow .34s; }
.card::before { content: ""; position: absolute; pointer-events: none; inset: 0; opacity: 0; background: radial-gradient(circle at 20% 0%, rgba(139, 128, 255, .22), transparent 65%); transition: opacity .35s; }
.card:hover { transform: translateY(-9px); border-color: rgba(150, 198, 255, .48); box-shadow: 0 24px 54px rgba(4, 11, 31, .35); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card-symbol { transition: transform .38s, background .38s; }
.card:hover .card-symbol { transform: rotate(-9deg) scale(1.09); background: rgba(111, 136, 251, .28); }
.card-index { position: absolute; bottom: 18px; right: 22px; color: #667f9e; font-size: 10px; font-weight: 700; letter-spacing: .12em; }

.workbox { position: relative; overflow: hidden; }
.about-title { font-size: 31px; margin-top: 23px; }
.roadmap-title { font-size: 30px; }
.progress span { width: 50%; position: relative; }
.progress span::after { content: ""; position: absolute; inset: 0; width: 45%; background: rgba(255, 255, 255, .4); filter: blur(8px); animation: progress-glimmer 3.7s ease-in-out infinite; }
.workbox-note { display: flex; align-items: center; gap: 11px; margin-top: 32px; color: #9eb7d1; font-size: 12px; }
.note-indicator { flex: 0 0 8px; height: 8px; border-radius: 50%; background: #5de2d1; box-shadow: 0 0 16px rgba(93, 226, 209, .55); }
.event { transition: border-color .28s, background .28s; }
.event:hover { border-color: rgba(148, 204, 250, .42); background: rgba(24, 52, 91, .65); }
.faq-wrap { max-width: 840px; }
.faq details { transition: background .28s, border-color .28s; }
.faq details:hover, .faq details[open] { border-color: rgba(153, 188, 240, .4); background: rgba(19, 42, 77, .73); }
.faq summary { list-style: none; position: relative; padding-right: 34px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: -5px; color: #8ce1d5; font-size: 27px; font-weight: 400; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { line-height: 1.75; }
.contact { position: relative; overflow: hidden; padding: 80px 22px; }
.contact > :not(.contact-glow) { position: relative; z-index: 1; }
.contact-glow { position: absolute; top: -200px; left: 50%; width: 450px; height: 450px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(106, 97, 233, .31), transparent 65%); filter: blur(9px); animation: contact-breathe 8s ease-in-out infinite alternate; }
.contact-title { margin-top: 20px; }
.contact p { margin-bottom: 24px; }

.has-js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.18, .7, .25, 1); }
.has-js .reveal.is-visible { opacity: 1; transform: translateY(0); }
.cards .reveal:nth-child(2) { transition-delay: .10s; }
.cards .reveal:nth-child(3) { transition-delay: .20s; }

@keyframes status-pulse { 50% { box-shadow: 0 0 0 9px rgba(53, 218, 165, 0); opacity: .74; } }
@keyframes ambient-drift { to { transform: translate(10vw, 5vh) scale(1.18); } }
@keyframes gradient-shift { to { background-position: 100% 0; } }
@keyframes sheen-breathe { to { opacity: .45; transform: scale(1.2); } }
@keyframes contact-breathe { to { opacity: .52; transform: translateX(-50%) scale(1.17); } }
@keyframes visual-sweep { 0%, 58% { transform: translateX(-100%) rotate(9deg); } 82%, 100% { transform: translateX(110%) rotate(9deg); } }
@keyframes orbit-float { to { transform: translate3d(-25px, 40px, 0) rotate(18deg); } }
@keyframes panel-float { 50% { transform: translateY(-7px); } }
@keyframes ticker-scroll { to { transform: translateX(-50%); } }
@keyframes progress-glimmer { 0% { transform: translateX(-120%); } 100% { transform: translateX(350%); } }

@media (max-width: 980px) {
  .hero { padding-top: 57px; }
  .hero-grid { gap: 35px; }
  .hero-visual { min-height: 455px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards > :last-child { grid-column: 1 / -1; }
  .ticker { gap: 28px; }
}
@media (max-width: 600px) {
  .hero { padding-top: 42px; }
  .hero-visual { min-height: 385px; border-radius: 20px; }
  .floating { left: 14px; right: 14px; bottom: 14px; padding: 16px 17px; }
  .floating strong { font-size: 18px; }
  .stats { gap: 7px; }
  .stats div + div { padding-left: 8px; }
  .stats b { font-size: 16px; }
  .stats small { font-size: 10px; }
  .nav-cta { font-size: 12px; padding: 10px 12px; }
  .logo { gap: 9px; }
  .logo-mark { width: 36px; height: 36px; }
  .brand { font-size: 15px; }
  .subbrand { letter-spacing: .13em; }
  .section { padding-top: 54px; padding-bottom: 54px; }
  .cards { grid-template-columns: 1fr; }
  .cards > :last-child { grid-column: auto; }
  .card { min-height: 204px; }
  .workbox { padding: 24px; }
  .about-title, .roadmap-title { font-size: 25px; }
  .contact { padding: 56px 20px; }
  .ticker { gap: 21px; padding: 14px 21px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .has-js .reveal { opacity: 1; transform: none; }
  .hero-visual { transform: none !important; }
}
