/* Enhanced Styles for Spiced Up Sections - v1.2 */

/* Hero Section Enhancements */
.hero {
  position: relative;
  padding: var(--spacing-24) 0;
  background: linear-gradient(135deg, var(--gray-50) 0%, #ffffff 50%, var(--gray-100) 100%);
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-shapes {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary) 0%, var(--primary-dark) 100%);
  opacity: 0.1;
  animation: float 8s ease-in-out infinite;
}

.hero-shape-1 {
  width: 200px;
  height: 200px;
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.hero-shape-2 {
  width: 150px;
  height: 150px;
  bottom: 20%;
  left: 5%;
  animation-delay: 3s;
}

.hero-shape-3 {
  width: 100px;
  height: 100px;
  top: 60%;
  right: 30%;
  animation-delay: 6s;
}

/* Hero content styles moved to critical.css */

/* Hero badge styles moved to critical.css */

/* Hero highlight styles moved to critical.css */

/* Hero button styles moved to critical.css */

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: var(--spacing-4);
  flex: 1;
  min-width: 0;
  transition: var(--transition);
}

.stat:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.stat-icon {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--spacing-2);
}

.image-container {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.image-container img {
  width: 100%;
  height: auto;
  transition: var(--transition);
  aspect-ratio: 380/200;
  object-fit: cover;
}

.image-container:hover img {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  top: var(--spacing-4);
  right: var(--spacing-4);
}

.overlay-badge {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2) var(--spacing-3);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--gray-900);
}

.overlay-icon {
  font-size: var(--font-size-lg);
}

/* Trust Indicators Enhancements */
.trust-indicators {
  position: relative;
  padding: var(--spacing-24) 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #0c4a6e 100%);
  overflow: hidden;
}

.trust-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.trust-shapes {
  position: relative;
  width: 100%;
  height: 100%;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  width: 80px;
  height: 80px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 120px;
  height: 120px;
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.shape-3 {
  width: 60px;
  height: 60px;
  top: 30%;
  right: 30%;
  animation-delay: 4s;
}

.shape-4 {
  width: 100px;
  height: 100px;
  bottom: 20%;
  left: 20%;
  animation-delay: 1s;
}

.trust-header {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: var(--spacing-12);
}

.trust-header .header-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-2);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-2xl);
  padding: var(--spacing-2) var(--spacing-4);
  margin-bottom: var(--spacing-6);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: white;
}

.trust-title {
  font-size: var(--font-size-4xl);
  font-weight: 900;
  margin-bottom: var(--spacing-4);
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.trust-subtitle {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.trust-grid {
  position: relative;
  z-index: 2;
}

.trust-item {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-2xl);
  padding: var(--spacing-8);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  /* Scroll animation removed */
  opacity: 1;
  transform: translateY(0);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.trust-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 1);
}

.trust-icon-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  background: linear-gradient(45deg, var(--accent) 0%, #f59e0b 100%);
  border-radius: 50%;
  margin-bottom: var(--spacing-4);
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
  align-self: center;
}

.trust-item:hover .trust-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 40px rgba(245, 158, 11, 0.4);
}

.trust-icon {
  font-size: var(--font-size-3xl);
  color: white;
  z-index: 2;
}

.icon-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  0% {
    opacity: 0.5;
    transform: scale(1);
  }
  100% {
    opacity: 1;
    transform: scale(1.2);
  }
}

.trust-badge {
  display: inline-block;
  background: linear-gradient(45deg, var(--accent) 0%, #f59e0b 100%);
  color: white;
  font-size: var(--font-size-xs);
  font-weight: 700;
  padding: var(--spacing-2) var(--spacing-4);
  border-radius: var(--radius-xl);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
  margin-top: auto;
  align-self: center;
}

/* Enhanced Trust Item Typography */
.trust-item h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--spacing-4);
  color: var(--gray-900);
  line-height: 1.3;
}

.trust-item p {
  font-size: var(--font-size-base);
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: var(--spacing-6) !important;
}

/* Trust item scroll animation delays removed */

/* Scroll animations removed */

/* Services Enhancements */
.services {
  position: relative;
  padding: var(--spacing-24) 0;
  background: linear-gradient(135deg, #ffffff 0%, var(--gray-50) 100%);
  overflow: hidden;
}

.services-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.services-shapes {
  position: relative;
  width: 100%;
  height: 100%;
}

.service-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--success) 0%, #10b981 100%);
  opacity: 0.05;
  animation: float 12s ease-in-out infinite;
}

.service-shape-1 {
  width: 250px;
  height: 250px;
  top: 10%;
  left: -50px;
  animation-delay: 0s;
}

.service-shape-2 {
  width: 180px;
  height: 180px;
  bottom: 20%;
  right: -50px;
  animation-delay: 6s;
}

.service-shape-3 {
  width: 120px;
  height: 120px;
  top: 60%;
  left: 50%;
  animation-delay: 3s;
}

.header-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-2);
  background: linear-gradient(45deg, var(--success) 0%, #10b981 100%);
  color: white;
  border-radius: var(--radius-2xl);
  padding: var(--spacing-2) var(--spacing-4);
  margin-bottom: var(--spacing-6);
  font-size: var(--font-size-sm);
  font-weight: 600;
  box-shadow: var(--shadow-lg);
}

.services-title {
  font-size: var(--font-size-4xl);
  font-weight: 900;
  margin-bottom: var(--spacing-6);
  color: var(--gray-900);
}

.services-subtitle {
  font-size: var(--font-size-xl);
  color: var(--gray-600);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.services-grid {
  position: relative;
  z-index: 2;
}

.service-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-2xl);
  padding: var(--spacing-8);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--success);
}

.service-icon-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, var(--success) 0%, #10b981 100%);
  border-radius: 50%;
  margin-bottom: var(--spacing-6);
  transition: var(--transition);
}

.service-card:hover .service-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
}

.service-icon {
  font-size: var(--font-size-4xl);
  color: white;
  z-index: 2;
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-2);
  justify-content: center;
}

.feature-tag {
  background: linear-gradient(45deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  font-size: var(--font-size-xs);
  font-weight: 600;
  padding: var(--spacing-1) var(--spacing-3);
  border-radius: var(--radius-xl);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Performance Enhancements */
.performance {
  position: relative;
  padding: var(--spacing-24) 0;
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
  color: white;
  overflow: hidden;
}

.performance-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.performance-shapes {
  position: relative;
  width: 100%;
  height: 100%;
}

.perf-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary) 0%, var(--primary-dark) 100%);
  opacity: 0.1;
  animation: float 15s ease-in-out infinite;
}

.perf-shape-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.perf-shape-2 {
  width: 300px;
  height: 300px;
  bottom: -75px;
  left: -75px;
  animation-delay: 7s;
}

.performance-content {
  position: relative;
  z-index: 2;
}

.performance-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-2);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-2xl);
  padding: var(--spacing-2) var(--spacing-4);
  margin-bottom: var(--spacing-6);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: white;
}

.performance-title {
  font-size: var(--font-size-4xl);
  font-weight: 900;
  margin-bottom: var(--spacing-6);
  color: white;
  line-height: 1.2;
}

.performance-description {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-8);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.performance-features {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-8);
  margin-bottom: var(--spacing-10);
}

.feature {
  display: flex;
  gap: var(--spacing-6);
  align-items: flex-start;
}

.feature-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, var(--accent) 0%, #f59e0b 100%);
  border-radius: 50%;
  flex-shrink: 0;
  transition: var(--transition);
}

.feature:hover .feature-icon-wrapper {
  transform: scale(1.1);
}

.feature-icon {
  font-size: var(--font-size-xl);
  color: white;
  z-index: 2;
}

.feature-content h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--spacing-3);
  color: white;
}

.feature-content p {
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--spacing-4);
  line-height: 1.6;
}

.feature-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-3);
}

.stat-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--spacing-2) var(--spacing-3);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--accent);
}

.performance-btn {
  background: linear-gradient(45deg, var(--accent) 0%, #f59e0b 100%);
  border: none;
  color: var(--gray-900);
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
  transition: var(--transition);
}

.performance-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(245, 158, 11, 0.4);
}

.performance-btn {
  gap: var(--spacing-2);
}

.performance-visual {
  position: relative;
}

.demo-container {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: white;
}

.demo-container img {
  width: 100%;
  height: auto;
  transition: var(--transition);
}

.demo-container:hover img {
  transform: scale(1.02);
}

.score-badge {
  position: absolute;
  top: var(--spacing-6);
  right: var(--spacing-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-2);
}

.score-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, var(--success) 0%, #10b981 100%);
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  animation: pulse 2s ease-in-out infinite;
}

.score {
  font-size: var(--font-size-2xl);
  font-weight: 900;
  color: white;
}

.score-label {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--gray-900);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: var(--spacing-1) var(--spacing-3);
  border-radius: var(--radius-lg);
}

.demo-overlay {
  position: absolute;
  bottom: var(--spacing-6);
  left: var(--spacing-6);
}

/* Portfolio Enhancements */
.portfolio {
  position: relative;
  padding: var(--spacing-24) 0;
  background: linear-gradient(135deg, var(--gray-50) 0%, #ffffff 100%);
  overflow: hidden;
}

.portfolio-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.portfolio-shapes {
  position: relative;
  width: 100%;
  height: 100%;
}

.port-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary) 0%, var(--primary-dark) 100%);
  opacity: 0.05;
  animation: float 18s ease-in-out infinite;
}

.port-shape-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: -75px;
  animation-delay: 0s;
}

.port-shape-2 {
  width: 200px;
  height: 200px;
  bottom: 20%;
  right: -50px;
  animation-delay: 9s;
}

.port-shape-3 {
  width: 150px;
  height: 150px;
  top: 60%;
  left: 50%;
  animation-delay: 4s;
}

.portfolio-title {
  font-size: var(--font-size-4xl);
  font-weight: 900;
  margin-bottom: var(--spacing-6);
  color: var(--gray-900);
}

.portfolio-subtitle {
  font-size: var(--font-size-xl);
  color: var(--gray-600);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.portfolio-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-8);
  margin-bottom: var(--spacing-16);
}

.stat-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-2xl);
  padding: var(--spacing-8);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(45deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.stat-card .stat-icon {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--spacing-4);
  text-align: center;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.stat-card .stat-number {
  font-size: var(--font-size-3xl);
  font-weight: 900;
  color: var(--primary);
  margin-bottom: var(--spacing-2);
  line-height: 1;
}

.stat-card .stat-label {
  font-size: var(--font-size-sm);
  color: var(--gray-600);
  font-weight: 600;
}

.portfolio-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-12);
}

@media (min-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-8);
  }
}

.portfolio-item {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.portfolio-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.portfolio-image-container {
  position: relative;
  overflow: hidden;
}

.portfolio-image-container img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition);
}

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

.portfolio-badge {
  position: absolute;
  top: var(--spacing-4);
  right: var(--spacing-4);
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2) var(--spacing-3);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--gray-900);
  z-index: 2;
}

/* Removed hover overlay functionality */
/* .hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.9) 0%, rgba(2, 132, 199, 0.9) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.portfolio-item:hover .hover-overlay {
  opacity: 1;
} */

.overlay-content {
  text-align: center;
  color: white;
}

.project-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-6);
}

.project-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-1);
}

.project-stat .stat-label {
  font-size: var(--font-size-sm);
  font-weight: 500;
  opacity: 0.9;
}

.project-stat .stat-value {
  font-size: var(--font-size-xl);
  font-weight: 700;
}

.portfolio-content {
  padding: var(--spacing-8);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--spacing-4);
  gap: var(--spacing-4);
}

.portfolio-header h3 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--gray-900);
  margin: 0;
}

.portfolio-tags {
  display: flex;
  gap: var(--spacing-2);
  flex-wrap: wrap;
}

.tag {
  background: linear-gradient(45deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  font-size: var(--font-size-xs);
  font-weight: 600;
  padding: var(--spacing-1) var(--spacing-3);
  border-radius: var(--radius-xl);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.portfolio-content p {
  font-size: var(--font-size-base);
  color: var(--gray-600);
  margin-bottom: var(--spacing-6);
  line-height: 1.6;
}

.portfolio-features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-2);
  margin-bottom: var(--spacing-6);
}

.feature-badge {
  background: linear-gradient(45deg, var(--gray-100) 0%, var(--gray-200) 100%);
  color: var(--gray-700);
  font-size: var(--font-size-sm);
  font-weight: 500;
  padding: var(--spacing-2) var(--spacing-4);
  border-radius: var(--radius-full);
  border: 1px solid var(--gray-300);
  transition: var(--transition);
}

.feature-badge:hover {
  background: linear-gradient(45deg, var(--success) 0%, #10b981 100%);
  color: white;
  border-color: var(--success);
  transform: translateY(-2px);
}

/* Dark mode styles for feature badges */
html.dark-mode .feature-badge {
  background: linear-gradient(45deg, var(--dark-bg-tertiary) 0%, var(--dark-bg-secondary) 100%);
  color: var(--dark-text-secondary);
  border-color: var(--dark-border-color);
}

html.dark-mode .feature-badge:hover {
  background: linear-gradient(45deg, var(--success) 0%, #10b981 100%);
  color: white;
  border-color: var(--success);
  transform: translateY(-2px);
}

.portfolio-btn {
  width: 100%;
  justify-content: center;
  gap: var(--spacing-2);
  margin-top: auto;
}

.portfolio-cta {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: var(--spacing-20);
  margin-bottom: var(--spacing-16);
  margin-left: auto;
  margin-right: auto;
  padding: var(--spacing-12);
  background: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.12),
    rgba(var(--accent-rgb), 0.12)
  );
  border-radius: var(--radius-2xl);
  border: 3px solid rgba(var(--primary-rgb), 0.2);
  box-shadow: 0 6px 25px rgba(var(--primary-rgb), 0.12);
  overflow: hidden;
  transition: all 0.3s ease;
  max-width: 1200px;
}

.portfolio-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.02),
    rgba(var(--accent-rgb), 0.02)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-cta:hover::before {
  opacity: 1;
}

.portfolio-cta:hover {
  border-color: rgba(var(--primary-rgb), 0.35);
  box-shadow: 0 10px 35px rgba(var(--primary-rgb), 0.18);
  transform: translateY(-3px);
  background: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.15),
    rgba(var(--accent-rgb), 0.15)
  );
}

.portfolio-cta-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.portfolio-cta-shapes {
  position: relative;
  width: 100%;
  height: 100%;
}

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

.portfolio-cta .cta-content h3 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--spacing-3);
}

.portfolio-cta .cta-content p {
  font-size: var(--font-size-lg);
  color: var(--gray-600);
  margin-bottom: var(--spacing-6);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.portfolio-cta .cta-buttons {
  display: flex;
  gap: var(--spacing-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive Portfolio */
@media (max-width: 768px) {
  .portfolio-stats {
    grid-template-columns: 1fr;
    gap: var(--spacing-6);
  }

  .portfolio-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-3);
  }

  .portfolio-tags {
    justify-content: flex-start;
  }

  .portfolio-cta .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* Mobile overflow fixes for floating shapes */
@media (max-width: 768px) {
  /* Hero shapes - prevent overflow */
  .hero-shape-1 {
    width: 120px;
    height: 120px;
    top: 5%;
    right: 5%;
  }

  .hero-shape-2 {
    width: 80px;
    height: 80px;
    bottom: 10%;
    left: 5%;
  }

  .hero-shape-3 {
    width: 60px;
    height: 60px;
    top: 50%;
    right: 10%;
  }

  /* Trust shapes - prevent overflow */
  .shape-1 {
    width: 50px;
    height: 50px;
    top: 5%;
    left: 5%;
  }

  .shape-2 {
    width: 70px;
    height: 70px;
    top: 60%;
    right: 5%;
  }

  .shape-3 {
    width: 40px;
    height: 40px;
    top: 30%;
    right: 15%;
  }

  .shape-4 {
    width: 60px;
    height: 60px;
    bottom: 10%;
    left: 10%;
  }

  /* Service shapes - prevent overflow */
  .service-shape-1 {
    width: 100px;
    height: 100px;
    top: 5%;
    left: -50px;
  }

  .service-shape-2 {
    width: 80px;
    height: 80px;
    bottom: 10%;
    right: -40px;
  }

  .service-shape-3 {
    width: 60px;
    height: 60px;
    top: 50%;
    left: 50%;
  }

  /* Performance shapes - prevent overflow */
  .perf-shape-1 {
    width: 200px;
    height: 200px;
    top: -100px;
    right: -100px;
  }

  .perf-shape-2 {
    width: 150px;
    height: 150px;
    bottom: -75px;
    left: -75px;
  }

  /* Portfolio shapes - prevent overflow */
  .port-shape-1 {
    width: 150px;
    height: 150px;
    top: 5%;
    left: -75px;
  }

  .port-shape-2 {
    width: 100px;
    height: 100px;
    bottom: 10%;
    right: -50px;
  }

  .port-shape-3 {
    width: 80px;
    height: 80px;
    top: 50%;
    left: 50%;
  }

  /* Pricing shapes - prevent overflow */
  .price-shape-1 {
    width: 150px;
    height: 150px;
    top: -75px;
    right: -75px;
  }

  .price-shape-2 {
    width: 100px;
    height: 100px;
    bottom: -50px;
    left: -50px;
  }

  .price-shape-3 {
    width: 80px;
    height: 80px;
    top: 40%;
    left: 60%;
  }

  /* Testimonial shapes - prevent overflow */
  .testimonial-shape-1 {
    width: 80px;
    height: 80px;
    top: 5%;
    left: 5%;
  }

  .testimonial-shape-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 5%;
  }

  .testimonial-shape-3 {
    width: 40px;
    height: 40px;
    top: 30%;
    right: 15%;
  }

  /* Contact shapes - prevent overflow */
  .contact-shape-1 {
    width: 80px;
    height: 80px;
    top: 5%;
    right: 5%;
  }

  .contact-shape-2 {
    width: 60px;
    height: 60px;
    bottom: 10%;
    left: 5%;
  }

  .contact-shape-3 {
    width: 50px;
    height: 50px;
    top: 50%;
    right: 10%;
  }

  .contact-shape-4 {
    width: 70px;
    height: 70px;
    top: 20%;
    left: 10%;
  }

  /* FAQ shapes - prevent overflow */
  .faq-shape-1 {
    width: 60px;
    height: 60px;
    top: 5%;
    left: 5%;
  }

  .faq-shape-2 {
    width: 50px;
    height: 50px;
    top: 60%;
    right: 5%;
  }

  .faq-shape-3 {
    width: 40px;
    height: 40px;
    top: 30%;
    right: 15%;
  }

  /* Footer shapes - prevent overflow */
  .footer-shape-1 {
    width: 150px;
    height: 150px;
    top: 5%;
    right: 5%;
  }

  .footer-shape-2 {
    width: 100px;
    height: 100px;
    bottom: 10%;
    left: 5%;
  }

  .footer-shape-3 {
    width: 80px;
    height: 80px;
    top: 50%;
    right: 15%;
  }

  /* CTA shapes - prevent overflow */
  .cta-shape-1 {
    width: 50px;
    height: 50px;
    top: 5%;
    left: 5%;
  }

  .cta-shape-2 {
    width: 70px;
    height: 70px;
    top: 60%;
    right: 5%;
  }

  .cta-shape-3 {
    width: 40px;
    height: 40px;
    top: 30%;
    right: 15%;
  }

  /* Additional mobile overflow fixes */
  .hero,
  .trust-indicators,
  .services,
  .performance,
  .portfolio,
  .pricing,
  .testimonials,
  .contact,
  .faq,
  .footer,
  section.cta {
    overflow: hidden;
  }

  /* Ensure all shape containers don't cause overflow */
  .hero-shapes,
  .trust-shapes,
  .services-shapes,
  .performance-shapes,
  .portfolio-shapes,
  .pricing-shapes,
  .testimonials-shapes,
  .contact-shapes,
  .faq-shapes,
  .footer-shapes,
  .cta-shapes {
    overflow: hidden;
    width: 100%;
  }
}

/* Extra small screen fixes */
@media (max-width: 480px) {
  /* Further reduce shape sizes on very small screens */
  .hero-shape-1,
  .hero-shape-2,
  .hero-shape-3,
  .shape-1,
  .shape-2,
  .shape-3,
  .shape-4,
  .service-shape-1,
  .service-shape-2,
  .service-shape-3,
  .perf-shape-1,
  .perf-shape-2,
  .port-shape-1,
  .port-shape-2,
  .port-shape-3,
  .price-shape-1,
  .price-shape-2,
  .price-shape-3,
  .testimonial-shape-1,
  .testimonial-shape-2,
  .testimonial-shape-3,
  .contact-shape-1,
  .contact-shape-2,
  .contact-shape-3,
  .contact-shape-4,
  .faq-shape-1,
  .faq-shape-2,
  .faq-shape-3,
  .footer-shape-1,
  .footer-shape-2,
  .footer-shape-3,
  .cta-shape-1,
  .cta-shape-2,
  .cta-shape-3 {
    opacity: 0.05;
  }
}

/* Pricing Enhancements */
.pricing {
  position: relative;
  padding: calc(var(--spacing-24) + var(--spacing-8)) 0 var(--spacing-24) 0;
  background: linear-gradient(135deg, var(--gray-50) 0%, #ffffff 100%);
  overflow: hidden;
  width: 100%;
  max-width: 100vw;
}

.pricing-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  overflow: hidden;
}

.pricing-shapes {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.price-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--accent) 0%, #f59e0b 100%);
  opacity: 0.05;
  animation: float 20s ease-in-out infinite;
  pointer-events: none;
}

.price-shape-1 {
  width: 350px;
  height: 350px;
  top: -87px;
  right: -87px;
  animation-delay: 0s;
  pointer-events: none;
}

.price-shape-2 {
  width: 250px;
  height: 250px;
  bottom: -62px;
  left: -62px;
  animation-delay: 10s;
  pointer-events: none;
}

.price-shape-3 {
  width: 180px;
  height: 180px;
  top: 40%;
  left: 60%;
  animation-delay: 5s;
  pointer-events: none;
}

.pricing-title {
  font-size: var(--font-size-4xl);
  font-weight: 900;
  margin-bottom: var(--spacing-6);
  color: var(--gray-900);
}

.pricing-subtitle {
  font-size: var(--font-size-xl);
  color: var(--gray-600);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Value Proposition Cards */
.value-props {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-8);
  margin-bottom: var(--spacing-16);
}

.value-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-2xl);
  padding: var(--spacing-8);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(45deg, var(--primary) 0%, var(--accent) 100%);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.value-icon {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--spacing-4);
}

.value-card h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--spacing-3);
}

.value-card p {
  font-size: var(--font-size-base);
  color: var(--gray-600);
  margin: 0;
  line-height: 1.6;
}

/* Pricing Grid */
.pricing-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-8);
  margin-bottom: var(--spacing-16);
}

@media (min-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-8);
    max-width: 1000px;
    margin: 0 auto var(--spacing-16) auto;
  }
}

/* Pricing Cards */
.pricing-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-2xl);
  padding: var(--spacing-10);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pricing-content {
  flex: 1;
  margin-bottom: var(--spacing-8);
}

.card-cta {
  margin-top: auto;
  text-align: center;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(45deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 0%, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.pricing-card:hover .card-glow {
  opacity: 1;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.pricing-card.featured {
  border-color: var(--success);
  transform: scale(1.02);
}

.pricing-card.featured::before {
  background: linear-gradient(45deg, var(--success) 0%, #10b981 100%);
}

.pricing-card.featured:hover {
  transform: scale(1.02) translateY(-8px);
}

.featured-badge {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  background: linear-gradient(45deg, var(--accent) 0%, #f59e0b 100%);
  color: white;
  border-radius: var(--radius-xl);
  padding: var(--spacing-2) var(--spacing-4);
  font-size: var(--font-size-sm);
  font-weight: 600;
  z-index: 3;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-6);
}

.plan-badge {
  font-size: var(--font-size-xs);
  font-weight: 700;
  padding: var(--spacing-1) var(--spacing-3);
  border-radius: var(--radius-xl);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.starter-badge {
  background: linear-gradient(45deg, var(--gray-600) 0%, var(--gray-700) 100%);
  color: white;
}

.premium-badge {
  background: linear-gradient(45deg, var(--accent) 0%, #f59e0b 100%);
  color: white;
}

.plan-icon {
  font-size: var(--font-size-3xl);
}

/* Pricing Content */
.pricing-content {
  margin-bottom: var(--spacing-8);
}

.plan-name {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--spacing-4);
  text-align: center;
}

.price-display {
  text-align: center;
  margin-bottom: var(--spacing-4);
}

.price-amount {
  font-size: var(--font-size-5xl);
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: var(--spacing-2);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: var(--spacing-1);
}

.price-currency {
  font-size: var(--font-size-2xl);
  font-weight: 600;
}

.price-number {
  font-size: var(--font-size-5xl);
  font-weight: 900;
  transition: transform 0.2s ease-out;
}

.price-period {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--gray-600);
}

.price-note {
  font-size: var(--font-size-sm);
  color: var(--gray-500);
  font-weight: 500;
}

.plan-description {
  font-size: var(--font-size-base);
  color: var(--gray-600);
  margin-bottom: var(--spacing-6);
  text-align: center;
}

/* Plan Features */
.plan-features {
  margin-bottom: var(--spacing-6);
}

.feature-group {
  margin-bottom: var(--spacing-6);
}

.feature-group:last-child {
  margin-bottom: 0;
}

.feature-group h4 {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--gray-700);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--spacing-3);
  padding-bottom: var(--spacing-2);
  border-bottom: 1px solid var(--gray-200);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  padding: var(--spacing-2) 0;
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateX(5px);
  background: rgba(14, 165, 233, 0.05);
  border-radius: var(--radius-lg);
  padding-left: var(--spacing-3);
  padding-right: var(--spacing-3);
  margin-left: calc(-1 * var(--spacing-3));
  margin-right: calc(-1 * var(--spacing-3));
}

.feature-icon {
  font-size: var(--font-size-lg);
  flex-shrink: 0;
}

.feature-item span:last-child {
  font-size: var(--font-size-base);
  color: var(--gray-700);
  font-weight: 500;
}

.feature-list.addons .feature-item span:last-child {
  color: var(--gray-500);
  font-size: var(--font-size-sm);
}

.feature-item.excluded span:last-child {
  color: var(--gray-400);
}

/* Card CTA */
.card-cta {
  text-align: center;
}

.btn-full {
  width: 100%;
  justify-content: center;
  gap: var(--spacing-2);
}

.cta-note {
  font-size: var(--font-size-sm);
  color: var(--gray-500);
  margin-top: var(--spacing-3);
  font-weight: 500;
}

/* Trust Section */
.trust-section {
  position: relative;
  z-index: 2;
  margin-bottom: var(--spacing-16);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-8);
}

.trust-item {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: var(--spacing-6);
  text-align: center;
  transition: var(--transition);
}

.trust-item:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.trust-item .trust-icon {
  font-size: var(--font-size-3xl);
}

.trust-item h4 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--spacing-2);
}

.trust-item p {
  font-size: var(--font-size-sm);
  color: var(--gray-600);
  margin: 0;
}

/* FAQ Section */
.faq {
  position: relative;
  padding: var(--spacing-24) 0;
  background: linear-gradient(135deg, #ffffff 0%, var(--gray-50) 100%);
  overflow: hidden;
}

.faq .container {
  position: relative;
  z-index: 2;
}

.faq-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.faq-shapes {
  position: relative;
  width: 100%;
  height: 100%;
}

.faq-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary) 0%, var(--primary-dark) 100%);
  opacity: 0.05;
  animation: float 12s ease-in-out infinite;
}

.faq-shape-1 {
  width: 200px;
  height: 200px;
  top: 15%;
  left: -100px;
  animation-delay: 0s;
}

.faq-shape-2 {
  width: 150px;
  height: 150px;
  bottom: 25%;
  right: -75px;
  animation-delay: 6s;
}

.faq-shape-3 {
  width: 100px;
  height: 100px;
  top: 70%;
  left: 60%;
  animation-delay: 3s;
}

.pricing-faq {
  position: relative;
  z-index: 2;
}

.pricing-faq h3 {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  color: var(--gray-900);
  text-align: center;
  margin-bottom: var(--spacing-12);
}

/* FAQ Categories */
.faq-categories {
  display: flex;
  justify-content: center;
  gap: var(--spacing-3);
  margin-bottom: var(--spacing-10);
  flex-wrap: wrap;
}

.faq-category-btn {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-full);
  padding: var(--spacing-3) var(--spacing-5);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.faq-category-btn:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.faq-category-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: var(--primary);
  color: white;
  box-shadow: var(--shadow-lg);
}

.category-icon {
  font-size: var(--font-size-lg);
}

/* FAQ Grid */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-6);
  align-items: start;
}

@media (min-width: 768px) {
  .faq-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-8);
    align-items: start;
  }
}

.faq-item {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-2xl);
  padding: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  position: relative;
}

.faq-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark), var(--accent));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.faq-item:hover::before {
  transform: scaleX(1);
}

.faq-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-xl);
}

.faq-item.active::before {
  transform: scaleX(1);
}

/* FAQ Question */
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-6);
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
  /* Ensure touch targets are large enough on mobile */
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.faq-question:hover {
  background: rgba(var(--primary-rgb), 0.05);
}

.faq-item.active .faq-question {
  border-bottom-color: var(--gray-200);
}

.question-content {
  display: flex;
  align-items: center;
  gap: var(--spacing-4);
  flex: 1;
}

.question-icon {
  font-size: var(--font-size-2xl);
  color: var(--primary);
  flex-shrink: 0;
}

.question-text {
  font-weight: 700;
  color: var(--gray-900);
  font-size: var(--font-size-lg);
  line-height: 1.4;
}

.question-badge {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
  padding: var(--spacing-1) var(--spacing-3);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.faq-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gray-100);
  transition: all 0.3s ease;
  flex-shrink: 0;
  position: relative;
  /* Ensure touch target is large enough on mobile */
  min-width: 44px;
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
}

.faq-item.active .faq-toggle {
  background: var(--primary);
  transform: rotate(45deg);
}

.toggle-icon {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--gray-600);
  transition: color 0.3s ease;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin-top: -1px;
}

.faq-item.active .toggle-icon {
  color: white;
}

/* FAQ Answer */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  opacity: 1;
}

.answer-content {
  padding: var(--spacing-4) var(--spacing-6) var(--spacing-6);
}

.answer-content p {
  font-size: var(--font-size-base);
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: var(--spacing-4);
}

.answer-content p:last-child {
  margin-bottom: 0;
}

.answer-list {
  list-style: none;
  padding: 0;
  margin: var(--spacing-4) 0;
}

.answer-list li {
  position: relative;
  padding-left: var(--spacing-6);
  margin-bottom: var(--spacing-2);
  color: var(--gray-700);
  line-height: 1.6;
}

.answer-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: var(--font-size-lg);
}

/* Answer Highlights */
.answer-highlight {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(var(--accent-rgb), 0.1));
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  border-radius: var(--radius-lg);
  padding: var(--spacing-4);
  margin-top: var(--spacing-4);
}

.highlight-icon {
  font-size: var(--font-size-xl);
  color: var(--primary);
  flex-shrink: 0;
}

.answer-highlight span:last-child {
  font-weight: 600;
  color: var(--gray-800);
  font-size: var(--font-size-sm);
}

/* Dark mode styles for answer highlights */
html.dark-mode .answer-highlight {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.2), rgba(var(--accent-rgb), 0.2));
  border-color: rgba(var(--primary-rgb), 0.3);
}

html.dark-mode .answer-highlight span:last-child {
  color: var(--dark-text-primary);
}

/* Timeline Highlight */
.timeline-highlight {
  background: rgba(var(--primary-rgb), 0.05);
  border-radius: var(--radius-lg);
  padding: var(--spacing-4);
  margin: var(--spacing-4) 0;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  margin-bottom: var(--spacing-3);
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  font-size: var(--font-size-sm);
  font-weight: 700;
  flex-shrink: 0;
}

.timeline-text {
  color: var(--gray-700);
  font-weight: 500;
}

/* Pricing Highlight */
.pricing-highlight {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3);
  margin: var(--spacing-4) 0;
}

.pricing-option {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  padding: var(--spacing-3) var(--spacing-4);
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}

.pricing-option.featured {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(var(--accent-rgb), 0.1));
  border-color: var(--primary);
}

.option-icon {
  font-size: var(--font-size-lg);
  color: var(--primary);
}

.option-text {
  font-weight: 600;
  color: var(--gray-800);
}

/* Support Features */
.support-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-3);
  margin: var(--spacing-4) 0;
}

.support-feature {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  padding: var(--spacing-3);
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}

.feature-icon {
  font-size: var(--font-size-lg);
  color: var(--primary);
  flex-shrink: 0;
}

.feature-text {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--gray-700);
}

/* Optimization List */
.optimization-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--spacing-3);
  margin: var(--spacing-4) 0;
}

.optimization-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  padding: var(--spacing-3);
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}

.opt-icon {
  font-size: var(--font-size-lg);
  color: var(--primary);
  flex-shrink: 0;
}

.opt-text {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--gray-700);
}

/* Dark mode styles for timeline and optimization text */
html.dark-mode .timeline-text {
  color: var(--dark-text-secondary);
}

html.dark-mode .opt-text {
  color: var(--dark-text-secondary);
}

/* Dark mode styles for support features */
html.dark-mode .support-feature {
  background: var(--dark-bg-secondary);
  border-color: var(--dark-border);
}

html.dark-mode .feature-text {
  color: var(--dark-text-secondary);
}

/* FAQ CTA */
.faq-cta {
  text-align: center;
  margin-top: var(--spacing-16);
  padding: var(--spacing-12);
  background: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.12),
    rgba(var(--accent-rgb), 0.12)
  );
  border-radius: var(--radius-2xl);
  border: 3px solid rgba(var(--primary-rgb), 0.2);
  box-shadow: 0 6px 25px rgba(var(--primary-rgb), 0.12);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.02),
    rgba(var(--accent-rgb), 0.02)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.faq-cta:hover::before {
  opacity: 1;
}

.faq-cta:hover {
  border-color: rgba(var(--primary-rgb), 0.35);
  box-shadow: 0 10px 35px rgba(var(--primary-rgb), 0.18);
  transform: translateY(-3px);
  background: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.15),
    rgba(var(--accent-rgb), 0.15)
  );
}

/* FAQ CTA specific styles */
.faq-cta .cta-content {
  position: relative;
  z-index: 1;
}

.faq-cta .cta-content h4 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--spacing-3);
}

.faq-cta .cta-content p {
  font-size: var(--font-size-lg);
  color: var(--gray-600);
  margin-bottom: var(--spacing-6);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ Animations */
@keyframes faqSlideIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes faqPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.faq-item {
  animation: faqSlideIn 0.6s ease-out forwards;
}

.faq-item:hover .question-icon {
  animation: faqPulse 0.6s ease-in-out;
}

/* FAQ Loading States */
.faq-item.loading {
  opacity: 0.7;
  pointer-events: none;
}

.faq-item.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--primary);
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .value-props {
    grid-template-columns: 1fr;
    gap: var(--spacing-6);
  }

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

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

  .card-header {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-2);
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-6);
  }

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

  .faq-categories {
    gap: var(--spacing-2);
  }

  .faq-category-btn {
    padding: var(--spacing-2) var(--spacing-3);
    font-size: var(--font-size-xs);
  }

  /* Mobile-specific FAQ improvements */
  .faq-question {
    padding: var(--spacing-4);
    min-height: 60px;
  }

  .question-text {
    font-size: var(--font-size-base);
    line-height: 1.3;
  }

  .faq-toggle {
    width: 44px;
    height: 44px;
  }

  .toggle-icon {
    font-size: var(--font-size-lg);
  }

  .answer-content {
    padding: var(--spacing-3) var(--spacing-4) var(--spacing-4);
  }

  .support-features {
    grid-template-columns: 1fr;
  }

  .optimization-list {
    grid-template-columns: 1fr;
  }

  .pricing-highlight {
    gap: var(--spacing-2);
  }
}

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

  /* Center emojis in cards on mobile */
  .stat-card .stat-icon {
    margin-left: auto;
    margin-right: auto;
  }

  .portfolio-badge .badge-icon {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Animations */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.6);
  }
}

/* Scroll animations removed - keeping only triggered animations like hover and click */

/* Enhanced hover effects */
.pricing-card:hover .card-glow {
  opacity: 1;
  animation: glow 2s ease-in-out infinite;
}

.value-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.trust-item:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

/* Price animation */
.price-number {
  transition: transform 0.2s ease-out;
}

/* Feature item animations */
.feature-item {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item:hover {
  transform: translateX(5px);
  background: rgba(14, 165, 233, 0.05);
  border-radius: var(--radius-lg);
  padding-left: var(--spacing-3);
  padding-right: var(--spacing-3);
  margin-left: calc(-1 * var(--spacing-3));
  margin-right: calc(-1 * var(--spacing-3));
}

/* Scroll animation delays removed */

/* Development Timeline Styles */
.development-timeline {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
  padding: var(--spacing-16) 0;
}

.development-timeline::before {
  content: '';
  position: absolute;
  left: 50px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(
    180deg,
    var(--success) 0%,
    var(--primary) 50%,
    var(--primary-dark) 100%
  );
  border-radius: var(--radius-full);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--spacing-12);
  /* Scroll animation removed */
  opacity: 1;
  transform: translateX(0);
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
  /* Scroll animation removed */
  transform: translateX(0);
}

/* Timeline animation delays removed */

.timeline-marker {
  position: relative;
  flex-shrink: 0;
  width: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.marker-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, var(--success) 0%, #10b981 100%);
  border-radius: 50%;
  font-size: var(--font-size-xl);
  color: white;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 3;
  transition: var(--transition);
}

.timeline-item:hover .marker-icon {
  transform: scale(1.1);
  box-shadow: var(--shadow-xl);
}

.marker-line {
  width: 4px;
  height: 80px;
  background: linear-gradient(180deg, var(--success) 0%, var(--primary) 100%);
  border-radius: var(--radius-full);
  margin-top: var(--spacing-4);
}

.timeline-item:last-child .marker-line {
  display: none;
}

.timeline-content {
  flex: 1;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-2xl);
  padding: var(--spacing-8);
  margin: 0 var(--spacing-8);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(45deg, var(--success) 0%, var(--primary) 100%);
}

.timeline-item:nth-child(even) .timeline-content::before {
  background: linear-gradient(45deg, var(--primary) 0%, var(--success) 100%);
}

.timeline-content:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--success);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-4);
}

.timeline-header h3 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--gray-900);
  margin: 0;
}

.timeline-phase {
  background: linear-gradient(45deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  font-size: var(--font-size-sm);
  font-weight: 600;
  padding: var(--spacing-1) var(--spacing-3);
  border-radius: var(--radius-xl);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.timeline-content p {
  font-size: var(--font-size-lg);
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: var(--spacing-6);
}

.timeline-features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-2);
}

.feature-pill {
  background: linear-gradient(45deg, var(--gray-100) 0%, var(--gray-200) 100%);
  color: var(--gray-700);
  font-size: var(--font-size-sm);
  font-weight: 500;
  padding: var(--spacing-2) var(--spacing-4);
  border-radius: var(--radius-full);
  border: 1px solid var(--gray-300);
  transition: var(--transition);
}

.feature-pill:hover {
  background: linear-gradient(45deg, var(--success) 0%, #10b981 100%);
  color: white;
  border-color: var(--success);
  transform: translateY(-2px);
}

.services-cta {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: var(--spacing-16);
  padding: var(--spacing-12);
  background: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.12),
    rgba(var(--accent-rgb), 0.12)
  );
  border-radius: var(--radius-2xl);
  border: 3px solid rgba(var(--primary-rgb), 0.2);
  box-shadow: 0 6px 25px rgba(var(--primary-rgb), 0.12);
  overflow: hidden;
  transition: all 0.3s ease;
}

.services-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.02),
    rgba(var(--accent-rgb), 0.02)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.services-cta:hover::before {
  opacity: 1;
}

.services-cta:hover {
  border-color: rgba(var(--primary-rgb), 0.35);
  box-shadow: 0 10px 35px rgba(var(--primary-rgb), 0.18);
  transform: translateY(-3px);
  background: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.15),
    rgba(var(--accent-rgb), 0.15)
  );
}

.services-cta-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.services-cta-shapes {
  position: relative;
  width: 100%;
  height: 100%;
}

.cta-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary) 0%, var(--primary-dark) 100%);
  opacity: 0.05;
  animation: float 12s ease-in-out infinite;
}

.cta-shape-1 {
  width: 200px;
  height: 200px;
  top: 15%;
  left: -100px;
  animation-delay: 0s;
}

.cta-shape-2 {
  width: 150px;
  height: 150px;
  bottom: 25%;
  right: -75px;
  animation-delay: 6s;
}

.cta-shape-3 {
  width: 100px;
  height: 100px;
  top: 70%;
  left: 60%;
  animation-delay: 3s;
}

/* Services CTA specific styles */
.services-cta .cta-content {
  position: relative;
  z-index: 1;
}

.services-cta .cta-content h3 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--spacing-3);
}

.services-cta .cta-content p {
  font-size: var(--font-size-lg);
  color: var(--gray-600);
  margin-bottom: var(--spacing-6);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Timeline scroll animations removed */

/* Scroll animations removed */

/* Responsive Timeline */
@media (max-width: 768px) {
  .development-timeline::before {
    left: 30px;
  }

  .timeline-marker {
    width: 60px;
  }

  .marker-icon {
    width: 50px;
    height: 50px;
    font-size: var(--font-size-lg);
  }

  .timeline-content {
    margin: 0 var(--spacing-4);
    padding: var(--spacing-6);
  }

  .timeline-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-2);
  }

  .timeline-header h3 {
    font-size: var(--font-size-xl);
  }

  .timeline-content p {
    font-size: var(--font-size-base);
  }

  .timeline-features {
    gap: var(--spacing-1);
  }

  .feature-pill {
    font-size: var(--font-size-xs);
    padding: var(--spacing-1) var(--spacing-3);
  }
}

@media (max-width: 480px) {
  .timeline-item {
    flex-direction: column !important;
    align-items: center;
    text-align: left;
  }

  .timeline-item:nth-child(even) {
    flex-direction: column !important;
  }

  .timeline-content {
    margin: var(--spacing-4) 0 0 0;
    width: 100%;
  }

  .development-timeline::before {
    display: none;
  }

  .marker-line {
    display: none;
  }
}

/* Enhanced Testimonials Section */
.testimonials {
  position: relative;
  padding: var(--spacing-24) 0;
  background: linear-gradient(135deg, var(--gray-50) 0%, #ffffff 50%, var(--gray-100) 100%);
  overflow: hidden;
}

.testimonials-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.testimonials-shapes {
  position: relative;
  width: 100%;
  height: 100%;
}

.testimonial-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary) 0%, var(--primary-dark) 100%);
  opacity: 0.08;
  animation: float 10s ease-in-out infinite;
}

.testimonial-shape-1 {
  width: 120px;
  height: 120px;
  top: 15%;
  right: 15%;
  animation-delay: 0s;
}

.testimonial-shape-2 {
  width: 80px;
  height: 80px;
  bottom: 25%;
  left: 10%;
  animation-delay: 4s;
}

.testimonial-shape-3 {
  width: 60px;
  height: 60px;
  top: 70%;
  right: 25%;
  animation-delay: 8s;
}

.testimonials .section-header {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: var(--spacing-16);
}

.testimonials .header-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-2);
  background: linear-gradient(45deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  border-radius: var(--radius-2xl);
  padding: var(--spacing-2) var(--spacing-4);
  margin-bottom: var(--spacing-6);
  font-size: var(--font-size-sm);
  font-weight: 600;
  box-shadow: var(--shadow-lg);
}

.testimonials-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-8);
  margin-bottom: var(--spacing-16);
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: white;
  padding: var(--spacing-8);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(45deg, var(--primary) 0%, var(--primary-dark) 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
  border-color: var(--primary);
}

.testimonial-card:hover::before {
  transform: scaleX(1);
}

.testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-6);
}

.quote-icon {
  font-size: var(--font-size-2xl);
  color: var(--primary);
  opacity: 0.3;
  animation: bounce 2s ease-in-out infinite;
}

.rating {
  display: flex;
  gap: var(--spacing-1);
}

.star {
  font-size: var(--font-size-lg);
  color: #fbbf24;
  animation: twinkle 1.5s ease-in-out infinite;
}

.star:nth-child(2) {
  animation-delay: 0.2s;
}
.star:nth-child(3) {
  animation-delay: 0.4s;
}
.star:nth-child(4) {
  animation-delay: 0.6s;
}
.star:nth-child(5) {
  animation-delay: 0.8s;
}

.testimonial-content {
  margin-bottom: var(--spacing-6);
}

.testimonial-content p {
  font-style: italic;
  color: var(--gray-700);
  margin: 0;
  line-height: 1.7;
  font-size: var(--font-size-lg);
  position: relative;
}

.testimonial-content p::before {
  content: '"';
  font-size: 3rem;
  color: var(--primary);
  opacity: 0.2;
  position: absolute;
  top: -10px;
  left: -10px;
  font-family: serif;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--spacing-4);
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}

.avatar-text {
  color: white;
  font-weight: 700;
  font-size: var(--font-size-lg);
}

.author-info {
  flex: 1;
}

.author-info h4 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-1);
  color: var(--gray-900);
  font-weight: 600;
}

.author-title {
  font-size: var(--font-size-sm);
  color: var(--gray-600);
  margin-bottom: var(--spacing-2);
  display: block;
}

.industry-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-1);
  background: var(--gray-100);
  color: var(--gray-700);
  border-radius: var(--radius-full);
  padding: var(--spacing-1) var(--spacing-3);
  font-size: var(--font-size-xs);
  font-weight: 500;
  border: 1px solid var(--gray-200);
}

.industry-badge .badge-icon {
  font-size: var(--font-size-sm);
}

.testimonials-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-8);
  text-align: center;
  margin-top: var(--spacing-16);
}

.testimonials-stats .stat-item {
  background: white;
  padding: var(--spacing-6);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.testimonials-stats .stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.testimonials-stats .stat-number {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: var(--spacing-2);
  background: linear-gradient(45deg, var(--primary) 0%, var(--primary-dark) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.testimonials-stats .stat-label {
  font-size: var(--font-size-sm);
  color: var(--gray-600);
  font-weight: 500;
}

/* Testimonial Animations */
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

/* Responsive Testimonials */
@media (max-width: 768px) {
  .testimonials {
    padding: var(--spacing-16) 0;
  }

  .testimonials-grid {
    gap: var(--spacing-6);
  }

  .testimonial-card {
    padding: var(--spacing-6);
  }

  .testimonial-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-3);
  }

  .testimonial-author {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-3);
  }

  .author-avatar {
    width: 50px;
    height: 50px;
  }

  .avatar-text {
    font-size: var(--font-size-base);
  }

  .testimonials-stats {
    grid-template-columns: 1fr;
    gap: var(--spacing-4);
  }

  .testimonials-stats .stat-item {
    padding: var(--spacing-4);
  }

  .testimonials-stats .stat-number {
    font-size: var(--font-size-2xl);
  }
}

@media (max-width: 480px) {
  .testimonial-content p {
    font-size: var(--font-size-base);
  }

  .testimonial-content p::before {
    font-size: 2rem;
    top: -5px;
    left: -5px;
  }

  .industry-badge {
    font-size: var(--font-size-xs);
    padding: var(--spacing-1) var(--spacing-2);
  }
}

/* Enhanced Contact Section */
.contact {
  position: relative;
  padding: var(--spacing-24) 0;
  background: linear-gradient(135deg, var(--gray-50) 0%, #ffffff 50%, var(--gray-100) 100%);
  overflow: hidden;
}

.contact-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.contact-shapes {
  position: relative;
  width: 100%;
  height: 100%;
}

.contact-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary) 0%, var(--primary-dark) 100%);
  opacity: 0.06;
  animation: float 12s ease-in-out infinite;
}

.contact-shape-1 {
  width: 150px;
  height: 150px;
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.contact-shape-2 {
  width: 100px;
  height: 100px;
  bottom: 20%;
  left: 5%;
  animation-delay: 3s;
}

.contact-shape-3 {
  width: 80px;
  height: 80px;
  top: 60%;
  right: 25%;
  animation-delay: 6s;
}

.contact-shape-4 {
  width: 120px;
  height: 120px;
  bottom: 10%;
  right: 30%;
  animation-delay: 9s;
}

.contact-header {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: var(--spacing-16);
}

.contact-header .header-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-2);
  background: linear-gradient(45deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  border-radius: var(--radius-2xl);
  padding: var(--spacing-2) var(--spacing-4);
  margin-bottom: var(--spacing-6);
  font-size: var(--font-size-sm);
  font-weight: 600;
  box-shadow: var(--shadow-lg);
}

.contact-header h2 {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--spacing-4);
  color: var(--gray-900);
  background: linear-gradient(45deg, var(--gray-900) 0%, var(--primary) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-header p {
  font-size: var(--font-size-lg);
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.contact-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-16);
}

@media (min-width: 1024px) {
  .contact-content {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-20);
  }
}

/* Contact Stats */
.contact-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-4);
  margin-bottom: var(--spacing-12);
}

.contact-stats .stat-card {
  background: white;
  padding: var(--spacing-4);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: all 0.3s ease;
}

.contact-stats .stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.contact-stats .stat-icon {
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-2);
  display: block;
}

.contact-stats .stat-number {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--spacing-1);
}

.contact-stats .stat-label {
  font-size: var(--font-size-xs);
  color: var(--gray-600);
  font-weight: 500;
}

/* Contact Methods */
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-6);
  margin-bottom: var(--spacing-8);
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-4);
  padding: var(--spacing-6);
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.contact-method:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.contact-icon-wrapper {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

.contact-icon {
  font-size: var(--font-size-xl);
  color: white;
  z-index: 2;
}

.icon-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary) 0%, var(--primary-dark) 100%);
  opacity: 0.3;
  animation: pulse 2s ease-in-out infinite;
}

.method-content {
  flex: 1;
}

.method-content h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-2);
  color: var(--gray-900);
  font-weight: 600;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  margin-bottom: var(--spacing-1);
}

.contact-link:hover {
  color: var(--primary-dark);
  transform: translateX(4px);
}

.link-text {
  font-size: var(--font-size-base);
}

.link-icon {
  font-size: var(--font-size-sm);
  opacity: 0.7;
}

.method-subtitle {
  font-size: var(--font-size-sm);
  color: var(--gray-500);
  font-style: italic;
}

/* Contact Features */
.contact-features {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3);
}

.contact-features .feature-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  padding: var(--spacing-3) var(--spacing-4);
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.contact-features .feature-item:hover {
  background: white;
  border-color: var(--primary);
  transform: translateX(4px);
}

.contact-features .feature-icon {
  font-size: var(--font-size-lg);
  color: var(--primary);
}

.contact-features .feature-item span:last-child {
  font-size: var(--font-size-sm);
  color: var(--gray-700);
  font-weight: 500;
}

/* Enhanced Contact Form */
.contact-form {
  background: white;
  padding: var(--spacing-8);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(45deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.form-header {
  text-align: center;
  margin-bottom: var(--spacing-8);
}

.form-icon {
  font-size: var(--font-size-3xl);
  color: var(--primary);
  margin-bottom: var(--spacing-4);
  display: block;
}

.form-header h3 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--spacing-2);
  color: var(--gray-900);
  font-weight: 700;
}

.form-header p {
  font-size: var(--font-size-base);
  color: var(--gray-600);
  margin: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-6);
  margin-bottom: var(--spacing-6);
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  position: relative;
  margin-bottom: var(--spacing-6);
}

.form-group label {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: var(--spacing-3);
  font-size: var(--font-size-sm);
}

.label-icon {
  font-size: var(--font-size-base);
  color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--spacing-4);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-base);
  transition: all 0.3s ease;
  background-color: white;
  position: relative;
  z-index: 2;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
  transform: translateY(-2px);
}

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

.input-focus-border {
  display: none;
}

/* Form Submit */
.form-submit {
  margin-top: var(--spacing-8);
}

.submit-btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.submit-btn.loading .btn-text,
.submit-btn.loading .btn-icon {
  opacity: 0;
}

.submit-btn.loading .btn-loading {
  opacity: 1;
}

.loading-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.form-note {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  margin-top: var(--spacing-4);
  padding: var(--spacing-3);
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}

.note-icon {
  font-size: var(--font-size-sm);
  color: var(--gray-500);
}

.form-note span:last-child {
  font-size: var(--font-size-sm);
  color: var(--gray-600);
}

/* Contact Animations */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Responsive Contact */
@media (max-width: 768px) {
  .contact {
    padding: var(--spacing-16) 0;
  }

  .contact-header h2 {
    font-size: var(--font-size-3xl);
  }

  .contact-stats {
    grid-template-columns: 1fr;
    gap: var(--spacing-3);
  }

  .contact-stats .stat-card {
    padding: var(--spacing-3);
  }

  .contact-method {
    padding: var(--spacing-4);
  }

  .contact-icon-wrapper {
    width: 50px;
    height: 50px;
  }

  .contact-icon {
    font-size: var(--font-size-lg);
  }

  .contact-form {
    padding: var(--spacing-6);
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: var(--spacing-4);
  }
}

@media (max-width: 480px) {
  .contact-header h2 {
    font-size: var(--font-size-2xl);
  }

  .contact-header p {
    font-size: var(--font-size-base);
  }

  .contact-methods {
    gap: var(--spacing-4);
  }

  .contact-method {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

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

  .contact-link {
    justify-content: center;
  }
}

/* Enhanced Hero Styles */
.hero-image-container {
  box-shadow: none !important;
  aspect-ratio: 380/200;
  overflow: hidden;
  position: relative;
}

/* Force hero buttons to stay inline */
.hero .hero-cta {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: var(--spacing-4);
}

@media (max-width: 480px) {
  .hero .hero-cta {
    flex-direction: column !important;
  }
}

/* Ensure hero badge doesn't extend full width */
.hero .hero-badge {
  display: inline-flex !important;
  width: fit-content !important;
  max-width: none !important;
}

/* Adjust hero layout to be 50/50 */
@media (min-width: 1024px) {
  .hero .hero-content {
    grid-template-columns: 1fr 1fr !important;
    display: grid !important;
  }
}

.hero-image-container img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media (max-width: 768px) {
  .hero-image-container {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-image-container img {
    border-radius: var(--radius-lg);
  }
}

/* Enhanced Navigation Styles */
.nav-logo {
  text-decoration: none;
  color: inherit;
}

.nav-logo span {
  color: var(--gray-900);
  font-weight: 700;
}

/* Enhanced Footer Styles */
.footer {
  position: relative;
  background: linear-gradient(
    135deg,
    var(--gray-900) 0%,
    var(--gray-800) 50%,
    var(--gray-900) 100%
  );
  color: white;
  padding: var(--spacing-20) 0 var(--spacing-8);
  overflow: hidden;
}

.footer-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.footer-shapes {
  position: relative;
  width: 100%;
  height: 100%;
}

.footer-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary) 0%, var(--primary-dark) 100%);
  opacity: 0.05;
  animation: float 10s ease-in-out infinite;
}

.footer-shape-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  right: 5%;
  animation-delay: 0s;
}

.footer-shape-2 {
  width: 200px;
  height: 200px;
  bottom: 20%;
  left: 10%;
  animation-delay: 4s;
}

.footer-shape-3 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 30%;
  animation-delay: 8s;
}

.footer .container {
  position: relative;
  z-index: 2;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-16);
  margin-bottom: var(--spacing-12);
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-20);
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-6);
}

.brand-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  margin-bottom: var(--spacing-4);
  text-decoration: none;
  color: inherit;
}

.brand-header h3 {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  margin: 0;
  background: linear-gradient(45deg, var(--primary) 0%, var(--accent) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-brand p {
  color: var(--gray-300);
  margin: 0;
  font-size: var(--font-size-lg);
  line-height: 1.6;
}

.footer-brand img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-3);
  margin-top: var(--spacing-4);
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-2);
  background: linear-gradient(
    45deg,
    rgba(var(--primary-rgb), 0.2) 0%,
    rgba(var(--accent-rgb), 0.2) 100%
  );
  color: white;
  border: 1px solid rgba(var(--primary-rgb), 0.3);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2) var(--spacing-4);
  font-size: var(--font-size-sm);
  font-weight: 600;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.footer-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.footer-social {
  margin-top: var(--spacing-6);
}

.footer-social h4 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-4);
  color: white;
}

.social-links {
  display: flex;
  gap: var(--spacing-3);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(45deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  border-radius: var(--radius-xl);
  text-decoration: none;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.social-link:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: var(--shadow-xl);
}

.social-icon {
  font-size: var(--font-size-lg);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-12);
}

@media (min-width: 1024px) {
  .footer-links {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-4);
}

.footer .section-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  margin-bottom: var(--spacing-4);
}

.footer .section-icon {
  font-size: var(--font-size-xl);
  background: linear-gradient(45deg, var(--primary) 0%, var(--accent) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-section h4 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin: 0;
  color: white;
}

.footer-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3);
}

.footer-section li {
  margin: 0;
}

.footer-section a,
.footer-section span {
  color: var(--gray-300);
  text-decoration: none;
  transition: var(--transition);
  font-size: var(--font-size-base);
  display: inline-block;
  position: relative;
}

.footer-section a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-section a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(45deg, var(--primary) 0%, var(--accent) 100%);
  transition: var(--transition);
}

.footer-section a:hover::before {
  width: 100%;
}

.footer-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-6);
  margin: var(--spacing-12) 0;
  padding: var(--spacing-8) 0;
  border-top: 1px solid rgba(var(--primary-rgb), 0.2);
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.2);
}

.footer-features .feature-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-4);
  padding: var(--spacing-4);
  background: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.1) 0%,
    rgba(var(--accent-rgb), 0.1) 100%
  );
  border-radius: var(--radius-xl);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  transition: var(--transition);
}

.footer-features .feature-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.footer-features .feature-icon {
  font-size: var(--font-size-2xl);
  background: linear-gradient(45deg, var(--primary) 0%, var(--accent) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-features .feature-content h5 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin: 0 0 var(--spacing-1) 0;
  color: white;
}

.footer-features .feature-content p {
  font-size: var(--font-size-sm);
  color: var(--gray-300);
  margin: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(var(--primary-rgb), 0.2);
  padding-top: var(--spacing-8);
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-4);
}

@media (min-width: 768px) {
  .footer-bottom-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom p {
  color: var(--gray-400);
  margin: 0;
  font-size: var(--font-size-sm);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  flex-wrap: wrap;
  justify-content: center;
}

.footer-bottom-links a {
  color: var(--gray-400);
  text-decoration: none;
  font-size: var(--font-size-sm);
  transition: var(--transition);
}

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

.separator {
  color: var(--gray-600);
  font-size: var(--font-size-sm);
}

/* Footer Animations */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-20px) rotate(120deg);
  }
  66% {
    transform: translateY(10px) rotate(240deg);
  }
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer {
    padding: var(--spacing-16) 0 var(--spacing-6);
  }

  .footer-content {
    gap: var(--spacing-12);
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: var(--spacing-8);
  }

  .footer-features {
    grid-template-columns: 1fr;
    gap: var(--spacing-4);
  }

  .footer-badges {
    justify-content: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-bottom-links {
    flex-direction: column;
    gap: var(--spacing-2);
  }

  .separator {
    display: none;
  }
}

@media (max-width: 480px) {
  .footer-brand h3 {
    font-size: var(--font-size-xl);
  }

  .footer-brand p {
    font-size: var(--font-size-base);
  }

  .footer-section h4 {
    font-size: var(--font-size-lg);
  }

  .footer-features .feature-item {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-3);
  }
}

/* Mobile Button Styles - Make buttons full width on mobile */
@media (max-width: 768px) {
  /* Make all buttons full width on mobile */
  .btn {
    width: 100% !important;
    min-width: auto !important;
    max-width: none !important;
  }

  /* Ensure button containers stack vertically */
  .hero-cta,
  .cta-buttons,
  .portfolio-cta .cta-buttons,
  .services-cta .cta-buttons,
  .faq-cta .cta-buttons {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: var(--spacing-4) !important;
  }

  /* Override any inline button styles */
  .hero-btn-primary,
  .hero-btn-secondary,
  .cta-btn-primary,
  .cta-btn-secondary,
  .portfolio-btn,
  .performance-btn {
    width: 100% !important;
    min-width: auto !important;
    max-width: none !important;
    flex-shrink: 0 !important;
  }

  /* Ensure pricing card buttons are full width */
  .pricing-card .card-cta .btn {
    width: 100% !important;
  }

  /* Ensure contact form submit button is full width */
  .contact-form .submit-btn {
    width: 100% !important;
  }
}

/* Additional mobile styles for smaller screens */
@media (max-width: 480px) {
  /* Ensure all buttons maintain full width on very small screens */
  .btn {
    width: 100% !important;
    padding: var(--spacing-4) var(--spacing-6) !important;
    font-size: var(--font-size-base) !important;
  }

  /* Stack any remaining horizontal button groups */
  .cta-buttons,
  .hero-cta {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: var(--spacing-4) !important;
  }
}

/* Services Page Styles */
.content-section {
  padding: var(--spacing-16) 0;
  background: white;
  transition: var(--transition);
}

.content-section:nth-child(even) {
  background: var(--gray-50);
}

.content-section h2 {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: var(--spacing-6);
  text-align: center;
  transition: var(--transition);
}

.content-section h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--gray-900);
  margin-top: var(--spacing-8);
  margin-bottom: var(--spacing-4);
  transition: var(--transition);
}

.content-section p {
  font-size: var(--font-size-lg);
  line-height: 1.7;
  color: var(--gray-600);
  margin-bottom: var(--spacing-6);
  transition: var(--transition);
}

.content-section .container {
  max-width: 800px;
}

/* Dark Mode Styles for Content Sections */
html.dark-mode .content-section {
  background: var(--dark-bg-primary);
}

html.dark-mode .content-section:nth-child(even) {
  background: var(--dark-bg-secondary);
}

html.dark-mode .content-section h2 {
  color: var(--dark-text-primary);
}

html.dark-mode .content-section h3 {
  color: var(--dark-text-primary);
}

html.dark-mode .content-section p {
  color: var(--dark-text-secondary);
}

/* Dark Mode Styles for Services Overview */
html.dark-mode .services-overview {
  background: var(--dark-bg-secondary);
}

/* Dark Mode Styles for Service Cards */
html.dark-mode .service-card {
  background: var(--dark-card-bg);
  border-color: var(--dark-border-color);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
}

html.dark-mode .service-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
}

/* Dark Mode Styles for Other Gray-50 Background Elements */
html.dark-mode .pricing-option {
  background: var(--dark-bg-secondary);
  border-color: var(--dark-border-color);
}

html.dark-mode .support-feature {
  background: var(--dark-bg-secondary);
  border-color: var(--dark-border-color);
}

html.dark-mode .optimization-item {
  background: var(--dark-bg-secondary);
  border-color: var(--dark-border-color);
}

html.dark-mode .contact-features .feature-item {
  background: var(--dark-bg-secondary);
  border-color: var(--dark-border-color);
}

html.dark-mode .contact-features .feature-item:hover {
  background: var(--dark-card-bg);
  border-color: var(--primary);
}

html.dark-mode .form-note {
  background: var(--dark-bg-secondary);
  border-color: var(--dark-border-color);
}

html.dark-mode .why-choose-us {
  background: var(--dark-bg-secondary);
}

html.dark-mode .benefit-card {
  background: var(--dark-card-bg);
  border-color: var(--dark-border-color);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

html.dark-mode .benefit-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
}

html.dark-mode .benefit-card h3 {
  color: var(--dark-text-primary);
}

html.dark-mode .benefit-card p {
  color: var(--dark-text-secondary);
}

.services-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #0c4a6e 100%);
}

.services-overview {
  position: relative;
  padding: var(--spacing-24) 0;
  background: var(--gray-50);
  overflow: hidden;
  transition: var(--transition);
}

.services-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.services-shapes {
  position: relative;
  width: 100%;
  height: 100%;
}

.service-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.1);
  animation: float 8s ease-in-out infinite;
}

.service-shape-1 {
  width: 100px;
  height: 100px;
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.service-shape-2 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 10%;
  animation-delay: 3s;
}

.service-shape-3 {
  width: 80px;
  height: 80px;
  top: 30%;
  right: 25%;
  animation-delay: 6s;
}

.services-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-8);
  margin-top: var(--spacing-12);
}

.service-card {
  background: white;
  border-radius: var(--radius-2xl);
  padding: var(--spacing-8);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.service-icon-wrapper {
  position: relative;
  width: 60px;
  height: 60px;
  margin-bottom: var(--spacing-6);
}

.service-icon {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-xl);
  font-size: var(--font-size-2xl);
  color: white;
}

.icon-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-xl);
  filter: blur(8px);
  opacity: 0.5;
  z-index: 1;
}

.service-content h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--spacing-4);
  color: var(--gray-900);
}

.service-content p {
  color: var(--gray-600);
  margin-bottom: var(--spacing-6);
  line-height: 1.6;
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-2);
  margin-bottom: var(--spacing-6);
}

.feature-badge {
  background: var(--primary-50);
  color: var(--primary-700);
  padding: var(--spacing-1) var(--spacing-3);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 600;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-list li {
  position: relative;
  padding-left: var(--spacing-6);
  margin-bottom: var(--spacing-3);
  color: var(--gray-700);
}

.service-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: bold;
}

/* Development Process Styles */
.development-process {
  position: relative;
  padding: var(--spacing-24) 0;
  background: white;
  overflow: hidden;
}

.process-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.process-shapes {
  position: relative;
  width: 100%;
  height: 100%;
}

.process-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.05);
  animation: float 10s ease-in-out infinite;
}

.process-shape-1 {
  width: 120px;
  height: 120px;
  top: 15%;
  left: 10%;
  animation-delay: 0s;
}

.process-shape-2 {
  width: 80px;
  height: 80px;
  top: 70%;
  right: 15%;
  animation-delay: 5s;
}

.process-shape-3 {
  width: 100px;
  height: 100px;
  top: 40%;
  right: 30%;
  animation-delay: 8s;
}

.process-timeline {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: var(--spacing-12) auto 0;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-8);
  margin-bottom: var(--spacing-12);
  position: relative;
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 30px;
  top: 80px;
  bottom: -60px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), transparent);
}

.step-number {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-radius: 50%;
  font-size: var(--font-size-lg);
  font-weight: 700;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.step-content h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--spacing-4);
  color: var(--gray-900);
}

.step-content p {
  color: var(--gray-600);
  margin-bottom: var(--spacing-6);
  line-height: 1.6;
}

.step-deliverables {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-2);
}

.deliverable {
  background: var(--primary-50);
  color: var(--primary-700);
  padding: var(--spacing-2) var(--spacing-4);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-sm);
  font-weight: 600;
}

/* Why Choose Us Styles */
.why-choose-us {
  position: relative;
  padding: var(--spacing-24) 0;
  background: var(--gray-50);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-8);
  margin-top: var(--spacing-12);
}

.benefit-card {
  background: white;
  padding: var(--spacing-8);
  border-radius: var(--radius-2xl);
  text-align: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-6);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  font-size: var(--font-size-3xl);
  color: white;
}

.benefit-card h3 {
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: var(--spacing-4);
  color: var(--gray-900);
}

.benefit-card p {
  color: var(--gray-600);
  line-height: 1.6;
}

/* Responsive Styles for Services Page */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-6);
  }

  .service-card {
    padding: var(--spacing-6);
  }

  .process-step {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-4);
  }

  .process-step:not(:last-child)::after {
    display: none;
  }

  .step-number {
    align-self: center;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-6);
  }

  .benefit-card {
    padding: var(--spacing-6);
  }
}

@media (max-width: 480px) {
  .service-features {
    flex-direction: column;
    align-items: flex-start;
  }

  .step-deliverables {
    flex-direction: column;
    align-items: center;
  }

  .deliverable {
    width: 100%;
    text-align: center;
  }
}
