/* ==========================================================================
   MINDMANSION - Notice Page Stylesheet
   ========================================================================== */

/* Design Tokens & CSS Variables */
:root {
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-hindi: 'Noto Sans Devanagari', 'Inter', sans-serif;

  /* Color Palette - Dark Luxury & Crimson Warning Glow */
  --bg-dark: #0a0b0e;
  --bg-card: rgba(18, 20, 26, 0.75);
  --bg-card-hover: rgba(24, 28, 38, 0.85);
  
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --accent-red: #ef4444;
  --accent-red-glow: rgba(239, 68, 68, 0.25);
  --accent-amber: #f59e0b;
  --accent-amber-glow: rgba(245, 158, 11, 0.2);

  --border-light: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(239, 68, 68, 0.3);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 35px rgba(239, 68, 68, 0.15);
}

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

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

/* Background Effects */
.bg-glow {
  position: fixed;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.12) 0%, rgba(245, 158, 11, 0.05) 40%, rgba(10, 11, 14, 0) 70%);
  z-index: -2;
  pointer-events: none;
}

.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -1;
  pointer-events: none;
}

/* Main Container Layout */
.app-container {
  width: 100%;
  max-width: 920px;
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  z-index: 1;
}

/* Header & Brand Logo */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: rgba(15, 17, 23, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.mindmansion-logo {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.logo-icon {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.2));
  transition: transform 0.3s ease;
}

.mindmansion-logo:hover .logo-icon {
  transform: scale(1.05);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #ffffff;
  text-transform: uppercase;
}

/* Status Badge */
.status-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 50px;
}

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

.status-dot.pulsing {
  animation: pulse-glow 1.8s infinite;
}

@keyframes pulse-glow {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }
  70% {
    transform: scale(1.15);
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

.status-text {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fca5a5;
  text-transform: uppercase;
}

/* Glassmorphism Panel */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.notice-card {
  position: relative;
  padding: 2.5rem;
  border-top: 3px solid var(--accent-red);
  box-shadow: var(--shadow-glow);
}

/* Language Toolbar */
.language-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.toolbar-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-btn-group {
  display: flex;
  gap: 0.5rem;
}

.lang-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  padding: 0.4rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.lang-btn.active {
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(239, 68, 68, 0.5);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.2);
}

/* Header Icon */
.card-header-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.icon-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.2) 0%, rgba(239, 68, 68, 0.05) 70%);
  border: 1px solid rgba(239, 68, 68, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.warning-icon {
  font-size: 2rem;
  color: var(--accent-red);
  filter: drop-shadow(0 0 10px rgba(239, 68, 68, 0.6));
}

/* Notice Headings */
.notice-headings {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sub-tag {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-red);
  text-transform: uppercase;
}

.main-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.hi-text {
  font-family: var(--font-hindi);
}

.target-app {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.highlight-target {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: var(--accent-amber);
  text-underline-offset: 4px;
}

/* Gradient Divider */
.gradient-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(239, 68, 68, 0.5), transparent);
  margin: 2rem 0;
}

/* Statement Box & Language Blocks */
.statement-box {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.lang-block {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.lang-block:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.35);
}

.block-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 0.9rem;
}

.statement-paragraph {
  font-size: 1.05rem;
  color: #e2e8f0;
  line-height: 1.75;
  font-weight: 400;
}

.statement-paragraph.hindi-font {
  font-family: var(--font-hindi);
  font-size: 1.08rem;
  line-height: 1.85;
}

.statement-paragraph strong {
  color: #ffffff;
  font-weight: 700;
}

/* Visibility Control for Language Modes */
body.lang-en .hi-text,
body.lang-en .hi-block {
  display: none !important;
}

body.lang-hi .en-text,
body.lang-hi .en-block {
  display: none !important;
}

body.lang-both .en-text {
  display: block;
}

body.lang-both .hi-text {
  display: block;
  font-size: 1.75rem;
  margin-top: 0.2rem;
}

/* Spec Grid */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.spec-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: var(--radius-md);
}

.spec-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.spec-info {
  display: flex;
  flex-direction: column;
}

.spec-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  font-weight: 600;
}

.spec-value {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
}

.spec-value.alert-color {
  color: #fca5a5;
}

.spec-value.badge-down {
  color: var(--accent-red);
}

/* Contact Representative Card */
.contact-card {
  padding: 2.2rem;
  border-left: 4px solid #ffffff;
}

.contact-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-light);
}

.contact-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.contact-title-box h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
}

.contact-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-hindi);
}

/* Details Box */
.person-name {
  margin-bottom: 1.25rem;
}

.name-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  font-weight: 600;
}

.name-val {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
}

.contact-channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.channel-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-light);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.channel-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.channel-icon {
  font-size: 1.25rem;
  color: var(--accent-amber);
  margin-right: 0.85rem;
}

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

.channel-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
}

.channel-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  transition: color 0.2s ease;
}

.channel-link:hover {
  color: var(--accent-amber);
}

.copy-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

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

/* Action Buttons */
.action-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.25 ease;
  cursor: pointer;
  flex: 1;
  min-width: 180px;
}

.btn-primary {
  background: #ffffff;
  color: var(--bg-dark);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: #e2e8f0;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-light);
  color: #ffffff;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* Site Footer */
.site-footer {
  text-align: center;
  padding: 1.5rem 0;
  color: var(--text-dim);
  font-size: 0.82rem;
}

.footer-content strong {
  color: var(--text-muted);
}

.footer-sub {
  font-size: 0.75rem;
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.3);
}

/* Toast Container & Animation */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 1000;
}

.toast {
  background: #ffffff;
  color: var(--bg-dark);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: slide-in 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards, fade-out 0.4s ease 2.6s forwards;
}

@keyframes slide-in {
  from {
    transform: translateY(100%) scale(0.9);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes fade-out {
  to {
    opacity: 0;
    transform: translateY(10px);
  }
}

/* Responsive Media Queries */
@media (max-width: 640px) {
  .app-container {
    padding: 1.25rem 0.85rem;
  }

  .site-header {
    flex-direction: column;
    gap: 0.85rem;
    text-align: center;
  }

  .notice-card {
    padding: 1.5rem 1rem;
  }

  .language-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .lang-btn-group {
    justify-content: center;
  }

  .main-title {
    font-size: 1.6rem;
  }

  body.lang-both .hi-text {
    font-size: 1.35rem;
  }

  .contact-header {
    flex-direction: column;
    text-align: center;
  }

  .action-buttons {
    flex-direction: column;
  }
}
