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

/* ============================================
   CSS Variables
   ============================================ */
:root {
  /* Colors */
  --color-bg: #0a0a0f;
  --color-surface: #13131a;
  --color-border: rgba(255, 255, 255, 0.06);
  
  --color-primary: #00d4ff;
  --color-primary-glow: rgba(0, 212, 255, 0.3);
  --color-secondary: #7c3aed;
  --color-accent: #f59e0b;
  
  --color-text: #ffffff;
  --color-text-muted: rgba(255, 255, 255, 0.6);
  --color-text-subtle: rgba(255, 255, 255, 0.4);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
  --gradient-warm: linear-gradient(135deg, #f59e0b 0%, #dc2626 100%);
  
  /* Typography */
  --font-display: 'Syne', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Animation */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ============================================
   Reset & Base Styles
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

/* ============================================
   Background Effects
   ============================================ */
.grain-overlay {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 100;
  mix-blend-mode: overlay;
}

.bg-gradient {
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(124, 58, 237, 0.15) 0%, transparent 60%),
              radial-gradient(ellipse at bottom right, rgba(0, 212, 255, 0.1) 0%, transparent 60%);
  animation: gradientShift 20s ease infinite;
  z-index: 0;
}

@keyframes gradientShift {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float 25s ease-in-out infinite;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
  top: -200px;
  left: -200px;
  animation-delay: 0s;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-secondary) 0%, transparent 70%);
  bottom: -150px;
  right: -150px;
  animation-delay: -10s;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--color-accent) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -5s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -50px) scale(1.1); }
  66% { transform: translate(-30px, 30px) scale(0.9); }
}

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: relative;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 4rem;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 0 30px var(--color-primary-glow);
}

.logo-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s var(--ease-smooth);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s var(--ease-smooth);
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-connect {
  padding: 0.75rem 1.5rem;
  background: var(--gradient-primary);
  border: none;
  border-radius: 8px;
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  font-family: var(--font-display);
  box-shadow: 0 0 20px var(--color-primary-glow);
  transition: transform 0.3s var(--ease-smooth);
}

.nav-connect:hover {
  transform: translateY(-2px);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  z-index: 10;
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 4rem 8rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: calc(100vh - 120px);
}

.hero-content {
  animation: slideInLeft 0.8s var(--ease-smooth);
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 2rem;
  animation: pulse 2s ease-in-out infinite;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-primary);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.hero-title {
  font-size: 5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.title-line {
  display: block;
  animation: fadeInUp 0.8s var(--ease-smooth) backwards;
}

.title-line:nth-child(1) { animation-delay: 0.1s; }
.title-line:nth-child(2) { animation-delay: 0.2s; }
.title-line:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 3rem;
  max-width: 580px;
  animation: fadeInUp 0.8s var(--ease-smooth) 0.4s backwards;
}

/* Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s var(--ease-smooth) 0.5s backwards;
}

.stat {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  transition: all 0.3s var(--ease-smooth);
}

.stat:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--color-text-subtle);
  font-weight: 500;
}

/* Hero CTA */
.hero-cta {
  display: flex;
  gap: 1rem;
  animation: fadeInUp 0.8s var(--ease-smooth) 0.6s backwards;
}

.cta-button {
  position: relative;
  padding: 1.25rem 2.5rem;
  background: var(--gradient-primary);
  border: none;
  border-radius: 12px;
  color: white;
  font-size: 1.125rem;
  font-weight: 700;
  font-family: var(--font-display);
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s var(--ease-smooth);
  box-shadow: 0 0 40px var(--color-primary-glow);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 60px var(--color-primary-glow);
}

.button-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s var(--ease-smooth);
}

.cta-button:hover .button-shine {
  left: 100%;
}

.button-text {
  position: relative;
  z-index: 1;
}

.button-arrow {
  position: relative;
  z-index: 1;
  transition: transform 0.3s var(--ease-smooth);
}

.cta-button:hover .button-arrow {
  transform: translateX(4px);
}

.cta-secondary {
  padding: 1.25rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  color: var(--color-text);
  font-size: 1.125rem;
  font-weight: 600;
  font-family: var(--font-display);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s var(--ease-smooth);
  text-decoration: none;
}

.cta-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* Hero Visual - 3D Card */
.hero-visual {
  perspective: 1000px;
  animation: slideInRight 0.8s var(--ease-smooth) 0.4s backwards;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.card-3d {
  transform-style: preserve-3d;
  animation: cardFloat 6s ease-in-out infinite;
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0) rotateY(0deg); }
  50% { transform: translateY(-20px) rotateY(5deg); }
}

.card-front {
  background: linear-gradient(135deg, rgba(20, 20, 30, 0.8) 0%, rgba(30, 30, 50, 0.6) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 2.5rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5),
              0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  transition: all 0.5s var(--ease-smooth);
}

.card-front:hover {
  transform: translateY(-10px) rotateY(-5deg);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.card-badge {
  padding: 0.5rem 1rem;
  background: var(--gradient-warm);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 700;
  font-family: var(--font-mono);
}

.card-apy {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card-body {
  margin-bottom: 2rem;
}

.card-balance {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.balance-label {
  font-size: 0.875rem;
  color: var(--color-text-subtle);
  font-weight: 600;
}

.balance-value {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
}

.card-earnings {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.earnings-label {
  font-size: 0.875rem;
  color: var(--color-text-subtle);
  font-weight: 600;
}

.earnings-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: #10b981;
  font-family: var(--font-mono);
}

.card-footer {
  display: flex;
  justify-content: flex-end;
}

.card-chips {
  width: 50px;
  height: 30px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border-radius: 4px;
  position: relative;
}

.card-chips::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}

/* ============================================
   Features Section
   ============================================ */
.features {
  position: relative;
  z-index: 10;
  max-width: 1400px;
  margin: 0 auto;
  padding: 6rem 4rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  transition: all 0.3s var(--ease-smooth);
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: var(--gradient-primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: white;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================
   Tiers Section
   ============================================ */
.tiers {
  position: relative;
  z-index: 10;
  max-width: 1400px;
  margin: 0 auto;
  padding: 6rem 4rem;
}

.section-title {
  text-align: center;
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.title-underline {
  width: 100px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.tier-card {
  position: relative;
  padding: 3rem 2.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  transition: all 0.4s var(--ease-smooth);
}

.tier-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.tier-growth {
  border-color: rgba(0, 212, 255, 0.3);
  background: rgba(0, 212, 255, 0.05);
}

.tier-growth:hover {
  border-color: rgba(0, 212, 255, 0.5);
  box-shadow: 0 20px 60px var(--color-primary-glow);
}

.tier-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.5rem 1.25rem;
  background: var(--gradient-primary);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 0 4px 20px var(--color-primary-glow);
}

.tier-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tier-header h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.tier-apy {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-mono);
}

.tier-range {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  font-weight: 600;
  margin-bottom: 2rem;
  font-family: var(--font-mono);
}

.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tier-features li {
  padding-left: 1.75rem;
  position: relative;
  color: var(--color-text-muted);
  font-weight: 500;
}

.tier-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

/* ============================================
   VIP Section
   ============================================ */
.vip-section {
  position: relative;
  z-index: 10;
  max-width: 1400px;
  margin: 0 auto;
  padding: 6rem 4rem;
}

.vip-content {
  max-width: 900px;
  margin: 0 auto;
}

.vip-description {
  text-align: center;
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-bottom: 3rem;
  line-height: 1.7;
}

.vip-table {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
}

.vip-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr 1.5fr;
  gap: 1rem;
  padding: 1.5rem;
  border-bottom: 1px solid var(--color-border);
  transition: background 0.3s var(--ease-smooth);
}

.vip-row:last-child {
  border-bottom: none;
}

.vip-row.vip-header {
  background: rgba(255, 255, 255, 0.05);
  font-weight: 700;
}

.vip-row.highlight:hover {
  background: rgba(0, 212, 255, 0.05);
}

.vip-cell {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
}

/* ============================================
   Security Section
   ============================================ */
.security-section {
  position: relative;
  z-index: 10;
  max-width: 1400px;
  margin: 0 auto;
  padding: 6rem 4rem;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.security-card {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  transition: all 0.3s var(--ease-smooth);
}

.security-card:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-5px);
}

.security-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.security-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.security-card p {
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--color-border);
  padding: 4rem 4rem 2rem;
  margin-top: 8rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.25rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 3rem;
  align-items: center;
}

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

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

.footer-social {
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
  align-items: center;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  color: var(--color-text);
  text-decoration: none;
  font-size: 1.25rem;
  transition: all 0.3s var(--ease-smooth);
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
  color: var(--color-text-subtle);
  font-size: 0.875rem;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-title {
    font-size: 4rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .footer-links,
  .footer-social {
    justify-content: center;
  }
  
  .vip-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .vip-cell {
    justify-content: space-between;
  }
  
  .vip-cell::before {
    content: attr(data-label);
    font-weight: 700;
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 1.5rem 2rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .hero {
    padding: 2rem 2rem 4rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .features,
  .tiers,
  .vip-section,
  .security-section {
    padding: 4rem 2rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .features-grid,
  .tiers-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .stat-value {
    font-size: 1.5rem;
  }
  
  .card-front {
    padding: 1.5rem;
  }
  
  .balance-value {
    font-size: 2rem;
  }
}
