html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  background-color: #000;
  color: #eee;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0.5em 0;
  font-weight: 700;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.3rem;
}

p {
  margin: 0.5em 0 1em;
}

a {
  color: #eb0029;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  padding: 0 1.5rem;
  margin: 0 auto;
}

section {
  padding: 60px 0;
}

#hero {

  background: radial-gradient(circle at center, rgba(235, 0, 41, 0.25) 0%, #000 70%);
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 90vh;
}

#hero .container {
  text-align: center;
}

#hero h1 {
  color: #fff;
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

#hero p {
  color: #ccc;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.75em 1.5em;
  font-weight: 600;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

.btn-primary {
  background: linear-gradient(to bottom, #eb0029, #c00025);
  color: #fff;
  margin-right: 1em;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
  background: #c00025;
}

.btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
  background: transparent;
  color: #eb0029;
  border: 2px solid #eb0029;
}

.btn-secondary:hover {
  background: #eb0029;
  color: #fff;
}

#why {
  background: #000;
  text-align: center;
}

#why h2 {
  color: #fff;
  margin-bottom: 2rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: #111;
  border: 1px solid #222;
  border-radius: 8px;
  padding: 2rem 1rem;
  text-align: center;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: #eb0029;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 32px;
  height: 32px;
}

.feature-card h3 {
  color: #fff;
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.feature-card p {
  color: #ccc;
  font-size: 0.95rem;
  margin: 0;
}

#comparison {
  background: #000;
}

#comparison h2 {
  color: #fff;
  text-align: center;
  margin-bottom: 1.5rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.comparison-table th,
.comparison-table td {
  padding: 0.75rem 1rem;
  text-align: left;
}

.comparison-table th {
  background: #111;
  color: #fff;
  font-weight: 700;
}

.comparison-table thead th {
  border-bottom: 2px solid #eb0029;
}

.comparison-table td {
  color: #ccc;
}

.comparison-table td+td,
.comparison-table th+th {
  border-left: 1px solid #333;
}

.comparison-table tr {
  border-bottom: 1px solid #333;
}

.comparison-table tbody tr:last-child {
  border-bottom: none;
}

#how-it-works {
  background: #000;
  text-align: center;
}

#how-it-works h2 {
  color: #fff;
  margin-bottom: 2rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.step {
  text-align: center;
  padding: 1rem;
}

.step-icon {
  font-size: 2rem;
  color: #eb0029;
  margin-bottom: 0.5rem;
}

.step-icon svg {
  width: 28px;
  height: 28px;
}

.step h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.step p {
  color: #ccc;
  font-size: 0.95rem;
  margin: 0;
  padding: 0 0.5rem;
}

#explore {
  background: #000;
  text-align: center;
}

#explore h2 {
  color: #fff;
  margin-bottom: 2rem;
}

.nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
}

.nav-card {
  display: block;
  background: #111;
  border: 1px solid #222;
  border-radius: 8px;
  padding: 1.5rem 1rem;
  text-align: center;
  color: #fff;
  text-decoration: none;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

.nav-card .nav-icon {
  display: block;
  margin: 0 auto 0.5rem;
  color: #fff;
}

.nav-card .nav-icon svg {
  width: 24px;
  height: 24px;
}

.nav-card span {
  display: block;
  font-weight: 600;
}

.nav-card:hover {
  background: #1a1a1a;
  border-color: #eb0029;
  color: #eb0029;
}

footer {
  background: #111;
  padding: 1.5rem 0;
  text-align: center;
  color: #aaa;
}

footer a {
  color: #aaa;
  margin: 0 0.5rem;
  display: inline-block;
}

footer a:hover {
  color: #fff;
}

footer svg {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  fill: currentColor;
}

#chat-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: #eb0029;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(235, 0, 41, 0.5);
  z-index: 999;
  transition: transform 0.2s;
}

#chat-btn:hover {
  transform: scale(1.05);
}

#chat-panel {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 300px;
  max-height: 400px;
  background: #202020;
  border: 1px solid #333;
  border-radius: 8px;
  display: none;
  flex-direction: column;
  z-index: 1000;
}

#chat-header {
  background: #282828;
  padding: 0.75rem;
  border-bottom: 1px solid #333;
}

#chat-header h4 {
  margin: 0;
  font-size: 1rem;
}

#chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem;
}

.message {
  margin-bottom: 0.75rem;
}

.message.user {
  text-align: right;
}

.message span {
  display: inline-block;
  background: #333;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  max-width: 80%;
  word-wrap: break-word;
}

.message.user span {
  background: #c00025;
}

#chat-input-container {
  display: flex;
  border-top: 1px solid #333;
}

#chat-input {
  flex: 1;
  border: none;
  padding: 0.75rem;
  background: #2a2a2a;
  color: #e0e0e0;
}

#chat-input:focus {
  outline: none;
}

#send-btn {
  background: #eb0029;
  border: none;
  color: #fff;
  width: 60px;
  cursor: pointer;
}

@media (max-width: 600px) {
  #chat-panel {
      width: 90%;
      right: 5%;
      bottom: 90px;
  }
}

.btn-connected {
  background-color: green;
  color: white;
  cursor: not-allowed;
}

#wallet-address {
  font-size: 14px;
  color: #333;
  margin-top: 10px;
}

.pro-badge {
  background: #f5b401ec;
  padding: 0.3em 0.6em;
  border-radius: 5px;
  color: #ffffff;
  font-weight: bold;
  margin-left: 0.5rem;
}

.free-badge {
  background: #666;
  padding: 0.3em 0.6em;
  border-radius: 5px;
  color: #fff;
  font-weight: bold;
  margin-left: 0.5rem;
}

footer a svg {
  margin: 0 0.5rem;
  vertical-align: middle;
}