@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&family=Poppins:wght@600;700;800&display=swap');

/* Design Tokens & Custom Properties */
:root {
  --color-obsidian: #FFFFFF; /* Page main background */
  --color-crimson: #E23A3A;  /* Apex Crimson */
  --color-crimson-glow: rgba(226, 58, 58, 0.1);
  --color-crimson-hover: #D32F2F;
  --color-studio-white: #1D1D1F; /* Pure Slate (Typography) */
  --color-pure-slate: #F5F5F7; /* Studio White (Primary Background) */
  --color-muted-silver: #86868B; /* Muted Silver (Sub-text) */
  --color-border-dark: rgba(0, 0, 0, 0.08);
  --color-border-light: rgba(0, 0, 0, 0.04);
  
  /* Primary & Accent colors mapped to brand CI */
  --color-primary: #1D1D1F; /* Slate Black */
  --color-primary-glow: rgba(29, 29, 31, 0.1);
  --color-primary-hover: #0F0F11; /* Obsidian Black */
  --color-accent: #E23A3A; /* Apex Crimson */
  --color-accent-glow: rgba(226, 58, 58, 0.1);
  --color-accent-hover: #D32F2F;
  
  --font-display: 'Poppins', 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  
  --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.05);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(0, 0, 0, 0.08);
}

/* Base resets & styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background-color: var(--color-obsidian);
  color: var(--color-studio-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-studio-white);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

/* Scrollbar customization */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-obsidian);
}
::-webkit-scrollbar-thumb {
  background: var(--color-pure-slate);
  border-radius: 4px;
  border: 2px solid var(--color-obsidian);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-crimson);
}

/* Utility Layout Classes */
.container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 4%;
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-studio-white) 30%, var(--color-muted-silver) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-crimson {
  background: linear-gradient(135deg, var(--color-crimson) 0%, #FF6B6B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge {
  display: none !important;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: #ffffff !important;
  border-bottom: 1px solid var(--color-border-dark) !important;
  transition: var(--transition-smooth);
}

header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border-dark);
  padding: 0.75rem 0;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  transition: var(--transition-smooth);
}

header.scrolled .nav-wrapper {
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-right: 3rem;
}

.logo svg {
  height: 28px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-right: auto;
}

/* Keep the expanded navigation, including Blog, clear of the CTA on tablets. */
@media (min-width: 769px) and (max-width: 1100px) {
  .nav-links { gap: 1.25rem; }
  header .logo-apex { margin-right: 2rem !important; }
  .nav-links + .nav-actions { margin-left: 1.25rem; }
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-muted-silver);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-studio-white);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-crimson);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: var(--color-crimson);
  color: white;
  border: 1px solid var(--color-crimson);
  box-shadow: 0 4px 20px var(--color-crimson-glow);
}

.btn-primary:hover {
  background: var(--color-crimson-hover);
  border-color: var(--color-crimson-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(226, 58, 58, 0.3);
}

.btn-secondary {
  background: rgba(0, 0, 0, 0.03);
  color: var(--color-studio-white);
  border: 1px solid var(--color-border-dark);
}

.btn-secondary:hover {
  background: rgba(0, 0, 0, 0.06);
  border-color: var(--color-muted-silver);
  transform: translateY(-2px);
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.btn:hover svg {
  transform: translateX(3px);
}

/* Mobile Menu Button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 110;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #1d1d1f !important;
  margin: 5px 0;
  transition: var(--transition-smooth);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 11rem 0 7rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image: radial-gradient(circle at 80% 20%, rgba(226, 58, 58, 0.07) 0%, transparent 50%);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to top, var(--color-obsidian), transparent);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: flex-start;
  flex-direction: column;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--color-muted-silver);
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 4rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 3rem;
  border-top: 1px solid var(--color-border-dark);
  padding-top: 2rem;
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-crimson);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.trust-label {
  font-size: 0.85rem;
  color: var(--color-muted-silver);
  font-weight: 500;
}

/* Hero Media / Dashboard Mockup */
.hero-media {
  position: relative;
}

.hero-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-premium);
  transform: perspective(1000px) rotateY(-8deg) rotateX(4deg);
  transition: transform 0.5s ease;
  overflow: hidden;
}

.hero-card:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border-dark);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

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

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.window-dot:nth-child(1) { background: #FF5F56; }
.window-dot:nth-child(2) { background: #FFBD2E; }
.window-dot:nth-child(3) { background: #27C93F; }

.card-status {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-crimson);
  background: rgba(226, 58, 58, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
}

/* Custom interactive graphs inside the mock dashboard */
.dashboard-widget {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid var(--color-border-dark);
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.widget-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-muted-silver);
  margin-bottom: 0.75rem;
}

.widget-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.widget-trend {
  font-size: 0.8rem;
  color: #27C93F;
  font-weight: 600;
}

/* Mini Bar Chart */
.bar-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 80px;
  padding-top: 10px;
}

.chart-bar {
  width: 12%;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  transition: height 1s ease, background 0.3s ease;
}

.chart-bar.active {
  background: var(--color-crimson);
  box-shadow: 0 0 10px var(--color-crimson-glow);
}

/* Section styling */
section {
  padding: 8rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 5rem;
}

.section-header h2 {
  font-size: 2.75rem;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--color-muted-silver);
}

/* Turning Point Comparison (Before vs After) */
.comparison-section {
  background: linear-gradient(180deg, var(--color-obsidian) 0%, rgba(29, 29, 31, 0.5) 50%, var(--color-obsidian) 100%);
}

.comp-toggle-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 3.5rem;
}

.comp-toggle-container {
  display: flex;
  background: var(--color-pure-slate);
  border: 1px solid var(--color-border-dark);
  padding: 0.35rem;
  border-radius: 100px;
  position: relative;
}

.comp-toggle-btn {
  background: none;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 100px;
  color: var(--color-muted-silver);
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
  z-index: 2;
  transition: var(--transition-fast);
}

.comp-toggle-btn.active {
  color: var(--color-studio-white);
}

.toggle-bg {
  position: absolute;
  top: 0.35rem;
  left: 0.35rem;
  height: calc(100% - 0.7rem);
  width: calc(50% - 0.35rem);
  background: var(--color-crimson);
  border-radius: 100px;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px var(--color-crimson-glow);
}

.comp-toggle-container.after-active .toggle-bg {
  transform: translateX(100%);
}

.comp-content-wrapper {
  position: relative;
  min-height: 480px;
}

.comp-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
}

.comp-panel.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.comp-info h3 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.comp-info p {
  color: var(--color-muted-silver);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.comp-list {
  list-style: none;
}

.comp-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.comp-list svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
}

.before-active .comp-list svg {
  color: #FF5F56;
}

.after-active .comp-list svg {
  color: #27C93F;
}

/* Visualization Panel Cards */
.comp-visual {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid var(--color-border-dark);
  border-radius: 16px;
  padding: 2.5rem;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Chaotic grid representation for Before state */
.chaotic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.chaotic-box {
  background: rgba(255, 95, 86, 0.08);
  border: 1px dashed rgba(255, 95, 86, 0.3);
  padding: 1.25rem;
  border-radius: 8px;
  text-align: center;
  font-size: 0.85rem;
  color: #FF5F56;
  font-weight: 500;
  animation: shake 4s infinite ease-in-out;
}

.chaotic-box:nth-child(even) {
  animation-delay: 0.5s;
}

/* Seamless flow representation for After state */
.flow-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.flow-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(39, 201, 63, 0.05);
  border: 1px solid rgba(39, 201, 63, 0.2);
  padding: 1rem 1.5rem;
  border-radius: 10px;
  position: relative;
}

.flow-step-label {
  font-weight: 600;
  font-size: 0.95rem;
  color: #27C93F;
}

.flow-step-meta {
  font-size: 0.8rem;
  color: var(--color-muted-silver);
}

.flow-connector {
  position: absolute;
  left: 50px;
  top: 100%;
  height: 1.5rem;
  width: 2px;
  background: #27C93F;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid var(--color-border-dark);
  border-radius: 16px;
  padding: 2.5rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 0% 0%, var(--color-crimson-glow) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(226, 58, 58, 0.3);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  color: var(--color-crimson);
  border: 1px solid var(--color-border-dark);
  position: relative;
  z-index: 2;
}

.feature-card:hover .feature-icon {
  background: var(--color-crimson);
  color: white;
  border-color: var(--color-crimson);
  box-shadow: 0 4px 15px var(--color-crimson-glow);
}

.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.feature-card p {
  color: var(--color-muted-silver);
  font-size: 0.95rem;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

/* Interactive Calculator */
.calc-section {
  background: linear-gradient(180deg, var(--color-obsidian) 0%, rgba(226, 58, 58, 0.02) 50%, var(--color-obsidian) 100%);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: stretch;
}

.calc-box {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: var(--shadow-premium);
}

.calc-group {
  margin-bottom: 2.5rem;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.calc-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
}

.calc-value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-crimson);
}

.range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 100px;
  outline: none;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-crimson);
  cursor: pointer;
  border: 2px solid var(--color-studio-white);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.1s ease;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-results {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid var(--color-border-dark);
  border-radius: 16px;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.result-card {
  margin-bottom: 2.5rem;
}

.result-label {
  font-size: 0.9rem;
  color: var(--color-muted-silver);
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  margin-bottom: 0.5rem;
}

.result-amount {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-studio-white);
}

.result-amount.highlight {
  color: var(--color-crimson);
  text-shadow: 0 0 20px var(--color-crimson-glow);
}

/* Integrations Log & Carriers Grid */
.integrations-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
}

.integration-logo-wrapper {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid var(--color-border-dark);
  border-radius: 12px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.integration-logo-wrapper:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: var(--color-muted-silver);
  transform: translateY(-4px);
}

.integration-logo-wrapper img {
  max-width: 60%;
  max-height: 40%;
  opacity: 0.6;
  filter: grayscale(100%) brightness(1.5);
  transition: var(--transition-fast);
}

.integration-logo-wrapper:hover img {
  opacity: 1;
  filter: none;
}

/* Contact / Form Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

.contact-info h2 {
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.contact-info p {
  color: var(--color-muted-silver);
  font-size: 1.15rem;
  margin-bottom: 3rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--color-border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-crimson);
}

.contact-detail-text {
  font-size: 1rem;
  font-weight: 500;
}

.contact-form-container {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: var(--shadow-premium);
}

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

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  color: var(--color-muted-silver);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--color-border-dark);
  color: var(--color-studio-white);
  padding: 1rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-input:focus {
  border-color: var(--color-crimson);
  background: rgba(0, 0, 0, 0.05);
  box-shadow: 0 0 10px var(--color-crimson-glow);
}

textarea.form-input {
  height: 120px;
  resize: none;
}

/* Footer styling */
footer {
  background: #09090b;
  border-top: 1px solid var(--color-border-dark);
  padding: 6rem 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 4rem;
  margin-bottom: 5rem;
}

.footer-logo-desc {
  max-width: 320px;
}

.footer-logo-desc p {
  color: var(--color-muted-silver);
  font-size: 0.95rem;
  margin-top: 1.5rem;
}

.footer-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  margin-bottom: 1.5rem;
  color: var(--color-studio-white);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--color-muted-silver);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--color-studio-white);
}

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

.footer-legal-links {
  display: flex;
  gap: 2rem;
}

/* Keyframes for animations */
@keyframes shake {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(1px, -1px) rotate(0.5deg); }
  50% { transform: translate(-1px, 1px) rotate(-0.5deg); }
  75% { transform: translate(1px, 1px) rotate(0deg); }
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero h1 { font-size: 3.25rem; }
  .hero-grid, .calc-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-media {
    order: -1;
  }
  .hero-card {
    transform: none;
  }
  .hero-card:hover {
    transform: none;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .integrations-logos {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  html { font-size: 15px; }
  .container { padding: 0 1.5rem; }
  
  .nav-links, .nav-actions .btn-secondary {
    display: none;
  }

  .logo-apex img {
    height: 38px !important;
  }

  .nav-wrapper {
    height: 64px !important;
  }

  .nav-actions {
    margin-left: auto !important;
    margin-right: 1rem !important;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem;
    border-bottom: 1px solid var(--color-border-dark);
    gap: 1.25rem;
    align-items: flex-start;
    z-index: 99;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  }
  .nav-links.open .nav-link {
    color: #1d1d1f !important;
    font-size: 1.1rem;
    font-weight: 600;
    width: 100%;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border-dark);
  }
  .nav-links.open .nav-link:hover,
  .nav-links.open .nav-link.active {
    color: var(--color-crimson) !important;
  }
  .menu-toggle {
    display: block;
  }
  .menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
  .hero h1 { font-size: 2.75rem; }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .comp-panel {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .integrations-logos {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .nav-actions {
    display: none;
  }

  .menu-toggle {
    margin-left: auto;
  }

  .bg-radial-glow {
    width: 100vw !important;
    height: 100vw !important;
  }
}

/* Custom Table Styles */
.comparison-table-wrapper {
  overflow-x: auto;
  margin-top: 3rem;
  border-radius: 12px;
  border: 1px solid var(--color-border-dark);
  background: var(--color-pure-slate);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 1rem;
}

.comparison-table th, .comparison-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border-dark);
}

.comparison-table th {
  background: rgba(0, 0, 0, 0.02);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-studio-white);
}

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

.comparison-table td:nth-child(2) {
  color: var(--color-muted-silver);
}

.comparison-table td:nth-child(3) {
  font-weight: 600;
  color: var(--color-crimson);
}

/* Custom FAQ Accordion Styles */
.faq-accordion, .faq-wrapper, .faq-container {
  max-width: 800px;
  margin: 2rem auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem; /* compact gap */
}

.faq-item {
  border: 1px solid var(--color-border-dark);
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.faq-item:hover {
  border-color: rgba(226, 58, 58, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
}

.faq-item.active {
  border-color: var(--color-crimson);
  background: #FFFBFB; /* subtle premium crimson tint */
  box-shadow: 0 8px 30px rgba(226, 58, 58, 0.05);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem; /* spacious but compact padding */
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.05rem; /* readable and clean */
  font-weight: 600; /* less heavy, clean look */
  color: var(--color-primary);
  transition: all 0.3s ease;
}

.faq-item.active .faq-question {
  color: var(--color-crimson);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0; /* no container padding to prevent height clipping */
  color: var(--color-muted-silver);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-answer p {
  padding: 0 1.5rem 1.5rem 1.5rem; /* clean bottom and side padding inside transition */
  margin: 0;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-toggle-icon, .faq-icon-arrow, .faq-icon-chevron {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #FFEAEA; /* light red/crimson background */
  color: var(--color-crimson);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  line-height: 1;
}

.faq-item.active .faq-toggle-icon, 
.faq-item.active .faq-icon-arrow, 
.faq-item.active .faq-icon-chevron {
  background: var(--color-crimson);
  color: #ffffff;
  transform: rotate(180deg);
}

/* Form Styles Extension */
.form-select {
  width: 100%;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--color-border-dark);
  color: var(--color-studio-white);
  padding: 1rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23515154' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.2em;
}

.form-select:focus {
  border-color: var(--color-crimson);
  background-color: rgba(0, 0, 0, 0.05);
  box-shadow: 0 0 10px var(--color-crimson-glow);
}

/* Custom Grid for Target Group (Ideal vs Nicht Ideal) */
.target-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 3rem;
}

.target-card {
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--color-border-dark);
}

.target-card.ideal {
  background: rgba(39, 201, 63, 0.02);
  border-color: rgba(39, 201, 63, 0.15);
}

.target-card.not-ideal {
  background: rgba(0, 0, 0, 0.01);
  border-color: var(--color-border-dark);
}

.target-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.target-list {
  list-style: none;
}

.target-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.target-list li svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

.ideal .target-list li svg {
  color: #27C93F;
}

.not-ideal .target-list li svg {
  color: var(--color-muted-silver);
}

/* Pricing Grid & Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.pricing-card {
  background: rgba(0, 0, 0, 0.01);
  border: 1px solid var(--color-border-dark);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.pricing-card.featured {
  border-color: var(--color-crimson);
  background: rgba(226, 58, 58, 0.01);
  box-shadow: var(--shadow-premium);
  position: relative;
}

.pricing-card.featured::before {
  content: 'BELIEBT';
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--color-crimson);
  color: white;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  letter-spacing: 0.05em;
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(226, 58, 58, 0.3);
}

.pricing-card.featured:hover {
  border-color: var(--color-crimson);
  box-shadow: 0 12px 30px rgba(226, 58, 58, 0.15);
}

.pricing-card h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.pricing-subtitle {
  font-size: 0.95rem;
  color: var(--color-muted-silver);
  margin-bottom: 2rem;
}

.pricing-bullets {
  list-style: none;
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing-bullets li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.pricing-bullets li svg {
  color: var(--color-crimson);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

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

@media (max-width: 900px) {
  .pricing-grid, .target-grid {
    grid-template-columns: 1fr;
  }
}

/* Multi-Step Calculator Styles (Premium B2B/Apple Style) */
.step-container {
  max-width: 880px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid var(--color-border-dark);
  border-radius: 32px; /* Increased rounded corners for a modern look */
  padding: 2.25rem 2.5rem;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.04), 0 10px 30px rgba(0, 0, 0, 0.02);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.step-header-wrapper {
  margin-bottom: 2rem;
  position: relative;
}

.step-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted-silver);
  margin-bottom: 1.25rem;
}
.step-progress-container {
  position: relative;
  margin-bottom: 3rem;
  width: 100%;
}

.step-progress-bar-bg {
  position: absolute;
  top: 7px; /* Centers 6px bar relative to 20px outer circle (14px + 2*3px border -> 10px center -> 7px top) */
  left: 20px;
  right: 20px;
  height: 6px;
  background: #ECECEF;
  border-radius: 100px;
  z-index: 1;
}

.step-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-crimson) 0%, #FF6B6B 100%);
  width: 0%;
  border-radius: 100px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 10px rgba(226, 58, 58, 0.35);
}

.step-dots-row {
  display: flex;
  justify-content: space-between;
  position: relative;
  width: 100%;
  z-index: 2;
  pointer-events: none;
}

.step-dot-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #86868B;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-dot-item.active {
  color: var(--color-crimson);
  transform: translateY(-1px);
}

.step-dot-item.completed {
  color: var(--color-crimson);
}

.step-dot-circle {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #E8E8ED;
  margin-bottom: 0.5rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 3px solid #FFFFFF;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

.step-dot-item.active .step-dot-circle {
  background: var(--color-crimson);
  box-shadow: 0 0 0 5px rgba(226, 58, 58, 0.25);
  transform: scale(1.25);
}

.step-dot-item.completed .step-dot-circle {
  background: var(--color-crimson);
}

.step-content {
  display: none;
  animation: premiumSlideIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-content.active {
  display: block;
}

@keyframes premiumSlideIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.step-title-block {
  margin-bottom: 1.5rem;
}

.step-title-block .step-number-label {
  color: var(--color-crimson);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: block;
}

.step-title-block h2 {
  font-size: 2.75rem;
  margin-bottom: 0.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-studio-white);
}

.step-title-block p {
  color: var(--color-muted-silver);
  font-size: 1.15rem;
}

/* Card selections for step 1 & 3 */
.selection-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

.selection-card {
  border: 1px solid var(--color-border-dark);
  border-radius: 24px; /* Increased rounded corners */
  padding: 1.6rem 1.75rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  background: #FFFFFF;
}

.selection-card:hover {
  border-color: rgba(226, 58, 58, 0.3);
  background: linear-gradient(135deg, rgba(226, 58, 58, 0.01) 0%, rgba(226, 58, 58, 0) 100%);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(226, 58, 58, 0.03);
}

.selection-card:active {
  transform: scale(0.97); /* Physical pressing sensation */
}

.selection-card.active {
  border-color: var(--color-crimson);
  background: linear-gradient(135deg, rgba(226, 58, 58, 0.05) 0%, rgba(226, 58, 58, 0.01) 100%);
  box-shadow: 0 15px 40px rgba(226, 58, 58, 0.08);
}

.selection-card-icon {
  width: auto;
  height: 40px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  color: var(--color-crimson);
  margin-bottom: 0.75rem;
}

.selection-card-icon svg {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.selection-card.active .selection-card-icon svg {
  filter: drop-shadow(0 8px 16px rgba(226, 58, 58, 0.35));
}

.selection-card h3 {
  font-size: 1.40rem;
  margin-bottom: 0.25rem;
  font-weight: 800;
}

.selection-card-meta {
  font-size: 0.9rem;
  color: var(--color-muted-silver);
  margin-bottom: 0.85rem;
  font-weight: 600;
}

.selection-card-desc {
  font-size: 1rem;
  color: var(--color-muted-silver);
  line-height: 1.6;
}

/* Slider Section Step 2 */
.slider-number-display {
  font-family: var(--font-display);
  font-size: 6.5rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  margin-bottom: 0.25rem;
  color: var(--color-studio-white);
  letter-spacing: -0.04em;
}

.slider-subdisplay {
  text-align: center;
  font-size: 1.2rem;
  color: var(--color-muted-silver);
  margin-bottom: 3.5rem;
  font-weight: 600;
}

.slider-wrapper {
  margin-bottom: 4rem;
  padding: 0 1rem;
}

/* Custom premium slider knob (3D effect, no outline) */
.range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: #EBF0ED;
  border-radius: 100px;
  outline: none;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #FF8585 0%, var(--color-crimson) 70%, #9E1010 100%);
  cursor: pointer;
  border: none; /* Removed the contour outline */
  box-shadow: 0 6px 18px rgba(226, 58, 58, 0.45), inset 0 1px 1px rgba(255,255,255,0.4);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.3);
  box-shadow: 0 8px 22px rgba(226, 58, 58, 0.55);
}

.slider-labels-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--color-muted-silver);
  margin-top: 1.25rem;
  font-weight: 600;
}

/* Discounts layout */
.discounts-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-muted-silver);
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.discounts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.discount-badge-card {
  border: 1px solid var(--color-border-dark);
  border-radius: 18px; /* Softer edges */
  padding: 1.25rem;
  text-align: center;
  background: #FFFFFF;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.discount-badge-card:hover {
  border-color: rgba(226, 58, 58, 0.25);
  transform: translateY(-2px);
}

.discount-badge-card.active {
  background: linear-gradient(135deg, #FF6B6B 0%, var(--color-crimson) 100%);
  border-color: var(--color-crimson);
  color: #FFFFFF;
  box-shadow: 0 10px 24px rgba(226, 58, 58, 0.25);
  transform: translateY(-4px);
}

.discount-badge-card.active .discount-percent {
  color: #FFFFFF;
}

.discount-badge-card.active .discount-label {
  color: rgba(255, 255, 255, 0.85);
}

.discount-badge-card.inactive-light {
  background: rgba(226, 58, 58, 0.03);
  border-color: rgba(226, 58, 58, 0.1);
  color: var(--color-crimson);
}

.discount-badge-card.inactive-light .discount-percent {
  color: var(--color-crimson);
}

.discount-badge-card.inactive-light .discount-label {
  color: var(--color-crimson);
  opacity: 0.8;
}

.discount-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-muted-silver);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.discount-percent {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-studio-white);
  margin-top: 0.25rem;
}

.toast-message {
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-crimson);
  min-height: 28px;
  margin-top: 1.25rem;
}

/* Step navigation buttons */
.step-navigation-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4rem;
  border-top: 1px solid var(--color-border-dark);
  padding-top: 2.25rem;
}

.btn-nav-back {
  background: none;
  border: none;
  color: var(--color-muted-silver);
  font-family: var(--font-display);
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-nav-back:hover {
  color: var(--color-studio-white);
  transform: translateX(-3px);
}

.btn-nav-next {
  background: linear-gradient(135deg, #FF6B6B 0%, var(--color-crimson) 50%, #B81D1D 100%); /* Premium red gradient */
  color: #FFFFFF;
  border: none;
  padding: 1.1rem 3rem;
  border-radius: 16px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 25px rgba(226, 58, 58, 0.3);
}

.btn-nav-next:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(226, 58, 58, 0.4);
}

.btn-nav-next:active {
  transform: scale(0.96);
}

/* Step 4 Pricing Display Card */
.all-in-price-card {
  background: linear-gradient(135deg, #111115 0%, #2D1111 100%);
  border: 1px solid rgba(226, 58, 58, 0.3);
  border-radius: 24px;
  padding: 3rem;
  color: #FFFFFF;
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.18);
}

/* Tasty Premium CTA Button */
.btn-tasty-pricing {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--color-crimson) 0%, #ff6b6b 50%, var(--color-crimson) 100%);
  background-size: 200% auto;
  color: #FFFFFF;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 1.25rem 2.5rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 25px rgba(226, 58, 58, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  text-decoration: none;
}

.btn-tasty-pricing:hover {
  background-position: right center;
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 12px 35px rgba(226, 58, 58, 0.5);
}

.btn-tasty-pricing:active {
  transform: translateY(0) scale(0.97);
}

.price-card-label {
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.price-card-value-wrapper {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.price-card-value {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 900;
  color: #FF5A5A;
  line-height: 1;
  letter-spacing: -0.03em;
}

.price-card-suffix {
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 700;
}

.price-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(226, 58, 58, 0.25);
  color: #FF6B6B;
  border: 1px solid rgba(226, 58, 58, 0.35);
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.savings-banner {
  background: rgba(226, 58, 58, 0.04);
  border: 1px solid rgba(226, 58, 58, 0.12);
  border-radius: 20px;
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 3rem;
  color: var(--color-crimson);
  font-weight: 700;
  font-size: 1.05rem;
}

.savings-banner-label strong {
  font-size: 1.2rem;
}

.breakdown-section-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--color-muted-silver);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border-dark);
  padding-bottom: 0.6rem;
}

.breakdown-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 3rem;
}

.breakdown-table tr td {
  padding: 1rem 0;
  font-size: 1.05rem;
  color: var(--color-muted-silver);
}

.breakdown-table tr.total-row td {
  font-weight: 800;
  font-size: 1.35rem;
  border-top: 1px solid var(--color-border-dark);
  padding-top: 1.5rem;
  color: var(--color-studio-white);
}

.breakdown-table tr.discount-row td {
  color: var(--color-crimson);
  font-weight: 800;
}

.badge-selections-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 3rem;
}

.selection-badge {
  background: #F5F5F7;
  border: 1px solid var(--color-border-dark);
  color: var(--color-studio-white);
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
}

.dot-grid {
  background-image: radial-gradient(rgba(226, 58, 58, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.bg-radial-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  background: var(--color-crimson);
  pointer-events: none;
  z-index: 1;
}

@keyframes border-spin {
  100% { transform: rotate(360deg); }
}

.animate-border-spin {
  animation: border-spin 4s linear infinite;
}

@keyframes sparkle {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

.animate-sparkle {
  animation: sparkle 2.5s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-12px) rotate(calc(var(--rot, 0deg) + 3deg)); }
  100% { transform: translateY(0px) rotate(var(--rot, 0deg)); }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  --rot: 0deg;
}

/* Conic Glow Button Wrapper */
.animate-nav-glow {
  padding: 2px;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  display: inline-block;
  box-shadow: 0 4px 20px rgba(226, 58, 58, 0.15);
  transition: all 0.3s ease;
}

.animate-nav-glow:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 30px rgba(226, 58, 58, 0.3);
}

.animate-nav-glow:active {
  transform: scale(0.97);
}

/* Premium Card Overrides */
.feature-card, .selection-card {
  background: linear-gradient(135deg, #ffffff 0%, #fffbfb 100%);
  border: 1px solid rgba(226, 58, 58, 0.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.015);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
  border-color: rgba(226, 58, 58, 0.2);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(226, 58, 58, 0.04);
}

.hero-card {
  background: linear-gradient(135deg, #ffffff 0%, #fffcfc 100%);
  border: 1px solid rgba(226, 58, 58, 0.08);
  box-shadow: 0 30px 60px rgba(226, 58, 58, 0.06);
}

/* Shimmer Effect for Premium Cards */
.shimmer-sweep {
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: skewX(-25deg);
  animation: shimmer 6s infinite;
}

@keyframes shimmer {
  0% { left: -150%; }
  30% { left: 150%; }
  100% { left: 150%; }
}

/* --- Tailwind Utility Mappings for Vanilla CSS --- */
.hero .absolute, .hero-content .absolute, .nav-actions .absolute, .hero-media .absolute {
  position: absolute;
}
.inset-0 {
  top: 0; right: 0; bottom: 0; left: 0;
}
.w-12 { width: 3rem; }
.h-12 { height: 3rem; }
.w-14 { width: 3.5rem; }
.h-14 { height: 3.5rem; }
.w-16 { width: 4rem; }
.h-16 { height: 4rem; }
.w-20 { width: 5rem; }
.h-20 { height: 5rem; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.rotate-\[-12deg\] { transform: rotate(-12deg); --rot: -12deg; }
.rotate-\[15deg\] { transform: rotate(15deg); --rot: 15deg; }
.rotate-\[10deg\] { transform: rotate(10deg); --rot: 10deg; }
.rotate-\[-8deg\] { transform: rotate(-8deg); --rot: -8deg; }
.pointer-events-none { pointer-events: none; }
.top-\[18\%\] { top: 18%; }
.left-\[6\%\] { left: 6%; }
.top-\[60\%\] { top: 60%; }
.left-\[8\%\] { left: 8%; }
.top-\[22\%\] { top: 22%; }
.right-\[10\%\] { right: 10%; }
.top-\[50\%\] { top: 50%; }
.right-\[8\%\] { right: 8%; }
.top-\[55\%\] { top: 55%; }
.right-\[25\%\] { right: 25%; }
.z-1 { z-index: 1; }
.z-2 { z-index: 2; }
.z-3 { z-index: 3; }
.rounded-2xl { border-radius: 16px; }
.rounded-xl { border-radius: 12px; }
.border-red-100 { border: 1px solid rgba(226, 58, 58, 0.15); }
.bg-white\/70 { background: rgba(255, 255, 255, 0.7); }
.backdrop-blur-md { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.hidden { display: none; }
@media (min-width: 640px) {
  .sm\:block { display: block; }
}

/* Premium B2B Pill-shaped Buttons */
.btn-pill {
  border-radius: 999px !important;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  font-size: 0.85rem;
}
.btn-pill .arrow {
  transition: transform 0.2s ease;
  display: inline-block;
}
.btn-pill:hover .arrow {
  transform: translateX(3px);
}

/* --- Contact Page Inline Wizard & Summary Box Styles --- */
.compact-wizard-card {
  border: 1px solid var(--color-border-dark) !important;
  border-radius: 16px !important;
  padding: 1.25rem 1.5rem !important;
  cursor: pointer !important;
  background: #FFFFFF !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.01) !important;
  box-sizing: border-box !important;
}

.compact-wizard-card:hover {
  border-color: rgba(226, 58, 58, 0.3) !important;
  background: linear-gradient(135deg, rgba(226, 58, 58, 0.01) 0%, rgba(226, 58, 58, 0) 100%) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 25px rgba(226, 58, 58, 0.03) !important;
}

.compact-wizard-card:active {
  transform: scale(0.97) !important;
}

.compact-wizard-card.active {
  border-color: var(--color-crimson) !important;
  background: linear-gradient(135deg, rgba(226, 58, 58, 0.05) 0%, rgba(226, 58, 58, 0.01) 100%) !important;
  box-shadow: 0 10px 30px rgba(226, 58, 58, 0.08) !important;
}

.compact-wizard-card.active::after {
  content: '✓';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 20px;
  height: 20px;
  background: var(--color-crimson);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
}

/* --- Premium Stock Image Framework --- */
.premium-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--color-border-dark);
  background: var(--color-pure-slate);
  transition: var(--transition-smooth);
}

.premium-image-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.12);
  border-color: rgba(226, 58, 58, 0.2);
}

.premium-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-image-wrapper:hover .premium-image {
  transform: scale(1.03);
}

/* Glassy overlay effect */
.premium-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(29, 29, 31, 0.1) 0%, rgba(29, 29, 31, 0) 50%);
  pointer-events: none;
}

@media (max-width: 1024px) {
  .solution-grid-split {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .branding-showcase-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .story-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}
/* --- Apex Unified Logo Styles --- */
.logo-apex {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  text-transform: lowercase !important;
  color: #1D1D1F !important;
  transition: var(--transition-fast);
}

.logo-apex.logo-white {
  color: #FFFFFF !important;
}

.logo-apex svg {
  width: 14px;
  height: 14px;
  margin-left: 2px;
  margin-top: -10px;
  align-self: flex-start;
  flex-shrink: 0;
  stroke: var(--color-accent) !important; /* Update logo stroke color to accent green */
  stroke-width: 3px !important;
}

/* --- New Landing Page Styles --- */

/* Buttons */
.btn-accent {
  background: var(--color-accent) !important;
  color: white !important;
  border: 1px solid var(--color-accent) !important;
  box-shadow: 0 4px 20px var(--color-accent-glow) !important;
}

.btn-accent:hover {
  background: var(--color-accent-hover) !important;
  border-color: var(--color-accent-hover) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3) !important;
}

.btn-accent:active {
  transform: scale(0.98) !important;
}

.btn-blue {
  background: var(--color-primary) !important;
  color: white !important;
  border: 1px solid var(--color-primary) !important;
  box-shadow: 0 4px 20px var(--color-primary-glow) !important;
}

.btn-blue:hover {
  background: var(--color-primary-hover) !important;
  border-color: var(--color-primary-hover) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(0, 82, 204, 0.3) !important;
}

/* Before / After Section */
.comparison-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.comparison-card {
  border-radius: 20px;
  padding: 3rem;
  border: 1px solid var(--color-border-dark);
  transition: var(--transition-smooth);
}

.comparison-card.before {
  background: #111827;
  color: #FFFFFF;
  border-color: rgba(226, 58, 58, 0.2);
}

.comparison-card.after {
  background: #FFFFFF;
  color: var(--color-studio-white);
  box-shadow: var(--shadow-premium);
}

.comparison-card h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.comparison-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.comparison-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.15rem;
  font-weight: 500;
}

.comparison-card.before .comparison-list li svg {
  color: #EF4444; /* Red x */
}

.comparison-card.after .comparison-list li svg {
  color: #10B981; /* Green check */
}



/* Low Friction Form */
.form-input, .form-select {
  width: 100%;
  height: 52px;
  padding: 0 1rem;
  border-radius: 8px;
  border: 1px solid var(--color-border-dark);
  background: #FFFFFF;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-studio-white);
  transition: var(--transition-fast);
  outline: none;
}

.form-input:focus, .form-select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}

.form-label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: var(--color-studio-white);
}

/* Sticky Nav Primary button */
.btn-pill.btn-accent {
  border-radius: 999px !important;
}

@media (max-width: 768px) {
  .comparison-container {
    grid-template-columns: 1fr;
  }
}

/* Case Studies & Testimonials */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
@media (max-width: 900px) {
  .case-grid {
    grid-template-columns: 1fr;
  }
}
.case-card {
  background: #ffffff;
  border: 1px solid var(--color-border-dark);
  border-radius: 16px;
  padding: 2.25rem;
  transition: var(--transition-smooth);
  border-top: 5px solid var(--color-muted-silver);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.case-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
}
.case-card.c-fashion { border-top-color: #FF8DA1; }
.case-card.c-beauty { border-top-color: #B085F5; }
.case-card.c-tech { border-top-color: #64B5F6; }

.case-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--color-studio-white);
}
.case-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-studio-white);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
  letter-spacing: 0.05em;
}
.case-section-desc {
  font-size: 0.9rem;
  color: var(--color-muted-silver);
  margin-bottom: 1rem;
}
.case-quote {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--color-studio-white);
  border-left: 2px solid var(--color-crimson);
  padding-left: 0.75rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

/* --- Pulse Badge Utility Mappings --- */
.relative {
  position: relative !important;
}
.flex {
  display: flex !important;
}
.inline-flex {
  display: inline-flex !important;
}
.h-2 {
  height: 0.5rem !important;
}
.w-2 {
  width: 0.5rem !important;
}
.h-full {
  height: 100% !important;
}
.w-full {
  width: 100% !important;
}
.rounded-full {
  border-radius: 9999px !important;
}
.opacity-75 {
  opacity: 0.75 !important;
}
.animate-ping {
  animation: ping 1.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes ping {
  75%, 100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

/* --- Shop System Checkbox Cards --- */
.shop-system-checkbox-card:has(input:checked) {
  border-color: var(--color-crimson) !important;
  background-color: rgba(226, 58, 58, 0.05) !important;
}

/* --- Header logo further left & styling --- */
header .nav-wrapper {
  padding-left: 2.5rem !important;
  padding-right: 2.5rem !important;
}

.logo-apex {
  margin-right: 4.5rem !important;
}

.logo-apex img {
  height: 60px !important; /* compact header logo size always */
  width: auto;
  display: block;
  mix-blend-mode: multiply;
  transition: height 0.3s ease;
}

header.scrolled .logo-apex img {
  height: 60px !important;
}

/* --- Footer Logo size, transparent background & white text color --- */
.footer-logo-desc .logo-apex img {
  height: 104px !important; /* 2x size of original 52px */
  width: auto;
  display: block;
  filter: invert(1) hue-rotate(180deg);
  mix-blend-mode: screen;
}

footer, 
footer p, 
footer span, 
footer a,
footer .footer-links a {
  color: #ffffff !important;
}

footer a:hover,
footer .footer-links a:hover {
  color: var(--color-crimson) !important;
}
