/* ====== CUSTOM PROPERTIES ====== */
:root {
  --clr-bg-primary:    #0a0a0f;
  --clr-bg-secondary:  #111118;
  --clr-bg-card:       #16161f;
  --clr-bg-card-hover: #1c1c28;
  --clr-surface:       #1e1e2a;

  --clr-text-primary:  #e8e8f0;
  --clr-text-secondary:#9898aa;
  --clr-text-muted:    #5a5a6e;

  --clr-accent:        #00d4ff;
  --clr-accent-2:      #7b61ff;
  --clr-accent-glow:   rgba(0, 212, 255, 0.15);
  --clr-accent-glow-2: rgba(123, 97, 255, 0.15);
  --clr-gradient:      linear-gradient(135deg, #00d4ff 0%, #7b61ff 50%, #ff6bf0 100%);

  --clr-border:        rgba(255, 255, 255, 0.06);
  --clr-border-hover:  rgba(0, 212, 255, 0.3);

  --font-heading: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', 'Consolas', monospace;

  --container-max: 1200px;
  --section-pad-y: 6rem;
  --section-pad-y-mobile: 3.5rem;
  --card-radius:   16px;
  --btn-radius:    10px;

  --z-nav:     100;
  --z-overlay: 1000;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ====== RESET & BASE ====== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--clr-bg-primary);
  color: var(--clr-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: var(--clr-accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #fff;
}

ul {
  list-style: none;
}

/* ====== LAYOUT ====== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--section-pad-y) 0;
  position: relative;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  text-align: center;
  color: var(--clr-text-secondary);
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
}

.gradient-text {
  background: var(--clr-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ====== BUTTONS ====== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--btn-radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--clr-gradient);
  color: #fff;
  box-shadow: 0 0 20px var(--clr-accent-glow);
}

.btn-primary:hover {
  box-shadow: 0 0 40px var(--clr-accent-glow), 0 0 80px var(--clr-accent-glow-2);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--clr-text-primary);
  border: 1px solid var(--clr-border);
}

.btn-ghost:hover {
  border-color: var(--clr-accent);
  box-shadow: 0 0 20px var(--clr-accent-glow);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

kbd {
  display: inline-block;
  padding: 0.15rem 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.8em;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: 4px;
  color: var(--clr-accent);
}

/* ====== NAVIGATION ====== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-nav);
  padding: 1rem 0;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}

.nav.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--clr-border);
  padding: 0.65rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--clr-text-primary);
  text-decoration: none;
}

.nav-logo:hover {
  color: var(--clr-text-primary);
}

.logo-accent {
  color: var(--clr-accent);
}

.logo-icon {
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--clr-text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--clr-accent);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-text-primary);
  transition: all 0.3s;
  border-radius: 2px;
}

.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-mobile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--clr-border);
}

.nav-mobile a {
  color: var(--clr-text-secondary);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-mobile a:hover {
  color: var(--clr-accent);
}

.hidden {
  display: none !important;
}

/* ====== HERO ====== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--clr-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--clr-border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.4;
}

.hero-glow-1 {
  background: var(--clr-accent);
  top: -10%;
  right: -5%;
}

.hero-glow-2 {
  background: var(--clr-accent-2);
  bottom: -10%;
  left: -5%;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--clr-accent);
  border: 1px solid rgba(0, 212, 255, 0.2);
  background: rgba(0, 212, 255, 0.05);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--clr-text-secondary);
  max-width: 650px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-video {
  max-width: 800px;
  margin: 0 auto 3rem;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--card-radius);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  box-shadow: 0 0 60px var(--clr-accent-glow);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-caption {
  text-align: center;
  color: var(--clr-text-muted);
  font-size: 0.85rem;
  margin-top: 0.75rem;
  font-style: italic;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--clr-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-unit {
  font-size: 0.6em;
}

.stat-label {
  display: block;
  color: var(--clr-text-secondary);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.hero-fine-print {
  text-align: center;
  color: var(--clr-text-muted);
  font-size: 0.75rem;
  max-width: 500px;
  margin: 0 auto;
}

/* ====== HOW IT WORKS ====== */
.hiw {
  background: var(--clr-bg-secondary);
}

.hiw-phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.hiw-phase {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--card-radius);
  padding: 2rem;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease-out-expo);
}

.hiw-phase:hover {
  border-color: var(--clr-border-hover);
  box-shadow: 0 0 30px var(--clr-accent-glow);
  transform: translateY(-4px);
}

.phase-number {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--clr-accent);
  opacity: 0.6;
  margin-bottom: 1rem;
}

.phase-icon {
  margin-bottom: 1.25rem;
}

.phase-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.phase-acronym {
  font-size: 0.8rem;
  color: var(--clr-accent);
  opacity: 0.7;
  margin-bottom: 1rem;
  font-family: var(--font-mono);
}

.phase-desc {
  color: var(--clr-text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.phase-stat {
  border-top: 1px solid var(--clr-border);
  padding-top: 1rem;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.phase-stat-value {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--clr-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.phase-stat-label {
  color: var(--clr-text-muted);
  font-size: 0.85rem;
}

/* ====== FEATURES ====== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--card-radius);
  padding: 2rem;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease-out-expo);
}

.feature-card:hover {
  border-color: var(--clr-border-hover);
  box-shadow: 0 0 30px var(--clr-accent-glow);
  transform: translateY(-4px);
}

.feature-icon {
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--clr-text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.feature-tag {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--clr-accent);
  border: 1px solid rgba(0, 212, 255, 0.2);
  background: rgba(0, 212, 255, 0.05);
}

/* ====== TESTIMONIALS ====== */
.testimonials {
  background: var(--clr-bg-secondary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--card-radius);
  padding: 2rem;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease-out-expo);
}

.testimonial-card:hover {
  border-color: var(--clr-border-hover);
  box-shadow: 0 0 30px var(--clr-accent-glow);
  transform: translateY(-4px);
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  color: var(--clr-text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--clr-accent);
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.testimonial-role {
  color: var(--clr-text-muted);
  font-size: 0.8rem;
}

/* ====== PRICING ====== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--card-radius);
  padding: 2.5rem 2rem;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease-out-expo);
}

.pricing-card:hover {
  border-color: var(--clr-border-hover);
  box-shadow: 0 0 30px var(--clr-accent-glow);
  transform: translateY(-4px);
}

.pricing-featured {
  border-color: var(--clr-accent);
  box-shadow: 0 0 40px var(--clr-accent-glow);
  position: relative;
  transform: scale(1.05);
}

.pricing-featured:hover {
  transform: scale(1.05) translateY(-4px);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--clr-gradient);
  color: #fff;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.pricing-tier {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.pricing-price {
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

.price-symbol {
  font-size: 1.2rem;
  color: var(--clr-text-secondary);
  vertical-align: top;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--clr-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-period {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
}

.pricing-desc {
  color: var(--clr-text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.pricing-features {
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.4rem 0;
  color: var(--clr-text-secondary);
  font-size: 0.9rem;
  position: relative;
  padding-left: 1.5rem;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--clr-accent);
  font-weight: 700;
}

.pricing-disabled {
  text-decoration: line-through;
  opacity: 0.4;
}

.pricing-features li:has(.pricing-disabled)::before {
  content: '✗';
  color: var(--clr-text-muted);
}

/* ====== COMPATIBILITY ====== */
.compatibility {
  background: var(--clr-bg-secondary);
}

.compat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.compat-item {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--card-radius);
  padding: 1.5rem;
  text-align: center;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease-out-expo);
}

.compat-item:hover {
  border-color: var(--clr-border-hover);
  box-shadow: 0 0 30px var(--clr-accent-glow);
  transform: translateY(-4px);
}

.compat-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.compat-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.compat-item p {
  color: var(--clr-text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.compat-brands {
  text-align: center;
}

.compat-brands-label {
  font-size: 0.8rem;
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.compat-brand-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.compat-brand-logos span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--clr-text-muted);
  padding: 0.5rem 1rem;
  border: 1px solid var(--clr-border);
  border-radius: 8px;
  transition: color 0.2s, border-color 0.2s;
}

.compat-brand-logos span:hover {
  color: var(--clr-accent);
  border-color: var(--clr-border-hover);
}

/* ====== FAQ ====== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--clr-border);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  background: none;
  border: none;
  color: var(--clr-text-primary);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  gap: 1rem;
}

.faq-question:hover {
  color: var(--clr-accent);
}

.faq-chevron {
  font-size: 1.5rem;
  color: var(--clr-accent);
  transition: transform 0.3s var(--ease-out-expo);
  flex-shrink: 0;
}

.faq-item.open .faq-chevron {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out-expo), padding 0.3s;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 1.5rem;
}

.faq-answer p {
  color: var(--clr-text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ====== FOOTER ====== */
.footer {
  border-top: 1px solid var(--clr-border);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  display: block;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: var(--clr-text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 3rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--clr-text-primary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col a {
  color: var(--clr-text-muted);
  font-size: 0.85rem;
  transition: color 0.2s;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--clr-accent);
}

.footer-bottom {
  border-top: 1px solid var(--clr-border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.footer-bottom p {
  color: var(--clr-text-muted);
  font-size: 0.75rem;
  line-height: 1.6;
  max-width: 600px;
}

.footer-social {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--clr-border);
  color: var(--clr-text-muted);
  transition: all 0.2s;
}

.footer-social a:hover {
  color: var(--clr-accent);
  border-color: var(--clr-border-hover);
  box-shadow: 0 0 15px var(--clr-accent-glow);
}

/* ====== SCROLL ANIMATIONS ====== */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ====== UNPRINT ANIMATION ====== */
body.unprinting {
  overflow: hidden;
}

body.unprinting .section,
body.unprinting .nav,
body.unprinting .footer {
  animation: unprint-dissolve 0.8s var(--ease-out-expo) forwards;
}

body.unprinting .footer         { animation-delay: 0.0s; }
body.unprinting #faq            { animation-delay: 0.1s; }
body.unprinting #compatibility  { animation-delay: 0.15s; }
body.unprinting #pricing        { animation-delay: 0.2s; }
body.unprinting #testimonials   { animation-delay: 0.25s; }
body.unprinting #features       { animation-delay: 0.3s; }
body.unprinting #how-it-works   { animation-delay: 0.35s; }
body.unprinting #hero           { animation-delay: 0.4s; }
body.unprinting .nav            { animation-delay: 0.5s; }

@keyframes unprint-dissolve {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
  50% {
    opacity: 0.5;
    transform: translateY(-40px) scale(0.97);
    filter: blur(2px);
  }
  100% {
    opacity: 0;
    transform: translateY(-120px) scale(0.9);
    filter: blur(8px);
    visibility: hidden;
  }
}

/* Reprint (reset) animation */
body.reprinting .section,
body.reprinting .nav,
body.reprinting .footer {
  animation: reprint-appear 0.6s var(--ease-out-expo) forwards;
}

@keyframes reprint-appear {
  0% {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    visibility: visible;
  }
}

/* ====== UNPRINT OVERLAY ====== */
.unprint-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background: var(--clr-bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s;
  overflow-y: auto;
}

.unprint-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.unprint-reveal {
  text-align: center;
  max-width: 700px;
  padding: 2rem;
  width: 100%;
}

.reveal-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 900;
  background: var(--clr-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  letter-spacing: -0.03em;
}

.unprint-overlay.active .reveal-title {
  animation: reveal-pop 0.6s var(--ease-out-back) 0.2s both;
}

@keyframes reveal-pop {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.reveal-subtitle {
  font-size: 1.2rem;
  color: var(--clr-text-secondary);
  margin: 1.5rem 0 2rem;
  line-height: 1.7;
  opacity: 0;
}

.unprint-overlay.active .reveal-subtitle {
  animation: reveal-fade-up 0.6s 0.5s var(--ease-out-expo) both;
}

.reveal-subtitle em {
  color: var(--clr-accent);
  font-style: normal;
  font-weight: 600;
}

@keyframes reveal-fade-up {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-video {
  margin: 2rem 0;
  opacity: 0;
}

.unprint-overlay.active .reveal-video {
  animation: reveal-fade-up 0.6s 0.7s var(--ease-out-expo) both;
}

.reveal-credit {
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  opacity: 0;
}

.reveal-credit a {
  color: var(--clr-accent);
  font-weight: 600;
}

.unprint-overlay.active .reveal-credit {
  animation: reveal-fade-up 0.6s 0.9s var(--ease-out-expo) both;
}

.reveal-share {
  margin-bottom: 1.5rem;
  opacity: 0;
}

.unprint-overlay.active .reveal-share {
  animation: reveal-fade-up 0.6s 1s var(--ease-out-expo) both;
}

.reveal-share p {
  color: var(--clr-text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.reveal-share-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.reveal-replay {
  opacity: 0;
}

.unprint-overlay.active .reveal-replay {
  animation: reveal-fade-up 0.6s 1.1s var(--ease-out-expo) both;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  .features-grid,
  .pricing-grid,
  .hiw-phases {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-featured {
    transform: scale(1);
  }

  .pricing-featured:hover {
    transform: translateY(-4px);
  }

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

  .footer-top {
    flex-direction: column;
  }

  .footer-brand {
    max-width: none;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad-y: var(--section-pad-y-mobile);
  }

  .nav-links {
    display: none;
  }

  .btn-nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .features-grid,
  .testimonials-grid,
  .pricing-grid,
  .hiw-phases,
  .compat-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta-group .btn {
    width: 100%;
    max-width: 320px;
  }

  .reveal-share-buttons {
    flex-direction: column;
    align-items: center;
  }
}
