/* ===== CRO PREMIUM COMPONENTS ===== */

.text-gradient {
  background: linear-gradient(135deg, hsl(38, 45%, 92%), hsl(40, 85%, 62%), hsl(38, 75%, 58%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-social { display: flex; gap: 8px; }

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(40, 85%, 62%, 0.08);
  border: 1px solid hsl(40, 85%, 62%, 0.2);
  color: var(--text-muted);
  transition: all 0.25s;
}

.social-link svg { width: 16px; height: 16px; fill: currentColor; }

.social-link:hover {
  background: var(--accent-gold);
  color: var(--accent-gold-fg);
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

.nav-cta {
  background: var(--accent-gold) !important;
  color: var(--accent-gold-fg) !important;
  font-weight: 700 !important;
  padding: 10px 18px !important;
  border-radius: 10px !important;
}

.nav-social-mobile {
  display: none;
  justify-content: center;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  margin-top: 8px;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid hsl(40, 85%, 62%, 0.25);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, hsl(28, 16%, 12%), hsl(28, 14%, 8%));
}

.hero-visual-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 32px;
  text-align: center;
}

.hero-mockup-card {
  background: hsl(28, 16%, 10%, 0.9);
  border: 1px solid hsl(40, 85%, 62%, 0.3);
  border-radius: var(--radius);
  padding: 20px 24px;
  width: 100%;
  max-width: 280px;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: hsl(40, 85%, 62%, 0.1);
  border: 1px solid hsl(40, 85%, 62%, 0.2);
  border-radius: 50px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.logo-ticker-wrap {
  overflow: hidden;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: hsl(28, 16%, 8%);
}

.logo-ticker {
  display: flex;
  gap: 48px;
  animation: ticker 30s linear infinite;
  width: max-content;
}

.logo-ticker span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: hsl(38, 20%, 55%);
  white-space: nowrap;
  letter-spacing: 0.05em;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.stat-card {
  text-align: center;
  padding: 28px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.3s;
}

.stat-card:hover { transform: scale(1.02); }

.stat-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label { font-size: 0.88rem; color: var(--text-muted); }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s;
}

.testimonial-card:hover {
  border-color: hsl(40, 85%, 62%, 0.4);
  transform: translateY(-4px);
}

.testimonial-stars { color: var(--accent-gold); margin-bottom: 16px; letter-spacing: 2px; }

.testimonial-text {
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.75;
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.testimonial-author { display: flex; align-items: center; gap: 14px; }

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, hsl(40, 85%, 62%), hsl(38, 75%, 45%));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent-gold-fg);
}

.testimonial-name { font-weight: 600; font-size: 0.95rem; }
.testimonial-role { font-size: 0.8rem; color: var(--text-muted); }

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.bento-card:hover {
  border-color: hsl(40, 85%, 62%, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.bento-card.span-2 { grid-column: span 2; }

.bento-icon {
  width: 56px;
  height: 56px;
  background: hsl(40, 85%, 62%, 0.12);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.bento-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.bento-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.75;
  flex: 1;
}

.bento-link {
  margin-top: 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.bento-link:hover { gap: 10px; }

.tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
}

.tab-btn {
  padding: 12px 24px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn.active,
.tab-btn:hover {
  background: hsl(40, 85%, 62%, 0.12);
  border-color: hsl(40, 85%, 62%, 0.4);
  color: var(--accent-gold);
}

.tab-panel { display: none; animation: fadeUp 0.4s ease; }
.tab-panel.active { display: block; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, transparent, hsl(40, 85%, 62%, 0.4), transparent);
}

.timeline-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.timeline-num {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background: var(--accent-gold);
  color: var(--accent-gold-fg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 0 4px 20px hsl(40, 85%, 62%, 0.35);
}

.timeline-step h3 { font-size: 1rem; margin-bottom: 8px; }
.timeline-step p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.pricing-toggle {
  display: flex;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 4px;
}

.pricing-toggle button {
  padding: 10px 24px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s;
}

.pricing-toggle button.active {
  background: var(--accent-gold);
  color: var(--accent-gold-fg);
}

.discount-badge {
  background: hsl(140, 50%, 35%, 0.2);
  color: hsl(140, 60%, 65%);
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
}

.pricing-card.featured {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 1px hsl(40, 85%, 62%, 0.3), 0 20px 50px rgba(0, 0, 0, 0.35);
  animation: pulse-border 3s ease infinite;
}

.grid-3 .pricing-card {
  display: flex;
  flex-direction: column;
  text-align: center;
}

@keyframes pulse-border {
  0%, 100% { box-shadow: 0 0 0 1px hsl(40, 85%, 62%, 0.3), 0 20px 50px rgba(0, 0, 0, 0.35); }
  50% { box-shadow: 0 0 0 2px hsl(40, 85%, 62%, 0.5), 0 20px 50px hsl(40, 85%, 62%, 0.1); }
}

.pricing-trust {
  text-align: center;
  margin-top: 32px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.pricing-features-preview {
  list-style: none;
  margin: 20px 0;
  text-align: left;
}

.pricing-features-preview li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-bottom: 1px solid hsl(38, 35%, 28%, 0.15);
}

.pricing-features-preview li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-gold);
  font-weight: 700;
}

.pricing-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.pricing-actions .btn { width: 100%; justify-content: center; }

.pricing-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.45s ease, opacity 0.35s ease, margin 0.35s ease;
  margin-top: 0;
  border-top: 0 solid var(--border);
}

.pricing-details.open {
  max-height: 520px;
  opacity: 1;
  margin-top: 20px;
  padding-top: 20px;
  border-top-width: 1px;
}

.pricing-details .price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-gold);
  margin-bottom: 4px;
}

.pricing-card .pricing-details .pricing-features {
  margin-top: 16px;
  text-align: left;
}

.faq-section .faq-item.open .faq-answer { max-height: 500px; }

.final-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, hsl(40, 85%, 62%, 0.15), hsl(28, 16%, 8%), hsl(28, 18%, 6%));
  border-top: 1px solid hsl(40, 85%, 62%, 0.25);
  text-align: center;
}

.final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.btn-pulse {
  animation: btn-pulse 2s ease infinite;
}

@keyframes btn-pulse {
  0%, 100% { box-shadow: 0 4px 24px hsl(40, 85%, 62%, 0.4); }
  50% { box-shadow: 0 4px 40px hsl(40, 85%, 62%, 0.6); }
}

.risk-reversal {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-premium {
  background: hsl(28, 18%, 4%);
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
}

.footer-premium h4 {
  color: var(--text);
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.footer-premium ul {
  list-style: none;
}

.footer-premium li {
  margin-bottom: 8px;
}

.footer-premium li a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-premium li a:hover {
  color: var(--accent-gold);
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-social-block h4 { margin-bottom: 16px; }

.footer-social-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-social-grid .social-link {
  width: 42px;
  height: 42px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--accent-gold);
}

.newsletter-form input.error { border-color: hsl(0, 70%, 50%); }
.newsletter-form input.success { border-color: hsl(140, 50%, 45%); }

.newsletter-msg {
  font-size: 0.8rem;
  margin-top: 8px;
  min-height: 1.2em;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 968px) {
  .header-social { display: none; }
  .nav-social-mobile { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-height: 280px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card.span-2 { grid-column: span 1; }
  .timeline { grid-template-columns: 1fr; }
  .timeline::before { display: none; }
  .footer-columns { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .stats-grid { grid-template-columns: 1fr; }
  .footer-columns { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
}
