/* CSS Custom Properties for Brand Colors */
:root {
  --pgp-white: #ffffff;
  --pgp-light: #f8f9fa;
  --pgp-peach: #ffb183;
  --pgp-charcoal: #1e252c;
  --pgp-green: #87b8a6;
  --pgp-yellow: #fff9a6;

  --bg: var(--pgp-light);
  --text: #1e252c;
  --muted: #666;
  --card: var(--pgp-white);
  --border: #e9ecef;
  --shadow: 0 4px 20px rgba(30, 37, 44, 0.08);
}

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

body {
  font-family: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  padding-top: 80px;
}

/* Floating Header */
.floating-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--pgp-charcoal);
  color: white;
  z-index: 1000;
  padding: 12px 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.floating-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: inherit;
}

.logo-mark {
  height: 40px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nac-title {
  text-decoration: none;
  color: white;
}

.logo {
  display: flex;
  gap: 10px;
}

.logo-primary {
  font-size: 18px;
  font-weight: 400;
  color: white;
}

.logo-secondary {
  font-size: 12px;
  font-weight: 300;
  color: var(--pgp-green);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-link {
  color: var(--pgp-green);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-link:hover {
  background: var(--pgp-green);
  color: white;
}

.nav-link.primary {
  background: var(--pgp-yellow);
  color: var(--pgp-charcoal);
  font-weight: 500;
}

.nav-link.primary:hover {
  background: white;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.patient-hero {
  background: var(--pgp-charcoal);
  color: white;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  margin-top: -80px;
  padding-top: 160px;
}

.hero-content {
  max-width: 600px;
}

.pgp-logo {
  height: 60px;
  margin-bottom: 40px;
}

.hero-content h1 {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 300;
  margin-bottom: 30px;
  line-height: 1.2;
}

.hero-content h1 strong {
  color: var(--pgp-yellow);
  font-weight: 400;
}

.hero-subtitle {
  font-size: 20px;
  font-weight: 300;
  margin-bottom: 50px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.portal-button {
  background: var(--pgp-yellow);
  color: var(--pgp-charcoal);
  padding: 20px 40px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 24px;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 60px;
  transition: all 0.3s ease;
}

.portal-button:hover {
  transform: translateY(-3px);
  background: white;
}

.signup-message {
  background: rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.signup-message h2 {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 20px;
  color: var(--pgp-yellow);
}

.signup-message p {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.evidence-bar {
  background: var(--pgp-green);
  padding: 60px 20px;
  text-align: center;
}

.evidence-content {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.stat {
  color: var(--pgp-charcoal);
}

.stat strong {
  display: block;
  font-size: 48px;
  font-weight: 300;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 16px;
  font-weight: 300;
  opacity: 0.9;
}

.connection-section {
  background: white;
  padding: 100px 20px;
  text-align: center;
}

.connection-content {
  max-width: 800px;
  margin: 0 auto;
}

.connection-content h2 {
  font-size: 42px;
  font-weight: 300;
  color: var(--pgp-charcoal);
  margin-bottom: 30px;
}

.connection-content p {
  font-size: 20px;
  font-weight: 300;
  color: var(--muted);
  margin-bottom: 60px;
}

.share-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  max-width: 600px;
  margin: 0 auto;
}

.share-item {
  background: var(--pgp-light);
  padding: 30px 20px;
  border-radius: 12px;
  border: 2px solid var(--border);
  transition: all 0.3s ease;
}

.share-item:hover {
  border-color: var(--pgp-green);
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.share-item h4 {
  font-size: 18px;
  font-weight: 400;
  color: var(--pgp-charcoal);
}

.about-footer {
  background: var(--pgp-charcoal);
  color: white;
  padding: 80px 20px 40px;
  text-align: center;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-content h3 {
  font-size: 32px;
  font-weight: 300;
  margin-bottom: 30px;
  color: var(--pgp-yellow);
}

.about-content p {
  font-size: 18px;
  font-weight: 300;
  margin-bottom: 25px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

.doctor-name {
  background: var(--pgp-green);
  color: white;
  padding: 20px;
  border-radius: 8px;
  font-style: italic;
  font-weight: 300;
  margin: 40px 0;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--pgp-green);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s;
}

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

.nac-badge {
  background: var(--pgp-green);
  color: white;
  padding: 15px 25px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 400;
  display: inline-block;
  margin-top: 20px;
}

.nac-aus {
  color: white;
  text-decoration: none;
}

@media (max-width: 768px) {
  body {
    padding-top: 70px;
  }

  .floating-header {
    padding: 10px 15px;
  }

  .header-content {
    flex-wrap: wrap;
    gap: 15px;
  }

  .logo-primary {
    font-size: 16px;
  }

  .logo-secondary {
    font-size: 11px;
  }

  .header-nav {
    gap: 15px;
  }

  .nav-link {
    font-size: 12px;
    padding: 6px 12px;
  }

  .patient-hero {
    margin-top: -70px;
    padding-top: 150px;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .portal-button {
    padding: 16px 32px;
    font-size: 20px;
  }

  .evidence-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .connection-content h2 {
    font-size: 32px;
  }

  .share-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 480px) {
  .header-nav {
    display: none;
  }

  .floating-header {
    padding: 8px 15px;
  }
}
