@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@400;500;600;700&display=swap');

:root {
  /* Welcoming Light Palette */
  --bg-main: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-surface: #ffffff;
  
  --text-primary: #0f172a; /* Dark charcoal */
  --text-secondary: #475569;
  --text-muted: #64748b;
  
  --accent-primary: #0d9488; /* Teal from logo */
  --accent-hover: #0f766e;
  
  --header-bg: #000000; /* Black to match logo background */
  
  --border-light: #e2e8f0;

  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--bg-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--accent-hover);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--accent-primary);
  color: white !important;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.4);
  color: var(--text-primary) !important;
  border-color: #cbd5e1;
}

.btn-outline:hover {
  background: var(--bg-subtle);
  border-color: #94a3b8;
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--header-bg);
  padding: 0.75rem 0;
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 48px;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a.nav-item {
  color: #e2e8f0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
}

.nav-links a.nav-item:hover {
  color: white;
}

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

section {
  padding: 6rem 0;
  position: relative;
}

.bg-subtle {
  background-color: var(--bg-subtle);
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-title p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: 0;
  background-color: var(--bg-main);
  position: relative;
  overflow: hidden;
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-text {
  padding: 4rem 2rem;
  max-width: 750px;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(13, 148, 136, 0.2);
  color: #2dd4bf;
  border: 1px solid rgba(45, 212, 191, 0.3);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2rem;
  font-family: var(--font-display);
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  color: #fbbf24;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.hero p {
  font-size: 1.25rem;
  color: #f1f5f9;
  margin-bottom: 2.5rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.hero-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

/* Cards */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 2.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.card p {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* Minimalist Feature List */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.feature-item {
  border-left: 3px solid var(--accent-primary);
  padding-left: 1.5rem;
}

.feature-content h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.feature-content p {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.25rem;
  background: white;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

/* Footer */
footer {
  background-color: var(--header-bg);
  padding: 5rem 0 2rem;
  color: #94a3b8;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-col h4 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
}

/* Scroll Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; min-height: auto; }
  .hero-text { padding: 4rem 2rem; text-align: center; }
  .hero-image img { mask-image: none; -webkit-mask-image: none; object-position: center; }
  .hero-actions { justify-content: center; }
  .grid-2 { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  section { padding: 4rem 0; }
  .hero h1 { font-size: 2.5rem; }
  .grid-3, .footer-content { grid-template-columns: 1fr; gap: 2.5rem; }
  .nav-links { display: none; }
}

/* ============================================
   Multi-page additions
   ============================================ */

/* Active nav state */
.nav-links a.nav-item.active {
  color: white;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 10;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #e2e8f0;
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Page header for inner pages */
.page-header {
  padding-top: 10rem;
  padding-bottom: 5rem;
  text-align: center;
  background-color: var(--header-bg);
  position: relative;
  background-size: cover;
  background-position: center;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header-label {
  font-family: var(--font-display);
  color: #5eead4;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: white;
}

.page-header p {
  font-size: 1.15rem;
  color: #e2e8f0;
  max-width: 650px;
  margin: 0 auto;
}

/* Content blocks */
.content-block {
  margin-bottom: 3rem;
}

.content-block:last-child {
  margin-bottom: 0;
}

.content-block h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.content-block p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

.content-block p + p {
  margin-top: 1rem;
}

/* Key facts list */
.key-facts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.key-facts li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.key-facts .fact-label {
  font-weight: 600;
  color: var(--text-primary);
  min-width: 120px;
  font-family: var(--font-display);
}

.key-facts .fact-value {
  color: var(--text-secondary);
}

/* Resource cards */
.resource-card {
  text-align: center;
  padding: 3rem 2rem;
}

.resource-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.1), rgba(13, 148, 136, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.75rem;
}

/* Partner cards */
.partner-card {
  text-align: center;
  padding: 2.5rem;
}

.partner-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.15), rgba(13, 148, 136, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
}

/* Coming soon badge */
.coming-soon-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(13, 148, 136, 0.1);
  color: var(--accent-primary);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-display);
  margin-bottom: 1rem;
}

/* Grid-4 */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

/* Privacy / legal content */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.legal-content ul {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  line-height: 1.8;
}

/* Governance principles */
.governance-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.governance-list li {
  border-left: 3px solid var(--accent-primary);
  padding-left: 1.5rem;
}

.governance-list li strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.governance-list li span {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* Responsive additions */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--header-bg);
    flex-direction: column;
    padding: 1rem 2rem 2rem;
    gap: 1rem;
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open {
    display: flex;
  }

  .page-header {
    padding-top: 8rem;
    padding-bottom: 3rem;
  }

  .page-header h1 {
    font-size: 2.25rem;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }
}
