@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-main: #0a0a0c;
  --bg-card: #141416;
  --bg-card-hover: #1c1c1e;
  --bg-nav: rgba(10, 10, 12, 0.85);
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-glow: rgba(37, 99, 235, 0.25);
  --text-white: #ffffff;
  --text-gray: #8e8e93;
  --text-light: #e5e5ea;
  --border-color: #242426;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  background-color: var(--bg-main);
  color: var(--text-light);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-white);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background-color: var(--bg-nav);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo-container {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.logo-sub {
  font-size: 12px;
  color: var(--text-gray);
  font-weight: 500;
}

.logo-container .site-logo,
.footer-app-box .site-logo {
  height: 30px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-gray);
}

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

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.icon-btn {
  background: transparent;
  border: none;
  color: var(--text-gray);
  cursor: pointer;
  font-size: 18px;
  transition: var(--transition);
}

.icon-btn:hover {
  color: var(--text-white);
}

/* Button Component Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-white);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 0 20px var(--primary-glow);
}

.btn-secondary {
  background-color: #1c1c1e;
  color: var(--text-white);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: #2c2c2e;
  border-color: var(--text-gray);
}

.btn-link {
  background: transparent;
  color: var(--text-white);
  padding: 10px 16px;
}

.btn-link:hover {
  color: var(--text-gray);
}

.btn-round-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--text-white);
  cursor: pointer;
  transition: var(--transition);
}

.btn-round-icon:hover {
  border-color: var(--text-white);
  background-color: rgba(255, 255, 255, 0.05);
}

/* Mobile Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1010;
}

.hamburger span {
  width: 100%;
  height: 2px;
  background-color: var(--text-white);
  transition: var(--transition);
  border-radius: 2px;
}

/* Mobile Navigation Drawer */
.mobile-nav {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-main);
  z-index: 999;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  transform: translateX(-100%);
  transition: var(--transition);
  border-top: 1px solid var(--border-color);
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-nav-links a {
  font-size: 20px;
  font-weight: 600;
}

/* Hero Section */
.hero {
  padding: 180px 0 100px 0;
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
}

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

.hero-content h1 {
  font-size: 64px;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero-content p {
  font-size: 18px;
  color: var(--text-gray);
  margin-bottom: 36px;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Graphic Hero Visuals */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-sphere {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, rgba(10, 10, 12, 0) 70%);
  position: absolute;
  z-index: -1;
}

.visual-artwork {
  width: 100%;
  max-width: 380px;
  height: auto;
}

/* What's New Section */
.whats-new {
  padding: 100px 0;
  border-top: 1px solid var(--border-color);
}

.whats-new h2 {
  font-size: 40px;
  margin-bottom: 48px;
}

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

.news-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.news-card:hover {
  background-color: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.news-num {
  font-size: 14px;
  color: var(--text-gray);
  font-weight: 600;
  margin-bottom: 12px;
}

.news-card h3 {
  font-size: 20px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.news-illustration {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 48px;
}

.news-desc {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.5;
}

/* Investors Section */
.investors {
  padding: 80px 0;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.investors h2 {
  font-size: 32px;
  margin-bottom: 40px;
}

.investor-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.investor-circle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background-color: #18181b;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.05em;
  transition: var(--transition);
}

.investor-circle:hover {
  border-color: var(--text-gray);
  background-color: #202023;
}

/* Fees / Swappable Feature Section */
.fee-promo {
  padding: 100px 0;
  border-top: 1px solid var(--border-color);
}

.fee-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: center;
}

.fee-tabs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fee-tab-btn {
  background-color: transparent;
  border: 1px solid var(--border-color);
  border-radius: 100px;
  padding: 18px 28px;
  text-align: left;
  color: var(--text-gray);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fee-tab-btn:hover {
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
}

.fee-tab-btn.active {
  background-color: var(--bg-card);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-white);
}

.fee-display-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 48px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.fee-box {
  background-color: #fffde6;
  color: #111113;
  width: 180px;
  height: 180px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  font-weight: 800;
  font-family: var(--font-display);
}

.fee-box-text {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  max-width: 320px;
}

/* Featured On Section */
.featured-on {
  padding: 80px 0;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.featured-on h2 {
  font-size: 28px;
  margin-bottom: 40px;
  color: var(--text-gray);
}

.featured-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.featured-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.featured-badge {
  background-color: #18181b;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-gray);
  min-width: 180px;
}

/* App Download Banner */
.app-banner {
  padding: 80px 0;
  background-color: var(--bg-main);
}

.app-card {
  background-color: #ffffff;
  color: #0b0b0c;
  border-radius: 32px;
  padding: 60px 80px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.app-card h2 {
  color: #0b0b0c;
  font-size: 48px;
  margin-bottom: 12px;
}

.app-card p {
  font-size: 20px;
  color: #48484a;
  margin-bottom: 32px;
}

.app-card .logo {
  color: #0b0b0c;
}

.mockup-container {
  display: flex;
  justify-content: center;
  position: relative;
}

.app-mockup {
  width: 100%;
  max-width: 280px;
  border-radius: 36px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.faq {
  padding: 100px 0;
  border-top: 1px solid var(--border-color);
}

.faq h2 {
  font-size: 40px;
  margin-bottom: 48px;
  text-align: center;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
}

.faq-question h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-white);
}

.faq-toggle-icon {
  font-size: 24px;
  color: var(--text-gray);
  transition: var(--transition);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
  color: var(--text-gray);
  font-size: 15px;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 24px;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
}

/* Detailed Footer */
footer {
  background-color: #050506;
  border-top: 1px solid var(--border-color);
  padding: 80px 0 40px 0;
}

.footer-grid-detailed {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-app-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.qr-code-placeholder {
  width: 120px;
  height: 120px;
  background-color: #ffffff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.qr-code-placeholder img {
  width: 100%;
  height: 100%;
}

.store-badge {
  display: inline-block;
  height: 36px;
  width: auto;
}

.footer-links-col h4 {
  font-size: 14px;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-col ul a {
  font-size: 14px;
  color: var(--text-gray);
}

.footer-links-col ul a:hover {
  color: var(--text-white);
}

.footer-bottom-detailed {
  border-top: 1px solid var(--border-color);
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-social-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-address {
  font-size: 12px;
  color: var(--text-gray);
}

.social-icons-list {
  display: flex;
  gap: 16px;
}

.social-icon-btn {
  font-size: 18px;
  color: var(--text-gray);
  transition: var(--transition);
}

.social-icon-btn:hover {
  color: var(--text-white);
}

.copyright-text {
  font-size: 12px;
  color: #3a3a3c;
  text-align: center;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 48px;
  }
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid-detailed {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  header {
    height: 70px;
  }
  .mobile-nav {
    top: 70px;
  }
  .hamburger {
    display: flex;
  }
  .nav-links, .header-right .btn, .header-right .icon-btn:not(#menuToggle) {
    display: none;
  }
  .hero {
    padding: 120px 0 60px 0;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-buttons {
    justify-content: center;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .fee-grid {
    grid-template-columns: 1fr;
  }
  .fee-display-card {
    flex-direction: column;
    text-align: center;
    padding: 32px;
  }
  .app-card {
    grid-template-columns: 1fr;
    padding: 40px 24px;
    text-align: center;
  }
  .footer-grid-detailed {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Fees & Limits Page */
.fees-page {
  padding: 120px 0 80px;
  min-height: 100vh;
}

.fees-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.fees-header h1 {
  font-size: 40px;
  font-weight: 700;
}

.fees-updated {
  font-size: 13px;
  color: var(--text-gray);
  white-space: nowrap;
}

.fees-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}

.fees-sidebar {
  position: sticky;
  top: 100px;
  border-right: 1px solid var(--border-color);
  padding-right: 24px;
}

.fees-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fees-nav-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 16px;
  background: transparent;
  border: none;
  border-left: 3px solid transparent;
  color: var(--text-gray);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition);
  border-radius: 0 6px 6px 0;
}

.fees-nav-btn:hover {
  color: var(--text-white);
  background-color: rgba(255, 255, 255, 0.03);
}

.fees-nav-btn.active {
  color: var(--text-white);
  background-color: rgba(255, 255, 255, 0.06);
  border-left-color: var(--primary);
}

.fees-panel {
  display: none;
}

.fees-panel.active {
  display: block;
}

.fees-section {
  margin-bottom: 48px;
}

.fees-section:last-child {
  margin-bottom: 0;
}

.fees-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  gap: 16px;
}

.fees-section h2 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

.fees-section-header h2 {
  margin-bottom: 0;
}

.fees-desc {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 720px;
}

.fees-desc a {
  color: var(--primary);
  text-decoration: underline;
}

.fees-table-wrap {
  overflow-x: auto;
}

.fees-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.fees-table thead th {
  text-align: left;
  padding: 14px 16px;
  color: var(--text-gray);
  font-weight: 500;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.fees-table tbody td {
  padding: 16px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-light);
}

.fees-table tbody tr:last-child td {
  border-bottom: none;
}

.fees-table .col-right {
  text-align: right;
}

.fees-table.accounts-table thead th:not(:first-child),
.fees-table.accounts-table tbody td:not(:first-child) {
  text-align: center;
}

.fees-footnote {
  font-size: 12px;
  color: var(--text-gray);
  margin-top: 12px;
  line-height: 1.6;
}

.fees-search {
  position: relative;
  flex-shrink: 0;
}

.fees-search input {
  width: 200px;
  padding: 8px 12px 8px 36px;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--text-white);
  font-size: 13px;
  font-family: var(--font-body);
  outline: none;
  transition: var(--transition);
}

.fees-search input:focus {
  border-color: rgba(255, 255, 255, 0.2);
}

.fees-search input::placeholder {
  color: var(--text-gray);
}

.fees-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-gray);
  font-size: 14px;
  pointer-events: none;
}

.fees-tier-table thead th:first-child {
  width: 80px;
}

.staking-expandable {
  cursor: pointer;
}

.staking-expandable td:last-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.staking-chevron {
  color: var(--text-gray);
  transition: transform 0.2s ease;
  font-size: 12px;
}

.staking-expandable.open .staking-chevron {
  transform: rotate(180deg);
}

.staking-sub-row td {
  padding-left: 32px;
  color: var(--text-gray);
  font-size: 13px;
}

.staking-sub-row {
  display: none;
}

.staking-expandable.open + .staking-sub-row,
.staking-sub-row.show {
  display: table-row;
}

.footer-selectors {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.footer-select {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-light);
  background: transparent;
  cursor: pointer;
}

@media (max-width: 900px) {
  .fees-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .fees-sidebar {
    position: static;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding-right: 0;
    padding-bottom: 24px;
  }

  .fees-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .fees-nav-btn {
    border-left: none;
    border-bottom: 2px solid transparent;
    border-radius: 6px;
    padding: 10px 14px;
  }

  .fees-nav-btn.active {
    border-left-color: transparent;
    border-bottom-color: var(--primary);
  }

  .fees-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .fees-header h1 {
    font-size: 32px;
  }

  .fees-search input {
    width: 160px;
  }
}
