@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg-white: #ffffff;
  --bg-surface: #fbf8fe;
  --text-main: #000000;
  --text-muted: #454650;
  --text-soft: #9494a3;
  --primary-blue: #0055ff;
  --secondary-blue: #000b4d;
  --border-color: #e4e1e7;
  --font-headline: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: 0.3s ease;
  --col-width: 480px;
}

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

html,
body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-white);
  color: var(--text-main);
  line-height: 1.45;
}

.page {
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.site-header {
  height: 70px;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-white);
  flex-shrink: 0;
}

.site-header img {
  height: 40px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  animation: fadeInDown 0.7s ease-out both;
}

.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1.5rem;
  position: relative;
  background-color: var(--bg-white);
  min-height: 0;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary-blue), var(--primary-blue), var(--secondary-blue));
  background-size: 200% 100%;
  animation: shimmer 4s ease-in-out infinite;
}

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

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

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes gradientShift {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

@keyframes shineSweep {
  0%, 75%, 100% { left: -40%; }
  35% { left: 120%; }
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(1.35); }
}

.hero-inner {
  width: 100%;
  max-width: var(--col-width);
  text-align: center;
}

.hero-inner > .anim-item:nth-child(1) { animation: fadeInUp 0.65s ease-out 0.1s both; }
.hero-inner > .anim-item:nth-child(2) { animation: fadeInUp 0.65s ease-out 0.22s both; }
.hero-inner > .anim-item:nth-child(3) { animation: fadeInUp 0.65s ease-out 0.34s both; }
.hero-inner > .anim-item:nth-child(4) { animation: fadeInUp 0.65s ease-out 0.46s both; }
.hero-inner > .anim-item:nth-child(5) { animation: fadeInUp 0.65s ease-out 0.58s both; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary-blue);
  border: 1.5px solid var(--primary-blue);
  padding: 0.35rem 1rem;
  margin-bottom: 1rem;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--primary-blue);
  flex-shrink: 0;
  animation: dotPulse 1.2s ease-in-out infinite;
}

.badge-dots span {
  animation: dotBlink 1.4s ease-in-out infinite;
}

.badge-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.badge-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes dotBlink {
  0%, 80%, 100% { opacity: 0.2; }
  40% { opacity: 1; }
}

.hero h1 {
  font-family: var(--font-headline);
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  color: var(--secondary-blue);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 {
    background: linear-gradient(90deg, var(--secondary-blue) 0%, var(--primary-blue) 50%, var(--secondary-blue) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }

  .hero-inner > .anim-item:nth-child(2) {
    animation: fadeInUp 0.65s ease-out 0.22s both, gradientShift 6s linear 0.87s infinite;
  }
}

.hero p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.progress-block {
  margin-bottom: 1.25rem;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-soft);
  margin-bottom: 0.5rem;
}

.progress-track {
  height: 3px;
  background-color: var(--border-color);
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--secondary-blue), var(--primary-blue));
  animation: progress 2.5s ease-out 0.5s forwards;
  position: relative;
  z-index: 1;
}

.progress-shine {
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), transparent);
  z-index: 2;
  pointer-events: none;
  animation: shineSweep 5s ease-in-out 2.8s infinite;
}

@keyframes progress {
  to { width: 72%; }
}

.contact-block {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
}

.contact-block h2 {
  font-family: var(--font-headline);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--secondary-blue);
  margin-bottom: 0.85rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.social-btn {
  background-color: transparent;
  color: var(--secondary-blue);
  border: 1px solid var(--border-color);
  padding: 0.55rem 1rem;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
  animation: fadeInUp 0.5s ease-out both;
}

.social-btn:nth-child(1) { animation-delay: 0.72s; }
.social-btn:nth-child(2) { animation-delay: 0.8s; }
.social-btn:nth-child(3) { animation-delay: 0.88s; }

.social-btn:hover {
  background-color: var(--secondary-blue);
  color: var(--bg-white);
  border-color: var(--secondary-blue);
  transform: translateY(-3px);
}

.social-btn.facebook:hover {
  background-color: #1877f2;
  border-color: #1877f2;
}

.social-btn.whatsapp:hover {
  background-color: #25d366;
  border-color: #25d366;
}

.social-btn.email:hover {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
}

.site-footer {
  padding: 0.85rem 1.5rem;
  text-align: center;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-surface);
  flex-shrink: 0;
  animation: fadeIn 0.5s ease-out 0.95s both;
}

.site-footer p {
  font-size: 0.75rem;
  color: var(--text-soft);
}

.bg-accent {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.1;
  z-index: -1;
  pointer-events: none;
}

.bg-accent--1 {
  top: -10%;
  right: -5%;
  width: 40vw;
  height: 40vw;
  background-color: var(--primary-blue);
  animation: floatA 12s ease-in-out infinite;
}

.bg-accent--2 {
  bottom: -15%;
  left: -10%;
  width: 35vw;
  height: 35vw;
  background-color: var(--secondary-blue);
  animation: floatB 14s ease-in-out infinite;
}

@keyframes floatA {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-20px, 15px); }
}

@keyframes floatB {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(18px, -12px); }
}

@media (max-width: 520px) {
  .site-header {
    height: 60px;
  }

  .site-header img {
    height: 34px;
  }

  .hero {
    padding: 1rem;
  }

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

  .social-links {
    flex-direction: column;
  }
}

@media (max-height: 640px) {
  .site-header {
    height: 56px;
  }

  .site-header img {
    height: 32px;
  }

  .badge {
    margin-bottom: 0.65rem;
  }

  .hero h1 {
    margin-bottom: 0.5rem;
  }

  .hero p {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }

  .progress-block {
    margin-bottom: 1rem;
  }

  .contact-block {
    padding-top: 1rem;
  }

  .site-footer {
    padding: 0.6rem 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero h1 {
    background: none;
    -webkit-text-fill-color: var(--secondary-blue);
    color: var(--secondary-blue);
  }

  .progress-fill {
    width: 72%;
  }

  .progress-shine {
    display: none;
  }
}
