:root {
  --bg: #030712;
  --bg-soft: rgba(8, 15, 34, 0.86);
  --panel: rgba(10, 18, 38, 0.78);
  --panel-strong: rgba(15, 23, 42, 0.95);
  --text: #f8fbff;
  --muted: #8ba0c3;
  --accent: #4f8cff;
  --accent-2: #5ee7ff;
  --border: rgba(255, 255, 255, 0.1);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(79, 140, 255, 0.16), transparent 28%),
    linear-gradient(135deg, #02050e 0%, var(--bg) 100%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 95%);
  pointer-events: none;
}

img {
  max-width: 100%;
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
  pointer-events: none;
  animation: drift 12s ease-in-out infinite alternate;
}

.orb-1 {
  width: 300px;
  height: 300px;
  background: var(--accent);
  top: -80px;
  left: -70px;
}

.orb-2 {
  width: 260px;
  height: 260px;
  background: var(--accent-2);
  right: -60px;
  top: 25%;
  animation-duration: 16s;
}

.orb-3 {
  width: 220px;
  height: 220px;
  background: #1f4eff;
  bottom: 10%;
  left: 35%;
  animation-duration: 18s;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 1rem 0;
  backdrop-filter: blur(16px);
  background: rgba(3, 7, 18, 0.56);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(6, 13, 29, 0.78);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.brand img,
.footer-brand img {
  height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(79, 140, 255, 0.16));
}

.nav-links {
  display: flex;
  gap: 1.25rem;
}

.nav-links a,
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--text);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-cta {
  color: var(--text);
  background: linear-gradient(90deg, var(--accent), #1f63ff);
  box-shadow: 0 12px 30px rgba(79, 140, 255, 0.25);
}

.nav-cta:hover,
.btn:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  display: block;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.3rem;
  align-items: center;
  padding: 5.5rem 0 4.5rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 0.75rem;
}

.hero h1,
.section-heading h2,
.contact-shell h2,
.about-copy h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.15;
}

h3 {
  font-size: 1.1rem;
  margin: 0 0 0.55rem;
}

.hero-subtitle,
.section-heading p,
.demo-copy p,
.contact-shell p,
.card p,
.step p,
.faq-item p,
.about-copy p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.8rem 0 1.3rem;
}

.btn-primary {
  color: white;
  background: linear-gradient(90deg, var(--accent), #1f63ff);
  box-shadow: 0 15px 35px rgba(79, 140, 255, 0.28);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
}

.hero-points {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
}

.hero-points li {
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.glass-panel,
.card,
.step,
.demo-frame,
.contact-card,
.faq-item {
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(12, 20, 42, 0.9), rgba(7, 12, 28, 0.75));
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.hero-card {
  display: flex;
  justify-content: center;
}

.glass-panel {
  width: min(100%, 440px);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.hero-image-card {
  width: min(100%, 480px);
  padding: 1rem;
  overflow: hidden;
}

.hero-image-card img,
.about-image-wrap img {
  width: 100%;
  display: block;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 20px 40px rgba(79, 140, 255, 0.2);
}

.hero-image-card img {
  height: 420px;
}

.hero-image-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0.25rem 0.25rem;
}

.hero-image-caption p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.panel-top,
.panel-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.9rem;
  margin-bottom: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.panel-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.status-pill {
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  color: #90f5b7;
  background: rgba(56, 198, 93, 0.14);
  font-size: 0.8rem;
}

.message-list {
  display: grid;
  gap: 0.8rem;
}

.message {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

.message p {
  margin: 0 0 0.3rem;
  padding: 0.8rem 0.95rem;
  border-radius: 16px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.message.incoming p {
  background: rgba(255, 255, 255, 0.06);
}

.message.outgoing {
  justify-content: flex-end;
}

.message.outgoing p {
  background: linear-gradient(90deg, rgba(79, 140, 255, 0.28), rgba(94, 231, 255, 0.2));
}

.avatar {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  font-weight: 700;
  flex-shrink: 0;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card,
.feature-card,
.about-card,
.comparison-card {
  padding: 1.4rem;
  border-radius: var(--radius);
}

.feature-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  min-height: 210px;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: auto auto -40% -20%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(79, 140, 255, 0.25), transparent 70%);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(94, 231, 255, 0.35);
  box-shadow: 0 22px 55px rgba(7, 18, 38, 0.4);
}

.feature-card:hover::before {
  transform: translate(20px, -20px) scale(1.1);
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(79, 140, 255, 0.22), rgba(94, 231, 255, 0.2));
  font-size: 1.2rem;
  margin-bottom: 0.9rem;
}

.icon-wrap {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(79, 140, 255, 0.2), rgba(94, 231, 255, 0.2));
  color: var(--accent-2);
  font-weight: 700;
  margin-bottom: 1rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.about-section {
  padding-top: 2rem;
}

.about-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.6rem;
  align-items: center;
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(10, 18, 38, 0.93), rgba(6, 12, 26, 0.8));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.about-profile {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(94, 231, 255, 0.2);
  box-shadow: 0 16px 34px rgba(79, 140, 255, 0.18);
}

.about-profile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-copy {
  display: grid;
  gap: 0.5rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.trust-card {
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(12, 20, 42, 0.92), rgba(7, 12, 28, 0.8));
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow);
  min-height: 150px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.trust-card:hover {
  transform: translateY(-4px);
  border-color: rgba(94, 231, 255, 0.3);
}

.comparison-shell {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.comparison-card {
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(12, 20, 42, 0.92), rgba(7, 12, 28, 0.8));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.comparison-card.active {
  border-color: rgba(94, 231, 255, 0.35);
  box-shadow: 0 20px 50px rgba(79, 140, 255, 0.18);
  transform: translateY(-2px);
}

.comparison-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.7rem;
  color: var(--muted);
}

.comparison-arrow {
  font-size: 2rem;
  color: var(--accent-2);
  animation: pulse-arrow 2s ease-in-out infinite;
}

.step {
  padding: 1.4rem;
  border-radius: 24px;
}

.step span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.demo-shell {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.4rem;
  align-items: center;
}

.demo-frame {
  border-radius: 24px;
  padding: 1rem;
  position: relative;
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(12, 20, 42, 0.9), rgba(7, 12, 28, 0.8));
  box-shadow: var(--shadow);
}

.demo-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9rem;
}

.demo-dot-group {
  display: flex;
  gap: 0.4rem;
}

.demo-dot-group span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.live-badge {
  display: inline-flex;
  padding: 0.45rem 0.7rem;
  background: rgba(79, 140, 255, 0.18);
  color: var(--accent-2);
  border-radius: 999px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.chat-window {
  display: grid;
  gap: 0.7rem;
}

.chat-row {
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.chat-row strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--accent-2);
}

.chat-row.outgoing {
  background: linear-gradient(90deg, rgba(79, 140, 255, 0.2), rgba(94, 231, 255, 0.14));
}

.chat-row p {
  margin-bottom: 0;
}

.typing-text::after {
  content: "▍";
  animation: blink 1s step-end infinite;
  margin-left: 2px;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-item {
  border-radius: 18px;
  padding: 1rem 1.1rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0.7rem 0 0;
}

.contact-shell {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 1.2rem;
  align-items: start;
}

.contact-card {
  border-radius: 24px;
  padding: 1.4rem;
  display: grid;
  gap: 0.9rem;
}

.contact-card {
  gap: 0.75rem;
}

.contact-card a {
  color: var(--text);
  text-decoration: none;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.contact-card a:hover {
  transform: translateY(-2px);
  border-color: rgba(94, 231, 255, 0.35);
  background: rgba(79, 140, 255, 0.08);
}

.contact-card-title {
  margin-bottom: 0.35rem;
}

.contact-card-title h3 {
  margin-bottom: 0.3rem;
}

.contact-card-title p {
  color: var(--muted);
  margin: 0;
}

.contact-btn {
  margin-top: 0.2rem;
}

.footer {
  padding: 1.2rem 0 2rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(20px, 40px, 0) scale(1.06);
  }
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@keyframes pulse-arrow {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(8px);
  }
}

@media (max-width: 980px) {
  .hero,
  .demo-shell,
  .contact-shell,
  .about-card {
    grid-template-columns: 1fr;
  }

  .features-grid,
  .feature-cards-grid,
  .steps,
  .comparison-shell,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .comparison-arrow {
    display: none;
  }
}

@media (max-width: 760px) {
  .nav {
    border-radius: 1.2rem;
    align-items: center;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav.is-open .nav-links {
    display: flex;
    position: absolute;
    top: calc(100% + 0.7rem);
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 1rem;
    background: rgba(6, 13, 29, 0.96);
  }

  .nav.is-open .nav-cta {
    display: inline-flex;
    position: absolute;
    top: calc(100% + 11rem);
    left: 1rem;
    right: 1rem;
  }

  .hero {
    padding-top: 3.8rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-image-caption {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-profile {
    width: 96px;
    height: 96px;
  }

  .footer-row {
    flex-direction: column;
    gap: 0.8rem;
  }
}
