
/* Custom CSS Variables */
:root {
  --dark-blue: #0f172a;
  --light-blue: #1e293b;
  --neon-green: #10b981;
  --electric-violet: #7c3aed;
  --gradient-start: #0f172a;
  --gradient-end: #1e293b;
  --accent-orange: #f59e0b;
  --warm-gray: #6b7280;
  --cool-gray: #f8fafc;
}

/* Global Styles */
html {
  height: 100%;
  width: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--dark-blue);
}

/* Header Styles */
header {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(16, 185, 129, 0.1);
}

header img {
  transition: transform 0.3s ease;
}

header img:hover {
  transform: scale(1.05);
}

/* WhatsApp button styles */
a[href*="wa.me"] {
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
  transition: all 0.3s ease;
}

a[href*="wa.me"]:hover {
  box-shadow: 0 6px 16px rgba(34, 197, 94, 0.4);
  transform: translateY(-1px);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
}

p {
  font-size: 1.125rem;
  color: var(--warm-gray);
  line-height: 1.7;
}

/* Custom Color Classes */
.text-dark-blue {
  color: var(--dark-blue);
}

.text-neon-green {
  color: var(--neon-green);
}

.text-electric-violet {
  color: var(--electric-violet);
}

.bg-dark-blue {
  background-color: var(--dark-blue);
}

.bg-neon-green {
  background-color: var(--neon-green);
}

.bg-electric-violet {
  background-color: var(--electric-violet);
}

/* Hero Section */
.hero-gradient {
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  position: relative;
  min-height: 100vh;
  padding-top: 80px;
}

.hero-pattern {
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
    linear-gradient(45deg, transparent 25%, rgba(16, 185, 129, 0.05) 25%, rgba(16, 185, 129, 0.05) 50%, transparent 50%);
  background-size: 100px 100px, 100px 100px, 50px 50px;
}

.hero-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(15, 23, 42, 0.3) 100%);
  pointer-events: none;
}

/* Animations */
.ai-illustration {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* CTA Buttons */
.cta-button {
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  box-shadow: 0 20px 40px rgba(124, 58, 237, 0.5);
  transform: translateY(-3px);
}

.secondary-cta {
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  border: 2px solid transparent;
}

.secondary-cta:hover {
  box-shadow: 0 15px 30px rgba(16, 185, 129, 0.4);
  transform: translateY(-2px);
  border-color: var(--neon-green);
}

/* Cards */
.benefit-card, .step-card, .testimonial-card, .faq-item {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(16, 185, 129, 0.1);
}

.benefit-card:hover, .step-card:hover, .faq-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--neon-green);
}

.step-number {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  position: relative;
}

.step-number::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--neon-green), var(--electric-violet));
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.step-card:hover .step-number::after {
  opacity: 1;
}

/* Testimonial Carousel */
.testimonial-container {
  position: relative;
}

.testimonial-track {
  display: flex;
  transform: translateX(0);
}

.testimonial-slide {
  flex: 0 0 auto;
  width: 100%;
}

@media (min-width: 768px) {
  .testimonial-slide {
    width: 50%;
  }
}

@media (min-width: 1024px) {
  .testimonial-slide {
    width: 33.333%;
  }
}

.testimonial-prev, .testimonial-next {
  transition: all 0.3s ease;
  z-index: 10;
}

.testimonial-prev:hover, .testimonial-next:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.testimonial-card {
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--neon-green), var(--electric-violet));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.testimonial-card:hover::before {
  transform: scaleX(1);
}

/* Domain Cards */
.domain-card {
  cursor: pointer;
  transition: all 0.3s ease;
}

.domain-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Form Styles */
input, textarea {
  transition: all 0.3s ease;
}

input:focus, textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-gradient h1 {
    font-size: 2.5rem;
  }
  
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* Show hero form on mobile as a separate section */
  .hero-gradient .grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  /* Header responsive styles */
  header .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  header .flex span {
    font-size: 1rem;
  }
  
  .whatsapp-link span.text-sm {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  header img {
    height: 2rem;
  }
  
  header .text-xl {
    font-size: 1rem;
  }
  
  .whatsapp-link {
    padding: 0.5rem 0.75rem;
  }
}

/* Hero Form Styles */
#heroForm {
  transition: all 0.3s ease;
}

#heroForm input:focus,
#heroForm textarea:focus {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 255, 136, 0.15);
}

/* Loading Animation */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

/* Modal Animations */
#newsletterModal, #exitModal {
  animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Modal Content Animations */
#newsletterModal .bg-white, #exitModal .bg-white {
  animation: modalSlideIn 0.4s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Focus Ring for Accessibility */
.focus\:ring-neon-green:focus {
  --tw-ring-color: var(--neon-green);
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Performance Optimizations */
.benefit-card, .step-card, .testimonial-card {
  will-change: transform;
}

/* Print Styles */
@media print {
  .hero-gradient {
    background: white !important;
    color: black !important;
  }
  
  .bg-dark-blue {
    background: white !important;
    color: black !important;
  }
}


.cf7-hero-form {
  background: white;
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.cf7-hero-form h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--dark-blue, #1e3a8a);
  text-align: center;
}

.cf7-form-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cf7-hero-form .form-input,
.cf7-hero-form .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid #d1d5db;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.cf7-hero-form .form-input:focus,
.cf7-hero-form .form-textarea:focus {
  outline: none;
  ring: 2px;
  ring-color: var(--neon-green, #10b981);
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--neon-green, #10b981);
}

.cf7-hero-form .form-submit {
  width: 100%;
  background-color: var(--neon-green, #10b981);
  color: var(--dark-blue, #1e3a8a);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.cf7-hero-form .form-submit:hover {
  background-color: var(--electric-violet, #8b5cf6);
  color: white;
}

.cf7-hero-form p {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 1rem;
  text-align: center;
}

/* Responsive hiding */
@media (max-width: 767px) {
  .hidden.md\\:block {
    display: none;
  }
}

@media (min-width: 768px) {
  .hidden.md\\:block {
    display: block;
  }
}

/* 1. Color variables – you can tweak these as you like */
:root {
  --color-neon-green: #39FF14;
  --color-electric-violet: #8F00FF;
  --color-dark-blue: #001F3F;
  --color-gray-300: #d1d5db;
  --duration-fast: 0.2s;
  --duration-medium: 0.3s;
}

/* 2. Core input & textarea styles */
.hero-input {
  width: 100%;
  padding: 0.75rem 1rem;                /* roughly Tailwind’s px-4 py-3 */
  border: 1px solid var(--color-gray-300);
  border-radius: 0.5rem;                /* rounded-lg */
  font-size: 1rem;
  transition:
    box-shadow var(--duration-fast),
    border-color var(--duration-fast);
  /* inherit font, background, etc. as needed */
}

.hero-input:focus {
  outline: none;
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--color-neon-green);
}

/* 3. Submit button */
.hero-submit {
  display: block;
  width: 100%;
  padding: 0.75rem 1.5rem;              /* Tailwind px-6 py-3 */
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;                     /* font-semibold */
  background-color: var(--color-neon-green);
  color: var(--color-dark-blue);
  text-align: center;
  cursor: pointer;
  transition:
    background-color var(--duration-medium),
    color var(--duration-medium);
}

.hero-submit:hover {
  background-color: var(--color-electric-violet);
  color: #ffffff;
}

/* 4. Disabled state (optional—but good for accessibility) */
.hero-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* 5. CF7 default overrides (in case CF7 adds its own borders/shadows) */
.wpcf7-form .wpcf7-form-control.hero-input {
  /* Ensure CF7’s own styles don’t override yours */
  border: none;           /* remove CF7 default border */
  box-shadow: none;       /* remove CF7 default focus style */
}

.wpcf7-form .wpcf7-form-control.wpcf7-submit.hero-submit {
  /* Make sure CF7 doesn’t re-style your button */
  background: none;
  box-shadow: none;
}

