/* ==========================================================================
   FRAMEGEN — Architectural Digital Works & Systems
   Ultra-Premium, Modern, Smooth, Minimalist Aesthetic
   ========================================================================== */

:root {
  --bg-pure: #050507;
  --bg-surface: #09090d;
  --bg-card: #0b0b10;
  --bg-card-hover: #111118;
  --bg-glass: rgba(18, 18, 24, 0.65);
  --bg-glass-heavy: rgba(12, 12, 16, 0.92);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.15);
  --border-highlight: rgba(255, 255, 255, 0.35);
  --border-active: rgba(255, 255, 255, 0.85);
  
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.68);
  --text-muted: rgba(255, 255, 255, 0.4);
  --text-dim: rgba(255, 255, 255, 0.2);

  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --ease-luxury: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.35, 0.64, 1);
  --ease-smooth: cubic-bezier(0.25, 1, 0.5, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  overflow-y: auto;
  width: 100%;
  min-height: 100%;
}

body {
  width: 100%;
  min-height: 100%;
  overflow-x: clip;
  overflow-y: visible;
  background-color: var(--bg-pure);
  color: var(--text-primary);
  font-family: var(--font-sans);
  background: radial-gradient(ellipse at 50% -20%, #151522 0%, #050507 70%);
}

/* Film Grain Overlay */
.cinematic-grain {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Ambient Canvas Background */
#ambient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.75;
}

/* Dynamic Project Mood Aura */
.project-ambient-aura {
  position: fixed;
  top: 48%;
  left: 50%;
  width: 950px;
  height: 650px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
  filter: blur(95px);
  transition: background 1.2s var(--ease-luxury), opacity 1s ease;
  background: radial-gradient(ellipse at center, rgba(65, 105, 225, 0.25) 0%, rgba(30, 60, 160, 0.12) 45%, transparent 70%);
  will-change: background, transform;
}

/* Cursor Follower Glow */
.cursor-spotlight {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 35%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.4s ease;
  will-change: transform;
}

/* App Main Container */
.app-container {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 3;
  padding: 24px 40px 20px 40px;
}

/* ==========================================================================
   Header Navigation
   ========================================================================== */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 48px;
  z-index: 20;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 6px 0;
  transition: opacity 0.3s ease;
}

.brand-logo:hover {
  opacity: 0.9;
}

.logo-mark {
  width: 22px;
  height: 22px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  transition: transform 0.4s var(--ease-spring), border-color 0.3s ease, box-shadow 0.3s ease;
}

.logo-mark .mark-inner {
  width: 6px;
  height: 6px;
  background-color: #ffffff;
  border-radius: 1.5px;
  transition: transform 0.3s ease;
}

.brand-logo:hover .logo-mark {
  transform: rotate(45deg) scale(1.05);
  border-color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.45);
}

.brand-logo:hover .mark-inner {
  transform: scale(1.15);
}

.brand-text {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -0.04em;
  color: #ffffff;
}

/* Header Navigation Pills */
.header-nav {
  display: flex;
  align-items: center;
  gap: 3px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 3px 4px;
  border-radius: 100px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 4px 12px;
  border-radius: 100px;
  transition: all 0.25s ease;
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.header-pricing-btn {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.25s var(--ease-luxury);
}

.header-pricing-btn svg {
  width: 12px;
  height: 12px;
  color: #5eead4;
}

.header-pricing-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: translateY(-1px);
}

/* Scroll Down Pill */
.scroll-down-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(16, 16, 24, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: all 0.35s var(--ease-luxury);
  cursor: pointer;
}

.scroll-down-pill .pill-spark {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5eead4;
}

.scroll-down-pill .pill-spark svg {
  width: 13px;
  height: 13px;
  animation: sparkPulse 2.5s ease-in-out infinite;
}

@keyframes sparkPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.2) rotate(15deg); opacity: 1; filter: drop-shadow(0 0 6px rgba(94, 234, 212, 0.6)); }
}

.scroll-down-pill .pill-chevron {
  width: 13px;
  height: 13px;
  color: var(--text-muted);
  transition: transform 0.3s ease, color 0.3s ease;
  animation: chevronBounce 2s ease-in-out infinite;
}

@keyframes chevronBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

.scroll-down-pill:hover {
  background: rgba(28, 28, 40, 0.9);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.1);
}

.scroll-down-pill:hover .pill-chevron {
  color: #ffffff;
}

.header-center {
  display: flex;
  align-items: center;
}

/* Elegant Rolling Number Counter */
.carousel-counter {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.carousel-counter:hover {
  border-color: var(--border-medium);
  background: rgba(255, 255, 255, 0.05);
}

.counter-number-wrapper {
  display: inline-block;
  overflow: hidden;
  height: 1.2em;
  line-height: 1.2em;
  position: relative;
}

.counter-number {
  display: inline-block;
  color: #ffffff;
  font-weight: 600;
  transition: transform 0.4s var(--ease-luxury), opacity 0.4s ease;
}

.counter-number.sliding-out-up {
  transform: translateY(-100%);
  opacity: 0;
}

.counter-number.sliding-in-up {
  animation: slideInUp 0.38s var(--ease-luxury) forwards;
}

.counter-number.sliding-out-down {
  transform: translateY(100%);
  opacity: 0;
}

.counter-number.sliding-in-down {
  animation: slideInDown 0.38s var(--ease-luxury) forwards;
}

@keyframes slideInUp {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

@keyframes slideInDown {
  0% { transform: translateY(-100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

.counter-slash {
  color: var(--text-muted);
  opacity: 0.7;
}

.counter-total {
  color: var(--text-muted);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.action-btn {
  position: relative;
  background: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
  padding: 8px 18px;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s var(--ease-luxury), box-shadow 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.15);
}

.action-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: transform 0.6s ease;
}

.action-btn:hover::after {
  transform: translateX(200%);
}

.action-btn svg {
  width: 13px;
  height: 13px;
  transition: transform 0.3s var(--ease-spring);
}

.action-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.35);
}

.action-btn:active {
  transform: translateY(0) scale(0.98);
}

.action-btn:hover svg {
  transform: translate(2px, -2px);
}

/* ==========================================================================
   Hero Minimal Header & Slogan
   ========================================================================== */
.hero-statement {
  text-align: center;
  margin-top: 4px;
  margin-bottom: 2px;
  z-index: 10;
  pointer-events: none;
  animation: heroFadeIn 0.8s var(--ease-luxury) forwards;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-slogan {
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 2.9vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: #ffffff;
  line-height: 1.15;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.7);
}

.hero-meta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10px;
}

.hero-section-title {
  font-family: var(--font-sans);
  font-size: clamp(1.02rem, 1.35vw, 1.22rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.2;
}

.hero-subline {
  font-size: clamp(0.78rem, 0.92vw, 0.88rem);
  color: var(--text-secondary);
  margin-top: 4px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   Centerpiece Carousel Viewport
   ========================================================================== */
.carousel-viewport {
  position: relative;
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 2000px;
  perspective-origin: center center;
  margin: 4px 0;
  cursor: grab;
  touch-action: pan-y;
  min-height: 0;
}

.carousel-viewport:active {
  cursor: grabbing;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Navigation Arrow Controls */
.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(14, 14, 20, 0.72);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 25;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: transform 0.35s var(--ease-luxury), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.nav-arrow .arrow-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.nav-arrow:hover .arrow-glow {
  opacity: 1;
}

.nav-arrow svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s var(--ease-spring);
  position: relative;
  z-index: 1;
}

.nav-arrow-prev { left: 24px; }
.nav-arrow-next { right: 24px; }

.nav-arrow:hover {
  background: rgba(28, 28, 38, 0.85);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.25), 0 12px 35px rgba(0, 0, 0, 0.7);
  transform: translateY(-50%) scale(1.1);
}

.nav-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.nav-arrow-prev:hover svg { transform: translateX(-3px); }
.nav-arrow-next:hover svg { transform: translateX(3px); }

/* ==========================================================================
   Project Card (Ultra-Crisp Milled Obsidian Bezel)
   ========================================================================== */
.site-card {
  position: absolute;
  width: min(780px, 80vw, calc((54vh - 38px) * 1.81587));
  height: auto;
  max-height: 54vh;
  background: var(--bg-card);
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: 0 35px 90px -20px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.05);
  transform-origin: center center;
  transition: transform 0.65s var(--ease-luxury), opacity 0.65s var(--ease-luxury), filter 0.65s var(--ease-luxury), border-color 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  will-change: transform, opacity, filter;
  background-clip: padding-box;
}

/* Dynamic Cursor Specular Sheen on Card */
.site-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: radial-gradient(600px circle at var(--card-mouse-x, 50%) var(--card-mouse-y, 50%), rgba(255, 255, 255, 0.08), transparent 50%);
  pointer-events: none;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.site-card.is-active::before {
  opacity: 1;
}

.site-card.is-active {
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 45px 110px -15px rgba(0, 0, 0, 0.98), 0 0 60px var(--card-glow, rgba(255, 255, 255, 0.09)), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  filter: none;
  opacity: 1;
  pointer-events: auto;
}

.site-card:not(.is-active) {
  filter: brightness(0.52) blur(0.6px);
  opacity: 0.45;
}

.site-card:not(.is-active):hover {
  filter: brightness(0.85) blur(0px);
  opacity: 0.78;
  border-color: rgba(255, 255, 255, 0.22);
}

/* Card Browser Chrome */
.card-chrome {
  height: 38px;
  flex-shrink: 0;
  background: rgba(14, 14, 20, 0.96);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 3;
  backdrop-filter: blur(12px);
}

.card-chrome-dots {
  display: flex;
  align-items: center;
  gap: 6.5px;
}

.dot {
  width: 8.5px;
  height: 8.5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-card:hover .dot {
  transform: scale(1.08);
}

.dot-red { background: rgba(255, 95, 87, 0.85); box-shadow: 0 0 6px rgba(255, 95, 87, 0.3); }
.dot-yellow { background: rgba(254, 188, 46, 0.85); box-shadow: 0 0 6px rgba(254, 188, 46, 0.3); }
.dot-green { background: rgba(40, 200, 64, 0.85); box-shadow: 0 0 6px rgba(40, 200, 64, 0.3); }

.card-chrome-url {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3px 12px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-secondary);
  transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.site-card:hover .card-chrome-url {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.card-chrome-url svg {
  width: 10px;
  height: 10px;
  color: var(--text-muted);
}

.card-chrome-meta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* Card Visual Stage */
.card-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 3432 / 1890;
  overflow: hidden;
  background: #060608;
  display: flex;
  flex-direction: column;
}

.site-preview-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  z-index: 1;
  display: block;
  transition: transform 0.7s var(--ease-luxury), filter 0.5s ease;
}

.site-card:hover .site-preview-image {
  transform: scale(1.015);
}

.site-preview-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Clean Slide Overlay (CTA) */
.card-stage-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  padding: 16px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  pointer-events: none;
}

.card-open-btn {
  pointer-events: auto;
  background: rgba(14, 14, 20, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  padding: 7px 16px;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.3s var(--ease-luxury);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.card-open-btn svg {
  width: 13px;
  height: 13px;
  transition: transform 0.3s var(--ease-spring);
}

.card-open-btn:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.5), 0 4px 15px rgba(0, 0, 0, 0.6);
  transform: translateY(-2px) scale(1.04);
}

.card-open-btn:active {
  transform: translateY(0) scale(0.97);
}

.card-open-btn:hover svg {
  transform: translate(2px, -2px);
}

/* Card Mobile Meta Bar (Hidden on desktop, active on phone) */
.card-mobile-meta {
  display: none;
}

/* ==========================================================================
   Centerpiece CTA Stage (Sites, Contact & Response Time)
   ========================================================================== */
.center-cta-stage {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 6px 0 10px 0;
  z-index: 24;
  pointer-events: auto;
}

/* Ambient Radial Glow Halo Behind CTA Dock */
.center-cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 540px;
  height: 90px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.08) 0%, rgba(100, 140, 255, 0.05) 45%, transparent 75%);
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
  animation: ctaAuraBreath 6s ease-in-out infinite alternate;
}

@keyframes ctaAuraBreath {
  0% { opacity: 0.55; transform: translate(-50%, -50%) scale(0.92); }
  100% { opacity: 0.95; transform: translate(-50%, -50%) scale(1.08); }
}

/* Wrapper containing the three prominent dock capsules */
.center-cta-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 6px 8px;
  border-radius: 100px;
  background: rgba(12, 12, 18, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  z-index: 1;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s var(--ease-luxury);
}

.center-cta-wrapper:hover {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.9), 0 0 35px rgba(255, 255, 255, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Base CTA Button Shared Specs */
.big-cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  text-decoration: none;
  outline: none;
  overflow: hidden;
  will-change: transform, box-shadow;
  transition: transform 0.35s var(--ease-luxury), box-shadow 0.35s ease, background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

/* Diagonal Specular Sheen Sweep Animation */
.big-cta-btn .btn-shine {
  position: absolute;
  top: 0;
  left: -120%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
  transition: transform 0.75s var(--ease-smooth);
}

.big-cta-btn:hover .btn-shine {
  transform: skewX(-20deg) translateX(300%);
}

.big-cta-btn .btn-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.3s var(--ease-spring);
}

.big-cta-btn .btn-icon-box svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

.big-cta-btn .btn-text-content {
  display: flex;
  align-items: center;
  line-height: 1;
}

.big-cta-btn .btn-primary-label {
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* --- 1. SITES CTA BUTTON --- */
.big-cta-sites {
  background: rgba(22, 22, 30, 0.85);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.big-cta-sites .btn-count-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  min-width: 20px;
  padding: 0 6px;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.9);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.big-cta-sites:hover {
  background: rgba(32, 32, 44, 0.95);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.big-cta-sites:hover .btn-icon-box svg {
  transform: scale(1.1);
}

.big-cta-sites:active {
  transform: translateY(0);
}

/* --- 2. CONTACT CTA BUTTON (Pure White Pill) --- */
.big-cta-contact {
  background: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2), 0 8px 24px rgba(0, 0, 0, 0.5);
  padding: 0 24px;
}

.big-cta-contact .btn-icon-box {
  color: #000000;
}

.big-cta-contact .btn-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 18px;
  padding: 0 6px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #4b5563;
  transition: all 0.3s ease;
}

.status-pulse-ring {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  box-shadow: 0 0 6px #10b981;
}

.big-cta-contact:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.7), 0 12px 30px rgba(0, 0, 0, 0.6);
  transform: translateY(-2px);
}

.big-cta-contact:hover .btn-icon-box svg {
  transform: scale(1.1) rotate(-8deg);
}

.big-cta-contact:active {
  transform: translateY(0);
}

/* --- 3. STAT PILL (Avg. Response within 2h) --- */
.cta-stat-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 46px;
  padding: 0 18px;
  border-radius: 100px;
  background: rgba(22, 22, 30, 0.85);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  cursor: default;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.cta-stat-pill:hover {
  background: rgba(28, 28, 38, 0.95);
  border-color: rgba(255, 255, 255, 0.25);
}

.stat-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
}

.stat-icon-box svg {
  width: 15px;
  height: 15px;
}

.stat-text-box {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.1;
  text-align: left;
}

.stat-label {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.stat-sub {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   Footer Controls
   ========================================================================== */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 46px;
  z-index: 20;
}

.footer-left {
  display: flex;
  align-items: center;
  min-width: 180px;
}

.key-hints {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.key-pill-combo {
  display: flex;
  gap: 4px;
}

.key-pill {
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.key-pill:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transform: translateY(-1px);
}

.key-pill svg {
  width: 12px;
  height: 12px;
}

.hint-text {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.6);
}

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

.footer-info-pill {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 7px 20px;
  background: rgba(14, 14, 20, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.info-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.75);
}

.info-icon {
  width: 13px;
  height: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.info-divider {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.15);
}

.footer-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 180px;
}

.footer-right {
  display: flex;
  align-items: center;
}

.footer-cta-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-cta-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 7px 16px;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  transition: all 0.3s var(--ease-luxury);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.footer-cta-btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease-spring);
}

.footer-cta-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--text-primary);
  border-color: var(--border-highlight);
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.footer-cta-btn:active {
  transform: translateY(0);
}

.footer-cta-sites:hover svg {
  transform: rotate(90deg);
}

.footer-cta-contact {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.footer-cta-contact:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.35);
}

.footer-cta-contact:hover svg {
  transform: rotate(12deg) scale(1.1);
}

.view-mode-btn {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 7px 16px;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  transition: all 0.3s var(--ease-luxury);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.view-mode-btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease-spring);
}

.view-mode-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  border-color: var(--border-highlight);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.view-mode-btn:hover svg {
  transform: rotate(90deg);
}

/* ==========================================================================
   Apple-Style Modern Frosted Glass Modals
   ========================================================================== */

/* Shared Modal Overlay & Backdrop */
.modal-overlay,
.grid-modal-overlay,
.inquire-modal-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-luxury);
}

.modal-overlay.is-open,
.grid-modal-overlay.is-open,
.inquire-modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop,
.grid-modal-backdrop,
.inquire-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(35px) saturate(180%);
  -webkit-backdrop-filter: blur(35px) saturate(180%);
  transition: opacity 0.4s ease;
}

/* Modal Close Button (Apple VisionOS / macOS Style) */
.modal-close-btn {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.3s var(--ease-luxury);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  transform: scale(1.08);
  border-color: rgba(255, 255, 255, 0.35);
}

.modal-close-btn:active {
  transform: scale(0.94);
}

.modal-close-btn svg {
  width: 15px;
  height: 15px;
}

/* ==========================================================================
   1. Preview Modal (macOS Safari Live Stage)
   ========================================================================== */
.modal-container {
  position: relative;
  width: 94vw;
  height: 90vh;
  max-width: 1440px;
  background: rgba(14, 14, 20, 0.85);
  backdrop-filter: blur(45px) saturate(200%);
  -webkit-backdrop-filter: blur(45px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  box-shadow: 0 45px 120px -20px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.94) translateY(24px);
  transition: transform 0.48s var(--ease-luxury), opacity 0.4s ease;
  z-index: 2;
}

.modal-overlay.is-open .modal-container {
  transform: scale(1) translateY(0);
}

.modal-header {
  height: 52px;
  background: rgba(18, 18, 26, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
}

.modal-window-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.modal-url-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 5px 18px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-primary);
  min-width: 280px;
  justify-content: center;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
}

.url-lock {
  width: 11px;
  height: 11px;
  color: var(--text-muted);
}

.modal-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.device-switcher {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  padding: 3px;
  gap: 2px;
}

.device-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  width: 32px;
  height: 28px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.device-btn svg {
  width: 14px;
  height: 14px;
}

.device-btn:hover {
  color: var(--text-primary);
}

.device-btn.active {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.modal-body {
  flex: 1;
  display: flex;
  overflow: hidden;
}

.preview-stage {
  flex: 1;
  background: #030306;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
  position: relative;
}

.stage-viewport {
  background: #08080c;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.95);
  overflow: hidden;
  position: relative;
  transition: width 0.45s var(--ease-luxury), max-width 0.45s var(--ease-luxury), aspect-ratio 0.45s var(--ease-luxury);
  display: flex;
  flex-direction: column;
}

.stage-viewport.device-desktop {
  width: min(100%, calc(76vh * 1.81587));
  aspect-ratio: 3432 / 1890;
  max-height: 100%;
}

.stage-viewport.device-tablet {
  width: min(640px, 92%);
  aspect-ratio: 4 / 3;
  max-height: 88%;
}

.stage-viewport.device-mobile {
  width: min(330px, 85%);
  aspect-ratio: 9 / 18;
  max-height: 88%;
}

.live-render-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sim-image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #060608;
  overflow: hidden;
}

.modal-preview-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* Modal Sidebar */
.modal-sidebar {
  width: 340px;
  background: rgba(14, 14, 20, 0.75);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
}

.sidebar-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.modal-project-title {
  font-family: var(--font-sans);
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.client-meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 3px;
  letter-spacing: 0.02em;
}

.modal-project-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.section-heading {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.metric-box {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 10px 14px;
  border-radius: 12px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.metric-box:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.metric-value {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.metric-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tech-tag {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5px 10px;
  border-radius: 100px;
  color: var(--text-secondary);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.tech-tag:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.sidebar-footer {
  margin-top: 24px;
}

.modal-action-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #ffffff;
  color: #000000;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.84rem;
  padding: 12px 20px;
  border-radius: 100px;
  transition: all 0.3s var(--ease-luxury);
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.25);
}

.modal-action-cta:hover {
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.5);
  transform: translateY(-2px) scale(1.02);
}

.modal-action-cta svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.modal-action-cta:hover svg {
  transform: translate(2px, -2px);
}

/* ==========================================================================
   2. Grid Archive Modal (Apple Sheet Gallery)
   ========================================================================== */
.grid-modal-content {
  position: relative;
  width: 90vw;
  max-width: 1160px;
  max-height: 85vh;
  background: rgba(14, 14, 20, 0.85);
  backdrop-filter: blur(45px) saturate(200%);
  -webkit-backdrop-filter: blur(45px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 2;
  box-shadow: 0 45px 120px -20px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: scale(0.94) translateY(24px);
  transition: transform 0.48s var(--ease-luxury), opacity 0.4s ease;
}

.grid-modal-overlay.is-open .grid-modal-content {
  transform: scale(1) translateY(0);
}

.grid-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.grid-title {
  font-family: var(--font-sans);
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
}

.grid-subtitle {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.grid-items-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  overflow-y: auto;
  padding-right: 6px;
}

.grid-item-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 14px;
  cursor: pointer;
  transition: all 0.35s var(--ease-luxury);
  display: flex;
  flex-direction: column;
}

.grid-item-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.grid-item-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 3432 / 1890;
  border-radius: 12px;
  overflow: hidden;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 12px;
}

.grid-item-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(10, 10, 16, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-secondary);
  max-width: 85%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.grid-item-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.5s var(--ease-luxury);
}

.grid-item-card:hover .grid-item-img {
  transform: scale(1.03);
}

.grid-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.grid-visit-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.grid-visit-btn:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.45);
}

.grid-visit-btn svg {
  width: 11px;
  height: 11px;
}

.grid-item-title {
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 3px;
}

.grid-item-desc {
  font-size: 0.76rem;
  color: var(--text-secondary);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   3. Inquire / Contact Modal (Apple-Style Direct Line Card)
   ========================================================================== */
.inquire-card {
  position: relative;
  width: min(440px, 92vw);
  background: rgba(16, 16, 24, 0.84);
  backdrop-filter: blur(45px) saturate(200%);
  -webkit-backdrop-filter: blur(45px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 26px;
  padding: 28px;
  box-shadow: 0 45px 120px -20px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  z-index: 2;
  transform: scale(0.94) translateY(24px);
  transition: transform 0.48s var(--ease-luxury), opacity 0.4s ease;
}

.inquire-modal-overlay.is-open .inquire-card {
  transform: scale(1) translateY(0);
}

.inquire-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}

.contact-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #5eead4;
  background: rgba(94, 234, 212, 0.12);
  border: 1px solid rgba(94, 234, 212, 0.3);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 6px;
}

.inquire-header h3 {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.025em;
}

.inquire-subtext {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.modal-package-selected-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 4px 12px;
  background: rgba(94, 234, 212, 0.12);
  border: 1px solid rgba(94, 234, 212, 0.35);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: #5eead4;
  animation: pillPopIn 0.3s var(--ease-spring);
}

@keyframes pillPopIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.modal-package-selected-pill svg {
  width: 12px;
  height: 12px;
}

/* Direct Phone Call Card */
.phone-call-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 20px;
  backdrop-filter: blur(20px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.phone-display-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.phone-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.phone-icon-wrap svg {
  width: 20px;
  height: 20px;
}

.phone-number-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.phone-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--text-muted);
}

.phone-number-value {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.phone-number-link:hover {
  color: #5eead4;
  text-shadow: 0 0 12px rgba(94, 234, 212, 0.4);
}

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

.call-now-btn {
  flex: 1;
  background: #ffffff;
  color: #000000;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s var(--ease-luxury);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.28);
}

.call-now-btn svg {
  width: 15px;
  height: 15px;
  transition: transform 0.3s var(--ease-spring);
}

.call-now-btn:hover {
  background: #f4f4f8;
  box-shadow: 0 0 28px rgba(255, 255, 255, 0.6);
  transform: translateY(-2px) scale(1.02);
}

.call-now-btn:hover svg {
  transform: rotate(12deg) scale(1.1);
}

.call-now-btn:active {
  transform: translateY(0) scale(0.98);
}

.copy-phone-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text-primary);
  padding: 12px 18px;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.25s ease;
}

.copy-phone-btn svg {
  width: 14px;
  height: 14px;
}

.copy-phone-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.copy-phone-btn.copied {
  background: rgba(16, 185, 129, 0.25);
  border-color: rgba(16, 185, 129, 0.6);
  color: #6ee7b7;
}

.phone-availability-tag {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.availability-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  display: inline-block;
  flex-shrink: 0;
  animation: liveDotPulse 2s ease-in-out infinite;
}

.copy-phone-btn svg {
  width: 14px;
  height: 14px;
}

.copy-phone-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

.copy-phone-btn.copied {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.5);
  color: #6ee7b7;
}

.modal-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 14px 0 16px 0;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.05em;
}

.modal-divider::before,
.modal-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-divider span {
  padding: 0 10px;
}

.inquire-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 10px 14px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.submit-inquiry-btn {
  margin-top: 6px;
  background: #ffffff;
  color: #000000;
  border: none;
  padding: 11px 20px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.3s var(--ease-luxury);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.submit-inquiry-btn:hover {
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
}

.submit-inquiry-btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.submit-inquiry-btn:hover svg {
  transform: translateX(3px);
}

.inquire-success {
  text-align: center;
  padding: 24px 12px;
}

.success-icon {
  width: 36px;
  height: 36px;
  color: #ffffff;
  margin-bottom: 12px;
}

.inquire-success h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.inquire-success p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   Responsive Adaptations & Phone-Specific Experience
   ========================================================================== */
@media (max-width: 900px) {
  .app-container {
    padding: 16px 20px 14px 20px;
  }

  .nav-arrow-prev { left: 12px; }
  .nav-arrow-next { right: 12px; }

  .site-card {
    width: min(88vw, calc((46vh - 38px) * 1.81587));
    height: auto;
    max-height: 48vh;
  }

  .center-cta-glow {
    width: 360px;
    height: 75px;
  }

  .modal-body {
    flex-direction: column;
  }

  .modal-sidebar {
    width: 100%;
    height: auto;
    max-height: 36vh;
    border-left: none;
    border-top: 1px solid var(--border-subtle);
  }

  .modal-url-bar {
    min-width: 160px;
  }

  .key-hints {
    display: none;
  }
}

/* ==========================================================================
   Phone Mode (<= 768px): Dedicated Luxury Mobile Experience
   ========================================================================== */
@media (max-width: 768px) {
  /* 1. App Container & Layout Balance */
  .app-container {
    padding: 12px 14px 14px 14px;
    min-height: 100vh;
    min-height: 100dvh;
    height: auto;
    justify-content: space-between;
  }

  /* 2. Header on Phone */
  .site-header {
    height: 40px;
  }

  .brand-text {
    font-size: 0.98rem;
    letter-spacing: -0.03em;
  }

  .logo-mark {
    width: 19px;
    height: 19px;
  }

  .action-btn {
    padding: 5px 12px;
    font-size: 0.75rem;
    gap: 4px;
  }

  .action-btn svg {
    width: 11px;
    height: 11px;
  }

  /* 3. Hero Statement on Phone */
  .hero-statement {
    margin-top: 14px;
    margin-bottom: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-slogan {
    font-size: 1.42rem;
    letter-spacing: -0.035em;
    line-height: 1.2;
    margin-bottom: 0px;
    padding: 0 8px;
    text-align: center;
  }

  .hero-meta-group {
    margin-top: 34px;
    margin-bottom: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-section-title {
    font-size: 0.95rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: #ffffff;
  }

  .hero-subline {
    font-size: 0.73rem;
    color: var(--text-secondary);
    margin-top: 3px;
  }

  /* 4. Carousel & Card Presentation on Phone */
  .carousel-viewport {
    flex: 1;
    min-height: 220px;
    max-height: 50vh;
    margin: 4px 0 0 0;
    perspective: 1200px;
    touch-action: pan-y;
  }

  /* Hide intrusive side arrows on touchscreens to give cards full breathing room */
  .nav-arrow {
    display: none !important;
  }

  .site-card {
    width: min(88vw, 350px);
    height: auto;
    max-height: 48vh;
    border-radius: 16px;
    background: #09090e;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 24px 60px -10px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  }

  .site-card.is-active {
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 28px 70px -10px rgba(0, 0, 0, 0.98), 0 0 45px var(--card-glow, rgba(255, 255, 255, 0.1)), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  }

  .card-chrome {
    height: 32px;
    padding: 0 12px;
    background: rgba(14, 14, 22, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .dot {
    width: 6.5px;
    height: 6.5px;
  }

  .card-chrome-url {
    padding: 2px 8px;
    font-size: 0.58rem;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    gap: 4px;
  }

  .card-chrome-url svg {
    width: 8px;
    height: 8px;
  }

  .card-chrome-meta {
    font-size: 0.6rem;
  }

  /* Visual Preview Stage */
  .card-stage {
    aspect-ratio: 3432 / 1890;
    background: #030306;
    position: relative;
    overflow: hidden;
  }

  .site-preview-image {
    object-fit: contain;
    background: #030306;
  }

  /* Corner Visit Button inside Preview Image */
  .card-stage-overlay {
    display: flex !important;
    position: absolute;
    inset: 0;
    z-index: 6;
    width: 100%;
    height: 100%;
    padding: 10px;
    align-items: flex-end;
    justify-content: flex-end;
    pointer-events: none;
  }

  .card-open-btn {
    pointer-events: auto;
    background: rgba(12, 12, 18, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 5px 11px;
    border-radius: 100px;
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: all 0.25s var(--ease-luxury);
  }

  .card-open-btn:active, .card-open-btn:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    box-shadow: 0 0 24px rgba(255, 255, 255, 0.7);
    transform: scale(1.05);
  }

  .card-open-btn svg {
    width: 10px;
    height: 10px;
  }

  /* 5. Center CTA Stage on Phone - Single Sleek Horizontal Capsule */
  .center-cta-stage {
    margin: 8px 0 6px 0;
    width: 100%;
  }

  .center-cta-glow {
    width: 290px;
    height: 50px;
  }

  .center-cta-wrapper {
    gap: 6px;
    padding: 4px 6px;
    border-radius: 100px;
    max-width: 100%;
    flex-wrap: nowrap;
    justify-content: center;
  }

  .big-cta-btn {
    height: 36px;
    padding: 0 11px;
    font-size: 0.75rem;
    gap: 5px;
  }

  .big-cta-btn .btn-icon-box svg {
    width: 13px;
    height: 13px;
  }

  .big-cta-btn .btn-count-tag {
    font-size: 0.6rem;
    padding: 0 4px;
    height: 16px;
    min-width: 16px;
  }

  .big-cta-contact {
    padding: 0 14px;
  }

  .big-cta-btn .btn-status-tag {
    font-size: 0.55rem;
    padding: 0 4px;
    height: 15px;
    gap: 3px;
  }

  .status-pulse-ring {
    width: 4px;
    height: 4px;
  }

  .cta-stat-pill {
    height: 36px;
    padding: 0 9px;
    gap: 5px;
  }

  .stat-icon-box svg {
    width: 12px;
    height: 12px;
  }

  .stat-label {
    font-size: 0.56rem;
  }

  .stat-sub {
    font-size: 0.62rem;
  }

  /* 6. Footer on Phone */
  .site-footer {
    height: 36px;
    justify-content: center;
  }

  .footer-left,
  .footer-right {
    display: none;
  }

  .footer-center {
    width: 100%;
    justify-content: center;
  }

  .footer-info-pill {
    padding: 5px 14px;
    gap: 9px;
  }

  .info-item {
    font-size: 0.68rem;
    gap: 5px;
  }

  .info-icon {
    width: 11px;
    height: 11px;
  }

  /* 7. Dedicated Phone Contact Experience */
  .inquire-card {
    width: min(92vw, 380px);
    padding: 24px 20px;
    border-radius: 24px;
    background: rgba(14, 14, 20, 0.88);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.98), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  }

  .inquire-header {
    margin-bottom: 14px;
  }

  .inquire-header h3 {
    font-size: 1.25rem;
  }

  .inquire-subtext {
    font-size: 0.76rem;
  }

  .phone-call-card {
    margin-bottom: 0;
    padding: 16px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.16);
  }

  .phone-display-row {
    gap: 12px;
    margin-bottom: 14px;
  }

  .phone-icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .phone-icon-wrap svg {
    width: 19px;
    height: 19px;
  }

  .phone-number-value {
    font-size: 1.3rem;
  }

  .phone-actions-row {
    gap: 8px;
  }

  .call-now-btn {
    padding: 11px 16px;
    font-size: 0.84rem;
  }

  .copy-phone-btn {
    padding: 11px 14px;
    font-size: 0.78rem;
  }

  .phone-availability-tag {
    font-size: 0.65rem;
    margin-top: 12px;
    padding-top: 10px;
  }
}

/* ==========================================================================
   Packages & Pricing Section (Obsidian Digital Works Tier System)
   ========================================================================== */
.packages-section {
  position: relative;
  width: 100%;
  padding: 120px 40px 80px 40px;
  background: linear-gradient(180deg, rgba(5, 5, 7, 0) 0%, rgba(9, 9, 14, 0.75) 15%, #07070a 50%, #050507 100%);
  z-index: 5;
  overflow: hidden;
}

/* Ambient Radial Light Behind Packages */
.packages-ambient-glow {
  position: absolute;
  top: 35%;
  left: 50%;
  width: 1100px;
  height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(79, 140, 255, 0.14) 0%, rgba(94, 234, 212, 0.08) 35%, transparent 70%);
  filter: blur(110px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.75;
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: transform, opacity;
}

.packages-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

/* Header */
.packages-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 760px;
  margin: 0 auto 60px auto;
}

.section-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 15px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #5eead4;
  margin-bottom: 18px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.tag-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5eead4;
  box-shadow: 0 0 8px #5eead4;
  animation: liveDotPulse 2s ease-in-out infinite;
}

.packages-title {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 3.2vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: #ffffff;
  line-height: 1.16;
  margin-bottom: 14px;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.8);
}

.packages-subtitle {
  font-size: clamp(0.88rem, 1.05vw, 1rem);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 640px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* Quality Perks Bar */
.packages-perks-bar {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding: 7px 22px;
  background: rgba(18, 18, 26, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  font-size: 0.76rem;
  color: var(--text-secondary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.perk-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-sans);
  font-weight: 500;
}

.perk-item svg {
  width: 13px;
  height: 13px;
  color: #5eead4;
}

.perk-sep {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.15);
}

/* 3-Box Packages Grid */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
  margin-bottom: 60px;
  perspective: 1200px;
}

/* Package Card Base */
.package-card {
  position: relative;
  background: rgba(13, 13, 19, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(40px) saturate(190%);
  -webkit-backdrop-filter: blur(40px) saturate(190%);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: transform 0.6s var(--ease-luxury), border-color 0.4s ease, box-shadow 0.4s ease, opacity 0.8s var(--ease-luxury), filter 0.8s ease;
  transform-style: preserve-3d;
  will-change: transform, opacity, filter;
  overflow: hidden;
}

.package-card-inner {
  position: relative;
  z-index: 2;
  padding: 34px 30px 30px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

/* Dynamic Specular Sheen on Hover & Mousemove */
.card-glass-sheen {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: radial-gradient(550px circle at var(--card-mouse-x, 50%) var(--card-mouse-y, 50%), rgba(255, 255, 255, 0.08), transparent 60%);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.package-card:hover .card-glass-sheen {
  opacity: 1;
}

.package-card:hover {
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 45px 110px -15px rgba(0, 0, 0, 0.95), 0 0 40px rgba(255, 255, 255, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

/* Featured / Signature Package Box (Middle) */
.package-card.package-featured {
  background: rgba(16, 16, 26, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 35px 100px -15px rgba(0, 0, 0, 0.95), 0 0 50px rgba(94, 234, 212, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.featured-glow-halo {
  position: absolute;
  inset: -1.5px;
  border-radius: 25.5px;
  background: linear-gradient(135deg, rgba(94, 234, 212, 0.45) 0%, rgba(79, 140, 255, 0.35) 50%, rgba(255, 255, 255, 0.15) 100%);
  z-index: 0;
  opacity: 0.7;
  filter: blur(3px);
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.package-card.package-featured:hover .featured-glow-halo {
  opacity: 1;
}

.package-card.package-featured:hover {
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 50px 130px -10px rgba(0, 0, 0, 0.98), 0 0 75px rgba(94, 234, 212, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

/* Card Header & Content */
.package-top {
  display: flex;
  flex-direction: column;
}

.package-badge-wrap {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}

.tier-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3px 10px;
  border-radius: 100px;
}

.tier-badge.featured-badge {
  color: #5eead4;
  background: rgba(94, 234, 212, 0.14);
  border-color: rgba(94, 234, 212, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 0 18px rgba(94, 234, 212, 0.25);
}

.tier-badge.featured-badge .badge-spark {
  display: flex;
  align-items: center;
}

.tier-badge.featured-badge .badge-spark svg {
  width: 10px;
  height: 10px;
}

.package-name {
  font-family: var(--font-sans);
  font-size: 1.48rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
  line-height: 1.2;
}

.package-summary {
  font-size: 0.81rem;
  color: var(--text-secondary);
  line-height: 1.5;
  min-height: 50px;
  margin-bottom: 18px;
}

.package-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-bottom: 12px;
}

.price-currency {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.price-amount {
  font-family: var(--font-sans);
  font-size: 2.6rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.04em;
  line-height: 1;
}

.price-type {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-left: 4px;
}

.package-timeline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 4px 10px;
  border-radius: 8px;
  width: fit-content;
}

.package-timeline svg {
  width: 11px;
  height: 11px;
  color: var(--text-muted);
}

.package-timeline.featured-timeline {
  background: rgba(94, 234, 212, 0.08);
  border-color: rgba(94, 234, 212, 0.22);
  color: rgba(255, 255, 255, 0.95);
}

.package-timeline.featured-timeline svg {
  color: #5eead4;
}

.package-divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  margin: 22px 0;
}

/* Feature List */
.package-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex: 1;
}

.features-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.45;
  transition: color 0.2s ease, transform 0.2s ease;
}

.feature-item strong {
  color: #ffffff;
  font-weight: 600;
}

.feature-item:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.check-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.check-icon svg {
  width: 10px;
  height: 10px;
  color: #5eead4;
  stroke-width: 2.5;
}

.package-featured .check-icon {
  background: rgba(94, 234, 212, 0.14);
  border-color: rgba(94, 234, 212, 0.35);
}

/* Package CTA Button */
.package-footer {
  margin-top: auto;
}

.package-btn {
  width: 100%;
  height: 46px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s var(--ease-luxury);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  overflow: hidden;
  position: relative;
}

.package-btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease-spring);
}

.package-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.15);
}

.package-btn:hover svg {
  transform: translateX(4px);
}

.package-btn-featured {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  box-shadow: 0 6px 24px rgba(255, 255, 255, 0.28), 0 4px 14px rgba(0, 0, 0, 0.5);
}

.package-btn-featured:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.75), 0 10px 30px rgba(0, 0, 0, 0.6);
  transform: translateY(-2px) scale(1.02);
}

.package-btn-featured .btn-shine {
  position: absolute;
  top: 0;
  left: -120%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-20deg);
  transition: transform 0.75s var(--ease-smooth);
}

.package-btn-featured:hover .btn-shine {
  transform: skewX(-20deg) translateX(300%);
}

/* Custom Retainer / Consultation Banner */
.packages-bottom-banner {
  margin-top: 10px;
  margin-bottom: 60px;
  border-radius: 20px;
  background: rgba(14, 14, 20, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 30px;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

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

.banner-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(94, 234, 212, 0.12);
  border: 1px solid rgba(94, 234, 212, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5eead4;
  flex-shrink: 0;
}

.banner-icon-wrap svg {
  width: 20px;
  height: 20px;
}

.packages-bottom-banner .banner-text {
  flex: 1;
}

.packages-bottom-banner h4 {
  font-family: var(--font-sans);
  font-size: 1.08rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.packages-bottom-banner p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Page Signoff Footer */
.packages-page-footer {
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  padding: 0;
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-sep {
  color: var(--text-dim);
}

/* ==========================================================================
   Scroll Animations Engine (CSS Classes)
   ========================================================================== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(35px);
  filter: blur(6px);
  transition: opacity 0.85s var(--ease-luxury), transform 0.85s var(--ease-luxury), filter 0.85s ease;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.scroll-card {
  opacity: 0;
  transform: translateY(50px) scale(0.96);
  filter: blur(8px);
  transition: opacity 0.9s var(--ease-luxury), transform 0.9s var(--ease-luxury), filter 0.9s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.scroll-card[data-delay="1"] { transition-delay: 0.06s; }
.scroll-card[data-delay="2"] { transition-delay: 0.18s; }
.scroll-card[data-delay="3"] { transition-delay: 0.30s; }

.scroll-card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Parallax floating offset support when scrolling */
.scroll-card.is-visible.package-featured {
  transform: translateY(calc(-10px + var(--card-scroll-offset, 0px) * -0.4)) scale(1.02);
}

.scroll-card.is-visible:not(.package-featured) {
  transform: translateY(calc(var(--card-scroll-offset, 0px) * 0.3)) scale(1);
}

/* ==========================================================================
   Responsive Adaptations for Packages
   ========================================================================== */
@media (max-width: 1024px) {
  .packages-grid {
    grid-template-columns: 1fr;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    gap: 24px;
  }

  .package-card.package-featured {
    transform: none;
  }

  .scroll-card.is-visible.package-featured {
    transform: translateY(0) scale(1);
  }

  .packages-section {
    padding: 80px 24px 60px 24px;
  }
}

@media (max-width: 768px) {
  .header-nav {
    display: none;
  }

  .header-pricing-btn {
    padding: 5px 11px;
    font-size: 0.72rem;
    gap: 4px;
  }

  .packages-section {
    padding: 60px 16px 40px 16px;
  }

  .packages-ambient-glow {
    width: 320px;
    height: 320px;
  }

  .packages-header {
    margin-bottom: 36px;
  }

  .packages-title {
    font-size: 1.55rem;
    line-height: 1.2;
  }

  .packages-subtitle {
    font-size: 0.8rem;
  }

  .packages-perks-bar {
    flex-direction: column;
    gap: 8px;
    border-radius: 16px;
    padding: 10px 16px;
    align-items: flex-start;
  }

  .perk-sep {
    display: none;
  }

  .package-card-inner {
    padding: 24px 20px;
  }

  .package-name {
    font-size: 1.3rem;
  }

  .price-amount {
    font-size: 2.2rem;
  }

  .package-summary {
    min-height: 0;
    margin-bottom: 14px;
  }

  .packages-bottom-banner .banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .banner-icon-wrap {
    display: none;
  }

  .footer-brand-row,
  .footer-meta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 400px) {
  .site-card {
    width: 90vw;
  }

  .big-cta-btn {
    padding: 0 12px;
    font-size: 0.8rem;
    gap: 5px;
  }

  .hero-slogan {
    font-size: 1.18rem;
  }
}
