/* Paleta recomendada y variables generales */
:root {
  /* Tonos principales - Moderno y Vibrante */
  --primary-900: #0f214a;
  --primary-800: #1a2f5a;
  --primary-700: #1e3a8a; /* principal */
  --primary-600: #2563eb; /* más brillante */
  --secondary-500: #10b981; /* verde */
  --secondary-400: #34d399; /* verde más claro */
  --accent-500: #f59e0b; /* ámbar */
  --accent-400: #fbbf24; /* ámbar más claro */
  --accent-600: #d97706; /* ámbar oscuro */
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;

  /* Neutros */
  --bg: #ffffff;
  --surface: #f8fafc;
  --surface-dark: #f1f5f9;
  --muted: #6b7280;
  --muted-light: #9ca3af;
  --text: #0f1724;
  --text-light: #374151;

  /* Radii y sombras - Profesional y moderno */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 36, 0.06),
    0 1px 2px rgba(15, 23, 36, 0.04);
  --shadow-md: 0 4px 6px rgba(15, 23, 36, 0.07),
    0 2px 4px rgba(15, 23, 36, 0.05);
  --shadow-lg: 0 10px 15px rgba(15, 23, 36, 0.08),
    0 4px 6px rgba(15, 23, 36, 0.04);
  --shadow-xl: 0 20px 25px rgba(15, 23, 36, 0.1),
    0 10px 10px rgba(15, 23, 36, 0.04);

  /* Breakpoints */
  --bp-sm: 576px;
  --bp-md: 768px;
  --bp-lg: 992px;
  --bp-xl: 1200px;

  /* Spacing scale (8px baseline) */
  --space-xxs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 20px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-2xl: 64px;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* Tipografía base y mejoras de rendimiento */
body {
  font-family: "Prompt", Sans-serif;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.65;
  letter-spacing: 0.3px;
}

/* Títulos - Profesional y refinado */
h1,
h2,
h3,
.section-title {
  font-family: "Prompt", Sans-serif;
  color: var(--primary-700);
  margin-top: 0;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

h1 {
  font-weight: 700;
}

h2 {
  font-weight: 700;
}

h3 {
  font-weight: 600;
}

h4,
h5,
h6 {
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.font-accent,
.hero h1 {
  font-family: "Prompt", Sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

/* Lead paragraph styling */
.lead {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

/* Utilities: spacing helpers */
.stack > * + * {
  margin-top: var(--space-md);
}
.gap-sm {
  gap: var(--space-sm);
}
.gap-md {
  gap: var(--space-md);
}
.text-muted {
  color: var(--muted) !important;
}

/* List styling */
ul:not(.navbar-nav):not(.list-unstyled) {
  margin-left: 1.5rem;
}

ul li {
  margin-bottom: 0.75rem;
  color: var(--text-light);
  line-height: 1.8;
}

.list-unstyled li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  color: var(--text);
}

.list-unstyled li svg {
  margin-right: 0.75rem;
  flex-shrink: 0;
}

/* Focus ring utility for accessibility */
.focus-ring:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.16);
  border-radius: 8px;
}

/* Use focus-visible for keyboard users (modern browsers) */
:focus {
  outline: none;
}
:focus-visible {
  box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.16);
  border-radius: 8px;
}

/* Icon helper to size and align inline SVGs */
.icon {
  width: 1.4em;
  height: 1.4em;
  display: inline-block;
  vertical-align: middle;
  fill: currentColor;
}

/* Button small modifier */
.btn-sm {
  padding: 8px 14px;
  font-size: 0.95rem;
}

/* Utility to visually hide content but keep for screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Secondary button style */
.btn-secondary {
  background: var(--surface);
  border: 1px solid var(--primary-700);
  color: var(--primary-700);
  border-radius: 6px;
  padding: 12px 32px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: var(--primary-700);
  color: white;
  transform: translateY(-1px);
}

/* Outline button */
.btn-outline-primary {
  border: 1px solid var(--primary-700);
  color: var(--primary-700);
  background: transparent;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.btn-outline-primary:hover {
  background: var(--primary-700);
  color: white;
  transform: translateY(-1px);
}

/* Navbar */
.navbar-brand {
  font-size: clamp(1.2rem, 1.5vw, 1.6rem);
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.navbar {
  background: var(--bg) !important;
  box-shadow: 0 2px 12px rgba(15, 23, 36, 0.06) !important;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-link {
  font-weight: 600;
  color: var(--text) !important;
  transition: color 0.25s ease;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-500);
  transition: width 0.3s ease;
}

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

.nav-link:hover {
  color: var(--primary-700) !important;
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--bg);
  padding: clamp(80px, 12vw, 160px) 0;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Plasma canvas background */
#plasma-hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero::before {
  /* decorativo: curva SVG en el fondo para dar sensación de movimiento */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 70%;
  pointer-events: none;
  z-index: 2;
}

/* If .curve-bottom is applied to the hero, don't let its light SVG background wash out the hero gradient */
.hero.curve-bottom {
  /* explicitly disable the curve background-image that targets section backgrounds */
  background-image: none;
}

/* Make the overlay stronger so white text remains readable even if background variants change */
.hero .hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background: linear-gradient(
    135deg,
    rgba(30, 58, 138, 0.45) 0%,
    rgba(37, 99, 235, 0.35) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 4;
}

.hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  transform-origin: left center;
  animation: fadeInUp 900ms cubic-bezier(0.22, 0.9, 0.32, 1) both;
  letter-spacing: -0.015em;
}

/* Ensure hero texts are visible: force light color for headings and intro text */
.hero h1,
.hero p,
.hero .lead,
.hero .btn-primary {
  color: var(--bg) !important;
}

.hero p {
  color: rgba(255, 255, 255, 0.95);
}

.hero p {
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  margin-bottom: 2rem;
  animation: fadeInUp 1.05s cubic-bezier(0.22, 0.9, 0.32, 1) both;
  font-weight: 500;
  max-width: 90%;
}

.btn-primary {
  background: var(--gradient-accent);
  border: none;
  color: #ffffff;
  border-radius: 6px;
  padding: 12px 32px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(245, 158, 11, 0.15);
  cursor: pointer;
  letter-spacing: 0.01em;
}

.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(245, 158, 11, 0.25);
  opacity: 0.95;
}

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

/* Secciones */
.section {
  padding: clamp(60px, 8vw, 100px) 0;
}

.section.bg-light {
  background: var(--surface-dark);
  position: relative;
}

.section.bg-light::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(30, 58, 138, 0.1),
    transparent
  );
}

.section-title {
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-700);
  letter-spacing: -0.015em;
}

.section-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  color: var(--muted-light);
  margin-bottom: 3rem;
  font-weight: 500;
}

/* Cards */
.card {
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid rgba(30, 58, 138, 0.1);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(30, 58, 138, 0.2);
}

.card-img-top {
  border-radius: 15px 15px 0 0;
}

.card-body {
  padding: var(--space-lg);
}

.card-title {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.card-text {
  color: var(--muted-light);
  line-height: 1.7;
  font-size: 0.975rem;
}

/* Servicios */
.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    rgba(30, 58, 138, 0.1) 0%,
    rgba(37, 99, 235, 0.15) 100%
  );
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--primary-700);
  font-size: 2rem;
  box-shadow: none;
  transition: all 0.2s ease;
}

.card:hover .service-icon {
  background: linear-gradient(
    135deg,
    rgba(30, 58, 138, 0.15) 0%,
    rgba(37, 99, 235, 0.2) 100%
  );
  transform: translateY(-2px);
}

/* New Service Cards */
.services-section {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}

.service-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  height: 100%;
  border: 1px solid rgba(30, 58, 138, 0.1);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-700);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(30, 58, 138, 0.15);
}

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

.service-card-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(
    135deg,
    rgba(30, 58, 138, 0.08) 0%,
    rgba(37, 99, 235, 0.12) 100%
  );
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--primary-700);
  transition: all 0.2s ease;
  position: relative;
}

.service-card-icon svg {
  width: 32px;
  height: 32px;
  transition: all 0.2s ease;
}

.service-card:hover .service-card-icon {
  background: linear-gradient(
    135deg,
    rgba(30, 58, 138, 0.12) 0%,
    rgba(37, 99, 235, 0.18) 100%
  );
  transform: translateY(-2px);
}

.service-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.875rem;
  text-align: center;
  line-height: 1.4;
}

.service-card-text {
  font-size: 0.95rem;
  color: var(--muted-light);
  line-height: 1.7;
  text-align: center;
  margin: 0;
}

/* Responsive adjustments for service cards */
@media (max-width: 991px) {
  .service-card {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 768px) {
  .service-card {
    padding: 2rem 1.5rem;
  }

  .service-card-icon {
    width: 70px;
    height: 70px;
  }

  .service-card-icon svg {
    width: 35px;
    height: 35px;
  }

  .service-card-title {
    font-size: 1.15rem;
  }
}

/* Testimonios */
.testimonial {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 1rem 0;
  border: 1px solid rgba(30, 58, 138, 0.08);
  transition: all 0.3s cubic-bezier(0.22, 0.9, 0.32, 1);
  border-left: 4px solid var(--accent-500);
}

.testimonial:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--text);
  font-size: 1.025rem;
  line-height: 1.8;
}

.testimonial-author {
  font-weight: 700;
  color: var(--primary-700);
  font-size: 0.95rem;
}

/* Testimonial Carousel Styles */
.testimonials-section {
  padding: clamp(80px, 10vw, 120px) 0;
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: radial-gradient(
    ellipse at 50% 0%,
    rgba(30, 58, 138, 0.05),
    transparent 70%
  );
  pointer-events: none;
}

.carousel {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.carousel-indicators {
  margin-bottom: -3rem;
  position: relative;
  bottom: -60px;
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--primary-700);
  opacity: 0.3;
  border: none;
  transition: all 0.3s ease;
}

.carousel-indicators .active {
  opacity: 1;
  transform: scale(1.3);
  background: var(--gradient-accent);
}

.testimonial-carousel-card {
  background: var(--bg);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 5vw, 4rem);
  margin: 2rem auto 5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(30, 58, 138, 0.08);
  position: relative;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.4s cubic-bezier(0.22, 0.9, 0.32, 1);
}

.testimonial-carousel-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.carousel-item.active .testimonial-carousel-card {
  animation: slideInUp 0.6s cubic-bezier(0.22, 0.9, 0.32, 1) forwards;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.testimonial-quote {
  font-size: clamp(4rem, 8vw, 6rem);
  color: var(--accent-500);
  font-family: Georgia, serif;
  line-height: 0.8;
  margin-bottom: 1rem;
  opacity: 0.3;
  position: absolute;
  top: 20px;
  left: 30px;
  font-weight: 700;
}

.testimonial-carousel-text {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 2rem;
  font-style: italic;
  position: relative;
  z-index: 1;
  padding-top: 2rem;
}

.testimonial-carousel-author {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 2px solid rgba(30, 58, 138, 0.1);
}

.testimonial-carousel-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(30, 58, 138, 0.2);
}

.testimonial-carousel-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  line-height: 1.3;
}

.testimonial-carousel-role {
  font-size: 0.9rem;
  color: var(--muted-light);
  margin: 0.25rem 0 0;
  line-height: 1.4;
}

.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  background: var(--bg);
  border-radius: 50%;
  border: 2px solid var(--primary-700);
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  transition: all 0.3s cubic-bezier(0.22, 0.9, 0.32, 1);
  box-shadow: var(--shadow-sm);
}

.carousel-control-prev {
  left: -70px;
}

.carousel-control-next {
  right: -70px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: var(--primary-700);
  transform: translateY(-50%) scale(1.1);
  box-shadow: var(--shadow-md);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 24px;
  height: 24px;
  filter: invert(25%) sepia(80%) saturate(2476%) hue-rotate(211deg)
    brightness(92%) contrast(91%);
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
  filter: brightness(0) invert(1);
}

@media (max-width: 1200px) {
  .carousel-control-prev {
    left: 10px;
  }

  .carousel-control-next {
    right: 10px;
  }
}

@media (max-width: 768px) {
  .testimonial-carousel-card {
    padding: 2rem 1.5rem;
    min-height: 450px;
  }

  .testimonial-quote {
    font-size: 3rem;
    top: 10px;
    left: 15px;
  }

  .testimonial-carousel-text {
    font-size: 1rem;
    padding-top: 1.5rem;
  }

  .testimonial-carousel-author {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .testimonial-carousel-avatar {
    width: 60px;
    height: 60px;
    font-size: 1.3rem;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 40px;
    height: 40px;
  }

  .carousel-indicators {
    bottom: -50px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .carousel-item.active .testimonial-carousel-card {
    animation: none;
  }

  .carousel-control-prev:hover,
  .carousel-control-next:hover {
    transform: translateY(-50%);
  }
}

/* Contacto */
.contact-form {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(30, 58, 138, 0.08);
}

.form-label {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.form-control,
.form-select {
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(15, 23, 36, 0.12);
  padding: 14px 16px;
  font-size: 1rem;
  transition: all 0.25s ease;
  font-weight: 500;
  background: var(--bg);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-600);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
  background: rgba(30, 58, 138, 0.01);
}

.form-control::placeholder {
  color: var(--muted-light);
}

/* Footer */
footer {
  background: var(--gradient-primary);
  color: white;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
}

#footer-plasma-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.8;
  mix-blend-mode: overlay;
}

footer h5 {
  color: #fbbf24;
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

footer p {
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}

footer a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.25s ease;
}

footer a:hover {
  color: var(--accent-400);
}

footer hr {
  border-color: rgba(255, 255, 255, 0.2);
}

/* Animaciones */
/* Animaciones y respeto a preferencias de usuario */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(25px) translateZ(0);
  }
  to {
    opacity: 1;
    transform: translateY(0) translateZ(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-30px) translateZ(0);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateZ(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateZ(0);
  }
  to {
    opacity: 1;
    transform: scale(1) translateZ(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.75s cubic-bezier(0.22, 0.9, 0.32, 1),
    transform 0.75s cubic-bezier(0.22, 0.9, 0.32, 1);
}
.animate-on-scroll.animate {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll,
  .btn-primary,
  .card {
    transition: none !important;
    animation: none !important;
  }
}

/* Partículas */
#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.4; /* Reduce opacity so blue background shows through */
}

/* Limitar partículas en pantallas pequeñas para rendimiento */
@media (max-width: 768px) {
  #particles-js {
    display: none;
  }
}

/* Responsive */
/* Responsive tweaks */
@media (max-width: 768px) {
  .hero {
    padding: 40px 0;
    min-height: 85vh;
  }
  .hero h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
  }
  .hero p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
  }
  .section {
    padding: 50px 0;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .service-icon {
    width: 80px;
    height: 80px;
    font-size: 1.6rem;
  }
  .card {
    margin-bottom: 1rem;
  }
  .hero-social {
    display: none;
  }
  .contact-form {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 70vh;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .service-icon {
    width: 70px;
    height: 70px;
    font-size: 1.4rem;
  }

  .btn-primary,
  .btn-secondary {
    padding: 12px 24px;
    font-size: 0.95rem;
  }

  .testimonial {
    padding: 1.5rem;
  }
}

/* Small utility to create smooth curved separators using SVG background images */
.curve-top {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120'><path fill='%23ffffff' d='M0,40 C360,120 1080,0 1440,60 L1440,0 L0,0 Z'></path></svg>");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}

.curve-bottom {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120'><path fill='%23f8fafc' d='M0,80 C360,0 1080,160 1440,40 L1440,120 L0,120 Z'></path></svg>");
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: cover;
}

/* Floating social icons inside the hero */
.hero-social {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 5;
  align-items: center;
}
.hero-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  color: white;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(2, 6, 23, 0.4);
  transition: all 0.35s cubic-bezier(0.22, 0.9, 0.32, 1);
  will-change: transform, background-color;
}
.hero-social a:hover,
.hero-social a:focus {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 12px 32px rgba(2, 6, 23, 0.5);
}

.hero-social a:active {
  transform: translateY(-4px);
}

.hero-social .social-icon {
  width: 22px;
  height: 22px;
  display: block;
  fill: currentColor;
}

/* Hide on small screens to avoid cluttering the hero */
@media (max-width: 768px) {
  .hero-social {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-social a {
    transition: none !important;
    transform: none !important;
  }
}

/* Floating animation: lightweight, GPU-friendly (only translateY) */
@keyframes floatY {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0);
  }
}

.hero-social a {
  /* enable transform-only animation on the container for better performance */
  will-change: transform;
}

/* Staggered animation for each social icon */
.hero-social a:nth-child(1) {
  animation: floatY 4.6s ease-in-out infinite;
}
.hero-social a:nth-child(2) {
  animation: floatY 4s ease-in-out 0.2s infinite;
}
.hero-social a:nth-child(3) {
  animation: floatY 5.2s ease-in-out 0.4s infinite;
}
.hero-social a:nth-child(4) {
  animation: floatY 3.8s ease-in-out 0.1s infinite;
}

/* Reduce motion on small screens for battery/CPU savings */
@media (max-width: 1024px) {
  .hero-social a {
    animation-duration: 6s !important;
    animation-timing-function: ease-in-out !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-social a {
    animation: none !important;
  }
}

/* Process Timeline Section */
.process-timeline {
  position: relative;
  padding: 2rem 0;
}

.process-step {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
  padding-left: 2rem;
}

.process-step::before {
  content: "";
  position: absolute;
  left: 39px;
  top: 80px;
  bottom: -3rem;
  width: 2px;
  background: linear-gradient(
    180deg,
    var(--primary-700) 0%,
    var(--accent-500) 100%
  );
}

.process-step:last-child::before {
  display: none;
}

.process-number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--primary-700);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 2;
}

.process-content {
  flex: 1;
}

.process-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.process-description {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1rem;
}

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

.process-list li {
  padding: 0.5rem 0;
  padding-left: 1.75rem;
  position: relative;
  color: var(--text);
  font-size: 0.95rem;
}

.process-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary-500);
  font-weight: 700;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .process-step {
    flex-direction: column;
    padding-left: 0;
    gap: 1rem;
  }

  .process-step::before {
    left: 39px;
    top: 80px;
  }

  .process-number {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    margin: 0 auto;
  }

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

  .process-list li {
    text-align: left;
  }
}

/* Pricing Section */
.pricing-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
  padding: clamp(80px, 10vw, 120px) 0;
}

.pricing-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  border: 1px solid rgba(30, 58, 138, 0.12);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

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

.pricing-card-featured {
  border: 2px solid var(--primary-700);
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}

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

.pricing-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--primary-700);
  color: white;
  padding: 6px 16px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.75rem;
  box-shadow: var(--shadow-sm);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.pricing-header {
  text-align: center;
  padding-bottom: 2rem;
  border-bottom: 2px solid rgba(30, 58, 138, 0.1);
  margin-bottom: 2rem;
}

.pricing-plan-name {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 1rem;
  line-height: 1;
}

.pricing-price .currency {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--muted);
  margin-right: 0.25rem;
}

.pricing-price .amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-700);
}

.pricing-price .period {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  margin-left: 0.25rem;
}

.pricing-description {
  font-size: 0.95rem;
  color: var(--text-light);
  margin: 0;
}

.pricing-features {
  flex: 1;
  margin-bottom: 2rem;
}

.pricing-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-features li {
  padding: 0.75rem 0;
  color: var(--text);
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(30, 58, 138, 0.05);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li i {
  color: var(--secondary-500);
  font-size: 1rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.pricing-footer {
  text-align: center;
  margin-top: auto;
}

.pricing-footer .btn {
  width: 100%;
  padding: 14px 24px;
  font-size: 1rem;
}

.pricing-note {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid rgba(30, 58, 138, 0.15);
  box-shadow: none;
}

.pricing-note p {
  margin: 0.5rem 0;
  font-size: 1rem;
  color: var(--text);
}

.pricing-note strong {
  color: var(--primary-700);
}

@media (max-width: 991px) {
  .pricing-card-featured {
    transform: scale(1);
    margin-bottom: 2rem;
  }

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

@media (max-width: 768px) {
  .pricing-card {
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
  }

  .pricing-price .amount {
    font-size: 2.5rem;
  }
}

/* Stats Section */
.stats-section {
  position: relative;
  overflow: hidden;
}

.stat-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(30, 58, 138, 0.1);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  height: 100%;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(30, 58, 138, 0.2);
}

.stat-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(
    135deg,
    rgba(30, 58, 138, 0.1) 0%,
    rgba(37, 99, 235, 0.1) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-700);
  transition: all 0.4s cubic-bezier(0.22, 0.9, 0.32, 1);
}

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

.stat-card:hover .stat-icon {
  background: var(--gradient-primary);
  color: white;
  transform: scale(1.1) rotate(5deg);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-700);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 600;
}

@media (max-width: 768px) {
  .stat-card {
    margin-bottom: 1.5rem;
    padding: 2rem 1rem;
  }

  .stat-number {
    font-size: 2.25rem;
  }

  .stat-icon {
    width: 60px;
    height: 60px;
  }

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

/* Tools Section */
.tools-section {
  background: var(--surface);
}

.tool-card {
  background: linear-gradient(
    135deg,
    var(--primary-700) 0%,
    var(--primary-600) 100%
  );
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 255, 255, 0.2);
}

.tool-icon {
  width: 60px;
  height: 60px;
  transition: all 0.2s ease;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.tool-card:hover .tool-icon {
  transform: scale(1.1);
}

/* Legacy support for placeholder cards */
.tool-placeholder {
  width: 100%;
  height: 100px;
  background: linear-gradient(
    135deg,
    var(--primary-700) 0%,
    var(--primary-600) 100%
  );
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.tool-placeholder::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.08) 50%,
    transparent 70%
  );
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.tool-name {
  font-size: 1rem;
  font-weight: 600;
  color: white;
  z-index: 1;
  position: relative;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.tool-placeholder .tool-name {
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .tool-icon {
    width: 48px;
    height: 48px;
  }

  .tool-placeholder {
    height: 100px;
  }

  .tool-name {
    font-size: 0.9rem;
  }
}

/* FAQ Section */
.faq-section {
  padding: clamp(80px, 10vw, 120px) 0;
}

.accordion-item {
  border: none;
  border-radius: var(--radius-md) !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
  box-shadow: none;
  background: var(--bg);
  border: 1px solid rgba(30, 58, 138, 0.12) !important;
  transition: all 0.2s ease;
}

.accordion-item:hover {
  border-color: rgba(30, 58, 138, 0.2) !important;
}

.accordion-header {
  margin: 0;
}

.accordion-button {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  background: var(--bg);
  border: none;
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-lg) !important;
  transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(
    135deg,
    rgba(30, 58, 138, 0.05) 0%,
    rgba(37, 99, 235, 0.05) 100%
  );
  color: var(--primary-700);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
  border-color: transparent;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231e3a8a'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
  transform: rotate(-180deg);
}

.accordion-body {
  padding: 0 1.75rem 1.75rem;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-light);
}

.accordion-body strong {
  color: var(--primary-700);
  font-weight: 700;
}

@media (max-width: 768px) {
  .accordion-button {
    font-size: 1rem;
    padding: 1.25rem 1.5rem;
  }

  .accordion-body {
    padding: 0 1.5rem 1.5rem;
    font-size: 0.95rem;
  }
}

/* CTA Section */
.cta-section {
  background: linear-gradient(
    135deg,
    var(--primary-700) 0%,
    var(--primary-600) 100%
  );
  padding: clamp(80px, 10vw, 120px) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(255, 255, 255, 0.1),
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(245, 158, 11, 0.15),
      transparent 50%
    );
  pointer-events: none;
}

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

.cta-title {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.cta-text {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.cta-buttons .btn {
  padding: 16px 40px;
  font-size: 1.1rem;
}

.cta-buttons .btn-outline-primary {
  border-color: white;
  color: white;
}

.cta-buttons .btn-outline-primary:hover {
  background: white;
  color: var(--primary-700);
}

.cta-features {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: white;
  font-size: 1rem;
  font-weight: 600;
}

.cta-feature svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--accent-400);
}

@media (max-width: 768px) {
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-buttons .btn {
    width: 100%;
  }

  .cta-features {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .cta-feature {
    font-size: 0.95rem;
  }
}

/* Subtle background floating icons (decorative, GPU-friendly) */
.bg-icons {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0; /* behind main content */
}
.bg-icon {
  position: absolute;
  width: var(--icon-size, 48px);
  height: var(--icon-size, 48px);
  opacity: 0.12;
  transform: translate3d(0, 0, 0);
  will-change: transform, opacity;
  transition: opacity 400ms linear;
  mix-blend-mode: screen;
}

/* gentle float (translateY) using transform only */
@keyframes bgFloat {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-18px);
  }
  100% {
    transform: translateY(0);
  }
}
.bg-icon--anim {
  animation-name: bgFloat;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

/* hide on small screens to preserve performance */
@media (max-width: 768px) {
  .bg-icons {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg-icon--anim {
    animation: none !important;
    opacity: 0.04 !important;
  }
}

/* Service Detail Card */
.service-detail-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid rgba(30, 58, 138, 0.12);
  box-shadow: var(--shadow-md);
  transition: all 0.2s ease;
  margin-bottom: 3rem;
}

.service-detail-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(30, 58, 138, 0.2);
}

.service-detail-image {
  margin-bottom: 2rem;
}

.image-placeholder {
  width: 100%;
  height: 360px;
  background: linear-gradient(
    135deg,
    var(--primary-700) 0%,
    var(--primary-600) 50%,
    rgba(245, 158, 11, 0.3) 100%
  );
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.image-placeholder::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.08) 50%,
    transparent 70%
  );
  animation: shimmer 3s infinite;
}

.image-placeholder svg {
  width: 96px;
  height: 96px;
  color: white;
  opacity: 0.85;
  z-index: 1;
  position: relative;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
}

.service-detail-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.service-price-badge {
  display: inline-block;
  background: var(--primary-700);
  color: white;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.service-detail-description {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.service-benefits h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
}

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

.service-benefits li {
  padding: 0.75rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
  color: var(--text);
  border-bottom: 1px solid rgba(30, 58, 138, 0.05);
}

.service-benefits li:last-child {
  border-bottom: none;
}

.service-benefits li i {
  color: var(--secondary-500);
  font-size: 1.25rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

@media (max-width: 991px) {
  .service-detail-card {
    padding: 2rem;
  }

  .service-detail-title {
    font-size: 1.5rem;
  }

  .image-placeholder {
    height: 300px;
  }

  .image-placeholder svg {
    width: 80px;
    height: 80px;
  }
}

/* Service Features List */
.service-pricing {
  background: var(--surface);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
  border-left: 4px solid var(--accent-500);
  text-align: center;
}

.service-pricing strong {
  color: var(--primary-700);
  font-size: 1.1rem;
}

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

.service-features-list li {
  padding: 0.65rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text);
  border-bottom: 1px solid rgba(30, 58, 138, 0.05);
}

.service-features-list li:last-child {
  border-bottom: none;
}

.service-features-list li i {
  color: var(--secondary-500);
  font-size: 1rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

/* Platforms Section */
.platforms-section {
  padding: clamp(80px, 10vw, 120px) 0;
}

.platform-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  text-align: center;
  border: 1px solid rgba(30, 58, 138, 0.1);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.platform-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-700);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.platform-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(30, 58, 138, 0.2);
}

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

.platform-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.platform-icon svg {
  width: 32px;
  height: 32px;
}

.platform-card:hover .platform-icon {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.instagram-icon {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
}

.facebook-icon {
  background: #1877f2;
}

.linkedin-icon {
  background: #0a66c2;
}

.x-icon {
  background: #000000;
}

.bluesky-icon {
  background: #1185fe;
}

.threads-icon {
  background: linear-gradient(135deg, #000000 0%, #333333 100%);
}

.platform-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
}

.platform-description {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 768px) {
  .platform-card {
    padding: 2rem 1.5rem;
    margin-bottom: 1.5rem;
  }

  .platform-icon {
    width: 70px;
    height: 70px;
  }

  .platform-icon svg {
    width: 35px;
    height: 35px;
  }

  .platform-name {
    font-size: 1.25rem;
  }
}
