:root {
  --well-bg-base: #F0F3F6;
  --well-bg-surface: #F8FAFC;
  --well-shadow-out: 9px 9px 16px #D1D9E6, -9px -9px 16px #FFFFFF;
  --well-shadow-in: inset 6px 6px 12px #D1D9E6, inset -6px -6px 12px #FFFFFF;
  --well-shadow-sm: 4px 4px 8px #D1D9E6, -4px -4px 8px #FFFFFF;
  --well-accent-gradient: linear-gradient(135deg, #4E89AE, #437393);
  --well-accent-solid: #4E89AE;
  --well-accent-solid-hover: #3b6d8d;
  --well-text-main: #2F3E46;
  --well-text-muted: #6B7280;
  --well-border-soft: 1px solid rgba(255, 255, 255, 0.6);
  --well-radius-soft: 20px;
  --well-radius-pill: 999px;
  --font-display: 'Nunito', sans-serif;
  --font-body: 'Inter', sans-serif;
}

@keyframes well-nav-scroll {
  to { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); background: rgba(240, 243, 246, 0.95); backdrop-filter: blur(8px); }
}

@keyframes well-scroll-progress {
  from { width: 0%; }
  to { width: 100%; }
}

@keyframes well-fade-in {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  background-color: var(--well-bg-base);
  color: var(--well-text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--well-text-main);
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Scroll Progress Bar */
.well-progress-indicator {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: var(--well-accent-gradient);
  z-index: 10000;
  width: 0%;
  animation: well-scroll-progress auto linear;
  animation-timeline: scroll();
}

/* Header */
.well-nav-bar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--well-bg-base);
  padding: 1.2rem 2rem;
  box-shadow: var(--well-shadow-out);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.well-brand-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--well-accent-solid);
}

.well-brand-wrap svg {
  width: 32px;
  height: 32px;
  fill: var(--well-accent-solid);
}

.well-nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.well-nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--well-radius-pill);
  transition: all 0.3s ease;
}

.well-nav-link:hover, .well-nav-link.well-active {
  box-shadow: var(--well-shadow-in);
  color: var(--well-accent-solid);
}

/* Hamburger Menu (CSS only) */
.well-menu-checkbox {
  display: none;
}

.well-menu-icon {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1000;
}

.well-menu-icon span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--well-text-main);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Hero Split layout */
.well-hero-split {
  display: flex;
  min-height: 85vh;
  padding: 6dvh 5%;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.well-hero-content {
  flex: 0 0 55%;
  position: relative;
  animation: well-fade-in 1s ease-out;
}

.well-tag-pill {
  display: inline-block;
  padding: 6px 16px;
  background: var(--well-bg-base);
  box-shadow: var(--well-shadow-sm);
  border-radius: var(--well-radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--well-accent-solid);
  margin-bottom: 20px;
}

.well-hero-title {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: var(--well-text-main);
}

.well-hero-desc {
  font-size: 1.1rem;
  color: var(--well-text-muted);
  margin-bottom: 30px;
  max-width: 600px;
}

.well-floating-badge {
  position: absolute;
  bottom: -20px;
  right: 10%;
  padding: 15px 25px;
  background: var(--well-bg-base);
  box-shadow: var(--well-shadow-out);
  border-radius: var(--well-radius-soft);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: well-fade-in 1.2s ease-out;
}

.well-badge-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--well-accent-solid);
  font-family: var(--font-display);
}

.well-badge-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--well-text-muted);
}

.well-hero-media {
  flex: 0 0 40%;
  display: flex;
  justify-content: center;
}

.well-media-frame {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4/5;
  border-radius: 32px;
  box-shadow: var(--well-shadow-out);
  border: 8px solid var(--well-bg-base);
  overflow: hidden;
  position: relative;
}

.well-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Action Trigger (Button Neumorphic) */
.well-action-trigger {
  display: inline-block;
  padding: 14px 32px;
  background: var(--well-accent-gradient);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: var(--well-radius-pill);
  box-shadow: var(--well-shadow-out);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.well-action-trigger:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(78, 137, 174, 0.3);
}

.well-action-secondary {
  display: inline-block;
  padding: 14px 32px;
  background: var(--well-bg-base);
  color: var(--well-accent-solid);
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: var(--well-radius-pill);
  box-shadow: var(--well-shadow-out);
  transition: all 0.3s ease;
  margin-left: 15px;
}

.well-action-secondary:hover {
  box-shadow: var(--well-shadow-in);
}

/* Problem-Solution Layout */
.well-problem-solution-block {
  padding: 10dvh 5%;
}

.well-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 50px;
}

.well-problem-col, .well-solution-col {
  padding: 40px;
  border-radius: var(--well-radius-soft);
}

.well-problem-col {
  background: var(--well-bg-base);
  box-shadow: var(--well-shadow-in);
}

.well-solution-col {
  background: var(--well-bg-base);
  box-shadow: var(--well-shadow-out);
  border: var(--well-border-soft);
}

.well-block-title {
  font-size: 1.8rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.well-block-list {
  list-style: none;
}

.well-block-list li {
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
}

.well-block-list li::before {
  content: "•";
  position: absolute;
  left: 10px;
  font-size: 1.5rem;
}

.well-problem-col .well-block-list li::before {
  color: #E056FD;
}

.well-solution-col .well-block-list li::before {
  color: var(--well-accent-solid);
}

.well-full-width-media {
  position: relative;
  width: 100%;
  height: 40vh;
  border-radius: var(--well-radius-soft);
  overflow: hidden;
  box-shadow: var(--well-shadow-out);
}

.well-full-width-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.well-media-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #FFFFFF;
  padding: 20px;
}

.well-overlay-title {
  font-size: 2rem;
  color: #FFFFFF;
  margin-bottom: 10px;
}

/* Features Grid */
.well-features-neo-grid {
  padding: 10dvh 5%;
  text-align: center;
}

.well-section-header {
  margin-bottom: 60px;
}

.well-section-header h2 {
  font-size: 2.3rem;
  margin-bottom: 15px;
}

.well-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.well-feature-card {
  background: var(--well-bg-base);
  border-radius: var(--well-radius-soft);
  padding: 40px 30px;
  box-shadow: var(--well-shadow-in);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: var(--well-border-soft);
}

.well-feature-card:hover {
  box-shadow: var(--well-shadow-out);
  transform: translateY(-5px);
}

.well-feature-icon-wrap {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--well-bg-base);
  box-shadow: var(--well-shadow-out);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.well-feature-card:hover .well-feature-icon-wrap {
  box-shadow: var(--well-shadow-in);
}

.well-feature-icon-wrap svg {
  width: 32px;
  height: 32px;
  fill: var(--well-accent-solid);
}

.well-feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 15px;
}

.well-feature-card p {
  font-size: 0.95rem;
  color: var(--well-text-muted);
}

/* Stepper Flow */
.well-stepper-flow {
  padding: 10dvh 5%;
  background: var(--well-bg-surface);
}

.well-horizontal-stepper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 900px;
  margin: 0 auto 50px;
  position: relative;
}

.well-horizontal-stepper::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #E2E8F0 0%, #CBD5E1 100%);
  z-index: 1;
}

.well-step-pill {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--well-bg-base);
  box-shadow: var(--well-shadow-out);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--well-accent-solid);
  position: relative;
  z-index: 2;
}

.well-step-desc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.well-step-desc-card {
  text-align: center;
  padding: 25px;
  background: var(--well-bg-base);
  border-radius: var(--well-radius-soft);
  box-shadow: var(--well-shadow-out);
}

.well-step-desc-card h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--well-accent-solid);
}

/* CTA Center Strip */
.well-cta-center-strip {
  padding: 10dvh 5%;
  display: flex;
  justify-content: center;
}

.well-cta-card-inner {
  width: 100%;
  max-width: 750px;
  padding: 50px;
  text-align: center;
  background: var(--well-bg-base);
  border-radius: var(--well-radius-soft);
  box-shadow: var(--well-shadow-out);
  border: var(--well-border-soft);
}

.well-cta-card-inner h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.well-cta-card-inner p {
  color: var(--well-text-muted);
  margin-bottom: 30px;
}

/* Stats 2x2 Grid (Expert Page) */
.well-expert-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.well-expert-stat-card {
  background: var(--well-bg-base);
  padding: 30px;
  border-radius: var(--well-radius-soft);
  box-shadow: var(--well-shadow-in);
  text-align: center;
}

.well-expert-stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--well-accent-solid);
  font-family: var(--font-display);
}

.well-expert-stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--well-text-muted);
}

/* Alternating Layout */
.well-alternating-section {
  padding: 10dvh 5%;
}

.well-alt-row {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px;
}

.well-alt-row:nth-child(even) {
  flex-direction: row-reverse;
}

.well-alt-media {
  flex: 1;
}

.well-alt-text {
  flex: 1;
}

.well-alt-text h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

/* Reserve Page Styles */
.well-reserve-form-container {
  max-width: 650px;
  margin: 6dvh auto;
  padding: 40px;
  background: var(--well-bg-base);
  border-radius: var(--well-radius-soft);
  box-shadow: var(--well-shadow-out);
}

.well-form-group {
  margin-bottom: 25px;
}

.well-form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.well-form-input {
  width: 100%;
  padding: 14px 20px;
  background: var(--well-bg-base);
  border: none;
  border-radius: var(--well-radius-pill);
  box-shadow: var(--well-shadow-in);
  color: var(--well-text-main);
  font-family: var(--font-body);
  transition: all 0.3s ease;
  outline: none;
}

.well-form-input:focus {
  box-shadow: var(--well-shadow-out);
}

.well-checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 25px;
}

.well-checkbox-wrap input {
  margin-top: 4px;
}

.well-checkbox-label {
  font-size: 0.85rem;
  color: var(--well-text-muted);
}

/* FAQ Accordion (Pure CSS) */
.well-faq-strip {
  padding: 10dvh 5%;
  background: var(--well-bg-surface);
}

.well-faq-item {
  background: var(--well-bg-base);
  border-radius: var(--well-radius-soft);
  margin-bottom: 20px;
  box-shadow: var(--well-shadow-out);
  overflow: hidden;
}

.well-faq-input-toggle {
  display: none;
}

.well-faq-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
}

.well-faq-label::after {
  content: "+";
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.well-faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 30px;
  color: var(--well-text-muted);
  font-size: 0.95rem;
}

.well-faq-input-toggle:checked + .well-faq-label::after {
  transform: rotate(45deg);
}

.well-faq-input-toggle:checked ~ .well-faq-content {
  max-height: 250px;
  padding-bottom: 20px;
}

/* Footer */
.well-footer-block {
  background: var(--well-bg-base);
  box-shadow: var(--well-shadow-in);
  padding: 60px 5% 20px;
  margin-top: auto;
}

.well-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 30px;
  margin-bottom: 30px;
}

.well-footer-links {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.well-footer-disclaimer {
  font-size: 0.8rem;
  color: var(--well-text-muted);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.5;
}

.well-footer-copy {
  font-size: 0.85rem;
  color: var(--well-text-muted);
  text-align: center;
}

/* Cookie Banner */
.well-cookie-banner-wrapper {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 450px;
  background: var(--well-bg-base);
  box-shadow: 20px 20px 60px #D1D9E6, -20px -20px 60px #FFFFFF;
  border-radius: var(--well-radius-soft);
  padding: 24px;
  z-index: 99999;
  transform: translateY(150%);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.well-cookie-banner-wrapper.well-show {
  transform: translateY(0);
}

.well-cookie-text {
  font-size: 0.9rem;
  color: var(--well-text-main);
  margin-bottom: 15px;
}

.well-cookie-controls {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

/* Support elements for dynamic viewport entrance */
.well-reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.well-reveal-on-scroll.well-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Rules */
@media (max-width: 1024px) {
  .well-hero-split {
    flex-direction: column;
    text-align: center;
    padding-top: 4vh;
  }
  .well-hero-content {
    flex: 0 0 100%;
  }
  .well-hero-media {
    flex: 0 0 100%;
    margin-top: 40px;
  }
  .well-floating-badge {
    right: 50%;
    transform: translateX(50%);
    bottom: -30px;
  }
  .well-dual-grid {
    grid-template-columns: 1fr;
  }
  .well-alt-row {
    flex-direction: column !important;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .well-menu-icon {
    display: flex;
  }
  .well-nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--well-bg-base);
    flex-direction: column;
    padding: 40px 20px;
    transition: left 0.3s ease;
    box-shadow: var(--well-shadow-in);
    align-items: stretch;
    text-align: center;
  }
  .well-menu-checkbox:checked ~ .well-nav-links {
    left: 0;
  }
  .well-menu-checkbox:checked ~ .well-menu-icon span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .well-menu-checkbox:checked ~ .well-menu-icon span:nth-child(2) {
    opacity: 0;
  }
  .well-menu-checkbox:checked ~ .well-menu-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
  .well-step-desc-grid {
    grid-template-columns: 1fr;
  }
  .well-horizontal-stepper {
    display: none;
  }
  .well-expert-stats-grid {
    grid-template-columns: 1fr;
  }
}