:root {
  --bg-app: #000000;
  --bg-surface: #0a0a0a;
  --bg-surface-elevated: #121212;
  --bg-surface-subtle: #1a1a1a;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-muted: rgba(255, 255, 255, 0.15);
  --border-glow: rgba(37, 99, 235, 0.4);
  
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-tertiary: #71717a;
  
  --accent-primary: #2563eb;
  --accent-primary-hover: #1d4ed8;
  --accent-blue: #3b82f6;
  --accent-cyan: #0ea5e9;
  --accent-success: #10b981;
  --accent-danger: #ef4444;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Monaco, monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  max-width: 100%;
}

html, body {
  background-color: #000000;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100vw;
  position: relative;
}

.fullscreen-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 800px;
  background-color: #000000;
  background-image: 
    radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.15) 0%, transparent 60%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 56px 56px, 56px 56px;
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}

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

.landing-nav-container {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 0;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}

.landing-nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo-badge {
  background-color: #2563eb;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.03em;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.hero-split-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  min-height: calc(100vh - 85px);
  padding: 30px 0 50px 0;
}

.zebec-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background-color: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 30px;
  font-size: 0.76rem;
  color: #93c5fd;
  margin-bottom: 18px;
}

.hero-main-title {
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: #ffffff;
  word-break: break-word;
}

.hero-subtext {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 28px;
  max-width: 540px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  background-color: #2563eb;
  border: 1px solid #2563eb;
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary:hover {
  background-color: #1d4ed8;
  border-color: #1d4ed8;
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #111111;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-secondary:hover {
  background-color: #1a1a1a;
  border-color: #3b82f6;
}

.hero-glass-terminal {
  background-color: #0c0c0c;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
  position: relative;
  width: 100%;
}

.hero-glass-terminal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background-color: #2563eb;
}

.impact-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 40px 0 70px 0;
}

.impact-box {
  background-color: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 18px 20px;
  transition: all 0.2s ease;
}

.impact-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 2px;
}

.impact-lbl {
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 60px;
}

.bento-card {
  background-color: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 20px;
  transition: all 0.2s ease;
}

.bento-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: #ffffff;
}

.bento-card-desc {
  color: var(--text-secondary);
  font-size: 0.84rem;
  line-height: 1.5;
}

.section-tagline {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #60a5fa;
  margin-bottom: 6px;
  display: inline-block;
}

.section-title {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1.15;
  color: #ffffff;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-card {
  background-color: #0c0c0c;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  width: 100%;
  max-width: 400px;
  padding: 22px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.95);
}

.app-wrapper {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 16px 24px 50px 24px;
  background-color: #000000;
}

header.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background-color: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  margin-bottom: 18px;
  width: 100%;
}

.brand-section {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-tabs {
  display: flex;
  gap: 3px;
  background-color: #000000;
  padding: 3px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tab-btn {
  background: transparent;
  border: none;
  color: #71717a;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  text-decoration: none;
}

.tab-btn:hover {
  color: var(--text-primary);
}

.tab-btn.active {
  background-color: #18181b;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
  width: 100%;
}

.stat-box {
  background-color: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 16px;
  border-radius: 10px;
  min-width: 0;
}

.stat-label {
  font-size: 0.68rem;
  color: #60a5fa;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stat-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 2px;
  font-family: var(--font-mono);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.main-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  width: 100%;
}

.panel {
  background-color: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px;
  width: 100%;
  min-width: 0;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-title {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: #a1a1aa;
  margin-bottom: 6px;
}

.input-container {
  display: flex;
  background-color: #000000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s;
  width: 100%;
}

.input-container:focus-within {
  border-color: var(--accent-primary);
}

.input-field {
  flex: 1;
  background: transparent;
  border: none;
  padding: 10px 14px;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.92rem;
  outline: none;
  min-width: 0;
  width: 100%;
}

.token-tag {
  background-color: #18181b;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 0.8rem;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  white-space: nowrap;
  flex-shrink: 0;
}

.table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 8px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
  white-space: nowrap;
}

.data-table th {
  text-align: left;
  padding: 10px 12px;
  font-size: 0.68rem;
  text-transform: uppercase;
  color: #60a5fa;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background-color: #0a0a0a;
}

.data-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #a1a1aa;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: var(--font-sans);
  white-space: nowrap;
}

.badge-success { background-color: rgba(16, 185, 129, 0.15); color: var(--accent-success); border: 1px solid rgba(16, 185, 129, 0.35); }
.badge-danger  { background-color: rgba(239, 68, 68, 0.15); color: var(--accent-danger); border: 1px solid rgba(239, 68, 68, 0.35); }
.badge-neutral { background-color: #18181b; color: #a1a1aa; border: 1px solid rgba(255, 255, 255, 0.08); }

/* Responsive Media Queries (Mobile First UX Standards) */
@media (max-width: 1024px) {
  .hero-split-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 24px 0 40px 0;
    gap: 24px;
  }
  .main-grid {
    grid-template-columns: 1fr;
  }
  .stat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .wide-container, .app-wrapper {
    padding: 12px 14px 40px 14px;
  }
  
  .landing-nav-container {
    padding: 10px 0;
  }
  
  .landing-nav-links {
    display: none !important;
  }

  .landing-nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .hero-main-title {
    font-size: 2.1rem !important;
    line-height: 1.15;
  }

  .hero-subtext {
    font-size: 0.9rem !important;
    margin-bottom: 20px;
  }

  .hero-glass-terminal {
    padding: 16px;
  }

  .impact-strip-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin: 24px 0 40px 0;
  }

  .impact-box {
    padding: 12px 14px;
  }

  .impact-num {
    font-size: 1.35rem;
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .bento-card {
    padding: 14px;
  }

  .bento-card-title {
    font-size: 0.92rem;
  }

  .bento-card-desc {
    font-size: 0.78rem;
  }

  header.app-header {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 10px 12px;
  }

  .brand-section {
    justify-content: space-between;
    width: 100%;
  }

  .header-right {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 8px;
  }

  #network-indicator {
    padding: 6px 8px !important;
    font-size: 0.72rem !important;
  }

  #btn-connect-wallet {
    padding: 7px 14px !important;
    font-size: 0.78rem !important;
    flex: 1;
    text-align: center;
    justify-content: center;
  }

  .nav-tabs {
    width: 100%;
    display: flex;
    justify-content: space-between;
  }

  .tab-btn {
    flex: 1;
    text-align: center;
    padding: 7px 4px;
    font-size: 0.74rem;
  }

  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .stat-box {
    padding: 10px 12px;
  }

  .stat-val {
    font-size: 0.98rem;
  }

  .panel {
    padding: 14px;
  }

  .input-field {
    padding: 9px 12px;
    font-size: 0.86rem;
  }

  .token-tag {
    padding: 9px 12px;
    font-size: 0.76rem;
  }

  .btn-primary, .btn-secondary {
    padding: 10px 16px;
    font-size: 0.82rem;
  }

  .section-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .bento-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .hero-main-title {
    font-size: 1.85rem !important;
  }

  .stat-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .impact-strip-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
