/* ============================================
   PREMIUM HOMEPAGE SECTIONS - REDESIGN 2026
   Modern, Attractive, Responsive & SEO Optimized
   ============================================ */

/* Global Smooth Scrolling - Disabled for Lenis compatibility */
html {
    scroll-behavior: auto !important;
    height: 100%;
}

body {
    overflow-x: hidden;
    /* Optimize painting */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========== PREMIUM FEATURES SECTION ========== */
.premium-features {
  padding: 4rem 0 3rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    rgba(10, 14, 25, 0.5) 0%,
    transparent 100%
  );
  /* Promote to composite layer for smoothness */
  transform: translateZ(0); 
  will-change: transform;
}

.features-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.premium-card {
  position: relative;
  padding: 1.75rem 1.5rem;
  background: rgba(20, 25, 40, 0.6);
  backdrop-filter: blur(10px); /* Reduced blur for performance */
  -webkit-backdrop-filter: blur(10px);
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: transform 0.3s ease, 
              box-shadow 0.3s ease,
              border-color 0.3s ease;
}

.premium-card:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.2);
}

.card-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.6s ease;
  will-change: left;
}

.premium-card:hover .card-shine {
  left: 100%;
}

.premium-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.icon-blue {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(99, 102, 241, 0.2));
    color: #60a5fa;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.icon-purple {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(168, 85, 247, 0.2));
    color: #a78bfa;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
}

.icon-cyan {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(14, 165, 233, 0.2));
    color: #22d3ee;
    box-shadow: 0 8px 24px rgba(6, 182, 212, 0.3);
}

.icon-green {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.2));
    color: #34d399;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.premium-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #f3f4f6;
    line-height: 1.3;
}

.premium-card p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin: 0;
}

.card-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06b6d4);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.premium-card:hover .card-accent {
  opacity: 1;
}

/* ========== SECTION HEADER (SHARED) ========== */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.15),
    rgba(139, 92, 246, 0.15)
  );
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 2rem;
  color: #a78bfa;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: #ffffff;
  line-height: 1.2;
}

.section-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}

.text-gradient {
  background: linear-gradient(135deg, #6366f1, #a855f7, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========== PREMIUM SERVICES SECTION ========== */
.premium-services {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #0a0e19 0%, #0f1623 50%, #0a0e19 100%);
}

.services-background {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #6366f1, transparent);
  top: -200px;
  right: -200px;
}

.orb-2 {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, #a855f7, transparent);
  bottom: -300px;
  left: -300px;
}

.gradient-mesh {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(99, 102, 241, 0.05) 1px,
    transparent 0
  );
  background-size: 40px 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    position: relative;
    padding: 1.5rem 1.5rem;
    background: linear-gradient(145deg, rgba(20, 25, 40, 0.6), rgba(15, 20, 35, 0.8));
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 15px 50px rgba(99, 102, 241, 0.25);
}

.service-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

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

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 0.875rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
    color: #6366f1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
}

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

.service-icon-purple {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(139, 92, 246, 0.2));
    color: #a855f7;
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.3);
}

.service-icon-cyan {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(14, 165, 233, 0.2));
    color: #06b6d4;
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.3);
}

.service-icon-pink {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(219, 39, 119, 0.2));
    color: #ec4899;
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.3);
}

.service-icon-green {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.2));
    color: #10b981;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.service-icon-amber {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.2));
    color: #fbbf24;
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.3);
}

.service-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
    line-height: 1.3;
}

.service-content p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 0.75rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.65);
}

.service-features i {
    color: #10b981;
    font-size: 0.625rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #6366f1;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.service-link:hover {
  gap: 0.75rem;
  color: #a855f7;
}

.service-link i {
  transition: transform 0.3s ease;
}

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

/* ========== PREMIUM PROCESS SECTION ========== */
.premium-process {
    padding: 8rem 0;
    background: linear-gradient(180deg, #0f1623 0%, #0a0e19 100%);
    position: relative;
}

.process-timeline {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 2rem 0;
}

/* Central vertical line */
.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.3), rgba(139, 92, 246, 0.3));
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    position: relative;
    margin-bottom: 4rem;
    width: 100%;
}

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

/* Odd items (1, 3, 5) - Left side */
.timeline-item:nth-child(odd) {
    justify-content: flex-start;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 50%;
    padding-right: 3rem;
}

/* Even items (2, 4) - Right side */
.timeline-item:nth-child(even) {
    justify-content: flex-end;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    padding-left: 3rem;
}

.timeline-content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2.5rem;
    background: linear-gradient(145deg, rgba(20, 25, 40, 0.5), rgba(15, 20, 35, 0.7));
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
    width: calc(50% - 2rem);
}

/* Icon positioned on the center line */
.timeline-item::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 2.5rem;
    width: 70px;
    height: 70px;
    transform: translateX(-50%);
    z-index: 3;
}

.timeline-item:hover .timeline-content {
    border-color: rgba(99, 102, 241, 0.4);
    transform: scale(1.02);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.2);
}

.timeline-icon {
    position: absolute;
    left: 50%;
    top: 2.5rem;
    transform: translateX(-50%);
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
    color: #6366f1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
    z-index: 4;
    border: 4px solid #0a0e19;
}

.timeline-item:hover .timeline-icon {
    transform: translateX(-50%) scale(1.15);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.5);
}

.timeline-details {
    flex: 1;
    position: relative;
    z-index: 2;
}

.step-label {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: rgba(99, 102, 241, 0.15);
    color: #a78bfa;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 1rem;
    margin-bottom: 1rem;
}

.timeline-details h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.timeline-details p {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.timeline-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.timeline-features span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 1rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.timeline-features i {
    color: #10b981;
}

/* Remove old connector styles */
.timeline-connector {
    display: none;
}

/* ========== PREMIUM INDUSTRIES SECTION ========== */
.premium-industries {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #0a0e19 0%, #0f1623 100%);
}

.industries-background {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.gradient-sphere {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
}

.sphere-1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, #6366f1, transparent);
  top: -250px;
  left: -200px;
}

.sphere-2 {
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, #8b5cf6, transparent);
  bottom: -350px;
  right: -250px;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    max-width: 1400px;
    margin: 0 auto;
}

.industry-card {
    position: relative;
    padding: 1.5rem 1.25rem;
    background: linear-gradient(145deg, rgba(20, 25, 40, 0.5), rgba(15, 20, 35, 0.7));
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.industry-card:hover {
    transform: translateY(-6px);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 15px 50px rgba(99, 102, 241, 0.25);
}

.industry-hover-effect {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(99, 102, 241, 0.15), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.industry-card:hover .industry-hover-effect {
    opacity: 1;
}

.industry-icon-wrapper {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
    color: #6366f1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
}

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

.industry-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.industry-card p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin: 0;
}

/* ========== PREMIUM STATS SECTION ========== */
.premium-stats {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 70% 30%, #0f172a 0%, #1e1b4b 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.3;
}

.background-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 80%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
}

.dot-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}

/* Floating Elements & Animations */
.floating-element {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    pointer-events: none;
}

.float-1 {
    top: 10%;
    left: 5%;
    width: 15rem;
    height: 15rem;
    background: rgba(59, 130, 246, 0.15);
    animation: float 8s ease-in-out infinite;
}

.float-2 {
    bottom: 10%;
    right: 5%;
    width: 20rem;
    height: 20rem;
    background: rgba(168, 85, 247, 0.15);
    animation: floatDelayed 10s ease-in-out infinite;
}

.float-3 {
    top: 40%;
    left: 40%;
    width: 10rem;
    height: 10rem;
    background: rgba(16, 185, 129, 0.15);
    animation: pulse 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

@keyframes floatDelayed {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-40px) scale(1.05); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

.stats-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10vw;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.stat-card {
    position: relative;
    padding: 2rem 1.75rem;
    background: rgba(30, 41, 59, 0.4);
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover {
    transform: translateY(-8px);
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-background-gradient {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05), transparent 70%);
}

.stat-card:hover .card-background-gradient {
    opacity: 1;
}

.gradient-emerald { background: radial-gradient(circle at center, rgba(16, 185, 129, 0.15), transparent 70%); }
.gradient-rose { background: radial-gradient(circle at center, rgba(244, 63, 94, 0.15), transparent 70%); }
.gradient-violet { background: radial-gradient(circle at center, rgba(139, 92, 246, 0.15), transparent 70%); }
.gradient-amber { background: radial-gradient(circle at center, rgba(251, 191, 36, 0.15), transparent 70%); }

.stat-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.stat-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    transition: transform 0.4s ease;
    background: rgba(255, 255, 255, 0.05);
    font-size: 1.75rem;
    color: white;
}

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

/* Specific colors overrides */
.stat-emerald { background: rgba(16, 185, 129, 0.2); color: #34d399; }
.stat-rose { background: rgba(244, 63, 94, 0.2); color: #fb7185; }
.stat-violet { background: rgba(139, 92, 246, 0.2); color: #a78bfa; }
.stat-amber { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }

.stat-number {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    font-family: 'Outfit', sans-serif;
}

.stat-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 0.5rem;
}

.stat-description {
    font-size: 0.875rem;
    color: #94a3b8;
    line-height: 1.6;
    margin: 0;
}

.stat-progress-bar-container {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    overflow: hidden;
    margin-top: 1.5rem;
}

.stat-progress-bar {
    height: 100%;
    width: 0;
    border-radius: 999px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover .stat-progress-bar {
    width: 100%;
}

.stat-progress-bar.gradient-emerald { background: linear-gradient(to right, #10b981, #0d9488); }
.stat-progress-bar.gradient-rose { background: linear-gradient(to right, #f43f5e, #ec4899); }
.stat-progress-bar.gradient-violet { background: linear-gradient(to right, #8b5cf6, #a855f7); }
.stat-progress-bar.gradient-amber { background: linear-gradient(to right, #f59e0b, #f97316); }

.stats-cta {
    text-align: center;
    margin-top: 5rem;
    position: relative;
    z-index: 2;
}

.cta-text {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    font-weight: 500;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    padding: 1.25rem 2.5rem;
    border-radius: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.5);
    font-size: 1.1rem;
    text-decoration: none;
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(59, 130, 246, 0.6);
    filter: brightness(1.1);
    gap: 1rem;
}

/* ========== RESPONSIVE BREAKPOINTS ========== */
@media (max-width: 1024px) {
  .premium-features,
  .premium-services,
  .premium-process,
  .premium-industries,
  .premium-stats {
    padding: 6rem 0;
  }

  .section-header {
    margin-bottom: 3rem;
  }

  /* Keep 4 columns on tablet for feature cards */
  .features-wrapper {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }

  /* 2 columns on tablet for services */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }

  /* 3 columns on tablet for industries */
  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  .premium-features,
  .premium-services,
  .premium-process,
  .premium-industries,
  .premium-stats {
    padding: 4rem 0;
  }

  .section-title {
    font-size: clamp(1.875rem, 4vw, 2.5rem);
  }

  .section-description {
    font-size: 1rem;
  }

  /* 2 columns on smaller tablets for feature cards */
  .features-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* 2 columns on tablet for stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  /* 2 columns on small tablet for industries */
  .industries-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 1.25rem;
  }

  /* Mobile timeline - stack vertically */
  .process-timeline::before {
    left: 2rem;
  }

  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin: 0;
    padding: 2rem;
    width: calc(100% - 5rem);
    margin-left: 5rem;
  }

  .timeline-icon {
    left: 2rem;
    transform: translateX(0);
  }

  .timeline-item:hover .timeline-icon {
    transform: translateX(0) scale(1.15);
  }

  .timeline-content {
    flex-direction: column;
    padding: 2rem;
  }

  .timeline-connector {
    display: none;
  }

  .premium-card,
  .service-card,
  .industry-card,
  .stat-card {
    padding: 2rem 1.5rem;
  }

  .cta-text {
    font-size: 1.25rem;
  }

  .cta-button {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  /* Single column on mobile for feature cards */
  .features-wrapper {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Single column on mobile for industries */
  .industries-grid {
      grid-template-columns: 1fr;
      gap: 1rem;
  }

  /* Single column on mobile for stats */
  .stats-grid {
      grid-template-columns: 1fr;
      gap: 1.25rem;
  }

  .timeline-features {
    flex-direction: column;
    gap: 0.75rem;
  }

  .timeline-features span {
    width: 100%;
    justify-content: flex-start;
  }

  .stats-watermark {
    font-size: 4rem;
  }
}

/* ========== ACCESSIBILITY ========== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus visible styles for keyboard navigation */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #6366f1;
  outline-offset: 4px;
}

/* ========== PREMIUM CONTACT SECTION ========== */
.premium-contact {
  padding: 8rem 0;
  background: radial-gradient(circle at 50% 50%, #020617 0%, #0f172a 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.premium-contact::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1), transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  animation: pulseGlow 10s infinite alternate;
}

.premium-contact::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1), transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  animation: pulseGlow 8s infinite alternate-reverse;
}

@keyframes pulseGlow {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.1); opacity: 0.8; }
}

/* Bubble Animation */
.bubble-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.bubble {
  position: absolute;
  bottom: -100px;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(168, 85, 247, 0.2));
  border-radius: 50%;
  animation: float-up 15s linear infinite;
  opacity: 0.4;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
}

.bubble:nth-child(odd) { background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(59, 130, 246, 0.2)); }
.bubble:nth-child(3n) { background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(236, 72, 153, 0.2)); width: 15px; height: 15px; animation-duration: 12s; }
.bubble:nth-child(4n) { background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(99, 102, 241, 0.2)); width: 25px; height: 25px; animation-duration: 18s; }

@keyframes float-up {
  0% { transform: translateY(0); opacity: 0; }
  10% { opacity: 0.4; }
  90% { opacity: 0.4; }
  100% { transform: translateY(-800px); opacity: 0; }
}

/* Reduced number of active bubbles via CSS display if needed, 
   but for now just simplifying the animation path */

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

/* Contact Info Card */
.info-card {
  background: rgba(30, 41, 59, 0.85); /* Solid-ish background instead of blur */
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  background: rgba(30, 41, 59, 0.6);
  border-color: rgba(96, 165, 250, 0.3);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.info-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border-radius: 14px;
  transition: all 0.3s ease;
  border: 1px solid rgba(59, 130, 246, 0.2);
  font-size: 1.25rem;
}

.info-card:hover .info-icon {
  transform: scale(1.1) rotate(5deg);
  background: rgba(59, 130, 246, 0.25);
  color: #93c5fd;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.item-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 0.25rem;
}

.info-link {
  color: #93c5fd;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.info-link:hover { color: #60a5fa; }
.info-text { color: #94a3b8; }

/* WhatsApp Specific */
.whatsapp-item .info-icon {
  background: rgba(37, 211, 102, 0.1);
  color: #25d366;
  border-color: rgba(37, 211, 102, 0.2);
}
.info-card:hover .whatsapp-item .info-icon { background: rgba(37, 211, 102, 0.2); }
.whatsapp-item .info-link { color: #25d366; }
.whatsapp-item .info-link:hover { color: #128C7E; }

/* Social Links */
.integrated-socials {
  margin-top: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #e2e8f0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.social-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.social-link span {
  display: none;
}

.social-link:hover {
  transform: translateY(-3px);
  color: #fff;
  background: rgba(255, 255, 255, 0.08); 
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.social-link i { 
  font-size: 1.25rem; 
  width: 24px; /* Fixed width for icon alignment */
  text-align: center;
  flex-shrink: 0;
}

/* Social Media Platform Colors */
.social-youtube i { color: #FF0000; }
.social-linkedin i { color: #0077B5; }
.social-twitter i { color: #fff; }
.social-facebook i { color: #1877F2; }
.social-instagram i { color: #E4405F; }


/* Contact Form */
.contact-form-wrapper {
  background: rgba(30, 41, 59, 0.9); /* Solid-ish for performance */
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1.5rem;
  padding: 3rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.form-group { margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: #cbd5e1;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 1rem;
  background: #0f172a !important; /* Force dark background */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  color: #f1f5f9 !important;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

/* Fix for Browser Autofill (White Background Issue) */
.form-input:-webkit-autofill,
.form-input:-webkit-autofill:hover, 
.form-input:-webkit-autofill:focus, 
.form-input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #0f172a inset !important;
    -webkit-text-fill-color: #f1f5f9 !important;
    transition: background-color 5000s ease-in-out 0s;
    background-color: #0f172a !important;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
  background: rgba(15, 23, 42, 0.7);
  transform: translateY(-2px);
}

.form-select option { background: #0f172a; color: #e2e8f0; }
.form-textarea { resize: vertical; min-height: 120px; }

.submit-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6, #db2777);
  background-size: 200% 200%;
  animation: gradientShift 5s ease infinite;
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.submit-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.6);
  filter: brightness(1.1);
}

.submit-button:disabled { opacity: 0.7; cursor: not-allowed; }

/* Messages */
.form-message {
  display: none;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.success-message { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.2); }
.error-message { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.2); }

/* Responsive */
@media (max-width: 968px) {
  .contact-content { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
  .premium-contact { padding: 5rem 0; }
  .contact-form-wrapper { padding: 2rem; }
}

@media (max-width: 480px) {
  .social-links { grid-template-columns: 1fr; }
  .contact-form-wrapper, .info-card { padding: 1.5rem; }
}

/* =========================================
   MOBILE PERFORMANCE OPTIMIZATIONS 
   ========================================= */
@media (max-width: 768px) {
    /* Remove Bubble Effect as requested */
    .bubble-container {
        display: none !important;
    }

    /* Disable heavy background gradients and floating elements */
    .gradient-sphere,
    .floating-element,
    .services-background,
    .stats-background,
    .premium-contact::before,
    .premium-contact::after {
        display: none !important;
    }

    /* Remove expensive backdrop filters */
    .premium-card,
    .service-card,
    .industry-card,
    .stat-card,
    .timeline-content,
    .info-card,
    .contact-form-wrapper,
    .hero-callout {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: #0f172a !important; /* Fallback solid color */
        border: 1px solid rgba(255,255,255,0.05) !important;
        box-shadow: none !important;
    }

    /* Simplify hover states */
    .premium-card:hover,
    .service-card:hover,
    .industry-card:hover,
    .stat-card:hover {
        transform: none !important;
        box-shadow: none !important;
    }
    
    /* Ensure text visibility ("full light") on simpler backgrounds */
    .service-content p, 
    .premium-card p,
    .timeline-details p {
        color: #cbd5e1 !important; /* Light slate for better contrast */
    }
}
