  /* =========================================================
       PREMIUM HERO CSS
    ========================================================= */

  .hero-section {
    isolation: isolate;
    position: relative;
  }


  /* =========================================================
       THEME COLORS
       Green + Purple + Subtle Gold
    ========================================================= */

  :root {
    --hero-green: #15803D;
    --hero-dark-green: #064E3B;
    --hero-purple: #72009A;
    --hero-light-purple: #FAF5FF;
    --hero-gold: #F59E0B;
  }


  /* =========================================================
       SOFT GRADIENT GLOWS
    ========================================================= */

  .hero-bg-glow {
    position: absolute;
    border-radius: 9999px;
    filter: blur(45px); will-change: transform; transform: translate3d(0, 0, 0); backface-visibility: hidden;
    pointer-events: none;
    animation: heroGlowMove 12s ease-in-out infinite alternate;
  }


  /* GREEN PRIMARY GLOW */

  .hero-glow-1 {
    width: 460px;
    height: 460px;

    background: rgba(21, 128, 61, .13);

    top: -190px;
    left: -130px;
  }


  /* PURPLE SECONDARY GLOW */

  .hero-glow-2 {
    width: 400px;
    height: 400px;

    background: rgba(114, 0, 154, .09);

    right: -130px;
    top: 70px;

    animation-delay: -4s;
  }


  /* SUBTLE GOLD ACCENT */

  .hero-glow-3 {
    width: 340px;
    height: 340px;

    background: rgba(245, 158, 11, .055);

    left: 42%;
    bottom: -190px;

    animation-delay: -7s;
  }


  /* =========================================================
       VECTOR CIRCLES
    ========================================================= */

  .hero-bg-circle {
    position: absolute;
    border-radius: 9999px;
    pointer-events: none;
  }


  .hero-circle-1 {
    width: 600px;
    height: 600px;

    right: -230px;
    top: -160px;

    border: 1px solid rgba(21, 128, 61, .09);

    animation: heroRotate 30s linear infinite;
  }


  .hero-circle-2 {
    width: 480px;
    height: 480px;

    right: -170px;
    top: -100px;

    border: 1px solid rgba(114, 0, 154, .10);

    animation: heroRotateReverse 24s linear infinite;
  }


  .hero-circle-3 {
    width: 340px;
    height: 340px;

    right: -100px;
    top: -30px;

    border: 1px dashed rgba(21, 128, 61, .13);

    animation: heroRotate 20s linear infinite;
  }


  /* =========================================================
       ORBIT VECTOR
    ========================================================= */

  .hero-orbit {
    position: absolute;

    border: 1px solid rgba(21, 128, 61, .065);

    border-radius: 50%;

    pointer-events: none;
  }


  .hero-orbit-1 {
    width: 800px;
    height: 300px;

    right: -180px;
    top: 160px;

    transform: rotate(-18deg);

    animation:
      orbitFloat 14s ease-in-out infinite alternate;
  }


  .hero-orbit-2 {
    width: 650px;
    height: 240px;

    left: -280px;
    bottom: 80px;

    border-color: rgba(114, 0, 154, .06);

    transform: rotate(25deg);

    animation:
      orbitFloatReverse 18s ease-in-out infinite alternate;
  }


  .hero-orbit-3 {
    width: 500px;
    height: 180px;

    left: 20%;
    top: -100px;

    transform: rotate(-8deg);

    border-style: dashed;

    border-color: rgba(114, 0, 154, .07);

    opacity: .5;

    animation:
      orbitFloat 16s ease-in-out infinite alternate;
  }


  /* =========================================================
       FLOATING PARTICLES
    ========================================================= */

  .hero-floating-dot {
    position: absolute;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--hero-green);

    opacity: .30;

    animation:
      heroFloat 6s ease-in-out infinite;
  }


  .dot-1 {
    top: 18%;
    left: 38%;
  }


  .dot-2 {
    top: 65%;
    left: 8%;

    width: 5px;
    height: 5px;

    background: var(--hero-purple);

    animation-delay: -2s;
  }


  .dot-3 {
    top: 28%;
    right: 36%;

    width: 5px;
    height: 5px;

    background: var(--hero-green);

    animation-delay: -3s;
  }


  .dot-4 {
    bottom: 15%;
    right: 22%;

    width: 8px;
    height: 8px;

    background: var(--hero-purple);

    animation-delay: -4s;
  }


  .dot-5 {
    top: 48%;
    left: 52%;

    width: 4px;
    height: 4px;

    background: var(--hero-gold);

    animation-delay: -1s;
  }


  .dot-6 {
    top: 12%;
    right: 15%;

    width: 4px;
    height: 4px;

    background: var(--hero-purple);

    animation-delay: -5s;
  }


  .dot-7 {
    bottom: 24%;
    left: 45%;

    width: 6px;
    height: 6px;

    background: var(--hero-green);

    animation-delay: -3.5s;
  }


  /* =========================================================
       FLOATING SQUARES
    ========================================================= */

  .hero-square {
    position: absolute;

    width: 10px;
    height: 10px;

    border: 1px solid rgba(21, 128, 61, .18);

    transform: rotate(45deg);

    animation:
      squareFloat 8s ease-in-out infinite;
  }


  .square-1 {
    top: 20%;
    left: 52%;

    border-color: rgba(114, 0, 154, .18);
  }


  .square-2 {
    bottom: 20%;
    right: 35%;

    width: 7px;
    height: 7px;

    border-color: rgba(21, 128, 61, .18);

    animation-delay: -3s;
  }


  .square-3 {
    top: 55%;
    left: 5%;

    width: 6px;
    height: 6px;

    border-color: rgba(114, 0, 154, .16);

    animation-delay: -5s;
  }


  /* =========================================================
       SUBTLE GRID
    ========================================================= */

  .hero-grid-pattern {
    position: absolute;
    inset: 0;

    background-image:
      linear-gradient(rgba(21, 128, 61, .028) 1px,
        transparent 1px),
      linear-gradient(90deg,
        rgba(114, 0, 154, .025) 1px,
        transparent 1px);

    background-size: 55px 55px;

    mask-image:
      linear-gradient(to bottom,
        transparent,
        black 18%,
        black 82%,
        transparent);

    opacity: .60;
  }


  /* =========================================================
       PRODUCT RING
    ========================================================= */

  .hero-product-ring {
    animation:
      productRingRotate 25s linear infinite;
  }


  /* =========================================================
       FLOATING CARDS
    ========================================================= */

  .hero-floating-card {
    animation:
      floatingCard 5s ease-in-out infinite;
  }


  .hero-floating-rating {
    animation:
      floatingRating 6s ease-in-out infinite;
  }


  .hero-floating-icon {
    animation:
      floatingIcon 4s ease-in-out infinite;
  }


  /* =========================================================
       PRODUCT IMAGE ZOOM
    ========================================================= */

  @keyframes heroZoom {

    0% {
      transform: scale(1.05);
    }

    50% {
      transform: scale(1.12);
    }

    100% {
      transform: scale(1.05);
    }

  }


  /* =========================================================
       BACKGROUND GLOW ANIMATION
    ========================================================= */

  @keyframes heroGlowMove {

    0% {
      transform:
        translate3d(0, 0, 0) scale(1);
    }

    50% {
      transform:
        translate3d(40px, 30px, 0) scale(1.08);
    }

    100% {
      transform:
        translate3d(-20px, 50px, 0) scale(.96);
    }

  }


  /* =========================================================
       ROTATIONS
    ========================================================= */

  @keyframes heroRotate {

    from {
      transform: rotate(0deg);
    }

    to {
      transform: rotate(360deg);
    }

  }


  @keyframes heroRotateReverse {

    from {
      transform: rotate(360deg);
    }

    to {
      transform: rotate(0deg);
    }

  }


  @keyframes productRingRotate {

    from {
      transform: rotate(0deg);
    }

    to {
      transform: rotate(360deg);
    }

  }


  /* =========================================================
       PARTICLE FLOAT
    ========================================================= */

  @keyframes heroFloat {

    0%,
    100% {
      transform:
        translateY(0) scale(1);
    }

    50% {
      transform:
        translateY(-18px) scale(1.25);
    }

  }


  /* =========================================================
       SQUARE FLOAT
    ========================================================= */

  @keyframes squareFloat {

    0%,
    100% {
      transform:
        translateY(0) rotate(45deg);
    }

    50% {
      transform:
        translateY(-20px) rotate(135deg);
    }

  }


  /* =========================================================
       ORBIT FLOAT
    ========================================================= */

  @keyframes orbitFloat {

    0% {
      transform:
        rotate(-18deg) translateX(0);
    }

    100% {
      transform:
        rotate(-12deg) translateX(25px);
    }

  }


  @keyframes orbitFloatReverse {

    0% {
      transform:
        rotate(25deg) translateX(0);
    }

    100% {
      transform:
        rotate(18deg) translateX(-25px);
    }

  }


  /* =========================================================
       FLOATING CARD
    ========================================================= */

  @keyframes floatingCard {

    0%,
    100% {
      transform: translateY(0);
    }

    50% {
      transform: translateY(-10px);
    }

  }


  @keyframes floatingRating {

    0%,
    100% {
      transform: translateY(0);
    }

    50% {
      transform: translateY(-8px);
    }

  }


  @keyframes floatingIcon {

    0%,
    100% {
      transform:
        translateY(0) rotate(0deg);
    }

    50% {
      transform:
        translateY(-10px) rotate(5deg);
    }

  }


  /* =========================================================
       SLIDER
    ========================================================= */

  .hero-slide {
    pointer-events: none;
  }

  .hero-slide.opacity-100 {
    pointer-events: auto;
  }


  /* =========================================================
       MOBILE
    ========================================================= */

  @media (max-width: 768px) {

    .hero-bg-glow {
      filter: blur(60px);
      opacity: .42;
    }


    .hero-circle-1 {
      width: 420px;
      height: 420px;
      right: -230px;
    }


    .hero-circle-2 {
      width: 330px;
      height: 330px;
      right: -180px;
    }


    .hero-circle-3 {
      width: 250px;
      height: 250px;
      right: -130px;
    }


    .hero-orbit-1 {
      width: 500px;
      height: 200px;
      right: -260px;
    }


    .hero-orbit-2 {
      width: 450px;
      height: 180px;
      left: -280px;
    }


    .hero-grid-pattern {
      background-size: 40px 40px;
      opacity: .28;
    }


    .hero-floating-dot {
      opacity: .20;
    }

  }


  /* =========================================================
       REDUCED MOTION
    ========================================================= */

  @media (prefers-reduced-motion: reduce) {

    .hero-bg-glow,
    .hero-bg-circle,
    .hero-orbit,
    .hero-floating-dot,
    .hero-square,
    .hero-product-ring,
    .hero-floating-card,
    .hero-floating-rating,
    .hero-floating-icon {

      animation: none !important;

    }

  }


  /* =========================================================
     PATPONNO DYNAMIC REALISTIC SHOWCASE SWIPER
     Responsive for Desktop, Tablet, and Mobile
  ========================================================= */
  .pp-hero {
    --pp-green: #208d5a;
    --pp-purple: #72009a;
    background: #f7f4ed;
    color: #1d2b22;
    position: relative;
    width: 100%;
    overflow: hidden;
  }

  .pp-hero-swiper {
    min-height: 520px;
    height: clamp(520px, 68vh, 640px);
    width: 100%;
    position: relative;
  }

  .pp-hero-slide {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 520px;
    height: 100%;
    width: 100%;
    overflow: hidden;
  }

  .pp-hero-image {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: var(--pp-desktop-image);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    transform: scale(1.015);
    transition: transform 7s ease;
  }

  .pp-hero .swiper-slide-active .pp-hero-image {
    transform: scale(1.055);
  }

  .pp-hero-shade {
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    width: 72%;
    pointer-events: none;
    transition: opacity .3s ease;
  }

  .pp-hero-shade.is-left {
    left: 0;
    background: linear-gradient(90deg, 
      var(--pp-overlay-color, #faf8f1) 0%, 
      var(--pp-overlay-color, #faf8f1) 40%, 
      color-mix(in srgb, var(--pp-overlay-color, #faf8f1) 65%, transparent) 70%, 
      transparent 100%
    );
  }

  .pp-hero-shade.is-right {
    right: 0;
    background: linear-gradient(270deg, 
      var(--pp-overlay-color, #faf8f1) 0%, 
      var(--pp-overlay-color, #faf8f1) 40%, 
      color-mix(in srgb, var(--pp-overlay-color, #faf8f1) 65%, transparent) 70%, 
      transparent 100%
    );
  }

  .pp-hero-shade.is-center {
    left: 0;
    width: 100%;
    background: radial-gradient(circle at center, 
      var(--pp-overlay-color, #faf8f1) 0%, 
      color-mix(in srgb, var(--pp-overlay-color, #faf8f1) 65%, transparent) 55%, 
      transparent 100%
    );
  }

  .pp-hero-content {
    width: min(1280px, 100%);
    margin: 0 auto;
    padding: 60px 6% 70px;
    position: relative;
    z-index: 5;
  }

  .pp-hero-content.position-left {
    text-align: left;
    margin-right: auto;
  }

  .pp-hero-content.position-center {
    text-align: center;
  }

  .pp-hero-content.position-center .pp-hero-copy {
    margin-left: auto;
    margin-right: auto;
  }

  .pp-hero-content.position-center .pp-hero-eyebrow,
  .pp-hero-content.position-center .pp-hero-features {
    justify-content: center;
  }

  .pp-hero-content.position-right {
    text-align: right;
  }

  .pp-hero-content.position-right .pp-hero-copy {
    margin-left: auto;
  }

  .pp-hero-content.position-right .pp-hero-eyebrow,
  .pp-hero-content.position-right .pp-hero-features {
    justify-content: flex-end;
  }

  .pp-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .15em;
    margin-bottom: 16px;
    text-transform: uppercase;
  }

  .pp-hero-eyebrow > span {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 4px rgba(32, 141, 90, .25);
  }

  .pp-hero-content h1,
  .pp-hero-content h2 {
    max-width: 650px;
    margin: 0;
    font-size: clamp(34px, 4.2vw, 56px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -.03em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .2);
  }

  .pp-hero-copy {
    max-width: 540px;
  }

  .pp-hero-content p {
    margin: 16px 0 24px;
    font-size: clamp(14px, 1.15vw, 16px);
    line-height: 1.75;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .15);
  }

  .pp-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 48px;
    padding: 0 26px;
    border-radius: 999px;
    background: var(--pp-green);
    color: #fff !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(32, 141, 90, .25);
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
  }

  .pp-hero-cta:hover {
    background: var(--pp-purple);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(114, 0, 154, .25);
  }

  .pp-hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 22px;
    margin-top: 28px;
    font-size: 12px;
    font-weight: 600;
  }

  .pp-hero-features span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .pp-hero-features i {
    color: var(--pp-green);
    font-size: 16px;
  }

  /* Navigation Arrows */
  .pp-hero-prev,
  .pp-hero-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: #173d29;
    box-shadow: 0 6px 20px rgba(25, 45, 31, .15);
    cursor: pointer;
    transition: all .25s ease;
  }

  .pp-hero-prev {
    left: 20px;
  }

  .pp-hero-next {
    right: 20px;
  }

  .pp-hero-prev:hover,
  .pp-hero-next:hover {
    background: var(--pp-green);
    color: #fff;
    transform: translateY(-50%) scale(1.08);
  }

  /* Pagination */
  .pp-hero-pagination {
    position: absolute;
    z-index: 6;
    bottom: 20px !important;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }

  .pp-hero-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 3px !important;
    background: rgba(255, 255, 255, .7);
    border: 1px solid rgba(0, 0, 0, .15);
    opacity: 0.85;
    transition: width .25s ease, background .25s ease;
  }

  .pp-hero-pagination .swiper-pagination-bullet-active {
    width: 24px;
    border-radius: 999px;
    background: var(--pp-green);
    border-color: var(--pp-green);
    opacity: 1;
  }

  /* Progress Bar */
  .pp-hero-progress {
    position: absolute;
    z-index: 6;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(32, 141, 90, .15);
  }

  .pp-hero-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--pp-green);
  }

  .pp-hero-progress span.is-running {
    animation: ppHeroProgress 5.5s linear forwards;
  }

  @keyframes ppHeroProgress {
    from {
      width: 0;
    }
    to {
      width: 100%;
    }
  }

  /* Slide Transitions */
  .pp-hero .swiper-slide .pp-hero-content > * {
    opacity: 0;
    transform: translateY(16px);
  }

  .pp-hero .swiper-slide-active .pp-hero-content > * {
    animation: ppHeroEnter .65s ease forwards;
  }

  .pp-hero .swiper-slide-active .pp-hero-content > *:nth-child(2) {
    animation-delay: .08s;
  }

  .pp-hero .swiper-slide-active .pp-hero-content > *:nth-child(3) {
    animation-delay: .16s;
  }

  .pp-hero .swiper-slide-active .pp-hero-content > *:nth-child(4) {
    animation-delay: .24s;
  }

  @keyframes ppHeroEnter {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* =========================================================
     TABLET RESPONSIVENESS (768px to 1023px)
  ========================================================= */
  @media (min-width: 768px) and (max-width: 1023px) {
    .pp-hero-swiper,
    .pp-hero-slide {
      min-height: 460px;
      height: clamp(450px, 58vh, 540px);
    }

    .pp-hero-content {
      padding: 45px 5% 55px;
    }

    .pp-hero-content h1,
    .pp-hero-content h2 {
      font-size: clamp(28px, 4vw, 42px);
      line-height: 1.18;
    }

    .pp-hero-content p {
      font-size: 14px;
      margin: 12px 0 20px;
      line-height: 1.65;
    }

    .pp-hero-prev {
      left: 12px;
    }

    .pp-hero-next {
      right: 12px;
    }
  }

  /* =========================================================
     MOBILE RESPONSIVENESS (<= 767px)
  ========================================================= */
  @media (max-width: 767px) {
    .pp-hero-swiper,
    .pp-hero-slide {
      min-height: 380px;
      height: clamp(380px, 60vh, 480px);
    }

    .pp-hero-image {
      z-index: 1 !important;
      background-image: var(--pp-mobile-image, var(--pp-desktop-image)) !important;
      background-position: center center !important;
      background-size: cover !important;
      background-repeat: no-repeat !important;
    }

    /* On mobile, full overlay with contrast gradient guarantees 100% text readability */
    .pp-hero-shade {
      z-index: 2 !important;
      width: 100% !important;
      left: 0 !important;
      right: 0 !important;
      top: 0 !important;
      bottom: 0 !important;
      background: linear-gradient(180deg,
        rgba(15, 23, 42, 0.25) 0%,
        color-mix(in srgb, var(--pp-overlay-color, #064E3B) 50%, rgba(0,0,0,0.30)) 45%,
        color-mix(in srgb, var(--pp-overlay-color, #064E3B) 80%, rgba(0,0,0,0.60)) 100%
      ) !important;
    }

    .pp-hero-content {
      position: relative !important;
      z-index: 5 !important;
      padding: 26px 20px 42px;
      align-self: center;
      width: 100%;
    }

    .pp-hero-copy {
      max-width: 100%;
    }

    .pp-hero-eyebrow {
      font-size: 11px;
      letter-spacing: .10em;
      margin-bottom: 8px;
    }

    .pp-hero-content h1,
    .pp-hero-content h2 {
      font-size: clamp(22px, 6.2vw, 32px);
      line-height: 1.22;
      letter-spacing: -.02em;
      text-shadow: 0 1px 4px rgba(0, 0, 0, .4);
    }

    .pp-hero-content p {
      margin: 10px 0 16px;
      font-size: 13px;
      line-height: 1.55;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
      text-shadow: 0 1px 3px rgba(0, 0, 0, .35);
    }

    .pp-hero-cta {
      min-height: 40px;
      padding: 0 20px;
      font-size: 13px;
      gap: 8px;
      box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
    }

    .pp-hero-features {
      gap: 8px 12px;
      margin-top: 16px;
      font-size: 10px;
    }

    /* Hide arrow buttons on mobile touch screens for cleaner UI */
    .pp-hero-prev,
    .pp-hero-next {
      display: none !important;
    }

    .pp-hero-pagination {
      bottom: 12px !important;
    }

    .pp-hero-pagination .swiper-pagination-bullet {
      width: 6px;
      height: 6px;
    }

    .pp-hero-pagination .swiper-pagination-bullet-active {
      width: 18px;
    }
  }

  /* Extra Small Mobile (<= 420px) */
  @media (max-width: 420px) {
    .pp-hero-swiper,
    .pp-hero-slide {
      min-height: 350px;
      height: clamp(340px, 56vh, 420px);
    }

    .pp-hero-content {
      padding: 22px 16px 38px;
    }

    .pp-hero-content h1,
    .pp-hero-content h2 {
      font-size: clamp(20px, 5.8vw, 26px);
      line-height: 1.25;
    }

    .pp-hero-cta {
      min-height: 38px;
      padding: 0 18px;
      font-size: 12px;
    }
  }

  @media(prefers-reduced-motion:reduce) {
    .pp-hero-image,
    .pp-hero-cta,
    .pp-hero-prev,
    .pp-hero-next {
      transition: none !important;
    }

    .pp-hero .swiper-slide-active .pp-hero-content > * {
      animation: none !important;
      opacity: 1;
      transform: none;
    }

    .pp-hero-progress span.is-running {
      animation: none;
      width: 100%;
    }
  }
