:root {
  --bg: #ffffff;
  --text: #1a1f2b;
  --muted: #5b6477;
  --border: #e8ecf3;
  --brand: #000;
  --accent: #000;
  --btn: #000;
  --btnText: #fff;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}
/* Sticky footer base */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  z-index: 10;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
  height: 74px;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0px;
  text-decoration: none;
  color: inherit;
}
.brand-logo {
  display: block;
}
.brand-title {
  font-weight: 700;
  font-size: 22px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.burger {
  display: none;
  width: 38px;
  height: 38px;
  border: 0px solid var(--border);
  border-radius: 10px;
  background: #fff;
  position: relative;
}
.burger span,
.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  background: #222;
  transition: 0.2s;
}
.burger span {
  top: 18px;
}
.burger::before {
  top: 12px;
}
.burger::after {
  top: 24px;
}
.mobile-menu {
  display: none;
}
.nav-link {
  color: #3a4152;
  text-decoration: none;
  font-weight: 600;
}
.nav-link:hover {
  color: #000;
}
.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}
/* Lang dropdown */
.lang-dropdown {
  position: relative;
}
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 13px 8px;
  border: 0px solid var(--border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font-size: 18px;
}
.lang-toggle::after {
  content: "";
  width: 5px;
  height: 5px;
  border-right: 2px solid #222;
  border-bottom: 2px solid #222;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.lang-dropdown[aria-expanded="true"] .lang-toggle::after {
  transform: rotate(-135deg);
}
.lang-menu {
  position: absolute;
  right: 0;
  top: 110%;
  min-width: 80px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 4px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  z-index: 20;
}
.lang-dropdown[aria-expanded="true"] .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-menu li {
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
}
.lang-menu li:hover {
  background: #f3f6fb;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--btn);
  color: var(--btnText);
}
.btn-primary:hover {
  opacity: 0.9;
}
.btn-secondary {
  background: #fff;
  border-color: #000;
  color: #000;
}
.btn-secondary:hover {
  background: #000;
  color: #fff;
}
.btn-outline {
  background: #fff;
  border-color: #000;
  color: #000;
}
.btn-outline:hover {
  background: #000;
  color: #fff;
}

/* Hero */
.hero {
  padding: 8px 0 16px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: flex-start;
  gap: 7px;
  grid-template-areas: "copy art" "actions art";
}
.hero-copy {
  grid-area: copy;
}
.hero-actions {
  grid-area: actions;
  margin-top: 6px;
  justify-content: flex-start;
}
.hero-art {
  grid-area: art;
}
.hero-art {
  position: relative;
  display: flex;
  justify-content: flex-end;
}
.hero-badge {
  display: none;
}
.hero-note {
  position: absolute;
  right: -12px;
  left: auto;
  top: -12px;
  z-index: 2;
}
.hero-note-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  background: #eef4ff;
  border: 1px solid #d6e2ff;
  color: #1a2b5b;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 700;
  font-size: 12px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}
.hero-note-text::before {
  content: "\2139";
  font-weight: 800;
  background: #d1e1ff;
  color: #1a2b5b;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 12px;
}
.hero-link {
  display: block;
  cursor: pointer;
}
.hero-link img {
  transition: transform 0.2s ease;
  position: relative;
  z-index: 1;
}
.hero-link:hover img {
  transform: translateY(-2px);
}
.hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.05;
  margin: 0 0 14px;
  font-weight: 800;
}
.lead {
  color: var(--muted);
  font-size: 20px;
  margin: 0 0 22px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-art img {
  max-width: 440px;
  width: 100%;
  height: auto;
}

/* Sections */
.section {
  padding: 25px 0;
}
/* Compact top spacing for wallet page */
.wallet-section{padding-top:12px}
.section.alt {
  background: #fafbfc;
}
h2 {
  font-size: 28px;
  margin: 0 0 18px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.feature-grid li {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
}
.feature-grid h3 {
  margin: 0;
  font-size: 18px;
}
.feature-grid p {
  margin: 0;
  color: var(--muted);
  overflow-wrap: break-word;
}

/* Analyze block layout */
.analyze-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
}
.analyze-art {
  display: flex;
  align-items: center;
  justify-content: center;
}
.analyze-art img {
  width: 100%;
  max-width: 600px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* Cards & helpers */
.card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  background: #fff;
}
.card-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.muted {
  color: var(--muted);
  font-size: 14px;
}
.input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.wallet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.note {
  margin-top: 18px;
  color: var(--muted);
}
/* Wallet center redesign */
.wallet-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 24px auto 0;
  max-width: 520px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}
.network-label {
  font-weight: 800;
}
.cw-connect-button.cw-withdraw-button {
  background: #000;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 16px 28px;
  font-weight: 900;
  cursor: pointer;
  font-size: 16px;
}
.cw-connect-button.cw-withdraw-button:hover {
  opacity: 0.9;
}
.wallet-notes {
  margin: 8px 0 0;
  padding-left: 18px;
  color: #5b6477;
  align-self: flex-start;
}
.wallet-notes li {
  margin: 4px 0;
}

/* Wallet hero layout */
.wallet-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px;
}
.wallet-copy {
  max-width: 720px;
  text-align: center;
}
.wallet-copy h1 {
  margin: 0 0 10px;
}
.wallet-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px;
}
.wallet-card .network-label {
  font-weight: 900;
}

/* Trusted members */
.trusted {
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 20px;
  background: #fff;
}
.trusted-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.trusted-logos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  align-items: center;
  justify-items: center;
}
@media (max-width: 900px) {
  .trusted-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.trusted-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.trusted-item img {
  display: block;
}
.trusted-item figcaption {
  font-weight: 700;
}

/* Logo grid */
/* Marquee clients */
.marquee {
  overflow: hidden;
  border-radius: 18px;
}
.marquee-track {
  display: flex;
  gap: 22px;
  animation: marquee 60s linear infinite;
  will-change: transform;
}
.marquee-item {
  flex: 0 0 auto;
}
.marquee-item img {
  height: 40px;
  object-fit: contain;
  box-sizing: content-box;
  background: #fff;
  border: 1px solid var(--border);
  padding: 16px 24px;
  border-radius: 18px;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* FAQ styling */
details {
  border-bottom: 1px solid var(--border);
  padding: 0;
  margin: 0 0 8px;
}
details[open] {
  background: #f7f9fc;
  border-radius: 12px;
  padding: 6px;
}
summary {
  list-style: none;
  cursor: pointer;
  font-weight: 800;
  font-size: 22px;
  line-height: 1.3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  position: relative;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 800;
  margin-left: 8px;
  transition: transform 0.25s ease;
  position: absolute;
  right: 12px;
}
details[open] > summary::after {
  content: "—";
  transform: rotate(0);
}
.faq-body {
  color: var(--muted);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
  padding: 0 16px 0;
  transform: translateY(-4px);
}
details[open] .faq-body {
  max-height: 520px;
  opacity: 1;
  margin-top: 8px;
  padding: 0 16px 14px;
  transform: translateY(0);
}

/* Stats strip */
.stats-strip {
  background: #0057ff;
  color: #fff;
  padding: 42px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: center;
}
.stats-item {
  text-align: left;
}
.stats-num {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
}
.stats-text {
  opacity: 0.95;
}
.stats-logos {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 8px;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.team-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}
.team-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  filter: grayscale(1);
}
.team-meta {
  padding: 14px;
}
.team-meta .role {
  color: var(--muted);
  margin-bottom: 6px;
}
.team-meta .name {
  font-weight: 800;
  font-size: 18px;
}

/* About */
.about-headline {
  font-size: 20px;
  font-weight: 800;
  margin: 10px auto 16px;
  text-align: center;
  max-width: 880px;
}
.about-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 0 auto 8px;
}
.about-brand-title {
  font-weight: 900;
  font-size: 28px;
}
.about-center {
  text-align: center;
  margin: 24px auto 22px;
  max-width: 760px;
}
.about-center h3 {
  margin: 0 0 8px;
}
.about-center p {
  margin: 0;
  color: var(--muted);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.about-grid .about-card:first-child {
  padding: 22px;
  border-width: 2px;
}
@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about-grid .about-card:first-child {
    grid-column: 1 / -1;
    max-width: 820px;
    margin: 0 auto;
  }
}
.about-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
}
.about-card h3 {
  margin: 0 0 8px;
}
.about-card p {
  margin: 0;
  color: var(--muted);
}

/* Footer */
/* New footer */
.footer-new {
  background: #0b1220;
  color: #e6eaf2;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 16px;
  padding: 28px 20px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand-name {
  font-weight: 900;
  font-size: 18px;
}
.footer-col h4 {
  margin: 0 0 8px;
  color: #fff;
}
.footer-col p {
  margin: 0;
  color: #b9c1d1;
}
.footer-eu-content {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
/* Clamp address text to 3 lines to prevent stretching */
.footer-eu-content p,
.footer-grid .footer-col:first-of-type p {
  flex: 1;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.footer-iso {
  display: flex;
  gap: 17px;
  align-items: center;
  justify-content: flex-end;
  min-width: 180px;
  flex: 0 0 auto;
  margin-left: auto;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #9aa3b2;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    text-align: center;
  }
  .hero-inner {
    grid-template-areas: "copy" "art" "actions";
  }
  .hero-actions {
    justify-content: center;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .wallet-grid {
    grid-template-columns: 1fr;
  }
  .marquee-track {
    animation-duration: 12s;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .analyze-grid {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .footer-eu-content {
    flex-direction: column;
  }
  .footer-iso {
    justify-content: flex-start;
    margin-left: 0;
  }
  .footer-eu-content p {
    white-space: normal;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    display: block;
    overflow: visible;
  }
  .footer-grid .footer-col:first-of-type p {
    white-space: normal;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    display: block;
    overflow: visible;
  }
}

/* Small screens */
@media (max-width: 640px) {
  .header-inner {
    height: auto;
    gap: 8px;
    padding: 8px 12px;
    justify-content: space-between;
  }
  .nav {
    display: none;
  }
  .burger {
    display: inline-block;
  }
  .header-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
    width: auto;
    flex: 1;
  }
  .header-cta .btn-primary {
    white-space: nowrap;
    padding: 10px 14px;
  }
  .brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: auto;
  }
  .brand-title {
    display: inline-block;
    font-size: 14px;
    margin-left: 6px;
  }
  .hero-art {
    justify-content: center;
  }
  .hero-link img {
    max-width: 320px;
  }
  .hero-note {
    left: 8px;
    right: auto;
    top: -8px;
  }
  .wallet-card {
    width: 100%;
  }
  .wallet-section{padding-top:6px}
  .cw-connect-button.cw-withdraw-button {
    width: 100%;
  }
  .footer-iso img {
    height: 48px;
  }
  .mobile-menu {
    display: none;
    flex-direction: column;
    gap: 12px;
    padding: 12px 20px;
    border-top: 1px solid var(--border);
    background: #fff;
  }
  .mobile-menu.open {
    display: flex;
  }
}
