/* ===== Base Styles ===== */

/* ===== CSS Variables ===== */
:root {
  /* Neutral Color Palette - Trustworthy & Corporate */
  --color-bg-primary: #f8f8f8;
  --color-bg-secondary: #ffffff;
  --color-bg-tertiary: #f0f0f0;
  --color-text-primary: #1a1a1a;
  --color-text-secondary: #4a4a4a;
  --color-text-muted: #6b6b6b;
  --color-border: #e0e0e0;
  --color-border-light: #eeeeee;

  /* Accent Color - For Prices & CTAs */
  --color-accent: #2563eb;
  --color-accent-dark: #1d4ed8;
  --color-accent-light: #dbeafe;

  /* Success/Positive */
  --color-success: #059669;
  --color-success-light: #d1fae5;

  /* Typography - Using system fonts for consistency */
  --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-heading: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 0.75rem;
  --spacing-lg: 1rem;
  --spacing-xl: 1.5rem;
  --spacing-2xl: 2rem;
  --spacing-3xl: 2.5rem;
  --spacing-4xl: 3rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
}

/* ===== Reset & Base ===== */
body {
  background-color: transparent;
  margin: 0;
  padding: 0;
  font-family: var(--font-primary);
}

.landing-page {
  font-family: var(--font-primary);
  color: var(--color-text-primary);
  background-color: transparent;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  text-align: center;
}

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

/* ===== Icons ===== */
.icon {
  width: 24px;
  height: 24px;
  stroke: var(--color-accent);
  stroke-width: 2;
  fill: none;
}

.icon-check {
  width: 18px;
  height: 18px;
  stroke: var(--color-success);
  stroke-width: 2.5;
  fill: none;
  flex-shrink: 0;
}

/* ===== Section Base ===== */
.landing-page>section {
  padding: var(--spacing-2xl) 0;
}

/* ===== Container for content centering ===== */
.section-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.section-title {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-primary);
  text-align: center;
  margin-bottom: var(--spacing-xl);
  position: relative;
  padding-bottom: var(--spacing-md);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--color-accent);
  border-radius: 2px;
}

/* ===== Global Centering Overrides (Excluding Hero, Sticky CTA, Popup, Packages, and Terms) ===== */
.landing-page>section:not(.hero-section):not(.sticky-cta-section):not(.popup-modal-section):not(.packages-section):not(.terms-section) {
  text-align: center !important;
}

/* Reset all container-level tilts and margins */
.landing-page>section:not(.hero-section):not(.sticky-cta-section):not(.popup-modal-section):not(.packages-section):not(.terms-section) [class*="-container"],
.landing-page>section:not(.hero-section):not(.sticky-cta-section):not(.popup-modal-section):not(.packages-section):not(.terms-section) [class*="-content"],
.landing-page>section:not(.hero-section):not(.sticky-cta-section):not(.popup-modal-section):not(.packages-section):not(.terms-section) [class*="-core"],
.landing-page>section:not(.hero-section):not(.sticky-cta-section):not(.popup-modal-section):not(.packages-section):not(.terms-section) [class*="-card"],
.landing-page>section:not(.hero-section):not(.sticky-cta-section):not(.popup-modal-section):not(.packages-section):not(.terms-section) [class*="-list"],
.landing-page>section:not(.hero-section):not(.sticky-cta-section):not(.popup-modal-section):not(.packages-section):not(.terms-section) [class*="-antithesis"],
.landing-page>section:not(.hero-section):not(.sticky-cta-section):not(.popup-modal-section):not(.packages-section):not(.terms-section) [class*="-footer"] {
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--spacing-lg) !important;
  padding-right: var(--spacing-lg) !important;
  max-width: 1100px !important;
}

/* Allow grids to keep their grid structure while being centered */
.landing-page>section:not(.hero-section):not(.sticky-cta-section):not(.popup-modal-section):not(.packages-section):not(.terms-section) [class*="-grid"] {
  display: grid !important;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 1100px !important;
  justify-items: center !important;
}

/* Fix for individual items in grids or lists */
.landing-page>section:not(.hero-section):not(.sticky-cta-section):not(.popup-modal-section):not(.packages-section):not(.terms-section) [class*="-item"] {
  text-align: center !important;
  align-items: center !important;
  justify-content: center !important;
  padding-left: var(--spacing-lg) !important;
  padding-right: var(--spacing-lg) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Ensure horizontal items in rows (antithesis, grids) stay responsive but centered */
@media (min-width: 768px) {

  .landing-page>section:not(.hero-section):not(.sticky-cta-section):not(.popup-modal-section):not(.packages-section):not(.terms-section) [class*="-grid"],
  .landing-page>section:not(.hero-section):not(.sticky-cta-section):not(.popup-modal-section):not(.packages-section):not(.terms-section) [class*="-antithesis"] {
    flex-direction: row !important;
    align-items: stretch !important;
    flex-wrap: wrap !important;
    gap: var(--spacing-xl) !important;
  }
}

/* Reset titles and underlines */
.landing-page>section:not(.hero-section):not(.sticky-cta-section):not(.popup-modal-section):not(.packages-section):not(.terms-section) [class*="-title"] {
  padding-left: 0 !important;
  text-align: center !important;
  width: 100% !important;
}

.landing-page>section:not(.hero-section):not(.sticky-cta-section):not(.popup-modal-section):not(.packages-section):not(.terms-section) [class*="-title"]::after {
  left: 50% !important;
  transform: translateX(-50%) !important;
}

/* Icons, boxes and images */
.landing-page>section:not(.hero-section):not(.sticky-cta-section):not(.popup-modal-section):not(.packages-section):not(.terms-section) [class*="-icon"],
.landing-page>section:not(.hero-section):not(.sticky-cta-section):not(.popup-modal-section):not(.packages-section):not(.terms-section) [class*="-icon-box"],
.landing-page>section:not(.hero-section):not(.sticky-cta-section):not(.popup-modal-section):not(.packages-section):not(.terms-section) [class*="-image"],
.landing-page>section:not(.hero-section):not(.sticky-cta-section):not(.popup-modal-section):not(.packages-section):not(.terms-section) [class*="-icon-wrapper"],
.landing-page>section:not(.hero-section):not(.sticky-cta-section):not(.popup-modal-section):not(.packages-section):not(.terms-section) svg {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Fix for lists (bullets) to keep them readable but centered as a block */
.landing-page>section:not(.hero-section):not(.sticky-cta-section):not(.popup-modal-section):not(.packages-section):not(.terms-section) ul,
.landing-page>section:not(.hero-section):not(.sticky-cta-section):not(.popup-modal-section):not(.packages-section):not(.terms-section) ol {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  text-align: left !important;
  margin: 0 auto !important;
  max-width: fit-content !important;
  padding-left: var(--spacing-xl) !important;
}