/* CONTACT — EXPERT WEB TOOLS Theme 2026 */

@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-v20-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Orbitron';
  src: url('/fonts/orbitron-v35-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg-dark:          #0a0a0f;
  --primary-accent:   #3b82f6;
  --secondary-accent: #8b5cf6;
  --text-main:        #ffffff;
  --text-muted:       #94a3b8;
  --card-bg:          rgba(25, 25, 35, 0.6);
  --card-border:      rgba(255, 255, 255, 0.08);
  --font-heading:     'Orbitron', sans-serif;
  --font-body:        'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.background-glow {
  position: fixed;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(59,130,246,0.06) 0%, rgba(10,10,15,0) 50%);
  z-index: -1;
  pointer-events: none;
}

/* Header */
.tool-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.back-btn {
  color: var(--text-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  transition: color 0.3s;
}
.back-btn:hover { color: var(--primary-accent); }

.logo { font-family: var(--font-heading); font-size: 1.2rem; color: var(--text-main); }
.logo span { color: var(--primary-accent); }

/* Main */
.main-content {
  flex-grow: 1;
  padding: 2rem 5% 4rem;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

/* Page Intro */
.page-intro {
  text-align: center;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--card-border);
}

.page-intro h1 {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  line-height: 1.3;
  margin-bottom: 0.5rem;
  background: linear-gradient(to right, #fff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-intro p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 0.5rem;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.contact-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: border-color 0.3s;
}
.contact-card:hover { border-color: rgba(255,255,255,0.18); }

.primary-contact {
  border-color: rgba(59,130,246,0.3);
  background: rgba(59,130,246,0.05);
}

.card-icon {
  width: 44px;
  height: 44px;
  background: rgba(59,130,246,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--primary-accent);
  margin-bottom: 0.25rem;
}

.contact-card h2 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--text-main);
}

.contact-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  flex-grow: 1;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-accent);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: auto;
  padding-top: 0.5rem;
  transition: gap 0.2s, color 0.2s;
}
.contact-link:hover { gap: 12px; color: #93c5fd; }

/* Founder Card */
.founder-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.founder-info {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.founder-icon {
  width: 54px;
  height: 54px;
  min-width: 54px;
  background: rgba(139,92,246,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--secondary-accent);
}

.founder-card h2 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.founder-card p {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.7;
}

.founder-card a {
  color: var(--primary-accent);
  text-decoration: none;
}
.founder-card a:hover { color: #93c5fd; }

.founder-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.founder-links a {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.founder-links a:hover { color: var(--primary-accent); }

/* Quick Links */
.quick-links { margin-top: 1rem; }

.quick-links h2 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}

.quick-link-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 12px 14px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: border-color 0.2s, color 0.2s;
}
.quick-link-item:hover { border-color: var(--primary-accent); color: var(--text-main); }
.quick-link-item i { color: var(--primary-accent); width: 16px; text-align: center; }

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--primary-accent);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(59,130,246,0.4);
  transition: opacity 0.3s, transform 0.3s, background 0.2s;
  opacity: 0;
  pointer-events: none;
  z-index: 100;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: #2563eb; transform: translateY(-2px); }

/* Footer */
footer {
  text-align: center;
  padding: 2.5rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--card-border);
  margin-top: 1rem;
}
footer a { color: #fff; text-decoration: none; }

/* Responsive */
@media (max-width: 640px) {
  .tool-header { padding: 1rem 4%; }
  .main-content { padding: 1.5rem 4% 3rem; }
  .page-intro h1 { font-size: 1.4rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .founder-info { flex-direction: column; gap: 1rem; }
}