:root {
  --max-width: 1140px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;

  --color-primary: #ff6ca8;
  --color-secondary: #4da8ff;
  --color-accent: #8be9fd;
  --color-text: #f4f7ff;
  --color-muted: #c6d0e6;
  --color-surface: rgba(11, 16, 35, 0.58);
  --color-surface-strong: rgba(16, 22, 44, 0.78);
  --color-border: rgba(173, 201, 255, 0.24);
  --color-glow: rgba(122, 188, 255, 0.45);

  --gradient-speed: 18s;
  --selection: rgba(255, 108, 168, 0.35);

  --reveal-distance: 26px;
  --reveal-duration: 760ms;
  --reveal-stagger: 90ms;

  --logo-bounce-duration: 2200ms;
  --logo-glow-duration: 3600ms;
  --cursor-glow-size: 260px;
  --cursor-dot-size: 10px;
  --cursor-trail-size: 34px;
  --cursor-aura-size: 180px;
  --carousel-image-fit: contain;
  --testimonial-speed: 32s;
}

* {
  box-sizing: border-box;
}

*::selection {
  background: var(--selection);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Sora", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--color-text);
  background: linear-gradient(120deg, #0b0c24, #1f1450, #0f2f68, #35206f);
  background-size: 260% 260%;
  animation: gradientShift var(--gradient-speed) ease infinite;
  line-height: 1.5;
  overflow-x: hidden;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 520;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.06);
}

.scroll-progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-accent));
  box-shadow: 0 0 14px rgba(126, 185, 255, 0.55);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 108, 168, 0.22), transparent 42%),
    radial-gradient(circle at 83% 20%, rgba(77, 168, 255, 0.2), transparent 38%),
    radial-gradient(circle at 50% 88%, rgba(139, 233, 253, 0.14), transparent 42%);
}

body::after {
  background: linear-gradient(150deg, rgba(7, 9, 22, 0.32), rgba(7, 9, 22, 0.6));
}

body.has-background-image {
  background: #0b0f20;
  animation: none;
}

body.has-background-image::before {
  background-image: var(--background-image);
  background-size: cover;
  background-position: center;
  filter: brightness(0.48) saturate(1.08);
  transform: scale(1.04);
}

.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.26;
  background-image: radial-gradient(rgba(255, 255, 255, 0.18) 0.5px, transparent 0.5px);
  background-size: 3px 3px;
}

.ambient-particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.ambient-particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.78), rgba(119, 195, 255, 0.34), transparent 72%);
  filter: blur(0.5px);
  animation: particleFloat linear infinite;
}

.cursor-glow {
  display: none;
  position: fixed;
  width: var(--cursor-glow-size);
  height: var(--cursor-glow-size);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 108, 168, 0.2), rgba(77, 168, 255, 0.08), transparent 62%);
  filter: blur(8px);
  opacity: 0;
  transition: opacity 260ms ease;
}

body.modal-open {
  overflow: hidden;
}

body.cursor-enhanced,
body.cursor-enhanced a,
body.cursor-enhanced button,
body.cursor-enhanced .btn,
body.cursor-enhanced .portfolio-item,
body.cursor-enhanced .preview-image,
body.cursor-enhanced .social-btn,
body.cursor-enhanced .pricing-card {
  cursor: none !important;
}

.cursor-dot,
.cursor-trail,
.cursor-aura {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 320;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cursor-dot {
  width: var(--cursor-dot-size);
  height: var(--cursor-dot-size);
  background: #ffffff;
  box-shadow: 0 0 0 6px rgba(255, 108, 168, 0.22), 0 0 18px rgba(77, 168, 255, 0.38);
  transition: width 120ms ease, height 120ms ease, box-shadow 120ms ease;
}

.cursor-trail {
  width: var(--cursor-trail-size);
  height: var(--cursor-trail-size);
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: radial-gradient(circle, rgba(255, 108, 168, 0.2), rgba(77, 168, 255, 0.08), transparent 66%);
  filter: blur(0.4px);
  transition: width 180ms ease, height 180ms ease, opacity 180ms ease;
}

.cursor-aura {
  width: var(--cursor-aura-size);
  height: var(--cursor-aura-size);
  z-index: 99;
  background: radial-gradient(circle, rgba(255, 108, 168, 0.28), rgba(77, 168, 255, 0.16), transparent 66%);
  filter: blur(10px) saturate(1.1);
  opacity: 0.75;
  mix-blend-mode: screen;
  animation: cursorAuraPulse 1900ms ease-in-out infinite;
  transition: width 180ms ease, height 180ms ease, opacity 180ms ease;
}

body.cursor-hover .cursor-dot {
  width: calc(var(--cursor-dot-size) * 1.65);
  height: calc(var(--cursor-dot-size) * 1.65);
  box-shadow: 0 0 0 8px rgba(255, 108, 168, 0.25), 0 0 22px rgba(77, 168, 255, 0.45);
}

body.cursor-hover .cursor-trail {
  width: calc(var(--cursor-trail-size) * 1.25);
  height: calc(var(--cursor-trail-size) * 1.25);
  opacity: 0.95;
}

body.cursor-hover .cursor-aura {
  width: calc(var(--cursor-aura-size) * 1.22);
  height: calc(var(--cursor-aura-size) * 1.22);
  opacity: 0.95;
}

body.cursor-pressed .cursor-dot {
  width: calc(var(--cursor-dot-size) * 1.2);
  height: calc(var(--cursor-dot-size) * 1.2);
}

body.cursor-pressed .cursor-aura {
  width: calc(var(--cursor-aura-size) * 0.9);
  height: calc(var(--cursor-aura-size) * 0.9);
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  position: relative;
  z-index: 1;
}

.section + .section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(74vw, 560px);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  opacity: 0.55;
}

h1,
h2,
h3,
.brand-text {
  font-family: "Syne", "Trebuchet MS", "Segoe UI", sans-serif;
  line-height: 1.1;
  margin: 0 0 1rem;
  letter-spacing: 0.01em;
}

p {
  margin: 0;
  color: var(--color-muted);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(8, 11, 27, 0.82), rgba(8, 11, 27, 0.48));
  border-bottom: 1px solid rgba(167, 196, 255, 0.2);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, var(--color-primary) 45%, var(--color-secondary));
  box-shadow: 0 0 0 6px rgba(255, 108, 168, 0.12), 0 0 22px rgba(77, 168, 255, 0.46);
}

.brand-text {
  font-size: 1.05rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.9rem;
  font-size: 0.92rem;
  border-radius: 999px;
  color: var(--color-text);
  border: 1px solid transparent;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text);
  padding: 0.5rem 0.8rem;
  border-radius: 10px;
  font-weight: 600;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.hero-copy {
  background: linear-gradient(145deg, rgba(13, 21, 45, 0.72), rgba(9, 15, 34, 0.52));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 4vw, 2.4rem);
  box-shadow: 0 24px 44px rgba(5, 9, 22, 0.44);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  padding: 0.35rem 0.78rem;
  margin-bottom: 1.25rem;
  background: linear-gradient(120deg, rgba(255, 108, 168, 0.26), rgba(77, 168, 255, 0.26));
}

.availability-line {
  margin-top: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.availability-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.23rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.availability-dot {
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 50%;
  background: #31f58b;
  box-shadow: 0 0 10px rgba(49, 245, 139, 0.7);
}

.availability-open .availability-dot {
  background: #31f58b;
  box-shadow: 0 0 10px rgba(49, 245, 139, 0.7);
}

.availability-limited .availability-dot {
  background: #ffd84f;
  box-shadow: 0 0 10px rgba(255, 216, 79, 0.72);
}

.availability-closed .availability-dot {
  background: #ff5f72;
  box-shadow: 0 0 10px rgba(255, 95, 114, 0.72);
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  margin-bottom: 0.9rem;
}

.hero-copy p {
  max-width: 56ch;
  font-size: 1.03rem;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.64rem 1.05rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 600;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.btn::before {
  content: "";
  position: absolute;
  top: -120%;
  bottom: -120%;
  left: -30%;
  width: 42%;
  z-index: -1;
  opacity: 0.45;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0));
  transform: translateX(-180%) rotate(18deg);
  transition: transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.btn:hover::before {
  transform: translateX(360%) rotate(18deg);
}

.btn-primary {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(120deg, var(--color-primary), var(--color-secondary));
  box-shadow: 0 10px 24px rgba(82, 144, 255, 0.34);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text);
}

.hero-logo-wrap {
  position: relative;
  width: min(100%, 390px);
  margin-inline: auto;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}

.logo-glow {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 125, 177, 0.5), rgba(85, 165, 255, 0.2), transparent 70%);
  filter: blur(18px);
  animation: logoGlowPulse var(--logo-glow-duration) ease-in-out infinite;
}

.hero-logo {
  position: relative;
  width: min(74%, 290px);
  object-fit: contain;
  filter: drop-shadow(0 10px 28px rgba(76, 161, 255, 0.65));
  animation: logoBounce var(--logo-bounce-duration) cubic-bezier(0.22, 1, 0.36, 1) both;
}

.section-head {
  margin-bottom: 1.5rem;
}

.section-head h2,
.section-head h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 0.7rem;
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 1.2rem;
}

.about-copy,
.about-media,
.contact-copy,
.contact-panel,
.carousel,
.pricing-card,
.portfolio-item,
.hero-copy {
  backdrop-filter: blur(8px);
}

.about-copy,
.about-media,
.contact-copy,
.contact-panel {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  padding: clamp(1.25rem, 3vw, 1.8rem);
}

.about-intro {
  color: var(--color-text);
  font-weight: 500;
  margin-bottom: 0.8rem;
}

.about-stats {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.stat {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  padding: 0.78rem;
  background: rgba(255, 255, 255, 0.04);
}

.stat strong {
  display: block;
  color: #fff;
  font-size: 1.05rem;
}

.stat span {
  color: var(--color-muted);
  font-size: 0.83rem;
}

.about-media {
  display: grid;
  place-items: center;
  min-height: 340px;
}

.about-media img {
  width: min(88%, 320px);
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.9rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.95rem;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: var(--color-surface-strong);
  min-height: 240px;
  transform: translateZ(0);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 360ms ease, filter 300ms ease;
}

.preview-image {
  cursor: zoom-in;
}

.portfolio-item .portfolio-overlay {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  padding: 0.65rem 0.75rem;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(5, 8, 20, 0.78));
  transform: translateY(12px);
  opacity: 0;
  transition: opacity 260ms ease, transform 260ms ease;
  font-size: 0.86rem;
}

.portfolio-item:hover img {
  transform: scale(1.06);
  filter: saturate(1.15) contrast(1.06);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-item.missing-image {
  background:
    linear-gradient(145deg, rgba(255, 108, 168, 0.2), rgba(77, 168, 255, 0.22)),
    rgba(18, 24, 48, 0.75);
}

.portfolio-item.missing-image img {
  display: none;
}

.portfolio-item.missing-image::before {
  content: "Image Missing";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.05em;
  font-weight: 600;
}

.contact-grid {
  align-items: stretch;
}

.contact-copy h2,
.contact-panel h3 {
  margin-bottom: 0.9rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.78rem;
  color: var(--color-text);
}

.contact-item a {
  color: inherit;
}

.contact-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-icon svg {
  width: 16px;
  height: 16px;
  fill: #fff;
}

.contact-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.9rem;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text);
  padding: 0.48rem 0.76rem;
  font-size: 0.86rem;
  transition: transform 180ms ease, background-color 180ms ease;
}

.social-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.15);
}

.social-btn svg {
  width: 14px;
  height: 14px;
  fill: currentcolor;
}

.pricing-hero {
  padding-bottom: 2rem;
}

.carousel {
  position: relative;
  margin-top: 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.18);
  overflow: hidden;
  min-height: 420px;
  background: var(--color-surface-strong);
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
  width: 100%;
  margin: 0;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 420px;
  object-fit: var(--carousel-image-fit);
  display: block;
}

.carousel-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.56rem 0.75rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.84rem;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(7, 10, 24, 0.62);
  color: #fff;
  font-size: 1rem;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.carousel-btn:hover {
  background: rgba(11, 17, 38, 0.88);
}

.carousel-btn-prev {
  left: 0.85rem;
}

.carousel-btn-next {
  right: 0.85rem;
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.3);
}

.carousel-dot.is-active {
  background: #fff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.pricing-card {
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--color-surface);
  padding: 1rem;
  transition: transform 220ms ease, border-color 220ms ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.42);
}

.tilt-card {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms ease;
}

.tilt-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.2), transparent 64%);
  transition: opacity 180ms ease;
}

.tilt-card:hover::before {
  opacity: 1;
}

.tilt-card:hover {
  box-shadow: 0 20px 34px rgba(4, 8, 20, 0.36);
}

.pricing-card h3 {
  margin-bottom: 0.55rem;
}

.pricing-card p {
  white-space: pre-line;
}

.order-now-btn {
  margin-top: 0.8rem;
  width: 100%;
}

.order-now-btn:disabled,
.order-now-btn.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  filter: grayscale(0.25);
}

.price-tag {
  display: inline-block;
  margin-top: 0.75rem;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(120deg, rgba(255, 108, 168, 0.9), rgba(77, 168, 255, 0.9));
  padding: 0.35rem 0.72rem;
  font-size: 0.84rem;
  font-weight: 700;
}

.testimonials-section {
  padding-top: 2rem;
}

.testimonials-marquee {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(145deg, rgba(16, 21, 45, 0.72), rgba(10, 15, 32, 0.58));
  overflow: hidden;
  padding: 1rem 0;
}

.testimonials-track {
  display: flex;
  width: max-content;
  gap: 0.9rem;
  padding-inline: 0.9rem;
  animation: testimonialMarquee var(--testimonial-speed) linear infinite;
}

.testimonial-card {
  min-width: min(84vw, 330px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  padding: 0.95rem;
}

.testimonial-stars {
  color: #ffd86d;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  margin-bottom: 0.55rem;
}

.testimonial-text {
  color: rgba(245, 249, 255, 0.96);
  font-size: 0.92rem;
}

.testimonial-meta {
  margin-top: 0.65rem;
  font-size: 0.8rem;
}

.lightbox,
.order-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(6, 10, 20, 0.78);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.lightbox.is-open,
.order-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-panel,
.order-modal-panel {
  width: min(100%, 960px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(8, 13, 30, 0.94);
  box-shadow: 0 26px 48px rgba(2, 5, 16, 0.65);
  animation: modalZoomIn 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.lightbox-panel {
  max-height: min(92vh, 920px);
  overflow: auto;
  padding: 1rem;
}

.order-modal-panel {
  width: min(100%, 560px);
  padding: 1.15rem;
}

.lightbox-close,
.order-modal-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  margin-left: auto;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.lightbox-image {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
}

.lightbox-info {
  margin-top: 0.9rem;
}

.lightbox-title {
  margin-bottom: 0.45rem;
}

.lightbox-description {
  color: var(--color-muted);
}

.lightbox-tags {
  margin-top: 0.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.lightbox-tag {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 0.27rem 0.58rem;
  font-size: 0.78rem;
}

.order-modal-subtitle {
  margin-top: -0.2rem;
  margin-bottom: 0.7rem;
}

.order-selected {
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
  color: #fff;
}

.order-form {
  display: grid;
  gap: 0.78rem;
}

.order-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.86rem;
  color: #fff;
}

.order-form input,
.order-form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 0.58rem 0.68rem;
  font: inherit;
}

.order-form textarea {
  resize: vertical;
}

.pricing-actions {
  margin-top: 1.4rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.tos-hero {
  padding-bottom: 1.6rem;
}

.tos-lead {
  max-width: 70ch;
}

.tos-pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.tos-price-card,
.tos-card {
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--color-surface);
  padding: 1rem;
}

.tos-price-card h3,
.tos-card h2 {
  margin-bottom: 0.65rem;
}

.tos-price-card ul,
.tos-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.tos-price-card li,
.tos-list li {
  color: var(--color-muted);
}

.tos-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

.tos-policy-list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.55rem;
}

.tos-policy-list li {
  color: var(--color-muted);
}

.tos-do-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 10, 21, 0.8);
  backdrop-filter: blur(8px);
}

.footer-grid {
  min-height: 84px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  align-items: center;
  gap: 0.8rem;
}

.footer-grid p {
  color: rgba(235, 240, 255, 0.78);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.86rem;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, var(--reveal-distance), 0);
  transition: transform var(--reveal-duration) cubic-bezier(0.22, 1, 0.36, 1),
    opacity var(--reveal-duration) cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal[data-reveal="left"] {
  transform: translate3d(calc(var(--reveal-distance) * -1), 0, 0);
}

.reveal[data-reveal="right"] {
  transform: translate3d(var(--reveal-distance), 0, 0);
}

.reveal[data-reveal="zoom"] {
  transform: scale(0.92);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal.is-glow {
  animation: revealGlowPulse 1200ms ease-out;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes logoBounce {
  0% {
    opacity: 0;
    transform: translateY(-36px) scale(0.86);
  }
  48% {
    opacity: 1;
    transform: translateY(0) scale(1.02);
  }
  66% {
    transform: translateY(-12px) scale(1);
  }
  82% {
    transform: translateY(0) scale(1.01);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes logoGlowPulse {
  0%,
  100% {
    opacity: 0.82;
    transform: scale(0.96);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes particleFloat {
  0% {
    transform: translate3d(0, 0, 0) scale(0.86);
  }
  50% {
    transform: translate3d(18px, -34vh, 0) scale(1);
  }
  100% {
    transform: translate3d(-12px, -68vh, 0) scale(0.9);
  }
}

@keyframes testimonialMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes modalZoomIn {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes revealGlowPulse {
  0% {
    box-shadow: 0 0 0 rgba(111, 197, 255, 0);
  }
  40% {
    box-shadow: 0 0 34px rgba(111, 197, 255, 0.26);
  }
  100% {
    box-shadow: 0 0 0 rgba(111, 197, 255, 0);
  }
}

@keyframes cursorAuraPulse {
  0%,
  100% {
    filter: blur(10px) saturate(1.1);
    opacity: 0.72;
  }
  50% {
    filter: blur(13px) saturate(1.25);
    opacity: 0.88;
  }
}

@media (max-width: 1100px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tos-pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    padding: 0.7rem 1rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(8, 11, 27, 0.98);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 220ms ease, opacity 220ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links a {
    justify-content: flex-start;
  }

  .hero-layout,
  .about-grid,
  .contact-grid,
  .tos-grid {
    grid-template-columns: 1fr;
  }

  .hero-logo-wrap {
    width: min(76vw, 340px);
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 1.1rem 0;
  }

  .footer-links,
  .footer-grid .social-row {
    justify-content: center;
  }

  .testimonials-track {
    animation-duration: calc(var(--testimonial-speed) * 0.75);
  }
}

@media (max-width: 620px) {
  .section {
    padding: 3.4rem 0;
  }

  .portfolio-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .tos-pricing-grid,
  .tos-do-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .carousel {
    min-height: 290px;
  }

  .carousel-slide img {
    height: 290px;
  }

  .lightbox,
  .order-modal {
    padding: 0.7rem;
  }

  .lightbox-panel,
  .order-modal-panel {
    border-radius: 16px;
  }

  .lightbox-image {
    max-height: 56vh;
  }

  .testimonial-card {
    min-width: 84vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
