/**
 * EDUARDU DESIGN SYSTEM v2.0
 * Apple-Inspired · Minimal · Premium
 */

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

:root {
  --bg: #000000;
  --bg-card: rgba(28, 28, 30, 0.95);
  --bg-hover: rgba(255, 255, 255, 0.06);

  --text: #f5f5f7;
  --text-secondary: rgba(235, 235, 245, 0.6);
  --text-muted: rgba(235, 235, 245, 0.3);

  /* Royal blue matching the tuxedo logo jacket — extracted from artwork.
     Hover/focus state is a brighter cousin so links don't get lost on dark. */
  --accent: #1758ba;
  --accent-hover: #2870d4;
  --accent-deep: #022660;
  --success: #30d158;
  --error: #ff453a;

  --border: rgba(255, 255, 255, 0.1);
  --radius: 16px;
  --radius-pill: 980px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.35s var(--ease);
}

/* Reset */
*, *::before, *::after {
  margin: 0; padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.8; }

/* --- Glass --- */
.glass {
  background: var(--bg-card);
  backdrop-filter: blur(60px) saturate(180%);
  -webkit-backdrop-filter: blur(60px) saturate(180%);
  border: 0.5px solid var(--border);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: #fff;
  color: #000;
}
.btn-primary:hover {
  background: rgba(255, 255, 255, 0.88);
  transform: scale(1.03);
  opacity: 1;
}

.btn-secondary {
  background: transparent;
  color: var(--accent-hover);
  border: 1px solid rgba(23, 88, 186, 0.35);
}
.btn-secondary:hover {
  background: rgba(23, 88, 186, 0.1);
  border-color: rgba(23, 88, 186, 0.5);
  transform: scale(1.03);
  opacity: 1;
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 10px 18px;
  font-size: 14px;
}
.btn-ghost:hover { color: var(--text); opacity: 1; }

.btn-full { width: 100%; }

/* --- Forms --- */
.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  transition: var(--transition);
}
.form-input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.07);
}
.form-input::placeholder {
  color: var(--text-muted);
}

.form-textarea {
  resize: vertical;
  min-height: 112px;
  line-height: 1.5;
}

/* --- Auth Card --- */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(23, 88, 186, 0.08) 0%, transparent 60%), var(--bg);
}

.auth-card {
  width: 420px;
  max-width: 92vw;
  padding: 48px 40px;
  border-radius: 24px;
  text-align: center;
}

.auth-logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  margin-bottom: 28px;
}

.auth-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.auth-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.auth-footer {
  margin-top: 28px;
  font-size: 14px;
  color: var(--text-muted);
}

.auth-divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}

/* Status messages */
.status-msg {
  margin-top: 16px;
  font-size: 13px;
  min-height: 20px;
  transition: opacity 0.3s;
}
.status-msg.success { color: var(--success); }
.status-msg.error { color: var(--error); }
.status-msg.hidden { opacity: 0; }

/* --- Nav --- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  z-index: 100;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1100px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  text-decoration: none;
}
.nav-brand:hover { opacity: 1; }

.nav-brand img {
  width: 28px; height: 28px;
  border-radius: 7px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}
.nav-links a:hover { color: var(--text); opacity: 1; }
