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

:root {
  --pink-primary: #ff00c8;
  --pink-secondary: #ff4ea6;
  --pink-glow: rgba(255, 0, 200, 0.35);
  --purple-accent: #7a00ff;
  --dark-bg: #07050b;
  --text-dark: #24182c;
  --text-light: #ffffff;
  --text-muted: #ad9ebf;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background: var(--dark-bg);
  color: var(--text-light);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(100deg, rgba(8, 5, 14, 0.92), rgba(8, 5, 14, 0.88)), url("./images/bannners.png") center/cover no-repeat;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(255, 0, 200, 0.18), transparent 35%),
              radial-gradient(circle at 85% 60%, rgba(122, 0, 255, 0.15), transparent 40%);
  z-index: -1;
}

.contact-page {
  width: min(1320px, 92%);
  margin: 0 auto;
  padding: 60px 0 90px;
}

/* HERO SECTION */
.contact-hero {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 60px;
}

.kicker, .sub-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 0, 200, 0.12);
  border: 1px solid rgba(255, 0, 200, 0.28);
  color: #ff5edd;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.contact-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 5.5vw, 4.8rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.contact-hero h1 span {
  background: linear-gradient(110deg, #ff00c8, #9e70ff);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.contact-hero .lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto;
}

/* STAFF SECTION */
.staff-section {
  margin-bottom: 80px;
}

.section-head {
  text-align: center;
  margin-bottom: 45px;
}

.section-head h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin: 10px 0 8px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1rem;
}

.staff-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.staff-card {
  border-radius: 28px;
  padding: 36px 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.35s, border-color 0.35s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.staff-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 0, 200, 0.45);
  box-shadow: 0 20px 50px rgba(255, 0, 200, 0.22);
}

.avatar-wrap {
  margin-bottom: 24px;
}

.staff-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.founder-avatar {
  background: linear-gradient(135deg, #ff00c8, #ff6e00);
}

.cofounder-avatar {
  background: linear-gradient(135deg, #9e70ff, #ff00c8);
}

.dev-avatar {
  background: linear-gradient(135deg, #00d2ff, #7a00ff);
}

.role-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.role-badge.founder {
  background: rgba(255, 0, 200, 0.15);
  color: #ff5edd;
  border: 1px solid rgba(255, 0, 200, 0.3);
}

.role-badge.cofounder {
  background: rgba(158, 112, 255, 0.15);
  color: #c49eff;
  border: 1px solid rgba(158, 112, 255, 0.3);
}

.role-badge.dev {
  background: rgba(0, 210, 255, 0.15);
  color: #70e6ff;
  border: 1px solid rgba(0, 210, 255, 0.3);
}

.card-content h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.role-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.contact-pills {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.contact-pill.phone {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-pill.phone:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(1.02);
}

.contact-pill.instagram {
  background: linear-gradient(135deg, rgba(255, 0, 200, 0.2), rgba(122, 0, 255, 0.2));
  color: #ff7be8;
  border: 1px solid rgba(255, 0, 200, 0.35);
}

.contact-pill.instagram:hover {
  background: linear-gradient(135deg, #ff00c8, #7a00ff);
  color: #fff;
  box-shadow: 0 8px 25px rgba(255, 0, 200, 0.4);
  transform: scale(1.02);
}

.contact-pill.info {
  background: rgba(0, 210, 255, 0.08);
  color: #70e6ff;
  border: 1px solid rgba(0, 210, 255, 0.2);
}

/* CONNECT GRID */
.connect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.official-channels, .inquiry-box {
  padding: 40px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.official-channels h2, .inquiry-box h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  margin: 10px 0 8px;
}

.official-channels p, .inquiry-box p {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 30px;
}

.channels-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.channel-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: #fff;
  transition: all 0.3s ease;
}

.channel-card:hover {
  background: rgba(255, 0, 200, 0.1);
  border-color: rgba(255, 0, 200, 0.35);
  transform: translateX(6px);
}

.channel-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.channel-card.email .channel-icon { background: rgba(255, 0, 200, 0.2); color: #ff5edd; }
.channel-card.instagram .channel-icon { background: rgba(225, 48, 108, 0.2); color: #ff5c93; }
.channel-card.tiktok .channel-icon { background: rgba(0, 242, 234, 0.2); color: #00f2ea; }
.channel-card.youtube .channel-icon { background: rgba(255, 0, 0, 0.2); color: #ff4e4e; }

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

.channel-info strong {
  font-size: 1.05rem;
}

.channel-info span {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.arrow {
  color: rgba(255, 255, 255, 0.3);
  font-size: 14px;
  transition: color 0.25s, transform 0.25s;
}

.channel-card:hover .arrow {
  color: #ff00c8;
  transform: translate(2px, -2px);
}

/* FORM STYLING */
.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #e0d5ed;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: #ff00c8;
  box-shadow: 0 0 18px rgba(255, 0, 200, 0.3);
}

.form-group select option {
  background: #180d26;
  color: #fff;
}

.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 16px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #ff00c8, #ff4ea6);
  color: #fff;
  font-weight: 800;
  font-size: 0.98rem;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(255, 0, 200, 0.35);
  transition: transform 0.25s, box-shadow 0.25s;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 0, 200, 0.5);
}

/* LIGHT THEME OVERRIDES FOR CONTACT */
html[data-theme="light"] body::before {
  opacity: 0 !important;
}

html[data-theme="light"] .contact-hero h1 {
  color: #24182c !important;
}

html[data-theme="light"] .contact-hero .lead {
  color: #5e5268 !important;
}

html[data-theme="light"] .section-head h2,
html[data-theme="light"] .official-channels h2,
html[data-theme="light"] .inquiry-box h2 {
  color: #24182c !important;
}

html[data-theme="light"] .section-head p,
html[data-theme="light"] .official-channels p,
html[data-theme="light"] .inquiry-box p {
  color: #5e5268 !important;
}

html[data-theme="light"] :is(.staff-card, .official-channels, .inquiry-box) {
  background: rgba(255, 255, 255, 0.88) !important;
  border-color: rgba(40, 15, 50, 0.12) !important;
  box-shadow: 0 16px 45px rgba(67, 37, 78, 0.08) !important;
  color: #24182c !important;
}

html[data-theme="light"] .card-content h3 {
  color: #24182c !important;
}

html[data-theme="light"] .role-desc {
  color: #5e5268 !important;
}

html[data-theme="light"] .channel-card {
  background: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(40, 15, 50, 0.12) !important;
  color: #24182c !important;
}

html[data-theme="light"] .channel-info strong {
  color: #24182c !important;
}

html[data-theme="light"] .channel-info span {
  color: #5e5268 !important;
}

html[data-theme="light"] .form-group label {
  color: #24182c !important;
}

html[data-theme="light"] :is(.form-group input, .form-group select, .form-group textarea) {
  background: #ffffff !important;
  border-color: #d9cddd !important;
  color: #24182c !important;
}

html[data-theme="light"] .contact-pill.phone {
  background: rgba(40, 15, 50, 0.08) !important;
  color: #24182c !important;
  border-color: rgba(40, 15, 50, 0.15) !important;
}
/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .staff-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .staff-card:last-child {
    grid-column: 1 / -1;
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
  }
  .connect-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .contact-page {
    padding: 40px 0 60px;
  }
  .staff-cards {
    grid-template-columns: 1fr;
  }
  .staff-card:last-child {
    grid-column: auto;
    max-width: none;
  }
  .official-channels, .inquiry-box {
    padding: 24px 18px;
    border-radius: 20px;
  }
}
/* ==========================================
   RESPONSIVE DESIGN (OPTIMIZAT MOBIL & TABLETĂ)
   ========================================== */

/* --- TABLETĂ LANDSCAPE / DISPLAY-URI MEDII (max 1024px) --- */
@media (max-width: 1024px) {
  .contact-page {
    width: 90%;
    padding: 50px 0 70px;
  }

  .staff-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .staff-card:last-child {
    grid-column: 1 / -1;
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
  }

  .connect-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* --- TABLETĂ PORTRAIT (max 768px) --- */
@media (max-width: 768px) {
  .contact-page {
    padding: 40px 0 60px;
  }

  .contact-hero {
    margin-bottom: 40px;
  }

  .contact-hero h1 {
    font-size: clamp(2rem, 8vw, 3.2rem);
  }

  .contact-hero .lead {
    font-size: 1rem;
  }

  /* Staff cards pe o singura coloana pentru lizibilitate optima */
  .staff-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .staff-card:last-child {
    grid-column: auto;
    max-width: 100%;
  }

  .staff-card {
    padding: 28px 20px;
  }

  .official-channels, 
  .inquiry-box {
    padding: 28px 20px;
    border-radius: 22px;
  }

  .official-channels h2, 
  .inquiry-box h2 {
    font-size: 1.5rem;
  }
}

/* --- TELEFOANE MOBILE (max 480px) --- */
@media (max-width: 480px) {
  .contact-page {
    width: 92%;
    padding: 30px 0 50px;
  }

  .kicker, 
  .sub-tag {
    font-size: 0.7rem;
    padding: 6px 12px;
    margin-bottom: 14px;
  }

  .contact-hero h1 {
    font-size: 2.1rem;
  }

  .contact-hero .lead {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  /* Reducem efectele de hover pe mobil (previne problemele de starea tap) */
  .staff-card:hover {
    transform: none;
  }

  .staff-avatar {
    width: 76px;
    height: 76px;
    font-size: 32px;
  }

  .contact-pill {
    padding: 12px 14px;
    font-size: 0.85rem;
    min-height: 44px; /* Touch target optim */
  }

  /* Ajustari pentru Canalele Oficiale */
  .official-channels, 
  .inquiry-box {
    padding: 20px 16px;
  }

  .channel-card {
    padding: 14px;
    gap: 12px;
  }

  .channel-icon {
    width: 42px;
    height: 42px;
    font-size: 18px;
    border-radius: 12px;
  }

  .channel-info strong {
    font-size: 0.95rem;
  }

  .channel-info span {
    font-size: 0.8rem;
    word-break: break-all; /* Evita depasirea textului daca adresa de email/linkul e lung */
  }

  .arrow {
    display: none; /* Ascundem sageata pe ecran mic pentru a salva spatiu */
  }

  /* Formular mobil */
  .form-group label {
    font-size: 0.82rem;
  }

  .form-group input, 
  .form-group select, 
  .form-group textarea {
    padding: 12px 14px;
    font-size: 0.9rem;
  }

  .submit-btn {
    padding: 14px;
    font-size: 0.92rem;
    min-height: 48px;
  }
}
/* STILIZARE FOOTER & BUTON CENTRAT */
.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 30px 0;
  margin-top: 40px;
}

.made-by-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: 999px;
  background: rgba(18, 6, 27, 0.75);
  border: 1px solid rgba(255, 0, 200, 0.45);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 0, 200, 0.15);
  transition: all 0.3s ease;
}

.made-by-btn i {
  font-size: 1.1rem;
}

/* Efect pe HOVER (Când treci cu cursorul peste el) */
.made-by-btn:hover {
  transform: translateY(-2px);
  border-color: #ff00c8;
  box-shadow: 0 6px 25px rgba(255, 0, 200, 0.4);
  color: #ff5edd;
}

/* Adaptare pe mobil (prevenim efectele deranjante la touch) */
@media (max-width: 480px) {
  .footer {
    padding: 20px 0;
  }
  
  .made-by-btn {
    padding: 9px 18px;
    font-size: 0.85rem;
  }

  .made-by-btn:hover {
    transform: none;
  }
}