* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background: radial-gradient(circle at top left, #111a3a, #050816 60%);
  color: #ffffff;
  line-height: 1.7;
  overflow-x: hidden;
}

/* NAVBAR */
/* NAVBAR - BRIGHT GLASS BAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 40px;
  position: sticky;
  top: 0;
  z-index: 1000;

  /* Brighter glass effect */
  background: linear-gradient(
    90deg,
    rgba(255, 60, 172, 0.15),
    rgba(123, 47, 247, 0.18),
    rgba(0, 198, 255, 0.15)
  );

  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* Slight glow under navbar */
.navbar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    #ff3cac,
    #7b2ff7,
    #00c6ff
  );
  box-shadow: 0 0 20px rgba(123, 47, 247, 0.6);
}


.navbar img {
  height: 90px;
  filter: drop-shadow(0 0 10px rgba(123,47,247,0.6));
}

.navbar nav a {
  color: white;
  margin-left: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s ease;
}

.navbar nav a:hover {
  color: #00c6ff;
}

/* HERO */
.hero {
  padding: 140px 20px;
  text-align: center;
  position: relative;
}

.hero h1 {
  font-size: 3rem;
  background: linear-gradient(90deg, #ff3cac, #7b2ff7, #00c6ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 25px;
}

.hero p {
  max-width: 750px;
  margin: auto;
  opacity: 0.85;
  font-size: 1.1rem;
}

/* BUTTONS */
.btn {
  display: inline-block;
  margin: 15px 10px;
  padding: 14px 28px;
  border-radius: 50px;
  background: linear-gradient(90deg, #ff3cac, #7b2ff7);
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
  box-shadow: 0 0 20px rgba(123,47,247,0.4);
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 40px rgba(123,47,247,0.8);
}

.btn-outline {
  border: 2px solid #00c6ff;
  padding: 12px 26px;
  border-radius: 50px;
  color: #00c6ff;
  text-decoration: none;
  transition: 0.3s ease;
}

.btn-outline:hover {
  background: #00c6ff;
  color: #050816;
}

/* HERO BUTTON GROUP */
.hero-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* Mobile fix */
@media (max-width: 768px) {

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn,
  .hero-buttons .btn-outline {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }

}

.hero-buttons .btn,
.hero-buttons .btn-outline {
  min-width: 220px;
  padding: 16px 32px;
  font-size: 1rem;
  text-align: center;
}
/* TRUST STRIP */
.trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  padding: 30px;
  background: rgba(255,255,255,0.03);
  font-weight: 500;
}

/* SECTIONS */
.section {
  padding: 100px 20px;
  text-align: center;
}

.section.dark {
  background: rgba(255,255,255,0.02);
}

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
  margin-top: 50px;
}

.card,
.template-card,
.portfolio-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 30px;
  transition: 0.4s ease;
  border: 1px solid rgba(255,255,255,0.08);
}

.card:hover,
.template-card:hover,
.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(123,47,247,0.4);
}

/* TEMPLATE IMAGES */
.template-card img,
.portfolio-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
}

/* FORM */
form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
}

form input,
form textarea {
  padding: 15px;
  margin-bottom: 18px;
  border-radius: 12px;
  border: none;
  background: rgba(255,255,255,0.05);
  color: white;
}

form input:focus,
form textarea:focus {
  outline: 1px solid #7b2ff7;
}

form button {
  padding: 15px;
  border-radius: 50px;
  border: none;
  background: linear-gradient(90deg, #ff3cac, #7b2ff7);
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

form button:hover {
  box-shadow: 0 0 30px rgba(255,60,172,0.6);
}

/* FOOTER */
footer {
  padding: 30px;
  text-align: center;
  background: #050816;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* MOBILE */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
}


.space-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #7b2ff7 0%, transparent 70%);
  top: -200px;
  right: -200px;
  filter: blur(150px);
  opacity: 0.4;
  z-index: -1;
}

/* PARTICLE CANVAS */
#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

/* Subtle animation overlay depth */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, transparent 40%, #050816 90%);
  z-index: -1;
}

.pricing-card ul {
  list-style: none;
  text-align: left;
  margin: 20px 0;
  padding-left: 0;
}

.package-desc {
  font-size: 0.95rem;
  opacity: 0.85;
  margin: 15px 0;
}

.price {
  font-size: 1.9rem;
  font-weight: 700;
  margin: 15px 0;
  background: linear-gradient(90deg, #ff3cac, #7b2ff7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.highlight {
  border: 1px solid rgba(255, 60, 172, 0.6);
  box-shadow: 0 0 40px rgba(123, 47, 247, 0.5);
  transform: scale(1.05);
}

.popular {
  position: relative;
  overflow: hidden;
}

.badge {
  position: absolute;
  top: 15px;
  right: -40px;
  background: linear-gradient(90deg, #ff3cac, #7b2ff7);
  padding: 6px 50px;
  font-size: 0.7rem;
  font-weight: 700;
  transform: rotate(45deg);
  animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
  0% { box-shadow: 0 0 10px rgba(255,60,172,0.6); }
  50% { box-shadow: 0 0 25px rgba(255,60,172,1); }
  100% { box-shadow: 0 0 10px rgba(255,60,172,0.6); }
}

.care-plan {
  margin-top: 80px;
  padding: 40px;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  max-width: 700px;
  margin: 80px auto 0 auto;
}

.hidden { display: none; }

.comparison table {
  width: 100%;
  margin-top: 50px;
  border-collapse: collapse;
   overflow-x: auto;
}

.comparison th,
.comparison td {
  padding: 15px;
  border: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}

.floating-cta {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: linear-gradient(90deg, #ff3cac, #7b2ff7);
  padding: 15px 25px;
  border-radius: 50px;
  color: white;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 0 25px rgba(123,47,247,0.6);
  z-index: 999;
  animation: floatPulse 2s infinite;
}

@keyframes floatPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* ========================= */
/* MOBILE NAVIGATION SYSTEM */
/* ========================= */

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: white;
}

/* Mobile Styles */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  .navbar nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(5, 8, 22, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  .navbar nav a {
    margin: 15px 0;
  }

  .navbar nav.active {
    max-height: 500px; /* expands menu */
    padding: 20px 0;
  }
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: white;
  margin: 6px 0;
  transition: 0.4s;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-6px, -6px);
}

@media (max-width: 768px) {
  .navbar {
    padding: 10px 20px;
  }
}

@media (max-width: 768px) {
  .navbar img {
    height: 60px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 90px 20px;
  }
}

@media (max-width: 768px) {
  .floating-cta {
    bottom: 15px;
    right: 15px;
    padding: 12px 18px;
    font-size: 0.85rem;
  }
}

/* ========================= */
/* Layout Card Button Style */
/* ========================= */

.template-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 18px;
}

.template-actions .btn,
.template-actions .btn-outline {
  padding: 10px 18px;
  font-size: 0.85rem;
  border-radius: 30px;
  min-width: auto;
  box-shadow: none;
  margin: 0;
}

/* ========================= */
/* Clean Card Buttons */
/* ========================= */

.template-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.card-btn {
  flex: 1;
  padding: 10px 14px;
  font-size: 0.85rem;
  border-radius: 8px;
  border: none;
  background: rgba(255,255,255,0.05);
  color: white;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: 0.2s ease;

}

.card-btn:hover {
  background: rgba(255,255,255,0.08);
}

.card-btn.primary {
  background: rgba(123,47,247,0.2);
  border: 1px solid rgba(123,47,247,0.4);
}

.card-btn.primary:hover {
  background: rgba(123,47,247,0.35);
}

/* WHITE Live Preview */
.preview-btn {
  background: white;
  color: #050816;
}

.preview-btn:hover {
  background: #f2f2f2;
}

/* Accent Select Button */
.select-btn {
  background: #7b2ff7;
  color: white;
}

.select-btn:hover {
  background: #6a24d8;
}

.meter-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 60px;
  align-items: start;
}

.meter-right {
  position: sticky;
  top: 120px;
}

.gauge-card {
  background: rgba(255,255,255,0.05);
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.1);
}

.gauge {
  width: 280px;
  height: 140px;
  margin: 0 auto 25px;
  border-top-left-radius: 280px;
  border-top-right-radius: 280px;
  background: linear-gradient(to right, #ff3cac, #ffae00, #00c6ff);
  position: relative;
}

.needle {
  width: 4px;
  height: 130px;
  background: white;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform-origin: bottom center;
  transform: rotate(-90deg);
  transition: 0.4s ease;
}

.meter-checklist {
  display: grid;
  gap: 15px;
  max-width: 600px;
}

.meter-checklist label {
  background: rgba(255,255,255,0.04);
  padding: 14px;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.3s ease;
}

.meter-checklist label:hover {
  background: rgba(123,47,247,0.2);
}



.meter-checklist strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
}

.meter-checklist small {
  display: block;
  opacity: 0.7;
  font-size: 0.85rem;
  margin-left: 24px;
}

/* ========================= */
/* METER EMOTIONAL TRIGGERS */
/* ========================= */

.impact-message {
  margin: 20px 0;
  padding: 15px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  transition: 0.3s ease;
}

.impact-icon {
  font-size: 1.2rem;
}

.comparison-message {
  margin-top: 10px;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Weak state */
.weak-state {
  background: rgba(255, 60, 172, 0.15);
  border: 1px solid rgba(255, 60, 172, 0.4);
  color: #ff3cac;
  animation: pulseWarning 1.5s infinite;
}

@keyframes pulseWarning {
  0% { box-shadow: 0 0 10px rgba(255,60,172,0.4); }
  50% { box-shadow: 0 0 25px rgba(255,60,172,0.8); }
  100% { box-shadow: 0 0 10px rgba(255,60,172,0.4); }
}

/* Average state */
.average-state {
  background: rgba(255, 174, 0, 0.15);
  border: 1px solid rgba(255, 174, 0, 0.4);
  color: #ffae00;
}

/* Strong state */
.strong-state {
  background: rgba(0, 198, 255, 0.15);
  border: 1px solid rgba(0, 198, 255, 0.4);
  color: #00c6ff;
}


/* ===== Weak Shake Animation ===== */

.shake-alert {
  animation: shakeButton 0.6s infinite;
}

@keyframes shakeButton {
  0% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-4px); }
  100% { transform: translateX(0); }
}

/* ===== Weak Gauge Glow ===== */

.gauge-weak-glow {
  box-shadow: 0 0 25px rgba(255, 60, 172, 0.7),
              0 0 60px rgba(255, 60, 172, 0.5);
  transition: 0.3s ease;
}

/* ===== Slow Pulsing Red Background ===== */

.weak-background {
  animation: weakPulse 2.5s infinite;
}

@keyframes weakPulse {
  0% {
    background: radial-gradient(circle at center,
      rgba(255, 60, 172, 0.08),
      transparent 70%);
  }
  50% {
    background: radial-gradient(circle at center,
      rgba(255, 60, 172, 0.18),
      transparent 70%);
  }
  100% {
    background: radial-gradient(circle at center,
      rgba(255, 60, 172, 0.08),
      transparent 70%);
  }
}

/* ===================================== */
/* METER MOBILE OPTIMIZATION UPGRADE */
/* ===================================== */

/* ===================================== */
/* TRUE MOBILE FIXED GAUGE SYSTEM */
/* ===================================== */

/* ===================================== */
/* CLEAN MOBILE STICKY GAUGE FIX */
/* ===================================== */

@media (max-width: 768px) {

  .meter-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .meter-right {
    position: sticky;
    top: 80px; /* below navbar */
    z-index: 5;
  }

  .gauge {
    width: 220px;
    height: 110px;
    border-top-left-radius: 220px;
    border-top-right-radius: 220px;
  }

  .needle {
    height: 100px;
  }

}