/* No change needed here, just comment */
:root {
  /* Colors */
  --c-white: #ffffff;
  --c-text-main: #333333;
  --c-text-light: #666666;
  --c-brand-green: #4caf50; /* Coop-ish Green */
  --c-brand-light-green: #e8f5e9;
  --c-brand-yellow: #fff9c4; /* Pale Yellow */
  --c-accent-orange: #ff9800;
  --c-accent-red: #e53935;
  --c-bg-soft: #fafafa;

  /* Spacing & Radius */
  --sp-xs: 8px;
  --sp-sm: 16px;
  --sp-md: 24px;
  --sp-lg: 40px;
  --sp-xl: 60px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 30px;
  --radius-pill: 999px;

  /* Typography */
  --font-base: "fot-udkakugoc80-pro", "M PLUS Rounded 1c", "Kosugi Maru",
    sans-serif;
  --font-title: "fot-udkakugoc80-pro", "Mochiy Pop One", sans-serif;
  --font-number: "Anton", "Oswald", "Bebas Neue", sans-serif;
}

/* RESET & BASE */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* Prevent horizontal scroll globally */
}
body {
  font-family: var(--font-base);
  color: #ffffff;
  background-color: #425ba8;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Background Elements Fixed */
.fixed-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  pointer-events: none;
  z-index: -10; /* DEEP BACK: Ensure it never overlaps content */
}

h1,
h2,
h3,
.rounded-text {
  font-family: var(--font-title);
  letter-spacing: 0.05em;
  color: #fff; /* Ensure headers are white */
}
a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}
a:hover {
  opacity: 0.8;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

/* LAYOUT UTILITIES */
/* LAYOUT UTILITIES */

/* LAYOUT UTILITIES - Updates for Blue Theme */
/* LAYOUT UTILITIES - Updates for Blue Theme */
/* GLOBAL HEADER STYLE */
.site-header {
  background: #ffffff;
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 100; /* Above stars and hero content */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo img {
  display: block;
  width: auto;
  height: 40px; /* Regulation size */
}

.header-cta {
  font-size: 0.9rem;
  color: #ffffff;
  background: #425ba8;
  font-weight: 800;
  padding: 8px 18px;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(66, 91, 168, 0.2);
}

.header-cta:hover {
  background: #ffffff;
  color: #425ba8;
  border: 1px solid #425ba8;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(66, 91, 168, 0.15);
}

.container {
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  position: relative;
  max-width: none;
  z-index: 5; /* Stack above background elements */
}

.section {
  padding: var(--sp-lg) var(--sp-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  background: transparent; /* Changed from !important to allow overrides */
}

/* CARDS: Giving them white bg for readability */
.plan-box,
.reason-item,
.timeline-item,
details {
  background: rgba(255, 255, 255, 0.95);
  color: #333; /* Dark text inside cards */
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
}

/* Headers inside white cards */
.plan-box h3,
.reason-item h3,
.timeline-item h3,
details summary {
  color: #425ba8;
}
details {
  border: none;
}
details summary {
  font-weight: bold;
  cursor: pointer;
  list-style: none;
  color: #425ba8;
}

/* Remove specific section backgrounds that conflict */
.points-bg {
  background: transparent !important;
}
.section[style*="background"] {
  background: transparent !important;
}

.section-inner {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.section:last-child {
  border-bottom: none;
}
.text-center {
  text-align: center;
}
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.mt-sm {
  margin-top: var(--sp-sm);
}
.mt-md {
  margin-top: var(--sp-md);
}
.mt-lg {
  margin-top: var(--sp-lg);
}
.mb-sm {
  margin-bottom: var(--sp-sm);
}

/* HERO SECTION */
.hero {
  background: transparent; /* Changed from #425ba8 to allow stars to show through */
  color: #ffffff;
  padding: 30px 20px 0px;
  position: relative;
  /* min-height removed to allow natural overflow and fix CLS with container if needed */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  contain: none; /* Reset contain to avoid stacking context issues with fixed-bg */
  z-index: 10;
}

#fireworks-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  display: block; /* Ensure no inline-spacing */
}
/* HERO TYPOGRAPHY - EDITORIAL NEON */
.hero-title-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
}

.hero-tagline {
  font-size: 1rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 10px;
  text-indent: 0.5em; /* Offset for letter-spacing */
  font-weight: 500;
}

.hero-main {
  font-size: 3.8rem;
  line-height: 1.1;
  font-weight: 900;
  color: #fff;
  /* Clean shadow for readability against starry background */
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.section-title {
  font-size: 1.8rem;
  color: var(--c-brand-green);
  margin-bottom: var(--sp-sm);
  font-weight: 800;
}
.section-desc {
  font-size: 1rem;
  color: var(--c-text-light);
  margin-bottom: var(--sp-md);
}

/* Buttons */
/* Buttons - Gooey Effect */
.btn-cta {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;

  /* Initial State (Neon Yellow #F0FC0D) */
  color: #425ba8; /* Text matches hero bg color */
  background: #f0fc0d;
  padding: 16px 48px;
  border: 4px solid #f0fc0d;
  border-radius: var(--radius-pill);

  position: relative;
  z-index: 1;
  transition: all 700ms ease;
  overflow: hidden;
  text-align: center;
  max-width: 320px;
  width: 100%;
}

.btn-cta .c-button__blobs {
  height: 100%;
  filter: url(#goo);
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  bottom: -3px;
  right: -1px;
  z-index: -1;
  border-radius: var(--radius-pill);
}

.btn-cta .c-button__blobs div {
  background-color: #ffffff; /* Use white to fill the button on hover */
  width: 34%;
  height: 100%;
  border-radius: 100%;
  position: absolute;
  transform: scale(1.4) translateY(125%) translateZ(0);
  transition: all 700ms ease;
}

.btn-cta .c-button__blobs div:nth-child(1) {
  left: -5%;
}

.btn-cta .c-button__blobs div:nth-child(2) {
  left: 30%;
  transition-delay: 60ms;
}

.btn-cta .c-button__blobs div:nth-child(3) {
  left: 66%;
  transition-delay: 25ms;
}

.btn-cta:hover {
  color: #425ba8; /* Blue text on white bg */
  text-shadow: none;
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
  background: #ffffff;
  border-color: #ffffff; /* Solid white border */
}

.btn-cta:hover .c-button__blobs div {
  transform: scale(1.4) translateY(0) translateZ(0);
}

.btn-cta:active {
  transform: scale(0.98);
}

.btn-cta.bouncy {
  animation: bounce 2s infinite;
}

/* ANIMATIONS */
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------------------------------------------------
   1. HERO SECTION
   --------------------------------------------------------- */

/* Electric flow animation background removed */

/* DROP & SMOKE ANIMATIONS */
/* SPARKLE ANIMATION */
/* ORB ANIMATION (Background) */
/* STAR ANIMATION (Global Fixed) */
.orb-container.fixed-bg,
.star-container.fixed-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -10; /* DEEP BACK */
  pointer-events: none;
  overflow: hidden;
}

.star {
  position: absolute;
  background: white;
  /* Sharp 4-point Sparkle Shape */
  clip-path: polygon(
    50% 0%,
    60% 40%,
    100% 50%,
    60% 60%,
    50% 100%,
    40% 60%,
    0% 50%,
    40% 40%
  );
  opacity: 0;
  /* Box shadow doesn't work well with clip-path, so we use filter */
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.9));
  animation: twinkle linear infinite;
}

@keyframes twinkle {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
  100% {
    opacity: 0;
    transform: scale(0.5);
  }
}

/* DROP & SMOKE ANIMATIONS */
@keyframes dropThudHeavy {
  0% {
    transform: translateY(-800px) scale(1); /* Start higher up */
    opacity: 1; /* Show immediately as it falls */
  }
  50% {
    transform: translateY(0) scaleY(1);
  }
  55% {
    transform: translateY(0) scaleY(0.6) scaleX(1.4); /* Strong Squash on impact */
  }
  75% {
    transform: translateY(-50px) scaleY(1.1) scaleX(0.9); /* Rebound */
  }
  85% {
    transform: translateY(0) scaleY(0.95) scaleX(1.05); /* Settle squash */
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1; /* Ensure it stays visible */
  }
}

@keyframes dropFadeIn {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.drop-text {
  opacity: 0;
}
.drop-text.animate {
  animation: dropFadeIn 0.8s ease-out forwards;
}

.drop-content {
  opacity: 0;
  position: relative;
  z-index: 2;
}
.drop-content.animate {
  animation: dropThudHeavy 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.smoke-container {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 100px;
  pointer-events: none;
  z-index: 1;
}

.smoke {
  width: 40px;
  height: 40px;
  background: radial-gradient(
    circle,
    rgba(230, 230, 230, 1) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  border-radius: 50%;
  position: absolute;
  bottom: 0;
  opacity: 0;
  filter: blur(8px);
}

.smoke.animate {
  animation: smokeSpread 1.2s ease-out forwards;
}

@keyframes smokeSpread {
  0% {
    transform: translate(0, 0) scale(0.5);
    opacity: 0.8;
  }
  100% {
    transform: translate(var(--tx), -120px) scale(2.5);
    opacity: 0;
  }
}

/* HERO CHARACTER - THE PEEKING CONNECTOR */
/* HERO BADGE GROUP - FOR PERFECT SYNC */
.hero-badge-group {
  position: relative;
  margin: 0 auto;
  width: fit-content;
  animation: hero-frame-float 6s ease-in-out infinite; /* Synced slow float */
  z-index: 10;
}

/* HERO CHARACTER - THE PEEKING CONNECTOR */
.hero-character-wrap {
  position: relative;
  z-index: 30;
  margin-bottom: -12px; /* User's perfect fit */
  pointer-events: none;
}

.hero-character {
  display: block;
  margin: 0 auto;
  max-width: 270px;
  height: auto;
  /* Clean shadow for depth */
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.3));
}

@keyframes hero-frame-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.hero-sub {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--c-brand-green);
  margin-bottom: var(--sp-sm);
  display: inline-block;
  background: rgba(255, 255, 255, 0.8);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}
/* HERO PRICE BADGE - ASYMMETRICAL DYNAMIC */
.hero-price-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 0;
  width: fit-content;
  position: relative;
  z-index: 10;

  padding: 35px 55px 40px;
  background: rgba(255, 255, 255, 0.15); /* Slightly brighter white-tint for better "glass" effect */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: translateZ(0); /* Force hardware acceleration for the filter */
  border-radius: 20px 80px 20px 80px;
  border: 1px solid rgba(240, 252, 13, 0.3); /* Soft Yellow Border */
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2), 
              0 0 20px rgba(240, 252, 13, 0.1);
}

.price-decorator-top {
  position: absolute;
  top: -12px;
  left: 30px; /* Moved to the left so it's not hidden by Peeking Todock */
  transform: none;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  background: #425ba8;
  padding: 4px 15px;
  border-radius: 999px;
  border: 1px solid #f0fc0d; /* Matching yellow border */
  color: #f0fc0d; /* Matching yellow text */
  text-shadow: none;
  white-space: nowrap;
}

.price-side-tag {
  writing-mode: vertical-rl;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  letter-spacing: 0.1em;
}

.price-main #count-hero {
  font-family: var(--font-number);
  font-size: 6.8rem;
  font-weight: 900;
  color: #f0fc0d; /* Yellow */
  line-height: 0.9;
  letter-spacing: 0.08em; /* Increased from -0.02em to fix "too tight" look */
  /* Thick Blue Outline using multiple shadows for stability */
  text-shadow: 
    3px 3px 0 #425ba8, -3px -3px 0 #425ba8,
    3px -3px 0 #425ba8, -3px 3px 0 #425ba8,
    0px 3px 0 #425ba8, 0px -3px 0 #425ba8,
    3px 0px 0 #425ba8, -3px 0px 0 #425ba8,
    5px 10px 20px rgba(0,0,0,0.4);
}

.price-side-label {
  writing-mode: vertical-rl;
  font-size: 1.1rem;
  color: #ffffff;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1;
  text-shadow: 2px 2px 0 #425ba8, -1px -1px 0 #425ba8;
  margin-right: 15px; /* Added more space from the number */
}

.price-details-new {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 10px; /* More breathing room */
}

.unit-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.unit-yen {
  font-size: 2.2rem;
  font-weight: 900;
  color: #f0fc0d;
  line-height: 1;
  text-shadow: 2px 2px 0 #425ba8, -2px -2px 0 #425ba8, 2px -2px 0 #425ba8, -2px 2px 0 #425ba8;
}

.unit-otoku {
  font-size: 2rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  text-shadow: 2px 2px 0 #425ba8, -2px -2px 0 #425ba8, 2px -2px 0 #425ba8, -2px 2px 0 #425ba8;
}

/* CAMPAIGN DATE - MODERN TICKER */
.campaign-date-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 10px auto 40px;
  position: relative;
  z-index: 20; /* Lift above all stars and noise */
}

.date-header {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  max-width: 400px;
  opacity: 0.7;
}

.date-header .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
}

.date-header .label {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}

.date-content {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: #fff;
  font-family: var(--font-number);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.date-content .year {
  font-size: 2.4rem; /* Balanced size */
  font-weight: 300;
  opacity: 0.9;
  letter-spacing: 0.05em;
}

.date-content .main-date {
  font-size: 5.2rem; /* Powerful size */
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  text-shadow: 0 0 1px rgba(255, 255, 255, 0.3); /* Prevent rendering artifacts */
}

.date-content .main-date .wave {
  font-size: 3rem;
  font-weight: 300;
  margin: 0 8px;
  vertical-align: middle;
  opacity: 0.8;
}

.date-wave {
  font-family: "Arial", sans-serif; /* Change font for better tilde shape */
  font-size: 3rem;
  margin: 0 15px;
  font-weight: 400;
  transform: translateY(10px); /* Move down to align better with bottom */
  color: #f0fc0d; /* Accent color for the wave? Or keep white? User didn't specify, but yellow looks nice. Let's keep white to match text unless image shows yellow. img shows white. keeping white.*/
  color: #fff;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-tagline {
    font-size: 0.8rem;
    letter-spacing: 0.3em;
  }
  .hero-main {
    font-size: 2.2rem; /* Adjusted for mobile */
  }

  .hero-price-display {
    padding: 20px 10px 25px; /* Slimmer padding to prevent overflow */
    gap: 8px;
    border-radius: 15px 40px 15px 40px; /* Scaled down radius */
    width: 98%; /* Maximum screen usage */
    max-width: 360px;
    display: flex;
    flex-wrap: nowrap; /* FORCE NO WRAP */
    align-items: center;
  }

  .price-decorator-top {
    font-size: 0.6rem;
    top: -10px;
    left: 10px; /* Shift to the edge to avoid character ears on small screens */
  }

  .hero-character {
    max-width: 210px; /* Scaled down for mobile balance */
  }

  .hero-character-wrap {
    margin-bottom: -10px; /* User's perfect fit for mobile */
  }

  .price-side-tag {
    font-size: 0.9rem;
  }

  .price-side-label {
    font-size: 3vw;
    margin-right: 5px;
  }

  .price-main #count-hero {
    font-size: 15vw; /* Fluid size based on screen width */
    letter-spacing: 0.02em;
  }

  .price-details-new {
    margin-left: 5px;
    min-width: 50px;
  }

  .unit-yen {
    font-size: 4.5vw;
  }

  .unit-otoku {
    font-size: 4vw;
  }

  /* Date Mobile Ticker */
  .date-header {
    max-width: 250px;
  }
  .date-header .label {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
  }
  .date-content .year {
    font-size: 1.2rem;
  }
  .date-content .main-date {
    font-size: 3rem;
  }
  .date-content .main-date .wave {
    font-size: 1.5rem;
  }
}

.hero-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 500px;
  margin: 0 auto var(--sp-lg);
}

/* CountUp Effect Particles */
.particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: gold;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}
@keyframes pop {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(var(--tx), var(--ty)) scale(0);
    opacity: 0;
  }
}

/* ---------------------------------------------------------
   NEW SECTION DIVIDER (SVG BAND)
   --------------------------------------------------------- */
.section-divider {
  --divider-color: #f0fc0d; /* Brand Yellow */
  width: 100%;
  height: clamp(70px, 10vw, 180px);
  line-height: 0;
  overflow: visible; /* Changed to visible to allow potential text overlap */
  position: relative;
  margin-top: -1px; /* Prevent sub-pixel gaps */
  z-index: 10;
}

.section-divider__svg {
  width: 100%;
  height: 100%;
  display: block;
}

.section-divider__svg path {
  fill: var(--divider-color);
}

/* Optional Text Overlay if needed for "Heading" */
.section-divider-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  z-index: 20;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.total-badge {
  position: absolute;
  top: -15px;
  left: 20px;
  background: #39b54a; /* Green */
  color: #fff;
  padding: 5px 20px;
  border-radius: 20px;
  font-weight: bold;
}

.total-number-huge {
  font-family: var(--font-number);
  font-size: 4rem;
  color: #425ba8;
  line-height: 1;
}
.total-number-huge .unit {
  font-size: 1.5rem;
}
.total-label {
  font-size: 1.8rem;
  color: #425ba8;
  font-weight: bold;
}

/* Footer Date */
.campaign-footer-date {
  text-align: center;
  margin-top: 40px;
}
.pill-green {
  background: #39b54a;
  color: #fff;
  display: inline-block;
  padding: 5px 30px;
  border-radius: 20px;
  margin-bottom: 5px;
  font-weight: bold;
}
.footer-date-text {
  font-family: var(--font-number);
  font-size: 2.5rem;
  color: #425ba8;
}
.tab-btn {
  background: transparent;
  padding: 10px 30px;
  border-radius: var(--radius-pill);
  font-weight: bold;
  color: #888;
  transition: all 0.3s;
}
.tab-btn.active {
  background: var(--c-white);
  color: var(--c-brand-green);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
  animation: fadeIn 0.5s;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.incentive-card {
  background: var(--c-brand-light-green);
  border-radius: var(--radius-md);
  padding: var(--sp-md);
  margin-bottom: var(--sp-sm);
  text-align: left;
  position: relative;
}
.incentive-tag {
  background: var(--c-brand-green);
  color: white;
  font-size: 0.8rem;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: bold;
  margin-right: 8px;
}
.total-save {
  background: #fff;
  border: 2px solid var(--c-accent-red);
  border-radius: var(--radius-md);
  padding: var(--sp-md);
  margin-top: var(--sp-md);
}
.save-val {
  font-family: var(--font-number);
  font-size: 2.5rem;
  color: var(--c-accent-red);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.05em;
}

/* ---------------------------------------------------------
   3. RATES SECTION
   --------------------------------------------------------- */
.plan-box {
  background: var(--c-white);
  border: 1px solid #ddd;
  border-radius: var(--radius-md);
  padding: var(--sp-md);
  margin-bottom: var(--sp-sm);
  text-align: left;
}

/* ---------------------------------------------------------
   FAQ SECTION
   --------------------------------------------------------- */
.faq-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 10px 40px;
}

.faq-item {
  margin-bottom: 20px;
  border-radius: 50px; /* Much rounder value matching CTA buttons */
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  background: #fff;
}

.faq-q-btn {
  width: 100%;
  background: #fff;
  border: none;
  padding: 20px 35px; /* Added more side padding for rounded corners */
  text-align: left;
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  position: relative;
  transition: background 0.3s;
}
.faq-q-btn:hover {
  background: #fdfdfd;
}

/* Q & A Icons */
.qa-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.faq-q-btn span {
  font-weight: bold;
  color: #425ba8;
  font-size: 1rem;
  line-height: 1.5;
  flex: 1;
}

/* Toggle Icon (+/-) */
.faq-q-btn::after {
  content: "+";
  font-size: 1.5rem;
  color: #425ba8;
  margin-left: 10px;
  transition: transform 0.3s;
}
.faq-q-btn[aria-expanded="true"]::after {
  content: "-";
  transform: rotate(0deg);
}

/* Answer Area */
.faq-a {
  display: none; /* JS will toggle this */
  background: #f4f8ff; /* Very light blue bg */
  padding: 20px 35px 25px; /* bottom padding slightly more */
  border-top: 1px solid #edf2fc;
  color: #333;
  line-height: 1.6;
}
.faq-a p {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}
/* Re-use qa-icon for Answer too, but aligning top */
.faq-a .qa-icon {
  margin-top: 3px;
}
.plan-title {
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--c-brand-green);
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--sp-sm);
  font-size: 0.9rem;
}
.price-table th,
.price-table td {
  text-align: left;
  padding: 8px;
  border-bottom: 1px solid #eee;
}
.sm-cta {
  font-size: 0.9rem;
  color: var(--c-brand-green);
  text-decoration: underline;
  margin-top: 10px;
  display: inline-block;
}

/* ---------------------------------------------------------
   4. REASON SECTION
   --------------------------------------------------------- */
.reason-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-sm);
}
.reason-item {
  background: #fff8e1;
  padding: var(--sp-md);
  border-radius: var(--radius-md);
}

/* ---------------------------------------------------------
   5. POINTS SECTION
   --------------------------------------------------------- */
.points-bg {
  background: linear-gradient(180deg, #f1f8e9 0%, #fff 100%);
}
.cycle-icons {
  font-size: 2rem;
  margin: var(--sp-md) 0;
  color: var(--c-brand-green);
}

/* ---------------------------------------------------------
   6. SWITCHING (Timeline)
   --------------------------------------------------------- */
.timeline {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
  border-left: 2px solid #ddd;
  padding-left: 30px;
  text-align: left;
}
.timeline-item {
  position: relative;
  margin-bottom: 40px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -37px;
  top: 5px;
  width: 12px;
  height: 12px;
  background: var(--c-brand-green);
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 0 0 1px #ddd;
}
.timeline-title {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 5px;
}
/* BACKGROUND DECORATIONS (Subtle Floating Shapes) */
.bg-decoration {
  position: absolute;
  z-index: 0;
  opacity: 0.4;
  pointer-events: none;
}
.bg-circle {
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(76, 175, 80, 0.1),
    rgba(139, 195, 74, 0.1)
  );
}
.bg-blob {
  background: rgba(255, 152, 0, 0.05);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  animation: blobMorph 10s ease-in-out infinite;
}
@keyframes blobMorph {
  0%,
  100% {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  }
  34% {
    border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
  }
  67% {
    border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
  }
}

/* ---------------------------------------------------------
   7. AI VISUALIZATION
   --------------------------------------------------------- */
/* Fireworks Canvas */
#fireworks-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0; /* Behind content, same level as orbs */
  pointer-events: none;
}

/* WAVE GRADIENT BACKGROUND - Enhanced visibility */
.hero {
  background: transparent; /* Overridden to allow stars to show through */
  color: #ffffff;
  padding: 30px 20px 20px;
  position: relative;
  overflow: hidden;
  min-height: 850px; /* Synchronized with CLS optimization */
  display: flex;
  align-items: center;
  justify-content: center;
}
@keyframes waveBg {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* SCROLL INDICATOR */
/* SCROLL CHARACTER INDICATOR (案1) */
.scroll-character-guide {
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 10;
}

.scroll-character-guide img.guide-char {
  width: 80px;
  height: auto;
  animation: floatChar 3s ease-in-out infinite;
  margin-bottom: 10px;
}

@keyframes floatChar {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.scroll-character-guide span {
  color: #fff;
  font-family: var(--font-number);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  font-weight: bold;
}

.scroll-character-guide .arrow-down {
  color: #f0fc0d;
  font-size: 1.5rem;
  font-weight: bold;
  animation: bounceArrow 2s infinite;
  line-height: 1;
  margin-top: 5px;
}

@keyframes bounceArrow {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.7;
  }
  50% {
    transform: translateY(10px);
    opacity: 1;
  }
}

@keyframes scrollWheel {
  0% {
    opacity: 1;
    top: 8px;
  }
  100% {
    opacity: 0;
    top: 25px;
  }
}

@keyframes bounceArrow {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-5px);
  }
  60% {
    transform: translateY(-3px);
  }
}
.ai-viz-img {
  background: #222;
  border-radius: var(--radius-md);
  padding: 20px;
  color: #fff;
  font-family: monospace;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-md);
}

/* ---------------------------------------------------------
   8. Q&A (Accordion)
   --------------------------------------------------------- */
details {
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  text-align: left;
}
summary {
  padding: 15px;
  font-weight: bold;
  cursor: pointer;
  list-style: none; /* Hide default arrow */
  display: flex;
  justify-content: space-between;
  align-items: center;
}
summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--c-brand-green);
}
details[open] summary::after {
  content: "-";
}
.qa-content {
  padding: 15px;
  border-top: 1px solid #eee;
  color: var(--c-text-light);
  font-size: 0.95rem;
}

/* Scroll Indicator */
.scroll-indicator {
  margin-top: 40px;
  color: var(--c-brand-green);
  font-size: 0.9rem;
  font-weight: bold;
  opacity: 0;
  animation: fadeInScroll 1s 1.5s forwards;
}
@keyframes fadeInScroll {
  to {
    opacity: 1;
  }
}
.mouse-icon {
  width: 24px;
  height: 36px;
  border: 2px solid var(--c-brand-green);
  border-radius: 12px;
  margin: 0 auto 5px;
  position: relative;
}
.mouse-icon::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--c-brand-green);
  border-radius: 50%;
  animation: scrollWheel 1.5s infinite;
}
@keyframes scrollWheel {
  0% {
    top: 6px;
    opacity: 1;
  }
  100% {
    top: 18px;
    opacity: 0;
  }
}
.arrow-down {
  animation: arrowBounce 1.5s infinite;
}
@keyframes arrowBounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(5px);
  }
}

/* 
 * RESPONSIVE ADJUSTMENTS
 */
/* Responsive Adjustments removed to force PC size or just fix syntax */
.hero-main {
  font-size: 3rem;
}
.big-number-container {
  font-size: 5rem;
}

/* ---------------------------------------------------------
   3. RATES SECTION (New Design)
   --------------------------------------------------------- */
/* Rates Divider - Handled by Generic */

/* Rates Container - Handled by Generic */

.rates-white-box {
  background: white;
  border-radius: 30px;
  overflow: hidden;
  padding-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 0 auto; /* Center the white box */
}

/* ... keep internal card styles ... */
.rates-menu-header {
  background: #f0fc0d;
  color: #425ba8;
  font-weight: bold;
  text-align: center;
  font-size: 1.5rem;
  padding: 15px;
  margin-bottom: 20px;
}
.rate-menu-card {
  border: 3px solid #425ba8;
  border-radius: 15px;
  margin: 0 20px 20px;
  padding: 20px;
  text-align: center;
  position: relative;
  background: #fff;
}
.rate-menu-title {
  color: #425ba8;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.rate-menu-tags {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.rate-tag-yellow {
  background: #f0fc0d;
  color: #425ba8;
  font-size: 0.8rem;
  padding: 5px 10px;
  border-radius: 20px;
  font-weight: bold;
}
.sim-header {
  text-align: center;
  color: #425ba8;
  font-size: 1.1rem;
  margin: 30px 0 10px;
  font-weight: bold;
}
.sim-box {
  border: 4px solid #f0fc0d;
  border-radius: 20px;
  margin: 0 20px 20px;
  padding: 30px 15px 15px;
  text-align: center;
  position: relative;
  background: #fff;
}
.sim-box-title {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  padding: 0 15px;
  color: #666;
  font-weight: bold;
  border-radius: 10px;
  border: 4px solid #f0fc0d;
}
.sim-price-row {
  color: #425ba8;
  font-weight: bold;
  font-size: 1.2rem;
}
.sim-price-big {
  color: #e53935;
  font-family: var(--font-number);
  font-size: 2.2rem;
  margin: 0 5px;
}
.eco-header-deco {
  text-align: center;
  color: #425ba8;
  font-size: 0.9rem;
  margin: 30px 0 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.rate-icon {
  font-size: 3.5rem;
  margin: 10px 0;
  display: block;
}
/* Hide old bottom curve explicitly */
.rates-bottom-curve,
.rates-bottom-blue-curve {
  display: none;
}

/* ---------------------------------------------------------
   4. POINTS SECTION (New Design)
   --------------------------------------------------------- */
/* Points Divider - Handled by Generic */
/* ---------------------------------------------------------
   4. POINTS SECTION (New Design Refined)
   --------------------------------------------------------- */
.section-points-divider {
  background: #f0fc0d;
  text-align: center;
  padding: 100px 0 100px;
  position: relative;
  z-index: 1;
  width: 100%; /* Changed from 100vw */
  margin: 0;
}

.points-title-img {
  font-family: var(--font-title);
  font-size: 3.5rem;
  color: #ffca28; /* Slightly orange-yellow per image or maintain brand? Image text looks orange-ish yellow */
  color: #f9a825;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-shadow: 1px 1px 0 #fff; /* Slight outline effect */
}

/* Blue Body Container with Arches */
/* Points Body - Handled by Generic */

.points-main-text {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 40px;
  line-height: 1.4;
  border-bottom: 2px solid #f0fc0d;
  display: inline-block;
  padding-bottom: 5px;
}

/* White Bubble Cards */
.point-bubble {
  background: #fff;
  border-radius: 40px; /* Very rounded */
  padding: 40px 20px;
  color: #425ba8;
  max-width: 500px;
  margin: 0 auto 40px;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
/* Yellow Pill Badge */
.point-bubble-badge {
  background: #f0fc0d; /* Bright Yellow */
  background: linear-gradient(
    135deg,
    #fff59d 0%,
    #ffff00 100%
  ); /* Lighter yellow gradient */
  color: #666;
  font-weight: bold;
  border-radius: 20px;
  padding: 8px 25px;
  position: absolute;
  top: -15px;
  left: 30px;
  font-size: 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.point-text-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
}
.point-num-big {
  font-size: 3rem;
  font-family: var(--font-number);
  line-height: 1;
}

/* Rank Up Graph */
.rank-up-title {
  color: #f0fc0d;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}
.rank-up-graph {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 15px;
  height: 100px;
  margin-bottom: 20px;
}
.rank-bar {
  width: 40px;
  background: linear-gradient(to bottom, #ffff00, #fbc02d);
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

/* Overwrite previous styles if conflicts */
.section-points .section-inner {
  width: 100%;
  max-width: none;
  padding: 0;
}

/* ---------------------------------------------------------
   5. SWITCHING SECTION (New Design)
   --------------------------------------------------------- */
.section-switching-divider {
  background: #f0fc0d;
  text-align: center;
  padding: 40px 0 80px;
  border-top-left-radius: 50% 20%;
  border-top-right-radius: 50% 20%;
  border-bottom-left-radius: 50% 20%;
  border-bottom-right-radius: 50% 20%;
  position: relative;
  z-index: 2;
  margin-top: 40px;
  width: 100%; /* Changed from 100vw */
  margin-left: 0;
  margin-bottom: -40px;
}
.switching-icons-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
.switch-icon-circle {
  background: #fff;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 0.7rem;
  color: #425ba8;
  font-weight: bold;
  border: 4px solid #425ba8;
}
.switch-icon-img {
  font-size: 2rem;
}

.switching-blue-box {
  background: #fff;
  border: 2px solid #425ba8;
  border-radius: 10px;
  padding: 10px;
  color: #425ba8;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 20px auto;
}

/* ---------------------------------------------------------
   6. VISUALIZATION SECTION (New Design)
   --------------------------------------------------------- */
/* Viz Divider - Handled by Generic */
.viz-phone-container {
  background: #fff;
  border-radius: 40px;
  padding: 20px;
  color: #333;
  margin: 0 auto;
  max-width: 320px;
  border: 8px solid #425ba8;
}
.viz-bubble {
  background: #fff;
  border-radius: 15px;
  padding: 10px;
  color: #425ba8;
  font-size: 0.8rem;
  margin-bottom: 5px;
  display: inline-block;
}

/* ---------------------------------------------------------
   7. Q&A SECTION (New Design)
   --------------------------------------------------------- */
/* Q&A Container - Handled by Generic */
.qa-title {
  font-family: var(--font-title);
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 30px;
}
.qa-item {
  background: #fff;
  border-radius: 30px;
  margin-bottom: 15px;
  overflow: hidden;
  text-align: left;
}
.qa-question {
  padding: 15px 20px;
  font-weight: bold;
  cursor: pointer;
  position: relative;
}
.qa-question::after {
  content: "+";
  position: absolute;
  right: 20px;
  font-weight: bold;
}
.qa-answer {
  padding: 0 20px 20px;
  font-size: 0.9rem;
  display: none; /* JS handle toggle or assume open for draft */
  display: block; /* Make visible by default for draft */
  color: #666;
}
/* ---------------------------------------------------------
   Generic Hill Stack Layout
   --------------------------------------------------------- */
/* 
   Each section sits on top of the previous one with a Convex (Hill) Top.
   It pulls itself up with negative margin.
   HTML structure must be siblings.
   Z-indexes must increase: 1, 2, 3, 4...
*/

/* Fix Campaign Showcase Stacking - REMOVED (Handled in main section style) */

/* ---------------------------------------------------------
   Generic Hill Stack Layout (Refined Logic)
   --------------------------------------------------------- */
/* 
   Logic Update:
   - ONLY ONE direction of pull: The FOLLOWING element pulls itself UP via margin-top negative.
   - The PRECEDING element does NOT push down or pull.
   - Exception: The very first overlap (Campaign -> Rates Header) needs care.
*/

.layout-hill-section {
  width: 100%;
  position: relative;
  box-sizing: border-box;
}

/* Specific Style: Yellow Header */
/* Sits behind, acts as connector */
.style-yellow-header {
  background: #f0fc0d;
  text-align: center;
  position: relative;
  /* Z-Index handled by HTML helper classes (z-1, z-3, etc) */

  /* Reset margins: Only pull UP */
  margin-bottom: 0;
  margin-top: -100px; /* Pulls up into previous Blue Section */

  /* Padding must exceed the pull depth to show text */
  padding-top: 150px;
  padding-bottom: 150px; /* Space for next section to pull into */
}

/* Fix first yellow header (Rates) top margin issues if needed */
/* But generally, the logic holds. */

.style-yellow-title {
  font-family: var(--font-title);
  font-size: 3rem;
  font-weight: 800;
  color: #425ba8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  position: relative;
  z-index: 5; /* Ensure text is above background */
}

/* Specific Style: Blue Body */
/* Sits in front, overlaps yellow */
.style-blue-body {
  background: #425ba8;
  color: #fff;
  text-align: center;
  position: relative;
  /* Z-Index handled by HTML helper classes (z-2, z-4, etc) */

  /* Deep Curves */
  border-top-left-radius: 50% max(80px, 8vw);
  border-top-right-radius: 50% max(80px, 8vw);
  border-bottom-left-radius: 50% max(80px, 8vw);
  border-bottom-right-radius: 50% max(80px, 8vw);

  /* Pull UP into Yellow Header */
  margin-top: -100px;

  padding-top: 150px; /* Safe space */
  padding-bottom: 120px;
}

/* Specific Style: White Body */
/* Acts like Blue Body but white */
.style-white-body {
  background: #fff;
  color: #333;
  position: relative;
  /* Z-Index handled by HTML helper */

  border-top-left-radius: 50% max(80px, 8vw);
  border-top-right-radius: 50% max(80px, 8vw);

  margin-top: -100px;
  padding-top: 150px;
  padding-bottom: 100px;
}

/* Inner Container for Max Width */
.layout-content-inner {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

/* Reset hacks for migrated sections */
.rates-container-wrapper,
.section-points-divider,
.points-body-blue,
.section-switching-divider,
.section-viz-divider,
.section-qa-container,
.rates-section-divider,
.yellow-header-section,
.blue-arch-body {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  border-radius: 0 !important;
  margin-top: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

/* Z-Index Helpers - IMPORTANT to override default flow */
.z-1 {
  z-index: 10 !important;
}
.z-2 {
  z-index: 20 !important;
}
.z-3 {
  z-index: 30 !important;
}
.z-4 {
  z-index: 40 !important;
}
.z-5 {
  z-index: 50 !important;
}
.z-6 {
  z-index: 60 !important;
}
.z-7 {
  z-index: 70 !important;
}
.z-8 {
  z-index: 80 !important;
}
.z-9 {
  z-index: 90 !important;
}
.z-10 {
  z-index: 100 !important;
}

@media (max-width: 600px) {
  /* Only keep text adjustments */
  .style-yellow-title {
    font-size: 2rem;
    flex-direction: column;
    gap: 5px;
    margin-top: 10px;
  }
}

/* ---------------------------------------------------------
   NEW SECTION DIVIDER (SVG BANDS)
   --------------------------------------------------------- */
.section-divider {
  --divider-color: #f0fc0d;
  width: 100%;
  /* Height needs to fit the content: Title(3rem ~48px) + Sub(1.2rem ~20px) + Spacing. 
     User suggested 70px min, but that's too small for content. Using 150px min. */
  height: clamp(150px, 20vw, 250px);
  line-height: 0;
  overflow: visible; /* Allow text to potentially peek out if needed, though centered */
  position: relative;
  margin: 0 auto;
  z-index: 10; /* Ensure divider itself is raised */
}

/* Reset overlap for the section immediately following the divider */
.section-divider + .layout-hill-section {
  margin-top: -30px !important; /* Small valid overlap to seal gap, but not -100px */
}

.section-divider__svg {
  width: 100%;
  height: 100%;
  display: block;
  /* Ensure SVG scales nicely */
}

.section-divider__svg path {
  fill: var(--divider-color);
}

/* Text Overlay for Bands */
.section-divider-content {
  position: absolute;
  top: 55%; /* Slight optical adjustment downwards slightly or center */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  z-index: 20; /* Ensure text is on top of the SVG */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

/* Content Body following the divider */
.section-body {
  padding: 60px 20px 100px; /* Extra bottom padding for spacing */
  color: #fff;
  text-align: center;
  position: relative;
  z-index: 5; /* Lower than divider */
  overflow: hidden; /* Ensure snow stays inside */
}

/* SNOW ANIMATION */
.snow-area {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.snowflake {
  position: absolute;
  top: -10px;
  background-color: #fff;
  border-radius: 50%;
  opacity: 0.8;
  filter: blur(1px);
  animation: falling linear infinite, swaying ease-in-out infinite;
}

@keyframes falling {
  0% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(3000px);
  } /* Increased to ensure it reaches the bottom of long sections */
}

@keyframes swaying {
  0%,
  100% {
    margin-left: 0;
  }
  50% {
    margin-left: 50px;
  }
}

/* ---------------------------------------------------------
   CAMPAIGN SECTION (New Design)
   --------------------------------------------------------- */
.cp-section {
  padding: 40px 20px;
  position: relative;
  z-index: 5;
}

.cp-box {
  background: #ffffff;
  border: 5px solid #425ba8; /* Brand Blue Border */
  border-radius: 30px;
  overflow: hidden;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.cp-header {
  background: #f0fc0d; /* Brand Yellow */
  color: #425ba8;
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  padding: 15px 0;
  letter-spacing: 0.1em;
}

.cp-content {
  padding: 30px 20px;
  text-align: center;
}

/* Campaign Period Styling */
.cp-period-box {
  margin-bottom: 30px;
  text-align: center;
}
.cp-period-badge {
  background-color: #44b17b; /* Vibrant green from image */
  color: #fff;
  display: inline-block;
  padding: 6px 25px;
  border-radius: 999px;
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 10px;
}
.cp-period-dates {
  font-family: var(--font-number);
  font-size: 3.5rem; /* Balanced size for impact */
  color: #425ba8;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  white-space: nowrap; /* Prevent breaking between dates */
}
.cp-period-date-line {
  display: inline; /* Keep in one line */
}
@media (max-width: 600px) {
  /* Removed and moved to bottom to ensure priority */
}

.cp-illustration {
  margin-bottom: 20px;
}
.cp-illustration img {
  display: inline-block;
  max-width: 150px;
}

/* Benefit Cards */
.cp-card {
  border: 2px solid #425ba8; /* Brand Blue Border */
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 15px;
  background: #fdfdfd;
}

.cp-card-head {
  background: #425ba8;
  color: #ffffff;
  padding: 8px;
  font-weight: bold;
  font-size: 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.cp-card-body {
  padding: 15px;
  background: #f0f5fc; /* Very light blue bg */
}

.cp-highlight-text {
  font-weight: bold;
  color: #425ba8;
  margin-bottom: 5px;
  display: block;
  font-size: 1.5rem; /* Increased from 1.1rem */
}
.cp-yellow-marker {
  background: linear-gradient(transparent 60%, rgba(240, 252, 13, 0.8) 60%);
}

.cp-circle-badge {
  background: #f0fc0d;
  color: #425ba8;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  float: left;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.8rem;
  font-weight: bold;
  line-height: 1.2;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.cp-price-large {
  font-size: 4.5rem; /* Increased for massive impact */
  color: #425ba8;
  font-family: var(--font-number);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap; /* Prevent breaking between number and unit */
  display: inline-block;
}
.cp-price-unit {
  font-size: 2.2rem; /* Adjusted for impact */
  margin-left: 2px;
  font-weight: 800;
}

/* Connector */
.cp-plus-icon {
  background: #f0fc0d;
  color: #425ba8;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  font-size: 2rem;
  font-weight: bold;
  margin: 0 auto 15px;
}
.cp-arrow-down {
  color: #f0fc0d;
  font-size: 3rem;
  line-height: 0.5;
  margin: 10px 0 20px;
}

/* Total Box Animation */
.cp-total-box {
  border: 2px solid #425ba8;
  border-radius: 20px;
  background: linear-gradient(to bottom, #ffffff 0%, #fff9c4 100%);
  padding: 30px 20px 20px;
  position: relative;
  margin-top: 20px;
  /* Pulsing Border/Shadow */
  animation: box-pulse 2s infinite;
}

@keyframes box-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(240, 252, 13, 0.7);
    transform: scale(1);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(240, 252, 13, 0);
    transform: scale(1.02);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(240, 252, 13, 0);
    transform: scale(1);
  }
}

.cp-total-pop-icon {
  width: auto; /* Fix aspect ratio */
  height: 90px;
  position: absolute;
  right: 10px;
  bottom: 10px;
  transform: rotate(-10deg);
  animation: pop-shake 3s infinite;
  transform-origin: bottom center;
}

@keyframes pop-shake {
  0%,
  100% {
    transform: rotate(-10deg) scale(1);
  }
  10%,
  20% {
    transform: rotate(-15deg) scale(1.1);
  }
  15% {
    transform: rotate(-5deg) scale(1.1);
  }
  50% {
    transform: rotate(-10deg) scale(1);
  }
}

.cp-total-badge {
  background: #3cb371; /* Green */
  color: #fff;
  padding: 5px 20px;
  border-radius: 20px;
  position: absolute;
  top: -15px;
  left: 20px;
  font-weight: bold;
  font-size: 1rem;
}

.cp-total-amount {
  font-size: 3.5rem;
  color: #425ba8;
  font-family: var(--font-number);
  line-height: 1;
  font-weight: bold;
  margin-bottom: 5px;
}

/* Date Footer */
.cp-date-area {
  margin-top: 30px;
}
.cp-date-pill {
  background: #3cb371;
  color: #fff;
  padding: 5px 20px;
  border-radius: 20px;
  display: inline-block;
  font-weight: bold;
  margin-bottom: 5px;
}
.cp-date-text {
  font-family: var(--font-number);
  font-size: 2.3rem;
  color: #425ba8;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* Running Animation Components */
.todock-runner-wrapper {
  /* Horizontal Movement: Faster */
  animation: run-across 3.5s linear infinite;
  display: inline-block;
  will-change: transform;
}

.running-todock {
  display: block;
  /* High Energy Run: Faster bounce, leaning forward */
  animation: run-cycle 0.2s infinite alternate ease-in-out;
  transform-origin: bottom center;
}

@keyframes run-across {
  0% {
    transform: translateX(120%);
  }
  100% {
    transform: translateX(-150%);
  }
}

@keyframes run-cycle {
  /* Lean forward and squash/stretch for speed */
  0% {
    transform: translateY(0) rotate(-15deg) scaleY(0.95) scaleX(1.05);
  }
  100% {
    transform: translateY(-10px) rotate(-5deg) scaleY(1.05) scaleX(0.95);
  }
}

/* Stylish Speed Lines */
.runner-smoke {
  position: absolute;
  top: 50%;
  right: -50px; /* Trailing behind */
  width: 40px;
  height: 4px;
  background: transparent;
  border-radius: 2px;
  opacity: 0;
  /* Use box-shadow to create multiple lines */
  box-shadow: -10px -15px 0 #b3e5fc, 0 0 0 #81d4fa, -20px 15px 0 #4fc3f7;
  animation: speed-lines 0.3s infinite linear;
  transform-origin: left;
}

@keyframes speed-lines {
  0% {
    opacity: 0;
    transform: translateX(0) scaleX(0.5);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(30px) scaleX(1.5);
  }
}

/* Section Icon with Animation */
.section-icon {
  margin-left: 10px;
  height: 60px; /* Base size for desktop */
  width: auto; /* Fix aspect ratio */
  /* More sophisticated "Breathing Float" animation */
  animation: float-chic 3s ease-in-out infinite;
  transform-origin: center center;
}

@keyframes float-chic {
  0% {
    transform: translateY(0) scale(1) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) scale(1.05) rotate(5deg);
  }
  100% {
    transform: translateY(0) scale(1) rotate(0deg);
  }
}

/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */
.footer-snow {
  width: 100%;
  height: 80px; /* Taller for drifts */
  display: block;
  margin-bottom: -1px;
  position: relative; /* Needed for z-index */
  z-index: 20; /* Higher than section-body (5) so character floats ON TOP */
}

.footer-snow path {
  fill: #ffffff;
  /* Soft shadow to look like fluffy snow */
  filter: drop-shadow(0 -5px 15px rgba(255, 255, 255, 0.4));
}

.site-footer {
  background: #ffffff;
  color: #425ba8; /* Brand Blue Text */
  text-align: center;
  padding: 40px 20px 60px;
  position: relative;
  z-index: 10;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
  font-weight: bold;
}

.footer-links a {
  text-decoration: none;
  position: relative;
}

.footer-links a:hover {
  color: #e53935; /* Hover Red */
}

.footer-copy {
  font-size: 0.8rem;
  color: #888;
}

.footer-logo-area {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

/* ---------------------------------------------------------
   CTA BUTTON SECTION
   --------------------------------------------------------- */
.cta-container {
  text-align: center;
  padding: 0 20px 60px; /* Spacing */
  position: relative;
  z-index: 10;
  margin-top: 40px; /* Pull up closer to campaign box */
}

/* CTA Button - Gooey Effect (Same as Hero) */
.cta-btn-primary {
  display: inline-block;
  font-size: 1.5rem; /* Keep slightly larger size for CTA section */
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;

  /* Initial State (Neon Yellow #F0FC0D) */
  color: #425ba8;
  background: #f0fc0d;
  padding: 20px 60px;
  border: 4px solid #f0fc0d;
  border-radius: var(--radius-pill);

  position: relative;
  z-index: 1;
  transition: all 700ms ease;
  overflow: hidden;
  text-align: center;
  font-family: var(--font-title);

  /* Bounce Animation */
  animation: bounce 2s infinite;
}

.cta-btn-primary .c-button__blobs {
  height: 100%;
  filter: url(#goo);
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  bottom: -3px;
  right: -1px;
  z-index: -1;
  border-radius: var(--radius-pill);
}

.cta-btn-primary .c-button__blobs div {
  background-color: #ffffff; /* Use white to fill the button on hover */
  width: 34%;
  height: 100%;
  border-radius: 100%;
  position: absolute;
  transform: scale(1.4) translateY(125%) translateZ(0);
  transition: all 700ms ease;
}

.cta-btn-primary .c-button__blobs div:nth-child(1) {
  left: -5%;
}
.cta-btn-primary .c-button__blobs div:nth-child(2) {
  left: 30%;
  transition-delay: 60ms;
}
.cta-btn-primary .c-button__blobs div:nth-child(3) {
  left: 66%;
  transition-delay: 25ms;
}

.cta-btn-primary:hover {
  color: #425ba8; /* Solid blue text on white bg */
  text-shadow: none;
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
  background: #ffffff;
  border-color: #ffffff;
}

.cta-btn-primary:hover .c-button__blobs div {
  transform: scale(1.4) translateY(0) translateZ(0);
}

.cta-btn-primary:active {
  transform: scale(0.98);
}

.cta-btn-sub {
  display: block;
  font-size: 0.9rem;
  margin-top: 10px;
  opacity: 0.9;
  font-weight: bold;
  color: #fff; /* Assuming on blue bg */
}

@keyframes cta-bounce {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* ---------------------------------------------------------
   MENU & RATES SECTION (New Design)
   --------------------------------------------------------- */
.menu-block {
  margin-bottom: 40px;
  position: relative;
}

/* Number & Header Area - Refined Balance */
.menu-header-area {
  position: relative;
  text-align: center;
  margin-bottom: 25px;
  padding-top: 10px;
}
.menu-number {
  font-family: var(--font-number);
  font-size: 8rem; /* Larger */
  color: #3cb371;
  line-height: 0.8;
  position: absolute;
  top: -10px;
  left: 40px; /* Moved inward from 5px */
  z-index: 1;
}

.menu-text-stack {
  display: inline-block;
  position: relative;
  z-index: 2;
}

/* Badge centered on top */
.menu-badge {
  background: #3cb371; /* Green */
  color: #fff;
  display: table; /* Shrink to fit */
  margin: 0 auto 10px;
  padding: 5px 20px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

/* Catch copy with highlighter */
.menu-catch {
  font-weight: 800;
  color: #425ba8;
  font-size: 1.2rem;
  display: block;
  margin-bottom: 5px;
}
.menu-marker {
  background: linear-gradient(transparent 60%, rgba(240, 252, 13, 0.9) 60%);
  padding: 0 5px;
}

.menu-sub {
  font-size: 0.75rem;
  color: #555;
  font-weight: bold;
  display: block;
}

/* Decorative Slash Lines */
.menu-deco-line-left,
.menu-deco-line-right {
  position: absolute;
  width: 2px;
  height: 40px;
  background: #425ba8;
  top: 35px; /* Align with middle of text stack */
}
.menu-deco-line-left {
  left: 20%;
  transform: rotate(-25deg);
}
.menu-deco-line-right {
  right: 20%;
  transform: rotate(25deg);
}

/* Menu Card Styles - Cleaner */
.menu-card {
  border: 3px solid #425ba8;
  background: #fff;
  border-radius: 20px;
  padding: 20px 15px; /* Reduced vertical padding */
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  margin: 0 auto 30px; /* Center with auto margins */
  max-width: 95%; /* Prevent full-screen width look */
  z-index: 2;
}
.menu-title {
  color: #425ba8;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 25px;
  display: block;
  letter-spacing: 0.05em;
}

/* Bubbles - Pop & Modern Style */
.menu-bubbles {
  display: flex;
  justify-content: center;
  gap: 15px; /* Tighter gap */
  margin-bottom: 30px;
  flex-wrap: wrap; /* Safe styling */
}
.menu-bubble {
  background: #ffffff;
  color: #425ba8; /* Brand Blue */
  font-size: 0.9rem;
  padding: 12px 24px;
  border-radius: 40px; /* Pill shape */
  border: 2px solid #425ba8; /* Blue Border */
  /* "Solid Shadow" for Pop look */
  box-shadow: 4px 4px 0 #f0fc0d; /* Neon Yellow details */

  width: auto;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 800; /* Extra bold */
  line-height: 1.4;
}

/*.menu-bubble::after removed (no tail) */
.menu-icon-main {
  width: 100px;
  margin: 0 auto;
  display: block;
}

/* Simulation Section */
.sim-header {
  border: 2px solid #425ba8;
  border-radius: 30px;
  background: #fff;
  color: #425ba8;
  font-weight: bold;
  display: inline-block;
  padding: 8px 30px;
  margin: 20px 0;
  position: relative;
}
.sim-header span {
  color: #3cb371; /* Green highlight if needed, or specific color */
}

.sim-card {
  margin: 0 auto 20px;
  max-width: 95%;
  text-align: center;
}
.sim-title {
  text-align: center;
  color: #666;
  font-weight: bold;
  margin-bottom: 10px;
}
.sim-icon {
  width: 60px;
  margin: 0 auto 10px;
  display: block;
}
.sim-result {
  text-align: center;
  font-size: 1.1rem;
  font-weight: bold;
  color: #5d4037; /* Brownish */
}
.sim-price {
  font-family: var(--font-number);
  font-size: 2rem;
  color: #8b4513; /* SaddleBrown */
  font-weight: bold;
}
.sim-note {
  font-size: 0.7rem;
  color: #888;
  text-align: center;
  margin-top: 5px;
}

/* Menu 2 Specifics */
.eco-panel-img {
  width: 120px;
  margin: 20px auto 0;
}

.sim-note-text {
  font-size: 0.9rem; /* Increased from 0.8rem */
  color: #666;
  text-align: center;
  margin: 20px auto;
  line-height: 1.5;
  max-width: 90%;
  display: block;
  background: rgba(255, 255, 255, 0.8);
  padding: 15px; /* Slightly increased padding */
  border-radius: 8px;
}

/* Eco/Biomass Text Section */
.eco-text-area {
  margin-top: 30px;
  text-align: center;
  color: #425ba8;
}
.eco-text-title {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 15px;
  line-height: 1.6;
}
.eco-text-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 15px;
}
.eco-biomass-img {
  width: 150px; /* Slightly larger presentation */
  margin: 10px auto;
  display: block;
}

/* ---------------------------------------------------------
   POINTS SECTION
   --------------------------------------------------------- */
.points-section {
  /* background-color: #425ba8; Removed to show global sparkles */
  background: transparent;
  color: #fff;
  padding: 40px 20px 60px;
  text-align: center;
  position: relative;
  /* Top curve handled by SVG divider in HTML */
  overflow-x: hidden; /* Container covers full width, hides leak, allows overlap */
}

/* Main Header */
.points-main-header {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 50px;
  display: inline-block;
  border-bottom: 3px solid #ffeb3b; /* Yellow underline */
  padding-bottom: 10px;
  line-height: 1.4;
  font-family: var(--font-title);
  color: #fff;
}

/* Cloud/Oval Containers - Updated to clean Rounded Rectangle */
.points-cloud-box {
  background: #fff;
  color: #333;
  border-radius: 40px; /* Rounder corners */
  padding: 10px; /* USER REQUESTED 10px */
  margin-bottom: 20px; /* Reduced from 50px to bring note closer */
  position: relative;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  border: 4px solid #fff9c4; /* Pale yellow border for "Points" theme */
}

/* Remove organic shape overrides */
.points-cloud-box.earn {
  border-radius: 40px;
  padding: 10px;
  padding-top: 80px; /* Increased to accommodate larger badge */
}
.points-cloud-box.use {
  border-radius: 40px;
  padding: 10px;
  padding-top: 80px; /* Increased to accommodate larger badge */
  text-align: center;
}
.points-cloud-box.use img.main-img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
  border-radius: 10px;
}

/* Label Badges (Yellow Pills) */
.points-badge-pill {
  background: linear-gradient(135deg, #fff9c4 0%, #f0fc0d 100%);
  color: #425ba8;
  font-weight: bold;
  font-size: 2rem; /* 1.3x increase */
  padding: 18px 60px; /* 1.3x increase */
  border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%; /* Organic shape */
  display: inline-block;
  position: absolute;
  top: -35px; /* Pull up further for larger size */
  left: 0px; /* Pull left */
  transform: rotate(-8deg);
  box-shadow: 2px 5px 10px rgba(0, 0, 0, 0.15);
  z-index: 2;
  white-space: nowrap;
  max-width: 90%; /* Prevent it from leaking off-screen on small devices */
  text-overflow: ellipsis;
}

/* Earn Content styling */
.earn-rate-text {
  color: #425ba8;
  font-size: 1.4rem;
  margin-bottom: 10px;
  font-weight: bold;
}
.earn-rate-big {
  font-family: var(--font-number);
  font-size: 5rem;
  color: #425ba8;
  line-height: 1;
  font-weight: bold;
}
.earn-rate-unit {
  font-size: 1.5rem;
  color: #425ba8;
}
.earn-rate-sub {
  font-size: 2.5rem;
  color: #425ba8;
  font-weight: bold;
}
.earn-note {
  font-size: 0.85rem; /* Smaller font */
  opacity: 0.9;
  text-align: left;
  max-width: 600px;
  margin: 10px auto 60px; /* Added 60px bottom margin to distance from 'Use' box */
  line-height: 1.6;
}

.points-earn-main-text {
  font-family: var(--font-title); /* Use impactful title font */
  font-weight: 900;
  color: #425ba8;
  font-size: 2.4rem; /* Balanced size */
  line-height: 1.3;
  margin: 20px 0;
  padding-right: 150px; /* Increased for larger bear/coins */
  position: relative;
  z-index: 2;
  letter-spacing: -0.01em;
  text-align: left;
}

.points-earn-main-text span.p-marker {
  background: linear-gradient(transparent 60%, rgba(240, 252, 13, 0.9) 60%);
  padding: 0 5px;
}

/* Images in Earn section */
.earn-bear-img {
  width: 130px; /* 1.3x increase */
  position: absolute;
  bottom: 15px;
  right: 15px;
}
.earn-coins-img {
  width: 170px; /* 1.3x increase */
  position: absolute;
  top: -70px;
  right: -5px; /* Slightly inward to avoid clipping issues */
}

/* Use Content styling */
.use-icons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 20px;
  justify-items: center;
}
.use-icon-item {
  text-align: center;
  font-size: 0.7rem;
  color: #333;
  width: 100%;
}
.use-icon-img-box {
  width: 50px;
  height: 50px;
  /* border: 2px solid #425ba8; */ /* Optional border */
  margin: 0 auto 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.use-icon-img-box img {
  max-width: 100%;
  max-height: 100%;
}

.use-cart-icon {
  width: 120px; /* 1.3x increase */
  position: absolute;
  top: -60px;
  right: 30px;
}
.use-desc {
  color: #fff;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

/* Rank Up Section */
.rank-up-title {
  color: #f0fc0d; /* Neon Yellow */
  font-size: 2rem;
  font-weight: 900;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
  margin-bottom: 30px;
  font-family: var(--font-title);
  letter-spacing: 0.1em;
}
.rank-graph-area {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 20px;
  height: 150px;
  margin-bottom: 20px;
  position: relative;
  width: 300px;
  margin: 0 auto 30px;
}
.rank-bar {
  width: 60px;
  border-radius: 5px 5px 0 0;
  position: relative;
}
.rank-bar.step-1 {
  height: 60px;
  background: #fff9c4;
}
.rank-bar.step-2 {
  height: 100px;
  background: #fff59d;
}
.rank-bar.step-3 {
  height: 140px;
  background: #ffeb3b;
}

.rank-bear {
  position: absolute;
  left: 35px; /* Centered on first bar (40px offset - 5px) */
  bottom: 60px; /* On top of step 1 */
  width: 70px;
  z-index: 5;
  animation: rankUpHop 4s infinite ease-in-out;
}

@keyframes rankUpHop {
  0%,
  15% {
    left: 35px;
    bottom: 60px;
    transform: scaleY(1);
  }

  /* Jump 1 */
  20% {
    bottom: 50px;
    transform: scaleY(0.9);
  } /* Crouch */
  25% {
    bottom: 130px;
    transform: scaleY(1.1);
  } /* Air High */
  30% {
    left: 115px;
    bottom: 100px;
    transform: scaleY(1);
  } /* Land Step 2 */

  30%,
  45% {
    left: 115px;
    bottom: 100px;
  } /* Wait */

  /* Jump 2 */
  50% {
    bottom: 90px;
    transform: scaleY(0.9);
  } /* Crouch */
  55% {
    bottom: 180px;
    transform: scaleY(1.1);
  } /* Air High */
  60% {
    left: 195px;
    bottom: 140px;
    transform: scaleY(1);
  } /* Land Step 3 */

  60%,
  80% {
    left: 195px;
    bottom: 140px;
    opacity: 1;
  } /* Wait on top */

  /* Reset */
  85% {
    opacity: 0;
  }
  90% {
    left: 35px;
    bottom: 60px;
    opacity: 0;
  }
  100% {
    left: 35px;
    bottom: 60px;
    opacity: 1;
  }
}

.rank-text {
  font-size: 0.9rem;
  color: #fff;
  line-height: 1.6;
}

/* ---------------------------------------------------------
   SWITCHING SECTION
   --------------------------------------------------------- */
/* ---------------------------------------------------------
   SWITCHING SECTION
   --------------------------------------------------------- */
.switching-section {
  text-align: center;
  padding-bottom: 60px;
  background: transparent; /* Transparent to show Hero BG */
}

.switching-title {
  color: #fff; /* White title */
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 30px;
  line-height: 1.4;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.switching-blue-box {
  background: rgba(0, 0, 0, 0.2); /* Semi-transparent dark box */
  backdrop-filter: blur(4px);
  color: #fff;
  padding: 0;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.switching-icons-banner {
  width: 100%;
  height: auto;
  display: none; /* Hidden as per request to use individual icons */
}

.switching-text-overlay {
  display: flex;
  justify-content: space-around;
  text-align: center;
  padding: 40px 0;
  background: transparent;
  margin-top: 0;
}
.switching-text-item {
  width: 30%;
  font-size: 1rem; /* Increased from 0.8rem */
  line-height: 1.5;
  color: #fff;
  font-weight: bold;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8); /* Strong shadow for readability */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.switching-item-icon {
  object-fit: contain;
  border-radius: 50%;
  padding: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.switching-desc-area {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  max-width: 600px;
  margin: 30px auto;
  text-align: left;
}
.switching-desc-text {
  color: #fff;
  font-size: 1.5rem;
  line-height: 1.8;
  flex: 1;
}
.switching-red {
  color: #fff9c4; /* Pale Yellow for highlight on dark bg */
  font-weight: bold;
  font-size: 1.1em;
}
.switching-bear-img {
  width: 50%;
}

.switching-bottom-pill {
  background: #fff; /* White pill */
  color: #425ba8; /* Blue text */
  display: inline-block;
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1.1rem;
  width: 90%;
  max-width: 600px;
  line-height: 1.4;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* ---------------------------------------------------------
   VISUALIZATION (VIZ) SECTION
   --------------------------------------------------------- */
.viz-section {
  padding-bottom: 60px;
  background: transparent; /* Consistently transparent for hero bg */
  color: #fff;
  text-align: center;
}

.viz-content-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

/* Title Styling - Matches Points Header */
.viz-title {
  font-size: 2rem;
  font-weight: bold;
  margin: 0 auto 50px; /* Center with margin */
  display: table; /* Shrink to fit content for border-bottom */
  border-bottom: 3px solid #ffeb3b;
  padding-bottom: 10px;
  line-height: 1.4;
  font-family: var(--font-title);
  color: #fff;
  text-align: center;
}

.viz-desc {
  font-size: 1.2rem; /* Increased size */
  line-height: 1.8;
  text-align: center;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
}

/* Remove old marker styles or keeping them won't hurt if HTML changes, but better to clean up */
/* .viz-ai-bear removed */

.viz-content-frame {
  background: #fff;
  border: 4px solid #f0fc0d; /* Neon Yellow Border */
  border-radius: 40px; /* Rounded corners to match other sections */
  padding: 40px; /* More padding */
  max-width: 600px; /* Reduced from 860px to focus content */
  margin: 30px auto 0;
  color: #333; /* Text inside if any */
}

.viz-content-frame img.main-viz-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Visualization Steps */
.viz-step-title {
  color: #425ba8;
  font-weight: bold;
  font-size: 1.1rem;
  line-height: 1.5;
  margin-bottom: 15px;
  text-align: center;
}
.viz-step-num {
  font-size: 1.2em;
  margin-right: 5px;
}
.viz-step-img {
  max-width: 300px;
  height: auto;
  display: block;
  margin: 0 auto 20px;
  border-radius: 10px;
}
.viz-step-arrow {
  color: #f0fc0d; /* Neon Yellow */
  font-size: 2rem;
  font-weight: bold;
  margin: 10px 0 20px;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.1);
  transform: scaleX(1.5); /* Make it wider nicely */
}
.viz-step-images-row {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 10px;
}
.viz-step-img-half {
  height: auto;
}

/* ---------------------------------------------------------
   RESPONSIVE: Mobile Adjustments
   --------------------------------------------------------- */
@media (max-width: 768px) {
  .points-section {
    padding: 30px 15px;
  }
  .points-main-header {
    font-size: 1.5rem;
    margin-bottom: 30px;
  }

  /* Adjust Cloud Boxes for Mobile */
  .points-cloud-box {
    border-radius: 30px !important; /* Rounder for mobile too */
    padding: 40px 15px 25px;
    margin-bottom: 30px;
    border-width: 3px; /* Slightly thinner border */
  }

  /* Reset specific shape overrides */
  .points-cloud-box.earn {
    border-radius: 30px;
    padding-top: 45px;
  }
  .points-cloud-box.use {
    border-radius: 30px;
    padding: 50px 10px 30px;
  }

  /* Badge Adjustments */
  .points-badge-pill {
    font-size: 1.2rem; /* Scaled for mobile */
    padding: 10px 30px;
    top: -20px;
    left: 0;
  }

  /* Font Size Adjustments */
  .earn-rate-big {
    font-size: 3.5rem;
  }
  .earn-rate-sub {
    font-size: 1.8rem;
  }

  /* Image sizing in Earn */
  .earn-bear-img {
    width: 70px;
    right: 10px;
    bottom: 10px;
  }
  .points-earn-main-text {
    font-size: 1.6rem;
    padding-right: 95px;
    margin: 12px 0;
    line-height: 1.3;
  }
  .earn-coins-img {
    width: 110px;
    top: -40px;
    right: -20px; /* Move slightly more inward/contained */
  }

  /* Use Section Image */
  .use-cart-icon {
    width: 95px;
    top: -45px;
    right: 20px;
  }
  .points-cloud-box.use img.main-img {
    max-width: 100%; /* Fill the container */
  }

  /* Campaign Price Adjustments for Mobile - Maintain high impact */
  .cp-price-large {
    font-size: 3rem !important; /* Larger than previous 2.2rem */
  }
  .cp-price-unit {
    font-size: 1.4rem !important;
  }
  /* Ensure the row doesn't break poorly if tight */
  .cp-card-body > div[style*="flex"] {
    flex-wrap: wrap;
  }

  /* Campaign Period: Guarantee one-line fit */
  .cp-period-dates {
    font-size: 8.5vw !important; /* Scale relative to screen width */
    white-space: nowrap !important;
    letter-spacing: -0.05em !important;
  }
  /* Optional: Ensure parent can't overflow it */
  .cp-period-box {
    overflow: hidden;
    padding: 0 5px;
  }

  /* Section Divider Mobile Adjustments */
  .section-divider {
    height: 120px !important; /* Increased for better title presence */
  }
  .section-divider-content h2 {
    font-size: 1.8rem !important; /* Increased from 1.5rem for better visibility */
    line-height: 1.2;
  }
  .section-icon {
    width: auto !important; /* Fix aspect ratio */
    height: 50px !important; /* Increased from 40px for impact */
  }

  /* Visualization Section Mobile Fixes */
  .viz-content-frame {
    padding: 25px 15px; /* Thinner padding for small screens */
    border-radius: 25px; /* Slightly tighter radius */
    max-width: 95%; /* Ensure it fits almost full width */
  }
  .viz-step-title {
    font-size: 1rem;
    margin-bottom: 10px;
  }
}

/* 📱 MOBILE FLOATING CTA STYLE */
.mobile-floating-cta {
  display: none; /* Hide by default on PC */
}

@media (max-width: 768px) {
  .mobile-floating-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 12px 20px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom)); /* Support iOS notch */
    background: rgba(66, 91, 168, 0.85); /* Translucent theme blue */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    
    /* SCROLL TRIGGER ANIMATION */
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    visibility: hidden;
  }

  .mobile-floating-cta.is-visible {
    transform: translateY(0);
    visibility: visible;
  }

  .floating-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0fc0d; /* Neon Yellow */
    color: #425ba8;
    text-decoration: none;
    font-weight: 900;
    font-size: 1.2rem;
    padding: 14px;
    border-radius: 999px;
    box-shadow: 
      0 4px 15px rgba(240, 252, 13, 0.4),
      0 0 20px rgba(240, 252, 13, 0.2);
    animation: floating-subtle 3s ease-in-out infinite;
  }

  .floating-cta-btn:hover {
    background: #ffffff;
    color: #425ba8;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
  }

  @keyframes floating-subtle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
  }

  .floating-cta-btn .btn-text {
    position: relative;
    padding-right: 25px;
  }

  .floating-cta-btn .btn-text::after {
    content: "▶";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    opacity: 0.7;
  }

  /* Footer Adjustment: Ensure copyright text is visible above the floating bar */
  .site-footer {
    padding-bottom: 100px; /* Room for the floating CTA */
  }
}
