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

/* Custom variables for colors & typography - Light Blue Theme */
:root {
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Modern HSL Palette - Light Theme */
  --bg-primary: #f0f7ff;
  --bg-card: rgba(255, 255, 255, 0.85);
  --border-card: rgba(37, 99, 235, 0.08);
  --border-card-glow: rgba(37, 99, 235, 0.25);
  
  --primary-glow: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  --secondary-glow: linear-gradient(135deg, #60a5fa 0%, #93c5fd 100%);
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-accent: #2563eb;
  
  --shadow-glow: 0 10px 30px 0 rgba(37, 99, 235, 0.06);
  --shadow-btn: 0 8px 25px rgba(37, 99, 235, 0.35);
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  overflow-x: hidden;
  position: relative;
}

/* Animated fluid gradient background - Soft Light Blue */
body::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, #e0f2fe 0%, #f0f7ff 60%, #ffffff 100%);
  z-index: -1;
  animation: rotateBg 40s linear infinite;
}

@keyframes rotateBg {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Background ambient glows */
.ambient-glow-1 {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(147, 197, 253, 0.3) 0%, transparent 70%);
  top: 15%;
  left: 10%;
  pointer-events: none;
  z-index: -1;
  filter: blur(60px);
}

.ambient-glow-2 {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(191, 219, 254, 0.25) 0%, transparent 70%);
  bottom: 15%;
  right: 10%;
  pointer-events: none;
  z-index: -1;
  filter: blur(60px);
}

/* Main Container Layout */
main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 2.5rem 1.5rem;
  z-index: 10;
}

.card-container {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-card);
  border-radius: 24px;
  width: 100%;
  max-width: 580px;
  padding: 3.5rem 3rem;
  text-align: center;
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
  transition: border-color 0.5s ease, box-shadow 0.5s ease, transform 0.5s ease;
  animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.card-container:hover {
  border-color: var(--border-card-glow);
  box-shadow: 0 12px 40px 0 rgba(37, 99, 235, 0.12);
  transform: translateY(-4px);
}

/* Decorative top glow bar */
.card-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-glow);
  opacity: 0.85;
}

/* Logo Area Styling */
.logo-area {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2.25rem;
  position: relative;
}

.logo-wrapper {
  background: rgba(255, 255, 255, 0.8);
  padding: 12px 24px;
  border-radius: 16px;
  border: 1px solid rgba(37, 99, 235, 0.08);
  box-shadow: inset 0 0 30px rgba(37, 99, 235, 0.02), 0 4px 15px rgba(37, 99, 235, 0.03);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.5s ease, box-shadow 0.5s ease;
  width: 328px;
  height: auto;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo-wrapper:hover {
  transform: scale(1.06) rotate(2deg);
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
}

.logo-img {
  width: 280px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 8px;
}

/* Badge EM DESENVOLVIMENTO */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.12);
  color: var(--text-accent);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.6rem 1.5rem;
  border-radius: 100px;
  margin-bottom: 1.75rem;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.02);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--text-accent);
  border-radius: 50%;
  display: inline-block;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% {
    transform: scale(0.9);
    opacity: 0.6;
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
  }
  70% {
    transform: scale(1.15);
    opacity: 1;
    box-shadow: 0 0 0 8px rgba(37, 99, 235, 0);
  }
  100% {
    transform: scale(0.9);
    opacity: 0.6;
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
  }
}

/* Typography styles */
h1 {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #334155 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.description {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Custom visual progress bar */
.progress-container {
  width: 100%;
  max-width: 320px;
  margin: 0 auto 2.5rem auto;
  background: rgba(37, 99, 235, 0.05);
  height: 6px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.04);
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: var(--primary-glow);
  border-radius: 10px;
  animation: fillProgress 2.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  animation-delay: 0.6s;
}

@keyframes fillProgress {
  to {
    width: 65%;
  }
}

/* Action button link */
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--primary-glow);
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 1.1rem 2.5rem;
  border-radius: 50px;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btn-link::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: 0.5s;
}

.btn-link:hover::before {
  left: 100%;
  transition: 0.8s;
}

.btn-link:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-btn);
}

.btn-link:active {
  transform: translateY(-1px) scale(0.99);
}

.btn-icon {
  font-size: 1.15rem;
  transition: transform 0.3s ease;
}

.btn-link:hover .btn-icon {
  transform: translateX(4px);
}

/* Footer Styling */
footer {
  width: 100%;
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(37, 99, 235, 0.05);
  z-index: 10;
  backdrop-filter: blur(4px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

footer a {
  color: var(--text-accent);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* Keyframes for animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .card-container {
    padding: 3rem 1.75rem;
  }
  
  h1 {
    font-size: 1.85rem;
  }
  
  .logo-wrapper {
    width: 100%;
    height: auto;
    padding: 8px 16px;
  }
  
  .description {
    font-size: 0.95rem;
  }
}
