/* ==========================================
   BrandScout Premium Maintenance Page Styles
   ========================================== */

:root {
  --bg-color: #090d16;
  --card-bg: rgba(17, 24, 39, 0.75);
  --card-border: rgba(255, 255, 255, 0.08);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --accent-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
  --accent-color: #6366f1;
  --accent-light: rgba(99, 102, 241, 0.15);
  --accent-border: rgba(99, 102, 241, 0.3);

  --status-color: #10b981;
  --status-bg: rgba(16, 185, 129, 0.12);
  --status-border: rgba(16, 185, 129, 0.25);

  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-card: 24px;
  --radius-item: 14px;
  --shadow-main: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 40px rgba(99, 102, 241, 0.1);
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

/* Ambient Background Glows */
.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  pointer-events: none;
}

.bg-glow-1 {
  width: 450px;
  height: 450px;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, rgba(139, 92, 246, 0.15) 50%, rgba(0, 0, 0, 0) 70%);
}

.bg-glow-2 {
  width: 400px;
  height: 400px;
  bottom: -150px;
  right: -50px;
  background: radial-gradient(circle, rgba(217, 70, 239, 0.15) 0%, rgba(99, 102, 241, 0.1) 50%, rgba(0, 0, 0, 0) 70%);
}

.wrapper {
  width: 100%;
  max-width: 600px;
  position: relative;
  z-index: 1;
}

/* Redirect Notice */
.redirect-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background-color: rgba(30, 58, 138, 0.3);
  border: 1px solid rgba(96, 165, 250, 0.3);
  color: #93c5fd;
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius-item);
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  backdrop-filter: blur(10px);
}

.notice-content {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.redirect-notice code {
  background: rgba(147, 197, 253, 0.15);
  padding: 2px 7px;
  border-radius: 6px;
  font-weight: 600;
  color: #ffffff;
}

.redirect-notice button {
  background: none;
  border: none;
  font-size: 1.3rem;
  color: #93c5fd;
  cursor: pointer;
  padding: 0 4px;
  transition: color 0.15s ease;
}

.redirect-notice button:hover {
  color: #ffffff;
}

/* Main Glass Card */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 2.75rem 2.5rem;
  box-shadow: var(--shadow-main);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  position: relative;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-gradient);
  color: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 8px 20px -4px rgba(99, 102, 241, 0.5);
}

.brand-name {
  font-weight: 800;
  font-size: 1.4rem;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.brand-accent {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--status-bg);
  color: var(--status-color);
  border: 1px solid var(--status-border);
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.dot-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--status-color);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 10px var(--status-color);
}

.dot-pulse::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  background-color: var(--status-color);
  opacity: 0.4;
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
  0% { transform: scale(0.8); opacity: 0.7; }
  50% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(0.8); opacity: 0; }
}

/* Hero Content */
.content {
  margin-bottom: 2rem;
}

.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #a5b4fc;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  margin-bottom: 0.85rem;
}

.content h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  letter-spacing: -0.6px;
  line-height: 1.25;
}

.content p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Maintenance Progress Bar */
.progress-section {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-item);
  padding: 1.25rem;
  margin-bottom: 1.75rem;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

.progress-title {
  color: #e2e8f0;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.progress-title i {
  color: #6366f1;
}

.progress-percentage {
  color: #818cf8;
  font-weight: 700;
}

.progress-bar-container {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.75rem;
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  background: var(--accent-gradient);
  border-radius: 10px;
  position: relative;
  transition: width 1s ease-in-out;
}

.progress-bar-fill::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
  animation: shimmer 2.2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.progress-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Notify Form Box */
.notify-box {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-item);
  padding: 1.25rem;
  margin-bottom: 1.75rem;
}

.notify-box h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 0.75rem;
}

.notify-form {
  display: flex;
  gap: 0.5rem;
}

.input-group {
  position: relative;
  flex-grow: 1;
}

.input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.notify-form input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.6rem;
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #ffffff;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: all 0.2s ease;
}

.notify-form input::placeholder {
  color: var(--text-muted);
}

.notify-form input:focus {
  border-color: var(--accent-color);
  background: rgba(30, 41, 59, 1);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.btn-notify {
  background: var(--accent-gradient);
  color: #ffffff;
  border: none;
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-notify:hover {
  opacity: 0.95;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

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

/* Contact Box */
.contact-box {
  margin-bottom: 2rem;
}

.contact-box h2 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  transition: border-color 0.2s ease;
}

.contact-item:hover {
  border-color: rgba(99, 102, 241, 0.3);
}

.icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent-light);
  border: 1px solid var(--accent-border);
  color: #818cf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.details {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.details .label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.details .value {
  font-size: 0.95rem;
  font-weight: 600;
  color: #f1f5f9;
}

.copy-btn {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
}

.copy-btn:hover {
  background: var(--accent-color);
  color: #ffffff;
  border-color: var(--accent-color);
}

/* Footer */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.825rem;
  color: var(--text-muted);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.socials {
  display: flex;
  gap: 0.85rem;
}

.socials a {
  color: var(--text-muted);
  font-size: 1.05rem;
  transition: all 0.2s ease;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
}

.socials a:hover {
  color: #ffffff;
  background: var(--accent-color);
  transform: translateY(-2px);
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: #1e293b;
  border: 1px solid rgba(99, 102, 241, 0.4);
  color: #ffffff;
  padding: 0.75rem 1.4rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  z-index: 100;
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-icon {
  color: #10b981;
  font-size: 1.1rem;
}

@keyframes slideUp {
  from { opacity: 0; transform: translate(-50%, 20px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.hidden {
  display: none !important;
}

/* Responsive */
@media (max-width: 540px) {
  .card {
    padding: 1.75rem 1.5rem;
  }
  
  .header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .notify-form {
    flex-direction: column;
  }

  .btn-notify {
    justify-content: center;
    width: 100%;
  }

  .contact-item {
    flex-wrap: wrap;
  }

  .footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

