/* =========================================================================
   READEO Website Styles
   ========================================================================= */

:root {
  --primary: #00d4aa;
  --primary-dark: #00b894;
  --bg-dark: #0a0a0a;
  --bg-card: #141414;
  --bg-card-hover: #1a1a1a;
  --text: #ffffff;
  --text-dim: #888888;
  --text-muted: #666666;
  --border: #2a2a2a;
}

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

html {
  scroll-behavior: smooth;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================================================
   Navigation
   ========================================================================= */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
}

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

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

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

.btn-nav {
  background: var(--primary);
  color: var(--bg-dark) !important;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
}

.btn-nav:hover {
  background: var(--primary-dark);
}

/* =========================================================================
   Buttons
   ========================================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(0, 212, 170, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.1rem;
}

/* =========================================================================
   Hero Section
   ========================================================================= */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  gap: 80px;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero .highlight {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-dim);
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.hero-note {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Reader Preview */
.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.reader-preview {
  width: 100%;
  max-width: 500px;
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
}

.preview-header {
  padding: 12px 16px;
  background: #1a1a1a;
  display: flex;
  gap: 8px;
}

.preview-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #333;
}

.preview-dot:nth-child(1) { background: #ff5f56; }
.preview-dot:nth-child(2) { background: #ffbd2e; }
.preview-dot:nth-child(3) { background: #27ca40; }

.preview-content {
  padding: 60px 40px;
  text-align: center;
}

.preview-word {
  font-size: 4rem;
  font-weight: 600;
  font-family: Georgia, serif;
  margin-bottom: 40px;
}

.preview-word .orp {
  color: var(--primary);
}

.preview-progress {
  height: 4px;
  background: #333;
  border-radius: 2px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}

.preview-progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.preview-info {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* =========================================================================
   Features Section
   ========================================================================= */

.features {
  padding: 120px 0;
  background: var(--bg-card);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--bg-dark);
  padding: 32px;
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: all 0.3s;
}

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

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-dim);
  font-size: 0.95rem;
}

/* =========================================================================
   How It Works Section
   ========================================================================= */

.how-it-works {
  padding: 120px 0;
}

.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.step {
  text-align: center;
  padding: 40px;
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border);
  flex: 1;
  max-width: 300px;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: var(--bg-dark);
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.step p {
  color: var(--text-dim);
  font-size: 0.95rem;
}

.step-arrow {
  font-size: 2rem;
  color: var(--primary);
}

/* =========================================================================
   Shortcuts Section
   ========================================================================= */

.shortcuts {
  padding: 120px 0;
  background: var(--bg-card);
}

.shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.shortcut {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-dark);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.shortcut kbd {
  background: #2a2a2a;
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 8px 14px;
  border-radius: 6px;
  font-family: 'Inter', monospace;
  font-size: 0.9rem;
  font-weight: 600;
}

.shortcut span {
  color: var(--text-dim);
}

/* =========================================================================
   CTA Section
   ========================================================================= */

.cta {
  padding: 120px 0;
  text-align: center;
}

.cta h2 {
  font-size: 3rem;
  margin-bottom: 16px;
}

.cta p {
  color: var(--text-dim);
  font-size: 1.25rem;
  margin-bottom: 40px;
}

/* =========================================================================
   Footer
   ========================================================================= */

.footer {
  padding: 60px 0 30px;
  border-top: 1px solid var(--border);
}

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

.footer-brand p {
  color: var(--text-muted);
  margin-top: 8px;
}

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

.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* =========================================================================
   Responsive
   ========================================================================= */

@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    flex-direction: column;
  }

  .step-arrow {
    transform: rotate(90deg);
  }

  .shortcuts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .nav-links a:not(.btn-nav) {
    display: none;
  }

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

  .shortcuts-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .cta h2 {
    font-size: 2rem;
  }
}
