:root {
  --bg-color: #222;
  --bg-secondary: #0a0a0a;
  --text-primary: #ffffff;
  --text-secondary: #888888;
  --accent-color: #bfa8e6;
  /* Lilac */
  --accent-hover: #a18bd1;
  --panel-bg: #111111;
  --panel-border: #222222;
  --border-radius: 12px;
}

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

body {
  font-family: 'Outfit', -apple-system, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.text-gradient {
  color: var(--accent-color);
}

/* Remove glows */
.ambient-glow {
  display: none;
}

/* Panels (replacing Glass) */
.glass {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: var(--border-radius);
  box-shadow: none;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  display: flex;
  justify-content: center;
  z-index: 100;
  border-radius: 16px;
  padding: 16px 24px;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.logo-icon {
  width: auto;
  padding: 4px 10px;
  background: #333333;
  border-radius: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.2s ease;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  gap: 8px;
  font-size: 1rem;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.95rem;
}

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

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

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid #333;
}

.btn-outline:hover {
  background: var(--panel-bg);
  border-color: #555;
}

/* Hero Section */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 40px 0px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 6px;
  background: #1a1a1a;
  border: 1px solid #333;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: 4.0rem;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 8px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  color: #e2e8f0;
}

/* Subscribe Card */
.subscribe-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.subscribe-card h3 {
  font-size: 1.5rem;
}

.subscribe-form {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.subscribe-form input {
  flex: 1;
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--bg-color);
  border: 1px solid var(--panel-border);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.subscribe-form input:focus {
  border-color: var(--text-primary);
}

/* Form Message */
.hidden {
  display: none;
}

#form-message {
  font-size: 0.95rem;
  color: var(--accent-color);
  margin-top: 8px;
  font-weight: 600;
}

/* Animations */
.slide-in-bottom {
  animation: slideInBottom 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideInBottom {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.stagger-1 {
  animation: slideInBottom 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.stagger-2 {
  animation: slideInBottom 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

/* Mockup UI */
.app-mockup {
  width: 100%;
  max-width: 420px;
  margin: 20px auto 0;
  border-radius: 20px;
  padding: 32px;
  position: relative;
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  transform: rotate(-3deg) translateY(0px) scale(0.98);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}

.app-mockup:hover {
  transform: rotate(0deg) translateY(-8px) scale(1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.mockup-mascot {
  position: absolute;
  top: -29px;
  right: 21px;
  width: 124px;
  height: auto;
  z-index: 20;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
  pointer-events: none;
  transform: scaleX(-1);
}

.mockup-header {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.red {
  background: #ff453a;
}

.yellow {
  background: #ffd60a;
}

.green {
  background: #32d74b;
}

.balance {
  font-size: 3rem;
  margin-top: 8px;
  letter-spacing: -0.04em;
}

.label {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

.trend {
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 8px;
}

.trend.positive {
  color: #32d74b;
}

.action-row {
  display: flex;
  justify-content: space-between;
  margin: 40px 0;
}

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-color);
  border: 1px solid var(--panel-border);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.2s;
  cursor: pointer;
}

.circle:hover {
  background: #222;
}

.asset-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding: 16px;
  border-radius: 12px;
  background: var(--bg-color);
  border: 1px solid var(--panel-border);
}

.asset-left,
.asset-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.asset-right {
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.asset-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.asset-icon.eth {
  background: #627eea;
}

.asset-icon.sol {
  background: linear-gradient(135deg, #9945FF, #14F195);
}

.asset-name {
  font-weight: 700;
  font-size: 1.1rem;
}

.asset-symbol {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.asset-value {
  font-weight: 700;
  font-size: 1.1rem;
}

.asset-amount {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.skeleton-line {
  height: 64px;
  background: var(--bg-color);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  margin-bottom: 16px;
}

.skeleton-line.short {
  height: 48px;
}

/* Features Grid */
.features {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 40px 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  padding: 40px 32px;
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: #444;
}

.feature-card h3 {
  margin-bottom: 16px;
  font-size: 1.4rem;
}

/* Technical Architecture Specifics */
.tech-header {
  text-align: center;
  padding: 160px 40px 40px;
}

.tech-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 40px;
}

.code-block {
  background: var(--bg-color);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  padding: 24px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.95rem;
  color: #ccc;
  overflow-x: auto;
  line-height: 1.5;
}

.code-block .keyword {
  color: #ff7b72;
}

.code-block .function {
  color: #d2a8ff;
}

.code-block .string {
  color: #a5d6ff;
}

/* Footers */
footer {
  border-top: 1px solid var(--panel-border);
  padding: 32px 40px 40px;
  margin-top: 0px;
  background: var(--bg-color);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 100px;
  }

  .hero-subtitle {
    margin: 0 auto 48px;
  }

  .features,
  .tech-grid {
    grid-template-columns: 1fr;
  }
}