/* === FAQ AI Landing Page === */

:root {
  --primary: #6C5CE7;
  --primary-dark: #5A4BD1;
  --primary-light: #A29BFE;
  --accent: #00D2D3;
  --bg: #0A0A0F;
  --bg-card: #12121A;
  --bg-card-hover: #1A1A25;
  --text: #E8E8ED;
  --text-muted: #9494A8;
  --border: #2A2A3A;
  --gradient: linear-gradient(135deg, #6C5CE7, #00D2D3);
  --radius: 12px;
  --radius-lg: 20px;
}

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

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  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, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

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

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

.logo-icon { margin-right: 6px; }

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

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 14px 32px; font-size: 1.05rem; }

.btn-primary {
  background: var(--gradient);
  color: white;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(108, 92, 231, 0.3);
}

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

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

/* Hero */
.hero {
  padding: 140px 0 80px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(108, 92, 231, 0.12);
  border: 1px solid rgba(108, 92, 231, 0.25);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--primary-light);
  margin-bottom: 32px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 60px;
}

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

/* Browser Frame */
.hero-visual {
  max-width: 750px;
  margin: 0 auto;
}

.browser-frame {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.browser-dots {
  display: flex;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

.browser-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border);
}

.browser-dots span:first-child { background: #FF5F57; }
.browser-dots span:nth-child(2) { background: #FFBD2E; }
.browser-dots span:last-child { background: #28CA41; }

.browser-content { padding: 28px; }

.demo-ui { text-align: left; }

.demo-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.demo-logo {
  font-weight: 700;
  font-size: 1.1rem;
}

.demo-badge {
  background: rgba(108, 92, 231, 0.15);
  color: var(--primary-light);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}

.demo-select {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.demo-dropdown {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--text);
  font-size: 0.9rem;
}

.demo-btn {
  background: var(--gradient);
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  margin-bottom: 20px;
  font-family: inherit;
}

.demo-results {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.demo-faq {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
}

.demo-q {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.demo-a {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.demo-schema {
  background: rgba(0, 210, 211, 0.08);
  border: 1px solid rgba(0, 210, 211, 0.2);
  border-radius: 8px;
  padding: 10px 16px;
}

.demo-schema code {
  font-size: 0.8rem;
  color: var(--accent);
}

/* Social Proof */
.social-proof {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.proof-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

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

.proof-item strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.proof-item span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.proof-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Problem / Solution */
.problem-section {
  padding: 100px 0;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.section-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #FF6B6B;
  margin-bottom: 16px;
}

.solution-label { color: var(--accent); }

.col h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.3;
}

.problem-list, .solution-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.problem-list li, .solution-list li {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

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

.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 60px;
  line-height: 1.2;
}

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

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

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(108, 92, 231, 0.3);
  transform: translateY(-4px);
}

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

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

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

/* How It Works */
.how-section {
  padding: 100px 0;
}

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

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

.step-num {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  border-radius: 50%;
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 auto 20px;
}

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

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

.step-arrow {
  font-size: 1.5rem;
  color: var(--text-muted);
  margin-top: 20px;
}

/* Pricing */
.pricing-section {
  padding: 100px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  position: relative;
}

.price-card-pro {
  border-color: var(--primary);
  box-shadow: 0 0 40px rgba(108, 92, 231, 0.15);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: white;
  padding: 4px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
}

.price-tier {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.price-amount {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}

.price-period {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.price-features {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.price-features li {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* FAQ */
.faq-section {
  padding: 100px 0;
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.faq-item summary {
  padding: 18px 24px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::-webkit-details-marker { display: none; }

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

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  padding: 0 24px 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

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

/* CTA */
.cta-section {
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(108, 92, 231, 0.05));
}

.cta-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

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

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  font-weight: 700;
  font-size: 1.1rem;
}

.footer-tagline {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.85rem;
  margin-left: 12px;
}

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
}

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

.footer-copy {
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 16px;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links a:not(.btn) { display: none; }
  
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  
  .features-grid { grid-template-columns: 1fr; }
  
  .steps { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); }
  
  .pricing-grid { grid-template-columns: 1fr; }
  
  .proof-divider { display: none; }
  .proof-items { gap: 24px; }
  
  .footer-inner { justify-content: center; text-align: center; }
}
