/**
 * Vision AI Automation - Premium Futuristic Dark Theme
 * Modern AI Brand Experience with Glassmorphism & Neon Accents
 */

/* ============================================
   ROOT VARIABLES & DESIGN SYSTEM
   ============================================ */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@300;400;500;600;700&display=swap");

:root {
  /* Dark Theme Colors */
  --color-bg-primary: #0a0a0f;
  --color-bg-secondary: #13131a;
  --color-bg-card: rgba(20, 20, 30, 0.7);

  /* Neon Blue/Purple Gradients */
  --color-neon-blue: #00d4ff;
  --color-neon-purple: #a855f7;
  --color-neon-pink: #ec4899;
  --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #a855f7 100%);
  --gradient-secondary: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #0f0f1e 100%);

  /* Text Colors */
  --color-text-primary: #ffffff;
  --color-text-secondary: #b4b4c8;
  --color-text-muted: #7a7a8c;

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

  /* Glow Effects */
  --glow-blue: 0 0 20px rgba(0, 212, 255, 0.5);
  --glow-purple: 0 0 20px rgba(168, 85, 247, 0.5);
  --glow-strong:
    0 0 30px rgba(0, 212, 255, 0.7), 0 0 60px rgba(168, 85, 247, 0.4);

  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s ease-out;

  /* Borders */
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --border-radius-xl: 30px;
}

/* ============================================
   GLOBAL RESETS & BASE STYLES
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: var(--color-bg-primary);
  color: var(--color-text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  padding-top: 64px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--color-text-primary);
}

p {
  color: var(--color-text-secondary);
  line-height: 1.7;
}

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

/* Selection */
::selection {
  background: rgba(0, 212, 255, 0.3);
  color: #ffffff;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #00d4ff, #a855f7);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #00e0ff, #b865ff);
}

/* ============================================
   NAVIGATION
   ============================================ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

nav.scrolled {
  background: rgba(10, 10, 15, 0.98);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

nav a:not(.logo-link) {
  position: relative;
  color: var(--color-text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
}

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

nav a:not(.logo-link):hover {
  color: var(--color-neon-blue);
}

nav a:not(.logo-link):hover::after {
  width: 100%;
}

.logo-link span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  font-size: 1.5rem;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.03em;
}

/* Mobile Menu */
#mobileMenu {
  background: rgba(10, 10, 15, 0.98);
  backdrop-filter: blur(20px);
  border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
  border: 1px solid var(--glass-border);
  border-top: none;
  margin-top: 1px;
}

#mobileMenu a {
  color: var(--color-text-secondary);
  transition: var(--transition-fast);
}

#mobileMenu a:hover {
  color: var(--color-neon-blue);
  background: var(--glass-bg);
  border-left: 3px solid var(--color-neon-blue);
  padding-left: 1rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--color-bg-primary);
  overflow: hidden;
}

/* Animated Background */
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      circle at 20% 50%,
      rgba(0, 212, 255, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(168, 85, 247, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 50% 20%,
      rgba(236, 72, 153, 0.1) 0%,
      transparent 40%
    );
  animation: gradientShift 15s ease-in-out infinite;
}

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

/* Grid Pattern Overlay */
.hero-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 10;
  animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-neon-blue);
  box-shadow: var(--glow-blue);
  animation: pulse 2s ease-in-out infinite;
}

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

.hero-headline {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-accent {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  animation: shimmer 3s ease-in-out infinite;
  background-size: 200% auto;
}

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

.hero-subheading {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: var(--color-text-secondary);
  max-width: 600px;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* CTA Buttons */
.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--gradient-primary);
  color: white;
  font-weight: 700;
  font-size: 1.125rem;
  border-radius: var(--border-radius-md);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: var(--glow-blue);
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 100%
  );
  transition: left 0.5s ease;
}

.hero-btn-primary:hover::before {
  left: 100%;
}

.hero-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.8);
}

.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  color: var(--color-text-primary);
  font-weight: 700;
  font-size: 1.125rem;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  transition: var(--transition-smooth);
  animation: fadeInUp 0.8s ease-out 0.7s both;
}

.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-neon-blue);
  transform: translateY(-3px);
  box-shadow: var(--glow-blue);
}

/* Trust Indicators */
.trust-indicators {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.trust-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

.trust-indicator::before {
  content: "✓";
  color: var(--color-neon-blue);
  font-weight: bold;
  font-size: 1.2rem;
}

/* ============================================
   GLASSMORPHISM CARDS
   ============================================ */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

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

.glass-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 212, 255, 0.3);
  transform: translateY(-8px);
  box-shadow: var(--glow-blue);
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section-badge {
  display: inline-flex;
  align-items: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-neon-purple);
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-text-secondary);
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-divider {
  width: 100px;
  height: 3px;
  background: var(--gradient-primary);
  margin: 2rem auto;
  border-radius: 2px;
  box-shadow: var(--glow-blue);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.service-card {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  overflow: hidden;
  animation: fadeInUp 0.6s ease-out both;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at top left,
    rgba(0, 212, 255, 0.1),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
}

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

.service-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.8));
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-text-primary);
  transition: var(--transition-smooth);
}

.service-card:hover h3 {
  color: var(--color-neon-blue);
}

.service-card p {
  color: var(--color-text-secondary);
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.service-card ul li {
  display: flex;
  align-items: start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

.service-card ul li::before {
  content: "▸";
  color: var(--color-neon-blue);
  font-weight: bold;
  margin-top: 2px;
}

.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-neon-blue);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  opacity: 0;
  transform: translateY(10px);
}

.service-card:hover .service-cta {
  opacity: 1;
  transform: translateY(0);
  animation: slideInUp 0.4s ease-out 0.2s both;
}

.service-cta:hover {
  gap: 1rem;
  color: var(--color-neon-purple);
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 212, 255, 0.4);
  transform: translateY(-10px);
  box-shadow:
    var(--glow-blue),
    0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Service Card Stagger */
.service-card:nth-child(1) {
  animation-delay: 0.1s;
}
.service-card:nth-child(2) {
  animation-delay: 0.2s;
}
.service-card:nth-child(3) {
  animation-delay: 0.3s;
}
.service-card:nth-child(4) {
  animation-delay: 0.4s;
}
.service-card:nth-child(5) {
  animation-delay: 0.5s;
}
.service-card:nth-child(6) {
  animation-delay: 0.6s;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  height: 100%;
  transition: var(--transition-smooth);
  animation: fadeInUp 0.6s ease-out both;
}

.about-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--border-radius-md);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--glow-blue);
  transition: var(--transition-smooth);
}

.about-card:hover .about-icon {
  transform: rotateY(180deg) scale(1.1);
  box-shadow: var(--glow-strong);
}

.about-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-text-primary);
}

.about-card p {
  color: var(--color-text-secondary);
}

.about-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(168, 85, 247, 0.4);
  transform: translateY(-8px);
  box-shadow: var(--glow-purple);
}

.about-card:nth-child(1) {
  animation-delay: 0.1s;
}
.about-card:nth-child(2) {
  animation-delay: 0.2s;
}
.about-card:nth-child(3) {
  animation-delay: 0.3s;
}

/* Stats */
.stat-number {
  font-size: 3rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}

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

/* ============================================
   FEATURES SECTION
   ============================================ */
.feature-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  height: 100%;
  transition: var(--transition-smooth);
  animation: fadeInUp 0.6s ease-out both;
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.5));
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon {
  transform: scale(1.2) rotate(-10deg);
  filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.8));
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-text-primary);
}

.feature-card p {
  color: var(--color-text-secondary);
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(168, 85, 247, 0.4);
  transform: translateY(-8px);
  box-shadow: var(--glow-purple);
}

.feature-card:nth-child(1) {
  animation-delay: 0.1s;
}
.feature-card:nth-child(2) {
  animation-delay: 0.2s;
}
.feature-card:nth-child(3) {
  animation-delay: 0.3s;
}

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */
.why-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  height: 100%;
  transition: var(--transition-smooth);
  animation: fadeInUp 0.6s ease-out both;
}

.why-icon-wrapper {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-secondary);
  border-radius: var(--border-radius-md);
  margin-bottom: 1.5rem;
  box-shadow: var(--glow-purple);
  transition: var(--transition-smooth);
}

.why-card:hover .why-icon-wrapper {
  transform: rotateZ(10deg) scale(1.1);
  box-shadow: var(--glow-strong);
}

.why-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--color-text-primary);
}

.why-card p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(236, 72, 153, 0.4);
  transform: translateY(-8px);
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.5);
}

.why-card:nth-child(1) {
  animation-delay: 0.1s;
}
.why-card:nth-child(2) {
  animation-delay: 0.2s;
}
.why-card:nth-child(3) {
  animation-delay: 0.3s;
}
.why-card:nth-child(4) {
  animation-delay: 0.4s;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-info-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: var(--transition-smooth);
  animation: fadeInUp 0.6s ease-out both;
}

.contact-icon-wrapper {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--border-radius-md);
  flex-shrink: 0;
  box-shadow: var(--glow-blue);
  transition: var(--transition-smooth);
}

.contact-info-card:hover .contact-icon-wrapper {
  transform: rotateY(180deg) scale(1.1);
  box-shadow: var(--glow-strong);
}

.contact-info-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--color-text-primary);
}

.contact-info-card p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

.contact-info-card a {
  color: var(--color-neon-blue);
  font-weight: 600;
  transition: var(--transition-fast);
}

.contact-info-card a:hover {
  color: var(--color-neon-purple);
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.contact-info-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 212, 255, 0.4);
  transform: translateY(-5px);
  box-shadow: var(--glow-blue);
}

.contact-info-card:nth-child(1) {
  animation-delay: 0.1s;
}
.contact-info-card:nth-child(2) {
  animation-delay: 0.2s;
}
.contact-info-card:nth-child(3) {
  animation-delay: 0.3s;
}

/* Contact Form */
.contact-form {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.contact-form h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.form-group {
  margin-bottom: 1.5rem;
}

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

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-sm);
  padding: 0.875rem 1.25rem;
  color: var(--color-text-primary);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition-smooth);
}

.form-input::placeholder {
  color: var(--color-text-muted);
}

.form-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-neon-blue);
  box-shadow:
    0 0 0 3px rgba(0, 212, 255, 0.1),
    var(--glow-blue);
}

.form-input:hover {
  border-color: rgba(0, 212, 255, 0.3);
}

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

.form-submit {
  width: 100%;
  background: var(--gradient-primary);
  color: white;
  font-weight: 700;
  font-size: 1.125rem;
  padding: 1rem;
  border: none;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: var(--glow-blue);
  position: relative;
  overflow: hidden;
}

.form-submit::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition:
    width 0.6s,
    height 0.6s;
}

.form-submit:hover::before {
  width: 300px;
  height: 300px;
}

.form-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.8);
}

.form-submit:active {
  transform: translateY(-1px);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Form Messages */
.form-message {
  padding: 1rem;
  border-radius: var(--border-radius-sm);
  margin-top: 1rem;
  animation: slideInDown 0.3s ease-out;
}

.form-message.success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.form-message.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

.form-message.loading {
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  color: var(--color-neon-blue);
}

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

.social-link {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-sm);
  color: var(--color-neon-blue);
  transition: var(--transition-smooth);
}

.social-link:hover {
  background: var(--gradient-primary);
  border-color: var(--color-neon-blue);
  color: white;
  transform: translateY(-5px) rotate(5deg);
  box-shadow: var(--glow-blue);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--glass-border);
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-primary);
  box-shadow: var(--glow-blue);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h4 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-section p {
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-link {
  display: block;
  color: var(--color-text-secondary);
  padding: 0.5rem 0;
  transition: var(--transition-fast);
  position: relative;
  padding-left: 1rem;
}

.footer-link::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--color-neon-blue);
  opacity: 0;
  transform: translateX(-10px);
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-neon-blue);
  padding-left: 1.5rem;
}

.footer-link:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 2rem;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.footer-bottom a {
  color: var(--color-neon-blue);
  transition: var(--transition-fast);
}

.footer-bottom a:hover {
  color: var(--color-neon-purple);
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  cursor: pointer;
  z-index: 1000;
  transition: var(--transition-smooth);
  animation: pulse 2s ease-in-out infinite;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: white;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.8);
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
  75%,
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.float-animation {
  animation: float 3s ease-in-out infinite;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  .hero-headline {
    font-size: clamp(2rem, 6vw, 4rem);
  }

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

  .glass-card,
  .service-card,
  .feature-card,
  .about-card,
  .why-card {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    padding: 6rem 0 4rem;
  }

  .hero-btn-primary,
  .hero-btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .trust-indicators {
    flex-direction: column;
    gap: 1rem;
  }

  .glass-card,
  .service-card,
  .feature-card,
  .about-card,
  .why-card {
    padding: 1.5rem;
  }

  .contact-form {
    padding: 2rem;
  }

  .whatsapp-float {
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .glass-card,
  .service-card,
  .feature-card,
  .about-card,
  .why-card {
    padding: 1.25rem;
  }

  .service-icon,
  .feature-icon {
    font-size: 2.5rem;
  }

  .about-icon,
  .why-icon-wrapper,
  .contact-icon-wrapper {
    width: 60px;
    height: 60px;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .form-input {
    font-size: 16px; /* Prevents zoom on iOS */
  }
}

/* ============================================
   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 */
*:focus-visible {
  outline: 2px solid var(--color-neon-blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glow-text {
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.bg-dark {
  background: var(--color-bg-primary);
}

.bg-darker {
  background: var(--color-bg-secondary);
}

/* Fix: constrain logo images and SVG to avoid oversized or tiled rendering */
.logo-link img,
.glass-card img,
.logo-svg {
  max-width: 100%;
  width: auto;
  height: 64px; /* safe default size */
  display: block;
}

/* If a logo is used as a background image somewhere accidentally, prevent tiling */
.hero-section,
body,
html {
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
