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

:root {
  --bg-primary: #ffffff;
  --bg-card: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --accent-color: #3b82f6;
  --accent-gradient: linear-gradient(135deg, #0f172a 30%, #3b82f6 90%);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-premium: 0 20px 40px -15px rgba(15, 23, 42, 0.08);
  --border-color: #e2e8f0;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
  overflow-x: hidden;
  position: relative;
}

/* Subtle background accent grid for a touch of class */
body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 1px 1px, #e2e8f0 1px, transparent 0);
  background-size: 24px 24px;
  opacity: 0.6;
  z-index: -1;
  pointer-events: none;
}

.container {
  width: 100%;
  max-width: 650px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeIn 0.8s ease-out;
}

/* Main Card styling */
.main-card {
  background-color: var(--bg-card);
  width: 100%;
  padding: 3.5rem 2.5rem;
  border-radius: 32px;
  box-shadow: var(--shadow-premium);
  border: 1px solid #f8fafc;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.main-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -20px rgba(15, 23, 42, 0.12);
}

/* Premium gradient top-bar inside the card */
.main-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #3b82f6, #60a5fa, #2563eb);
}

.title {
  font-size: 3.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  line-height: 1.1;
}

.subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 450px;
  line-height: 1.6;
}

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 3rem;
  position: relative;
}

.logo-wrapper {
  background: #ffffff;
  padding: 12px;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid #f1f5f9;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-wrapper:hover {
  transform: scale(1.05) rotate(1deg);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.logo {
  display: block;
  max-width: 220px;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Action Links / Buttons Section */
.actions-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.action-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.1rem;
  background-color: #f8fafc;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.action-btn:hover {
  background-color: var(--text-primary);
  color: #ffffff;
  border-color: var(--text-primary);
  transform: translateY(-2px);
}

.action-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.action-btn:hover svg {
  transform: translateX(4px);
}

.footer {
  margin-top: 3rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

.footer a:hover {
  text-decoration: underline;
}

/* Keyframes */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsiveness */
@media (max-width: 640px) {
  body {
    padding: 1.5rem 1rem;
  }
  
  .main-card {
    padding: 2.5rem 1.5rem;
    border-radius: 24px;
  }
  
  .title {
    font-size: 2.5rem;
  }
  
  .subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }
  
  .logo-wrapper {
    padding: 8px;
    border-radius: 20px;
  }
  
  .logo {
    max-width: 160px;
  }
}
