@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap");

:root {
  --pink: #fe7c96;
  --bg: #0b0e16;
  --panel: #0f1421;
  --card: #12192b;
  --muted: #a9b4c6;
  --text: #e8ecf5;
  --border: #1f2636;
  --glow: 0 12px 40px rgba(254, 124, 150, 0.15);
}

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

body {
  margin: 0;
  background: radial-gradient(circle at 20% 20%, rgba(254, 124, 150, 0.08), transparent 30%),
    radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.04), transparent 40%),
    var(--bg);
  color: var(--text);
  font-family: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.shell {
  width: min(1200px, 94vw);
  margin: 0 auto;
  padding: 28px 0 80px;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(11, 14, 22, 0.9);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--text);
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(254, 124, 150, 0.12);
  border: 1px solid rgba(254, 124, 150, 0.5);
  object-fit: cover;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(254, 124, 150, 0.14);
  color: var(--pink);
  border: 1px solid rgba(254, 124, 150, 0.3);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 600;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--text);
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 42px 0 12px;
  align-items: center;
}

.hero-splash {
  position: relative;
  background: radial-gradient(circle at 40% 30%, rgba(254, 124, 150, 0.15), transparent 45%),
    radial-gradient(circle at 70% 35%, rgba(120, 94, 255, 0.18), transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(18, 22, 37, 0.4));
  border-radius: 28px;
  padding: 72px 28px 48px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.hero-splash::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.18), transparent 45%);
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(32px, 6vw, 48px);
  line-height: 1.08;
  margin: 6px 0 4px;
}

.hero-sub {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  max-width: 720px;
}

.hero-icon {
  width: 96px;
  height: 96px;
  border-radius: 28px;
  background: linear-gradient(135deg, #fe7c96, #8a63ff);
  display: grid;
  place-items: center;
  box-shadow: 0 18px 40px rgba(254, 124, 150, 0.35);
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.hero-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 22px;
}

.hero-form {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  width: min(900px, 100%);
  position: relative;
  z-index: 1;
}

.hero-form input[type="text"] {
  flex: 1;
  padding: 16px 14px;
  border-radius: 12px;
  border: 1px solid rgba(254, 124, 150, 0.35);
  background: rgba(11, 14, 22, 0.85);
  color: var(--text);
}

.hero-form button {
  width: auto;
  min-width: 160px;
  padding: 16px 18px;
}

.hero-form input.is-loading {
  opacity: 0.7;
}

.hero-form button.is-loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(11, 14, 22, 0.4);
  border-top-color: #0b0e16;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.text-error {
  color: #ffb4c1;
}

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

.hero .hint.center {
  width: min(900px, 100%);
  text-align: center;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--glow);
}

.download-card {
  width: 100%;
  background: linear-gradient(145deg, #111827, #0f1421);
  border: 1px solid rgba(254, 124, 150, 0.2);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--glow);
}

.hero .download-card {
  margin-top: 6px;
}

label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

input[type="text"] {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #0b0f19;
  color: var(--text);
  font-size: 15px;
}

input[type="text"]:focus {
  outline: 2px solid rgba(254, 124, 150, 0.5);
  border-color: rgba(254, 124, 150, 0.4);
}

button {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(120deg, #fe7c96, #f75f85);
  color: #0b0e16;
  font-weight: 800;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 28px rgba(254, 124, 150, 0.35);
}

button:hover {
  transform: translateY(-1px);
}

button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.hint {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.meta-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.logs,
.log-block,
.log-title,
.mono,
.status-box,
.status-ok,
.status-fail {
  display: none;
}

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

.about-text {
  margin: 12px 0 18px;
  display: grid;
  gap: 10px;
  color: var(--text);
  line-height: 1.6;
}

.about-list {
  margin: 8px 0 14px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(254, 124, 150, 0.2);
  background: linear-gradient(135deg, rgba(254, 124, 150, 0.06), rgba(138, 99, 255, 0.06));
}

.about-list h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.about-list ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: var(--text);
}

.about-list li {
  line-height: 1.6;
}

.about-list strong {
  color: var(--pink);
}

.flow {
  position: relative;
  display: grid;
  gap: 10px;
}

.flow::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(254, 124, 150, 0.5), rgba(138, 99, 255, 0.3));
}

.flow-item {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 12px 12px 12px 38px;
  border: 1px dashed rgba(254, 124, 150, 0.3);
  border-radius: 14px;
  background: rgba(12, 16, 24, 0.8);
  overflow: hidden;
  transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.flow-item:hover {
  transform: translateY(-2px);
  border-color: rgba(254, 124, 150, 0.55);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3), 0 10px 24px rgba(254, 124, 150, 0.15);
}

.flow-badge {
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fe7c96, #8a63ff);
  color: #0b0e16;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(254, 124, 150, 0.35);
}

.flow h3 {
  margin: 0 0 6px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
}

.card h3 {
  margin: 0 0 8px;
}

.muted {
  color: var(--muted);
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 52px 0 20px;
}

.section-heading h2 {
  margin: 0;
  font-size: 24px;
}

.pill {
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(254, 124, 150, 0.12);
  color: var(--pink);
  border: 1px solid rgba(254, 124, 150, 0.25);
  font-weight: 700;
  margin-bottom: 2rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 16px;
}

.step {
  background: var(--panel);
  border: 1px dashed rgba(254, 124, 150, 0.35);
  border-radius: 12px;
  padding: 14px;
}

.faq {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 14px;
}

.faq-item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  position: relative;
  overflow: hidden;
  transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(254, 124, 150, 0.12), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(120, 94, 255, 0.1), transparent 40%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
  border-color: rgba(254, 124, 150, 0.4);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 12px 32px rgba(254, 124, 150, 0.18);
}

.faq-item:hover::before {
  opacity: 1;
}

footer {
  margin-top: 48px;
  padding: 24px 0 12px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
  margin-bottom: 16px;
}

.footer-links a:hover{
  color: white;
}

.slider-host {
  position: fixed;
  top: 18px;
  right: 12px;
  z-index: 50;
  width: min(360px, 90vw);
}

.slider-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.download-slider {
  position: relative;
  background: linear-gradient(135deg, #111827, #0f1421);
  border: 1px solid rgba(254, 124, 150, 0.2);
  border-radius: 14px;
  padding: 12px;
  box-shadow: var(--glow);
  overflow: hidden;
  transform: translateX(120%);
  transition: transform 0.35s ease, opacity 0.35s ease;
  opacity: 0.92;
}

.download-slider.translate-in {
  transform: translateX(0);
  opacity: 1;
}

.download-slider.translate-out {
  transform: translateX(120%);
  opacity: 0;
}

.download-slider .loader {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.download-slider .loader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(120deg, #fe7c96, #8a63ff);
  transition: width 7s linear;
}

.slider-body {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
}

.slider-thumb {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(254, 124, 150, 0.12);
  border: 1px solid rgba(254, 124, 150, 0.25);
}

.slider-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-title {
  font-weight: 800;
  color: var(--text);
}

.slider-sub {
  color: var(--muted);
  font-size: 13px;
}

.slider-close {
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  width: 28px;
  height: 28px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  background: rgba(254, 124, 150, 0.12);
  color: var(--text);
  border: 1px solid rgba(254, 124, 150, 0.35);
  font-weight: 700;
}

.cta-button.secondary {
  background: transparent;
  border-color: var(--border);
}

.page-header {
  padding: 38px 0 14px;
}

.page-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--glow);
}

.page-card h1 {
  margin-top: 0;
  margin-bottom: 6px;
}

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

.list {
  padding-left: 18px;
  margin: 8px 0 16px;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 720px) {
  header {
    position: static;
  }
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links {
    flex-wrap: wrap;
  }
  .hero-form {
    flex-direction: column;
  }
  .hero-form button {
    width: 100%;
  }
}
