/* ==========================================================================
   DAWARE.IN LANDING PAGE STYLESHEET
   Description: Premium, Clean, Modern Dark-Theme Design System & Styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design System & Variables
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Colors */
  --bg-primary: #030712;
  --bg-secondary: #0b1120;
  --bg-tertiary: #111b30;
  
  --text-primary: #f9fafb;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  
  --accent-cyan: #06b6d4;
  --accent-teal: #14b8a6;
  --accent-purple: #8b5cf6;
  --accent-indigo: #6366f1;
  --accent-pink: #ec4899;
  
  /* Gradients */
  --gradient-accent-1: linear-gradient(135deg, var(--accent-cyan), var(--accent-teal));
  --gradient-accent-2: linear-gradient(135deg, var(--accent-indigo), var(--accent-purple));
  --gradient-accent-3: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
  --gradient-dark: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  --gradient-text: linear-gradient(135deg, #ffffff 30%, #e5e7eb 100%);
  --gradient-glow-cyan: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(20, 184, 166, 0.02) 100%);
  
  /* Borders & Shadows */
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-glow: rgba(6, 182, 212, 0.25);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-glow-cyan: 0 0 25px rgba(6, 182, 212, 0.25);
  --shadow-glow-purple: 0 0 25px rgba(139, 92, 246, 0.25);
  
  /* Layout & Spacing */
  --container-max-width: 1200px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & Global Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-primary);
  background-image: var(--gradient-dark);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border: 2px solid var(--bg-primary);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

section {
  padding: 100px 0 60px 0;
  position: relative;
}

.container {
  width: 90%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 15px;
}

/* --------------------------------------------------------------------------
   3. Typography & Utility Classes
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: #ffffff;
  font-weight: 700;
  line-height: 1.25;
}

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

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

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

.section-tag {
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-cyan);
  margin-bottom: 12px;
  display: inline-block;
  background: rgba(6, 182, 212, 0.08);
  padding: 6px 16px;
  border-radius: 9999px;
  border: 1px solid rgba(6, 182, 212, 0.15);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 50px auto;
}

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

/* Glassmorphism Card styling */
.glass-card {
  background: var(--gradient-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 30px;
  transition: var(--transition-normal);
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
  transform: translateY(-5px);
}

/* Background Glowing Blurs */
.glow-blob {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  z-index: -1;
  pointer-events: none;
  animation: float-slow 20s infinite ease-in-out alternate;
}

.glow-cyan {
  background: var(--accent-cyan);
  top: 15%;
  left: -10%;
}

.glow-purple {
  background: var(--accent-purple);
  bottom: 20%;
  right: -10%;
  animation-delay: -5s;
}

/* Scroll Animation Base Classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   4. Buttons & Interactive Elements
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  transition: var(--transition-fast);
  gap: 10px;
}

.btn-primary {
  background: var(--gradient-accent-1);
  color: var(--bg-primary);
  box-shadow: var(--shadow-glow-cyan);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(6, 182, 212, 0.4);
  filter: brightness(1.1);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-purple {
  background: var(--gradient-accent-2);
  color: #ffffff;
  box-shadow: var(--shadow-glow-purple);
}

.btn-purple:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(139, 92, 246, 0.4);
  filter: brightness(1.1);
}

/* Floating WhatsApp Widget */
.whatsapp-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 999;
  font-size: 30px;
  transition: var(--transition-normal);
  animation: pulse-ring 2s infinite;
}

.whatsapp-widget:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* --------------------------------------------------------------------------
   5. Header & Navigation Menu
   -------------------------------------------------------------------------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-normal);
  padding: 20px 0;
  background: transparent;
}

header.scrolled {
  background: rgba(3, 7, 18, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
}

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

.logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient-accent-1);
  display: inline-block;
  box-shadow: 0 0 10px var(--accent-cyan);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
}

nav ul a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
}

nav ul a:hover {
  color: #ffffff;
}

nav ul a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-accent-1);
  transition: var(--transition-fast);
}

nav ul a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
}

/* Hamburger Menu Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* Mobile drawer navigation */
@media (max-width: 991px) {
  .mobile-toggle {
    display: flex;
  }
  
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-color);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    padding: 100px 40px 40px 40px;
    transition: right var(--transition-normal) cubic-bezier(0.77, 0.2, 0.05, 1.0);
    z-index: 999;
  }
  
  nav.active {
    right: 0;
  }
  
  nav ul {
    flex-direction: column;
    gap: 24px;
  }
  
  nav ul a {
    font-size: 1.15rem;
  }
  
  .nav-cta {
    display: none;
  }
  
  .mobile-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* --------------------------------------------------------------------------
   6. Hero Section
   -------------------------------------------------------------------------- */
#hero {
  padding-top: 180px;
  padding-bottom: 80px;
  overflow: hidden;
}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 50px;
}

.hero-content {
  text-align: left;
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

/* Trust Indicators grid */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
}

.trust-item {
  text-align: left;
}

.trust-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.trust-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Hero graphic with floating components */
.hero-graphic-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-main-graphic {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(6,182,212,0.1) 0%, rgba(139,92,246,0.05) 50%, rgba(0,0,0,0) 100%);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-main-graphic::after {
  content: '';
  position: absolute;
  width: 80%;
  height: 80%;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  animation: rotate-clockwise 40s linear infinite;
}

.hero-inner-circle {
  width: 60%;
  height: 60%;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Floating micro cards in Hero */
.float-card {
  position: absolute;
  padding: 16px 20px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float-vertical 6s infinite ease-in-out;
}

.float-card-1 {
  background: rgba(6, 182, 212, 0.1);
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.float-card-2 {
  background: rgba(139, 92, 246, 0.1);
  bottom: 12%;
  right: 5%;
  animation-delay: -3s;
}

.float-card-3 {
  background: rgba(20, 184, 166, 0.1);
  top: 50%;
  left: 60%;
  transform: translate(-50%, -50%);
  animation: float-horizontal 8s infinite ease-in-out;
  animation-delay: -1.5s;
}

.float-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.float-icon.cyan { background: var(--gradient-accent-1); }
.float-icon.purple { background: var(--gradient-accent-2); }
.float-icon.teal { background: linear-gradient(135deg, #10b981, #14b8a6); }

.float-info {
  display: flex;
  flex-direction: column;
}

.float-val {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.float-txt {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

@media (max-width: 991px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 60px;
  }
  .hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-title {
    font-size: 2.8rem;
  }
  .hero-actions {
    justify-content: center;
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    gap: 30px;
  }
  .trust-item {
    text-align: center;
  }
  .hero-graphic-wrapper {
    margin-top: 20px;
  }
}

/* --------------------------------------------------------------------------
   7. Services Section
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-accent-1);
  opacity: 0;
  transition: var(--transition-normal);
}

.service-card:nth-child(even)::before {
  background: var(--gradient-accent-2);
}

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

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid var(--border-color);
  color: var(--accent-cyan);
  transition: var(--transition-normal);
}

.service-card:nth-child(even) .service-icon {
  color: var(--accent-purple);
}

.service-card:hover .service-icon {
  background: var(--gradient-accent-1);
  color: var(--bg-primary);
  border-color: transparent;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

.service-card:nth-child(even):hover .service-icon {
  background: var(--gradient-accent-2);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.service-description {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.5;
  flex-grow: 1;
  margin-bottom: 20px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-cyan);
}

.service-card:nth-child(even) .service-link {
  color: var(--accent-purple);
}

.service-link svg {
  transition: transform var(--transition-fast);
}

.service-card:hover .service-link svg {
  transform: translateX(4px);
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* --------------------------------------------------------------------------
   8. Why Choose Us Section
   -------------------------------------------------------------------------- */
.why-wrapper {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}

.why-left {
  position: relative;
  display: flex;
  justify-content: center;
}

.why-graphic-container {
  width: 100%;
  max-width: 450px;
  background: var(--gradient-glass);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}

/* Animated visual inside Why Choose Us */
.why-visual-chart {
  width: 100%;
  height: 200px;
}

.why-visual-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 25px;
  border-top: 1px solid var(--border-color);
  padding-top: 25px;
}

.why-stat-box {
  text-align: center;
}

.why-stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.why-stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.why-feature-item {
  display: flex;
  gap: 20px;
}

.why-feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}

.why-feature-item:nth-child(even) .why-feature-icon {
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.15);
  color: var(--accent-purple);
}

.why-feature-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.why-feature-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

@media (max-width: 991px) {
  .why-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .why-left {
    order: 2;
  }
}

/* --------------------------------------------------------------------------
   9. Portfolio & Before/After Section
   -------------------------------------------------------------------------- */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 45px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.filter-btn.active {
  background: var(--gradient-accent-1);
  color: var(--bg-primary);
  border-color: transparent;
  box-shadow: var(--shadow-glow-cyan);
  font-weight: 600;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.portfolio-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  aspect-ratio: 4/3;
  cursor: pointer;
  display: block;
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(3, 7, 18, 0.95) 0%, rgba(3, 7, 18, 0.7) 50%, rgba(3, 7, 18, 0.2) 100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  transition: opacity var(--transition-normal);
  z-index: 2;
}

.portfolio-card:hover .portfolio-img {
  transform: scale(1.08);
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--accent-cyan);
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.portfolio-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
}

/* Portfolio Metric pill inside overlay */
.portfolio-metric {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.25);
  padding: 6px 14px;
  border-radius: 8px;
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 0.9rem;
  align-self: flex-start;
}

.portfolio-card.hidden {
  display: none;
}

/* Before/After Split Comparison Component */
.comparison-wrapper {
  max-width: 800px;
  margin: 80px auto 0 auto;
}

.comparison-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  user-select: none;
  box-shadow: var(--shadow-lg);
}

.comparison-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.comparison-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-before {
  z-index: 1;
}

.image-after {
  z-index: 2;
  width: 50%; /* JS will control this */
  overflow: hidden;
  border-right: 2px solid var(--accent-cyan);
  box-shadow: 5px 0 15px rgba(6, 182, 212, 0.3);
}

.image-after img {
  max-width: none;
  width: 800px; /* Needs to match visual box parent max-width to not stretch */
}

/* Custom label tags */
.comparison-label {
  position: absolute;
  top: 20px;
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  z-index: 3;
}

.label-before {
  right: 20px;
  background: rgba(3, 7, 18, 0.7);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.label-after {
  left: 20px;
  background: var(--gradient-accent-1);
  color: var(--bg-primary);
  font-weight: 700;
}

/* Slider Handle Bar */
.comparison-slider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%; /* JS will control this */
  width: 2px;
  background: var(--accent-cyan);
  z-index: 4;
  transform: translateX(-50%);
  pointer-events: none;
}

.comparison-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
  cursor: ew-resize;
  z-index: 5;
  pointer-events: auto;
}

.comparison-handle:active {
  background: var(--accent-cyan);
  color: var(--bg-primary);
}

.comparison-caption {
  text-align: center;
  margin-top: 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
}

@media (max-width: 991px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .comparison-caption {
    font-size: 0.85rem;
  }
}

/* --------------------------------------------------------------------------
   10. Case Studies Section
   -------------------------------------------------------------------------- */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.case-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
}

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

.case-title {
  font-size: 1.4rem;
  font-weight: 700;
}

.case-niche {
  color: var(--accent-cyan);
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.case-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 25px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 20px 0;
}

.case-stat-val {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
}

.case-stat-val.highlight {
  color: var(--accent-teal);
}

.case-stat-lbl {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* Interactive SVG growth charts in Case Studies */
.case-chart-container {
  height: 140px;
  width: 100%;
  position: relative;
  margin-bottom: 20px;
}

.case-chart-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.case-chart-path {
  fill: none;
  stroke: var(--accent-cyan);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
}

.case-card:nth-child(even) .case-chart-path {
  stroke: var(--accent-purple);
}

.case-chart-gradient {
  fill: url(#chart-gradient-1);
  opacity: 0.15;
  transition: opacity var(--transition-normal);
}

.case-card:nth-child(even) .case-chart-gradient {
  fill: url(#chart-gradient-2);
}

/* Trigger animation on scroll */
.case-card.animate-chart .case-chart-path {
  animation: draw-chart 2s forwards ease-out;
}

@keyframes draw-chart {
  to {
    stroke-dashoffset: 0;
  }
}

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

/* --------------------------------------------------------------------------
   11. Interactive Process Section
   -------------------------------------------------------------------------- */
.process-timeline {
  position: relative;
  max-width: 1000px;
  margin: 50px auto 0 auto;
}

.process-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
  z-index: 1;
  transform: translateY(-50%);
}

.process-line-active {
  position: absolute;
  top: 50%;
  left: 0;
  width: 0; /* JS will expand this as user scrolls/navigates */
  height: 2px;
  background: var(--gradient-accent-1);
  z-index: 2;
  transform: translateY(-50%);
  transition: width var(--transition-slow);
}

.process-steps-container {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 3;
}

.process-step {
  width: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
}

.process-node {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  position: relative;
  transition: var(--transition-normal);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

.process-node::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  border: 1px solid transparent;
  transition: var(--transition-normal);
}

.process-step.active .process-node {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: var(--bg-tertiary);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
}

.process-step.active:nth-child(even) .process-node {
  border-color: var(--accent-purple);
  color: var(--accent-purple);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

.process-step.active .process-node::after {
  border-color: rgba(6, 182, 212, 0.3);
  animation: pulse-ring 2.5s infinite;
}

.process-step.active:nth-child(even) .process-node::after {
  border-color: rgba(139, 92, 246, 0.3);
}

.process-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.process-step.active .process-label {
  color: #ffffff;
}

/* Detailed step popup display panel */
.process-display-panel {
  max-width: 700px;
  margin: 50px auto 0 auto;
  min-height: 180px;
}

.process-content-slide {
  display: none;
  animation: fade-in-up 0.4s forwards ease;
}

.process-content-slide.active {
  display: block;
}

.process-content-title {
  font-size: 1.5rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.process-content-title span {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(6, 182, 212, 0.08);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(6, 182, 212, 0.15);
}

.process-content-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

/* Responsive vertical layout for timeline */
@media (max-width: 768px) {
  .process-line {
    top: 0;
    left: 25px;
    width: 2px;
    height: 100%;
    transform: none;
  }
  
  .process-line-active {
    top: 0;
    left: 25px;
    width: 2px;
    height: 0;
    transform: none;
  }
  
  .process-steps-container {
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
  }
  
  .process-step {
    flex-direction: row;
    width: 100%;
    text-align: left;
    gap: 20px;
  }
  
  .process-node {
    margin-bottom: 0;
    flex-shrink: 0;
  }
  
  .process-label {
    padding-top: 10px;
  }
  
  .process-display-panel {
    display: none; /* Hide interactive panel on mobile, display detailed texts within the vertical steps */
  }
  
  .process-step-description-mobile {
    display: none;
    margin-top: 8px;
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.5;
  }
  
  .process-step.active .process-step-description-mobile {
    display: block;
    animation: fade-in-up 0.4s forwards ease;
  }
}

/* --------------------------------------------------------------------------
   12. Testimonials Section
   -------------------------------------------------------------------------- */
.testimonials-slider-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform var(--transition-normal) ease-in-out;
}

.testimonial-slide {
  flex-shrink: 0;
  width: 100%;
  padding: 10px;
}

.testimonial-card {
  background: var(--gradient-glass);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 45px;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.testimonial-quote-icon {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 5rem;
  color: rgba(255, 255, 255, 0.03);
  font-family: 'Outfit', sans-serif;
  line-height: 1;
  pointer-events: none;
}

.testimonial-text {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 30px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 20px;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--accent-cyan);
  object-fit: cover;
  box-shadow: var(--shadow-glow-cyan);
}

.testimonial-slide:nth-child(even) .testimonial-avatar {
  border-color: var(--accent-purple);
  box-shadow: var(--shadow-glow-purple);
}

.testimonial-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
}

.testimonial-title {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* Slider Pagination Dots */
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: var(--transition-fast);
}

.dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--accent-cyan);
}

@media (max-width: 640px) {
  .testimonial-card {
    padding: 30px 20px;
  }
  .testimonial-text {
    font-size: 1rem;
  }
}

/* --------------------------------------------------------------------------
   13. Pricing Section
   -------------------------------------------------------------------------- */
.pricing-toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
}

.pricing-toggle-label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.pricing-toggle-label.active {
  color: #ffffff;
}

.pricing-switch {
  position: relative;
  width: 56px;
  height: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  border-radius: 9999px;
  cursor: pointer;
}

.pricing-switch-handle {
  position: absolute;
  top: 3px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gradient-accent-1);
  transition: transform var(--transition-fast) ease-in-out;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.pricing-switch.active .pricing-switch-handle {
  transform: translateX(26px);
  background: var(--gradient-accent-2);
}

.pricing-badge-discount {
  font-size: 0.75rem;
  color: var(--accent-teal);
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.2);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.pricing-card.popular {
  border-color: var(--border-color-glow);
  box-shadow: var(--shadow-glow-cyan);
}

.pricing-popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-accent-1);
  color: var(--bg-primary);
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 14px;
  border-radius: 9999px;
  box-shadow: 0 4px 10px rgba(6, 182, 212, 0.3);
}

.pricing-plan {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.pricing-price-container {
  display: flex;
  align-items: baseline;
  margin-bottom: 25px;
}

.pricing-currency {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
}

.pricing-value {
  font-family: 'Outfit', sans-serif;
  font-size: 3.2rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1;
}

.pricing-period {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-left: 6px;
}

.pricing-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 35px;
  flex-grow: 1;
}

.pricing-feature-li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.pricing-feature-li svg {
  flex-shrink: 0;
  color: var(--accent-cyan);
}

.pricing-card.popular .pricing-feature-li svg {
  color: var(--accent-purple);
}

.pricing-feature-li.muted {
  color: var(--text-muted);
}

.pricing-feature-li.muted svg {
  color: var(--text-muted);
}

@media (max-width: 991px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
  }
}

/* --------------------------------------------------------------------------
   14. FAQ Section
   -------------------------------------------------------------------------- */
.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition-normal);
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.15);
}

.faq-header {
  padding: 24px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-question {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  padding-right: 15px;
}

.faq-icon-wrapper {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  transition: var(--transition-normal);
  flex-shrink: 0;
}

.faq-item.active {
  border-color: rgba(6, 182, 212, 0.25);
  background: rgba(6, 182, 212, 0.02);
}

.faq-item.active .faq-icon-wrapper {
  transform: rotate(180deg);
  background: var(--accent-cyan);
  color: var(--bg-primary);
  border-color: transparent;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) cubic-bezier(0, 1, 0, 1);
}

.faq-answer {
  padding: 0 30px 24px 30px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   15. Final CTA Section
   -------------------------------------------------------------------------- */
#final-cta {
  padding-bottom: 100px;
}

.cta-box {
  background: radial-gradient(circle at top right, rgba(139,92,246,0.12) 0%, rgba(6,182,212,0.06) 50%, rgba(0,0,0,0) 100%), var(--gradient-glass);
  backdrop-filter: blur(15px);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.3), transparent);
}

.cta-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.cta-subtitle {
  color: var(--text-secondary);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 40px auto;
}

@media (max-width: 640px) {
  .cta-box {
    padding: 60px 20px;
  }
  .cta-title {
    font-size: 2.2rem;
  }
  .cta-subtitle {
    font-size: 1rem;
  }
}

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
footer {
  background: #02040a;
  border-top: 1px solid var(--border-color);
  padding: 80px 0 30px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col-about p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-top: 15px;
  line-height: 1.6;
}

.footer-col-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--accent-cyan);
  padding-left: 4px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.footer-contact-item svg {
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.social-btn:hover {
  background: var(--gradient-accent-1);
  color: var(--bg-primary);
  border-color: transparent;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

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

.footer-bottom-links {
  display: flex;
  gap: 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom-links a:hover {
  color: var(--accent-cyan);
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   17. Consultation Form Modal
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(2, 4, 10, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  width: 92%;
  max-width: 560px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(6, 182, 212, 0.1);
  position: relative;
  transform: scale(0.9);
  transition: transform var(--transition-normal);
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
}

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

.modal-header {
  margin-bottom: 25px;
}

.modal-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.modal-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 12px 16px;
  color: #ffffff;
  font-family: inherit;
  transition: var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.15);
  background: rgba(255, 255, 255, 0.04);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-select option {
  background-color: var(--bg-secondary);
  color: #ffffff;
}

.form-submit-btn {
  width: 100%;
  margin-top: 10px;
}

/* Success State styling */
.modal-success-state {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 0;
  animation: fade-in-up 0.5s forwards ease;
}

.modal-success-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.1);
  border: 2px solid var(--accent-teal);
  color: var(--accent-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(20, 184, 166, 0.2);
}

@media (max-width: 640px) {
  .modal-container {
    padding: 30px 20px;
  }
  .modal-title {
    font-size: 1.5rem;
  }
}

/* --------------------------------------------------------------------------
   18. Keyframe Animations
   -------------------------------------------------------------------------- */
@keyframes float-slow {
  0% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-30px) scale(1.1); }
  100% { transform: translateY(10px) scale(0.95); }
}

@keyframes float-vertical {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

@keyframes float-horizontal {
  0% { transform: translate(-50%, -50%) translateX(0px); }
  50% { transform: translate(-50%, -50%) translateX(12px); }
  100% { transform: translate(-50%, -50%) translateX(0px); }
}

@keyframes rotate-clockwise {
  to { transform: rotate(360deg); }
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(6, 182, 212, 0); }
  100% { box-shadow: 0 0 0 0 rgba(6, 182, 212, 0); }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
