/* ============================================================
   TRe SoftSys — Coming Soon Page
   Design: Dark technical, amber accent (#ffc93b)
   ============================================================ */

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

:root {
  --amber:      #ffc93b;
  --amber-dim:  rgba(255, 201, 59, 0.12);
  --amber-glow: rgba(255, 201, 59, 0.25);
  --bg:         #080b0f;
  --surface:    #0e1318;
  --border:     rgba(255, 201, 59, 0.18);
  --text:       #e8eaf0;
  --muted:      rgba(232, 234, 240, 0.45);
  --font-mono:  'IBM Plex Mono', monospace;
  --font-disp:  'Nunito Sans', sans-serif;
}

html, body {
  height: 100%;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-mono);
  -webkit-font-smoothing: antialiased;
  overflow: hidden; /* single page, no scroll needed */
}

/* ── Background grid texture ───────────────────────────────── */
.grid-overlay {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,201,59,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,201,59,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* ── Amber glow orb ────────────────────────────────────────── */
.glow {
  position: fixed;
  top: 50%;
  left: 50%;
  translate: -50% -58%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,201,59,0.10) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: pulse 5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.7; scale: 1; }
  50%       { opacity: 1;   scale: 1.08; }
}

/* ── Corner bracket accents ────────────────────────────────── */
.corner {
  position: fixed;
  width: 60px;
  height: 60px;
  border-color: var(--border);
  border-style: solid;
  pointer-events: none;
  z-index: 1;
}

.corner--tl {
  top: 28px; left: 28px;
  border-width: 1px 0 0 1px;
}

.corner--br {
  bottom: 28px; right: 28px;
  border-width: 0 1px 1px 0;
}

/* ── Page layout ───────────────────────────────────────────── */
.page {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/* ── Hero card ─────────────────────────────────────────────── */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  padding: 3rem 2.5rem;
  max-width: 560px;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Thin amber top-bar accent */
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
}

@keyframes fadeUp {
  from { opacity: 0; translate: 0 24px; }
  to   { opacity: 1; translate: 0 0; }
}

/* ── Logo ──────────────────────────────────────────────────── */
.logo-wrap {
  animation: fadeUp 0.9s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(255, 201, 59, 0.35));
  transition: filter 0.3s ease;
  border-radius: 6px;
}

.logo:hover {
  filter: drop-shadow(0 0 22px rgba(255, 201, 59, 0.6));
}

/* ── Status badge ──────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.65rem;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  background: var(--amber-dim);
  border: 1px solid rgba(255,201,59,0.25);
  padding: 0.3rem 0.75rem;
  animation: fadeUp 0.9s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  animation: blink 1.8s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.2; }
}

/* ── Main heading ──────────────────────────────────────────── */
.heading {
  font-family: var(--font-disp);
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.02em;
  animation: fadeUp 0.9s 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ── Sub text ──────────────────────────────────────────────── */
.subtext {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 380px;
  animation: fadeUp 0.9s 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ── Decorative divider ────────────────────────────────────── */
.divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  opacity: 0.35;
  animation: fadeUp 0.9s 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.divider span:first-child,
.divider span:last-child {
  flex: 1;
  height: 1px;
  background: var(--amber);
}

.divider__icon {
  font-size: 0.55rem;
  color: var(--amber);
  flex: none;
}

/* ── Contact line ──────────────────────────────────────────── */
.contact-line {
  font-size: 0.75rem;
  color: var(--muted);
  animation: fadeUp 0.9s 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.contact-link {
  color: var(--amber);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,201,59,0.3);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.contact-link:hover {
  color: #fff;
  border-color: #fff;
}

/* ── Footer dept name ──────────────────────────────────────── */
.dept-name {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,201,59,0.3);
  margin-top: 0.25rem;
  animation: fadeUp 0.9s 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 600px) {
  body { overflow: auto; }

  .hero {
    margin: 1.5rem;
    padding: 2rem 1.5rem;
  }

  .corner--tl { top: 14px; left: 14px; }
  .corner--br { bottom: 14px; right: 14px; }
}
