:root {
  --primary-color: #00f2ff;
  --secondary-color: #7000ff;
  --bg-dark: #050505;
  --card-bg: rgba(255, 255, 255, 0.05);
  --text-main: #ffffff;
  --text-dim: #a0a0a0;
  --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Background Animation */
.bg-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: radial-gradient(circle at 50% -20%, #1a1a2e 0%, #050505 100%);
}

.glow-orb {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
  filter: blur(80px);
  opacity: 0.15;
  animation: float 20s infinite alternate;
}

@keyframes float {
  0% { transform: translate(-10%, -10%); }
  100% { transform: translate(10%, 10%); }
}

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

header {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Typography */
h1 {
  font-size: 5rem;
  font-weight: 800;
  background: linear-gradient(to right, #fff, var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
  letter-spacing: -2px;
}

.hero-sub {
  font-size: 1.5rem;
  color: var(--text-dim);
  max-width: 700px;
  margin-bottom: 3rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: #000;
  box-shadow: 0 10px 30px rgba(0, 242, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 242, 255, 0.5);
}

/* Features Grid */
.features {
  padding: 100px 0;
}

/* Dual Mode Section */
.mode-section {
  padding: 80px 0;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 40px;
  margin: 50px 0;
}

.mode-comparison {
  display: flex;
  gap: 3rem;
  align-items: center;
  flex-wrap: wrap;
}

.mode-box {
  flex: 1;
  min-width: 300px;
  padding: 3rem;
  border-radius: 30px;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}

.mode-box.active {
  border-color: var(--secondary-color);
  box-shadow: 0 0 50px rgba(112, 0, 255, 0.1);
}

.mode-tag {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  padding: 0.4rem 1rem;
  background: var(--secondary-color);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

/* AI Learning Section */
.ai-learning {
  margin: 100px 0;
  text-align: center;
}

.ai-interface {
  max-width: 800px;
  margin: 3rem auto;
  background: #0a0a0a;
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid var(--glass-border);
  text-align: left;
}

.token-field {
  background: #151515;
  border: 1px solid var(--glass-border);
  padding: 1rem;
  border-radius: 10px;
  color: var(--text-dim);
  font-family: monospace;
  margin-top: 1rem;
}

.learning-badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: rgba(0, 242, 255, 0.1);
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 6px;
  margin: 5px;
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  h1 { font-size: 3rem; }
  .grid { grid-template-columns: 1fr; }
}

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

.card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2.5rem;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.card p {
  color: var(--text-dim);
}

/* Icons Simulation */
.icon {
  width: 50px;
  height: 50px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(0, 242, 255, 0.1);
  color: var(--primary-color);
  font-size: 1.5rem;
}

/* Footer */
footer {
  padding: 50px 0;
  text-align: center;
  border-top: 1px solid var(--glass-border);
  color: var(--text-dim);
  font-size: 0.9rem;
}
