/* QuizBond Landing Page Styles */

/* Import Poppins Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

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

:root {
  /* Color Palette */
  --primary-purple: #AD46FF;
  --primary-dark-purple: #491F45;
  --accent-cyan: #00D9FF;
  --accent-light-blue: #5EB3F6;
  --bg-dark: #0A0A0F;
  --bg-darker: #050508;
  --text-primary: #FFFFFF;
  --text-secondary: #A0A0A0;
  --success: #4ADE80;
  --error: #EF4444;
  --card-bg: rgba(173, 70, 255, 0.1);
  --card-border: rgba(173, 70, 255, 0.3);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(180deg, var(--primary-dark-purple) 0%, var(--bg-dark) 50%, #0A1428 100%);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 20px;
  position: relative;
}

/* Header/Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(173, 70, 255, 0.2);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-purple), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-light-blue));
  color: var(--bg-dark);
  box-shadow: 0 4px 20px rgba(0, 217, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(0, 217, 255, 0.4);
}

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

.btn-secondary:hover {
  background: var(--primary-purple);
  box-shadow: 0 4px 20px rgba(173, 70, 255, 0.3);
}

.btn-app-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: #000;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.btn-app-store:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.btn-app-store img {
  height: 40px;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(173, 70, 255, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 4s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 217, 255, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-primary), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  max-width: 300px;
  width: 100%;
  filter: drop-shadow(0 20px 60px rgba(173, 70, 255, 0.3));
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Value Proposition Section */
.value-prop {
  text-align: center;
}

.value-prop h2 {
  margin-bottom: 3rem;
}

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

.value-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(173, 70, 255, 0.2);
  border-color: var(--primary-purple);
}

.value-card-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.value-card h3 {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.value-card-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--primary-purple), var(--accent-cyan));
  border-radius: 12px;
  margin-top: 1.5rem;
  opacity: 0.8;
}

/* Features Showcase */
.features {
  text-align: center;
}

.features h2 {
  margin-bottom: 3rem;
}

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

.feature-card {
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-dark-purple));
  border-radius: 20px;
  padding: 2.5rem;
  text-align: left;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:nth-child(even) {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-light-blue));
  color: var(--bg-dark);
}

.feature-card:nth-child(even) p {
  color: rgba(10, 10, 15, 0.8);
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(173, 70, 255, 0.3);
}

.feature-card h3 {
  margin-bottom: 1rem;
}

.feature-card p {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.feature-card .btn {
  background: rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.feature-card:nth-child(even) .btn {
  background: rgba(10, 10, 15, 0.2);
  color: var(--bg-dark);
  border: 1px solid rgba(10, 10, 15, 0.3);
}

/* How It Works */
.how-it-works {
  text-align: center;
}

.how-it-works h2 {
  margin-bottom: 3rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
}

.step {
  position: relative;
  padding: 2rem;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-purple), var(--accent-cyan));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

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

.step p {
  font-size: 0.95rem;
}

/* Quiz Types */
.quiz-types {
  text-align: center;
}

.quiz-types h2 {
  margin-bottom: 3rem;
}

.quiz-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 12px 24px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--primary-purple), var(--accent-cyan));
  color: var(--text-primary);
  border-color: transparent;
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-content.active {
  display: block;
}

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

.quiz-tab-panel {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.quiz-tab-image {
  width: 100%;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-purple), var(--accent-cyan));
  height: 300px;
}

.quiz-tab-info h3 {
  text-align: left;
  margin-bottom: 1rem;
}

.quiz-tab-info p {
  text-align: left;
  margin-bottom: 1.5rem;
}

.quiz-key-points {
  list-style: none;
  text-align: left;
}

.quiz-key-points li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  position: relative;
  padding-left: 1.5rem;
}

.quiz-key-points li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
  font-weight: bold;
}

/* Pricing */
.pricing {
  text-align: center;
}

.pricing h2 {
  margin-bottom: 3rem;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 3rem auto 0;
}

.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 3rem 2rem;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card.featured {
  border: 2px solid var(--primary-purple);
  box-shadow: 0 0 40px rgba(173, 70, 255, 0.3);
  transform: scale(1.05);
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary-purple), var(--accent-cyan));
  padding: 5px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.pricing-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 1.5rem 0;
  background: linear-gradient(135deg, var(--primary-purple), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-price .period {
  font-size: 1rem;
  color: var(--text-secondary);
  -webkit-text-fill-color: var(--text-secondary);
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin: 2rem 0;
}

.pricing-features li {
  padding: 0.75rem 0;
  color: var(--text-secondary);
  position: relative;
  padding-left: 2rem;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
  font-weight: bold;
  font-size: 1.2rem;
}

.pricing-fine-print {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 1rem;
}

/* Social Proof */
.social-proof {
  text-align: center;
}

.social-proof h2 {
  margin-bottom: 3rem;
}

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

.testimonial {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 2rem;
  text-align: left;
}

.testimonial-stars {
  color: #FFD700;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-purple), var(--accent-cyan));
}

.testimonial-author-info h4 {
  margin: 0;
  font-size: 1rem;
}

.testimonial-author-info p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-purple), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* Media Section */
.media-section {
  text-align: center;
}

.media-section h2 {
  margin-bottom: 3rem;
}

.video-container {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.video-container video {
  width: 100%;
  height: auto;
  display: block;
}

/* Download CTA */
.download-cta {
  text-align: center;
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-dark-purple));
  border-radius: 30px;
  padding: 4rem 2rem;
  margin: 4rem 0;
}

.download-cta h2 {
  margin-bottom: 1.5rem;
}

.download-cta p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

/* FAQ */
.faq {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.faq h2 {
  margin-bottom: 3rem;
}

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

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: rgba(173, 70, 255, 0.1);
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
  text-align: left;
}

.faq-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
  color: var(--accent-cyan);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-secondary);
  text-align: left;
}

/* Footer */
.footer {
  background: var(--bg-darker);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(173, 70, 255, 0.2);
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-column h4 {
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  font-size: 1.1rem;
}

.footer-column p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

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

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.social-icon:hover {
  background: var(--primary-purple);
  border-color: var(--primary-purple);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(173, 70, 255, 0.2);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Legal Pages */
.legal-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 120px 20px 80px;
}

.legal-page h1 {
  margin-bottom: 2rem;
  text-align: center;
}

.legal-page h2 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  color: var(--accent-cyan);
  font-size: 1.75rem;
}

.legal-page h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.legal-page p {
  margin-bottom: 1rem;
}

.legal-page ul {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

.legal-page li {
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
}

.legal-page a {
  color: var(--accent-cyan);
}

.legal-page a:hover {
  text-decoration: underline;
}

.legal-back {
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

.legal-back:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

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

  .nav {
    gap: 1rem;
    font-size: 0.9rem;
  }

  .quiz-tab-panel {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .value-cards,
  .feature-grid,
  .testimonials {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 480px) {
  .section {
    padding: 60px 20px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

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

  .hero-cta .btn {
    width: 100%;
  }
}

/* Fade-in Animation on Scroll */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

