/* MB Solutions LLC - Main Styles */

:root {
  --bg: #04060c;
  --panel: #0b1020;
  --primary: #2f6bff;
  --secondary: #00e5ff;
  --text: #e9ecf6;
  --muted: #a3acd6;
  --border: rgba(255,255,255,0.1);
  --radius: 20px;
  --glow-strong: 0 0 90px rgba(47,107,255,0.45);
}

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  background:
    radial-gradient(900px 500px at 85% 15%, rgba(47,107,255,0.35), transparent 60%),
    radial-gradient(700px 400px at 10% 80%, rgba(0,229,255,0.18), transparent 55%),
    linear-gradient(180deg, #02030a, #060b18 60%, #02030a);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  padding: 0 24px;
  margin: 0 auto;
}

/* Gradient Text */
.highlight {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =====================
   HERO SECTION (Homepage)
   ===================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    135deg,
    rgba(255,255,255,0.03),
    rgba(255,255,255,0.03) 1px,
    transparent 1px,
    transparent 18px
  );
  opacity: 0.25;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
}

.brand img {
  width: 320px;
}

.brand span {
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--muted);
  display: none;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(47,107,255,0.25), rgba(0,229,255,0.15));
  border: 1px solid rgba(255,255,255,0.18);
  color: #eaf2ff;
  font-size: 0.8rem;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
}

.hero h1 {
  font-size: clamp(2.6rem, 4.8vw, 3.9rem);
  line-height: 1.1;
  margin: 0 0 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 580px;
  margin-bottom: 40px;
}

/* =====================
   CARD / FORM
   ===================== */
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  backdrop-filter: blur(12px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, transparent 30%, rgba(47,107,255,0.35), transparent 70%);
  opacity: 0.6;
  pointer-events: none;
}

.card h2 {
  margin: 0 0 10px;
  font-size: 1.6rem;
  font-weight: 600;
}

.card p {
  margin: 0 0 26px;
  font-size: 0.95rem;
  color: var(--muted);
}

/* =====================
   FORM ELEMENTS
   ===================== */
form {
  display: grid;
  gap: 16px;
  position: relative;
  z-index: 1;
}

input, textarea {
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  padding: 15px 18px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(47,107,255,0.35);
}

/* Show invalid state only after user has entered text */
input:invalid:not(:placeholder-shown):not(:focus),
textarea:invalid:not(:placeholder-shown):not(:focus) {
  border-color: rgba(239, 68, 68, 0.6);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

button {
  margin-top: 10px;
  padding: 16px 20px;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.03em;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #02030a;
  box-shadow: 0 18px 60px rgba(47,107,255,0.65);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 80px rgba(47,107,255,0.75);
}

button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* =====================
   STATUS MESSAGES
   ===================== */
.status-message {
  padding: 16px 20px;
  border-radius: 14px;
  margin-bottom: 20px;
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  display: none;
}

.status-message.show {
  opacity: 1;
  transform: translateY(0);
  display: block;
}

.status-message.success {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.15));
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
}

.status-message.error {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(220, 38, 38, 0.15));
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

.status-message.warning {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.15));
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fcd34d;
}

/* =====================
   SITE FOOTER
   ===================== */
.site-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  font-size: 0.75rem;
  color: #7c85b8;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  margin-bottom: 8px;
}

.footer-links a {
  color: #7c85b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--secondary);
}

.footer-divider {
  margin: 0 10px;
  opacity: 0.5;
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .site-footer {
    position: static;
    padding: 32px 24px;
  }
}

@media (max-width: 600px) {
  .brand img {
    width: 240px;
  }

  .card {
    padding: 28px 24px;
  }
}
