:root {
  --bg: #05060d;
  --surface: rgba(16, 19, 36, 0.65);
  --text: #f3f6ff;
  --muted: #b7c0df;
  --accent: #5d7cff;
  --accent-2: #4de2c5;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  background: rgba(5, 6, 13, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.hero {
  padding: 110px 0 72px;
}

.badge {
  display: inline-block;
  margin: 0 0 20px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(93, 124, 255, 0.14);
  color: #dce3ff;
  font-weight: 600;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.06;
  max-width: 900px;
}

.subtitle {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  max-width: 720px;
  line-height: 1.6;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.showcase {
  margin: 18px auto 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.showcase-copy h2 {
  margin: 10px 0 14px;
  font-size: clamp(1.5rem, 2.8vw, 2.35rem);
}

.showcase-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  max-width: 560px;
}

.showcase-label {
  margin: 0;
  color: #a5b4ff;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.77rem;
  font-weight: 700;
}

.showcase-visuals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.phone-card {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.1), rgba(93, 124, 255, 0.08));
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 14px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  animation: floatCard 6s ease-in-out infinite;
}

.phone-card.alt {
  animation-delay: 0.6s;
}

.phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.phone-header span {
  color: #d4dcff;
  font-size: 0.9rem;
}

.phone-header strong {
  color: #74f0d8;
}

.line-chart {
  height: 140px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 25% 40%, rgba(93, 124, 255, 0.35), transparent 42%),
    linear-gradient(transparent 98%, rgba(255, 255, 255, 0.08) 98%),
    linear-gradient(90deg, transparent 97%, rgba(255, 255, 255, 0.08) 97%),
    linear-gradient(180deg, rgba(7, 9, 19, 0.4), rgba(7, 9, 19, 0.8));
  background-size: auto, 100% 22px, 24px 100%, auto;
  position: relative;
  overflow: hidden;
}

.line-chart::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 14%;
  height: 56%;
  border-radius: 999px;
  border: 3px solid transparent;
  border-top-color: #61a2ff;
  border-right-color: #5ef0ce;
  transform: skewY(-10deg) rotate(-6deg);
}

.bar-chart {
  height: 140px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: end;
  justify-content: space-around;
  padding: 10px;
  background: linear-gradient(180deg, rgba(12, 16, 35, 0.45), rgba(7, 9, 19, 0.8));
}

.bar-chart span {
  width: 15%;
  height: var(--h);
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, #86a3ff, #5d7cff 50%, #4de2c5);
  box-shadow: 0 5px 14px rgba(77, 226, 197, 0.25);
}

.stats-row {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.stats-row div {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 10px;
}

.stats-row small {
  display: block;
  color: #9ea9cf;
  margin-bottom: 5px;
}

.stats-row b {
  color: #ecf0ff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
  border-radius: 12px;
  padding: 12px 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(110deg, var(--accent), #6b63ff 56%, var(--accent-2));
  box-shadow: 0 10px 24px rgba(93, 124, 255, 0.42);
}

.btn-primary:hover {
  box-shadow: 0 14px 30px rgba(93, 124, 255, 0.6);
}

.btn-outline,
.btn-ghost {
  color: var(--text);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover,
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.09);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 42px;
}

.card {
  padding: 24px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.card h2 {
  margin: 0 0 12px;
  font-size: 1.3rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.cta {
  margin: 56px auto 80px;
  padding: 36px;
  border-radius: 20px;
  text-align: center;
  background: linear-gradient(135deg, rgba(93, 124, 255, 0.24), rgba(77, 226, 197, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.cta h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.cta p {
  color: #dde3fb;
  margin: 16px 0 24px;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0 40px;
  color: #a2accf;
}

.bg-orb {
  position: fixed;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.52;
  pointer-events: none;
  z-index: -2;
}

.orb-1 {
  top: -120px;
  left: -80px;
  background: #5d7cff;
  animation: driftA 13s ease-in-out infinite alternate;
}

.orb-2 {
  right: -120px;
  bottom: -120px;
  background: #31d8bd;
  animation: driftB 16s ease-in-out infinite alternate;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -3;
  opacity: 0.11;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 44px 44px;
}

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

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

@keyframes driftA {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(40px, 24px) scale(1.14);
  }
}

@keyframes driftB {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(-34px, -18px) scale(1.18);
  }
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

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

  .showcase-visuals {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 90px;
  }
}
