/* ========================================================
   OPTIMAX PRO — ENHANCED STYLES & BLURRY SMOOTH MOTION
   ======================================================== */
:root {
  color-scheme: dark;
  --bg: #0b0b10;
  --surface: #12121a;
  --surface-2: #191923;
  --surface-3: #20202c;
  --text: #f7f7fb;
  --muted: #a5a5b7;
  --muted-2: #77778c;
  --line: rgba(255, 255, 255, 0.095);
  --line-light: rgba(255, 255, 255, 0.16);
  --red: #ff3150;
  --red-2: #ff1744;
  --red-soft: rgba(255, 49, 80, 0.13);
  --red-glow: rgba(255, 23, 68, 0.32);
  --green: #5ce0a0;
  --blue: #76a7ff;
  --purple: #c5a0ff;
  --radius: 20px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(ellipse at 75% -10%, rgba(255, 30, 68, 0.18), transparent 45%),
    radial-gradient(ellipse at 5% 45%, rgba(105, 55, 180, 0.08), transparent 38%),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  animation: smoothPageBlurIn 0.85s var(--ease) both;
}

body.modal-open {
  overflow: hidden;
}

button, a {
  font: inherit;
}

button {
  cursor: pointer;
}

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

button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 2px solid #ff8292;
  outline-offset: 4px;
}

::selection {
  background: rgba(255, 49, 80, 0.38);
  color: #fff;
}

img, svg {
  display: block;
  max-width: 100%;
}

button {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

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

.red {
  color: #ff657a;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 69, 95, 0.3);
  background: rgba(255, 49, 80, 0.08);
  color: #ff8291;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 14px var(--red);
}

/* =========================
   NAVIGATION (Blurry header)
   ========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 25;
  background: rgba(11, 11, 16, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header:hover {
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.25);
}

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 850;
  letter-spacing: -0.8px;
  white-space: nowrap;
}

.brand-icon {
  width: 37px;
  height: 37px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #ff7180, #f71743);
  box-shadow: 0 6px 24px rgba(255, 23, 68, 0.35);
  color: white;
}

.brand-name span {
  color: var(--red);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 27px;
  color: #c1c1cf;
  font-size: 13px;
}

.nav-links a {
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.nav-links a:hover {
  color: white;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  width: 39px;
  height: 39px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  display: grid;
  place-items: center;
  color: #c6c6d2;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 13px;
  padding: 13px 20px;
  font-size: 13px;
  font-weight: 750;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, filter 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.985);
}

.btn-primary {
  background: linear-gradient(115deg, #ff4b61, #ff1744);
  box-shadow: 0 8px 28px rgba(255, 23, 68, 0.26);
  color: white;
}

.btn-primary:hover {
  box-shadow: 0 14px 38px rgba(255, 23, 68, 0.42), 0 0 20px rgba(255, 49, 80, 0.25);
  filter: brightness(1.05);
}

.btn-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: #eeeef5;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}

.menu-toggle {
  display: none;
}

/* =========================
   HERO SECTION
   ========================= */
.hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 46px;
  align-items: center;
  padding: 82px 0 68px;
  min-height: 540px;
}

.hero-copy {
  animation: smoothHeroBlurIn 0.85s var(--ease) both;
}

.hero h1 {
  font-size: clamp(44px, 6.4vw, 75px);
  line-height: 0.99;
  letter-spacing: -0.065em;
  margin: 23px 0 20px;
  font-weight: 880;
}

.gradient-text {
  background: linear-gradient(100deg, #ff9aa5 0%, #ff3150 54%, #ff6c7d 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.hero-description {
  max-width: 510px;
  color: #b0b0c0;
  line-height: 1.8;
  font-size: 15px;
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 27px;
  color: #89899d;
  font-size: 11px;
}

.proof-icon {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(92, 224, 160, 0.09);
  color: var(--green);
  border: 1px solid rgba(92, 224, 160, 0.2);
}

.hero-visual {
  position: relative;
  min-height: 365px;
  display: grid;
  place-items: center;
  animation: smoothHeroBlurIn 0.95s 0.12s var(--ease) both;
}

.orb {
  position: absolute;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background: rgba(255, 23, 68, 0.15);
  filter: blur(65px);
  animation: orbPulse 6s ease-in-out infinite alternate;
}

.dashboard {
  position: relative;
  width: min(100%, 440px);
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(38, 38, 48, 0.92), rgba(18, 18, 25, 0.94));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow), 0 0 60px rgba(255, 23, 68, 0.08);
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.5s var(--ease), box-shadow 0.5s ease;
}

.dashboard:hover {
  transform: perspective(1000px) rotateY(0) rotateX(0) translateY(-3px);
  box-shadow: var(--shadow), 0 0 70px rgba(255, 23, 68, 0.18);
}

.dash-inner {
  padding: 20px;
  border-radius: 15px;
  background: linear-gradient(145deg, #191922, #111117);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.dash-label {
  font-size: 11px;
  color: #a5a5b8;
}

.dash-live {
  font-size: 10px;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 6px;
}

.dash-live:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 9px #5ce0a0;
}

.speed-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.speed-ring {
  width: 145px;
  height: 145px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--red) 0 82%, #33303c 82% 100%);
  position: relative;
  box-shadow: 0 0 35px rgba(255, 23, 68, 0.14);
}

.speed-ring:before {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: #171720;
}

.speed-number {
  position: relative;
  text-align: center;
}

.speed-number strong {
  display: block;
  font-size: 36px;
  letter-spacing: -2px;
}

.speed-number small {
  font-size: 10px;
  color: var(--muted);
}

.metric-list {
  flex: 1;
  display: grid;
  gap: 14px;
}

.metric-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 10px;
  color: #b9b9c8;
  margin-bottom: 7px;
}

.metric-head b {
  color: #f3f3f7;
  font-weight: 650;
}

.bar {
  height: 5px;
  background: #30303c;
  border-radius: 9px;
  overflow: hidden;
}

.bar span {
  display: block;
  height: 100%;
  border-radius: 9px;
  background: linear-gradient(90deg, #ff7180, #ff2448);
  transform-origin: left;
  animation: grow 1.2s 0.3s var(--ease) both;
}

.dash-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 20px;
}

.mini-stat {
  padding: 11px 9px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.mini-stat small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-bottom: 6px;
}

.mini-stat b {
  font-size: 12px;
}

.float-chip {
  position: absolute;
  right: -7px;
  bottom: 27px;
  padding: 12px 14px;
  border: 1px solid rgba(92, 224, 160, 0.2);
  border-radius: 13px;
  background: rgba(19, 29, 27, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 11px;
  color: #d6ffeb;
  animation: float 4.2s ease-in-out infinite;
}

.float-chip span {
  width: 25px;
  height: 25px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(92, 224, 160, 0.14);
  color: var(--green);
}

/* =========================
   FEATURES & CARDS
   ========================= */
.section {
  padding: 48px 0 62px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 25px;
}

.section-heading h2 {
  font-size: clamp(25px, 3.6vw, 34px);
  letter-spacing: -1.2px;
  margin: 11px 0 0;
}

.section-heading p {
  max-width: 360px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(23, 23, 32, 0.8), rgba(17, 17, 23, 0.8));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s, box-shadow 0.3s;
  animation: smoothCardBlurIn 0.75s var(--ease) both;
}

.feature-card:nth-child(2) { animation-delay: 0.05s; }
.feature-card:nth-child(3) { animation-delay: 0.10s; }
.feature-card:nth-child(4) { animation-delay: 0.15s; }
.feature-card:nth-child(5) { animation-delay: 0.20s; }
.feature-card:nth-child(6) { animation-delay: 0.25s; }

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 82, 105, 0.45);
  background: linear-gradient(145deg, rgba(29, 25, 33, 0.95), rgba(18, 18, 25, 0.95));
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.35), 0 0 25px rgba(255, 49, 80, 0.1);
}

.feature-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--red-soft);
  color: #ff7283;
  margin-bottom: 17px;
  transition: transform 0.3s var(--ease);
}

.feature-card:hover .feature-icon {
  transform: scale(1.08);
}

.feature-card:nth-child(2) .feature-icon { background: rgba(139, 92, 246, 0.12); color: var(--purple); }
.feature-card:nth-child(3) .feature-icon { background: rgba(59, 130, 246, 0.12); color: var(--blue); }
.feature-card:nth-child(4) .feature-icon { background: rgba(92, 224, 160, 0.12); color: var(--green); }
.feature-card:nth-child(5) .feature-icon { background: rgba(245, 158, 11, 0.12); color: #f8bd65; }
.feature-card:nth-child(6) .feature-icon { background: rgba(6, 182, 212, 0.12); color: #5ee7f5; }

.feature-card h3 {
  font-size: 14px;
  margin: 0 0 8px;
}

.feature-card p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.feature-card .card-link {
  display: inline-flex;
  gap: 7px;
  margin-top: 16px;
  font-size: 11px;
  color: #ff8190;
  font-weight: 700;
  transition: transform 0.2s ease, color 0.2s ease;
}

.feature-card .card-link:hover {
  transform: translateX(3px);
  color: #ffa1ad;
}

/* =========================
   PACKAGES
   ========================= */
.packages {
  padding: 35px 0 75px;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  align-items: stretch;
}

.package {
  position: relative;
  padding: 26px 23px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(155deg, rgba(24, 24, 32, 0.85), rgba(16, 16, 22, 0.85));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
  animation: smoothCardBlurIn 0.8s var(--ease) both;
}

.package:nth-child(2) { animation-delay: 0.08s; }
.package:nth-child(3) { animation-delay: 0.16s; }

.package:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.38);
}

.package.popular {
  border-color: rgba(255, 64, 91, 0.55);
  box-shadow: 0 0 0 1px rgba(255, 49, 80, 0.15), 0 22px 60px rgba(255, 23, 68, 0.12);
}

.package.popular:hover {
  border-color: rgba(255, 64, 91, 0.8);
  box-shadow: 0 0 0 1px rgba(255, 49, 80, 0.3), 0 26px 70px rgba(255, 23, 68, 0.22);
}

.popular-label {
  position: absolute;
  top: -11px;
  right: 18px;
  background: linear-gradient(100deg, #ff6476, #ff1744);
  color: white;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: 99px;
  box-shadow: 0 4px 14px rgba(255, 23, 68, 0.35);
}

.package-tier {
  font-size: 11px;
  color: #c4c4d2;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.package h3 {
  font-size: 21px;
  letter-spacing: -0.7px;
  margin: 10px 0 7px;
}

.package-desc {
  font-size: 11px;
  line-height: 1.65;
  color: var(--muted);
  min-height: 37px;
  margin: 0 0 18px;
}

.package-price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-bottom: 19px;
}

.package-price strong {
  font-size: 35px;
  letter-spacing: -1.8px;
}

.package-price span {
  font-size: 11px;
  color: var(--muted);
}

.package ul {
  list-style: none;
  padding: 17px 0 0;
  margin: 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  min-height: 145px;
}

.package li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 11px;
  color: #c6c6d3;
  line-height: 1.5;
}

.check {
  color: var(--green);
  font-weight: 900;
}

.package .btn {
  width: 100%;
  margin-top: 19px;
  padding: 12px 10px;
}

.disclaimer {
  color: var(--muted-2);
  font-size: 10px;
  line-height: 1.7;
  text-align: center;
  max-width: 700px;
  margin: 19px auto 0;
}

/* =========================
   CALLOUT & FOOTER
   ========================= */
.callout {
  padding: 0 0 55px;
}

.callout-inner {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255, 64, 91, 0.28);
  padding: 28px 32px;
  background:
    radial-gradient(ellipse at 90% 0%, rgba(255, 23, 68, 0.16), transparent 50%),
    linear-gradient(110deg, #17141d, #111117);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.callout-inner h2 {
  font-size: 20px;
  letter-spacing: -0.6px;
  margin: 0 0 7px;
}

.callout-inner p {
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
  max-width: 540px;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 23px 0 28px;
  color: #777789;
  font-size: 10px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer a:hover {
  color: #eee;
}

/* ========================================================
   MODALS: STANDARD / CLEANUP TOOL MODAL
   ======================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  padding: 18px;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(5, 5, 10, 0.72);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
}

.modal-backdrop.open {
  display: flex;
  animation: backdropBlurFadeIn 0.32s var(--ease) both;
}

.modal {
  position: relative;
  width: min(470px, 100%);
  padding: 28px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(145deg, rgba(29, 29, 40, 0.96), rgba(15, 15, 22, 0.96));
  box-shadow: 0 35px 110px rgba(0, 0, 0, 0.75), 0 0 45px rgba(255, 23, 68, 0.08);
  animation: windowBlurScaleIn 0.38s var(--ease) both;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 33px;
  height: 33px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: #aaaabb;
  font-size: 21px;
  display: grid;
  place-items: center;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  transform: scale(1.06);
}

.modal-symbol {
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(140deg, #ff6476, #ff1744);
  box-shadow: 0 8px 28px rgba(255, 23, 68, 0.35);
  font-size: 21px;
  margin-bottom: 17px;
}

.modal h2 {
  font-size: 22px;
  letter-spacing: -0.7px;
  margin: 0 0 8px;
}

.modal-desc {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 18px;
}

.command-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: #0b0b10;
}

.command-box code {
  min-width: 0;
  flex: 1;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  font: 12px/1.65 ui-monospace, SFMono-Regular, Consolas, monospace;
  color: #eeeef6;
}

.copy-btn {
  flex-shrink: 0;
  border: 0;
  border-radius: 9px;
  padding: 10px 14px;
  background: var(--red);
  color: white;
  font-size: 11px;
  font-weight: 800;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.copy-btn:hover {
  background: #ff1744;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 23, 68, 0.4);
}

.copy-status {
  font-size: 10px;
  color: var(--green);
  min-height: 19px;
  padding-top: 7px;
}

.modal-note {
  font-size: 10px;
  line-height: 1.7;
  color: #858599;
  margin: 7px 0 17px;
}

.modal .btn {
  width: 100%;
}

/* ========================================================
   FILE ROUTE: SMOOTH BLURRY WINDOW POPUPS (/file)
   ======================================================== */
.file-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 5, 11, 0.78);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.file-modal-backdrop.open {
  display: flex;
  opacity: 1;
  animation: backdropBlurFadeIn 0.36s var(--ease) both;
}

.file-modal-backdrop.closing {
  opacity: 0;
  animation: backdropBlurFadeOut 0.28s var(--ease-soft) forwards;
}

.file-modal-window {
  position: relative;
  border-radius: 24px;
  background: linear-gradient(148deg, rgba(26, 26, 38, 0.94), rgba(13, 13, 20, 0.96));
  border: 1px solid rgba(255, 49, 80, 0.24);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.8), 0 0 80px rgba(255, 23, 68, 0.12);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  animation: windowBlurScaleIn 0.42s var(--ease) both;
  overflow: hidden;
}

.file-modal-window.closing {
  animation: windowBlurScaleOut 0.28s var(--ease-soft) forwards;
}

.window-glow {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 23, 68, 0.16), transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}

/* ========================================================
   FILE ROUTE: STEP 1 - PASSWORD AUTHENTICATION WINDOW
   ======================================================== */
.auth-window {
  width: min(430px, 100%);
  padding: 34px 30px;
}

.auth-window h2 {
  font-size: 24px;
  letter-spacing: -0.8px;
  margin: 15px 0 8px;
  font-weight: 850;
}

.auth-form {
  margin-top: 18px;
}

.password-field-group {
  position: relative;
  display: flex;
  align-items: center;
}

.password-field-group input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 13px;
  background: #0b0b12;
  color: #f7f7fb;
  padding: 14px 44px 14px 16px;
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.password-field-group input:focus {
  border-color: #ff4b61;
  box-shadow: 0 0 0 4px rgba(255, 49, 80, 0.18), 0 0 20px rgba(255, 49, 80, 0.1);
}

.eye-toggle-btn {
  position: absolute;
  right: 10px;
  background: transparent;
  border: none;
  color: #9292a4;
  font-size: 15px;
  padding: 6px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  transition: color 0.2s, background 0.2s;
}

.eye-toggle-btn:hover {
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.btn-auth-submit {
  width: 100%;
  margin-top: 12px;
  padding: 14px;
  font-size: 14px;
}

.auth-footer-notes {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 11px;
}

.auth-hint {
  color: #89899c;
}

.auth-hint code {
  color: #ff9aa6;
  background: rgba(255, 49, 80, 0.12);
  padding: 2px 6px;
  border-radius: 6px;
}

.auth-cancel-btn {
  background: transparent;
  border: none;
  color: #a5a5b8;
  font-size: 11px;
  padding: 4px 6px;
  transition: color 0.2s;
}

.auth-cancel-btn:hover {
  color: #ff657a;
  text-decoration: underline;
}

.shake-animation {
  animation: shakeError 0.45s ease both;
}

/* ========================================================
   FILE ROUTE: STEP 2 - POWERSHELL TOOL WINDOW (SCREENSHOT UI)
   ======================================================== */
.tool-window {
  width: min(960px, 100%);
  padding: 34px 42px 42px;
}

.tool-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.tool-window-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.1em;
  color: var(--green);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px #5ce0a0;
  animation: dotPulse 2.5s infinite;
}

.tool-window-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.window-action-btn {
  padding: 6px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  font-size: 11px;
  font-weight: 650;
  color: #c4c4d4;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.window-action-btn:hover {
  background: rgba(255, 49, 80, 0.12);
  border-color: rgba(255, 49, 80, 0.35);
  color: #ff8291;
}

.file-modal-close {
  position: static;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #aaaabb;
  font-size: 18px;
  display: grid;
  place-items: center;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.file-modal-close:hover {
  background: rgba(255, 49, 80, 0.18);
  border-color: rgba(255, 49, 80, 0.4);
  color: white;
  transform: scale(1.06);
}

/* Header layout matching the screenshot */
.ps-header-block {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 28px;
}

.ps-header-left {
  flex: 1;
}

.ps-badge {
  display: inline-block;
  padding: 6px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 49, 80, 0.4);
  background: rgba(255, 49, 80, 0.08);
  color: #ff657c;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  box-shadow: 0 0 16px rgba(255, 49, 80, 0.12);
}

.ps-title {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 880;
  letter-spacing: -1.2px;
  color: #ffffff;
  margin: 0;
  line-height: 1.1;
}

.ps-header-right {
  max-width: 360px;
  padding-top: 40px;
}

.ps-subtitle {
  font-size: 13px;
  line-height: 1.65;
  color: #9d9db2;
  margin: 0;
}

/* Card matching the screenshot */
.ps-card {
  padding: 30px;
  border-radius: 22px;
  border: 1px solid rgba(255, 49, 80, 0.28);
  background: rgba(14, 14, 22, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 50px rgba(0, 0, 0, 0.4),
    0 0 45px rgba(255, 49, 80, 0.08);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.ps-card:hover {
  border-color: rgba(255, 49, 80, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 22px 60px rgba(0, 0, 0, 0.48),
    0 0 60px rgba(255, 49, 80, 0.14);
}

.ps-label {
  display: block;
  font-size: 12px;
  font-weight: 750;
  color: #efeff6;
  margin-bottom: 12px;
}

.ps-url-row {
  display: flex;
  gap: 12px;
}

.ps-url-row input {
  min-width: 0;
  flex: 1;
  border: 1px solid rgba(255, 49, 80, 0.35);
  border-radius: 14px;
  background: #09090f;
  color: #ffffff;
  padding: 15px 18px;
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.ps-url-row input:focus {
  border-color: #ff3150;
  box-shadow: 0 0 0 4px rgba(255, 49, 80, 0.18), 0 0 25px rgba(255, 49, 80, 0.15);
}

.ps-generate-btn {
  flex-shrink: 0;
  padding: 15px 32px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
  background: linear-gradient(115deg, #ff3657, #ff1744);
  box-shadow: 0 8px 26px rgba(255, 23, 68, 0.38);
  color: white;
}

.ps-generate-btn:hover {
  box-shadow: 0 12px 34px rgba(255, 23, 68, 0.5), 0 0 25px rgba(255, 49, 80, 0.3);
  transform: translateY(-2px);
}

.ps-hint {
  font-size: 12px;
  color: #878799;
  line-height: 1.65;
  margin: 14px 0 0;
}

.generated-command {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 14px;
  background: #07070d;
  border: 1px solid rgba(255, 49, 80, 0.25);
  animation: windowBlurScaleIn 0.35s var(--ease) both;
}

.generated-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #ff8190;
}

.generated-command code {
  display: block;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  color: #f3f3f9;
  font: 12.5px/1.75 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.generated-command p {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
  margin: 12px 0 0;
}

.builder-error {
  min-height: 20px;
  margin-top: 10px;
  color: #ff8a98;
  font-size: 12px;
  line-height: 1.5;
}

/* =========================
   TOAST
   ========================= */
.toast {
  position: fixed;
  z-index: 120;
  left: 50%;
  bottom: 25px;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  padding: 12px 18px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(26, 26, 36, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: #f5f5fa;
  font-size: 12px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 49, 80, 0.15);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ========================================================
   KEYFRAME ANIMATIONS (Smooth & Blurry)
   ======================================================== */
@keyframes smoothPageBlurIn {
  from {
    opacity: 0;
    filter: blur(14px);
  }
  to {
    opacity: 1;
    filter: blur(0px);
  }
}

@keyframes smoothHeroBlurIn {
  from {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
  }
}

@keyframes smoothCardBlurIn {
  from {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
  }
}

@keyframes backdropBlurFadeIn {
  from {
    opacity: 0;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
  }
  to {
    opacity: 1;
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
  }
}

@keyframes backdropBlurFadeOut {
  from {
    opacity: 1;
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
  }
  to {
    opacity: 0;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
  }
}

@keyframes windowBlurScaleIn {
  0% {
    opacity: 0;
    transform: scale(0.93) translateY(22px);
    filter: blur(16px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0px);
  }
}

@keyframes windowBlurScaleOut {
  0% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0px);
  }
  100% {
    opacity: 0;
    transform: scale(0.96) translateY(14px);
    filter: blur(14px);
  }
}

@keyframes shakeError {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(1.2); }
}

@keyframes orbPulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.15); opacity: 1; }
}

@keyframes grow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

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

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 900px) {
  .nav-links { gap: 16px; }
  .hero { gap: 25px; padding-top: 58px; }
  .speed-ring { width: 120px; height: 120px; }
  .speed-number strong { font-size: 30px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .ps-header-block { flex-direction: column; gap: 14px; }
  .ps-header-right { padding-top: 0; max-width: 100%; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 30px, 1120px); }
  .nav { height: 67px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 66px;
    left: 15px;
    right: 15px;
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(19, 19, 27, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-links.show { display: flex; }
  .nav-links a { padding: 12px; border-radius: 9px; }
  .nav-links a:hover { background: rgba(255, 255, 255, 0.08); }
  .menu-toggle { display: grid; }
  .nav-actions .btn { display: none; }
  .hero {
    grid-template-columns: 1fr;
    padding: 54px 0 43px;
    gap: 25px;
  }
  .hero-copy { text-align: center; }
  .hero-description { margin: auto; }
  .hero-actions, .hero-proof { justify-content: center; }
  .hero h1 { font-size: clamp(43px, 12vw, 62px); }
  .hero-visual { min-height: 290px; }
  .dashboard { transform: none; }
  .float-chip { right: 0; bottom: 6px; }
  .section { padding: 30px 0 40px; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 10px; }
  .package-grid { grid-template-columns: 1fr; gap: 16px; }
  .package { padding: 23px; }
  .package-desc { min-height: 0; }
  .package ul { min-height: 0; }
  .packages { padding: 28px 0 50px; }
  .callout-inner { padding: 23px; align-items: flex-start; flex-direction: column; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-links { flex-wrap: wrap; }
  .tool-window { padding: 24px 20px; }
  .ps-card { padding: 20px; }
  .ps-url-row { flex-direction: column; }
  .ps-generate-btn { width: 100%; }
}

@media (max-width: 420px) {
  .feature-grid { grid-template-columns: 1fr; }
  .speed-row { gap: 12px; }
  .speed-ring { width: 104px; height: 104px; }
  .speed-number strong { font-size: 26px; }
  .dash-inner { padding: 15px; }
  .dash-bottom { gap: 6px; }
  .mini-stat { padding: 9px 7px; }
  .hero-actions .btn { width: 100%; }
  .modal { padding: 23px 18px; }
  .section-heading h2 { font-size: 27px; }
  .auth-window { padding: 24px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
