/* CCSE PRO Landing — External Stylesheet */

/* Hide WP admin bar on landing page */
#wpadminbar { display: none !important; }
html { margin-top: 0 !important; }

/* Override WP global heading styles */
.translations h1, .translations h2, .translations h3,
.translations p, .translations span {
  color: #fff !important;
  background: transparent !important;
}
.translations .section-subtitle { color: #94A3B8 !important; }
.final-cta h1, .final-cta h2, .final-cta h3,
.final-cta p, .final-cta span {
  color: #fff !important;
  background: transparent !important;
}
.final-cta .section-subtitle { color: #C7D2FE !important; }

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  color: #1E293B;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background: #fff;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }

/* ── Top Nav ── */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #E2E8F0;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.top-nav-logo {
  font-weight: 900;
  font-size: 1.25rem;
  color: #1E293B;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
}
.top-nav-logo .pro {
  background: #4F46E5;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 5px;
  margin-left: 3px;
  position: relative;
  top: -1px;
}
.top-nav-links { display: flex; gap: 24px; align-items: center; }
.top-nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #64748B;
  transition: color 0.15s;
}
.top-nav-links a:hover { color: #4F46E5; }
.top-nav-cta {
  background: #DC2626 !important;
  color: #fff !important;
  padding: 8px 20px !important;
  border-radius: 8px;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  transition: background 0.15s;
}
.top-nav-cta:hover { background: #B91C1C !important; }

/* ── CTA Button ── */
.cta-btn {
  display: inline-block;
  background: #DC2626;
  color: #fff !important;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  padding: 16px 40px;
  border-radius: 12px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
  letter-spacing: -0.01em;
  cursor: pointer;
  border: none;
}
.cta-btn:hover {
  background: #B91C1C;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.45);
}
.cta-btn-lg {
  font-size: 1.25rem;
  padding: 20px 48px;
  border-radius: 14px;
}

/* ── Badge ── */
.badge {
  display: inline-block;
  background: #EEF2FF;
  color: #4F46E5;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

/* ── Section Titles ── */
.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.125rem;
  color: #64748B;
  max-width: 600px;
  line-height: 1.7;
}

/* ── Hero ── */
.hero {
  padding: 100px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, #EEF2FF 0%, #fff 100%);
}
.hero-logo {
  font-weight: 900;
  font-size: 1.5rem;
  color: #1E293B;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  display: inline-flex;
  align-items: center;
}
.hero-logo-pro {
  background: #4F46E5;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  margin-left: 4px;
  position: relative;
  top: -1px;
}
.hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.hero h1 .accent { color: #4F46E5; }
.hero-sub {
  font-size: 1.25rem;
  color: #64748B;
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.hero-langs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.hero-lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid #E2E8F0;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #1E293B;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.hero-lang-pill .flag { font-size: 1.1rem; }

/* ── Social Proof ── */
.social-proof-bar {
  background: #1E293B;
  color: #fff;
  text-align: center;
  padding: 28px 24px;
}
.social-proof-bar p {
  font-size: 1.125rem;
  font-weight: 500;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}
.social-proof-bar strong {
  color: #A5B4FC;
  font-weight: 700;
}

/* ── Features ── */
.features { background: #fff; }
.features-header { text-align: center; margin-bottom: 56px; }
.features-header .section-subtitle { margin: 0 auto; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 32px 28px;
  transition: all 0.2s ease;
}
.feature-card:hover {
  border-color: #C7D2FE;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.08);
  transform: translateY(-2px);
}
.feature-icon {
  width: 48px;
  height: 48px;
  background: #EEF2FF;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 0.9375rem;
  color: #64748B;
  line-height: 1.6;
}

/* ── How It Works ── */
.how-it-works {
  background: linear-gradient(180deg, #F8FAFC 0%, #fff 100%);
}
.how-header { text-align: center; margin-bottom: 56px; }
.how-header .section-subtitle { margin: 0 auto; }
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}
.how-step { text-align: center; }
.how-step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #4F46E5;
  color: #fff;
  font-weight: 800;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.how-step h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.how-step p {
  font-size: 0.9375rem;
  color: #64748B;
  line-height: 1.6;
}

/* ── Translations Spotlight ── */
.translations {
  background: #1E293B !important;
  color: #fff !important;
  text-align: center;
}
.translations .section-title { color: #fff !important; background: transparent !important; }
.translations .section-subtitle { color: #94A3B8; margin: 0 auto 48px; }
.translation-demo {
  max-width: 640px;
  margin: 0 auto;
  background: #0F172A;
  border-radius: 16px;
  padding: 36px 32px;
  text-align: left;
  border: 1px solid #334155;
}
.demo-question {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.5;
  color: #F1F5F9;
}
.demo-translation {
  font-size: 0.9375rem;
  color: #A78BFA;
  font-style: italic;
  padding: 12px 16px;
  border-left: 3px solid #7C3AED;
  margin-bottom: 12px;
  line-height: 1.6;
}
.demo-translation:last-child { margin-bottom: 0; }
.demo-lang-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

/* ── Pricing ── */
.pricing { background: #fff; text-align: center; }
.pricing-card {
  max-width: 480px;
  margin: 48px auto 0;
  background: #fff;
  border: 2px solid #4F46E5;
  border-radius: 20px;
  padding: 48px 40px;
  box-shadow: 0 8px 32px rgba(79, 70, 229, 0.12);
  position: relative;
}
.pricing-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #4F46E5;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}
.pricing-price {
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #1E293B;
  line-height: 1;
  margin-bottom: 4px;
}
.pricing-price .currency {
  font-size: 1.75rem;
  font-weight: 700;
  vertical-align: top;
  position: relative;
  top: 8px;
}
.pricing-period {
  font-size: 1rem;
  color: #64748B;
  margin-bottom: 8px;
}
.pricing-kebab {
  font-size: 0.9375rem;
  color: #4F46E5;
  font-weight: 600;
  margin-bottom: 32px;
}
.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 36px;
}
.pricing-features li {
  padding: 10px 0;
  font-size: 1rem;
  color: #1E293B;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
}
.pricing-features li::before {
  content: "\2713";
  color: #4F46E5;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.pricing-guarantee {
  margin-top: 20px;
  font-size: 0.875rem;
  color: #64748B;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ── Comparison Table ── */
.comparison { background: linear-gradient(180deg, #fff 0%, #F8FAFC 100%); }
.comparison-header { text-align: center; margin-bottom: 48px; }
.comparison-header .section-subtitle { margin: 0 auto; }
.comparison-table-wrap {
  max-width: 800px;
  margin: 0 auto;
  overflow-x: auto;
}
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #E2E8F0;
  font-size: 0.9375rem;
}
.comparison-table thead th {
  background: #1E293B;
  color: #fff;
  font-weight: 700;
  padding: 16px 20px;
  text-align: left;
  font-size: 0.9375rem;
}
.comparison-table thead th:last-child {
  background: #4F46E5;
}
.comparison-table tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid #E2E8F0;
  color: #1E293B;
  line-height: 1.5;
}
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table tbody tr:nth-child(even) td { background: #F8FAFC; }
.comparison-table tbody td:first-child {
  font-weight: 600;
  color: #475569;
}
.comparison-table tbody td:last-child {
  font-weight: 600;
  color: #4F46E5;
}
.comparison-table .check { color: #16A34A; font-weight: 700; }
.comparison-table .cross { color: #DC2626; font-weight: 700; }

/* ── FAQ ── */
.faq { background: #F8FAFC; }
.faq-header { text-align: center; margin-bottom: 48px; }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #1E293B;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  line-height: 1.4;
}
.faq-question:hover { background: #F8FAFC; }
.faq-chevron {
  font-size: 1.25rem;
  color: #94A3B8;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 0.9375rem;
  color: #64748B;
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* ── Final CTA ── */
.final-cta {
  background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%) !important;
  color: #fff !important;
  text-align: center;
  padding: 96px 24px;
}
.final-cta .section-title { color: #fff !important; background: transparent !important; font-size: 2.5rem; }
.final-cta .section-subtitle { color: #C7D2FE; margin: 0 auto 40px; }
.cta-btn-white {
  background: #fff;
  color: #4F46E5 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
.cta-btn-white:hover {
  background: #F8FAFC;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ── Footer ── */
.lp-footer {
  background: #0F172A;
  color: #94A3B8;
  text-align: center;
  padding: 32px 24px;
  font-size: 0.8125rem;
  line-height: 1.6;
}
.lp-footer a { color: #A5B4FC; }
.lp-footer a:hover { color: #C7D2FE; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .top-nav-links a:not(.top-nav-cta) { display: none; }
  .hero { padding: 64px 0 56px; }
  .hero h1 { font-size: 2.25rem; }
  .hero-sub { font-size: 1.0625rem; }
  section { padding: 56px 0; }
  .section-title { font-size: 1.75rem; }
  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .how-steps { grid-template-columns: 1fr; gap: 40px; }
  .pricing-card { padding: 40px 28px; margin: 40px 16px 0; }
  .pricing-price { font-size: 3rem; }
  .translation-demo { padding: 28px 24px; margin: 0 8px; }
  .final-cta { padding: 64px 24px; }
  .final-cta .section-title { font-size: 1.75rem; }
  .cta-btn { font-size: 1rem; padding: 14px 32px; }
  .cta-btn-lg { font-size: 1.125rem; padding: 16px 40px; }
  .social-proof-bar p { font-size: 1rem; }
  .comparison-table { font-size: 0.8125rem; }
  .comparison-table thead th,
  .comparison-table tbody td { padding: 10px 12px; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Post-WP overrides — loaded last to win specificity ── */
section.translations, section.translations * { color: #fff !important; background-color: transparent !important; }
section.translations { background: #1E293B !important; }
section.translations .section-subtitle { color: #94A3B8 !important; }
section.translations .demo-lang-label { color: #64748B !important; }
section.translations .demo-translation { color: #A78BFA !important; }
section.translations .demo-question { color: #F1F5F9 !important; }
section.translations .translation-demo { background: #0F172A !important; }
section.final-cta, section.final-cta * { color: #fff !important; background-color: transparent !important; }
section.final-cta { background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%) !important; }
section.final-cta .section-subtitle { color: #C7D2FE !important; }
section.final-cta .cta-btn-white { background: #fff !important; color: #4F46E5 !important; }
.social-proof-bar, .social-proof-bar * { color: #fff !important; background-color: transparent !important; }
.social-proof-bar { background: #1E293B !important; }
.social-proof-bar strong { color: #A5B4FC !important; }
.lp-footer, .lp-footer * { background-color: transparent !important; }
.lp-footer { background: #0F172A !important; color: #94A3B8 !important; }
.lp-footer a { color: #A5B4FC !important; }
