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

:root {
  --bg-dark: #05070a;
  --bg-panel: rgba(255, 255, 255, 0.03);
  --bg-panel-hover: rgba(255, 255, 255, 0.06);
  --border-color: rgba(255, 255, 255, 0.08);
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --primary-green: #10b981;
  --primary-green-glow: rgba(16, 185, 129, 0.4);
  --primary-gold: #f59e0b;
  --primary-gold-glow: rgba(245, 158, 11, 0.4);
  --primary-blue: #3b82f6;
  --primary-blue-glow: rgba(59, 130, 246, 0.4);
  --font-main: 'Outfit', sans-serif;
}

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

html, body {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
}

img, svg {
  max-width: 100%;
}

/* Background Effects */
.bg-glow-1 {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--primary-blue-glow) 0%, transparent 70%);
  opacity: 0.3;
  z-index: -1;
  pointer-events: none;
}
.bg-glow-2 {
  position: absolute;
  top: 20%;
  right: -10%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, var(--primary-green-glow) 0%, transparent 70%);
  opacity: 0.2;
  z-index: -1;
  pointer-events: none;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 4rem;
  letter-spacing: -0.02em;
  background: linear-gradient(to right, #ffffff, #a5b4fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.text-gradient-blue {
  background: linear-gradient(to right, #60a5fa, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-green {
  background: linear-gradient(to right, #34d399, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(to right, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

p {
  color: var(--text-muted);
  font-size: 1.125rem;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 6rem 0;
  position: relative;
}

/* Navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 0;
  background: rgba(5, 7, 10, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--text-main);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--text-main);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.5);
}

.btn-outline-gold {
  background: transparent;
  color: var(--primary-gold);
  border: 1px solid var(--primary-gold);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.1);
}

.btn-outline-gold:hover {
  background: rgba(245, 158, 11, 0.1);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

/* Hero Section */
.hero {
  padding-top: 10rem;
  text-align: center;
}

.hero p {
  max-width: 800px;
  margin: 1.5rem auto 2.5rem;
  font-size: 1.25rem;
}

.badges {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.badge {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary-blue);
  backdrop-filter: blur(4px);
}

.tagline {
  display: inline-block;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-green);
  margin-bottom: 1rem;
  font-weight: 600;
}

.tech-stack {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Stats Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: -3rem;
}

.stat-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: transform 0.3s;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.2);
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Sections General */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: inline-block;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary-blue);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Grid Layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.card {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.card:hover {
  background: var(--bg-panel-hover);
  border-color: rgba(255,255,255,0.15);
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.icon-blue { background: rgba(59, 130, 246, 0.1); color: var(--primary-blue); }
.icon-green { background: rgba(16, 185, 129, 0.1); color: var(--primary-green); }
.icon-gold { background: rgba(245, 158, 11, 0.1); color: var(--primary-gold); }

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.card p {
  font-size: 0.95rem;
}

/* Calculator Section */
.calculator-panel {
  background: linear-gradient(180deg, rgba(20, 25, 35, 0.8) 0%, rgba(10, 12, 18, 0.8) 100%);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 3rem;
  backdrop-filter: blur(10px);
}

.slider-group {
  margin-bottom: 2rem;
}
.slider-group label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-weight: 500;
}

input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: var(--primary-green);
  cursor: pointer;
  margin-top: -8px;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}
input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 4px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}
.calc-results {
  background: rgba(0,0,0,0.3);
  border-radius: 16px;
  padding: 2rem;
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
}
.res-item h4 {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.res-item .val {
  font-size: 1.8rem;
  font-weight: 700;
}
.res-item.green .val { color: var(--primary-green); }
.res-item.gold .val { color: var(--primary-gold); }
.res-item.blue .val { color: var(--primary-blue); }

/* Table */
.table-wrapper {
  overflow-x: auto;
  background: var(--bg-panel);
  border-radius: 16px;
  border: 1px solid var(--border-color);
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
th, td {
  padding: 1.2rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
th {
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  background: rgba(0,0,0,0.2);
}
tr:last-child td { border-bottom: none; }
tr:hover { background: rgba(255,255,255,0.02); }

/* Pie Chart placeholder */
.pie-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.pie-chart {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: conic-gradient(
    #3b82f6 0% 50%,
    #fbbf24 50% 70%,
    #10b981 70% 80%,
    #f43f5e 80% 90%,
    #8b5cf6 90% 100%
  );
  position: relative;
  box-shadow: 0 0 30px rgba(0,0,0,0.5);
}
.pie-chart::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  background: var(--bg-dark);
  border-radius: 50%;
}
.pie-legend {
  list-style: none;
}
.pie-legend li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}
.pie-marker {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

/* Footer */
footer {
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
  text-align: center;
}
.footer-cta {
  margin-bottom: 4rem;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  h1 { font-size: 3.2rem; }
  h2 { font-size: 2.5rem; }
  .calc-results { grid-template-columns: repeat(3, 1fr); }
  .nav-links { gap: 1rem; }
}

@media (max-width: 768px) {
  .grid-3 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); margin-top: 2rem; }
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2.2rem; }
  .calc-results { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  section { padding: 4rem 0; }
  .footer-bottom { flex-direction: column; gap: 1.5rem; text-align: center; }
  .table-wrapper { padding: 0.5rem; margin: 0 -1rem; border-radius: 0; border-left: none; border-right: none; }
  .pie-wrapper { flex-direction: column; text-align: center; }
  
  /* Mobile Alignment Enhancements */
  .card { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .card svg { margin: 0 auto 1.5rem auto; }
  .nft-row { flex-direction: column !important; justify-content: center !important; text-align: center; gap: 0.8rem; }
  .nft-row > div { flex-direction: column !important; gap: 0.5rem !important; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  .card, .pie-wrapper, .calculator-panel, .faixa-card { padding: 1.5rem; }
  .section-header { margin-bottom: 2.5rem; }
  .footer-cta h2 { font-size: 2rem; }
}

/* Subtle Scroll Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Floating Animation for Coin */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

.floating-coin {
  animation: float 4s ease-in-out infinite;
}
