/* Homepage — professional layout */

/* Hero */
.hero {
  min-height: 100vh;
  background: var(--brand-dark);
  background-image:
    linear-gradient(rgba(91, 78, 232, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 78, 232, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 70%;
  height: 70%;
  background: radial-gradient(ellipse, rgba(91, 78, 232, 0.2) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  min-height: 100vh;
  padding: 6rem 0 4rem;
}
@media (min-width: 992px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 7rem 0 4rem;
  }
}
.hero-content { max-width: 560px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: rgba(0, 201, 167, 0.15);
  border: 1px solid rgba(0, 201, 167, 0.35);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: var(--fw-medium);
  color: var(--accent-teal-bright);
  margin-bottom: 1.25rem;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-teal);
  border-radius: 50%;
  flex-shrink: 0;
}
.hero h1 {
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 1.1rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.75rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.hero-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.hero-avatars {
  display: flex;
}
.hero-avatars span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary), var(--accent-teal));
  border: 2px solid var(--brand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  color: #fff;
  margin-left: -8px;
}
.hero-avatars span:first-child { margin-left: 0; }
.hero-social-text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.hero-stat {
  padding: 0.75rem;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.08);
}
.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 0.15rem;
}
.hero-stat span { font-size: 0.8rem; color: rgba(255,255,255,0.65); }

/* Editor mockup */
.hero-mockup {
  position: relative;
  display: none;
}
@media (min-width: 992px) {
  .hero-mockup { display: block; }
}
.mockup-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 24px 48px rgba(0,0,0,0.2);
}
.mockup-bar {
  height: 8px;
  width: 40%;
  background: rgba(255,255,255,0.15);
  border-radius: 4px;
  margin-bottom: 1rem;
}
.mockup-lines span {
  display: block;
  height: 6px;
  background: rgba(255,255,255,0.12);
  border-radius: 3px;
  margin-bottom: 0.5rem;
}
.mockup-lines span:nth-child(1) { width: 95%; }
.mockup-lines span:nth-child(2) { width: 70%; }
.mockup-lines span:nth-child(3) { width: 85%; }
.mockup-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.35rem 0.65rem;
  background: var(--brand-primary);
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: var(--fw-semibold);
  color: #fff;
}
.mockup-chips {
  position: absolute;
  bottom: 1.5rem;
  left: -0.5rem;
  right: -0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.mockup-chip {
  padding: 0.4rem 0.7rem;
  background: rgba(13, 11, 30, 0.9);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.9);
}
.mockup-chip.teal { border-color: rgba(0, 201, 167, 0.5); color: var(--accent-teal-bright); }
.mockup-chip.gold { border-color: rgba(255, 184, 48, 0.5); color: var(--accent-gold); }

/* Stats band */
.stats-band {
  background: rgba(91, 78, 232, 0.12);
  padding: 2rem 1.25rem;
}
.stats-band-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  text-align: center;
}
@media (min-width: 640px) {
  .stats-band-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .stats-band-inner { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
}
.stats-band strong { display: block; font-family: var(--font-display); font-size: 1.25rem; color: var(--brand-dark); margin-bottom: 0.2rem; }
.stats-band span { font-size: 0.9rem; color: rgba(13,11,30,0.75); }

/* Problem section */
.problem-section {
  padding: 4.5rem 0;
  background: #fff;
}
.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 992px) {
  .problem-grid { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
}
.problem-left h2 { margin-bottom: 0.5rem; }
.problem-left .subtext { color: rgba(26,26,46,0.75); margin-bottom: 1.5rem; }
.problem-cards {
  display: grid;
  gap: 1rem;
}
.problem-card {
  padding: 1.25rem;
  background: #fff;
  border: 1px solid rgba(13,11,30,0.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.problem-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(255, 77, 109, 0.2);
}
.problem-card-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 77, 109, 0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  color: var(--accent-rose);
}
.problem-card h4 { font-size: 1rem; margin-bottom: 0.35rem; }
.problem-card p { font-size: 0.9rem; color: rgba(26,26,46,0.8); margin: 0; line-height: 1.5; }
.solution-box {
  background: linear-gradient(145deg, #3d358a 0%, var(--brand-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: #fff;
  box-shadow: 0 20px 50px rgba(91, 78, 232, 0.25);
}
.solution-box h3 { color: #fff; margin-bottom: 1.25rem; font-size: 1.25rem; }
.solution-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.solution-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.9);
}
.solution-list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: var(--accent-teal-bright);
  border-radius: 50%;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D0B1E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}
.solution-box .btn { margin-top: 0.5rem; }

/* Features section */
.features-section {
  padding: 4.5rem 0;
  background: #f5f4fa;
}
.features-section .section-heading { margin-bottom: 2rem; }
.feature-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.feature-tabs .tab-btn {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: var(--fw-medium);
  color: rgba(26,26,46,0.75);
  background: #fff;
  border: 1px solid rgba(13,11,30,0.1);
  border-radius: var(--radius-pill);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.feature-tabs .tab-btn:hover { color: var(--brand-primary); border-color: rgba(91,78,232,0.3); }
.feature-tabs .tab-btn.active {
  background: var(--brand-primary);
  color: #fff;
  border-color: var(--brand-primary);
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}
.feature-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid rgba(13,11,30,0.06);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}
.feature-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}
.feature-card h4 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.feature-card p { font-size: 0.9rem; color: rgba(26,26,46,0.8); margin: 0 0 0.75rem; line-height: 1.5; }
.feature-card .badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: var(--fw-medium);
  padding: 0.25rem 0.6rem;
  background: rgba(91,78,232,0.1);
  color: var(--brand-primary);
  border-radius: var(--radius-pill);
}

/* How it works */
.how-section {
  padding: 4.5rem 0;
  background: #fff;
}
.how-section .section-heading { margin-bottom: 2.5rem; }
.how-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}
@media (min-width: 768px) {
  .how-steps { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .how-steps::before {
    content: '';
    position: absolute;
    top: 2.5rem;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-primary), var(--accent-teal));
    opacity: 0.4;
    z-index: 0;
  }
}
.how-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1.5rem 1rem;
  background: #fff;
  border: 1px solid rgba(13,11,30,0.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
.how-step-num {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  background: var(--brand-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 1.2rem;
}
.how-step h4 { font-size: 1rem; margin-bottom: 0.5rem; }
.how-step p { font-size: 0.9rem; color: rgba(26,26,46,0.8); margin: 0; line-height: 1.5; }

/* Comparison section */
.compare-section {
  padding: 4.5rem 0;
  background: rgba(91, 78, 232, 0.08);
}
.compare-section .section-heading { margin-bottom: 1.5rem; }
.compare-toggles {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.compare-toggles .toggle-btn {
  padding: 0.6rem 1.25rem;
  font-size: 0.95rem;
  font-weight: var(--fw-medium);
  color: rgba(26,26,46,0.8);
  background: #fff;
  border: 1px solid rgba(13,11,30,0.12);
  border-radius: var(--radius-md);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.compare-toggles .toggle-btn.active {
  background: var(--brand-primary);
  color: #fff;
  border-color: var(--brand-primary);
}
.compare-table-wrap {
  overflow-x: auto;
  margin: 0 auto;
  max-width: 1200px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  background: #fff;
}
.compare-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.compare-table th,
.compare-table td {
  padding: 0.75rem 1rem;
  text-align: center;
  border-bottom: 1px solid rgba(13,11,30,0.08);
}
.compare-table th {
  background: #f8f7ff;
  font-weight: var(--fw-semibold);
  color: var(--brand-dark);
}
.compare-table th:first-child,
.compare-table td:first-child { text-align: left; }
.compare-table .col-wordgpt { background: rgba(91,78,232,0.08); font-weight: var(--fw-medium); }
.compare-table .tick { color: var(--accent-teal-bright); font-weight: bold; }
.compare-table .partial { color: var(--accent-gold); }
.compare-table .cross { color: var(--accent-rose); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .total-row td { background: var(--brand-dark); color: #fff; font-weight: var(--fw-semibold); }

/* Pricing preview */
.pricing-preview {
  padding: 4.5rem 0;
  background: #fff;
}
.pricing-preview .section-heading { margin-bottom: 2rem; }
.plan-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
}
@media (min-width: 640px) {
  .plan-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
  .plan-grid { grid-template-columns: repeat(4, 1fr); }
}
.plan-card {
  background: #fff;
  border: 1px solid rgba(13,11,30,0.1);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
}
.plan-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.plan-card.featured {
  border-color: var(--brand-primary);
  border-width: 2px;
  box-shadow: 0 8px 32px rgba(91,78,232,0.2);
}
.plan-card .plan-badge {
  position: absolute;
  top: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: var(--fw-semibold);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  background: var(--brand-primary);
  color: #fff;
}
.plan-card .plan-badge.teal { background: var(--accent-teal); }
.plan-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: var(--fw-bold); margin-bottom: 0.25rem; }
.plan-price { font-size: 1.5rem; font-weight: var(--fw-bold); color: var(--brand-primary); margin-bottom: 0.25rem; }
.plan-desc { font-size: 0.85rem; color: rgba(26,26,46,0.75); margin-bottom: 1rem; }
.plan-features { list-style: none; padding: 0; margin: 0 0 1.25rem; font-size: 0.9rem; color: rgba(26,26,46,0.85); }
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}
.plan-features li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background: var(--check-color-bright);
  border-radius: 50%;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D0B1E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}
.plan-card .btn { width: 100%; justify-content: center; }
.pricing-link { text-align: center; }
.pricing-link a { font-weight: var(--fw-medium); color: var(--brand-primary); }
.pricing-link a:hover { text-decoration: underline; }

/* Reviews */
.reviews-section {
  padding: 4.5rem 0;
  background: var(--brand-dark);
  color: #fff;
}
.reviews-section .section-heading { margin-bottom: 2rem; }
.reviews-section h2 { color: #fff; }
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
  .reviews-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}
.review-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: border-color 0.2s, background 0.2s;
}
.review-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
}
.review-stars { color: var(--accent-gold); font-size: 0.9rem; margin-bottom: 0.75rem; letter-spacing: 0.1em; }
.review-quote { font-style: italic; font-size: 0.95rem; line-height: 1.6; color: rgba(255,255,255,0.9); margin-bottom: 1rem; }
.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary), var(--accent-teal));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: var(--fw-semibold);
  color: #fff;
}
.review-name { font-weight: var(--fw-semibold); font-size: 0.95rem; }
.review-title { font-size: 0.8rem; color: rgba(255,255,255,0.65); }
.review-badge { font-size: 0.7rem; color: var(--accent-teal-bright); margin-top: 0.25rem; }

/* FAQ */
.faq-section {
  padding: 4.5rem 0;
  background: #fff;
}
.faq-section .section-heading { margin-bottom: 2rem; }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  border: 1px solid rgba(13,11,30,0.1);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(13,11,30,0.04);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: var(--fw-medium);
  color: var(--brand-dark);
  background: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.faq-q:hover { background: #f8f7ff; }
.faq-q .icon { font-size: 1.25rem; color: var(--brand-primary); transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a {
  padding: 0 1.25rem 1rem;
  font-size: 0.95rem;
  color: rgba(26,26,46,0.85);
  line-height: 1.6;
  display: none;
}
.faq-item.open .faq-a { display: block; }

/* CTA banner */
.cta-banner {
  padding: 4rem 1.25rem;
  background: linear-gradient(135deg, #4a3dd4 0%, var(--brand-primary) 50%, #6b5ce8 100%);
  text-align: center;
}
.cta-banner h2 { color: #fff; margin-bottom: 0.5rem; }
.cta-banner p { color: rgba(255,255,255,0.9); margin-bottom: 1.5rem; font-size: 1rem; }
.cta-banner .btn { margin: 0 0.35rem; }
