@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=IBM+Plex+Sans+SC:wght@400;500;600&display=swap');

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

:root {
  --primary: #0b0b0e;
  --primary-light: #1a1a22;
  --secondary: #141416;
  --accent: #ff6a00;
  --accent-2: #ff2d55;
  --accent-3: #ffb347;
  --text: #111118;
  --text-light: #3e3e4a;
  --text-muted: #7a7a86;
  --bg: #fdf8f3;
  --bg-alt: #f6eee6;
  --border: #eadfd3;
  --border-dark: #2b2b33;
  --shadow-sm: 0 6px 18px rgba(10, 10, 18, 0.08);
  --shadow: 0 14px 34px rgba(10, 10, 18, 0.12);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-full: 999px;
  --container: 1180px;
  --header-height: 64px;
  --transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Space Grotesk", "IBM Plex Sans SC", "Noto Sans SC", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(253, 248, 243, 0.9);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.logo-img {
  height: 26px;
  width: auto;
  display: block;
}

.logo-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.04);
  border: none;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }

.nav-toggle.active span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.nav-list {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-list a {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.95rem;
  color: var(--text-light);
  transition: var(--transition);
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--primary);
  background: rgba(255, 106, 0, 0.1);
}

.nav-contact {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff !important;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 70px;
  background: radial-gradient(circle at 20% 10%, #fff2e3 0%, transparent 55%),
    radial-gradient(circle at 80% 0%, #ffe0c7 0%, transparent 50%),
    linear-gradient(180deg, #fff6ed 0%, var(--bg) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 106, 0, 0.1);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(2rem, 3vw + 1rem, 3.2rem);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-desc {
  color: var(--text-light);
  margin-bottom: 28px;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--primary);
  color: #fff;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.highlight-card {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.highlight-card span {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.hero-visual {
  position: relative;
}

.hero-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.hero-img {
  width: 100%;
  height: auto;
}

.hero-orbs .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  mix-blend-mode: multiply;
  opacity: 0.6;
  transform: translate3d(var(--mx, 0px), var(--my, 0px), 0);
  transition: transform 0.2s ease-out;
}

.hero-orbs .orb-1 {
  width: 180px;
  height: 180px;
  left: -40px;
  top: 30%;
  background: radial-gradient(circle, rgba(255, 106, 0, 0.7), transparent 60%);
}

.hero-orbs .orb-2 {
  width: 260px;
  height: 260px;
  right: -60px;
  top: 10%;
  background: radial-gradient(circle, rgba(255, 45, 85, 0.6), transparent 60%);
}

.hero-orbs .orb-3 {
  width: 160px;
  height: 160px;
  right: 10%;
  bottom: -40px;
  background: radial-gradient(circle, rgba(255, 179, 71, 0.6), transparent 60%);
}

.section {
  padding: 78px 0;
}

.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 2vw + 1rem, 2.3rem);
  margin-bottom: 12px;
}

.section-desc {
  text-align: center;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 40px;
}

.core {
  background: #fff6ee;
}

.core-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.core-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.core-card h3 {
  margin-bottom: 10px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 30px;
}

.section-head p {
  color: var(--text-light);
  max-width: 520px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.product-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-media {
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 14px;
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.compare-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.compare-table th {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
}

.compare-table td:first-child,
.compare-table th:first-child {
  text-align: left;
}

.compare-table tbody tr:hover td {
  background: rgba(255, 106, 0, 0.06);
}

.product-compare {
  margin-top: 36px;
}

.product-compare h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.product-compare p {
  color: var(--text-light);
  margin-bottom: 16px;
}

.download {
  background: linear-gradient(180deg, #fff1e3 0%, #fff8f2 100%);
}

.download-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.download-list li {
  padding: 8px 0;
  color: var(--text-light);
}

.download-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.buy {
  background: #fff6ed;
}

.buy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.buy-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.chip {
  display: inline-flex;
  margin-top: 14px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 106, 0, 0.1);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 600;
}

.coins {
  background: #fff9f3;
}

.coin-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.coin-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 8px;
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  justify-items: start;
}

.coin-item img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.partners {
  background: #fff3ea;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  align-items: center;
}

.partner-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: grid;
  place-items: center;
  min-height: 90px;
}

.partner-item img {
  max-height: 44px;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: var(--transition);
}

.partner-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.faq-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 10px 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  padding: 10px 0;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  color: var(--text-light);
  padding-bottom: 12px;
}

.contact-card {
  background: linear-gradient(135deg, #141416, #1f1b17);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 60px 50px;
  text-align: center;
  box-shadow: var(--shadow);
}

.contact-card p {
  margin: 12px auto 24px;
  color: rgba(255, 255, 255, 0.7);
}

.site-footer {
  padding: 48px 0 30px;
  background: var(--primary);
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
}

.footer-grid p {
  color: rgba(255, 255, 255, 0.6);
}

.footer-grid ul li {
  margin-bottom: 10px;
}

.footer-grid a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
  text-align: center;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.9rem;
}

.footer-logo {
  height: 24px;
  width: auto;
  display: block;
  margin-bottom: 10px;
  filter: invert(1);
}

.floating-contact {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 200;
}

.floating-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow);
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.floating-btn::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.45), transparent 60%);
  opacity: 0.4;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: 0.6s ease;
}

.reveal.reveal-in {
  opacity: 1;
  transform: translateY(0);
}

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

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

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

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

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

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

  .coin-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .faq-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 14px;
    right: 16px;
    z-index: 600;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 15, 20, 0.12);
  }

  .nav-list {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 12, 0.45);
    width: 100%;
    height: 100vh;
    margin-left: 0;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
    gap: 0;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateX(100%);
    transition: transform var(--transition);
    overflow-y: auto;
    z-index: 500;
    box-shadow: none;
  }

  .nav-list.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }

  .nav-list::after {
    content: "";
    width: min(78vw, 320px);
    height: 100%;
    background: #fff7f0;
    box-shadow: -20px 0 40px rgba(15, 15, 20, 0.12);
    position: absolute;
    right: 0;
    top: 0;
    z-index: -1;
  }

  .nav-list li {
    width: min(78vw, 320px);
    padding: 0 18px;
    margin: 0;
    display: block;
  }

  .nav-list a {
    width: 100%;
    text-align: left;
    padding: 14px 18px;
    font-size: 1rem;
    border-radius: 10px;
    background: #fff;
    color: var(--text);
    box-shadow: none;
    display: block;
  }

  .nav-list a:hover,
  .nav-list a.active {
    background: #ffe7d4;
    color: var(--primary);
  }

  .nav-list li:first-child {
    margin-top: 76px;
  }

  .nav-list li:last-child {
    margin-bottom: 24px;
  }

  .nav-list li + li {
    margin-top: 10px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-grid,
  .buy-grid,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .core-grid {
    grid-template-columns: 1fr;
  }

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

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

  .contact-card {
    padding: 40px 24px;
  }

  .floating-btn span {
    display: inline;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 70px 0 50px;
  }

  .floating-btn {
    padding: 10px 14px;
  }
}
