/* ==========================================================================
   Flux Landing Page - styles.css
   Design tokens match the main application (web/src/App.css)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #faf9f7;
  color: #1e293b;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

a {
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

.btn-green {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
}

.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.45);
}

.btn-outline-light {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 10px;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

.btn-cta {
  padding: 0.875rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.btn-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 8px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ffffff;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.btn-header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
}

/* --------------------------------------------------------------------------
   Top Bar
   -------------------------------------------------------------------------- */

.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  z-index: 100;
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
}

.top-bar--dark {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar--dark .top-bar__wordmark {
  color: #ffffff;
}

.top-bar--dark .top-bar__nav-link,
.top-bar--dark .top-bar__login {
  color: rgba(255, 255, 255, 0.7);
}

.top-bar--dark .top-bar__nav-link:hover,
.top-bar--dark .top-bar__login:hover {
  color: #ffffff;
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.top-bar__wordmark {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.top-bar__logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.top-bar__login {
  font-size: 0.9rem;
  color: #64748b;
  text-decoration: none;
  transition: color 0.15s;
}

.top-bar__login:hover {
  color: #2563eb;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  padding: 5rem 1.5rem;
  background: #ffffff;
}

.section--gray {
  background: #f5f3f0;
  position: relative;
  overflow: hidden;
}

.section--gray::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #c8c4bf 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.3;
  pointer-events: none;
}

.section--dark {
  background: linear-gradient(180deg, #1e293b, #0f172a);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   Section Headings
   -------------------------------------------------------------------------- */

.section__headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: #1e293b;
  letter-spacing: -0.02em;
}

.section--dark .section__headline {
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   Section Copy
   -------------------------------------------------------------------------- */

.section__copy {
  text-align: center;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

.section--dark .section__copy {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   Hero Section - Dark Navy Variant
   -------------------------------------------------------------------------- */

.hero {
  padding-top: calc(60px + 5rem);
}

.hero--dark {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  color: #ffffff;
  overflow: hidden;
  position: relative;
}

/* Decorative glow orbs */
.hero--dark::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.hero--dark::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero--dark .hero__headline {
  color: #ffffff;
}

.hero--dark .hero__subheadline {
  color: rgba(255, 255, 255, 0.75);
}

.hero__text h1,
.hero__headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: #1e293b;
  letter-spacing: -0.02em;
}

.hero__subheadline {
  font-size: 1.1rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hero__buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.hero__trust {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 1rem;
  letter-spacing: 0;
}

.hero__phones {
  display: flex;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   Scroll Link
   -------------------------------------------------------------------------- */

.scroll-link {
  display: inline-block;
  position: relative;
  color: #64748b;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.15s;
}

.hero--dark .scroll-link {
  color: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.4);
}

/* --------------------------------------------------------------------------
   Phone Mockups - Dual offset
   -------------------------------------------------------------------------- */

.phone-group {
  position: relative;
  width: 380px;
  height: 440px;
}

.phone-mockup {
  width: 250px;
  max-width: 100%;
  background: linear-gradient(145deg, #2d3b4f, #1e293b);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  padding: 12px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4),
              0 0 80px rgba(37, 99, 235, 0.12),
              inset 0 1px 0 rgba(255, 255, 255, 0.06);
  position: absolute;
}

.phone-mockup--primary {
  top: 0;
  left: 0;
  z-index: 2;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              z-index 0s;
}

.phone-mockup--secondary {
  top: 60px;
  right: 0;
  z-index: 1;
  opacity: 0.9;
  transform: scale(0.92);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              z-index 0s;
}

/* Phone swap state classes */
.phone-mockup--swapped {
  z-index: 1;
  opacity: 0.9;
  transform: scale(0.92) translateX(20px);
}

.phone-mockup--front {
  z-index: 2;
  opacity: 1;
  transform: scale(1) translateX(-20px);
}

.phone-mockup--hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.85);
}

/* Feedback Loop Diagram */
.feedback-loop-diagram {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #1e293b, #0f172a);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4),
              0 0 80px rgba(37, 99, 235, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 3;
}

.feedback-loop-diagram--visible {
  opacity: 1;
  pointer-events: auto;
}

.loop-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  text-align: center;
}

.loop-steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  width: 100%;
}

.loop-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  border-radius: 8px;
  width: 90%;
  font-size: 0.78rem;
  font-weight: 600;
}

.loop-step--blue {
  background: rgba(37, 99, 235, 0.25);
  border: 1px solid rgba(37, 99, 235, 0.4);
  color: #93c5fd;
}

.loop-step--green {
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #86efac;
}

.loop-step__icon {
  font-size: 0.9rem;
  flex-shrink: 0;
}

.loop-step__label {
  line-height: 1.2;
}

.loop-arrow {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1;
}

.loop-arrow--return {
  color: rgba(34, 197, 94, 0.6);
  font-size: 0.7rem;
  margin-top: 0.125rem;
}

/* Phone group interactivity */
.phone-group {
  cursor: pointer;
}

.phone-group__hint {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.75rem;
  letter-spacing: 0.02em;
  transition: opacity 0.6s ease;
}

.phone-group__hint--faded {
  opacity: 0;
}

.phone-mockup__screen {
  background: #ffffff;
  border-radius: 24px;
  padding: 1.5rem 1rem;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.phone-mockup__notch {
  width: 90px;
  height: 28px;
  background: #1e293b;
  border-radius: 0 0 16px 16px;
  margin: -1.5rem auto 1rem auto;
  position: relative;
  z-index: 1;
}

.phone-mockup__notch::after {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #334155;
}

/* --------------------------------------------------------------------------
   Chat Bubbles
   -------------------------------------------------------------------------- */

.chat-bubble {
  padding: 0.625rem 0.875rem;
  border-radius: 16px;
  font-size: 0.8rem;
  line-height: 1.4;
  max-width: 85%;
}

.chat-bubble--outbound {
  background: #2563eb;
  color: #ffffff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-bubble--inbound {
  background: #f3f4f6;
  color: #1e293b;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-bubble__link {
  text-decoration: underline;
  opacity: 0.85;
}

/* --------------------------------------------------------------------------
   How It Works - Steps Flow (Horizontal 5-step)
   -------------------------------------------------------------------------- */

.steps-flow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.step-flow-item {
  flex: 1;
  max-width: 180px;
  text-align: center;
  padding: 0 0.5rem;
}

.step-flow-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3),
              0 0 0 4px rgba(37, 99, 235, 0.1);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-flow-item:hover .step-flow-icon {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4),
              0 0 0 6px rgba(37, 99, 235, 0.15);
}

.step-flow-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.step-flow-desc {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.4;
}

.step-flow-arrow {
  display: flex;
  align-items: center;
  padding-top: 1rem;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Before / After - Comparison Grid
   -------------------------------------------------------------------------- */

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.comparison-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  border: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06),
              0 4px 12px rgba(0, 0, 0, 0.04),
              0 8px 24px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.comparison-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06),
              0 8px 20px rgba(0, 0, 0, 0.06),
              0 16px 40px rgba(0, 0, 0, 0.04);
}

.comparison-card--without {
  border-left: 4px solid #dc2626;
  background: linear-gradient(135deg, #ffffff 0%, #fef2f2 100%);
}

.comparison-card--with {
  border-left: 4px solid #16a34a;
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
  border: 1px solid rgba(22, 163, 106, 0.15);
  border-left: 4px solid #16a34a;
}

.comparison-card__header {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.comparison-card__icon--red {
  color: #dc2626;
  font-weight: 700;
}

.comparison-card__icon--green {
  color: #16a34a;
  font-weight: 700;
}

.comparison-card__list {
  list-style: none;
  padding: 0;
}

.comparison-card__list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.5;
}

.comparison-card--without .comparison-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #dc2626;
}

.comparison-card--with .comparison-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16a34a;
}

/* --------------------------------------------------------------------------
   Industry Section - Pills
   -------------------------------------------------------------------------- */

.industry-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.industry-pill {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  background: #ffffff;
  color: #1e293b;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
  line-height: 1.5;
}

.industry-pill:hover {
  border-color: #2563eb;
  color: #2563eb;
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
}

.industry-pill--active {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-color: #2563eb;
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.3);
}

.industry-pill--active:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  border-color: #1d4ed8;
  color: #ffffff;
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

/* --------------------------------------------------------------------------
   Seasonal Chart (Landing)
   -------------------------------------------------------------------------- */

.industry-chart {
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.seasonal-chart-landing {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 120px;
  padding: 0 0.5rem;
}

.chart-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  min-width: 12px;
  transition: height 0.35s ease-out;
}

.chart-bar--peak {
  background: #16a34a;
}

.chart-bar--normal {
  background: #2563eb;
}

.chart-bar--low {
  background: #ca8a04;
}

.chart-bar--off {
  background: #e2e8f0;
}

.chart-months {
  display: flex;
  padding: 0 0.5rem;
  margin-top: 0.5rem;
}

.chart-months span {
  flex: 1;
  text-align: center;
  font-size: 0.7rem;
  color: #64748b;
}

.chart-legend {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.chart-legend__item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8rem;
  color: #64748b;
}

.chart-legend__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.chart-legend__item--peak .chart-legend__dot {
  background: #16a34a;
}

.chart-legend__item--normal .chart-legend__dot {
  background: #2563eb;
}

.chart-legend__item--low .chart-legend__dot {
  background: #ca8a04;
}

/* --------------------------------------------------------------------------
   Final CTA Section
   -------------------------------------------------------------------------- */

.section--dark .btn-cta {
  display: inline-flex;
  align-items: center;
}

.section--dark .section__copy {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

/* Center the CTA content */
#final-cta {
  text-align: center;
}

.final-cta__pricing {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  margin-top: 1rem;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
  background: #0f172a;
  padding: 0 1.5rem;
}

.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 3rem;
  padding-bottom: 2rem;
  display: flex;
  gap: 1.5rem;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: #ffffff;
}

.footer__tagline {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  max-width: 280px;
  line-height: 1.5;
}

.footer__links {
  display: flex;
  gap: 2rem;
}

.footer__link-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__link-heading {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.25rem;
}

.footer__link {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.15s;
}

.footer__link:hover {
  color: #ffffff;
}

.footer__bottom {
  text-align: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
}

.footer__copyright {
  display: block;
  margin-top: 0.5rem;
}

/* --------------------------------------------------------------------------
   Top Bar - Nav Links
   -------------------------------------------------------------------------- */

.top-bar__right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar__nav-link {
  font-size: 0.9rem;
  color: #64748b;
  text-decoration: none;
  transition: color 0.15s;
}

.top-bar__nav-link:hover,
.top-bar__nav-link--active {
  color: #2563eb;
}

/* --------------------------------------------------------------------------
   Pricing Hero
   -------------------------------------------------------------------------- */

.pricing-hero {
  padding-top: calc(60px + 5rem);
  text-align: center;
}

/* --------------------------------------------------------------------------
   Pricing Card
   -------------------------------------------------------------------------- */

.pricing-card {
  max-width: 480px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 16px;
  padding: 3rem 2.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06),
              0 8px 24px rgba(0, 0, 0, 0.06),
              0 16px 48px rgba(0, 0, 0, 0.04);
  text-align: center;
  border-top: none;
  overflow: hidden;
}

.pricing-card__price {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 4.5rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1;
  margin-bottom: 2rem;
  letter-spacing: -0.03em;
}

.pricing-card__dollar {
  font-size: 2.5rem;
  vertical-align: baseline;
  position: relative;
  top: -0.15em;
  margin-right: 0.05em;
}

.pricing-card__period {
  font-size: 1.25rem;
  color: #64748b;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 500;
  letter-spacing: 0;
}

.pricing-card__features {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-bottom: 2rem;
}

.pricing-card__features li {
  padding: 0.5rem 0;
  padding-left: 1.75rem;
  position: relative;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.5;
}

.pricing-card__features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: #16a34a;
  font-weight: 700;
  font-size: 1rem;
}

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

/* --------------------------------------------------------------------------
   Comparison Table
   -------------------------------------------------------------------------- */

.compare-table-wrap {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06),
              0 4px 12px rgba(0, 0, 0, 0.04),
              0 8px 24px rgba(0, 0, 0, 0.03);
  font-size: 0.95rem;
}

.compare-table th,
.compare-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid #f1f5f9;
}

.compare-table thead th {
  font-weight: 700;
  color: #1e293b;
  font-size: 0.9rem;
  background: #f8fafc;
  border-bottom: 2px solid #e2e8f0;
  white-space: nowrap;
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table__price-tag {
  display: block;
  font-weight: 500;
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 0.125rem;
}

.compare-table__feature-col {
  width: 40%;
}

.compare-table__rf-col,
.compare-table__comp-col {
  width: 30%;
  text-align: center;
}

.compare-table td:nth-child(2),
.compare-table td:nth-child(3) {
  text-align: center;
}

.compare-highlight {
  background: rgba(37, 99, 235, 0.04);
}

thead .compare-highlight {
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
}

.compare-check {
  color: #16a34a;
  font-weight: 700;
  font-size: 1.1rem;
}

.compare-muted {
  color: #94a3b8;
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   Scroll Reveal Animations
   -------------------------------------------------------------------------- */

[data-animate] {
  opacity: 0;
  will-change: transform, opacity;
}

[data-animate="fade-in"] {
  transform: translateY(20px);
}

[data-animate="slide-up"] {
  transform: translateY(40px);
}

[data-animate="scale-up"] {
  transform: scale(0.92);
}

[data-animate].is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   Visual Polish - Gradient accents and glow
   -------------------------------------------------------------------------- */

.hero__headline em,
.hero__headline strong {
  font-style: normal;
  background: linear-gradient(135deg, #60a5fa, #22c55e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-green:hover {
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.45),
              0 0 40px rgba(34, 197, 94, 0.15);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45),
              0 0 40px rgba(37, 99, 235, 0.15);
}

.step-flow-icon {
  position: relative;
}

.step-flow-icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(29, 78, 216, 0.1));
  z-index: -1;
  filter: blur(8px);
}

.pricing-card {
  position: relative;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 2rem;
  right: 2rem;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #22c55e);
  border-radius: 0 0 4px 4px;
}

/* Subtle grid pattern on dark sections */
.section--dark {
  position: relative;
}

.section--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-animate] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   Responsive - Mobile (max-width: 768px)
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {

  /* Sections */
  .section {
    padding: 3rem 1rem;
  }

  .section__headline {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }

  /* Hero */
  .hero {
    padding-top: calc(60px + 3rem);
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero__text h1,
  .hero__headline {
    font-size: 1.75rem;
  }

  .hero__subheadline {
    font-size: 1rem;
  }

  .hero__buttons {
    justify-content: center;
  }

  .hero__trust {
    text-align: center;
  }

  .hero__phones {
    justify-content: center;
  }

  /* Phone mockups - single on mobile */
  .phone-group {
    width: 260px;
    height: 400px;
  }

  .phone-mockup--secondary {
    display: none;
  }

  .phone-mockup--primary {
    position: relative;
    margin: 0 auto;
  }

  /* Steps flow - vertical on mobile */
  .steps-flow {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .step-flow-item {
    max-width: 300px;
  }

  .step-flow-arrow {
    transform: rotate(90deg);
    padding-top: 0;
  }

  /* Comparison */
  .comparison-grid {
    grid-template-columns: 1fr;
  }

  /* Industry pills */
  .industry-pills {
    gap: 0.375rem;
  }

  /* Chart */
  .seasonal-chart-landing {
    height: 100px;
  }

  .chart-months span {
    font-size: 0.6rem;
  }

  .chart-legend {
    gap: 0.75rem;
  }

  .chart-legend__item {
    font-size: 0.75rem;
  }

  /* Top Bar */
  .top-bar {
    padding: 0 1rem;
  }

  .top-bar__right {
    gap: 0.75rem;
  }

  .btn-header-cta {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
  }

  /* Footer */
  .footer {
    padding: 0 1rem;
  }

  .footer__top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }

  .footer__tagline {
    max-width: 100%;
  }

  .footer__links {
    justify-content: center;
  }

  /* Pricing Hero */
  .pricing-hero {
    padding-top: calc(60px + 3rem);
  }

  /* Pricing Card */
  .pricing-card {
    padding: 2rem 1.5rem;
  }

  .pricing-card__price {
    font-size: 3.5rem;
  }

  .pricing-card__dollar {
    font-size: 2rem;
  }

  /* Comparison Table - stacked on mobile */
  .compare-table {
    font-size: 0.85rem;
  }

  .compare-table th,
  .compare-table td {
    padding: 0.75rem 0.75rem;
  }

  .compare-table__feature-col {
    width: auto;
  }

  .compare-table__rf-col,
  .compare-table__comp-col {
    width: auto;
  }
}
