/* CRM for NFP Website Styles */
/* Premium Microsoft-native SaaS Design */

/* Import Inter font for premium typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand Colors - Premium Mayasoft/MACS palette */
  --primary-navy: #1e3a8a;
  --primary-navy-dark: #0d3a66;
  --primary-blue: #3b82f6;
  --secondary-teal: #10b981;
  --secondary-teal-dark: #059669;
  --accent-light: #60a5fa;
  --accent-purple: #8b5cf6;
  --neutral-white: #ffffff;
  --neutral-light-grey: #f8fafc;
  --neutral-medium-grey: #e2e8f0;
  --neutral-dark-grey: #475569;
  --text-primary: #0f172a;
  --text-secondary: #64748b;
  --spacing-unit: 1rem;

  /* Premium Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-dark) 100%);
  --gradient-hero: linear-gradient(135deg, #1e3a8a 0%, #0d3a66 50%, #1a365d 100%);
  --gradient-accent: linear-gradient(135deg, var(--secondary-teal) 0%, var(--secondary-teal-dark) 100%);
  --gradient-subtle: linear-gradient(180deg, rgba(96, 165, 250, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--neutral-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Premium Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1.25rem;
  color: var(--primary-navy);
  letter-spacing: -0.02em;
}

h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
}

h2 {
  font-size: 2.25rem;
  font-weight: 700;
}

h3 {
  font-size: 1.75rem;
  font-weight: 600;
}

h4 {
  font-size: 1.375rem;
  font-weight: 600;
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.text-large {
  font-size: 1.25rem;
  line-height: 1.8;
}

.text-small {
  font-size: 0.9375rem;
}

a {
  color: var(--secondary-teal);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Navigation */
.site-header {
  background-color: var(--neutral-white);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo img {
  height: 50px;
  width: auto;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.main-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.main-nav > ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.main-nav a {
  color: var(--text-primary);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.main-nav a:hover {
  color: var(--secondary-teal);
}

/* Dropdown Navigation */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a::after {
  content: ' ▾';
  font-size: 0.8rem;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--neutral-white);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border-radius: 4px;
  min-width: 240px;
  padding: 0.5rem 0;
  padding-top: 1rem;
}

/* Invisible bridge to prevent dropdown from closing when moving mouse */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -0.5rem;
  left: 0;
  right: 0;
  height: 0.5rem;
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--text-primary);
}

.dropdown-menu a:hover {
  background-color: var(--neutral-light-grey);
  color: var(--secondary-teal);
}

/* Mobile Navigation Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-navy);
}

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

.section {
  padding: 4rem 0;
}

.section-alt {
  background-color: var(--neutral-light-grey);
}

/* Hero Section */
.hero {
  background: var(--gradient-hero);
  color: var(--neutral-white);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(96, 165, 250, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: var(--neutral-white);
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero p {
  font-size: 1.375rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 800px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Premium Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 2px solid transparent;
  font-size: 1.0625rem;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--neutral-white);
  border-color: transparent;
}

.btn-primary:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  color: var(--neutral-white);
}

.btn-secondary {
  background-color: transparent;
  color: var(--neutral-white);
  border-color: var(--neutral-white);
}

.btn-secondary:hover {
  background-color: var(--neutral-white);
  color: var(--primary-navy);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--secondary-teal);
  border-color: var(--secondary-teal);
}

.btn-outline:hover {
  background-color: var(--secondary-teal);
  color: var(--neutral-white);
  box-shadow: var(--shadow-md);
}

.btn-large {
  padding: 1.25rem 3rem;
  font-size: 1.125rem;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: var(--neutral-white);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.card h3 {
  margin-bottom: 1rem;
  color: var(--primary-navy);
}

.card p {
  color: var(--text-secondary);
  margin-bottom: 0;
}

.card-icon {
  width: 48px;
  height: 48px;
  background-color: var(--neutral-light-grey);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--secondary-teal);
  font-size: 1.5rem;
}

/* Module Tiles */
.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.module-tile {
  background: var(--neutral-white);
  border-radius: 8px;
  padding: 1.5rem;
  border-left: 4px solid var(--secondary-teal);
  transition: all 0.3s ease;
  cursor: pointer;
}

.module-tile:hover {
  border-left-color: var(--accent-light);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.module-tile h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.module-tile p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Feature Lists */
.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  padding: 0.75rem 0;
  padding-left: 2rem;
  position: relative;
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary-teal);
  font-weight: bold;
}

/* FAQ Section */
.faq-section {
  margin-top: 3rem;
}

.faq-item {
  background: var(--neutral-white);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border: 1px solid var(--neutral-medium-grey);
}

.faq-item h4 {
  color: var(--primary-navy);
  margin-bottom: 0.75rem;
}

.faq-item p {
  margin-bottom: 0;
}

/* Workflow/Process */
.workflow {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.workflow-step {
  flex: 1;
  min-width: 120px;
  text-align: center;
  padding: 1rem;
  background: var(--neutral-light-grey);
  border-radius: 8px;
}

.workflow-arrow {
  color: var(--secondary-teal);
  font-size: 1.5rem;
}

/* CTA Band */
.cta-band {
  background: var(--gradient-primary);
  color: var(--neutral-white);
  padding: 5rem 2rem;
  text-align: center;
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 30% 50%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  color: var(--neutral-white);
  margin-bottom: 1.5rem;
  font-size: 2.25rem;
  font-weight: 700;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--neutral-medium-grey);
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--secondary-teal);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* Footer */
.site-footer {
  background-color: var(--primary-navy);
  color: var(--neutral-white);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--neutral-white);
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-section a:hover {
  color: var(--neutral-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 1rem 0;
  font-size: 0.9rem;
}

.breadcrumbs a {
  color: var(--text-secondary);
}

.breadcrumbs a:hover {
  color: var(--secondary-teal);
}

.breadcrumbs span {
  margin: 0 0.5rem;
  color: var(--neutral-dark-grey);
}

/* Audience Strip */
.audience-strip {
  background-color: var(--neutral-light-grey);
  padding: 2rem 0;
  text-align: center;
}

.audience-strip p {
  font-size: 1.125rem;
  color: var(--text-primary);
  max-width: 900px;
  margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .nav-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 2rem;
    top: 1.25rem;
  }

  .main-nav {
    display: none;
    width: 100%;
    margin-top: 1rem;
  }

  .main-nav.active {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav > ul {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .main-nav li {
    width: 100%;
    border-top: 1px solid var(--neutral-medium-grey);
  }

  .main-nav a {
    display: block;
    padding: 1rem 0;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    margin-top: 0;
    padding-left: 1rem;
  }

  .card-grid,
  .module-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .section {
    padding: 3rem 0;
  }

  .workflow {
    flex-direction: column;
  }

  .workflow-arrow {
    transform: rotate(90deg);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero {
    padding: 3rem 0;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }
}

/* Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--secondary-teal);
  color: var(--neutral-white);
  padding: 8px;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

/* Modern B2B SaaS Homepage Styles */

/* Hero updates */
.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 700px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
}

/* Value Props Section */
.value-props {
  background-color: var(--neutral-white);
  padding: 4rem 0;
  border-bottom: 1px solid var(--neutral-medium-grey);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
}

.value-card {
  text-align: center;
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--primary-navy);
}

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

/* Audience Section */
.audience-section {
  background-color: var(--neutral-light-grey);
  padding: 4rem 0;
}

.audience-section h2 {
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 1.75rem;
}

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

.audience-card {
  background-color: var(--neutral-white);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  border: 1px solid var(--neutral-medium-grey);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.audience-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.audience-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--primary-navy);
}

.audience-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

/* How It Works Section */
.how-it-works {
  background-color: var(--neutral-white);
  padding: 5rem 0;
}

.how-it-works h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2rem;
}

.workflow-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.workflow-step {
  flex: 1;
  min-width: 220px;
  max-width: 280px;
  text-align: center;
}

.workflow-number {
  width: 40px;
  height: 40px;
  background-color: var(--secondary-teal);
  color: var(--neutral-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 auto 1rem;
}

.workflow-visual-placeholder {
  background-color: var(--neutral-light-grey);
  border: 2px dashed var(--neutral-medium-grey);
  border-radius: 8px;
  padding: 3rem 1rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.workflow-visual-mock {
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.workflow-visual-mock img {
  width: 100%;
  height: auto;
  display: block;
}

.workflow-step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--primary-navy);
}

.workflow-step p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin: 0;
}

.workflow-arrow {
  font-size: 2rem;
  color: var(--secondary-teal);
  font-weight: 300;
}

/* Module Snapshot Section */
.modules-snapshot {
  background-color: var(--neutral-light-grey);
  padding: 5rem 0;
}

.modules-snapshot h2 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 2rem;
}

.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.module-card {
  background-color: var(--neutral-white);
  border-radius: 8px;
  padding: 2rem;
  text-decoration: none;
  border: 1px solid var(--neutral-medium-grey);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: block;
}

.module-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  border-color: var(--secondary-teal);
}

.module-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.module-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary-navy);
}

.module-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

/* Trusted Tech Section */
.trusted-tech {
  background-color: var(--neutral-white);
  padding: 5rem 0;
}

.trusted-tech h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2rem;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.tech-card {
  background-color: var(--neutral-light-grey);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
}

.tech-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--secondary-teal);
  display: flex;
  justify-content: center;
  align-items: center;
}

.tech-icon img {
  max-width: 64px;
  height: auto;
}

.tech-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary-navy);
}

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

.cta-row {
  text-align: center;
  margin-top: 2.5rem;
}

/* Governance Section */
.governance-section {
  background-color: var(--neutral-light-grey);
  padding: 5rem 0;
}

.governance-section h2 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 2rem;
}

.governance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.governance-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

.governance-icon {
  font-size: 2rem;
}

.governance-item span {
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 500;
}

/* Trust Signals Section */
.trust-signals {
  background-color: var(--neutral-white);
  padding: 5rem 0;
}

.trust-signals h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.trust-badge {
  text-align: center;
}

.trust-icon {
  margin-bottom: 1rem;
  color: var(--secondary-teal);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 96px;
}

.trust-icon img {
  max-width: 96px;
  height: auto;
}

.trust-checkmark {
  font-size: 6rem;
  font-weight: 700;
  color: var(--secondary-teal);
  line-height: 1;
}

.trust-badge p {
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 500;
  margin: 0;
}

.trust-statement {
  text-align: center;
  max-width: 800px;
  margin: 2.5rem auto 0;
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Final CTA Section */
.final-cta {
  background: linear-gradient(135deg, var(--primary-navy) 0%, #0d3a66 100%);
  color: var(--neutral-white);
  padding: 5rem 0;
  text-align: center;
}

.final-cta h2 {
  color: var(--neutral-white);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.final-cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Security section grid */
.security-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
}

.security-grid img {
  width: 100%;
  height: auto;
  min-height: 500px;
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
  .workflow-visual {
    flex-direction: column;
  }

  .workflow-arrow {
    transform: rotate(90deg);
  }

  .value-grid,
  .audience-grid,
  .tech-grid,
  .governance-grid,
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .workflow-step {
    max-width: 100%;
  }

  .security-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .security-grid img {
    min-height: auto;
    max-width: 100%;
  }
}

/* ========================================
   PREMIUM COMPONENTS
   ======================================== */

/* Trust Strip (site-wide conversion element) */
.trust-strip {
  background-color: var(--neutral-light-grey);
  padding: 1rem 0;
  border-top: 1px solid var(--neutral-medium-grey);
  border-bottom: 1px solid var(--neutral-medium-grey);
}

.trust-strip-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.trust-strip-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-strip-item::before {
  content: '✓';
  color: var(--secondary-teal);
  font-weight: 700;
  font-size: 1.125rem;
}

/* Premium Hero with Pattern Background */
.hero-pattern {
  position: relative;
  overflow: hidden;
}

.hero-pattern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(96, 165, 250, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

/* Icon System (simple line icons using text) */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--secondary-teal);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.icon-lg {
  width: 4rem;
  height: 4rem;
  font-size: 2rem;
}

.icon-sm {
  width: 2rem;
  height: 2rem;
  font-size: 1rem;
}

/* Enhanced Card with Icon */
.card-with-icon {
  background: var(--neutral-white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--neutral-medium-grey);
}

.card-with-icon:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--secondary-teal);
}

/* CTA Band Mid-Page */
.cta-band-mid {
  background: var(--gradient-subtle);
  padding: 3rem 2rem;
  margin: 4rem 0;
  border-radius: 12px;
  text-align: center;
}

.cta-band-mid h3 {
  color: var(--primary-navy);
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.cta-band-mid p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Segmentation Tiles (Who it's for) */
.segmentation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.segment-tile {
  background: var(--neutral-white);
  border: 2px solid var(--neutral-medium-grey);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.segment-tile:hover {
  border-color: var(--secondary-teal);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.segment-tile h3 {
  color: var(--primary-navy);
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.segment-tile p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 0.9375rem;
}

/* FAQ Accordion */
.faq-accordion {
  max-width: 900px;
  margin: 2rem auto;
}

.faq-accordion-item {
  background: var(--neutral-white);
  border: 1px solid var(--neutral-medium-grey);
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-accordion-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--secondary-teal);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--secondary-teal);
  transition: transform 0.3s ease;
}

.faq-question.active::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.5rem;
}

.faq-answer.active {
  max-height: 500px;
  padding: 0 1.5rem 1.25rem 1.5rem;
}

.faq-answer p {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* Related Modules Section */
.related-modules {
  background-color: var(--neutral-light-grey);
  padding: 3rem 2rem;
  margin-top: 4rem;
  border-radius: 12px;
}

.related-modules h3 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary-navy);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.related-card {
  background: var(--neutral-white);
  border-radius: 8px;
  padding: 1.5rem;
  text-decoration: none;
  border: 1px solid var(--neutral-medium-grey);
  transition: all 0.2s ease;
  display: block;
}

.related-card:hover {
  border-color: var(--secondary-teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.related-card h4 {
  color: var(--primary-navy);
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.related-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin: 0;
}

/* Narrative Section (storytelling blocks) */
.narrative-section {
  max-width: 800px;
  margin: 3rem auto;
  padding: 0 2rem;
}

.narrative-section h2 {
  margin-bottom: 1.5rem;
}

.narrative-section p {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.narrative-highlight {
  background: var(--gradient-subtle);
  border-left: 4px solid var(--secondary-teal);
  padding: 1.5rem;
  border-radius: 8px;
  margin: 2rem 0;
}

.narrative-highlight p {
  margin-bottom: 0;
  color: var(--text-primary);
  font-size: 1.125rem;
  font-style: italic;
}

/* Outcome Cards */
.outcome-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.outcome-card {
  background: var(--neutral-white);
  border-radius: 12px;
  padding: 2rem;
  border-left: 4px solid var(--secondary-teal);
  box-shadow: var(--shadow-sm);
}

.outcome-card h4 {
  color: var(--primary-navy);
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.outcome-card p {
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.7;
}

/* What You'll See in Demo Section */
.demo-preview {
  background: var(--neutral-light-grey);
  padding: 4rem 2rem;
  margin: 4rem 0;
  border-radius: 12px;
}

.demo-preview h3 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary-navy);
}

.demo-feature-list {
  max-width: 700px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}

.demo-feature-list li {
  padding: 1rem 0;
  padding-left: 2.5rem;
  position: relative;
  font-size: 1.0625rem;
  color: var(--text-primary);
  border-bottom: 1px solid var(--neutral-medium-grey);
}

.demo-feature-list li:last-child {
  border-bottom: none;
}

.demo-feature-list li::before {
  content: '▶';
  position: absolute;
  left: 0;
  color: var(--secondary-teal);
  font-size: 0.875rem;
}

/* Contact Form Premium Styles */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-title {
  text-align: center;
  color: var(--primary-navy);
  margin-bottom: 2rem;
}

.form-control,
.form-select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--neutral-medium-grey);
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s ease;
  background-color: var(--neutral-white);
}

.form-control:focus,
.form-select:focus {
  outline: none;
  border-color: var(--secondary-teal);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.form-check-input {
  margin-top: 0.25rem;
  width: 1.25rem;
  height: 1.25rem;
  cursor: pointer;
}

.form-check-label {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.form-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--neutral-medium-grey);
}

.text-muted {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.text-center {
  text-align: center;
}

.mb-4 {
  margin-bottom: 2rem;
}

/* Article Styles (for Resources page) */
.article-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.article-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--neutral-medium-grey);
}

.article-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-top: 1rem;
}

.article-tldr {
  background: var(--gradient-subtle);
  border-left: 4px solid var(--secondary-teal);
  padding: 1.5rem;
  border-radius: 8px;
  margin: 2rem 0;
}

.article-tldr h4 {
  color: var(--primary-navy);
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.article-tldr ul {
  margin: 0;
  padding-left: 1.5rem;
}

.article-tldr li {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.article-content {
  font-size: 1.0625rem;
  line-height: 1.8;
}

.article-content h2 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  font-size: 1.875rem;
}

.article-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.article-content ul,
.article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.article-content li {
  margin-bottom: 0.75rem;
  line-height: 1.8;
}

.article-cta {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--gradient-subtle);
  border-radius: 12px;
  text-align: center;
}

/* ========================================
   ANIMATIONS & MICRO-INTERACTIONS
   ======================================== */

/* Scroll reveal animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Reveal elements on scroll */
.reveal {
  opacity: 0;
  animation: fadeInUp 450ms ease-out forwards;
}

.reveal-fade {
  opacity: 0;
  animation: fadeIn 400ms ease-out forwards;
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  animation: fadeInUp 450ms ease-out forwards;
}

.stagger-children > *:nth-child(1) { animation-delay: 0ms; }
.stagger-children > *:nth-child(2) { animation-delay: 80ms; }
.stagger-children > *:nth-child(3) { animation-delay: 160ms; }
.stagger-children > *:nth-child(4) { animation-delay: 240ms; }
.stagger-children > *:nth-child(5) { animation-delay: 320ms; }
.stagger-children > *:nth-child(6) { animation-delay: 400ms; }
.stagger-children > *:nth-child(7) { animation-delay: 480ms; }
.stagger-children > *:nth-child(8) { animation-delay: 560ms; }
.stagger-children > *:nth-child(9) { animation-delay: 640ms; }

/* Hover lift effect */
.hover-lift {
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1),
              border-color 250ms ease;
}

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

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .reveal-fade,
  .stagger-children > * {
    opacity: 1;
    animation: none;
  }

  .hover-lift:hover {
    transform: none;
  }
}

/* Pulse animation for attention */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Device frame for UI mocks */
.device-frame {
  background: var(--neutral-white);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--neutral-medium-grey);
  position: relative;
  overflow: hidden;
}

.device-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 32px;
  background: var(--neutral-light-grey);
  border-bottom: 1px solid var(--neutral-medium-grey);
}

.device-frame-content {
  margin-top: 32px;
  border-radius: 8px;
  overflow: hidden;
}

/* Callout highlights on images */
.callout-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--secondary-teal);
  border: 3px solid var(--neutral-white);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  animation: pulse 2s infinite;
}

.callout-line {
  position: absolute;
  height: 2px;
  background: var(--secondary-teal);
  opacity: 0.6;
}

.callout-label {
  position: absolute;
  background: var(--neutral-white);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-navy);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--neutral-medium-grey);
}

/* Print Styles */
@media print {
  .site-header,
  .site-footer,
  .cta-band,
  .cta-band-mid,
  .final-cta,
  .btn,
  .trust-strip {
    display: none;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
  }

  h1 { font-size: 24pt; }
  h2 { font-size: 20pt; }
  h3 { font-size: 16pt; }
}
