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

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: radial-gradient(circle at top, #eef5ff 0, #f4f6fb 45%, #ecedf4 100%);
  color: #0f172a;
  min-height: 100vh;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(248, 250, 252, 0.86);
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #22c55e);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f9fafb;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.45);
}

.logo-text {
  font-weight: 600;
  font-size: 18px;
  color: #0f172a;
}

.top-tagline {
  font-size: 13px;
  color: #64748b;
}

.main {
  flex: 1;
  padding: 32px 16px 40px;
}

.hero {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 28px;
  align-items: flex-start;
}

.hero-text {
  animation: floatInLeft 0.7s ease-out forwards;
  opacity: 0;
  transform: translateY(12px);
}

.hero-title {
  font-size: clamp(26px, 3vw, 32px);
  line-height: 1.2;
  margin-bottom: 10px;
  color: #020617;
}

.accent {
  color: #2563eb;
}

.hero-subtitle {
  font-size: 15px;
  color: #475569;
  max-width: 520px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.steps {
  list-style: none;
  margin-top: 8px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.06);
  margin-bottom: 10px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out, box-shadow 0.3s ease-out, background 0.3s ease-out;
}

.step-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.step-item:hover {
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.09);
  background: #ffffff;
}

.step-number {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #22c55e);
  color: #f9fafb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 15px;
  margin-bottom: 3px;
  color: #0f172a;
}

.step-content p {
  font-size: 13px;
  color: #6b7280;
}

.hero-panel {
  background: rgba(15, 23, 42, 0.96);
  color: #e5e7eb;
  border-radius: 20px;
  padding: 18px 18px 20px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.55);
  position: relative;
  overflow: hidden;
  transform: translateY(12px);
  opacity: 0;
  animation: floatInRight 0.7s ease-out forwards;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: -40%;
  opacity: 0.18;
  background:
    radial-gradient(circle at 0 0, #22c55e 0, transparent 55%),
    radial-gradient(circle at 100% 0, #2563eb 0, transparent 55%);
  pointer-events: none;
}

.panel-header {
  position: relative;
  z-index: 1;
  margin-bottom: 12px;
}

.panel-header h2 {
  font-size: 20px;
  margin-bottom: 4px;
}

.panel-desc {
  font-size: 12px;
  color: #9ca3af;
}

.check-form {
  position: relative;
  z-index: 1;
  margin-bottom: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 10px;
}

.field span {
  font-size: 13px;
  color: #e5e7eb;
}

.field-info {
  font-size: 11px !important;
  color: #9ca3af !important;
}

input {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.85);
  padding: 10px 14px;
  color: #e5e7eb;
  font-size: 14px;
  outline: none;
  transition: border 0.2s ease-out, box-shadow 0.2s ease-out, background 0.2s ease-out;
}

input::placeholder {
  color: #64748b;
}

input:focus {
  border-color: #38bdf8;
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.65);
}

input.error {
  border-color: #f97373;
  box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.7);
}

.btn-primary {
  margin-top: 14px;
  width: 100%;
  border-radius: 999px;
  border: none;
  padding: 11px 16px;
  font-size: 15px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  background: linear-gradient(135deg, #2563eb, #22c55e);
  color: #f9fafb;
  box-shadow: 0 18px 40px rgba(34, 197, 94, 0.35);
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, filter 0.15s ease-out;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 45px rgba(34, 197, 94, 0.45);
  filter: brightness(1.03);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.35);
}

.btn-primary.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-spinner {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 2px solid rgba(248, 250, 252, 0.35);
  border-top-color: #f9fafb;
  display: none;
  animation: spin 0.7s linear infinite;
}

.btn-primary.loading .btn-spinner {
  display: inline-block;
}

.btn-primary.loading .btn-text {
  opacity: 0.9;
}

.form-note {
  margin-top: 8px;
  font-size: 11px;
  color: #9ca3af;
  line-height: 1.5;
}

.panel-log-wrapper {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.6);
  overflow: hidden;
}

.panel-log-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  background: linear-gradient(90deg, rgba(15,23,42,0.95), rgba(15,23,42,0.6));
  border-bottom: 1px solid rgba(51, 65, 85, 0.9);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #4b5563;
}

.dot-green {
  background: #22c55e;
}

.log-title {
  margin-left: 4px;
  font-size: 11px;
  color: #9ca3af;
}

.panel-log {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 11px;
  padding: 10px 12px 12px;
  color: #e5e7eb;
  height: 210px;
  overflow-y: auto;
  background: radial-gradient(circle at top left, rgba(34,197,94,0.16) 0, transparent 55%), radial-gradient(circle at bottom right, rgba(59,130,246,0.16) 0, transparent 55%), rgba(15, 23, 42, 0.95);
  white-space: pre-wrap;
  word-break: break-word;
}

/* Scrollbar styling */
.panel-log::-webkit-scrollbar {
  width: 6px;
}
.panel-log::-webkit-scrollbar-track {
  background: transparent;
}
.panel-log::-webkit-scrollbar-thumb {
  background: #4b5563;
  border-radius: 999px;
}

/* Buy button */
.btn-buy {
  margin-top: 14px;
  width: 100%;
  border-radius: 999px;
  border: none;
  padding: 11px 16px;
  font-size: 17px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  color: #fef2f2;
  box-shadow: 0 18px 40px rgba(239, 68, 68, 0.5);
  transform: scale(0.9);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.2s ease-out, opacity 0.2s ease-out, box-shadow 0.2s ease-out;
}

.btn-buy.visible {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.btn-buy:hover {
  box-shadow: 0 22px 50px rgba(239, 68, 68, 0.7);
  filter: brightness(1.05);
}

.cta-note {
  margin-top: 8px;
  font-size: 11px;
  color: #9ca3af;
}

/* Testimonials */
.testimonials {
  max-width: 1100px;
  margin: 40px auto 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
}

.testimonials-title {
  font-size: 22px;
  margin-bottom: 4px;
}

.testimonials-subtitle {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 18px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 18px;
  padding: 14px 14px 16px;
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  object-fit: cover;
  background: #e5e7eb;
}

.testimonial-name {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}

.testimonial-role {
  font-size: 12px;
  color: #6b7280;
}

.testimonial-text {
  font-size: 13px;
  color: #4b5563;
  line-height: 1.5;
}

/* Footer */
.footer {
  padding: 14px 16px 20px;
  text-align: center;
  font-size: 12px;
  color: #6b7280;
}

/* Animations */
@keyframes floatInLeft {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatInRight {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Responsive */
@media (max-width: 880px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-panel {
    max-width: 480px;
    margin: 0 auto;
  }

  .hero-text {
    order: -1;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .main {
    padding-top: 20px;
  }

  .hero {
    gap: 18px;
  }

  .hero-title {
    font-size: 24px;
  }

  .hero-panel {
    padding: 16px 14px 18px;
  }

  .panel-log {
    height: 190px;
  }

  .testimonials {
    margin-top: 30px;
  }

  .testimonials-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
