:root {
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --gradient-dark: linear-gradient(135deg, #434343 0%, #000000 100%);
  
  --color-primary: #667eea;
  --color-secondary: #764ba2;
  --color-accent: #4facfe;
  --color-text: #2d3748;
  --color-text-light: #4a5568;
  --color-bg: #fafbfc;
  --color-white: #ffffff;
  
  --shadow-sm: 0 2px 8px rgba(102, 126, 234, 0.08);
  --shadow-md: 0 4px 16px rgba(102, 126, 234, 0.12), 0 2px 8px rgba(118, 75, 162, 0.08);
  --shadow-lg: 0 8px 32px rgba(102, 126, 234, 0.16), 0 4px 16px rgba(118, 75, 162, 0.12), 0 2px 8px rgba(79, 172, 254, 0.08);
  --shadow-glow: 0 0 24px rgba(102, 126, 234, 0.3), 0 0 48px rgba(118, 75, 162, 0.2);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  --spacing-2xl: 8rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  font-weight: 900;
  line-height: 1.2;
  color: var(--color-text);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-primary);
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
}

.btn-secondary::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  z-index: -1;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

header.scrolled {
  box-shadow: var(--shadow-md);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
}

.logo {
  font-size: 1.75rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'Merriweather', serif;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  position: relative;
  color: var(--color-text);
}

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

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

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--color-bg);
  border-radius: var(--radius-sm);
}

.lang-btn {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text-light);
  transition: all 0.3s ease;
}

.lang-btn.active {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lang-btn:hover {
  color: var(--color-primary);
}

.lang-divider {
  color: var(--color-text-light);
  opacity: 0.3;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  width: 28px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.75) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(118, 75, 162, 0.62) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 25s ease-in-out infinite reverse;
}

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

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero h1 {
  margin-bottom: var(--spacing-md);
  line-height: 1.1;
}

.rotating-word {
  display: inline-block;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: wordRotate 8s ease-in-out infinite;
  min-width: 280px;
}

@keyframes wordRotate {
  0%, 25% { opacity: 1; transform: translateY(0); }
  30%, 95% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--color-text-light);
  margin-bottom: var(--spacing-lg);
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.kinetic-text {
  animation: breathe 6s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { letter-spacing: 0; font-weight: 900; }
  50% { letter-spacing: 0.05em; font-weight: 700; }
}

.section {
  padding: var(--spacing-xl) 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--spacing-lg);
}

.section-header h2 {
  margin-bottom: var(--spacing-sm);
  animation: colorShift 10s ease-in-out infinite;
}

@keyframes colorShift {
  0%, 100% { color: #667eea; }
  33% { color: #764ba2; }
  66% { color: #4facfe; }
}

.section-header p {
  font-size: 1.15rem;
  color: var(--color-text-light);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.widget-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.widget-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

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

.widget-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.widget-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.75rem;
  margin-bottom: var(--spacing-sm);
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.widget-card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
  font-weight: 700;
}

.widget-card p {
  color: var(--color-text-light);
  line-height: 1.7;
}

.process-section {
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-white) 100%);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, 
    var(--color-primary) 0%, 
    var(--color-secondary) 50%, 
    var(--color-accent) 100%);
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 900;
  margin: 0 auto var(--spacing-sm);
  box-shadow: var(--shadow-md), 0 0 0 12px rgba(102, 126, 234, 0.1);
  font-family: 'Merriweather', serif;
  animation: pulse 3s ease-in-out infinite;
}

.process-step:nth-child(2) .step-number {
  background: var(--gradient-secondary);
  animation-delay: 0.5s;
}

.process-step:nth-child(3) .step-number {
  background: var(--gradient-accent);
  animation-delay: 1s;
}

.process-step:nth-child(4) .step-number {
  background: var(--gradient-dark);
  animation-delay: 1.5s;
}

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

.process-step h3 {
  font-size: 1.35rem;
  margin-bottom: var(--spacing-xs);
}

.process-step p {
  color: var(--color-text-light);
}

.team-section {
  background: var(--color-white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.team-member {
  text-align: center;
  position: relative;
}

.team-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: var(--spacing-sm);
  position: relative;
  box-shadow: var(--shadow-md);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.team-member:hover .team-photo img {
  transform: scale(1.1);
}

.team-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.team-member:hover .team-photo::after {
  opacity: 0.2;
}

.team-member h3 {
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.team-role {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1.05rem;
}

.cta-section {
  background: var(--gradient-primary);
  color: var(--color-white);
  text-align: center;
  padding: var(--spacing-2xl) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -40%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-section h2 {
  color: var(--color-white);
  margin-bottom: var(--spacing-sm);
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-md);
  opacity: 0.95;
}

.cta-section .btn-secondary {
  background: var(--color-white);
  color: var(--color-primary);
  border: none;
}

.cta-section .btn-secondary::before {
  display: none;
}

.cta-section .btn-secondary:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.contact-section {
  padding: var(--spacing-xl) 0;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.contact-info h2 {
  margin-bottom: var(--spacing-sm);
}

.contact-info p {
  color: var(--color-text-light);
  font-size: 1.1rem;
  line-height: 1.8;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.info-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(8px);
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.info-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.info-content p {
  font-size: 1rem;
}

.contact-form-wrapper {
  background: var(--color-white);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-sm);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--color-bg);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: var(--color-white);
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

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

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 0.25rem;
  cursor: pointer;
}

.checkbox-group label {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

.checkbox-group a {
  color: var(--color-primary);
  text-decoration: underline;
}

.map-container {
  margin-top: var(--spacing-lg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.thanks-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--spacing-xl) 0;
}

.thanks-content {
  max-width: 600px;
}

.thanks-icon {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
  color: var(--color-white);
  font-size: 3rem;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  animation: successPulse 2s ease-in-out infinite;
}

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

.thanks-content h1 {
  margin-bottom: var(--spacing-sm);
}

.thanks-content p {
  font-size: 1.15rem;
  color: var(--color-text-light);
  margin-bottom: var(--spacing-md);
}

.legal-section {
  padding: var(--spacing-xl) 0;
  max-width: 900px;
  margin: 0 auto;
}

.legal-content {
  background: var(--color-white);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.legal-content h1 {
  margin-bottom: var(--spacing-sm);
}

.last-updated {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-sm);
  border-bottom: 2px solid var(--color-bg);
}

.legal-content h2 {
  font-size: 1.75rem;
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
}

.legal-content h3 {
  font-size: 1.35rem;
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-xs);
}

.legal-content p {
  margin-bottom: var(--spacing-sm);
  color: var(--color-text-light);
  line-height: 1.8;
}

.legal-content ul {
  margin: var(--spacing-sm) 0;
  padding-left: 2rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

footer {
  background: var(--gradient-dark);
  color: var(--color-white);
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

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

.footer-section h3 {
  color: var(--color-white);
  margin-bottom: var(--spacing-sm);
  font-size: 1.25rem;
}

.footer-section p {
  opacity: 0.85;
  line-height: 1.8;
  margin-bottom: var(--spacing-xs);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  opacity: 0.85;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  opacity: 1;
  transform: translateX(4px);
  color: var(--color-accent);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.75;
}

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-white);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
  padding: var(--spacing-md);
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 300px;
}

.cookie-text p {
  color: var(--color-text-light);
  line-height: 1.7;
}

.cookie-text a {
  color: var(--color-primary);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-buttons .btn {
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.iti {
  width: 100%;
}

#phone {
  width: 100%;
}

@media (max-width: 768px) {
  :root {
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --spacing-2xl: 5rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 280px;
    background: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 2rem 2rem;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 1.5rem;
  }

  .nav-links.active {
    right: 0;
  }

  .mobile-menu-toggle {
    display: flex;
    z-index: 1001;
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
  }

  .hero {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: var(--spacing-lg);
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
    text-align: center;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .process-steps::before {
    display: none;
  }

  .process-steps {
    gap: var(--spacing-md);
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .cookie-content {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-buttons {
    flex-direction: column;
  }

  .cookie-buttons .btn {
    width: 100%;
    text-align: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
}

@media (max-width: 480px) {
  .rotating-word {
    min-width: 200px;
  }

  .step-number {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }
}