/* =============================================
   NEXOTRONCAL - Styles with Animations
   ============================================= */

/* CSS Variables */
:root {
  --background: #1a1625;
  --foreground: #fafafa;
  --card: #231e30;
  --card-foreground: #fafafa;
  --primary: #8b5cf6;
  --primary-light: #a78bfa;
  --primary-dark: #7c3aed;
  --primary-foreground: #fafafa;
  --secondary: #2d2640;
  --secondary-foreground: #fafafa;
  --muted: #352e47;
  --muted-foreground: #a1a1aa;
  --border: #3d3555;
  --input: #2d2640;
  --radius: 0.75rem;
  --glow-color: rgba(139, 92, 246, 0.6);
  --glow-color-light: rgba(139, 92, 246, 0.3);
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Base */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

/* =============================================
   ANIMATIONS KEYFRAMES
   ============================================= */

/* Typing cursor blink */
@keyframes blink {

  0%,
  50% {
    opacity: 1;
  }

  51%,
  100% {
    opacity: 0;
  }
}

/* Glow pulse animation */
@keyframes glowPulse {

  0%,
  100% {
    box-shadow: 0 0 5px var(--glow-color-light),
      0 0 10px var(--glow-color-light),
      0 0 15px var(--glow-color-light);
    filter: brightness(1);
  }

  50% {
    box-shadow: 0 0 10px var(--glow-color),
      0 0 20px var(--glow-color),
      0 0 30px var(--glow-color);
    filter: brightness(1.2);
  }
}

/* Icon glow animation for services - subtle constant glow */
@keyframes iconGlow {

  0%,
  100% {
    filter: drop-shadow(0 0 4px var(--primary)) drop-shadow(0 0 8px var(--glow-color-light)) brightness(1.05);
  }

  50% {
    filter: drop-shadow(0 0 6px var(--primary)) drop-shadow(0 0 12px var(--glow-color-light)) brightness(1.15);
  }
}

/* Slow pulse for feature icons */
@keyframes slowPulse {

  0%,
  100% {
    filter: drop-shadow(0 0 2px var(--primary));
    opacity: 0.9;
  }

  50% {
    filter: drop-shadow(0 0 6px var(--primary)) drop-shadow(0 0 10px var(--glow-color));
    opacity: 1;
  }
}

/* Button shine effect */
@keyframes btnShine {
  0% {
    left: -100%;
  }

  50%,
  100% {
    left: 100%;
  }
}

/* Float animation */
@keyframes float {

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

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

/* Logo assembly animation */
@keyframes logoAssemble {
  0% {
    opacity: 0;
    transform: scale(0) rotate(-180deg);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.1) rotate(10deg);
  }

  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes logoDisassemble {
  0% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.1) rotate(-10deg);
  }

  100% {
    opacity: 0;
    transform: scale(0) rotate(180deg);
  }
}

/* Fade in from bottom */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

/* Fade in from left */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

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

/* Fade in from right */
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

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

/* Scale in */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Counter animation */
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

/* Blob animation */
@keyframes blobMove {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  25% {
    transform: translate(10px, -10px) scale(1.05);
  }

  50% {
    transform: translate(0, -20px) scale(1);
  }

  75% {
    transform: translate(-10px, -10px) scale(0.95);
  }
}

/* Text reveal */
@keyframes textReveal {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

/* Particle float */
@keyframes particleFloat {

  0%,
  100% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(-100vh) translateX(20px);
    opacity: 0;
  }
}

/* =============================================
   UTILITY CLASSES
   ============================================= */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

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

.hidden {
  display: none !important;
}

/* Animation on scroll - initial state */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   BUTTONS
   ============================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-animated {
  position: relative;
  overflow: hidden;
}

.btn-animated::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.3),
      transparent);
  transition: left 0.5s ease;
}

.btn-animated:hover::before {
  animation: btnShine 1s ease;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.btn-glow {
  animation: glowPulse 2s ease-in-out infinite;
}

.btn-glow:hover {
  animation: none;
  box-shadow: 0 0 20px var(--glow-color),
    0 0 40px var(--glow-color-light);
}

.btn-outline {
  background-color: transparent;
  color: var(--foreground);
  border-color: var(--border);
}

.btn-outline:hover {
  background-color: var(--secondary);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
}

.btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* =============================================
   HEADER
   ============================================= */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: rgba(26, 22, 37, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(61, 53, 85, 0.5);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  background-color: rgba(26, 22, 37, 0.95);
  box-shadow: 0 4px 30px rgba(139, 92, 246, 0.1);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .header-container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .header-container {
    padding: 0 2rem;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo img {
  height: 2.5rem;
  width: auto;
  transition: filter 0.3s ease;
}

.logo:hover img {
  filter: drop-shadow(0 0 8px var(--primary));
}

.logo span {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-desktop a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.3s ease, transform 0.3s ease;
  position: relative;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transition: width 0.3s ease;
}

.nav-desktop a:hover {
  color: var(--foreground);
}

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

.nav-cta {
  display: none;
}

@media (min-width: 768px) {
  .nav-cta {
    display: inline-flex;
  }
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--foreground);
  transition: transform 0.3s ease;
}

.mobile-menu-btn:hover {
  transform: scale(1.1);
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn svg {
  width: 1.5rem;
  height: 1.5rem;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  border-top: 1px solid var(--border);
  background-color: var(--background);
  animation: fadeInUp 0.3s ease;
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none !important;
  }
}

.mobile-menu a {
  padding: 0.75rem 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

.mobile-menu a:hover {
  color: var(--foreground);
}

.mobile-menu .btn {
  margin-top: 1rem;
}

/* =============================================
   HERO SECTION
   ============================================= */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding-top: 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: blobMove 8s ease-in-out infinite;
}

.hero-blob-1 {
  width: 24rem;
  height: 24rem;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, rgba(139, 92, 246, 0.1) 70%);
  top: 25%;
  left: 50%;
  transform: translateX(-50%);
}

.hero-blob-2 {
  width: 16rem;
  height: 16rem;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, rgba(139, 92, 246, 0.05) 70%);
  bottom: 25%;
  right: 25%;
  animation-delay: -4s;
}

/* Particles */
.hero-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
  animation: particleFloat 10s linear infinite;
  box-shadow: 0 0 6px var(--primary), 0 0 12px var(--glow-color-light);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 5rem 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 9999px;
  font-size: 0.875rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  animation: glowPulse 3s ease-in-out infinite;
}

.hero h1 {
  max-width: 56rem;
  margin: 0 auto;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  min-height: 1.5em;
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 3rem;
  }
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 4.5rem;
  }
}

/* Typing animation */
.typing-text {
  display: inline;
}

.typing-text .text-primary {
  color: var(--primary);
}

.typing-cursor {
  display: inline-block;
  color: var(--primary);
  animation: blink 1s step-end infinite;
  font-weight: 300;
}

.hero-description {
  max-width: 42rem;
  margin: 1.5rem auto 0;
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.75;
  position: relative;
  overflow: hidden;
}

@media (min-width: 640px) {
  .hero-description {
    font-size: 1.25rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

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

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

.stat {
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary);
  transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.stat-value.counting {
  animation: countUp 0.5s ease-out;
}

.stat:hover .stat-value {
  transform: scale(1.1);
  text-shadow: 0 0 20px var(--glow-color), 0 0 40px var(--glow-color-light);
}

@media (min-width: 640px) {
  .stat-value {
    font-size: 2.25rem;
  }
}

.stat-label {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* =============================================
   SECTIONS
   ============================================= */

.section {
  position: relative;
  padding: 5rem 0;
}

@media (min-width: 640px) {
  .section {
    padding: 8rem 0;
  }
}

.section-alt {
  background-color: rgba(45, 38, 64, 0.3);
}

/* Circuit background sections */
.section-circuit {
  position: relative;
  overflow: hidden;
}

.section-circuit::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.section-circuit::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(26, 22, 37, 0.9) 0%,
      rgba(26, 22, 37, 0.7) 50%,
      rgba(26, 22, 37, 0.9) 100%);
  pointer-events: none;
  z-index: 1;
}

.section-circuit>.container {
  position: relative;
  z-index: 2;
}

/* Services section background */
.section-services::before {
  background-image: url('./public/circuit-1.jpg');
}

/* About section background */
.section-about::before {
  background-image: url('./public/circuit-2.jpg');
}

/* Solutions section background */
.section-solutions::before {
  background-image: url('./public/circuit-3.jpg');
}

/* Contact section background */
.section-contact::before {
  background-image: url('.public/circuit-4.jpg');
}

/* Footer background */
.footer-circuit {
  position: relative;
  overflow: hidden;
}

.footer-circuit::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('./public/circuit-5.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

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

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

@media (min-width: 640px) {
  .section-header h2 {
    font-size: 2.25rem;
  }
}

.section-header p {
  max-width: 42rem;
  margin: 1rem auto 0;
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.section-cta {
  text-align: center;
  margin-top: 3rem;
}

/* =============================================
   CARDS
   ============================================= */

.card {
  background-color: rgba(35, 30, 48, 0.5);
  border: 1px solid rgba(61, 53, 85, 0.5);
  border-radius: var(--radius);
  padding: 1.5rem;
  backdrop-filter: blur(8px);
  transition: all 0.4s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(139, 92, 246, 0.15);
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

/* =============================================
   SERVICES
   ============================================= */

.services-grid {
  display: grid;
  gap: 1.5rem;
}

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

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

.service-card {
  cursor: default;
}

.service-card:hover {
  border-color: rgba(139, 92, 246, 0.5);
  background-color: var(--card);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background-color: rgba(139, 92, 246, 0.1);
  color: var(--primary);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.icon-glow {
  animation: iconGlow 6s ease-in-out infinite;
}

.service-card:hover .service-icon {
  background-color: var(--primary);
  color: var(--primary-foreground);
  animation: none;
  box-shadow: 0 0 20px var(--glow-color);
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* =============================================
   ABOUT SECTION
   ============================================= */

.about-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.about-blob {
  position: absolute;
  width: 24rem;
  height: 24rem;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  animation: blobMove 10s ease-in-out infinite;
}

.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.about-content h2 {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

@media (min-width: 640px) {
  .about-content h2 {
    font-size: 2.25rem;
  }
}

.about-content p {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.75;
}

.about-content p:not(:first-of-type) {
  margin-top: 1rem;
}

.features-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
}

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

.features-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.feature-icon {
  flex-shrink: 0;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-pulse-slow {
  animation: slowPulse 4s ease-in-out infinite;
}

.features-list li:nth-child(2) .icon-pulse-slow {
  animation-delay: 0.5s;
}

.features-list li:nth-child(3) .icon-pulse-slow {
  animation-delay: 1s;
}

.features-list li:nth-child(4) .icon-pulse-slow {
  animation-delay: 1.5s;
}

.features-list li:nth-child(5) .icon-pulse-slow {
  animation-delay: 2s;
}

.features-list li:nth-child(6) .icon-pulse-slow {
  animation-delay: 2.5s;
}

.features-list span {
  font-size: 0.875rem;
}

.about-visual {
  position: relative;
}

.about-card {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgba(35, 30, 48, 0.5);
  border: 1px solid rgba(61, 53, 85, 0.5);
  border-radius: 1rem;
  padding: 2rem;
  backdrop-filter: blur(8px);
  overflow: hidden;
}

/* Animated Logo */
.animated-logo {
  position: relative;
  width: 12rem;
  height: 12rem;
}

.about-logo-icon {
  width: 100%;
  height: 100%;
  color: var(--primary);
}

.logo-part {
  transform-origin: center;
  animation: logoAssemble 3s ease-in-out infinite alternate;
}

.logo-cutout {
  fill: var(--background);
}

.logo-part-1 {
  animation-delay: 0s;
}

.logo-part-2 {
  animation-delay: 0.1s;
}

.logo-part-3 {
  animation-delay: 0.2s;
}

.logo-part-4 {
  animation-delay: 0.3s;
}

.logo-part-5 {
  animation-delay: 0.4s;
}

.logo-part-6 {
  animation-delay: 0.5s;
}

.logo-part-7 {
  animation-delay: 0.4s;
}

.logo-part-8 {
  animation-delay: 0.5s;
}

.logo-part-9 {
  animation-delay: 0.6s;
}

.logo-part-10 {
  animation-delay: 0.7s;
}

.logo-part-11 {
  animation-delay: 0.8s;
}

.logo-part-12 {
  animation-delay: 0.7s;
}

.logo-part-13 {
  animation-delay: 0.8s;
}

.about-brand {
  margin-top: 2rem;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
}

.about-tagline {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* =============================================
   SOLUTIONS
   ============================================= */

.solutions-grid {
  display: grid;
  gap: 1.5rem;
}

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

.solution-card {
  cursor: default;
}

.solution-card:hover {
  border-color: rgba(139, 92, 246, 0.5);
}

.solution-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.solution-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  background-color: rgba(139, 92, 246, 0.1);
  color: var(--primary);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.solution-card:hover .solution-icon {
  background-color: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 0 20px var(--glow-color);
}

.solution-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.solution-card>p {
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.solution-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: rgba(139, 92, 246, 0.1);
  color: var(--primary);
  border-radius: 9999px;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.tag:hover {
  background-color: rgba(139, 92, 246, 0.2);
  box-shadow: 0 0 10px var(--glow-color-light);
}

/* =============================================
   CONTACT SECTION
   ============================================= */

.contact-grid {
  display: grid;
  gap: 2rem;
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(139, 92, 246, 0.1);
  color: var(--primary);
  border-radius: 0.5rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-item:hover .contact-item-icon {
  background-color: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 0 15px var(--glow-color);
}

.contact-item-label {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.contact-item a,
.contact-item p {
  color: var(--muted-foreground);
  font-size: 0.9375rem;
  transition: color 0.2s ease;
}

.contact-item a:hover {
  color: var(--primary);
}

.schedule-info {
  text-align: center;
  color: var(--muted-foreground);
  font-size: 0.9375rem;
  line-height: 1.75;
}

/* Contact Form */
.contact-form-card {
  background-color: rgba(35, 30, 48, 0.5);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  background-color: var(--input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--foreground);
  font-family: inherit;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted-foreground);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2), 0 0 15px rgba(139, 92, 246, 0.1);
}

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

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 0;
  animation: scaleIn 0.5s ease;
}

.success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background-color: rgba(139, 92, 246, 0.1);
  color: var(--primary);
  border-radius: 50%;
  animation: glowPulse 2s ease-in-out infinite;
}

.form-success h3 {
  margin-top: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.form-success p {
  margin-top: 0.5rem;
  color: var(--muted-foreground);
}

.form-success .btn {
  margin-top: 1.5rem;
}

/* =============================================
   FOOTER
   ============================================= */

.footer {
  background-color: rgba(45, 38, 64, 0.3);
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

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

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

.footer-brand .logo img {
  height: 2rem;
}

.footer-brand .logo span {
  font-size: 1.125rem;
}

.footer-brand>p {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(139, 92, 246, 0.1);
  color: var(--primary);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.social-link-animated:hover {
  background-color: var(--primary);
  color: var(--primary-foreground);
  transform: translateY(-3px);
  box-shadow: 0 5px 20px var(--glow-color);
}

.footer-links h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 0.5rem;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

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