* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #020617;
  color: #e2e8f0;
  line-height: 1.5;
}

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

.hidden {
  display: none !important;
}

.flex {
  display: flex !important;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(90px);
  z-index: -1;
  pointer-events: none;
}

.bg-orb-one {
  width: 420px;
  height: 420px;
  background: rgba(16, 185, 129, 0.14);
  top: -140px;
  right: -120px;
}

.bg-orb-two {
  width: 360px;
  height: 360px;
  background: rgba(52, 211, 153, 0.12);
  left: -120px;
  top: 220px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(2, 6, 23, 0.86);
  border-bottom: 1px solid #1e293b;
  backdrop-filter: blur(10px);
}

.nav-wrap {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #052e2b;
  background: linear-gradient(135deg, #10b981, #34d399);
}

.brand strong {
  display: block;
  font-size: 0.92rem;
}

.brand small {
  color: #94a3b8;
  font-size: 0.74rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-menu a {
  color: #cbd5e1;
  font-size: 0.92rem;
}

.nav-menu a:hover {
  color: #6ee7b7;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid #334155;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.45);
}

.lang-btn {
  border: 0;
  padding: 0.42rem 0.56rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #cbd5e1;
  background: transparent;
  cursor: pointer;
}

.lang-btn.active {
  background: #10b981;
  color: #052e2b;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 0.62rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: 160ms ease;
}

.btn-primary {
  background: linear-gradient(135deg, #10b981, #34d399);
  color: #052e2b;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.22);
}

.btn-ghost {
  border-color: #334155;
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.4);
}

.btn-ghost:hover {
  border-color: #6ee7b7;
  color: #6ee7b7;
}

.hero {
  padding: 4.5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: start;
}

.badge {
  display: inline-flex;
  border: 1px solid rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.12);
  color: #6ee7b7;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.72rem;
  font-weight: 700;
}

.hero h1 {
  margin: 1rem 0 0.8rem;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.1;
  color: #f8fafc;
}

.hero p {
  margin: 0;
  max-width: 60ch;
  color: #cbd5e1;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-kpis {
  margin-top: 1.6rem;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-kpis article {
  border: 1px solid #1e293b;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.55);
  padding: 0.8rem;
}

.hero-kpis strong {
  display: block;
  color: #f8fafc;
  font-size: 0.86rem;
}

.hero-kpis span {
  font-size: 0.75rem;
  color: #94a3b8;
}

.hero-card {
  border: 1px solid #1f2937;
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.94), rgba(2, 6, 23, 0.94));
  border-radius: 22px;
  padding: 1.25rem;
  box-shadow: 0 18px 46px rgba(2, 6, 23, 0.6);
}

.hero-card h2 {
  margin: 0;
  font-size: 1rem;
  color: #f8fafc;
}

.hero-card p {
  margin: 0.45rem 0 1rem;
  color: #94a3b8;
  font-size: 0.88rem;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.mini-grid div {
  border: 1px solid #1e293b;
  border-radius: 14px;
  padding: 0.7rem;
  background: rgba(15, 23, 42, 0.55);
}

.mini-grid span {
  display: block;
  color: #94a3b8;
  font-size: 0.72rem;
}

.mini-grid strong {
  color: #f8fafc;
  font-size: 0.95rem;
}

.hero-card ul {
  margin: 1rem 0 0;
  padding-left: 1rem;
  color: #cbd5e1;
  font-size: 0.84rem;
  display: grid;
  gap: 0.35rem;
}

.section {
  padding: 4rem 0;
}

.section-soft {
  background: rgba(15, 23, 42, 0.45);
  border-block: 1px solid #1e293b;
}

.section-head {
  max-width: 760px;
  margin-bottom: 1.5rem;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  color: #f8fafc;
}

.section-head p {
  margin: 0.5rem 0 0;
  color: #94a3b8;
}

.card-grid {
  display: grid;
  gap: 1rem;
}

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

.card,
.price-card,
.faq-item {
  border: 1px solid #1e293b;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.62);
  padding: 1rem;
}

.card h3,
.price-card h3,
.faq-item h3 {
  margin: 0;
  color: #f8fafc;
}

.card p,
.faq-item p {
  margin: 0.5rem 0 0;
  color: #cbd5e1;
  font-size: 0.9rem;
}

.price-card small {
  display: inline-block;
  color: #94a3b8;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

.price-card h3 {
  margin-top: 0.55rem;
  font-size: 2rem;
}

.price-card p {
  margin: 0;
  color: #94a3b8;
}

.price-card ul {
  margin: 0.8rem 0 1rem;
  padding-left: 1rem;
  display: grid;
  gap: 0.35rem;
  color: #cbd5e1;
  font-size: 0.9rem;
}

.price-card.featured {
  border-color: rgba(52, 211, 153, 0.55);
  background: linear-gradient(160deg, rgba(6, 22, 24, 0.9), rgba(15, 23, 42, 0.9));
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.cta {
  border-radius: 24px;
  border: 1px solid #1f2937;
  background: linear-gradient(150deg, rgba(2, 6, 23, 0.92), rgba(15, 23, 42, 0.92));
  padding: 2rem;
}

.cta h2 {
  margin: 0;
  color: #f8fafc;
}

.cta p {
  margin: 0.75rem 0 1.2rem;
  color: #cbd5e1;
  max-width: 64ch;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  align-items: center;
  justify-content: center;
  background: rgba(2, 6, 23, 0.72);
  padding: 1rem;
}

.modal-card {
  width: min(100%, 540px);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  background: #ffffff;
  color: #0f172a;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  padding: 1.1rem;
}

.modal-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.7rem;
}

.modal-head h3 {
  margin: 0;
  font-size: 1.1rem;
}

.modal-head p {
  margin: 0.2rem 0 0;
  color: #475569;
  font-size: 0.86rem;
}

.modal-head button {
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 1.05rem;
  cursor: pointer;
}

#invite-form label {
  font-size: 0.76rem;
  font-weight: 700;
  color: #334155;
}

#invite-form input,
#invite-form select,
#invite-form textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 11px;
  padding: 0.58rem 0.72rem;
  margin: 0.28rem 0 0.7rem;
  font-size: 0.9rem;
  font-family: inherit;
}

#invite-form textarea {
  resize: vertical;
}

#invite-form input:focus,
#invite-form select:focus,
#invite-form textarea:focus {
  outline: 2px solid #10b981;
  outline-offset: 0;
  border-color: #10b981;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.modal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.modal-foot small {
  color: #64748b;
  font-size: 0.72rem;
}

.token-panel {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 41;
  width: min(92vw, 420px);
  border-radius: 16px;
  border: 1px solid rgba(52, 211, 153, 0.45);
  background: rgba(2, 6, 23, 0.92);
  padding: 0.9rem;
  box-shadow: 0 20px 48px rgba(2, 6, 23, 0.58);
  backdrop-filter: blur(10px);
}

.token-title {
  margin: 0;
  color: #6ee7b7;
  font-size: 0.78rem;
  font-weight: 700;
}

#demo-token-message {
  margin: 0.45rem 0 0;
  color: #cbd5e1;
  font-size: 0.84rem;
}

.token-actions {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.site-footer {
  border-top: 1px solid #1e293b;
  padding: 1rem 0;
  margin-top: 1rem;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.78rem;
  color: #94a3b8;
}

.footer-wrap div {
  display: flex;
  gap: 1rem;
}

.footer-wrap a:hover {
  color: #6ee7b7;
}

@media (max-width: 980px) {
  .hero-grid,
  .card-grid-3 {
    grid-template-columns: 1fr;
  }

  .nav-menu {
    display: none;
  }
}

@media (max-width: 640px) {
  .lang-switch {
    display: none;
  }

  .nav-actions .btn-ghost {
    display: none;
  }

  .hero {
    padding-top: 3.2rem;
  }

  .hero-kpis {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .modal-foot {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}
