/* =========================================================================
   READEO Website Styles — 2026
   ========================================================================= */

:root {
  --primary: #00d4aa;
  --primary-dark: #00b894;
  --primary-glow: rgba(0, 212, 170, 0.15);
  --bg-dark: #0a0a0a;
  --bg-card: #111114;
  --bg-card-hover: #18181c;
  --text: #ffffff;
  --text-dim: #9a9aa0;
  --text-muted: #5a5a62;
  --border: #222228;
  --border-hover: #333340;
}

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

html {
  scroll-behavior: smooth;
}

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

.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.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.logo-img-sm {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.logo-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1px;
}

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

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

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

.btn-nav {
  background: var(--primary);
  color: var(--bg-dark) !important;
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem !important;
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
  font-family: 'DM Sans', sans-serif;
}

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

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

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

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

.btn-large {
  padding: 16px 32px;
  font-size: 1.05rem;
  border-radius: 12px;
}

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

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

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

.hero-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 28px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--primary-glow);
  border: 1px solid rgba(0, 212, 170, 0.25);
  border-radius: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 8px;
  margin-bottom: 28px;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

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

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

.hero-buttons {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.hero-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}

/* Phone Mockup */
.hero-visual {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 280px;
  background: #000;
  border-radius: 32px;
  padding: 10px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(0, 212, 170, 0.08);
}

.phone-screen {
  width: 100%;
  border-radius: 24px;
  display: block;
}

/* Phone RSVP Animation (hero) */
.phone-rsvp-screen {
  width: 100%;
  aspect-ratio: 9 / 18;
  background: #1a1a1e;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.phone-rsvp-word {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2rem;
  font-weight: 500;
  color: #f0f0f0;
  letter-spacing: 1px;
  text-align: center;
  padding: 0 16px;
}

.phone-rsvp-word .orp {
  color: var(--primary);
  font-weight: 700;
}

.phone-rsvp-bottom {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-rsvp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

.phone-rsvp-progress {
  flex: 1;
  height: 3px;
  background: #2a2a2e;
  border-radius: 2px;
  overflow: hidden;
}

.phone-rsvp-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.25s ease;
}

/* =========================================================================
   App Showcase
   ========================================================================= */

.app-showcase {
  padding: 100px 0;
  background: var(--bg-card);
}

.section-title {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-dim);
  margin-bottom: 56px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.showcase-card {
  background: var(--bg-dark);
  border-radius: 20px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.3s;
  text-align: center;
}

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

.showcase-img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
  display: block;
}

.showcase-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 20px 20px 8px;
}

.showcase-card p {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.6;
  padding: 0 20px 24px;
}

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

.features {
  padding: 100px 0;
}

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

.feature-card {
  background: var(--bg-card);
  padding: 36px 28px;
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: all 0.3s;
  text-align: center;
}

.feature-card:hover {
  border-color: rgba(0, 212, 170, 0.3);
  transform: translateY(-3px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.feature-card p {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.65;
}

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

.how-it-works {
  padding: 100px 0;
  background: var(--bg-card);
}

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

.step {
  text-align: center;
  flex: 1;
  max-width: 300px;
}

.step-phone {
  width: 200px;
  background: #000;
  border-radius: 24px;
  padding: 6px;
  margin: 20px auto 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.step-img {
  width: 100%;
  border-radius: 20px;
  display: block;
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: var(--bg-dark);
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-family: 'JetBrains Mono', monospace;
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.step p {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.6;
}

.step-arrow {
  flex-shrink: 0;
  padding-top: 0;
  margin-top: -80px;
}

/* =========================================================================
   Extension Section
   ========================================================================= */

.extension-section {
  padding: 100px 0;
}

.extension-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.extension-text {
  flex: 1;
}

.extension-badge {
  display: inline-block;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.extension-text h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.extension-text > p {
  color: var(--text-dim);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.extension-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.ext-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-dim);
}

.ext-feat svg {
  flex-shrink: 0;
}

.extension-visual {
  flex: 0 0 auto;
}

/* Reader Preview (Extension Demo) */
.reader-preview {
  width: 420px;
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
}

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

.preview-dot {
  width: 11px;
  height: 11px;
  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: 50px 36px;
  text-align: center;
}

.preview-word {
  font-size: 3.4rem;
  font-weight: 600;
  font-family: 'JetBrains Mono', Georgia, serif;
  margin-bottom: 36px;
  min-height: 60px;
}

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

.preview-progress {
  height: 3px;
  background: #222;
  border-radius: 2px;
  margin-bottom: 14px;
  overflow: hidden;
}

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

.preview-info {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-family: 'JetBrains Mono', monospace;
}

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

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

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

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

.shortcut kbd {
  background: rgba(0, 212, 170, 0.08);
  border: 1px solid rgba(0, 212, 170, 0.25);
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 600;
}

.shortcut span {
  color: var(--text-dim);
  font-size: 0.88rem;
}

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

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

.cta h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

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

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

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

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

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

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

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

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

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

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

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

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

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

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

  .hero h1 {
    font-size: 2.8rem;
  }

  .phone-mockup {
    width: 240px;
  }

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

  .showcase-grid .showcase-card:last-child {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
  }

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

  .steps {
    flex-direction: column;
    gap: 8px;
  }

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

  .extension-content {
    flex-direction: column;
    text-align: center;
  }

  .extension-features {
    align-items: center;
  }

  .extension-text .btn {
    margin: 0 auto;
  }

  .reader-preview {
    width: 100%;
    max-width: 400px;
  }

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .phone-mockup {
    width: 220px;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }

  .showcase-grid .showcase-card:last-child {
    max-width: none;
  }

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

  .step-phone {
    width: 160px;
  }

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

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

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

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .section-title {
    font-size: 2rem;
  }

  .extension-text h2 {
    font-size: 1.8rem;
  }

  .reader-preview {
    max-width: 320px;
  }

  .preview-word {
    font-size: 2.5rem;
  }
}
