/* Cheatly — Landing Page Styles */

:root {
  --bg-primary: #0a0a14;
  --bg-secondary: #0f0f1a;
  --bg-card: #141428;
  --border: #1e1e3a;
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted: #4b5563;
  --accent: #6366f1;
  --accent-light: #818cf8;
  --accent-glow: rgba(99, 102, 241, 0.15);
  --success: #34d399;
  --radius: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 20, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-light);
}

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* Hero */
.hero {
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.18), transparent 65%);
  pointer-events: none;
}

.hero .container {
  position: relative;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--accent-glow);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 100px;
  color: var(--accent-light);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-light), #a78bfa, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 32px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #7c5cf6);
  color: white;
  border: none;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.25);
}

.btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 6px 32px rgba(99, 102, 241, 0.45);
  transform: translateY(-1px);
}

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

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  transform: translateY(-1px);
}

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

.hero-trust > span:first-child {
  color: var(--text-muted);
  font-size: 13px;
}

.trust-item {
  padding: 4px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.trust-item:hover {
  border-color: var(--accent);
  color: var(--text-primary);
}

/* Sections */
section {
  padding: 80px 0;
}

h2 {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 48px;
}

/* Features */
.features {
  background: var(--bg-secondary);
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.2s;
}

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

.feature-icon {
  color: var(--accent-light);
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Demo */
.demo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.demo-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}

.demo-card:hover {
  border-color: var(--accent);
}

.demo-label {
  display: inline-block;
  padding: 3px 10px;
  background: var(--accent-glow);
  border-radius: 6px;
  color: var(--accent-light);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.demo-question p {
  font-size: 15px;
  margin-bottom: 12px;
}

.demo-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.demo-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}

.demo-option input {
  accent-color: var(--accent);
}

.demo-card.revealed .demo-option.correct {
  border-color: var(--success);
  background: rgba(52, 211, 153, 0.08);
  color: var(--success);
}

.blank {
  display: inline-block;
  min-width: 120px;
  border-bottom: 2px dashed var(--text-muted);
  color: transparent;
}

.demo-card.revealed .blank {
  color: var(--success);
  border-color: var(--success);
}

.demo-answer {
  margin-top: 16px;
  padding: 12px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 8px;
  font-size: 14px;
  color: var(--accent-light);
  animation: fadeIn 0.3s ease;
}

.demo-answer.hidden {
  display: none;
}

/* Modes */
.modes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.mode-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  transition: all 0.2s;
}

.mode-card.featured {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--bg-card), rgba(99, 102, 241, 0.05));
}

.mode-card:hover {
  transform: translateY(-2px);
}

.mode-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 16px;
  background: var(--accent-glow);
  color: var(--accent-light);
}

.mode-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.mode-card p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* How It Works */
.how-it-works {
  background: var(--bg-secondary);
}

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

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

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-size: 20px;
  font-weight: 700;
}

.step h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--text-secondary);
}

.step-arrow {
  font-size: 28px;
  color: var(--text-muted);
}

/* FAQ */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s;
}

.faq-item summary:hover {
  background: var(--bg-card);
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--text-muted);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 20px 16px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.faq-item a {
  color: var(--accent-light);
}

/* Trust bar */
.trust-bar {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.trust-bar span {
  font-size: 13px;
  color: var(--success);
}

/* Testimonials */
.testimonials {
  background: var(--bg-secondary);
}

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.2s;
}

.testimonial-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.testimonial-card::before {
  content: "\201C";
  display: block;
  font-size: 40px;
  line-height: 1;
  color: var(--accent-light);
  font-family: Georgia, serif;
  margin-bottom: 8px;
}

.testimonial-quote {
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.testimonial-author {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Pricing */
.pricing-card {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(135deg, var(--bg-card), rgba(99, 102, 241, 0.08));
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 48px 40px;
  box-shadow: 0 0 60px var(--accent-glow);
}

.pricing-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(250, 204, 21, 0.1);
  border: 1px solid rgba(250, 204, 21, 0.35);
  border-radius: 100px;
  color: #facc15;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.pricing-card h2 {
  margin-bottom: 20px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.price-old {
  font-size: 22px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.price-new {
  font-size: 48px;
  font-weight: 800;
  color: var(--text-primary);
}

.price-period {
  font-size: 16px;
  color: var(--text-secondary);
}

.pricing-features {
  list-style: none;
  margin-bottom: 28px;
}

.pricing-features li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 4px 0;
}

.btn-large {
  padding: 14px 36px;
  font-size: 16px;
}

.pricing-trust {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

/* Footer */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer p {
  font-size: 13px;
  color: var(--text-muted);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .features-grid,
  .modes-grid,
  .testimonials-grid,
  .demo-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    flex-direction: column;
  }

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

  .nav-links {
    display: none;
  }

  .hero {
    padding: 120px 0 60px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
  }

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