:root {
  --bg: #08131c;
  --bg-2: #0d1d2a;
  --ink: #eff7ff;
  --ink-soft: #c2d8ea;
  --line: #224055;
  --primary: #2de2c3;
  --secondary: #5cb9ff;
  --accent: #ff8a4c;
  --card: linear-gradient(145deg, rgba(14, 30, 44, 0.94), rgba(8, 18, 29, 0.94));
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Montserrat", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 500px at 15% -10%, rgba(45, 226, 195, 0.2), transparent 60%),
    radial-gradient(900px 600px at 85% -20%, rgba(92, 185, 255, 0.15), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  font-size: 18px;
  line-height: 1.72;
  min-height: 100vh;
}

h1,
h2,
h3,
.tag,
.btn,
.logo {
  font-family: "Montserrat", "Segoe UI", sans-serif;
}

.glow {
  position: fixed;
  border-radius: 999px;
  filter: blur(72px);
  z-index: -1;
}

.glow-a {
  width: 320px;
  height: 320px;
  left: -120px;
  top: 20%;
  background: rgba(45, 226, 195, 0.4);
}

.glow-b {
  width: 380px;
  height: 380px;
  right: -110px;
  bottom: 8%;
  background: rgba(92, 185, 255, 0.35);
}

.topbar,
.hero,
.trust,
.content,
.footer {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(92, 185, 255, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  background: rgba(8, 19, 28, 0.72);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

.logo img {
  width: auto;
  height: 34px;
  max-width: 152px;
  object-fit: contain;
  display: block;
}

.logo-marquee {
  width: min(100% - 2rem, var(--max));
  margin: 2rem auto 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 19, 28, 0.48);
  position: relative;
  overflow: hidden;
  display: flex;
  gap: 1rem;
  padding: 0.9rem 0;
}

.logo-marquee::before,
.logo-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 56px;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.logo-marquee::before {
  left: 0;
  background: linear-gradient(90deg, rgba(8, 19, 28, 0.92), rgba(8, 19, 28, 0));
}

.logo-marquee::after {
  right: 0;
  background: linear-gradient(270deg, rgba(8, 19, 28, 0.92), rgba(8, 19, 28, 0));
}

.marquee-track {
  flex-shrink: 0;
  min-width: max-content;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  animation: marquee-scroll 42s linear infinite;
}

.logo-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 0.46rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(92, 185, 255, 0.26);
  background: rgba(8, 18, 29, 0.78);
  color: #d9ecff;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% - 0.9rem));
  }
}

.menu {
  display: flex;
  gap: 1rem;
}

.menu a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 1rem;
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.68rem 1.15rem;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-primary {
  color: #06222a;
  background: linear-gradient(130deg, var(--primary), #86ffd0);
}

.btn-outline {
  color: var(--ink);
  border-color: rgba(92, 185, 255, 0.34);
  background: rgba(13, 29, 42, 0.55);
}

.btn-ghost {
  color: var(--ink-soft);
  border-color: rgba(158, 192, 216, 0.2);
  background: transparent;
}

main {
  overflow: clip;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
  margin-top: 4rem;
}

.hero-copy h1 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

#switch-word {
  color: var(--primary);
  text-shadow: 0 0 24px rgba(45, 226, 195, 0.35);
}

.hero-copy > p {
  color: var(--ink-soft);
  max-width: 62ch;
  font-size: 1.1rem;
}

.tag {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.hero-note {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-weight: 700;
}

.hero-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.4rem;
  align-self: start;
}

.hero-panel h2 {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.hero-panel p {
  color: var(--ink-soft);
  font-size: 1rem;
}

.hero-panel ul {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.55rem;
  color: #d9f1ff;
}

.trust {
  margin-top: 2.8rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1.2rem;
  background: rgba(8, 19, 28, 0.45);
}

.trust > p {
  margin-top: 0;
  color: #cbebff;
  font-weight: 600;
  font-size: 1.02rem;
}

.trust ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  color: var(--ink-soft);
}

.content {
  margin-top: 4.2rem;
}

.heading h2 {
  margin: 0.6rem 0 0;
  font-size: clamp(1.55rem, 3.2vw, 2.5rem);
}

.cards {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card,
.tech-card,
.timeline article,
.contact-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.card {
  padding: 1.1rem;
}

.card h3 {
  margin: 0 0 0.5rem;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

.tech-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.tech-card {
  padding: 1.05rem;
}

.tech-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.tech-card p {
  color: var(--ink-soft);
  margin: 0.5rem 0;
  font-size: 1rem;
}

.tech-card small {
  display: inline-block;
  color: #9fead7;
  font-weight: 600;
}

.timeline {
  margin-top: 1.3rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.timeline article {
  padding: 1rem;
}

.timeline span {
  color: var(--primary);
  font-weight: 700;
}

.timeline h3 {
  margin: 0.45rem 0;
}

.timeline p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

.contact-form {
  margin-top: 1.3rem;
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #31536a;
  border-radius: 12px;
  background: #0b1f2d;
  color: #e4f5ff;
  font: inherit;
  padding: 0.72rem 0.82rem;
}

.contact-form .full,
.form-msg {
  grid-column: 1 / -1;
}

.form-msg {
  margin: 0;
  color: var(--ink-soft);
}

.footer {
  margin: 3rem auto 2rem;
  text-align: center;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  padding-top: 1.1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.on {
  opacity: 1;
  transform: none;
}

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

@media (max-width: 880px) {
  .topbar {
    border-radius: 18px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero,
  .tech-grid,
  .timeline,
  .contact-form,
  .trust ul,
  .cards {
    grid-template-columns: 1fr;
  }

  .logo-marquee {
    margin-top: 1.5rem;
    width: min(100% - 1rem, var(--max));
  }

  .menu {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero {
    margin-top: 2.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
  }
}
