/* =============================================
   NOVA DESIGN & DEVELOPMENT — styles.css
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #090A13;
  --bg-2:      #0d0d1a;
  --bg-card:   #111122;
  --bg-card-2: #13132a;
  --purple:    #7c3aed;
  --purple-lt: #a855f7;
  --pink:      #ec4899;
  --blue:      #3b82f6;
  --indigo:    #6366f1;
  --text:      #f1f0ff;
  --text-dim:  #9893c4;
  --border:    rgba(124,58,237,0.18);
  --border-lt: rgba(255,255,255,0.07);
  --radius:    16px;
  --radius-sm: 10px;
}

html { scroll-behavior: smooth; background: #090A13; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Volkhov', serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- UTILITIES ---- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--purple-lt);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Volkhov', serif;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: normal;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-family: 'Volkhov', serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: #fff;
  box-shadow: 0 0 32px rgba(124,58,237,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 48px rgba(124,58,237,0.6);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  background: rgba(124,58,237,0.12);
  border-color: var(--purple-lt);
}

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-pill {
  display: flex;
  list-style: none;
  gap: 4px;
  background: rgba(10, 10, 20, 0.55);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50px;
  padding: 6px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.45),
    0 2px 8px rgba(0, 0, 0, 0.2),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.nav-pill a {
  display: block;
  text-decoration: none;
  color: #fff;
  font-family: 'Volkhov', serif;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 50px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

a.nav-begin {
  display: block;
  background: #fff;
  color: #0a0a1a;
  border-radius: 50px;
  padding: 9px 22px;
  font-family: 'Volkhov', serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.nav-pill a.active {
  background: linear-gradient(160deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.1) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 2px 8px rgba(0, 0, 0, 0.25);
  color: var(--text);
}

/* ---- HERO SHADER CANVAS ---- */
#hero-shader-2 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  animation: shaderFadeHero50 5.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.5s;
}

#hero-shader {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  animation: shaderFadeHero75 5.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.5s;
}

#stars-hero {
  opacity: 0;
  animation: shaderFadeHero1 5.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.5s;
}

@keyframes shaderFadeHero75 {
  from { opacity: 0; }
  to   { opacity: 0.75; }
}
@keyframes shaderFadeHero50 {
  from { opacity: 0; }
  to   { opacity: 0.5; }
}
@keyframes shaderFadeHero1 {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 160px;
  overflow: hidden;
  background: #090A13;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 420px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(9, 10, 19, 0.08) 20%,
    rgba(9, 10, 19, 0.25) 40%,
    rgba(9, 10, 19, 0.55) 60%,
    rgba(9, 10, 19, 0.82) 78%,
    rgba(9, 10, 19, 0.96) 90%,
    #090A13 100%
  );
  z-index: 3;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  animation: heroGlowFade 5.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.5s;
}
@keyframes heroGlowFade {
  from { opacity: 0; }
  to   { opacity: 0.35; }
}
.hero-glow-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, #7c3aed 0%, transparent 70%);
  top: -200px; left: -200px;
}
.hero-glow-2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
  top: -100px; right: -150px;
  animation: heroGlowFade2 5.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.5s;
}
@keyframes heroGlowFade2 {
  from { opacity: 0; }
  to   { opacity: 0.25; }
}
.hero-glow-3 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #6366f1 0%, transparent 70%);
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  animation: heroGlowFade3 5.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.5s;
}
@keyframes heroGlowFade3 {
  from { opacity: 0; }
  to   { opacity: 0.2; }
}

.hero-inner { position: relative; z-index: 10; }

/* ---- HERO LOGO ---- */
.hero-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  filter: url(#grain);
}

.hero-logo-nova {
  font-family: 'Rakkas', serif;
  font-size: clamp(100px, 18vw, 220px);
  line-height: 0.9;
  letter-spacing: 0.32em;
  /* purple → blue → periwinkle gradient matching the logo image */
  background: linear-gradient(
    to right,
    #8b3cf7 0%,
    #5b50f0 30%,
    #4b7cf7 60%,
    #93b4fb 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-indent: 0.32em; /* compensate letter-spacing on last char */
}

.hero-logo-sub {
  font-family: 'Volkhov', serif;
  font-weight: 700;
  font-size: clamp(11px, 1.8vw, 18px);
  letter-spacing: 0.38em;
  text-transform: uppercase;
  background: linear-gradient(
    to right,
    #8b3cf7 0%,
    #5b50f0 40%,
    #93b4fb 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-indent: 0.38em;
}

.hero-scroll {
  position: absolute;
  bottom: 200px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  opacity: 0.5;
  z-index: 2;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-dim), transparent);
}

/* ---- WORK ---- */
.work {
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}

.work-glow-1 {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
  top: 100px; right: -200px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.15;
  pointer-events: none;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.work-card { border-radius: var(--radius); overflow: hidden; }

.work-img {
  height: 240px;
  border-radius: var(--radius);
}

.work-img-1 { background: linear-gradient(135deg, #1e1b4b, #7c3aed, #db2777); }
.work-img-2 { background: linear-gradient(135deg, #0c1445, #1d4ed8, #7c3aed); }
.work-img-3 { background: linear-gradient(135deg, #1a0533, #9333ea, #f472b6); }
.work-img-4 { background: linear-gradient(135deg, #052e16, #16a34a, #4ade80); }
.work-img-5 { background: linear-gradient(135deg, #431407, #ea580c, #fbbf24); }

.work-overlay {
  display: none;
}
.work-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 50px;
  background: rgba(255,255,255,0.15);
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 6px;
  width: fit-content;
}
.work-overlay p { font-size: 13px; color: rgba(255,255,255,0.8); }


.work-card--cta {
  background: linear-gradient(145deg, var(--bg-card), #14102a);
  border: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.work-cta-inner {
  text-align: center;
  padding: 40px;
}
.work-cta-inner p {
  font-family: 'Volkhov', serif;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 20px;
  line-height: 1.4;
}

/* ---- PRICING ---- */
.pricing {
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricing-glow-1 { display: none; }

.pricing .section-title { margin-bottom: 56px; }

.pricing-two-col {
  display: flex;
  gap: 24px;
  text-align: left;
  justify-content: center;
  align-items: center;
}

.pricing-block {
  width: 340px;
  flex-shrink: 0;
  border-radius: var(--radius);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  /* Website Build — bright gradient */
  background: linear-gradient(145deg, #14142e, #180e40);
  border: 1px solid rgba(124,58,237,0.4);
  box-shadow: 0 0 60px rgba(124,58,237,0.15);
}

.pricing-block--management {
  /* Management — plain, shorter */
  background: var(--bg-card);
  border: 1px solid var(--border-lt);
  box-shadow: none;
  padding: 28px 28px;
  gap: 16px;
}

.pricing-block-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  background: rgba(124,58,237,0.18);
  border: 1px solid rgba(124,58,237,0.3);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple-lt);
  margin-bottom: 16px;
}

.pricing-block-header h3 {
  font-family: 'Volkhov', serif;
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 12px;
}
.pricing-block--management .pricing-block-header h3 {
  font-size: 22px;
  margin-bottom: 6px;
}
.pricing-block--management .pricing-block-header p {
  font-size: 13px;
}

.pricing-block-price {
  font-family: 'Rakkas', serif;
  font-size: 72px;
  line-height: 1;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, var(--purple-lt), #93b4fb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 12px 0;
}

.pricing-block-header p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.65;
  margin-top: 8px;
}

/* Management tiers */
.mgmt-tiers {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mgmt-tier {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-lt);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, background 0.2s;
}
.mgmt-tier:hover {
  background: rgba(124,58,237,0.08);
  border-color: rgba(124,58,237,0.3);
}
.mgmt-tier-name {
  font-family: 'Volkhov', serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  white-space: nowrap;
}
.mgmt-tier-desc {
  font-size: 13px;
  color: var(--text-dim);
  text-align: right;
}

/* ---- TESTIMONIALS TICKER ---- */
.testimonials {
  padding: 80px 0 32px;
  overflow: hidden;
}

.carousel-track-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.carousel-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: ticker 30s linear infinite;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes ticker-reverse {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* Second row hidden on desktop */
.carousel-track-wrap--row2 { display: none; }

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-lt);
  border-radius: var(--radius);
  padding: 22px 26px 20px;
  width: 340px;
  flex-shrink: 0;
  opacity: 1 !important;
  transform: none !important;
}

.stars {
  font-size: 16px;
  margin-bottom: 12px;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #7c3aed, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.testimonial-card > p {
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.65;
  margin-bottom: 16px;
}

.testimonial-author {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 700;
  margin-top: 20px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.carousel-dot.active {
  background: var(--purple-lt);
  transform: scale(1.3);
}

/* ---- FAQ ---- */
.faq { padding: 48px 0 100px; }

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 48px;
  border: 1px solid var(--border-lt);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item {
  background: var(--bg-card);
  padding: 32px 36px;
  border: 1px solid var(--border-lt);
  transition: background 0.2s;
}
.faq-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.faq-item p { color: var(--text-dim); font-size: 14px; line-height: 1.65; }

/* ---- FOOTER CTA ---- */
.footer {
  position: relative;
  overflow: hidden;
  background: #090A13;
  text-align: center;
  padding: 160px 24px 100px;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 320px;
  background: linear-gradient(
    to bottom,
    #090A13 0%,
    rgba(9, 10, 19, 0.96) 10%,
    rgba(9, 10, 19, 0.82) 22%,
    rgba(9, 10, 19, 0.55) 40%,
    rgba(9, 10, 19, 0.25) 60%,
    rgba(9, 10, 19, 0.08) 80%,
    transparent 100%
  );
  z-index: 4;
  pointer-events: none;
}

#stars-contact {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

#contact-shader-2 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
}

#contact-shader-1 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  opacity: 0.75;
}

#footer-shader-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
}

.footer-cta {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 600px;
  margin: 0 auto 80px;
  text-align: center;
}

.footer-cta-heading {
  font-family: 'Rakkas', serif;
  font-size: clamp(48px, 10vw, 120px);
  line-height: 1;
  letter-spacing: 0.05em;
  white-space: nowrap;
  display: block;
  background: linear-gradient(to right, #8b3cf7, #5b50f0, #93b4fb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 48px;
}

.footer-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-input,
.footer-select {
  width: 100%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 14px 20px;
  color: #fff;
  font-family: 'Volkhov', serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}

.footer-input::placeholder { color: rgba(255, 255, 255, 0.35); }

.footer-input:focus,
.footer-select:focus { border-color: rgba(124, 58, 237, 0.6); }

.footer-form-row {
  display: flex;
  gap: 12px;
}

.footer-form-row .footer-input {
  flex: 1;
}

.custom-select {
  position: relative;
  z-index: 5;
  user-select: none;
}

.custom-select-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 14px 20px;
  color: rgba(255, 255, 255, 0.35);
  font-family: 'Volkhov', serif;
  font-size: 15px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.custom-select.open .custom-select-trigger {
  border-color: rgba(124, 58, 237, 0.6);
}

.custom-select-trigger.has-value { color: #fff; }

.custom-select-arrow {
  color: rgba(255, 255, 255, 0.45);
  transition: transform 0.2s;
  font-size: 16px;
}

.custom-select.open .custom-select-arrow {
  transform: rotate(0deg);
}

.custom-select-options {
  display: none;
  position: absolute;
  bottom: 100%;
  top: auto;
  left: 0;
  width: 50%;
  background: rgba(13, 13, 26, 0.80);
  border: 1px solid rgba(124, 58, 237, 0.5);
  border-radius: 12px;
  margin-bottom: 6px;
  overflow: hidden;
  z-index: 20;
  backdrop-filter: blur(20px);
}

.custom-select.open .custom-select-options { display: block; }

.custom-select-option {
  padding: 13px 20px;
  color: rgba(255, 255, 255, 0.65);
  font-family: 'Volkhov', serif;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.custom-select-option:hover {
  background: rgba(124, 58, 237, 0.2);
  color: #fff;
}

.custom-select-option.selected {
  background: rgba(124, 58, 237, 0.3);
  color: #fff;
}

.footer-submit {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

.footer-bottom {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  max-width: 600px;
  margin: 0 auto;
  padding: 24px 0 0;
}

.logo { display: flex; flex-direction: column; line-height: 1; margin-bottom: 12px; }
.logo-nova {
  font-family: 'Rakkas', serif;
  font-size: 22px;
  letter-spacing: 0.32em;
  background: linear-gradient(to right, #8b3cf7, #5b50f0, #93b4fb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-sub {
  font-family: 'Volkhov', serif;
  font-weight: 700;
  font-size: 8px;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  margin-top: 4px;
}

.footer-brand p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.65;
  max-width: 280px;
}

.footer-links h5,
.footer-contact h5 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 18px;
}

.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  text-decoration: none;
  color: var(--text-dim);
  font-size: 14px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }

.footer-contact p { font-size: 14px; }
.footer-contact a { color: var(--purple-lt); text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }

.social-links { display: flex; gap: 12px; margin-top: 18px; }
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-lt);
  color: var(--text-dim) !important;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none !important;
  transition: border-color 0.2s, color 0.2s;
}
.social-links a:hover { border-color: var(--purple-lt); color: var(--text) !important; }

.footer-bottom p { font-size: 13px; color: var(--text-dim); }
.footer-bottom a { color: var(--text-dim); text-decoration: none; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--text); }


.nav-start span {
  padding: 7px 18px;
  font-size: 14px;
}

@keyframes rainbow-shift {
  0%   { background-position: 0 0; }
  50%  { background-position: 400% 0; }
  100% { background-position: 0 0; }
}

/* ---- ANIMATIONS ---- */
@keyframes navDrop {
  from { opacity: 0; transform: translateX(-50%) translateY(-32px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@keyframes navRise {
  from { opacity: 0; transform: translateX(-50%) translateY(32px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@keyframes heroFade {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeScroll {
  from { opacity: 0; transform: translateX(-50%) translateY(24px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.nav {
  animation: navDrop 2s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 1.8s;
}

.hero-inner {
  animation: heroFade 2.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 1s;
}
.hero-scroll {
  animation: heroFadeScroll 2.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 1.6s;
}

.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Section-level fade-in */
.section-fade {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.section-fade.visible { opacity: 1; transform: translateY(0); }


/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .work-card--large { grid-column: span 2; }
  .pricing-two-col { flex-direction: column; align-items: center; }
  .pricing-block { width: 100%; max-width: 420px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial-card--featured { transform: scale(1); }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  /* Nav — bottom bar on mobile */
  .nav {
    top: auto;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    animation: navRise 2s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 1.8s;
  }
  .nav-pill {
    padding: 6px 8px;
    gap: 2px;
    background: rgba(8, 8, 18, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
      0 -4px 24px rgba(0,0,0,0.4),
      0 8px 32px rgba(0,0,0,0.5),
      inset 0 1px 0 rgba(255,255,255,0.12);
  }
  .nav-pill a { font-size: 12px; padding: 7px 14px; }

  /* Testimonials — 2 rows, smaller cards */
  .testimonials { padding: 48px 0 24px; }
  .pricing { padding: 40px 0 40px; }
  .faq { padding: 40px 0; }
  .carousel-track-wrap--row2 { display: block; margin-top: 24px; }
  .carousel-track--reverse { animation: ticker-reverse 25s linear infinite; }
  .testimonial-card {
    width: 260px;
    padding: 16px 18px 14px;
  }
  .testimonial-card > p { font-size: 12px; line-height: 1.6; margin-bottom: 12px; }
  .testimonial-author { font-size: 12px; }
  .stars { font-size: 13px; margin-bottom: 10px; }

  /* Hero */
  .hero-logo-nova { letter-spacing: 0.18em; }

  /* Work */
  .work-grid { grid-template-columns: 1fr; }
  .work-card--large { grid-column: span 1; }

  /* Pricing */
  .pricing-two-col { flex-direction: column; align-items: center; }
  .pricing-block { width: 100%; max-width: 100%; padding: 32px 20px; }

  /* FAQ — accordion */
  .faq-grid { grid-template-columns: 1fr; }
  .faq-item { cursor: pointer; padding: 20px 24px; }
  .faq-item h4 { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 0; }
  .faq-item h4::after { content: '+'; font-size: 20px; font-weight: 300; color: var(--text-dim); flex-shrink: 0; transition: transform 0.25s; }
  .faq-item.open h4::after { transform: rotate(45deg); }
  .faq-item p { height: 0; overflow: hidden; transition: height 0.35s cubic-bezier(0.22, 1, 0.36, 1), margin-top 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease; margin-top: 0; opacity: 0; }
  .faq-item.open p { margin-top: 12px; opacity: 1; }

  /* Contact */
  .footer { padding: 160px 16px 140px; }
  .footer-form-row { flex-direction: column; }

  /* Footer bar */
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
}
