/* ============================================
   WebVerse.ie - Premium Design System
   Theme: Midnight & Neon (Dark Mode Only)
   ============================================ */

/* ============================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================ */
:root {
  /* Core Palette - Midnight & Neon */
  --color-bg: #030305;
  --color-bg-secondary: #0A0A0F;
  --color-bg-tertiary: #12121A;

  --color-surface: rgba(20, 20, 30, 0.6);
  --color-surface-glass: rgba(10, 10, 15, 0.7);
  --color-surface-hover: rgba(30, 30, 45, 0.8);

  --color-primary: #3B82F6;
  --color-primary-glow: rgba(59, 130, 246, 0.5);
  --color-accent: #8B5CF6;
  --color-accent-glow: rgba(139, 92, 246, 0.5);
  --color-cyan: #06B6D4;

  --color-text: #F8FAFC;
  --color-text-secondary: #94A3B8;
  --color-text-tertiary: #475569;

  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-glow: rgba(255, 255, 255, 0.15);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
  --gradient-dark: linear-gradient(to bottom, #030305, #0A0A0F);
  --gradient-glow: radial-gradient(circle at center, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  --gradient-text: linear-gradient(to right, #FFFFFF, #94A3B8);
  --gradient-text-accent: linear-gradient(to right, #60A5FA, #A78BFA);

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing & Layout */
  --container-width: 1400px;
  --header-height: 80px;

  /* Effects */
  --blur-glass: 20px;
  --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.15);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);

  /* Animation Timing */
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

::selection {
  background: var(--color-primary);
  color: white;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-bg-tertiary);
  border-radius: 5px;
  border: 2px solid var(--color-bg);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-tertiary);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.display-text {
  font-size: clamp(2.5rem, 8vw, 6rem);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
}

.lead {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  font-weight: 300;
}

/* ============================================
   UTILITIES & COMPONENTS
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.glass-panel {
  background: var(--color-surface-glass);
  backdrop-filter: blur(var(--blur-glass));
  -webkit-backdrop-filter: blur(var(--blur-glass));
  border: 1px solid var(--color-border);
  border-radius: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: var(--color-text);
  color: var(--color-bg);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  z-index: -1;
  transition: opacity 0.4s ease;
  opacity: 0;
}

.btn-primary:hover {
  transform: translateY(-2px);
  color: white;
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover::before {
  opacity: 1;
}

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

.btn-outline:hover {
  border-color: var(--color-text);
  background: rgba(255, 255, 255, 0.05);
}

/* ============================================
   HEADER & NAV
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all 0.4s ease;
}

.navbar.scrolled {
  padding: 1rem 0;
  background: rgba(3, 3, 5, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
}

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

.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 1001;
  /* Ensure logo is above mobile menu overlay */
}

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.nav-link {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--color-text);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-primary);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
}

.mobile-menu-btn span {
  width: 100%;
  height: 2px;
  background: var(--color-text);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--color-bg);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-links {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s ease;
}

.mobile-nav-link:hover {
  color: var(--color-primary);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, var(--color-bg), transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 100px;
  color: var(--color-primary);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 2rem;
}

.hero-badge span {
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-primary);
}

#typing-text {
  border-right: 3px solid var(--color-primary);
  padding-right: 5px;
  animation: blink 0.7s infinite;
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  opacity: 0.7;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-10px);
  }

  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* ============================================
   SERVICES (Holographic Cards)
   ============================================ */
.services {
  padding: 8rem 0;
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.service-card {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  padding: 3rem;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.06), transparent 40%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 2;
}

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

.service-bg-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  opacity: 0.1;
  transition: all 0.6s ease;
  z-index: 0;
  pointer-events: none;
}

.service-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
}

.service-card:hover .service-bg-img {
  opacity: 0.2;
  transform: scale(1.1);
}

.service-content {
  position: relative;
  z-index: 1;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  color: var(--color-primary);
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* ============================================
   PORTFOLIO (Cinematic)
   ============================================ */
.portfolio {
  padding: 8rem 0;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  margin-top: 4rem;
}

.portfolio-item {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 16/10;
  cursor: pointer;
  box-shadow: var(--shadow-card);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out-expo);
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s var(--ease-out-expo);
}

.portfolio-item:hover .portfolio-info {
  transform: translateY(0);
  opacity: 1;
}

/* ============================================
   PROCESS (Timeline)
   ============================================ */
.process {
  padding: 8rem 0;
  background: var(--color-bg-secondary);
}

.process-steps {
  display: flex;
  justify-content: space-between;
  margin-top: 4rem;
  position: relative;
}

.process-line {
  position: absolute;
  top: 24px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-border);
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
  flex: 1;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-text-secondary);
  transition: all 0.4s ease;
}

.process-step:hover .step-number {
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  padding: 8rem 0;
  background: var(--color-bg-secondary);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 5rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  padding: 3rem;
  border-radius: 24px;
  position: relative;
  transition: all 0.4s var(--ease-out-expo);
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.quote-icon {
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--color-primary);
  opacity: 0.2;
  line-height: 0.5;
  margin-bottom: 1.5rem;
  margin-left: -0.5rem;
}

.testimonial-text {
  font-size: 1.15rem;
  color: var(--color-text);
  margin-bottom: 2.5rem;
  font-style: italic;
  line-height: 1.7;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
}

.author-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: var(--color-text);
}

.author-info p {
  font-size: 0.9rem;
  color: var(--color-primary);
  font-weight: 500;
}

/* ============================================
   FAQ
   ============================================ */
.faq {
  padding: 8rem 0;
  position: relative;
}

.faq-grid {
  max-width: 900px;
  margin: 5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(59, 130, 246, 0.3);
}

.faq-item.active {
  background: rgba(59, 130, 246, 0.05);
  border-color: var(--color-primary);
}

.faq-question {
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-question h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
  color: var(--color-text);
}

.toggle-icon {
  font-size: 1.75rem;
  color: var(--color-primary);
  transition: transform 0.4s var(--ease-out-expo);
  font-weight: 300;
}

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

.faq-answer p {
  padding-bottom: 2rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  font-size: 1.05rem;
}

.faq-item.active .toggle-icon {
  transform: rotate(45deg);
  color: var(--color-text);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* ============================================
   CONTACT & FOOTER
   ============================================ */
.skyline-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.4;
  pointer-events: none;
  filter: grayscale(100%);
}

.skyline-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom center;
  mask-image: linear-gradient(to top, black 20%, transparent 90%);
  -webkit-mask-image: linear-gradient(to top, black 20%, transparent 90%);
}

#contact .container {
  background: rgba(10, 10, 15, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 4rem;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 {
  transition-delay: 0.1s;
}

.stagger-2 {
  transition-delay: 0.2s;
}

.stagger-3 {
  transition-delay: 0.3s;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

.floating {
  animation: float 6s ease-in-out infinite;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .display-text {
    font-size: 3rem;
  }

  .nav-links,
  .desktop-only {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .process-steps {
    flex-direction: column;
    gap: 3rem;
  }

  .process-line {
    width: 2px;
    height: 100%;
    left: 24px;
    top: 0;
  }

  .process-step {
    text-align: left;
    padding-left: 4rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .step-number {
    position: absolute;
    left: 0;
    margin: 0;
  }

  #contact .container {
    padding: 2rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .faq-question {
    padding: 1.5rem;
  }

  .faq-question h3 {
    font-size: 1rem;
  }
}

/* ============================================
   COST ESTIMATOR MODAL
   ============================================ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(3, 3, 5, 0.8);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  padding: 1rem;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  width: 100%;
  max-width: 600px;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 2rem;
  position: relative;
  transform: translateY(20px);
  transition: all 0.4s var(--ease-out-expo);
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 10;
}

.modal-close:hover {
  color: var(--color-text);
}

.modal-header {
  margin-bottom: 2rem;
  text-align: center;
}

.modal-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-primary);
  width: 25%;
  transition: width 0.4s ease;
}

.modal-body {
  flex-grow: 1;
  margin-bottom: 2rem;
  overflow-x: hidden;
}

.step {
  display: none;
  animation: fadeIn 0.4s ease;
}

.step.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(10px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.step-question {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 600px) {
  .options-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

.option-card {
  position: relative;
  cursor: pointer;
}

.option-card input {
  position: absolute;
  opacity: 0;
}

.option-content {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.option-card:hover .option-content {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-2px);
}

.option-card input:checked+.option-content {
  background: rgba(59, 130, 246, 0.1);
  border-color: var(--color-primary);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
}

.option-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.option-details h5 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.option-details p {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.price-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent);
  background: rgba(139, 92, 246, 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.btn-sm {
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
}

/* Result Step */
.result-container {
  text-align: center;
  padding: 2rem 0;
}

.result-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: bounce 2s infinite;
}

.total-price {
  font-size: 3.5rem;
  font-weight: 700;
  background: var(--gradient-text-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 1rem 0;
  font-family: var(--font-heading);
}

.result-note {
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
}

.result-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 400px) {
  .result-actions {
    flex-direction: row;
    justify-content: center;
  }
}

/* Timeline Badge */
.timeline-estimate {
  display: inline-block;
  background: rgba(59, 130, 246, 0.1);
  color: var(--color-primary);
  border: 1px solid rgba(59, 130, 246, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

/* Confetti Canvas */
#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2001;
  /* Above modal */
}

/* ============================================
   CASE STUDY SLIDERS
   ============================================ */
.case-studies {
  padding: 8rem 0;
  background: var(--color-bg);
}

.sliders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 4rem;
  margin-top: 4rem;
}

@media (max-width: 768px) {
  .sliders-grid {
    grid-template-columns: 1fr;
  }
}

.case-study-card {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  overflow: hidden;
  padding: 1.5rem;
}

.slider-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 16px;
  overflow: hidden;
  cursor: col-resize;
  user-select: none;
}

.image-before,
.image-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.image-before img,
.image-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Remove bottom space */
}

/* The "After" image sits on top and is clipped */
.image-after {
  width: 50%;
  /* Initial state */
  border-right: 2px solid var(--color-primary);
  z-index: 2;
}

/* Fix for image scaling inside clipped container */
.image-after img {
  max-width: none;
  height: 100%;
}

.slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  width: 40px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  /* Let clicks pass through to container */
}

.handle-line {
  width: 2px;
  height: 100%;
  background: var(--color-primary);
  box-shadow: 0 0 10px var(--color-primary);
}

.handle-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.label-badge {
  position: absolute;
  top: 1rem;
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 100px;
  backdrop-filter: blur(4px);
  z-index: 1;
}

.label-badge.before {
  right: 1rem;
}

.label-badge.after {
  left: 1rem;
}

.case-info {
  margin-top: 1.5rem;
  text-align: center;
}

.case-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.case-info p {
  color: var(--color-text-secondary);
}