@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/Inter-400.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/Inter-500.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/Inter-600.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/Inter-700.ttf") format("truetype");
}

:root {
  --bg: #0b0f14;
  --bg-soft: #111827;
  --bg-strong: #0a0d12;
  --surface: #121826;
  --surface-2: #1b2333;
  --text: #e8eef8;
  --muted: #9aa6bd;
  --accent: #e53935;
  --accent-2: #4caf50;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
  --radius: 20px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 15% 15%, rgba(229, 57, 53, 0.08), transparent 45%),
    radial-gradient(circle at 85% 10%, rgba(76, 175, 80, 0.08), transparent 45%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.ambient {
  position: fixed;
  inset: -10% -20%;
  background: radial-gradient(circle at 10% 20%, rgba(229, 57, 53, 0.24), transparent 45%),
    radial-gradient(circle at 80% 10%, rgba(76, 175, 80, 0.2), transparent 42%),
    radial-gradient(circle at 40% 80%, rgba(12, 16, 24, 0.3), transparent 55%);
  filter: blur(90px);
  z-index: -1;
  animation: drift 16s ease-in-out infinite;
}

.bg-showcase {
  position: fixed;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.32;
  transform: scale(1);
  transition: opacity 0.9s ease, transform 0.9s ease;
  z-index: -2;
  filter: saturate(0.9) contrast(1.1);
  will-change: transform, opacity;
}

.bg-showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 11, 16, 0.55), rgba(8, 11, 16, 0.78));
}

.bg-showcase.is-fading {
  opacity: 0.12;
}

.topbar {
  position: sticky;
  top: 0;
  backdrop-filter: blur(18px);
  background: rgba(10, 13, 18, 0.7);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.topbar__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 16px;
}

.logo {
  letter-spacing: 0.5px;
  display: grid;
  gap: 2px;
}

.logo__main {
  font-weight: 700;
  font-size: 1rem;
}

.logo__sub {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.brand-lockup img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.brand-product {
  margin: 4px 0 0;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 600;
  color: var(--text);
}

.brand-subtitle {
  margin: 6px 0 12px;
  color: var(--muted);
  font-size: 1rem;
}


.nav {
  display: flex;
  gap: 18px;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav a:hover {
  color: var(--text);
}

.cta {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.cta.is-tapped {
  transform: scale(0.98);
}

.cta--primary {
  background: linear-gradient(135deg, var(--accent), #ff7c7a);
  border: none;
  color: #ffffff;
  font-weight: 600;
}

.cta--secondary {
  background: linear-gradient(135deg, var(--accent-2), #3ddc97);
  border: none;
  color: #0f141a;
  font-weight: 600;
}

.cta--ghost {
  background: transparent;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  padding: 110px 0 90px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.85rem;
  border: 1px solid var(--border);
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  margin: 16px 0;
}

.subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  margin: 24px 0;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: 28px;
  color: var(--muted);
}

.hero__stats strong {
  display: block;
  color: var(--text);
  font-size: 1.2rem;
}

.hero__card {
  position: relative;
  min-height: 560px;
  background: linear-gradient(135deg, #141b2a, #0f141f);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 30px 20px 20px;
  box-shadow: var(--shadow);
  overflow: visible;
}

.hero__screens {
  position: relative;
  height: 100%;
  min-height: 520px;
  padding-top: 20px;
  overflow: visible;
  perspective: 1200px;
}

.hero__screen {
  position: absolute;
  width: 300px;
  height: 540px;
  border-radius: 26px;
  object-fit: cover;
  box-shadow: 0 20px 45px rgba(26, 28, 32, 0.18);
  border: 6px solid #101521;
  transition: transform 1.6s cubic-bezier(0.2, 0.85, 0.25, 1),
    opacity 1.6s ease,
    z-index 1.6s ease;
  transform-origin: 50% 80%;
  left: 50%;
  top: 60px;
  transform: translateX(-50%) scale(0.96);
  will-change: transform, opacity;
}

.hero__screen.is-back,
.hero__screen.is-mid,
.hero__screen.is-front {
  opacity: 1;
}

@media (max-width: 1023px) {
  .hero__screen {
    width: 220px;
    height: 400px;
    top: 40px;
  }

  .hero__screen.is-back {
    left: 6%;
    transform: translateX(-36px) rotate(-12deg) scale(0.88);
    opacity: 0.55;
    z-index: 1;
  }

  .hero__screen.is-mid {
    left: 50%;
    transform: translateX(-50%) rotate(-2deg) scale(1);
    opacity: 1;
    z-index: 4;
    animation: centerPulseMobile 3.8s ease-in-out infinite;
  }

  .hero__screen.is-front {
    right: 6%;
    transform: translateX(36px) rotate(12deg) scale(0.9);
    opacity: 0.7;
    z-index: 2;
  }
}

@media (min-width: 1024px) {
  .hero__screen.is-back {
    left: 0;
    top: 70px;
    transform: translateX(-52px) rotate(-14deg) scale(0.9);
    opacity: 0.55;
    z-index: 1;
  }

  .hero__screen.is-mid {
    left: 50%;
    top: 40px;
    transform: translateX(-50%) rotate(-4deg) scale(1.03);
    opacity: 1;
    z-index: 4;
    animation: centerPulse 3.8s ease-in-out infinite;
  }

  .hero__screen.is-front {
    right: 0;
    top: 70px;
    transform: translateX(52px) rotate(14deg) scale(0.92);
    opacity: 0.7;
    z-index: 2;
  }
}

.hero__screen.is-shuffling {
  animation: cardShuffle 0.6s ease;
}

.hero__glow {
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  background: linear-gradient(180deg, rgba(229, 57, 53, 0.35), transparent);
  filter: blur(35px);
  animation: glowPulse 5s ease-in-out infinite;
}

.section {
  padding: 80px 0;
}

.section--soft {
  background: rgba(17, 24, 39, 0.8);
}

.section--accent {
  background: linear-gradient(120deg, rgba(229, 57, 53, 0.12), rgba(76, 175, 80, 0.1));
}

.section--light {
  background: transparent;
}

.section__header {
  max-width: 540px;
  margin-bottom: 36px;
}

.section__header p {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: var(--surface);
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--border);
  min-height: 150px;
  transition: transform 0.3s ease, border 0.3s ease, box-shadow 0.3s ease;
}

.js-enabled [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.js-enabled .is-visible {
  opacity: 1;
  transform: translateY(0);
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(229, 57, 53, 0.4);
  box-shadow: var(--shadow);
}

.steps {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.step {
  display: inline-flex;
  padding: 6px 12px;
  background: var(--surface-2);
  border-radius: 999px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 10px;
}

.highlight {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.highlight__stats {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.highlight__stats strong {
  display: block;
  font-size: 1.1rem;
}

.community {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: center;
}

.community__panel {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.panel__row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.panel__row:last-child {
  border-bottom: none;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tags span {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
}

.support {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: center;
}

.support__card {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

.support__card strong {
  display: block;
}

.support__card a {
  color: var(--accent);
}

.faq {
  display: grid;
  gap: 12px;
}

details {
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 14px 18px;
}

summary {
  cursor: pointer;
  font-weight: 600;
}

.download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.download__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}


.contact {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: center;
}

.contact__form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

input {
  flex: 1;
  min-width: 180px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #0f141f;
  color: var(--text);
}

.footer {
  padding: 36px 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.footer__content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__content div {
  display: grid;
  gap: 8px;
}

.footer__links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.chatbot {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
}

.chatbot__toggle {
  border: none;
  border-radius: 999px;
  padding: 12px 18px;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent), #ff7c7a);
  box-shadow: var(--shadow);
}

.chatbot__panel {
  position: absolute;
  right: 0;
  bottom: 60px;
  width: min(320px, 90vw);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  display: none;
  overflow: hidden;
}

.chatbot__panel.is-open {
  display: grid;
}

.chatbot__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.chatbot__header span {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
}

.chatbot__close {
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1rem;
}

.chatbot__messages {
  padding: 14px 16px;
  display: grid;
  gap: 10px;
  max-height: 260px;
  overflow-y: auto;
}

.chatbot__message {
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.4;
}

.chatbot__message--bot {
  background: var(--surface-2);
  color: var(--text);
}

.chatbot__message--user {
  background: rgba(229, 57, 53, 0.1);
  color: var(--text);
  margin-left: auto;
}

.chatbot__typing {
  font-style: italic;
  color: var(--muted);
}

.chatbot__form {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.chatbot__form input {
  flex: 1;
}

.legal {
  padding: 120px 0 80px;
}

.legal h1 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 12px;
}

.legal h2 {
  margin-top: 28px;
}

.legal p,
.legal li {
  color: var(--muted);
  line-height: 1.7;
}

.legal ul {
  padding-left: 20px;
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(-10px) rotate(0deg);
  }
  50% {
    transform: translateY(10px) rotate(10deg);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes floatSlow {
  0%,
  100% {
    transform: translateY(0) rotate(var(--tilt, 0deg));
  }
  50% {
    transform: translateY(-10px) rotate(var(--tilt, 0deg));
  }
}

@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

@keyframes centerPulse {
  0%,
  100% {
    transform: translateX(-50%) rotate(-4deg) scale(1);
  }
  50% {
    transform: translateX(-50%) rotate(-4deg) scale(1.08);
  }
}

@keyframes centerPulseMobile {
  0%,
  100% {
    transform: translateX(-50%) rotate(-2deg) scale(1);
  }
  50% {
    transform: translateX(-50%) rotate(-2deg) scale(1.05);
  }
}

@keyframes cardShuffle {
  0% {
    transform: translateY(0) rotate(var(--tilt, 0deg)) scale(1);
  }
  50% {
    transform: translateY(-12px) rotate(var(--tilt, 0deg)) scale(1.02);
  }
  100% {
    transform: translateY(0) rotate(var(--tilt, 0deg)) scale(1);
  }
}

@media (max-width: 820px) {
  .nav {
    display: none;
  }

  .topbar__content {
    justify-content: space-between;
  }

  .download {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__screen {
    width: 230px;
    height: 420px;
  }

  .hero__screen--front {
    left: 50px;
  }

  .nav__cta .cta {
    padding: 8px 12px;
    font-size: 0.85rem;
    white-space: nowrap;
  }

  .logo__main {
    font-size: 0.95rem;
  }

  .logo__sub {
    font-size: 0.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
