@charset "utf-8";
/* CSS Document */

/* HumanPlanet Media 2026 Master Stylesheet
   Refined for site-wide consistency and performance.
*/

/* --- 1. Variables & Base Reset --- */
:root {
  --bg-dark: #0f0f14;
  --bg-light: #ffffff;
  --text-dark: #0f0f14;
  --text-light: #eaeaf0;
  --muted: #8c8ca1;
  --purple: #7b5cff;
  --purple-hover: #8e75ff;
  --purple-soft: rgba(123, 92, 255, 0.15);
  --border: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(15, 15, 20, 0.85);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

/* --- 2. Layout & Containers --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.narrow {
  max-width: 720px;
  margin: 0 auto;
}

section {
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
}

section h2 {
  font-size: 2rem;
  margin-bottom: 24px;
}

section p {
  max-width: 760px;
  color: var(--muted);
}

/* --- 3. Navigation (Header) --- */
header {
  position: sticky;
  top: 0;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-size: 1.2rem; /* Adjust this number until it looks right */
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: none;
  display: flex;
  align-items: center;
}

.logo a {
  text-decoration: none;
  color: inherit; /* This makes the "HumanPlanet" text match the other pages */
  font-size: inherit;
}

.logo span {
  color: var(--purple);
}
.nav-links a {
  margin-left: 28px;
  font-size: 0.9rem;
  color: var(--muted);
}

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

/* --- 4. Hero Components --- */
.hero-eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
}
.hero {
  padding: 120px 0 100px;
  border-bottom: 1px solid var(--border);
  background-image: 
    linear-gradient(135deg, rgba(15, 15, 20, 0.9), rgba(15, 15, 20, 0.6)),
    url("hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero p {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 40px;
}
.hero-system {
  padding: 140px 0 110px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(
      1200px 600px at 20% -10%,
      rgba(123, 92, 255, 0.18),
      transparent 60%
    ),
    var(--bg-dark);
}

.hero-system .hero-eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
}

.hero-system h1 {
  max-width: 900px;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1.1;
  margin-bottom: 22px;
}

.hero-system p {
  max-width: 680px;
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 42px;
}

/* --- 5. Buttons --- */
.buttons {
  margin-top: 32px;
}

.buttons a {
  display: inline-block;
  margin-right: 16px;
  padding: 14px 26px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
}

.btn-primary {
  background: var(--purple);
  color: #fff !important;
}

.btn-primary:hover {
  background: var(--purple-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  border: 1px solid var(--border);
  color: var(--text-light);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* --- 6. Grids & Cards --- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
  transition: border-color 0.3s ease;
}

.card:hover {
  border-color: var(--purple-soft);
}

.card h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.card p {
  font-size: 0.95rem;
  color: var(--muted);
}

/* Card Lists (Technology/Solutions) */
.card ul {
  list-style: none;
  margin-top: 15px;
}

.card li {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.card li::before {
  content: "→";
  margin-right: 10px;
  color: var(--purple);
}

/* --- 7. Specialized Components --- */

/* Tools Grid */
.tools {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.tool {
  padding: 18px;

  border: 1px solid var(--border);
  border-radius: 8px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.tool:hover {
  border-color: var(--purple-soft);
  color: var(--text-light);
}

/* Use Cases (Solutions Page) */
.use-case {
  margin-top: 64px;
  padding-top: 64px;
  border-top: 1px solid var(--border);
}

.use-case h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.use-case ul {
  margin-top: 16px;
  padding-left: 20px;
  color: var(--muted);
}

.use-case ul li {
  margin-bottom: 10px;
}

.highlight {
  color: var(--text-light);
  font-weight: 500;
}

/* Section Divider */
.divider {
  margin-top: 80px;
  padding-top: 80px;
  border-top: 1px solid var(--border);
}

/* --- 8. CTA & Footer --- */
.cta {
  background: linear-gradient(135deg, rgba(123, 92, 255, 0.1), rgba(15, 15, 20, 1));
  text-align: center;
}

.cta h2 { margin-bottom: 16px; }
.cta p { margin: 0 auto 32px; }

footer {
  padding: 80px 0 60px;
  background: linear-gradient(to top, rgba(123, 92, 255, 0.03), transparent);
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.footer-links a {
  color: var(--muted);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--purple);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  width: 100%;
  max-width: 400px;
}

/* --- 9. Responsive Mobile Logic --- */
@media (max-width: 768px) {
  .nav-links {
    display: none; /* Consider adding a mobile menu icon later */
  }

  .hero {
    padding: 80px 0;
  }

  section {
    padding: 60px 0;
  }

  section h2 {
    font-size: 1.75rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 16px;
  }

  .grid {
    gap: 20px;
  }
  
  .buttons a {
    display: block;
    margin-right: 0;
    margin-bottom: 12px;
    text-align: center;
  }
}

/* --- 10. Contact & Form Styles --- */
.instruction-box {
  margin-bottom: 48px;
  padding-left: 24px;
  border-left: 2px solid var(--purple);
}

.instruction-box h2 { font-size: 1.8rem; margin-bottom: 8px; }

.problem-form {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.form-group { margin-bottom: 32px; }

label { 
  display: block; 
  font-size: 0.85rem; 
  font-weight: 600; 
  text-transform: uppercase; 
  letter-spacing: 1px; 
  color: var(--purple); 
  margin-bottom: 12px; 
}

input[type="text"], 
input[type="email"], 
textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 16px;
  color: var(--text-light);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

textarea { min-height: 200px; resize: vertical; }

input:focus, 
textarea:focus { 
  outline: none; 
  border-color: var(--purple); 
}

.btn-submit {
  background: var(--purple);
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: all 0.2s ease;
}

.btn-submit:hover { 
  background: var(--purple-hover); 
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(123, 92, 255, 0.15);
}