/* ==========================================================================
   DAV Contable - Logo-Aligned Brand Styles (Corporate Premium Light Theme)
   ========================================================================== */

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

/* CSS Custom Properties (Design Tokens based on Logo colors) */
:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Outfit', sans-serif;
  
  /* Brand Colors extracted from logo */
  --color-logo-navy: #163055;     /* Dominant Navy Blue */
  --color-logo-teal: #1f737e;     /* Accent Teal/Cyan */
  
  /* Page Theme (Clean, Trustworthy Corporate Light Theme) */
  --bg-main: #f4f7fb;
  --color-primary: var(--color-logo-navy);
  --color-primary-hover: #0d1e36; 
  --color-accent: var(--color-logo-teal);
  --color-accent-hover: #17575f;
  --color-accent-glow: rgba(31, 115, 126, 0.12);
  --color-success: #10b981;
  
  /* Text Colors */
  --text-primary: var(--color-logo-navy);
  --text-secondary: #475569;      /* Slate Blue/Gray */
  --text-muted: #64748b;

  /* Card and Shadows */
  --card-bg: #ffffff;
  --card-border: rgba(22, 48, 85, 0.08);
  --card-shadow: rgba(22, 48, 85, 0.06);
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background: radial-gradient(circle at 50% 50%, #ffffff 0%, var(--bg-main) 100%);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
  position: relative;
  padding: 24px;
}

/* Background Glowing Blobs (Subtle Mesh Depth for Light Mode) */
.blur-blob {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(140px);
  z-index: 1;
  opacity: 0.15;
  pointer-events: none;
}

.blob-1 {
  background: var(--color-accent);
  top: -10%;
  left: -10%;
  animation: float-blob 25s infinite alternate ease-in-out;
}

.blob-2 {
  background: var(--color-primary);
  bottom: -10%;
  right: -10%;
  animation: float-blob 20s infinite alternate-reverse ease-in-out;
}

/* Keyframe Animations */
@keyframes float-blob {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.1); }
  100% { transform: translate(-40px, -60px) scale(0.9); }
}

@keyframes antigravity-float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(0.3deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulse-status {
  0% { transform: scale(0.95); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.6; }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Layout Container */
.container {
  max-width: 580px;
  width: 100%;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Elegant Corporate Card */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 48px 40px;
  width: 100%;
  box-shadow: 0 20px 40px -15px var(--card-shadow), 
              0 0 0 1px rgba(22, 48, 85, 0.02);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: antigravity-float 8s ease-in-out infinite;
}

/* Logo Design - blends seamlessly with card bg */
.logo-container {
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
}

.logo-img {
  max-width: 150px;
  height: auto;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-img:hover {
  transform: scale(1.04);
}

/* Status Indicator */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(31, 115, 126, 0.08);
  border: 1px solid rgba(31, 115, 126, 0.15);
  color: var(--color-accent);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-accent);
  border-radius: 50%;
  display: inline-block;
  position: relative;
}

.status-dot::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-accent);
  border-radius: 50%;
  animation: pulse-status 2s infinite ease-in-out;
}

/* Typography styling */
h1 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 6px;
  color: var(--color-logo-navy);
  letter-spacing: -0.02em;
}

.subtitle {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-logo-teal);
  margin-bottom: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 440px;
}

/* Action Elements & Buttons */
.actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 300px;
  margin-bottom: 32px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--color-logo-navy);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 12px;
  box-shadow: 0 10px 20px -5px rgba(22, 48, 85, 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--color-logo-teal);
  box-shadow: 0 12px 22px -5px rgba(31, 115, 126, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Contact Info / Footer */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-info a {
  color: var(--color-logo-teal);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.contact-info a:hover {
  color: var(--color-logo-navy);
}

.footer-credits {
  margin-top: 40px;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .card {
    padding: 36px 24px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  .subtitle {
    font-size: 0.95rem;
  }
}
