/* Agent Team Hub - styles.css */
:root {
  --bg: #0b0f1a;
  --bg-alt: #101826;
  --card: #121a2b;
  --text: #e6edf5;
  --muted: #9fb0c7;
  --accent: #5ed0ff;
  --accent-2: #8d7bff;
  --border: #1f2a40;
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  --radius: 18px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top, #18233a 0%, #0b0f1a 55%);
  min-height: 100vh;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 90%);
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(11, 15, 26, 0.8);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 24px;
  font-weight: 500;
  color: var(--muted);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.hero {
  padding: 96px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.button {
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button.primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #07111f;
  box-shadow: var(--shadow);
}

.button.secondary {
  border-color: var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.button:hover {
  transform: translateY(-2px);
}

.hero-card {
  background: linear-gradient(160deg, rgba(94, 208, 255, 0.2), rgba(141, 123, 255, 0.2));
  border: 1px solid var(--border);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card h3 {
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.hero-card ul {
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.section {
  padding: 80px 0;
}

.section-title {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.section-title h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.section-title p {
  color: var(--muted);
  max-width: 700px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card h4 {
  font-size: 1.1rem;
}

.card p {
  color: var(--muted);
}

.agent-card {
  overflow: hidden;
}

.agent-card img {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 14px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(94, 208, 255, 0.1);
  color: var(--accent);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.contact-card {
  background: linear-gradient(160deg, rgba(94, 208, 255, 0.15), rgba(141, 123, 255, 0.1));
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.footer {
  padding: 32px 0 48px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  margin-top: 60px;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}

@media (max-width: 720px) {
  .nav-links {
    gap: 14px;
    font-size: 0.95rem;
  }

  .hero {
    padding-top: 72px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
