/* NovaXcellence Space Theme */
:root {
  --bg: #000000; /* Pure black space background */
  --text: #e9eef5;
  --muted: #b9c1cf;
  /* Accents forced to white for a pure black & white theme */
  --neon-pink: #ffffff;
  --neon-blue: #ffffff;
  --neon-purple: #ffffff;
  --surface: #0a0c14;
  --border: rgba(255,255,255,0.09);
  --glow: 0 0 24px rgba(255, 255, 255, 0.28), 0 0 54px rgba(255, 255, 255, 0.16);
  --glow-strong: 0 0 40px rgba(255, 255, 255, 0.45), 0 0 80px rgba(255, 255, 255, 0.28);
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Exo 2', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

#starfield {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  /* Solid black for a clean space look */
  background: var(--bg);
}

.page-wrap {
  position: relative;
  isolation: isolate;
}

/* Cinematic spacing */
.section {
  padding: clamp(2rem, 4vw, 3.5rem) clamp(1rem, 5vw, 3rem);
  max-width: 1280px;
  margin-inline: auto;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Section headers mobile optimization */
@media (max-width: 768px) {
  .section__title {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    text-align: center;
    margin-bottom: 0.5rem;
  }

  .section__subtitle {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    text-align: center;
  }

  .section__header {
    text-align: center;
    margin-bottom: 2rem;
  }
}
.section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Headings */
.headline { font-family: 'Orbitron', ui-sans-serif, system-ui; letter-spacing: 0.02em; line-height: 1.15; margin: 0 0 1rem; }
.headline__pre { display: block; color: var(--muted); font-weight: 500; font-size: clamp(0.8rem, 1.5vw, 1rem); opacity: 0.9; }
.headline__name {
  display: block;
  font-weight: 800;
  font-size: clamp(2.8rem, 8vw, 5.2rem);
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow:
    0 0 20px rgba(255, 255, 255, 0.3),
    0 0 40px rgba(255, 255, 255, 0.15),
    0 0 60px rgba(255, 255, 255, 0.08);
  position: relative;
  line-height: 0.9;
  margin: 0 0 0 -1.5rem;
  letter-spacing: 0.02em;
  font-family: 'Orbitron', ui-sans-serif, system-ui;
  text-transform: uppercase;
  animation: nameGlow 4s ease-in-out infinite alternate;
}

.headline__surname {
  display: block;
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  background: linear-gradient(135deg, #ffffff 0%, #e9ecef 50%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow:
    0 0 15px rgba(255, 255, 255, 0.25),
    0 0 30px rgba(255, 255, 255, 0.12),
    0 0 45px rgba(255, 255, 255, 0.06);
  position: relative;
  line-height: 0.95;
  margin: 0.2rem 0 0 0;
  letter-spacing: 0.08em;
  font-family: 'Caveat', 'Dancing Script', cursive;
  text-transform: uppercase;
  animation: surnameGlow 4s ease-in-out infinite alternate;
  animation-delay: 0.5s;
}

@keyframes nameGlow {
  0% {
    text-shadow:
      0 0 10px rgba(255, 255, 255, 0.2),
      0 0 25px rgba(255, 255, 255, 0.1),
      0 0 40px rgba(255, 255, 255, 0.05);
    transform: translateY(0px);
  }
  50% {
    text-shadow:
      0 0 25px rgba(255, 255, 255, 0.4),
      0 0 45px rgba(255, 255, 255, 0.2),
      0 0 65px rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
  }
  100% {
    text-shadow:
      0 0 30px rgba(255, 255, 255, 0.5),
      0 0 50px rgba(255, 255, 255, 0.25),
      0 0 70px rgba(255, 255, 255, 0.12);
    transform: translateY(0px);
  }
}

@keyframes surnameGlow {
  0% {
    text-shadow:
      0 0 8px rgba(255, 255, 255, 0.15),
      0 0 20px rgba(255, 255, 255, 0.08),
      0 0 35px rgba(255, 255, 255, 0.04);
    transform: translateY(0px);
  }
  50% {
    text-shadow:
      0 0 18px rgba(255, 255, 255, 0.3),
      0 0 35px rgba(255, 255, 255, 0.15),
      0 0 50px rgba(255, 255, 255, 0.08);
    transform: translateY(-0.5px);
  }
  100% {
    text-shadow:
      0 0 22px rgba(255, 255, 255, 0.35),
      0 0 40px rgba(255, 255, 255, 0.18),
      0 0 55px rgba(255, 255, 255, 0.1);
    transform: translateY(0px);
  }
}

@keyframes textGlow {
  from {
    text-shadow:
      0 0 5px rgba(255, 255, 255, 0.4),
      0 0 15px rgba(255, 255, 255, 0.2),
      0 0 25px rgba(255, 255, 255, 0.1);
  }
  to {
    text-shadow:
      0 0 15px rgba(255, 255, 255, 0.6),
      0 0 25px rgba(255, 255, 255, 0.3),
      0 0 40px rgba(255, 255, 255, 0.2);
  }
}
.headline__role { display: block; font-size: clamp(1rem, 2.4vw, 1.3rem); color: #cfd6e4; font-weight: 600; }

.intro {
  color: #d1d9e6;
  max-width: 52ch;
  margin: 1.5rem 0 2rem;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.75;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
  opacity: 0.95;
}

.intro--long {
  max-width: 50ch;
  font-size: clamp(1.05rem, 1.9vw, 1.2rem);
  line-height: 1.8;
  font-weight: 400;
  letter-spacing: 0.005em;
  color: #e2e8f0;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.08);
}

/* Hero layout */
.hero {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 8vw, 6rem);
  align-items: center;
  min-height: 100vh;
  padding: 3rem 2rem;
  margin: 0 auto;
  max-width: 1400px;
  position: relative;
  z-index: 1;
}

/* Mobile Layout - Video on top, text below */
@media (max-width: 768px) {
  .hero {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 1rem;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
  }

  .hero__left {
    order: 1;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
  }

  .hero__right {
    order: 2;
    width: 100%;
    text-align: center;
    padding: 0;
  }
}

.hero__right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 1rem;
}

/* Mobile headline optimization */
@media (max-width: 768px) {
  .headline__name {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
    margin: 0 0 0.5rem 0;
  }

  .headline__surname {
    font-size: clamp(1.8rem, 6vw, 2.8rem);
    margin: 0.1rem 0 0 0;
  }

  .headline {
    margin: 0 0 1.5rem;
  }

  .intro {
    max-width: 100%;
    margin: 1rem 0;
    font-size: clamp(0.95rem, 4vw, 1.1rem);
    line-height: 1.6;
  }

  .intro--long {
    max-width: 100%;
    font-size: clamp(0.95rem, 4vw, 1.1rem);
    line-height: 1.6;
  }
}

.hero__left {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 650px;
  width: 100%;
  max-width: 550px;
}

/* Mobile hero optimizations */
@media (max-width: 768px) {
  .hero__left {
    min-height: auto;
    margin-bottom: 0;
    padding: 0;
  }
}

.avatar-wrap { position: relative; width: clamp(180px, 28vw, 260px); aspect-ratio: 1; border-radius: 50%; padding: 10px; background: radial-gradient(circle at 60% 40%, rgba(255,255,255,0.12), transparent 60%), radial-gradient(circle at 30% 70%, rgba(255,255,255,0.10), transparent 55%); box-shadow: var(--glow); }
.avatar-wrap::before { content: ""; position: absolute; inset: 0; border-radius: 50%; padding: 2px; background: conic-gradient(from 0deg, #ffffff, #ffffff, #ffffff, #ffffff); -webkit-mask: radial-gradient(farthest-side, #0000 calc(100% - 8px), #000 0) content-box, radial-gradient(farthest-side, #000 98%, #0000) border-box; mask: radial-gradient(farthest-side, #0000 calc(100% - 8px), #000 0) content-box, radial-gradient(farthest-side, #000 98%, #0000) border-box; -webkit-mask-composite: xor; mask-composite: exclude; filter: blur(0.3px); opacity: 0.9; }
.avatar { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; filter: saturate(1.05) contrast(1.05); }
.avatar-glow { position: absolute; inset: -12%; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.16), rgba(255,255,255,0.12) 35%, transparent 70%); z-index: -1; filter: blur(10px); }

/* Rectangular Flip Container with Rounded Corners - 3:4 Aspect Ratio */
.flip-container {
  background-color: transparent;
  width: clamp(320px, 35vw, 450px);
  height: clamp(420px, 45vw, 600px);
  max-width: 60vw;
  perspective: 1200px;
  cursor: pointer;
  border-radius: 20px;
  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.3),
    0 0 0 0 rgba(255, 255, 255, 0) inset,
    0 0 0 0 rgba(255, 255, 255, 0);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3/4;
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: ambient-glow 4s ease-in-out infinite alternate;
}

/* Mobile flip container sizing */
@media (max-width: 768px) {
  .flip-container {
    width: clamp(280px, 40vw, 350px);
    height: clamp(370px, 52vw, 460px);
    max-width: 85vw;
  }
}

@media (max-width: 480px) {
  .flip-container {
    width: clamp(240px, 45vw, 300px);
    height: clamp(320px, 58vw, 400px);
    max-width: 90vw;
  }
}

/* Inner Flip Element - This is the element that actually flips */
.flipper {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
  transform-style: preserve-3d;
}

/* Front and Back Sides - Common styles for both sides */
.front,
.back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Back Side Styling - The back is initially rotated 180 degrees */
.back {
  background-color: #ffffff;
  transform: rotateY(180deg);
}

/* Image Styling - Enhanced visual appeal */
.front img,
.back img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 20px;
  object-position: center center;
  max-width: 100%;
  max-height: 100%;
  transition: all 0.4s ease;
  filter: contrast(1.1) saturate(1.1) brightness(1.05);
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0) inset;
}

/* Specific Styling for the back image */
.back img {
  object-fit: contain;
  padding: 15px;
  box-sizing: border-box;
  background: transparent;
  width: calc(100% - 30px);
  height: calc(100% - 30px);
  filter: contrast(1.15) saturate(1.2) brightness(1.1);
}

/* Glow effect on hover - No borders */
.flip-container:hover .front,
.flip-container:hover .back {
  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.3),
    0 0 0 0 rgba(255, 255, 255, 0) inset,
    0 0 30px rgba(255, 255, 255, 0.15);
}

@keyframes ambient-glow {
  0% {
    box-shadow:
      0 15px 40px rgba(0, 0, 0, 0.3),
      0 0 0 0 rgba(255, 255, 255, 0) inset,
      0 0 0 0 rgba(255, 255, 255, 0);
  }
  50% {
    box-shadow:
      0 20px 50px rgba(0, 0, 0, 0.2),
      0 0 0 0 rgba(255, 255, 255, 0) inset,
      0 0 40px 10px rgba(255, 255, 255, 0.08);
  }
  100% {
    box-shadow:
      0 25px 60px rgba(0, 0, 0, 0.15),
      0 0 0 0 rgba(255, 255, 255, 0) inset,
      0 0 60px 20px rgba(255, 255, 255, 0.12);
  }
}

.flip-container:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.2),
    0 0 0 0 rgba(255, 255, 255, 0) inset,
    0 0 80px 30px rgba(255, 255, 255, 0.15);
}

/* Multi-layered ambient glow effects */
.flip-container::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 40px;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.15), transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(255,255,255,0.1), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  animation: ambient-pulse 3s ease-in-out infinite;
}

.flip-container:hover::before {
  opacity: 1;
}

@keyframes ambient-pulse {
  0%, 100% { opacity: 0; transform: scale(0.8); }
  50% { opacity: 0.6; transform: scale(1.1); }
}

.flip-container::after {
  content: '';
  position: absolute;
  inset: -30px;
  border-radius: 50px;
  background: radial-gradient(circle, transparent 40%, rgba(255,255,255,0.03), transparent 80%);
  z-index: -2;
  animation: outer-glow 5s ease-in-out infinite alternate;
}

.flip-container:hover::after {
  background: radial-gradient(circle, transparent 30%, rgba(255,255,255,0.08), transparent 70%);
}

@keyframes outer-glow {
  0% { opacity: 0.3; transform: scale(0.9); }
  100% { opacity: 0.7; transform: scale(1.2); }
}

/* Smooth shadow transition */
.flip-container .front,
.flip-container .back {
  transition: box-shadow 0.3s ease;
}

/* Responsive adjustments - Maintain 3:4 Aspect Ratio */
@media (max-width: 768px) {
  .flip-container {
    width: clamp(260px, 38vw, 320px);
    height: clamp(340px, 50vw, 420px);
    aspect-ratio: 3/4;
    max-width: 90vw;
  }
}

/* Extra small mobile devices */
@media (max-width: 380px) {
  .hero {
    padding: 1rem 0.5rem;
    gap: 1.5rem;
  }

  .flip-container {
    width: clamp(220px, 48vw, 280px);
    height: clamp(290px, 62vw, 370px);
    max-width: 95vw;
  }

  .headline__name {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .headline__surname {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .intro {
    font-size: clamp(0.9rem, 4vw, 1rem);
  }

  .intro--long {
    font-size: clamp(0.9rem, 4vw, 1rem);
  }
}

/* Buttons */
.btn { display: inline-block; padding: 0.9rem 1.2rem; border-radius: 999px; text-decoration: none; font-weight: 700; letter-spacing: 0.02em; transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease; will-change: transform; }
.btn--primary { color: #0a0c14; background: linear-gradient(90deg, #ffffff, #ffffff); box-shadow: 0 6px 24px rgba(255, 255, 255, 0.28), inset 0 0 0 1px rgba(255,255,255,0.06); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--glow-strong); }
.btn--ghost { color: var(--text); border: 1px solid var(--border); background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)); backdrop-filter: blur(4px); }
.btn--ghost:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(255, 255, 255, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.25) inset; border-color: rgba(255, 255, 255, 0.35); }

.cta-row { display: flex; gap: 0.9rem; flex-wrap: wrap; }

/* Video Editing Plans Page */
.hero--compact {
  min-height: auto;
  padding-top: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.hero__right--full {
  grid-column: 1 / -1;
  max-width: 980px;
  margin-inline: auto;
  padding-left: 0;
}

.section__title--hero {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0.2rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.2rem);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.brand {
  font-family: 'Orbitron', ui-sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  font-size: 0.95rem;
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.pricing-grid {
  grid-template-columns: repeat(3, 1fr);
}

.plan-card {
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 8px 32px rgba(0,0,0,0.4),
    0 0 0 1px rgba(255,255,255,0.08) inset,
    0 0 0 2px rgba(255,255,255,0.02);
  padding: 0;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.plan-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06) inset,
    0 16px 48px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,255,255,0.12) inset,
    0 0 0 4px rgba(255,255,255,0.04);
}

.plan-card:hover::before {
  opacity: 1;
}

.plan-card__inner {
  display: flex;
  flex-direction: column;
  padding: 1.4rem 1.2rem 1.2rem;
  gap: 1.1rem;
  height: 100%;
}

.plan-card__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.plan-card__name {
  margin: 0;
  font-family: 'Orbitron', ui-sans-serif;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.plan-card__price {
  margin: 0;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.plan-card__period {
  font-weight: 600;
  color: var(--muted);
  font-size: 0.95rem;
}

.plan-card__list {
  margin: 0;
  padding-left: 1.1rem;
  color: #dbe3f0;
  display: grid;
  gap: 0.4rem;
  flex-grow: 1;
}

.plan-card__cta {
  justify-self: start;
}

.plan-card--featured {
  border-color: rgba(255,255,255,0.32);
  background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08) inset,
    0 16px 48px rgba(255,255,255,0.24),
    0 0 0 1px rgba(255,255,255,0.12) inset,
    0 0 0 4px rgba(255,255,255,0.04);
}

.plan-card--featured::before {
  background: linear-gradient(135deg, rgba(255,255,255,0.24), transparent);
}

.plan-card__badge,
.plan-card__badge-spacer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.18);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  width: fit-content;
  margin-bottom: 0;
  height: 1.6em;
}

.plan-card__badge-spacer {
  visibility: hidden;
}

.note {
  margin-top: 1rem;
  color: var(--muted);
}

.highlight {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: clamp(1.2rem, 3vw, 1.6rem);
  background: radial-gradient(600px 220px at 30% 20%, rgba(255,255,255,0.08), transparent 70%),
              linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
}

.highlight__title {
  margin: 0 0 0.4rem;
  font-family: 'Orbitron', ui-sans-serif;
  letter-spacing: 0.03em;
}

.highlight__text {
  margin: 0;
  color: #d1d9e6;
  max-width: 62ch;
}

.highlight__actions {
  display: flex;
  justify-content: flex-end;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
}

.modal.is-open {
  display: block;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
}

.modal__dialog {
  position: relative;
  width: min(560px, calc(100% - 2rem));
  margin: 10vh auto;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.14);
  background: linear-gradient(180deg, rgba(10,12,20,0.92), rgba(10,12,20,0.78));
  box-shadow: 0 30px 90px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.06) inset;
  overflow: hidden;
  animation: modalIn 0.22s ease-out;
}

@keyframes modalIn {
  from { transform: translateY(10px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.modal__title {
  margin: 0;
  font-family: 'Orbitron', ui-sans-serif;
  letter-spacing: 0.03em;
  font-weight: 800;
}

.modal__close {
  appearance: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--text);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  display: grid;
  place-items: center;
}

.modal__close:hover {
  border-color: rgba(255,255,255,0.35);
  box-shadow: 0 10px 28px rgba(255,255,255,0.12);
}

.form {
  padding: 1.1rem;
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.5rem;
}

.field__label {
  color: var(--muted);
  font-size: 0.92rem;
}

.field__control {
  width: 100%;
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  outline: none;
  font-family: inherit;
}

.field__control:focus {
  border-color: rgba(255,255,255,0.35);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.08);
}

.calc-result {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  padding: 0.9rem 1rem;
}

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

.calc-result__value {
  font-family: 'Orbitron', ui-sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
}

body.modal-open {
  overflow: hidden;
}

/* Pricing boxes */
.pricing-table {
  grid-template-columns: repeat(3, 1fr);
}

.price-box {
  padding: 1.1rem;
}

.price-box__header {
  padding-bottom: 0.75rem;
  margin-bottom: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.price-box__title {
  margin: 0;
  font-family: 'Orbitron', ui-sans-serif;
  letter-spacing: 0.03em;
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  color: #dbe3f0;
}

.price-row strong {
  font-weight: 800;
}

/* Policy + why grids */
.policy-grid {
  grid-template-columns: repeat(4, 1fr);
}

.policy-item,
.why-item {
  padding: 1rem;
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 0.75rem;
}

.policy-item__icon,
.why-item__icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.04);
}

.policy-item__text,
.why-item__text {
  color: #dbe3f0;
  line-height: 1.4;
}

.payment-grid {
  grid-template-columns: repeat(2, 1fr);
}

.payment-card {
  padding: 1.1rem;
}

.payment-card__title {
  margin: 0 0 0.75rem;
  font-family: 'Orbitron', ui-sans-serif;
  letter-spacing: 0.03em;
}

.payment-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  color: #dbe3f0;
}

.payment-row strong {
  color: var(--muted);
  font-weight: 700;
}

.why-grid {
  grid-template-columns: repeat(3, 1fr);
}

.cta-card {
  padding: 1.2rem;
}

.cta-card__inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-table { grid-template-columns: 1fr; }
  .policy-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .highlight { grid-template-columns: 1fr; }
  .highlight__actions { justify-content: flex-start; }
}

@media (max-width: 520px) {
  .topbar { flex-direction: column; align-items: flex-start; }
  .topbar__actions { justify-content: flex-start; }
  .policy-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .modal__dialog { margin: 8vh auto; }
}

/* Sections */
.section__header { margin-bottom: 1.5rem; opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s; }
.section.visible .section__header { opacity: 1; transform: translateY(0); }
.section__title { font-family: 'Orbitron', ui-sans-serif; font-weight: 800; letter-spacing: 0.03em; font-size: clamp(1.5rem, 3vw, 2.1rem); text-transform: uppercase; text-shadow: 0 0 12px rgba(255,255,255,0.16); }
.section__subtitle { color: var(--muted); }

/* Grids */
.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.6rem); }
.grid--2x2 { grid-template-columns: repeat(2, 1fr); }
.grid--2cols { grid-template-columns: repeat(2, 1fr); align-items: start; }

/* Shorts phone-like frames */
.shorts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.4s, transform 0.6s ease 0.4s;
  padding: 0 1rem;
}
.section.visible .shorts-grid {
  opacity: 1;
  transform: translateY(0);
}
.short-frame { display: grid; place-items: center; }
.short-bezel {
  width: min(240px, 22vw);
  aspect-ratio: 9/16;
  border-radius: 18px;
  background: #2a2d34;
  box-shadow: 0 8px 30px rgba(0,0,0,0.6), 0 0 0 2px rgba(255,255,255,0.06) inset;
  padding: 10px;
  position: relative;
  max-width: 100%;
}
.short-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}
.short-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.08), transparent 18%) top left / 50% 50% no-repeat,
    linear-gradient(315deg, transparent 82%, rgba(255,255,255,0.08)) bottom right / 50% 50% no-repeat;
  border-radius: 14px;
}
.short-screen iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Tablet and mobile responsive */
@media (max-width: 1200px) {
  .shorts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1rem, 2vw, 1.5rem);
  }
}

@media (max-width: 768px) {
  .shorts-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 0 0.5rem;
    justify-items: center;
  }

  .short-bezel {
    width: min(180px, 42vw);
    padding: 8px;
  }
}

@media (max-width: 480px) {
  .shorts-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
    justify-items: center;
    max-width: 100%;
  }

  .short-bezel {
    width: min(280px, 85vw);
    padding: 12px;
    max-width: 100%;
  }
}

/* Neon Cards */
.neon-card { background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01)); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; position: relative; transition: transform 0.2s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.neon-card::after { content: ""; position: absolute; inset: -2px; border-radius: 16px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), rgba(255,255,255,0.12), rgba(255,255,255,0.12), transparent); filter: blur(12px); opacity: 0; transition: opacity 0.3s ease; z-index: -1; }
.neon-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.35); box-shadow: 0 10px 40px rgba(255,255,255,0.18), 0 0 0 1px rgba(255,255,255,0.2) inset; }
.neon-card:hover::after { opacity: 1; }
.card__media img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.card__title { margin: 0; padding: 0.85rem 1rem 1rem; font-weight: 700; letter-spacing: 0.01em; }

/* Videos */
.video-card { display: grid; gap: 0.75rem; }
.video-frame { border-radius: 16px; overflow: hidden; background: #000; }
.neon-frame { position: relative; border: 1px solid var(--border); box-shadow: 0 0 0 1px rgba(255,255,255,0.02) inset, 0 10px 34px rgba(255, 255, 255, 0.18); }
.neon-frame::before { content: ""; position: absolute; inset: -2px; border-radius: 18px; background: linear-gradient(90deg, rgba(255,255,255,0.18), rgba(255,255,255,0.14), rgba(255,255,255,0.18)); filter: blur(18px); opacity: 0.7; z-index: -1; }
.video-frame video { display: block; width: 100%; height: auto; }
.video-frame iframe { display: block; width: 100%; height: clamp(220px, 28vw, 360px); border: 0; }
.video-title { margin: 0.3rem 0 0.2rem; font-weight: 800; font-family: 'Orbitron'; letter-spacing: 0.02em; }
.video-text { margin: 0; color: #cbd3e5; }

/* Alternating videos layout */
.videos-alt { 
  display: grid; 
  gap: clamp(1.5rem, 4vw, 3rem);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}
.section.visible .videos-alt {
  opacity: 1;
  transform: translateY(0);
}
.videos-row { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: clamp(1.2rem, 4vw, 3rem); }
.videos-row--reverse { grid-template-columns: 1fr 1.2fr; }
.videos-media { border-radius: 16px; overflow: hidden; background: #000; }
.videos-media iframe { display: block; width: 100%; height: clamp(240px, 32vw, 360px); border: 0; }
.videos-copy { align-self: start; }
.videos-heading { font-family: 'Orbitron', ui-sans-serif; font-weight: 800; letter-spacing: 0.04em; font-size: clamp(1.4rem, 3.4vw, 2rem); margin: 0 0 0.5rem; }
.videos-text { color: #cbd3e5; margin: 0; max-width: 48ch; line-height: 1.8; }

@media (max-width: 1024px) {
  .videos-row, .videos-row--reverse { grid-template-columns: 1fr; }
}

/* Scroll indicator */
.scroll-down {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text);
  font-size: 0.95rem;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-family: 'Exo 2', sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.scroll-down:hover {
  opacity: 1;
}

.scroll-down::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: currentColor;
  animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
  0% { transform: translateY(-10px); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Footer */
.footer {
  position: relative;
  border-top: 1px solid var(--border);
  padding: 1.5rem;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.02));
  margin-top: 2rem;
  z-index: 10;
  width: 100%;
  display: block;
  text-align: center;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px 180px at 50% -40px, rgba(255,255,255,0.08), transparent 70%);
  pointer-events: none;
}

.copyright {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

/* Reduce spacing between videos section and footer */
.section:last-of-type {
  margin-bottom: 1rem;
}

/* Utilities */
[data-glow] { box-shadow: var(--glow); }

/* Tablet Layout - Keep side by side but adjust sizing */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero__right {
    justify-self: center;
    padding-left: 0;
  }
}

@media (max-width: 900px) {
  .grid--2cols, .grid--2x2 { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .avatar-wrap { width: 60vw; max-width: 240px; }
  .cta-row { justify-content: center; }
}
