:root {
  color-scheme: light only;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: #fff;
  color: #111827;
}

.hero-section {
  padding-top: calc(68px + 60px);
  min-height: 85vh;
}

@media (min-width: 768px) {
  .hero-section {
    /* Desktop: nav is relative, just 60px gap */
    padding-top: 60px;
    min-height: 80vh;
    /* Slightly reduced for desktop */
  }
}

@media (min-width: 1024px) {
  .hero-section {
    min-height: 75vh;
    /* Further reduced for large screens */
  }
}

.nav-bar {
  background: transparent !important;
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.nav-bar.nav-hidden {
  transform: translateY(-100%);
  opacity: 0;
}

/* ── 0. Global Layout — consistent 140px horizontal gutter on desktop ── */

.page-x {
  padding-left: 20px;
  padding-right: 20px;
}

@media (min-width: 768px) {
  .page-x {
    padding-left: 60px;
    padding-right: 60px;
  }
}

@media (min-width: 1280px) {
  .page-x {
    padding-left: 140px;
    padding-right: 140px;
  }
}


/* ── 5. Section 4 — Form Card ── */

.sec4-card {
  background: #fff;
  border: 1.5px solid #F5F5F5;
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

@media (max-width: 540px) {
  .sec4-card {
    padding: 28px 20px;
  }
}

.sec4-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 2-col row for name + email */
.sec4-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 540px) {
  .sec4-row {
    grid-template-columns: 1fr;
  }
}

.sec4-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.sec4-label {
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  letter-spacing: 0.01em;
}

.sec4-input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1.5px solid #E5E7EB;
  border-radius: 10px;
  font-size: 14px;
  color: #111827;
  background: #fff;
  outline: none;
  transition: border-color 0.18s;
  font-family: 'Roboto', sans-serif;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
}

.sec4-input::placeholder {
  color: #9CA3AF;
}

.sec4-input:focus {
  border-color: #3E7CF2;
}

/* Select wrapper for custom arrow */
.sec4-select-wrap {
  position: relative;
}

.sec4-select {
  cursor: pointer;
  padding-right: 36px;
  color: #9CA3AF;
}

.sec4-select:valid,
.sec4-select option:not([disabled]) {
  color: #111827;
}

.sec4-select-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

/* Submit button */
.sec4-btn {
  width: 100%;
  height: 56px;
  border: none;
  border-radius: 16px;
  background: linear-gradient(to right, #3E7CF2 0%, #21B4FA 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Roboto', sans-serif;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: opacity 0.2s;
  margin-top: 4px;
}

.sec4-btn:hover {
  opacity: 0.92;
}

/* ── Form Validation Errors ── */
.sec4-input--error {
  border-color: #EF4444 !important;
  background: #FEF2F2 !important;
}

.sec4-error-msg {
  font-size: 12px;
  color: #EF4444;
  margin-top: -2px;
  line-height: 1.4;
}

/* ── Submit Button: Loading State ── */
.sec4-btn--loading {
  opacity: 0.7;
  cursor: not-allowed;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.sec4-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ── Form Messages ── */
.sec4-form-msg {
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: 10px;
  margin-top: -4px;
}

.sec4-form-msg--error {
  background: #FEF2F2;
  color: #DC2626;
  border: 1px solid #FECACA;
}

.sec4-form-msg--duplicate {
  background: #FFF7ED;
  color: #C2410C;
  border: 1px solid #FED7AA;
}

/* ── Success State ── */
.sec4-success {
  text-align: center;
  padding: 32px 16px;
}

.sec4-success-icon {
  width: 56px;
  height: 56px;
  color: #22C55E;
  margin: 0 auto 16px;
}

.sec4-success-title {
  font-size: 24px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 8px;
}

.sec4-success-msg {
  font-size: 15px;
  color: #6B7280;
  line-height: 1.6;
  margin-bottom: 4px;
}

.sec4-success-msg--sub {
  font-size: 13px;
  color: #9CA3AF;
  margin-top: 8px;
}

/* ── Closed State ── */
.sec4-closed {
  text-align: center;
  padding: 32px 16px;
}

.sec4-closed-title {
  font-size: 22px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 8px;
}

.sec4-closed-msg {
  font-size: 15px;
  color: #6B7280;
  line-height: 1.6;
}

/* ── Spots Counter & Progress Bar ── */
.sec4-spots-counter {
  margin-top: 4px;
}

.sec4-progress-track {
  width: 100%;
  height: 6px;
  background: #F3F4F6;
  border-radius: 3px;
  overflow: hidden;
}

.sec4-progress-fill {
  height: 100%;
  background: linear-gradient(to right, #3E7CF2, #21B4FA);
  border-radius: 3px;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.spots-num {
  font-weight: 700;
  color: #3E7CF2;
}

/* ── 6. Footer ── */

.site-footer {
  height: 130px;
  background: linear-gradient(to right, #D3F0FE 0%, #D8E5FC 100%);
  display: flex;
  align-items: center;
}

@media (max-width: 640px) {
  .site-footer {
    height: auto;
    padding-top: 32px;
    padding-bottom: 32px;
  }
}

.footer-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

@media (max-width: 640px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.footer-logo img {
  height: auto;
  width: auto;
  max-height: 28px;
  max-width: 160px;
  display: block;
  object-fit: contain;
}

.footer-tagline {
  font-size: 12px;
  color: #6B7280;
  white-space: nowrap;
  line-height: 1.5;
  margin: 0;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  flex: 1;
}

.footer-nav a {
  font-size: 13px;
  color: #374151;
  text-decoration: none;
  transition: color 0.18s;
}

.footer-nav a:hover {
  color: #3E7CF2;
}

.footer-copy {
  font-size: 12px;
  color: #9CA3AF;
  white-space: nowrap;
  margin: 0;
  flex: 1;
  text-align: right;
}

/* ── 7. Inline Styles Moved from HTML ── */

/* Navigation */
.nav-bar {
  background: transparent !important;
}

.btn-nav-style {
  background: transparent !important;
  font-family: 'Roboto', sans-serif !important;
  height: 46px !important;
  border-radius: 15px !important;
  padding: 12px 24px !important;
}

/* Mobile Menu */
#mobileMenu {
  background: linear-gradient(to bottom, #21B4FA 0%, #3E7CF2 100%) !important;
  backdrop-filter: blur(20px) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
}

#mobileMenu button {
  background: rgba(255, 255, 255, 0.15) !important;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(to bottom, #21B4FA 0%, #3E7CF2 100%) !important;
}

.hero-radial-glow {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.09) 0%, transparent 65%) !important;
}

.hero-cta-btn {
  background: #fff !important;
  height: 56px !important;
  border-radius: 16px !important;
  padding: 0 28px !important;
}

.hero-cta-text {
  background: linear-gradient(to bottom, #21B4FA 0%, #3E7CF2 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* Feature Boxes */
.sec3-box-link-store {
  background: #E9F8FF !important;
  height: 270px !important;
}

.sec3-box-digital {
  background: #FAFAFA !important;
  height: 270px !important;
}

.sec3-coaching-card {
  background: linear-gradient(to bottom, #21B4FA 0%, #3E7CF2 100%) !important;
}

.sec3-box-income {
  background: linear-gradient(180deg, #D3F0FE 0%, #D8E5FC 100%) !important;
  height: 450px !important;
  flex-shrink: 0 !important;
}

.sec3-box-analytics {
  background: #FAFAFA !important;
  height: 280px !important;
}

/* Feature Images — desktop defaults */
.feature-img-link {
  width: 280px !important;
}

.feature-img-digital {
  width: 350px !important;
}

.feature-img-income {
  width: auto !important;
}

.feature-img-analytics {
  width: 100% !important;
  max-width: 330px !important;
  height: auto !important;
  display: block !important;
}

/* ── Tablet (640px–1023px): right col wraps to full width ── */
@media (min-width: 640px) and (max-width: 1023px) {
  .sec3-box-income {
    height: auto !important;
    min-height: 280px;
  }

  .feature-img-income {
    width: 100% !important;
    max-width: 100% !important;
  }

  .sec3-box-analytics,
  .sec3-box-flex {
    height: auto !important;
    min-height: 200px;
  }

  .feature-img-analytics {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Mobile: old grid is hidden, bento grid is used instead */

/* ── Mobile Bento Grid ── */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: stretch;
}

.bento-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 100%;
}

/* Make last card in each column stretch to fill remaining space */
.bento-col .bento-card:last-child {
  flex: 1;
}

.bento-col .bento-card:last-child img {
  flex: 1;
  object-fit: cover;
}

.bento-card {
  border-radius: 14px;
  overflow: hidden;
  padding: 12px 12px 12px 12px;
  display: flex;
  flex-direction: column;
}

.bento-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 8px;
  object-fit: contain;
}

.bento-label {
  font-size: 11px;
  font-weight: 600;
  background: linear-gradient(to right, #3E7CF2, #21B4FA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  margin: 0;
}


/* Bento backgrounds */
.bento-bg-bio {
  background: #E9F8FF;
}

.bento-bg-digital {
  background: linear-gradient(180deg, #D3F0FE 0%, #D8E5FC 100%);
}

.bento-bg-income {
  background: linear-gradient(180deg, #D3F0FE 0%, #D8E5FC 100%);
}

.bento-income-badge {
  position: absolute !important;
  top: 35px;
  right: 15px;
  width: 60px !important;
  height: 35px !important;
  margin-top: 0 !important;
  z-index: 2;
  object-fit: cover !important;
  flex: none !important;
}

.bento-bg-analytics {
  background: linear-gradient(180deg, #E0F0FE 0%, #D0E2FA 100%);
}

/* ── 4. Section 3 — Feature Grid ── */

/* Bio link overlay for box 1 */
.bio-link-overlay {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  color: #111;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  z-index: 10;
}

.bio-link-overlay svg {
  flex-shrink: 0;
  color: #666;
}

.bio-link-overlay span {
  white-space: nowrap;
}

/* Outer 2-col grid: left ~60% / right ~40% */
.sec3-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 1024px) {
  .sec3-grid {
    grid-template-columns: 1fr 400px;
    gap: 20px;
  }
}

/* Left column: top-row + coaching stacked */
.sec3-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Top row: Part1 + Part2 side by side */
.sec3-top-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .sec3-top-row {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

/* Right column: Part3 + Part4 stacked */
.sec3-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 1024px) {
  .sec3-right {
    gap: 20px;
  }
}

/* ── Shared box base ── */
.sec3-box {
  border-radius: 16px;
  overflow: hidden;
  padding: 24px 20px 0 20px;
  display: flex;
  flex-direction: column;
}

/* Mobile: sec3-grid is hidden, bento-grid is shown instead */

@media (min-width: 1024px) {
  .sec3-box {
    border-radius: 20px;
    padding: 24px 20px 0 0;
  }
}

/* Part 4 (Advance Analytics) — fixed height so right col = left col (806px total) */
/* Right col: 548 (Part3) + 20 (gap) + 238 (Part4) = 806px = left col */
.sec3-box-flex {
  height: 238px;
}

/* Box title */
.sec3-box-title {
  font-size: 16px;
  font-weight: 800;
  color: #111;
  margin-bottom: 12px;
  line-height: 1.2;
  flex-shrink: 0;
  text-align: center;
  width: 100%;
}

@media (min-width: 640px) {
  .sec3-box-title {
    font-size: 18px;
    margin-bottom: 16px;
  }
}

/* Image container — fills remaining height, image centred by default */


.sec3-box-img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;

}

/* Part 1: Bio Store — image centered */
.sec3-box-img--left {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.sec3-box-img--left img {
  width: 200px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

@media (min-width: 640px) {
  .sec3-box-img--left img {
    width: 240px;
  }
}

@media (min-width: 1024px) {
  .sec3-box-img--left img {
    width: 280px;
  }
}

/* Part 2: Digital Products — image centered */
.sec3-box-img--center {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px 0;
}

.sec3-box-img--center img {
  width: 100%;
  max-width: 280px;
  height: auto;
  object-fit: contain;
  display: block;
}

@media (min-width: 640px) {
  .sec3-box-img--center img {
    max-width: 320px;
  }
}

@media (min-width: 1024px) {
  .sec3-box-img--center img {
    max-width: 350px;
  }
}

/* ── Part 5: Coaching card ── */
.sec3-coaching-card {
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 400px;
}

@media (min-width: 1024px) {
  .sec3-coaching-card {
    border-radius: 20px;
    height: 460px;
  }
}

/* Row 1: full-width title + description */
.sec3-coaching-row1 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 24px 20px 0 20px;
}

@media (min-width: 1024px) {
  .sec3-coaching-row1 {
    gap: 10px;
    padding: 32px 32px 0 32px;
  }
}

.sec3-coaching-title {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  flex-shrink: 0;
  margin: 0;
  white-space: normal;
}

@media (min-width: 640px) {
  .sec3-coaching-title {
    font-size: 18px;
    white-space: nowrap;
  }
}

.sec3-coaching-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
  margin: 0;
}

@media (min-width: 640px) {
  .sec3-coaching-desc {
    font-size: 14px;
    line-height: 1.7;
  }
}

/* Row 2: 2-column — button (left) | image (right) */
.sec3-coaching-row2 {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex: 1;
  min-height: 250px;
}

@media (min-width: 640px) {
  .sec3-coaching-row2 {
    display: grid;
    grid-template-columns: 1fr auto;
    min-height: 200px;
  }
}

.sec3-coaching-btn-wrap {
  display: flex;
  align-items: flex-start;
  padding: 20px 20px 0 20px;
}

@media (min-width: 1024px) {
  .sec3-coaching-btn-wrap {
    padding: 32px 32px 0 32px;
  }
}

.sec3-coaching-btn {
  display: inline-block;
  background: #fff;
  color: #21B4FA;
  font-size: 13px;
  padding: 10px 16px;
  border-radius: 12px;
  text-decoration: none;
  transition: opacity 0.2s;
  white-space: nowrap;
  height: 44px;
  border: none;
  cursor: pointer;
}

@media (min-width: 640px) {
  .sec3-coaching-btn {
    font-size: 14px;
    padding: 11px 20px;
    border-radius: 16px;
    height: 50px;
  }
}

.sec3-coaching-btn:hover {
  opacity: 0.9;
}

/* Right col of row2: photo fills full height */
.sec3-coaching-photo {
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  flex: 1;
}

@media (min-width: 640px) {
  .sec3-coaching-photo {
    width: 280px;
    flex: 0 0 auto;
  }
}

@media (min-width: 1024px) {
  .sec3-coaching-photo {
    width: 400px;
  }
}

.sec3-coaching-photo img {
  height: 100%;
  width: auto;
  object-fit: contain;
  object-position: bottom center;
  display: block;
}