:root {
  --bg0: #e0f2fe;
  --bg1: #bae6fd;
  --glass: rgba(255, 255, 255, 0.84);
  --cyan: #0ea5e9;
  --vio: #2563eb;
  --ice: #0c4a6e;
  --muted: #475569;
  --accent: linear-gradient(120deg, #38bdf8, #2563eb);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ice);
  background: linear-gradient(165deg, var(--bg0) 0%, #f0f9ff 38%, #dbeafe 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

#fx-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
}

#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 999;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(14, 165, 233, 0.55);
  transition: width 0.08s linear;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.wrap {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px) saturate(1.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(224, 242, 254, 0.72));
  border-bottom: 1px solid rgba(37, 99, 235, 0.12);
}

.site-header .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--accent);
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.4);
  animation: pulse-glow 3.2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%,
  100% {
    filter: brightness(1);
    transform: scale(1);
  }
  50% {
    filter: brightness(1.15);
    transform: scale(1.04);
  }
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  font-size: 0.88rem;
}

.nav a {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: border-color 0.25s var(--ease-out), background 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.nav a:hover {
  border-color: rgba(14, 165, 233, 0.45);
  background: rgba(14, 165, 233, 0.1);
  transform: translateY(-1px);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  background: var(--accent);
  color: #f8fafc;
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 36px rgba(37, 99, 235, 0.28);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.cta::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.35), transparent 60%);
  transform: translateX(-120%) rotate(25deg);
  animation: shimmer 3.5s linear infinite;
}

@keyframes shimmer {
  100% {
    transform: translateX(120%) rotate(25deg);
  }
}

.cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 44px rgba(14, 165, 233, 0.4);
}

.hero {
  padding: 3.5rem 0 2rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
  margin: 0 0 1rem;
  background: linear-gradient(110deg, #0369a1 8%, #0ea5e9 42%, #2563eb 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: hue-shift 14s ease-in-out infinite alternate;
}

@keyframes hue-shift {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(18deg);
  }
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 36rem;
}

.hero-visual {
  position: relative;
  min-height: 280px;
  border-radius: 24px;
  background: radial-gradient(circle at 30% 20%, rgba(56, 189, 248, 0.35), transparent 48%),
    radial-gradient(circle at 80% 70%, rgba(37, 99, 235, 0.22), transparent 52%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(224, 242, 254, 0.88));
  border: 1px solid rgba(37, 99, 235, 0.14);
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 900px;
}

.hero-cover {
  position: absolute;
  inset: 7% 6% 9%;
  width: auto;
  max-width: 88%;
  height: auto;
  max-height: 86%;
  margin: auto;
  left: 0;
  right: 0;
  object-fit: cover;
  border-radius: 18px;
  z-index: 1;
  box-shadow: 0 18px 44px rgba(15, 76, 129, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.55);
  pointer-events: none;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
  animation: float 9s ease-in-out infinite;
}

.hero-blob:nth-child(1) {
  width: 180px;
  height: 180px;
  background: #7dd3fc;
  top: 10%;
  left: 8%;
  animation-delay: 0s;
}

.hero-blob:nth-child(2) {
  width: 220px;
  height: 220px;
  background: #93c5fd;
  bottom: 5%;
  right: 5%;
  animation-delay: -3s;
}

@keyframes float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(12px, -18px, 0) scale(1.08);
  }
}

.hero-orbit {
  position: absolute;
  inset: 10%;
  border: 1px dashed rgba(37, 99, 235, 0.2);
  border-radius: 50%;
  animation: spin 38s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.marquee {
  margin: 2rem 0;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(37, 99, 235, 0.12);
  background: rgba(255, 255, 255, 0.55);
}

.marquee-inner {
  display: flex;
  gap: 3rem;
  padding: 0.75rem 0;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.marquee-inner span {
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  padding: 2.5rem 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 28rem;
  line-height: 1.55;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}

.slot-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.1);
  background: var(--glass);
  transform-style: preserve-3d;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s;
  animation: rise-in 0.9s var(--ease-out) both;
}

.slot-card:nth-child(3n) {
  animation-delay: 0.08s;
}
.slot-card:nth-child(3n + 1) {
  animation-delay: 0.16s;
}
.slot-card:nth-child(3n + 2) {
  animation-delay: 0.24s;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.slot-card:hover {
  border-color: rgba(14, 165, 233, 0.45);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.15), 0 0 0 1px rgba(14, 165, 233, 0.12);
}

.slot-card a {
  display: block;
  color: inherit;
}

.slot-card img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
  transition: transform 0.5s var(--ease-out), filter 0.5s;
}

.slot-card:hover img {
  transform: scale(1.08) rotate(-1deg);
  filter: saturate(1.15) brightness(1.05);
}

.slot-meta {
  padding: 0.65rem 0.75rem 0.85rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.slot-meta strong {
  display: block;
  color: var(--ice);
  font-size: 0.88rem;
  margin-bottom: 0.15rem;
}

.panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.panel {
  padding: 1.25rem 1.35rem;
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.9), rgba(224, 242, 254, 0.75));
  border: 1px solid rgba(37, 99, 235, 0.1);
  position: relative;
  overflow: hidden;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.18), transparent 55%);
  pointer-events: none;
}

.panel h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.92rem;
}

.article {
  margin-top: 2rem;
  padding: 2rem 1.5rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(37, 99, 235, 0.1);
  line-height: 1.75;
  color: #334155;
}

.article h2,
.article h3 {
  color: var(--ice);
  margin-top: 1.75rem;
}

.article h2:first-child,
.article h3:first-of-type {
  margin-top: 0;
}

.article p {
  margin: 0 0 1rem;
}

.article p:last-child {
  margin-bottom: 0;
}

.faq {
  margin-top: 2rem;
}

.faq details {
  border-radius: 14px;
  border: 1px solid rgba(37, 99, 235, 0.1);
  background: rgba(255, 255, 255, 0.78);
  padding: 0.75rem 1rem;
  margin-bottom: 0.65rem;
  transition: border-color 0.25s, background 0.25s;
}

.faq details[open] {
  border-color: rgba(14, 165, 233, 0.42);
  background: rgba(224, 242, 254, 0.95);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ice);
}

.faq details p {
  margin: 0.65rem 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.site-footer {
  margin-top: 3rem;
  padding: 2rem 0 3rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid rgba(37, 99, 235, 0.12);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cursor-glow {
  position: fixed;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.2), transparent 65%);
  transform: translate(-50%, -50%);
  mix-blend-mode: multiply;
  transition: opacity 0.35s;
  opacity: 0;
}

body:hover .cursor-glow {
  opacity: 1;
}
