/**
 * StarShed Components Stylesheet
 * Inspired by Converta SaaS Theme (preview.codeless.co/converta/default/saas/)
 *
 * Header, Hero, Pill Badges, Mockup Showcases, 3-Pillar Grid,
 * Feature Splits, Pricing Matrix, Testimonials, FAQ Accordion, Modal & Footer.
 *
 * @package StarShed
 * @since 2.3.0
 */

/* ==========================================================================
   1. HERO SECTION (Converta Centered Hero with Dashboard Mockup)
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 5rem 0 6rem;
  background: var(--backdrop-hero);
  text-align: center;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(circle, rgba(133, 127, 255, 0.18) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
}

/* Announcement Pill */
.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--brand-light);
  border: 1px solid rgba(99, 102, 241, 0.25);
  padding: 0.42rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--brand-primary);
  margin-bottom: 1.75rem;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08);
  transition: all var(--transition-fast);
}

.hero-pill-badge:hover {
  border-color: var(--brand-primary);
  transform: translateY(-1px);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-ring 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
  flex-shrink: 0;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 1.35rem;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.68;
  max-width: 720px;
  margin: 0 auto 2.25rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* Centered Glowing Hero Mockup */
.hero-mockup-container {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  z-index: 1;
}

.hero-mockup-glow {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 900px;
  height: 550px;
  background-image: url('../images/mockups/images-saas-gradient-min-min.png');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
}

.hero-mockup-window {
  position: relative;
  z-index: 1;
  background: var(--bg-dark-preview);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-converta), 0 30px 60px -12px rgba(15, 23, 42, 0.25);
  overflow: hidden;
  text-align: left;
}

.mockup-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.4rem;
  background: rgba(15, 23, 42, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mockup-window-dots {
  display: flex;
  gap: 6px;
}

.mockup-window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.mockup-window-dots span:nth-child(1) { background: #ef4444; }
.mockup-window-dots span:nth-child(2) { background: #f59e0b; }
.mockup-window-dots span:nth-child(3) { background: #10b981; }

.mockup-window-url {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.25rem 1rem;
  border-radius: var(--radius-full);
}

.hero-mockup-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Floating Status Chips around Hero Mockup */
.mockup-floating-chip {
  position: absolute;
  z-index: 2;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: float-chip 4s ease-in-out infinite alternate;
}

.mockup-floating-chip--left {
  top: 15%;
  left: -24px;
}

.mockup-floating-chip--right {
  bottom: 15%;
  right: -24px;
  animation-delay: -2s;
}

@keyframes float-chip {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

.chip-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.chip-title {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-main);
  line-height: 1.2;
}

.chip-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Social Proof & Logo Strip */
.hero-social-proof {
  margin-top: 4.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.social-proof-label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
}

.social-proof-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-secondary);
  opacity: 0.85;
  transition: opacity var(--transition-fast);
}

.trust-badge-item:hover {
  opacity: 1;
}

.stars-gold {
  color: #f59e0b;
  letter-spacing: 2px;
}

/* ==========================================================================
   2. CONVERTA 3-PILLAR VALUE GRID ("Every project, process, and decision")
   ========================================================================== */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.value-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: var(--shadow-hover);
}

.value-card-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--brand-light);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  transition: transform var(--transition-fast);
}

.value-card:hover .value-card-icon {
  transform: scale(1.08);
}

.value-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.85rem;
}

.value-card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.value-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--brand-primary);
  transition: gap var(--transition-fast);
}

.value-card:hover .value-card-link {
  gap: 0.75rem;
}

/* ==========================================================================
   3. ALTERNATING FEATURE SPLITS ("Transform the way you work with one place")
   ========================================================================== */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
  padding: 3rem 0;
}

.feature-split.is-reversed {
  grid-template-columns: 1.1fr 1fr;
}

.feature-split.is-reversed .feature-split-visual {
  order: 1;
}

.feature-split.is-reversed .feature-split-content {
  order: 2;
}

.feature-split-content {
  max-width: 520px;
}

.feature-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-primary);
  background: var(--brand-light);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.feature-split-title {
  font-size: clamp(1.85rem, 2.8vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--text-main);
  margin-bottom: 1.15rem;
}

.feature-split-desc {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.68;
  margin-bottom: 1.75rem;
}

.feature-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.feature-check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 500;
  line-height: 1.5;
}

.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-split-visual {
  position: relative;
}

.feature-glow-mesh {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background-image: url('../images/mockups/gradient-2-1-min.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
  opacity: 0.8;
}

.feature-mockup-card {
  position: relative;
  z-index: 1;
  background: var(--bg-dark-preview);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-converta), 0 20px 40px -10px rgba(15, 23, 42, 0.15);
  overflow: hidden;
}

.feature-mockup-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   4. SCREENS & ASSETS CAROUSEL / GRID ("Review and comment on all assets")
   ========================================================================== */
.screens-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.screen-item-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  text-align: center;
  padding: 1.25rem 1rem 1.5rem;
}

.screen-item-card:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: var(--shadow-hover);
}

.screen-mockup-wrap {
  position: relative;
  background: #0f172a;
  border-radius: var(--radius-md);
  padding: 0.75rem;
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.screen-mockup-wrap img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}

.screen-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.screen-tag {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   5. SERVICES & ENGINEERING GRID
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.85rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: var(--shadow-hover);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--brand-light);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.62;
}

/* ==========================================================================
   6. METRIC COUNTERS & STATS
   ========================================================================== */
.stats-banner {
  background: var(--bg-dark-preview);
  border-radius: var(--radius-xl);
  padding: 3.5rem 2rem;
  color: #ffffff;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.25);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.35rem;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.88rem;
  color: #94a3b8;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   7. CONVERTA PRICING MATRIX ("Choose the right plan for you")
   ========================================================================== */
.pricing-header-wrap {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3rem;
  text-wrap: balance;
}

/* Billing Toggle Switch */
.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.pricing-toggle-label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.pricing-toggle-label.is-active {
  color: var(--text-main);
}

.pricing-switch {
  position: relative;
  width: 52px;
  height: 28px;
  background: #cbd5e1;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.pricing-switch.is-annual {
  background: var(--brand-primary);
}

.pricing-switch-handle {
  position: absolute;
  top: 3px;
  left: 4px;
  width: 22px;
  height: 22px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  transition: transform var(--transition-fast);
}

.pricing-switch.is-annual .pricing-switch-handle {
  transform: translateX(22px);
}

.pricing-discount-badge {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.pricing-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 3rem 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: var(--shadow-hover);
}

.pricing-card--popular {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-converta), 0 20px 40px -10px rgba(79, 70, 229, 0.15);
  transform: scale(1.02);
}

.pricing-card--popular:hover {
  transform: scale(1.02) translateY(-6px);
}

.pricing-popular-pill {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-gradient);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 1.1rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.pricing-tier-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.pricing-tier-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.75rem;
}

.pricing-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-bottom: 2rem;
}

.pricing-amount {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
  letter-spacing: -0.03em;
}

.pricing-period {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.pricing-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.pricing-card .btn {
  width: 100%;
}

/* ==========================================================================
   8. TESTIMONIALS SECTION ("What our customers are saying")
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: var(--shadow-hover);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  color: #f59e0b;
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
}

.testimonial-quote {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.68;
  margin-bottom: 2rem;
  flex-grow: 1;
  font-style: italic;
}

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

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(99, 102, 241, 0.18);
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.testimonial-role {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   9. FREQUENTLY ASKED QUESTIONS (Accordion)
   ========================================================================== */
.faq-wrap {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.is-open {
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1.35rem 1.65rem;
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-question-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.is-open .faq-question-icon {
  transform: rotate(45deg);
  background: var(--brand-light);
  color: var(--brand-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out, padding var(--transition-fast);
  padding: 0 1.65rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.68;
}

.faq-item.is-open .faq-answer {
  max-height: 500px;
  padding: 0 1.65rem 1.5rem;
}

/* ==========================================================================
   10. HIGH-CONVERSION CTA BANNER
   ========================================================================== */
.cta-banner-wrap {
  position: relative;
  border-radius: var(--radius-2xl);
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 60%, #4338ca 100%);
  padding: 5rem 3rem;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  box-shadow: var(--shadow-converta), 0 30px 60px -15px rgba(30, 27, 75, 0.35);
}

.cta-banner-glow {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(133, 127, 255, 0.3) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}

.cta-banner-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.cta-banner-desc {
  font-size: 1.15rem;
  color: #c7d2fe;
  max-width: 620px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}

.cta-banner-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-cta-white {
  background: #ffffff;
  color: var(--brand-primary) !important;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.btn-cta-white:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.22);
}

/* ==========================================================================
   11. CONVERTA 4-COLUMN FOOTER
   ========================================================================== */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-brand-p {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.68;
  max-width: 340px;
  margin-top: 1.25rem;
  margin-bottom: 1.5rem;
}

.footer-column-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1.35rem;
  letter-spacing: -0.01em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  font-size: 0.92rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ==========================================================================
   12. LEAD CAPTURE & DEMO MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.is-active {
  display: flex;
  animation: fadeIn 0.2s ease-out;
}

.modal-dialog {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 540px;
  width: 100%;
  padding: 2.5rem;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  position: relative;
  border: 1px solid var(--border-subtle);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--bg-tertiary);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: #e2e8f0;
  color: var(--text-main);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.45rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-main);
  background: #ffffff;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}
