/* ==========================================================================
   Zé MEI - Modern Responsive Styles
   ========================================================================== */

/* Design Tokens & Custom Properties */
:root {
  --bg-color: #050609;
  --text-main: #FFFFFF;
  --text-muted: #9CA3AF;
  --text-subtle: #6B7280;
  
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Gradient title matching the inspiration style */
  --gradient-title: linear-gradient(
    115deg, 
    #5EEAD4 0%, 
    #7DD3FC 30%, 
    #F472B6 68%, 
    #C084FC 100%
  );
  
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-family);
  overflow-x: hidden;
  word-spacing: 0.06em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ambient Radial Glow Background Effects */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(100px);
  opacity: 0.65;
  transition: transform 0.6s ease-out;
}

.glow-top-left {
  top: -15%;
  left: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 700px;
  max-height: 700px;
  background: radial-gradient(
    circle,
    rgba(14, 165, 233, 0.35) 0%,
    rgba(20, 184, 166, 0.25) 45%,
    transparent 70%
  );
}

.glow-top-right {
  top: -20%;
  right: -10%;
  width: 65vw;
  height: 65vw;
  max-width: 750px;
  max-height: 750px;
  background: radial-gradient(
    circle,
    rgba(225, 29, 72, 0.28) 0%,
    rgba(168, 85, 247, 0.22) 40%,
    rgba(236, 72, 153, 0.15) 60%,
    transparent 75%
  );
}

/* Container Layout */
.page-container {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 48px;
}

/* Top Navigation Header */
.navbar {
  height: 90px;
  display: flex;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  word-spacing: normal;
  color: #FFFFFF;
}

/* Hero Content Section */
.hero-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 0;
}

.hero-content {
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title {
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  word-spacing: 0.08em;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.title-line1 {
  color: #FFFFFF;
}

.title-line2 {
  background: var(--gradient-title);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: 6px;
}

.hero-subtitle {
  margin-top: 28px;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text-muted);
  font-weight: 400;
  max-width: 680px;
  letter-spacing: -0.005em;
  word-spacing: 0.07em;
}

.desktop-br {
  display: block;
}

/* Call to Action Button */
.cta-wrapper {
  margin-top: 36px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #FFFFFF;
  color: #000000;
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 600;
  word-spacing: 0.04em;
  padding: 13px 26px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
  transition: var(--transition-smooth);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 255, 255, 0.28);
  background-color: #F8FAFC;
}

.cta-button:active {
  transform: translateY(0);
}

.arrow-icon {
  transition: transform 0.25s ease;
}

.cta-button:hover .arrow-icon {
  transform: translateX(4px);
}

/* Footer Section */
.footer {
  padding: 32px 0 40px 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: flex-end;
}

/* Footer Brand (Bottom Left) */
.footer-brand {
  display: flex;
  align-items: center;
  justify-self: start;
}

.footer-logo-text {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  word-spacing: normal;
}

/* Footer Center Info */
.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

.copyright {
  font-weight: 600;
  color: #D1D5DB;
  font-size: 0.88rem;
  letter-spacing: -0.01em;
  word-spacing: 0.05em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.footer-link {
  color: #6B7280;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.82rem;
  word-spacing: 0.05em;
  transition: var(--transition-smooth);
}

.footer-link:hover {
  color: #9CA3AF;
  text-decoration: underline;
}

/* Footer Socials / Contact (Bottom Right) */
.footer-socials {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-self: end;
}

.social-icon {
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0.9;
  transition: var(--transition-smooth);
}

.social-icon:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* Interactive Modal Backdrop & Window */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #0F1219;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 36px;
  width: 90%;
  max-width: 440px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  position: relative;
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active .modal-card {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.modal-close:hover {
  color: #FFFFFF;
}

.modal-card h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #FFFFFF;
  word-spacing: 0.05em;
}

.modal-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 20px;
  word-spacing: 0.05em;
}

.modal-info-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
}

.modal-info-text {
  color: #D1D5DB !important;
  font-size: 0.88rem !important;
  margin-bottom: 0 !important;
  line-height: 1.5 !important;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-whatsapp-support {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25D366;
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 700;
  font-family: var(--font-family);
  font-size: 0.95rem;
  word-spacing: 0.05em;
  padding: 13px;
  border-radius: 12px;
  transition: var(--transition-smooth);
}

.btn-whatsapp-support:hover {
  background: #20BA5A;
  transform: translateY(-1px);
}

/* Keyframe Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Media Queries */
@media (max-width: 768px) {
  .page-container {
    padding: 0 24px;
  }
  
  .desktop-br {
    display: none;
  }
  
  .footer {
    grid-template-columns: 1fr;
    gap: 24px;
    justify-items: center;
    padding-bottom: 32px;
  }
  
  .footer-brand, .footer-socials {
    justify-self: center;
  }
}
