/* =========================================
   More Power Houston — Tune Estimator Minimal CSS
   Only styles for inputs, buttons, cards, and summary
   ========================================= */

/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Audiowide&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700&display=swap');

/* ROOT COLORS */
:root {
  --accent: #00eaff;
  --accent-2: #ff00ff;
  --card-bg: rgba(0,0,0,0.55);
  --muted: #bfc8d1;
}

/* GENERAL BODY */
body {
  font-family: 'Audiowide', sans-serif;
  color: #fff;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

/* CONTAINER */
.container {
  max-width: 1100px;
  margin: 40px auto;
  padding: 20px;
}

/* HEADER */
h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent);
}

/* GRID */
.est-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 20px;
}

@media (max-width: 980px) {
  .est-grid { grid-template-columns: 1fr; }
}

/* CARD */
.card {
  background: var(--card-bg);
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 6px 30px rgba(0,0,0,0.6);
  border-left: 3px solid var(--accent);
}

/* LABELS & INPUTS */
label {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  margin: 12px 0 6px;
}

input[type="number"],
input[type="text"],
select {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.06);
  background-color: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 1rem;
  box-sizing: border-box;
}

/* ROW & COLUMNS */
.row { display: flex; gap: 12px; }
.row .col { flex: 1; }

/* SMALL TEXT */
.small { font-size: 0.9rem; color: var(--muted); margin-top: 6px; }

/* ADDONS */
.addons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.addon { display: flex; gap: 8px; align-items: center; }

/* BUTTONS */
.cta-button {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 8px;
  border: 2px solid var(--accent);
  color: var(--accent);
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
}

.cta-button:hover {
  background: var(--accent);
  color: #000;
}

.copy-btn {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.08);
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--muted);
  cursor: pointer;
}

/* SUMMARY PANEL */
.summary .total { font-size: 1.6rem; color: var(--accent); font-weight: 800; margin-top: 6px; }
.breakdown { margin-top: 12px; background: rgba(255,255,255,0.03); padding: 12px; border-radius: 8px; color: var(--muted); }
.line { display: flex; justify-content: space-between; margin: 8px 0; font-size: 0.95rem; }
.muted { color: var(--muted); font-size: 0.9rem; }
.platform-tag { display: inline-block; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,0.03); color: var(--accent); font-weight: 700; margin-top: 8px; }

/* HELPERS */
.hint { font-size: 0.85rem; color: var(--muted); margin-top: 6px; }
.actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }

/* RESPONSIVE */
@media (max-width: 600px) {
  .row { flex-direction: column; }
  .row .col { width: 100%; }
}
/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Audiowide&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700&display=swap');



/* PAGE RESET */
body {
  margin: 0;
  background: #000;
  overflow-x: hidden;
  font-family: 'Audiowide', sans-serif;
}

/* PARTICLES FULL PAGE */
#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  filter: blur(1.5px); /* <-- ADDED */
}

/* CONTENT WRAPPER */
.mph-overlay {
  position: relative;
  z-index: 20;
  text-align: center;
  color: #fff;
}

/* HERO */
.hero {
  padding: 18vh 2rem;
  text-shadow: 0 0 20px #00eaff;
}

.hero h1 {
  font-size: 4.5rem;
  letter-spacing: 4px;
  font-family: 'Orbitron', sans-serif;
}

.hero p {
  font-size: 1.3rem;
  opacity: 0.9;
}

/* BUTTONS */
.cta-button {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 32px;
  border: 2px solid #00eaff;
  color: #00eaff;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  border-radius: 8px;
  transition: 0.3s ease;
}

.cta-button:hover {
  background: #00eaff;
  color: #000;
  box-shadow: 0 0 20px #00eaff;
}

.cta-button.alt {
  border-color: #ff00ff;
  color: #ff00ff;
}

.cta-button.alt:hover {
  background: #ff00ff;
  color: #000;
}

/* SECTION TEMPLATE */
section {
  padding: 6rem 1rem;
}

/* HEADERS */
section h2 {
  font-size: 2.4rem;
  text-shadow: 0 0 12px #00eaff;
}

/* GRIDS */
.service-grid,
.review-grid,
.video-grid,
.dyno-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

/* CARDS */
.service-card,
.review-card,
.video-card,
.dyno-card {
  background: rgba(0, 0, 0, 0.55);
  border-left: 3px solid #00eaff;
  padding: 2rem;
  border-radius: 10px;
  backdrop-filter: blur(2px);
  transition: 0.3s ease;
}

.service-card:hover,
.review-card:hover,
.video-card:hover,
.dyno-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 20px #00eaff55;
}

/* SERVICE BUTTONS IN CARDS */
.service-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  border: 2px solid #00eaff;
  border-radius: 6px;
  color: #00eaff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: 0.3s ease;
}

.service-btn:hover {
  background: #00eaff;
  color: #000;
  box-shadow: 0 0 15px #00eaff;
}


/* DYNO TEXT */
.dyno-card p {
  font-size: 1.7rem;
  color: #00eaff;
}

/* VIDEO */
.video-card iframe {
  width: 100%;
  height: 200px;
  border-radius: 10px;
}

/* FAQ */
.faq-item {
  background: rgba(0,0,0,0.45);
  padding: 1.5rem;
  margin: 1rem auto;
  max-width: 800px;
  border-left: 3px solid #ff00ff;
  border-radius: 10px;
}

.faq-item h3 {
  margin: 0 0 10px;
  color: #ff00ff;
}

/* FOOTER */
.footer {
  padding: 3rem;
  background: rgba(0,0,0,0.4);
  font-size: 1rem;
}

/* SIDEBAR */
.sidebar {
  position: fixed;
  top: 0;
  left: -110%;
  width: 260px;
  height: 120vh;
  background: rgba(0, 0, 0, 0.85);
  border-right: 3px solid #00eaff;
  padding: 2rem 1rem;
  z-index: 5000;
  backdrop-filter: blur(10px);
  transition: 0.35s ease;
}

.sidebar.open {
  left: 0;
}

.sidebar h2 {
  font-family: 'Orbitron', sans-serif;
  color: #00eaff;
  text-align: center;
  margin-bottom: 2rem;
  text-shadow: 0 0 10px #00eaff;
}

.sidebar a {
  display: block;
  padding: 12px;
  color: #fff;
  margin-bottom: 10px;
  border-left: 2px solid #00eaff;
  transition: 0.25s ease;
  text-decoration: none;
  font-size: 0.9rem;
}

.sidebar a:hover {
  background: #00eaff;
  color: #000;
  box-shadow: 0 0 20px #00eaff;
}

/* CLOSE BUTTON */
.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  color: #00eaff;
  font-size: 1.7rem;
  cursor: pointer;
}

/* TOP NAV BAR */
.topnav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  z-index: 4000;
  display: flex;
  justify-content: flex-start;
}

.menu-btn {
  padding: 8px 16px;
  border: 2px solid #00eaff;
  background: rgba(0,0,0,0.5);
  border-radius: 6px;
  color: #00eaff;
  font-size: 0.8rem;
  cursor: pointer;
  transition: 0.25s ease;
}

.menu-btn:hover {
  background: #00eaff;
  color: #000;
  box-shadow: 0 0 20px #00eaff;
}


/* Tablet / small screens */
@media (max-width: 900px) {
  .menu-btn {
    padding: 10px 20px;  /* smaller than before */
    font-size: 0.8rem;
    border-width: 2px;
  }
}

/* Small phones (iPhone SE / older Android) */
@media (max-width: 600px) {
  .menu-btn {
    padding: 8px 16px;   /* shrink even more */
    font-size: 0.75rem;  /* text smaller */
    border-width: 2px;
  }
}

/* =========================================
   MOBILE RESPONSIVE FIXES
   ========================================= */
@media (max-width: 900px) {

  /* HERO FIXES */
  .hero {
    padding: 12vh 1rem;
  }

  .hero h1 {
    font-size: 3rem;
    letter-spacing: 2px;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .cta-button {
    padding: 12px 26px;
    font-size: 0.9rem;
  }

  /* GRID FIXES */
  .service-grid,
  .review-grid,
  .video-grid,
  .dyno-grid {
    grid-template-columns: 1fr;  /* STACK ITEMS */
    padding: 1rem;
  }

  /* CARD FIXES */
  .service-card,
  .review-card,
  .video-card,
  .dyno-card {
    padding: 1.5rem;
    margin: 0 auto;
    width: 90%;
  }

  /* VIDEO */
  .video-card iframe {
    height: 220px;
  }

  /* SECTION HEADER */
  section h2 {
    font-size: 1.9rem;
  }

  section {
    padding: 4rem 1rem;
  }

  /* FAQ */
  .faq-item {
    width: 90%;
    padding: 1.2rem;
  }

  /* CONTACT */
  .email-link {
    font-size: 1rem;
  }
}

/* =========================================
   SMALL PHONES (iPhone SE / older Android)
   ========================================= */
@media (max-width: 600px) {

  .hero {
    padding: 10vh 1rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .cta-button {
    padding: 10px 22px;
    font-size: 0.8rem;
  }

  section h2 {
    font-size: 1.7rem;
  }

  .video-card iframe {
    height: 180px;
  }

  footer {
    font-size: 0.8rem;
  }
}

/* =========================================
   FIX BODY TEXT FOR MOBILE
   ========================================= */
body {
  font-size: 16px;
  line-height: 1.4;
}

/* =========================================
   MOBILE SIDEBAR IMPROVEMENTS
   ========================================= */
@media (max-width: 900px) {

  /* Make sidebar wider and more usable */
  .sidebar {
    width: 80vw;          /* was 260px */
    padding: 2.5rem 1.5rem;
  }

  .sidebar h2 {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
  }

  .sidebar a {
    font-size: 0.8rem;    /* bigger touch target */
    padding: 12px;
    margin-bottom: 14px;
    border-left-width: 3px;
  }

  .close-btn {
    font-size: 2.2rem;
    top: 15px;
    right: 15px;
  }


  /* Let the top bar breathe */
  .topnav {
    padding: 1.3rem;
  }
}

/* =========================================
   SMALL PHONES (iPhone SE / older Android)
   ========================================= */
@media (max-width: 600px) {

  .sidebar {
    width: 90vw;          /* nearly fullscreen */
    padding: 3rem 1.5rem;
  }

  .sidebar a {
    font-size: 1.4rem;
    padding: 12px;
  }

  .sidebar h2 {
    font-size: 2rem;
  }


  .close-btn {
    font-size: 2.5rem;
  }
}

/* ================================
   PRELOADER
================================ */
#mph-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  align-items: center;
  overflow: hidden; /* prevent scrolling from showing background */
  z-index: 99999;
  transition: opacity 0.8s ease;
}

#mph-preloader-wrap {
  transform: translateY(-25vh); /* Moves text up to match hero title position */
}

#mph-loader-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 4.5rem;
  text-align: center;
  letter-spacing: 4px;
  color: #00eaff;
  text-shadow: 0 0 18px #00eaff;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#mph-enter-btn {
  margin-top: 40px;
  padding: 14px 36px;
  font-size: 2.5rem;
  border: 2px solid #00eaff;
  background: transparent;
  color: #00eaff;
  border-radius: 10px;
  cursor: pointer;
  opacity: 0;
  transition: 0.4s ease;
}

#mph-enter-btn:hover {
  background: #00eaff;
  color: #000;
  box-shadow: 0 0 25px #00eaff;
}

/* Fade-out animation */
.mph-preloader-hide {
  opacity: 0 !important;
  pointer-events: none;
}

/* =========================================
   FIX PRELOADER FOR MOBILE
   ========================================= */
@media (max-width: 900px) {
  #mph-preloader-wrap {
    transform: translateY(0); /* center it */
  }

  #mph-loader-text {
    font-size: 4rem; /* smaller */
    letter-spacing: 2px;
  }

  #mph-enter-btn {
    font-size: 5.1rem;
    padding: 12px 28px;
  }
}

@media (max-width: 600px) {
  #mph-preloader-wrap {
    transform: translateY(0); /* fully centered */
  }

  #mph-loader-text {
    font-size: 2.2rem; /* perfect for small phones */
    letter-spacing: 1px;
  }

  #mph-enter-btn {
    font-size: 2.5rem;
    padding: 10px 22px;
  }
}

#mph-smoke-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* behind the text */
  pointer-events: none; /* let clicks go through */
}
#mph-preloader-wrap,
#mph-enter-btn {
  position: relative;
  z-index: 2; /* above the smoke */
}


.cube-wrapper {
  width: 480px;       /* small icon size for desktop */
  margin: 0 auto;
}

.cube-wrapper svg {
  width: 100%;
  height: auto;
}

/* Keep it full-width on mobile */
@media screen and (max-width: 768px) {
  .cube-wrapper {
    width: 100%;     /* full width on mobile */
    max-width: none; /* override any previous max-width */
  }
}

/* LOADING BAR */
.loader-bar {
  margin: 20px auto 0 auto;
  height: 10px;
  width: 250px;
  display: flex;
  justify-content: space-between;
  padding: 0;
  list-style: none;
}

.loader-bar li {
  flex: 1;
  height: 10px;
  margin: 0 4px;
  background: rgba(255,255,255,0.2);
  box-shadow: inset 0 0 6px 1px rgba(0,238,255,0.3),
              0 0 12px rgba(0,238,255,0.2);
  animation: lightUp 1s forwards;
}

/* Sequential delays for each bar */
.loader-bar li:nth-child(1) { animation-delay: 0.0s; }
.loader-bar li:nth-child(2) { animation-delay: 0.5s; }
.loader-bar li:nth-child(3) { animation-delay: 1.5s; }
.loader-bar li:nth-child(4) { animation-delay: 2.5s; }
.loader-bar li:nth-child(5) { animation-delay: 3.5s; }

/* Animation that lights up each bar */
@keyframes lightUp {
  0% {
    background: rgba(255,255,255,0.2);
    box-shadow: inset 0 0 6px 1px rgba(0,238,255,0.3),
                0 0 12px rgba(0,238,255,0.2);
  }
  100% {
    background: rgba(255,255,255,0.9);
    box-shadow: inset 0 0 10px 2px rgba(0,238,255,0.5),
                0 0 20px rgba(0,238,255,0.5);
  }
}

/* DESKTOP SCALE-UP (2.5x size) */
@media (min-width: 768px) {
  .loader-bar {
    transform: scale(2.5);
    transform-origin: center;
  }
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);  /* ALWAYS 3 cards on desktop */
  gap: 20px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* RESPONSIVE: stack on mobile */
@media (max-width: 768px) {
  .service-grid {
    grid-template-columns: 1fr;  /* vertical stack */
  }
}

/* CLEAN CONTENT BOXES */
.content-section {
  max-width: 900px;        /* Smaller width */
  margin: 60px auto;       /* Center on page */
  background: rgba(0,0,0,0.45); /* Clean dark transparent box */
  padding: 35px;
  border-radius: 18px;

  border: 1px solid rgba(255,255,255,0.12); /* Subtle border */
  backdrop-filter: blur(8px);               /* Clean glass effect */
}

/* Headings inside sections */
.content-section h2 {
  text-align: center;
  margin-bottom: 25px;
}

/* Large text formatting */
.content-section .large-text {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* UL bullet list style */
.feature-list {
  margin-top: 20px;
  padding-left: 20px;
  list-style: none;
}

.feature-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.feature-list li::before {
  content: "✔";
  color: #00f0ff;
  position: absolute;
  left: 0;
  top: 0;
}

.content-section {
  box-shadow: 0 0 20px rgba(0,255,255,0.12);
}

/* =========================================
   More Power Houston — Tune Estimator Minimal CSS
   Only styles for inputs, buttons, cards, and summary
   ========================================= */

/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Audiowide&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700&display=swap');

/* ROOT COLORS */
:root {
  --accent: #00eaff;
  --accent-2: #ff00ff;
  --card-bg: rgba(0,0,0,0.55);
  --muted: #bfc8d1;
}

/* GENERAL BODY */
body {
  font-family: 'Audiowide', sans-serif;
  color: #fff;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

/* CONTAINER */
.container {
  max-width: 1100px;
  margin: 40px auto;
  padding: 20px;
}

/* HEADER */
h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent);
}

/* GRID */
.est-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 20px;
}

@media (max-width: 980px) {
  .est-grid { grid-template-columns: 1fr; }
}

/* CARD */
.card {
  background: var(--card-bg);
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 6px 30px rgba(0,0,0,0.6);
  border-left: 3px solid var(--accent);
}

/* LABELS & INPUTS */
label {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  margin: 12px 0 6px;
}

input[type="number"],
input[type="text"],
select {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.06);
  background-color: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 1rem;
  box-sizing: border-box;
}

/* ROW & COLUMNS */
.row { display: flex; gap: 12px; }
.row .col { flex: 1; }

/* SMALL TEXT */
.small { font-size: 0.9rem; color: var(--muted); margin-top: 6px; }

/* ADDONS */
.addons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.addon { display: flex; gap: 8px; align-items: center; }

/* BUTTONS */
.cta-button {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 8px;
  border: 2px solid var(--accent);
  color: var(--accent);
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
}

.cta-button:hover {
  background: var(--accent);
  color: #000;
}

.copy-btn {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.08);
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--muted);
  cursor: pointer;
}

/* SUMMARY PANEL */
.summary .total { font-size: 1.6rem; color: var(--accent); font-weight: 800; margin-top: 6px; }
.breakdown { margin-top: 12px; background: rgba(255,255,255,0.03); padding: 12px; border-radius: 8px; color: var(--muted); }
.line { display: flex; justify-content: space-between; margin: 8px 0; font-size: 0.95rem; }
.muted { color: var(--muted); font-size: 0.9rem; }
.platform-tag { display: inline-block; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,0.03); color: var(--accent); font-weight: 700; margin-top: 8px; }

/* HELPERS */
.hint { font-size: 0.85rem; color: var(--muted); margin-top: 6px; }
.actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }

/* RESPONSIVE */
@media (max-width: 600px) {
  .row { flex-direction: column; }
  .row .col { width: 100%; }
}


.styled-input {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.06);
  background-color: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 1rem;
  box-sizing: border-box;
}

/* Aggressiveness Slider */
#aggressiveness {
  -webkit-appearance: none;
  width: 100%;
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, #8a2be2 0%, #00f0ff 100%); /* purple → cyan */
  outline: none;
  margin: 8px 0;
  transition: background 0.3s;
  cursor: pointer;
}

/* Thumb */
#aggressiveness::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ff0080; /* hot pink for neon contrast */
  border: 2px solid #fff;
  box-shadow: 0 0 8px #ff0080, 0 0 12px #00f0ff; /* glow effect */
  transition: all 0.3s;
}

#aggressiveness::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ff0080;
  border: 2px solid #fff;
  box-shadow: 0 0 8px #ff0080, 0 0 12px #00f0ff;
  cursor: pointer;
}

/* Hover effect */
#aggressiveness:hover::-webkit-slider-thumb {
  transform: scale(1.2);
  box-shadow: 0 0 12px #ff0080, 0 0 16px #00f0ff;
}

#aggressiveness:hover::-moz-range-thumb {
  transform: scale(1.2);
  box-shadow: 0 0 12px #ff0080, 0 0 16px #00f0ff;
}

/* Track highlight for Firefox */
#aggressiveness::-moz-range-track {
  background: linear-gradient(90deg, #8a2be2 0%, #00f0ff 100%);
  height: 12px;
  border-radius: 6px;
}
