:root {
  --primary: #3366FF;
  --primary-dark: #0039CB;
  --primary-light: #6690FF;
  --background: #F5F7FA;
  --surface: #FFFFFF;
  --text-primary: #1A1A1A;
  --text-secondary: #666666;
  --shadow: rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Lexend', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: #FFFFFF;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Fixed Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 1000;
  transition: all 0.3s ease;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 8px var(--shadow);
}

header.blue-bg {
  background: var(--primary) !important;
  backdrop-filter: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

header.blue-bg .header-nav a {
  color: white !important;
}

header.blue-bg .header-nav a:hover {
  color: rgba(255, 255, 255, 0.8) !important;
}

header.blue-bg .header-cta {
  background: white !important;
  color: var(--primary) !important;
}

header.blue-bg .header-cta:hover {
  background: rgba(255, 255, 255, 0.9) !important;
}

header.blue-bg .header-logo {
  filter: brightness(0) invert(1) !important;
}

header.blue-bg .hamburger span {
  background: white !important;
}

header.scrolled .header-nav a {
  color: var(--text-primary);
}

header.scrolled .header-nav a:hover {
  color: var(--primary);
}

header.scrolled .header-cta {
  background: var(--primary);
  color: white;
}

header.scrolled .header-cta:hover {
  background: var(--primary-dark);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
}

header.scrolled .header-logo {
  filter: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.hamburger span {
  width: 27px;
  height: 3px;
  background: white;
  margin: 3px 0;
  transition: 0.3s;
  transform-origin: center;
}

header.scrolled .hamburger span {
  background: var(--text-primary);
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.header-nav {
  display: flex;
  gap: 32px;
}

.header-nav.mobile-open {
  display: flex;
}

.header-nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.header-nav a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.header-cta {
  background: white;
  color: var(--primary);
  padding: 10px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.3s ease;
}

.header-cta:hover {
  background: rgba(255, 255, 255, 0.9);
}

.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

/* Hero Section with gradient matching login screen */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 80px 20px 80px;
  text-align: center;
  position: relative;
  overflow: visible;
  margin-bottom: 0;
  z-index: 20;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.05);
  pointer-events: none;
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 80px 20px;
}

.hero-content > * {
  max-width: 700px;
}

/* Profession Bubbles */
.profession-bubbles {
  position: absolute;
  right: max(20px, calc((100vw - 1200px) / 2));
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 40px;
  z-index: 2;
  pointer-events: none;
}

.bubble-row {
  display: flex;
  gap: 40px;
  align-items: center;
}

.bubble-row:nth-child(2) {
  margin-left: 100px;
}

.bubble-row:nth-child(3) {
  margin-left: 50px;
  transform: translateY(80px);
}

.profession-bubbles img {
  object-fit: contain;
  transition: transform 0.3s ease;
}

.profession-bubbles img:nth-child(1) {
  width: 140px;
  height: 140px;
}

.bubble-row:nth-child(2) img {
  width: 220px;
  height: 220px;
}

.bubble-row:nth-child(3) img {
  width: 170px;
  height: 170px;
}

.profession-bubbles img:hover {
  transform: scale(1.05);
}

.logo {
  margin-bottom: 64px;
  display: inline-block;
}

.logo svg,
.logo img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1); /* Make logo white */
}

.tagline {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.0;
  letter-spacing: -1px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.subtitle {
  font-size: 1.25rem;
  margin-bottom: 40px;
  opacity: 0.95;
  font-weight: 400;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  color: #b3d1ff;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, white 0%, #e0e7ff 100%);
  color: var(--primary);
  padding: 16px 48px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 600;
  transition: all 0.3s ease;
  letter-spacing: -0.25px;
}

.cta-button:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #f0f4ff 0%, #c7d2fe 100%);
}

/* Partner Strip */
.partner-strip {
  background: linear-gradient(135deg, rgba(51, 102, 255, 0.08) 0%, rgba(51, 102, 255, 0.04) 100%);
  padding: 20px;
  border-top: 1px solid rgba(51, 102, 255, 0.1);
  border-bottom: 1px solid rgba(51, 102, 255, 0.1);
  position: relative;
  z-index: 5;
  margin-top: -1px;
}

.partner-strip-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.partner-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  letter-spacing: -0.25px;
}

.partner-divider {
  width: 1px;
  height: 40px;
  background: #cbd5e1;
  flex-shrink: 0;
}

.partner-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.partner-placeholder {
  width: 120px;
  height: 60px;
  border: 2px dashed #cbd5e1;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}

.partner-placeholder:hover {
  border-color: var(--primary);
  background: #f0f4ff;
  transform: translateY(-1px);
}

.partner-placeholder span {
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 500;
}

/* Main content */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px 60px;
}

section {
  margin-bottom: 80px;
  scroll-margin-top: 80px;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 40px;
  text-align: center;
  letter-spacing: -0.5px;
}

/* Features Grid */
.features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature {
  background: var(--surface);
  padding: 24px 32px;
  border-radius: 12px;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  border: 2px solid rgba(0, 0, 0, 0.08);
  min-height: 120px;
}

.feature:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon img {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.feature h3 {
  color: var(--text-primary);
  margin-bottom: 6px;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.25px;
}

.feature p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
  font-weight: 400;
}

/* Cloud Section */
.cloud-section {
  text-align: center;
  margin-top: 80px;
}

.cloud-section h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.cloud-section .cloud-content {
  max-width: 700px;
  margin: 0 auto;
}

.cloud-section .cloud-icon {
  margin-bottom: 24px;
}

.cloud-section .cloud-icon img {
  height: 80px;
  width: auto;
  opacity: 0.9;
}

.cloud-section p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* Two Column Sections */
.two-column-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 80px;
}

.two-column-content {
  text-align: center;
}

.two-column-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.two-column-content p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.two-column-image {
  display: flex;
  align-items: center;
}

.two-column-image img {
  height: auto;
}

/* Specific overrides */
.professions-supported-image {
  justify-content: flex-start;
}

.professions-supported-image img {
  width: 80%;
}

.personalization-image {
  justify-content: flex-end;
}

.personalization-image img {
  width: 100%;
}

.quick-login-image {
  justify-content: flex-start;
}

.quick-login-image img {
  width: 80%;
}

/* Organizations Section */
.organizations-section {
  background: white;
  padding: 80px 20px;
  text-align: center;
  margin-top: 80px;
}

.organizations-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.organizations-section .sprout-icon {
  height: 48px;
  width: auto;
}

.organizations-section .subtitle {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 24px;
  opacity: 1;
  text-align: center;
}

.org-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto 48px;
}

.org-benefit {
  text-align: center;
  padding: 24px;
}

.org-benefit-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 48px;
}

.org-benefit h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.org-benefit p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.org-cta {
  background: none;
  color: var(--text-primary);
  padding: 48px 20px;
  border-radius: 0;
  width: calc(100% + 40px);
  margin-left: -20px;
  margin-right: -20px;
  position: relative;
}

.org-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark), var(--primary-light));
  border-radius: 0;
  filter: blur(25px);
  z-index: -1;
  opacity: 0.6;
}

.org-cta h3 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.org-cta p {
  font-size: 1.125rem;
  line-height: 1.7;
  opacity: 0.95;
  margin-bottom: 32px;
  color: var(--text-primary);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.org-contact-button {
  display: inline-block;
  background: #f5f5f5;
  color: #999;
  padding: 16px 48px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 600;
  transition: all 0.3s ease;
  letter-spacing: -0.25px;
  cursor: default;
  margin-top: 20px;
}

.org-contact-button:hover {
  transform: none;
}

.waitlist-form {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin: 40px auto 0;
  max-width: 500px;
  justify-content: center;
  align-items: center;
}

.waitlist-form input {
  flex: 1;
  padding: 16px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  font-size: 1rem;
  font-family: 'Lexend', sans-serif;
  transition: border-color 0.3s ease;
}

.waitlist-form input:focus {
  outline: none;
  border-color: var(--primary);
}

.waitlist-form button {
  background: var(--primary);
  color: white;
  padding: 16px 24px;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Lexend', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: -0.25px;
  min-width: 180px;
}

.waitlist-form button:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.waitlist-form button:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

/* FAQ Section */
#faq {
  background: none;
  padding: 0;
  margin-top: 0;
}

#faq h2 {
  text-align: center;
  margin-bottom: 40px;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-container details {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  margin-bottom: 16px;
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.faq-container summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1.125rem;
  list-style: none;
  position: relative;
}

.faq-container summary::after {
  content: '+';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 300;
  transition: transform 0.3s ease;
}

.faq-container details[open] summary::after {
  content: '−';
  transform: translateY(-50%) rotate(0deg);
}

.faq-container details p {
  padding: 0 24px 24px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.faq-container details p a {
  color: var(--primary);
  text-decoration: none;
}

.faq-container details p a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background: var(--surface);
  padding: 40px 20px;
  color: var(--text-secondary);
  box-shadow: 0 -2px 8px var(--shadow);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-left {
  text-align: left;
}

.footer-right {
  text-align: right;
}

footer a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--primary);
}

/* AI Chat Widget */
.chat-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  font-family: 'Lexend', sans-serif;
}

.chat-toggle {
  width: 60px;
  height: 60px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.chat-toggle:hover {
  transform: scale(1.1);
  background: var(--primary-dark);
}

.chat-icon {
  font-size: 32px;
  color: white;
  font-variation-settings: 'FILL' 1;
}

.send-icon {
  font-variation-settings: 'FILL' 1;
}

.chat-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  height: 500px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s ease;
  pointer-events: none;
}

.chat-widget.open .chat-window {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.chat-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.ai-badge {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.chat-close {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.chat-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  background: #f8f9fa;
}

.chat-notice {
  padding: 8px 16px;
  background: #f8f9fa;
  border-top: 1px solid #dee2e6;
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-align: center;
}

.chat-notice a {
  color: var(--primary);
  text-decoration: none;
}

.chat-notice a:hover {
  text-decoration: underline;
}

.chat-message {
  margin-bottom: 12px;
  padding: 10px 14px;
  border-radius: 18px;
  max-width: 280px;
  min-width: 80px;
  width: fit-content;
  font-size: 13px;
  line-height: 1.3;
}

.chat-message p {
  margin: 0 0 0.75em 0;
}

.chat-message p:last-child {
  margin-bottom: 0;
}

.chat-message ul, .chat-message ol {
  margin: 0.5em 0;
  padding-left: 1.5em;
}

.chat-message li {
  margin-bottom: 0.25em;
}

.chat-message.ai {
  background: var(--primary);
  color: white;
  align-self: flex-start;
  border-radius: 0px 18px 18px 18px;
}

.chat-message.user {
  background: #e9ecef;
  color: var(--text-primary);
  align-self: flex-end;
  margin-left: auto;
  border-radius: 18px 0px 18px 18px;
}

.chat-message.typing {
  background: var(--primary);
  color: white;
  align-self: flex-start;
  border-radius: 0px 18px 18px 18px;
  width: fit-content;
  max-width: none;
  min-width: auto;
}

.typing-dots {
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
  padding: 3px 12px;
}

.typing-dots span {
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  animation: typingPulse 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(1) {
  animation-delay: 0s;
}

.typing-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingPulse {
  0%, 60%, 100% {
    opacity: 0.4;
  }
  30% {
    opacity: 1;
  }
}

/* Message Buttons */
.message-buttons-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  max-width: 280px;
}

.message-button-pill {
  display: inline-block;
  background: var(--primary);
  color: white;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Lexend', sans-serif;
  transition: all 0.3s ease;
  border: 2px solid var(--primary);
}

.message-button-pill:hover {
  background: white;
  color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.chat-input {
  padding: 16px;
  border-top: 1px solid #dee2e6;
  background: white;
  display: flex;
  gap: 8px;
}

.chat-input input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #dee2e6;
  border-radius: 15px;
  font-size: 14px;
  font-family: 'Lexend', sans-serif;
}

.chat-input input:focus {
  outline: none;
  border-color: var(--primary);
}

.chat-input button {
  background: var(--primary);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 15px;
  font-size: 20px;
  font-weight: 600;
  font-family: 'Lexend', sans-serif;
  cursor: pointer;
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
}

.chat-input button:hover {
  background: var(--primary-dark);
}

/* Responsive */
@media (max-width: 1100px) {
  .profession-bubbles {
    display: none;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 0;
  }
  
  header {
    height: 70px; /* Slightly smaller on mobile */
  }
  
  .header-content {
    padding: 0 16px;
  }
  
  .hamburger {
    display: flex;
  }
  
  .header-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    gap: 0;
    padding: 20px;
    box-shadow: 0 2px 8px var(--shadow);
    z-index: 999;
    border-radius: 0 0 12px 12px;
    pointer-events: none;
  }
  
  .header-nav a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
  }
  
  .header-nav a:last-child {
    border-bottom: none;
  }
  
  .header-nav .header-cta {
    background: var(--primary);
    color: white !important;
    padding: 8px 16px;
    border-radius: 50px;
    margin: 16px 0 0;
    text-align: center;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    border: none;
  }
  
  .header-nav.mobile-open {
    display: flex;
    opacity: 1;
    pointer-events: auto;
  }
  
  .header-cta {
    font-size: 0.9rem;
    padding: 10px 20px;
  }
  
  .desktop-only {
    display: none;
  }
  
  .mobile-only {
    display: block;
  }
  
  .container {
    padding-top: 70px;
  }
  
  section {
    scroll-margin-top: 70px;
  }
  
  .organizations-section {
    padding: 60px 24px;
  }
  
  .organizations-section h2 {
    font-size: 1.75rem;
    flex-direction: column;
    gap: 8px;
  }
  
  .organizations-section .sprout-icon {
    height: 40px;
  }
  
  .organizations-section .subtitle {
    font-size: 1rem;
    margin-bottom: 40px;
  }
  
  .org-benefits {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 40px;
  }
  
  .org-cta {
    padding: 32px 24px;
  }
  
  .org-cta h3 {
    font-size: 1.5rem;
  }
  
  .org-cta p {
    font-size: 1rem;
  }
  
  .waitlist-form {
    max-width: none;
    flex-direction: column;
  }
  
  .waitlist-form input {
    flex: none;
  }
  
  .waitlist-form button {
    min-width: none;
    padding: 16px 48px;
  }
  
  .cloud-section .cloud-icon img {
    height: 64px;
  }
  
  .cloud-section p {
    font-size: 1rem;
  }
  
  .partner-strip {
    padding: 16px 20px;
  }
  
  .partner-strip-content {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  
  .partner-title {
    font-size: 0.9rem;
    text-align: center;
  }
  
  .partner-divider {
    display: none;
  }
  
  .partner-logos {
    gap: 12px;
    justify-content: center;
  }
  
  .partner-placeholder {
    width: 90px;
    height: 48px;
  }
  
  .partner-placeholder span {
    font-size: 0.7rem;
  }
  
  .two-column-section {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 48px;
  }
  
  .two-column-content {
    order: 1;
  }
  
  .two-column-image {
    order: 0;
    justify-content: center;
  }
  
  .two-column-image img {
    max-width: 400px;
  }
  
  .two-column-content h2 {
    font-size: 1.75rem;
  }
  
  .two-column-content p {
    font-size: 1rem;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-content > * {
    max-width: 100%;
  }
  
  .tagline {
    font-size: 2.5rem;
    text-align: center;
  }
  
  .subtitle {
    font-size: 1.125rem;
    text-align: center;
  }
  
  .hero {
    padding: 60px 20px;
  }
  
  .features {
    grid-template-columns: 1fr;
  }
  
  .pricing {
    padding: 32px 20px;
  }
  
  .plans {
    grid-template-columns: 1fr;
  }
  
  .chat-widget {
    bottom: 16px;
    right: 16px;
  }
  
  .chat-window {
    width: calc(100vw - 32px);
    height: 400px;
    bottom: 76px;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  
  .footer-left img {
    height: 32px !important;
  }
  
  .footer-left, .footer-right {
    text-align: center;
  }
}

/* FAQ Mobile Styles */
@media (max-width: 768px) {
  #faq {
    padding: 0;
    margin-top: 0;
  }
  
  .faq-container {
    max-width: none;
  }
  
  .faq-container summary {
    padding: 16px 20px;
    font-size: 1rem;
  }
  
  .faq-container summary::after {
    right: 20px;
  }
  
  .faq-container details p {
    padding: 0 20px 20px;
    font-size: 0.95rem;
  }
}

/* Page-specific container styles */
.page-contact .container,
.page-terms .container,
.page-privacy .container {
  max-width: 800px;
  margin: 140px auto 60px;
  padding: 0 20px;
}

/* Override header scroll behavior for non-index pages */
.page-contact header,
.page-terms header,
.page-privacy header {
  background: var(--primary);
}

.page-contact header.scrolled,
.page-terms header.scrolled,
.page-privacy header.scrolled {
  background: var(--primary);
  backdrop-filter: none;
  border-bottom: none;
  box-shadow: none;
}

.page-contact header.scrolled .header-nav a,
.page-terms header.scrolled .header-nav a,
.page-privacy header.scrolled .header-nav a {
  color: white;
}

.page-contact header.scrolled .header-nav a:hover,
.page-terms header.scrolled .header-nav a:hover,
.page-privacy header.scrolled .header-nav a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.page-contact header.scrolled .header-cta,
.page-terms header.scrolled .header-cta,
.page-privacy header.scrolled .header-cta {
  background: white;
  color: var(--primary);
}

.page-contact header.scrolled .header-cta:hover,
.page-terms header.scrolled .header-cta:hover,
.page-privacy header.scrolled .header-cta:hover {
  background: rgba(255, 255, 255, 0.9);
}

.page-contact header.scrolled .header-logo,
.page-terms header.scrolled .header-logo,
.page-privacy header.scrolled .header-logo {
  filter: brightness(0) invert(1);
}

.page-contact header.scrolled .hamburger span,
.page-terms header.scrolled .hamburger span,
.page-privacy header.scrolled .hamburger span {
  background: white;
}

/* Left-align content section headers */
.content-section h2 {
  text-align: left;
}
.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.page-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

/* Contact Card */
.contact-card {
  background: var(--surface);
  padding: 48px;
  border-radius: 12px;
  box-shadow: 0 2px 8px var(--shadow);
  margin-bottom: 32px;
}

.contact-section {
  margin-bottom: 40px;
}

.contact-section:last-child {
  margin-bottom: 0;
}

.contact-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: -0.25px;
}

.contact-section p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--background);
  border-radius: 8px;
  margin-top: 16px;
}

.contact-icon {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.contact-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.125rem;
  transition: opacity 0.3s ease;
}

.contact-link:hover {
  opacity: 0.7;
}

/* Info Box */
.info-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 32px;
  border-radius: 12px;
  margin-top: 32px;
}

.info-box h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.info-box p {
  opacity: 0.95;
  line-height: 1.7;
}

/* Terms/Privacy Page Styles */
.content-card {
  background: var(--surface);
  padding: 48px;
  border-radius: 12px;
  box-shadow: 0 2px 8px var(--shadow);
  margin-bottom: 32px;
}

.content-section {
  margin-bottom: 40px;
}

.content-section:last-child {
  margin-bottom: 0;
}

.content-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: -0.25px;
}

.content-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  margin-top: 24px;
}

.content-section p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

.content-section ul {
  margin: 16px 0;
  padding-left: 24px;
}

.content-section li {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 8px;
}

/* Highlight Box */
.highlight-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 24px;
  border-radius: 8px;
  margin: 24px 0;
}

.highlight-box h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.highlight-box p {
  opacity: 0.95;
  color: white;
}

/* Last Updated */
.last-updated {
  background: var(--background);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-top: 32px;
}

/* Responsive for Contact */
@media (max-width: 768px) {
  .container {
    margin-top: 100px;
    padding: 0 16px;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .page-subtitle {
    font-size: 1rem;
  }
  
  .contact-card {
    padding: 32px 24px;
  }
  
  .container {
    margin-top: 100px;
    margin-bottom: 40px;
  }
}

/* Responsive for Terms/Privacy */
@media (max-width: 768px) {
  .content-card {
    padding: 32px 24px;
  }
  
  .content-section h2 {
    font-size: 1.25rem;
  }
  
  .content-section h3 {
    font-size: 1.125rem;
  }
  
  .content-section p {
    font-size: 0.95rem;
  }
  
  .content-section ul {
    padding-left: 20px;
  }
  
  .content-section li {
    font-size: 0.95rem;
  }
  
  .highlight-box {
    padding: 20px;
  }
  
  .highlight-box h4 {
    font-size: 1rem;
  }
  
  .last-updated {
    padding: 16px;
    font-size: 0.8rem;
  }
}