/* =========================================
   Universal Power House — style.css
   Single CSS file — Backend Ready
   ========================================= */

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

/* =========================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ========================================= */
:root {
  --background: hsl(0, 0%, 6%);
  --foreground: hsl(0, 0%, 95%);
  --card: hsl(0, 0%, 9%);
  --card-foreground: hsl(0, 0%, 95%);
  --primary: hsl(24, 100%, 50%);
  --primary-fg: hsl(0, 0%, 100%);
  --secondary: hsl(0, 0%, 12%);
  --secondary-fg: hsl(0, 0%, 95%);
  --muted: hsl(0, 0%, 15%);
  --muted-fg: hsl(0, 0%, 60%);
  --border: hsl(0, 0%, 18%);
  --radius: 0.75rem;
  --section-dark: hsl(0, 0%, 5%);
  --section-darker: hsl(0, 0%, 4%);
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* =========================================
   RESET & BASE
   ========================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul {
  list-style: none;
}

/* =========================================
   LAYOUT
   ========================================= */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* =========================================
   UTILITY CLASSES
   ========================================= */
/* Gradient text */
.gradient-text {
  background-image: linear-gradient(135deg, hsl(24, 100%, 50%), hsl(24, 100%, 65%));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Glass cards */
.glass-card {
  background-color: rgba(23, 23, 23, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(46, 46, 46, 0.5);
  border-radius: var(--radius);
  box-shadow: 0 0 20px hsl(24 100% 50% / 0.05);
}

.glass-card-glow {
  background-color: rgba(23, 23, 23, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 102, 0, 0.2);
  border-radius: var(--radius);
  box-shadow: 0 0 30px hsl(24 100% 50% / 0.1), inset 0 1px 0 hsl(0 0% 100% / 0.05);
}

/* Hover lift — applied to glass cards */
.hover-lift {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35),
    0 0 25px hsl(24 100% 50% / 0.18),
    inset 0 1px 0 hsl(0 0% 100% / 0.07);
  border-color: hsl(24 100% 50% / 0.35);
}

/* Section backgrounds */
.section-dark {
  background-color: var(--section-dark);
}

.section-darker {
  background-color: var(--section-darker);
}

/* =========================================
   ANIMATIONS
   ========================================= */
.animate-fade-up {
  animation: fadeUp 0.6s ease-out forwards;
  opacity: 0;
}

.animate-scale-in {
  animation: scaleIn 0.5s ease-out forwards;
  opacity: 0;
}

.pulse-glow {
  animation: pulseGlow 2s infinite;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulseGlow {

  0%,
  100% {
    box-shadow: 0 0 5px hsl(24 100% 50% / 0.4), 0 0 20px hsl(24 100% 50% / 0.2);
  }

  50% {
    box-shadow: 0 0 10px hsl(24 100% 50% / 0.6), 0 0 40px hsl(24 100% 50% / 0.3);
  }
}

/* Scroll reveal animation */
.scroll-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Slide reveal variants (apply by adding data-reveal attr) */
.scroll-reveal[data-reveal="left"] {
  transform: translateX(-30px);
}

.scroll-reveal[data-reveal="left"].visible {
  transform: translateX(0);
}

.scroll-reveal[data-reveal="right"] {
  transform: translateX(30px);
}

.scroll-reveal[data-reveal="right"].visible {
  transform: translateX(0);
}

.scroll-reveal[data-reveal="scale"] {
  transform: scale(0.93);
}

.scroll-reveal[data-reveal="scale"].visible {
  transform: scale(1);
}

/* =========================================
   HEADER
   ========================================= */
/* HEADER START */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: rgba(15, 15, 15, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(46, 46, 46, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

@media (min-width: 768px) {
  .header-inner {
    height: 80px;
  }
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.header-logo img {
  height: 40px;
  width: auto;
}

@media (min-width: 768px) {
  .header-logo img {
    height: 56px;
  }
}

.header-logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .header-logo-text {
    font-size: 1rem;
  }
}

@media (min-width: 1024px) {
  .header-logo-text {
    font-size: 1.125rem;
  }
}

.header-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .header-nav {
    display: flex;
  }
}

.header-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-fg);
  transition: color 0.2s;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--primary);
}

/* Mobile menu button */
.menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--foreground);
  padding: 0.5rem;
}

@media (min-width: 768px) {
  .menu-btn {
    display: none;
  }
}

.menu-btn svg {
  pointer-events: none;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  background-color: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(46, 46, 46, 0.5);
  padding-bottom: 1rem;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-fg);
  transition: color 0.2s;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--primary);
}

/* HEADER END */

/* =========================================
   FOOTER
   ========================================= */
/* FOOTER START */
.site-footer {
  background-color: var(--section-darker);
  border-top: 1px solid rgba(46, 46, 46, 0.3);
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-brand h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--muted-fg);
  line-height: 1.75;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  background-color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-fg);
  transition: color 0.2s, background-color 0.2s;
}

.footer-social a:hover {
  color: var(--primary);
  background-color: hsl(24 100% 50% / 0.1);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  font-size: 0.875rem;
  color: var(--muted-fg);
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--primary);
}

.footer-col .contact-item {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-fg);
}

.footer-col .contact-item svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-col .contact-item a {
  color: var(--muted-fg);
  transition: color 0.2s;
}

.footer-col .contact-item a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(46, 46, 46, 0.3);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted-fg);
}

/* FOOTER END */

/* =========================================
   HERO SECTION
   ========================================= */
.hero-section {
  position: relative;
  min-height: 90vh; /* space for desktop */
  padding-top: 4rem;
  padding-bottom: 4rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--background);
  perspective: 1000px;
}

.hero-bg-layer {
  position: absolute;
  inset: -20px; /* Slight overflow to hide clipping during rotation */
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  z-index: 0;
  background-image: url('../images/logo.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.1s ease-out;
  will-change: transform;
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 90vh; /* Ensure no stretch while filling screen */
    align-items: flex-end; /* Text below image main part */
    padding-bottom: 3rem;
  }
  .hero-bg-layer {
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: 100% auto;
    background-position: top center;
  }
}

/* Floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  bottom: -20px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: hsl(24, 100%, 55%);
  opacity: 0;
  animation: floatParticle 6s ease-in infinite;
  box-shadow: 0 0 6px hsl(24, 100%, 60%), 0 0 12px hsl(24, 100%, 50%);
}

.particle:nth-child(1) {
  left: 12%;
  width: 3px;
  height: 3px;
  animation-delay: 0s;
  animation-duration: 7s;
}

.particle:nth-child(2) {
  left: 28%;
  width: 5px;
  height: 5px;
  animation-delay: 1.2s;
  animation-duration: 5.5s;
}

.particle:nth-child(3) {
  left: 47%;
  width: 3px;
  height: 3px;
  animation-delay: 2.5s;
  animation-duration: 8s;
}

.particle:nth-child(4) {
  left: 63%;
  width: 4px;
  height: 4px;
  animation-delay: 0.7s;
  animation-duration: 6.5s;
}

.particle:nth-child(5) {
  left: 78%;
  width: 3px;
  height: 3px;
  animation-delay: 3s;
  animation-duration: 7.5s;
}

.particle:nth-child(6) {
  left: 90%;
  width: 5px;
  height: 5px;
  animation-delay: 1.8s;
  animation-duration: 5s;
}

@keyframes floatParticle {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0;
  }

  10% {
    opacity: 0.9;
  }

  80% {
    opacity: 0.5;
  }

  100% {
    transform: translateY(-110vh) scale(0.4);
    opacity: 0;
  }
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.scroll-dot {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, hsl(24, 100%, 55%), transparent);
  border-radius: 999px;
  animation: scrollPulse 1.8s ease-in-out infinite;
  transform-origin: top center;
}

@keyframes scrollPulse {

  0%,
  100% {
    transform: scaleY(1);
    opacity: 0.8;
  }

  50% {
    transform: scaleY(0.4);
    opacity: 0.3;
  }
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background-color: hsl(24 100% 50% / 0.1);
  border: 1px solid hsl(24 100% 50% / 0.3);
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  max-width: 42rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--muted-fg);
  max-width: 32rem;
  margin-bottom: 2rem;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn-primary {
  display: inline-block;
  padding: 0.875rem 2rem;
  background-color: var(--primary);
  color: var(--primary-fg);
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: filter 0.2s, box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 8px 25px hsl(24 100% 50% / 0.25);
  text-align: center;
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-block;
  padding: 0.875rem 2rem;
  border: 1px solid var(--border);
  color: var(--foreground);
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
  text-align: center;
}

.btn-outline:hover {
  border-color: hsl(24 100% 50% / 0.5);
  background-color: hsl(24 100% 50% / 0.05);
}

.btn-outline-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  border: 1px solid hsl(24 100% 50% / 0.5);
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-outline-primary:hover {
  background-color: hsl(24 100% 50% / 0.1);
}

/* =========================================
   STATS SECTION
   ========================================= */
.stats-section {
  padding: 4rem 0;
}

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

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  padding: 1.5rem;
  text-align: center;
}

.stat-card svg {
  color: var(--primary);
  margin: 0 auto 0.75rem;
  display: block;
}

.stat-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.875rem;
  color: var(--foreground);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--muted-fg);
  margin-top: 0.25rem;
}

.stats-grid>div:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px hsl(24 100% 50% / 0.1);
}

/* =========================================
   WHY US SECTION
   ========================================= */
.why-section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  color: var(--foreground);
}

.section-subtitle {
  color: var(--muted-fg);
  margin-top: 0.75rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.why-grid>div:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px hsl(24 100% 50% / 0.1);
}

@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.why-card {
  padding: 2rem;
}

.why-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.5rem;
  background-color: hsl(24 100% 50% / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--primary);
}

.why-card h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.why-card p {
  font-size: 0.875rem;
  color: var(--muted-fg);
  line-height: 1.75;
}

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials-section {
  padding: 5rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.testimonials-grid>div:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px hsl(24 100% 50% / 0.1);
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.testimonial-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.stars {
  display: flex;
  gap: 2px;
  margin-bottom: 0.75rem;
}

.stars svg {
  color: var(--primary);
  fill: var(--primary);
}

.stars svg.empty {
  color: rgba(153, 153, 153, 0.3);
  fill: rgba(153, 153, 153, 0.3);
}

.testimonial-text {
  font-size: 0.875rem;
  color: var(--muted-fg);
  line-height: 1.75;
  flex: 1;
}

.testimonial-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--foreground);
  margin-top: 1rem;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: hsl(24 100% 50% / 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* =========================================
   CTA SECTION
   ========================================= */
.cta-section {
  padding: 5rem 0;
}

.cta-card {
  padding: 2.5rem 4rem;
  text-align: center;
}

@media (max-width: 768px) {
  .cta-card {
    padding: 2.5rem 1.5rem;
  }
}

.cta-card h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  color: var(--foreground);
  margin-bottom: 1rem;
}

.cta-card p {
  color: var(--muted-fg);
  max-width: 28rem;
  margin: 0 auto 2rem;
}

/* =========================================
   PAGE HERO (inner pages)
   ========================================= */
.page-main {
  padding-top: 6rem;
  padding-bottom: 5rem;
}

.page-hero {
  text-align: center;
  margin-bottom: 3.5rem;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  color: var(--foreground);
}

.page-hero p {
  color: var(--muted-fg);
  margin-top: 0.75rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================
   SERVICES PAGE
   ========================================= */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img-wrap img {
  transform: scale(1.1);
}

.service-card-body {
  padding: 1.5rem;
}

/* FIX 4: support both h2 and h3 inside service-card-body */
.service-card-body h3,
.service-card-body h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.service-card-body p {
  font-size: 0.875rem;
  color: var(--muted-fg);
  line-height: 1.75;
}

/* =========================================
   PLANS PAGE
   ========================================= */
.plans-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .plans-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(46, 46, 46, 0.5);
  background-color: rgba(23, 23, 23, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-card.popular {
  border-color: hsl(24 100% 50% / 0.4);
  box-shadow: 0 0 30px hsl(24 100% 50% / 0.1), inset 0 1px 0 hsl(0 0% 100% / 0.05);
}

.plan-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px hsl(24 100% 50% / 0.1);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 1rem;
  background-color: var(--primary);
  color: var(--primary-fg);
  font-size: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  border-radius: 9999px;
  white-space: nowrap;
}

.plan-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--foreground);
}

.plan-price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.875rem;
  color: var(--foreground);
  margin: 0.5rem 0 1.5rem;
}

.plan-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-fg);
}

.plan-features li svg {
  color: var(--primary);
  flex-shrink: 0;
}

.plan-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.plan-btn.primary {
  background-color: var(--primary);
  color: var(--primary-fg);
  box-shadow: 0 8px 25px hsl(24 100% 50% / 0.25);
}

.plan-btn.primary:hover {
  filter: brightness(1.1);
}

.plan-btn.secondary {
  background-color: var(--secondary);
  color: var(--foreground);
}

.plan-btn.secondary:hover {
  background-color: var(--primary);
  color: var(--primary-fg);
}

/* =========================================
   TRAINERS PAGE
   ========================================= */
.trainers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .trainers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .trainers-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trainer-card {
  overflow: hidden;
}

.trainer-img-wrap {
  aspect-ratio: 1;
  overflow: hidden;
}

.trainer-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.trainer-card:hover .trainer-img-wrap img {
  transform: scale(1.1);
}

.trainer-info {
  padding: 1.25rem;
  text-align: center;
}

/* FIX 4: support both h2 and h3 inside trainer-info */
.trainer-info h3,
.trainer-info h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--foreground);
}

.trainer-spec {
  font-size: 0.875rem;
  color: var(--primary);
  margin-top: 0.25rem;
}

.trainer-exp {
  font-size: 0.75rem;
  color: var(--muted-fg);
  margin-top: 0.25rem;
}

/* =========================================
   GALLERY PAGE
   ========================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* =========================================
   TRANSFORMATIONS PAGE
   ========================================= */
.transform-hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.transform-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.transform-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15, 15, 15, 0.8), rgba(15, 15, 15, 0.6), var(--background));
}

.transform-hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1rem;
  max-width: 56rem;
  margin: 0 auto;
}

.transform-hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.transform-hero-content p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--muted-fg);
  max-width: 40rem;
  margin: 0 auto 2rem;
}

.hero-cta-btns {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .hero-cta-btns {
    flex-direction: row;
  }
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  background-color: var(--primary);
  color: var(--primary-fg);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  transition: box-shadow 0.3s, transform 0.3s;
}

.btn-cta-primary:hover {
  box-shadow: 0 0 30px hsl(24 100% 50% / 0.4);
  transform: scale(1.05);
}

.transform-before-after {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .transform-before-after {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ba-card {
  padding: 1.25rem;
}

.ba-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.ba-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
}

.ba-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.ba-label {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 10;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
}

.ba-label.before {
  background-color: rgba(15, 15, 15, 0.8);
  color: var(--foreground);
}

.ba-label.after {
  background-color: hsl(24 100% 50% / 0.9);
  color: var(--primary-fg);
}

.ba-image-wrap img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  border-radius: 0.5rem;
  transition: transform 0.5s ease;
}

.ba-card:hover .ba-image-wrap img {
  transform: scale(1.05);
}

.ba-card h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--foreground);
  font-size: 1.125rem;
}

.ba-card .ba-caption {
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 500;
  margin-top: 0.25rem;
}

.ba-card .ba-duration {
  font-size: 0.75rem;
  color: var(--muted-fg);
  margin-top: 0.25rem;
}

/* =========================================
   CONTACT PAGE
   ========================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-form-card {
  padding: 2rem;
}

.contact-form-card h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  color: var(--foreground);
  font-size: 0.875rem;
  font-family: var(--font-body);
  transition: border-color 0.2s;
  outline: none;
}

.form-input::placeholder {
  color: var(--muted-fg);
}

.form-input:focus {
  border-color: var(--primary);
}

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

.contact-info-card {
  padding: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.contact-info-item svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--foreground);
}

.contact-info-value {
  font-size: 0.875rem;
  color: var(--muted-fg);
  margin-top: 0.25rem;
}

.contact-info-value a {
  color: var(--muted-fg);
  transition: color 0.2s;
}

.contact-info-value a:hover {
  color: var(--primary);
}

.directions-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 500;
  transition: filter 0.2s;
  margin-top: 0.5rem;
}

.directions-link:hover {
  filter: brightness(1.2);
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(46, 46, 46, 0.5);
  aspect-ratio: 16/9;
  margin-top: 1.5rem;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* =========================================
   LEAD POPUP
   ========================================= */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(15, 15, 15, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-card {
  position: relative;
  padding: 2rem;
  max-width: 28rem;
  width: 100%;
  animation: scaleIn 0.5s ease-out forwards;
}

.popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted-fg);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}

.popup-close:hover {
  color: var(--foreground);
}

.popup-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.popup-emoji {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}

.popup-header h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--foreground);
}

.popup-header p {
  font-size: 0.875rem;
  color: var(--muted-fg);
  margin-top: 0.25rem;
}

/* =========================================
   WHATSAPP BUTTON
   ========================================= */
.whatsapp-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s;
  animation: pulseGlow 2s infinite;
  text-decoration: none;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
}

/* =========================================
   SECURITY COMMENTS INDICATOR
   ========================================= */
/* 
<!-- Use prepared statements to prevent SQL Injection -->
<!-- Sanitize inputs to prevent XSS -->
<!-- Add CSRF token validation -->
*/

/* =========================================
   RESPONSIVE UTILITIES
   ========================================= */
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-row-gap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .flex-row-gap {
    flex-direction: row;
  }
}

.text-primary-color {
  color: var(--primary);
}

.text-muted {
  color: var(--muted-fg);
}

.text-fg {
  color: var(--foreground);
}

.font-heading {
  font-family: var(--font-heading);
}

/* =========================================
   NEON / GLOW EFFECTS
   ========================================= */
.neon-text {
  color: var(--primary);
  text-shadow: 0 0 20px hsl(24 100% 50% / 0.5);
}

.neon-border {
  border-color: hsl(24 100% 50% / 0.4);
  box-shadow: 0 0 15px hsl(24 100% 50% / 0.15), inset 0 0 15px hsl(24 100% 50% / 0.05);
}