/* Rain.xe App - Contact Page Obsidian Rain (V4) */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800;900&display=swap');

:root {
  --bg-main: #0a0a0b;
  --bg-card: rgba(255, 255, 255, 0.03);
  --accent-1: #10b981;
  --accent-2: #0ea5e9;
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --border-light: rgba(255, 255, 255, 0.08);
  --glass-blur: 30px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-main);
  color: var(--text-primary);
  overflow-x: hidden;
  min-height: 100vh;
}

/* --- Atmospheric BG --- */
.contact-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: radial-gradient(circle at 10% 10%, rgba(16, 185, 129, 0.05) 0%, transparent 40%),
              radial-gradient(circle at 90% 90%, rgba(14, 165, 233, 0.05) 0%, transparent 40%);
}

/* --- Navigation --- */
.navbar {
  background: rgba(10, 10, 11, 0.8) !important;
  backdrop-filter: blur(20px);
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-light);
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-glyph {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  border-radius: 6px;
  transform: rotate(45deg);
}

.nav-link {
  color: var(--text-secondary) !important;
  font-size: 0.95rem;
  margin: 0 1rem;
}

/* --- Layout --- */
.contact-wrapper {
  padding: 160px 0 100px;
}

.tagline {
  color: var(--accent-1);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  display: block;
  margin-bottom: 1rem;
}

.contact-title {
  font-size: clamp(3rem, 7vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
  line-height: 1.1;
}

.contact-lead {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 480px;
  margin-bottom: 4rem;
}

/* --- Info Blocks --- */
.info-card {
  margin-bottom: 2.5rem;
  padding-left: 1.5rem;
  border-left: 1px solid var(--border-light);
}

.info-card label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--accent-1);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.info-card p {
  font-size: 1.25rem;
  font-weight: 600;
}

/* --- Premium Form --- */
.premium-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 32px;
  padding: 4rem;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.form-control {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 1.25rem;
  color: white;
  transition: all 0.3s;
}

.form-control:focus {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-1);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.1);
  color: white;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.btn-premium-send {
  width: 100%;
  padding: 1.25rem;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  border: none;
  border-radius: 16px;
  color: #000;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 2rem;
  transition: all 0.4s;
}

.btn-premium-send:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(16, 185, 129, 0.3);
}

/* --- Modal --- */
.modal-content {
  background: #0f0f10;
  border: 1px solid var(--border-light);
  border-radius: 32px;
  padding: 4rem 2rem;
}

.success-mark {
  width: 80px;
  height: 80px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-1);
  font-size: 2rem;
  margin: 0 auto 2rem;
}

/* --- Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991px) {
  .premium-form-card { padding: 2.5rem; }
  .contact-wrapper { padding-top: 120px; }
}