/* ============================================
   Innoforce Contacts — Design System
   ============================================ */

/* --- Custom Properties --- */
:root {
  --color-bg: #1C1D1D;
  --color-bg-card: #252626;
  --color-accent: #15FFC7;
  --color-purple: #4E3FF8;
  --color-blue: #0000AF;
  --color-yellow: #FFB800;
  --color-text: #F4F6F8;
  --color-text-muted: #5B5B5B;
  --font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 12px;
  --max-width: 480px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-family);
  background: var(--color-bg);
  color: var(--color-text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* --- Page Layout --- */
.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 24px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* --- Header --- */
.page-header {
  text-align: center;
  margin-bottom: 32px;
}

.logo {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  text-transform: uppercase;
  opacity: 0.85;
}

/* --- Profile --- */
.profile {
  text-align: center;
  margin-bottom: 32px;
}

.avatar {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 2px solid rgba(21, 255, 199, 0.25);
  box-shadow: 0 0 30px rgba(21, 255, 199, 0.08);
}

.profile-name {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 6px;
}

.profile-title {
  font-size: 0.9375rem;
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: 16px;
}

.profile-bio {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* --- Action Buttons --- */
.actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 20px;
  background: rgba(78, 63, 248, 0.12);
  border: 1px solid rgba(78, 63, 248, 0.25);
  border-radius: var(--radius);
  color: var(--color-text);
  text-decoration: none;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 500;
  transition: background 0.2s ease, transform 0.2s ease,
              box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.btn:hover,
.btn:active {
  background: var(--color-purple);
  border-color: var(--color-purple);
  transform: scale(1.02);
  box-shadow: 0 4px 24px rgba(78, 63, 248, 0.35);
  color: #fff;
}

.btn svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* --- Landing Page --- */
.landing-title {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--color-text-muted);
  margin-top: 8px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 420px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: var(--color-text);
  padding: 20px 12px;
  background: var(--color-bg-card);
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(21, 255, 199, 0.12);
  border-color: rgba(21, 255, 199, 0.2);
}

.team-card__photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
}

.team-card__name {
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.3;
  min-height: 2.6em;
}

.team-card__title {
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  line-height: 1.3;
}

/* --- Footer --- */
.footer {
  border-top: 1px solid rgba(91, 91, 91, 0.3);
  padding-top: 24px;
  margin-top: 40px;
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.footer a {
  color: var(--color-accent);
}

.footer a:hover {
  text-decoration: underline;
}

/* --- Responsive: Tablet (768px+) --- */
@media (min-width: 768px) {
  :root {
    --max-width: 640px;
  }

  .page {
    padding: 48px 32px;
  }

  .avatar {
    width: 220px;
    height: 220px;
  }

  .profile-name {
    font-size: 2rem;
  }

  .profile-title {
    font-size: 1.125rem;
  }

  .profile-bio {
    font-size: 1rem;
  }

  .btn {
    padding: 18px 24px;
    font-size: 1.0625rem;
  }

  .logo {
    font-size: 0.875rem;
  }

  .landing-title {
    font-size: 1.5rem;
  }

  .team-card__photo {
    width: 84px;
    height: 84px;
  }

  .team-card__name {
    font-size: 1rem;
  }

  .team-card__title {
    font-size: 0.8125rem;
  }

  .footer {
    font-size: 0.875rem;
  }
}

/* --- Responsive: Laptop (1024px+) --- */
@media (min-width: 1024px) {
  :root {
    --max-width: 720px;
  }

  .page {
    padding: 56px 40px;
  }

  .avatar {
    width: 240px;
    height: 240px;
  }

  .profile-name {
    font-size: 2.5rem;
  }

  .profile-title {
    font-size: 1.3125rem;
  }

  .profile-bio {
    font-size: 1.125rem;
  }

  .btn {
    padding: 20px 28px;
    font-size: 1.1875rem;
    max-width: 480px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .actions {
    align-items: center;
  }

  .logo {
    font-size: 1rem;
  }

  .landing-title {
    font-size: 1.75rem;
  }

  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .team-card {
    padding: 16px 12px;
  }

  .team-card__photo {
    width: 96px;
    height: 96px;
  }

  .team-card__name {
    font-size: 1.125rem;
  }

  .team-card__title {
    font-size: 0.9375rem;
  }

  .footer {
    font-size: 1rem;
  }
}

/* --- Responsive: Desktop (1440px+) --- */
@media (min-width: 1440px) {
  :root {
    --max-width: 800px;
  }

  .page {
    padding: 56px 48px;
  }

  .profile-name {
    font-size: 2.75rem;
  }

  .profile-title {
    font-size: 1.375rem;
  }

  .profile-bio {
    font-size: 1.1875rem;
  }

  .btn {
    font-size: 1.25rem;
  }

  .logo {
    font-size: 1rem;
  }

  .landing-title {
    font-size: 1.875rem;
  }

  .team-card__name {
    font-size: 1.1875rem;
  }

  .team-card__title {
    font-size: 1rem;
  }

  .footer {
    font-size: 1rem;
  }
}

/* --- Responsive: Wide/2K+ (1920px+) --- */
@media (min-width: 1920px) {
  :root {
    --max-width: 960px;
  }

  .page {
    padding: 64px 56px;
  }

  .avatar {
    width: 260px;
    height: 260px;
  }

  .profile-name {
    font-size: 3rem;
  }

  .profile-title {
    font-size: 1.5rem;
  }

  .profile-bio {
    font-size: 1.25rem;
  }

  .btn {
    padding: 22px 32px;
    font-size: 1.3125rem;
  }

  .logo {
    font-size: 1.0625rem;
  }

  .landing-title {
    font-size: 2rem;
  }

  .team-card__photo {
    width: 112px;
    height: 112px;
  }

  .team-card__name {
    font-size: 1.25rem;
  }

  .team-card__title {
    font-size: 1.0625rem;
  }

  .footer {
    font-size: 1.0625rem;
  }
}
