/* OLAS Website Styles - Premium & Calming */

:root {
  --bg: #f8fafc;
  --panel: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --muted2: #94a3b8;
  --border: rgba(15, 23, 42, .08);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, .04);
  --shadow: 0 8px 24px rgba(15, 23, 42, .08);
  --shadow-lg: 0 20px 60px rgba(15, 23, 42, .12);
  --brand: #3b82f6;
  --brand-dark: #2563eb;
  --brand2: #10b981;
  --brand3: #8b5cf6;
  --soft-blue: #eff6ff;
  --soft-green: #f0fdf4;
  --soft-purple: #f5f3ff;
  --soft-orange: #fff7ed;
  --soft-teal: #f0fdfa;
  --soft-red: #fef2f2;
  --soft-indigo: #eef2ff;
  --radius: 16px;
  --radius-lg: 24px;
  --max: 1200px;
  --spacing: 80px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin: 0;
}

h2 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.8px;
  margin: 0;
}

h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
}

.logo {
  height: 64px;
  width: auto;
  border-radius: 6px;
  object-fit: contain;
}

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

.nav a {
  color: var(--muted);
  font-weight: 500;
  font-size: 15px;
  padding: 8px 16px;
  border-radius: 10px;
}

.nav a:hover,
.nav a.active {
  background: var(--soft-blue);
  color: var(--brand);
}

/* Mobile Menu */
.nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  position: relative;
  transition: background 0.3s;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  bottom: -8px;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger::before {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger::after {
  transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 999;
}

.mobile-menu-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: white;
  padding: 80px 24px 24px;
  transition: right 0.3s;
  z-index: 1000;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
  right: 0;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav a {
  color: var(--muted);
  font-weight: 500;
  font-size: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  transition: all 0.2s;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  background: var(--soft-blue);
  color: var(--brand);
}

.mobile-nav .btn {
  margin-top: 16px;
  width: 100%;
  justify-content: center;
}

/* Buttons */
.btn,
.btn-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: white;
  font-weight: 600;
  color: var(--text);
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn {
  padding: 10px 20px;
  font-size: 15px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
}

.btn:hover,
.btn-lg:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn.primary,
.btn-lg.primary {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
}

.btn.primary:hover,
.btn-lg.primary:hover {
  background: var(--brand-dark);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.25);
}

.btn.ghost,
.btn-lg.ghost {
  background: transparent;
  border-color: var(--border);
}

/* Hero Modern */
.hero-modern {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: var(--spacing) 0;
}

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

.badge-lg {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--soft-blue);
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--muted);
  margin: 24px 0 0;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Trust Badges */
.trust-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--soft-green);
  color: var(--brand2);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

/* Stats Section */
.stats-section {
  padding: 60px 0;
  background: white;
  margin: 0 -24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

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

.stat-num {
  font-size: 48px;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
}

.stat-label {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}

/* Sections */
.value-section,
.journey-preview,
.app-showcase,
.pilot-section,
.nhs-integration,
.safety-section {
  padding: var(--spacing) 0;
}

.section-title {
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  font-size: 18px;
  color: var(--muted);
  margin: 0;
}

.section-header-centered {
  text-align: center;
  margin-bottom: 48px;
}

.cta-center {
  text-align: center;
  margin-top: 40px;
}

/* Value Grid */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.value-card {
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: white;
  transition: all 0.3s ease;
}

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

.value-card.blue {
  background: linear-gradient(135deg, var(--soft-blue) 0%, white 100%);
}

.value-card.green {
  background: linear-gradient(135deg, var(--soft-green) 0%, white 100%);
}

.value-card.purple {
  background: linear-gradient(135deg, var(--soft-purple) 0%, white 100%);
}

.value-icon {
  font-size: 40px;
  margin-bottom: 20px;
}

.value-card h3 {
  margin-bottom: 12px;
}

.value-card p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* Journey Cards */
.journey-header {
  text-align: center;
  margin-bottom: 48px;
}

.journey-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.journey-card {
  padding: 28px 20px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: all 0.3s ease;
}

.journey-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow);
}

.journey-number {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  background: var(--soft-blue);
  color: var(--brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}

.journey-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.journey-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.journey-cta {
  text-align: center;
  margin-top: 48px;
}

/* App Showcase */
.app-showcase {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
  background: linear-gradient(135deg, var(--soft-blue) 0%, white 100%);
  padding: var(--spacing);
  border-radius: var(--radius-lg);
  max-width: var(--max);
  margin: 0 auto;
}

.app-content h2 {
  margin-bottom: 24px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  padding: 12px 0;
  padding-left: 32px;
  position: relative;
  color: var(--muted);
  font-size: 16px;
}

.feature-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand2);
  font-weight: 700;
  font-size: 18px;
}

.app-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.app-image img {
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: contain;
}

/* Pilot Section */
.pilot-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 48px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.pilot-card h2 {
  margin-bottom: 16px;
}

.pilot-desc {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 40px;
}

.pilot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.pilot-point {
  padding: 24px 16px;
  background: var(--soft-blue);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pilot-point strong {
  color: var(--brand);
  font-size: 15px;
}

.pilot-point span {
  color: var(--muted);
  font-size: 14px;
}

.pilot-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.pilot-note {
  font-size: 14px;
  color: var(--muted2);
  margin: 0;
}

/* Footer */
footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--border);
  margin-top: var(--spacing);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo {
  height: 56px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.footer-brand p {
  color: var(--muted);
  margin: 0;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text);
}

.footer-col a {
  display: block;
  padding: 6px 0;
  color: var(--muted);
  font-size: 15px;
}

.footer-col a:hover {
  color: var(--brand);
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  color: var(--muted2);
  font-size: 14px;
}

/* Features Page */
.features-hero {
  text-align: center;
  padding: var(--spacing) 0 60px;
}

.features-hero h1 {
  margin-bottom: 20px;
}

.features-grid {
  display: grid;
  gap: 48px;
  padding-bottom: var(--spacing);
}

.feature-detail {
  padding: 48px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.feature-detail.blue {
  border-left: 4px solid var(--brand);
  background: linear-gradient(to right, var(--soft-blue), white 30%);
}

.feature-detail.green {
  border-left: 4px solid var(--brand2);
  background: linear-gradient(to right, var(--soft-green), white 30%);
}

.feature-detail.purple {
  border-left: 4px solid var(--brand3);
  background: linear-gradient(to right, var(--soft-purple), white 30%);
}

.feature-detail.orange {
  border-left: 4px solid #f97316;
  background: linear-gradient(to right, var(--soft-orange), white 30%);
}

.feature-detail.teal {
  border-left: 4px solid #14b8a6;
  background: linear-gradient(to right, var(--soft-teal), white 30%);
}

.feature-detail.red {
  border-left: 4px solid #ef4444;
  background: linear-gradient(to right, var(--soft-red), white 30%);
}

.feature-detail.indigo {
  border-left: 4px solid #6366f1;
  background: linear-gradient(to right, var(--soft-indigo), white 30%);
}

.feature-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.feature-detail h2 {
  margin-bottom: 16px;
}

.feature-intro {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 32px;
  line-height: 1.6;
}

.feature-points {
  display: grid;
  gap: 20px;
}

.point {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: start;
}

.point-icon {
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.point-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.point-content strong {
  font-size: 16px;
  color: var(--text);
}

.point-content span {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}

.features-cta {
  text-align: center;
  padding: var(--spacing) 0;
}

.features-cta h2 {
  margin-bottom: 12px;
}

.features-cta p {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 32px;
}

/* About Page */
.about-hero {
  text-align: center;
  padding: var(--spacing) 0 40px;
}

.about-hero h1 {
  margin-bottom: 20px;
}

.mission-section {
  padding: 60px 0;
}

.mission-card {
  max-width: 700px;
  margin: 0 auto;
  padding: 48px;
  background: linear-gradient(135deg, var(--soft-blue), white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow);
}

.mission-icon {
  font-size: 56px;
  margin-bottom: 24px;
}

.mission-card h2 {
  margin-bottom: 20px;
}

.mission-statement {
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  margin: 0;
}

.founder-section {
  padding: var(--spacing) 0;
}

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

.founder-content h2 {
  margin-bottom: 8px;
}

.founder-title {
  font-size: 18px;
  color: var(--brand);
  font-weight: 600;
  margin: 0 0 32px;
}

.founder-story p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0 0 20px;
}

.founder-values {
  margin-top: 48px;
  padding: 40px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.founder-values h3 {
  font-size: 20px;
  margin-bottom: 24px;
}

.values-grid {
  display: grid;
  gap: 20px;
}

.value-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  background: var(--soft-blue);
  border-radius: var(--radius);
}

.value-item strong {
  font-size: 16px;
  color: var(--text);
}

.value-item span {
  font-size: 14px;
  color: var(--muted);
}

.founder-note {
  margin-top: 32px;
  padding: 24px;
  background: var(--soft-teal);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
}

.founder-note p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
}

.founder-note p + p {
  margin-top: 12px;
}

.founder-signature {
  font-weight: 600;
  font-style: normal !important;
  color: var(--teal);
}

.why-now {
  padding: var(--spacing) 0;
  text-align: center;
}

.why-now h2 {
  margin-bottom: 40px;
}

.stats-inline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.stat-inline {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-inline strong {
  font-size: 32px;
  font-weight: 800;
  color: var(--brand);
}

.stat-inline span {
  font-size: 14px;
  color: var(--muted);
}

.why-now-text {
  max-width: 700px;
  margin: 0 auto;
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
}

.principles-section {
  padding: var(--spacing) 0;
}

.principles-section h2 {
  text-align: center;
  margin-bottom: 48px;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.principle {
  padding: 32px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.principle h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.principle p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.about-cta {
  text-align: center;
  padding: var(--spacing) 0;
}

.about-cta h2 {
  margin-bottom: 12px;
}

.about-cta p {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 32px;
}

/* Responsive */
@media (max-width: 1024px) {
  :root {
    --spacing: 60px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 32px;
  }

  .hero-modern,
  .app-showcase {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stats-grid,
  .value-grid,
  .integration-grid,
  .safety-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .principles-grid,
  .stats-inline {
    grid-template-columns: 1fr;
  }
}

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

  .nav-actions .btn {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  h1 {
    font-size: 36px;
  }

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

  .feature-detail {
    padding: 32px 24px;
  }

  .journey-cards-extended {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }

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

  .integration-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .integration-card {
    padding: 24px 20px;
  }

  .journey-card-small {
    padding: 16px 12px;
  }

  .journey-card-small h4 {
    font-size: 12px;
  }

  .timeline-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
  .journey-cards-extended {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px;
  }

  .journey-card-small {
    padding: 12px 8px;
  }

  .journey-card-small h4 {
    font-size: 11px;
  }

  .journey-number-small {
    width: 28px;
    height: 28px;
    font-size: 12px;
    margin-bottom: 8px;
  }
}

/* NHS Integration Section */
.nhs-integration {
  background: linear-gradient(135deg, var(--soft-blue), white);
  padding: var(--spacing) 24px;
  border-radius: var(--radius-lg);
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.integration-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.integration-card {
  padding: 32px 24px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: all 0.3s ease;
}

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

.integration-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.integration-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.integration-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* Clinical Safety Section */
.safety-section {
  max-width: 900px;
  margin: 0 auto;
}

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

.safety-badge {
  display: inline-block;
  padding: 8px 16px;
  background: var(--soft-green);
  color: var(--brand2);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.safety-content h2 {
  margin-bottom: 20px;
}

.safety-intro {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 40px;
}

.safety-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: left;
  margin-bottom: 40px;
}

.safety-feature {
  padding: 24px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.safety-feature h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.safety-feature p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* Extended Journey Cards */
.journey-cards-extended {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.journey-card-small {
  padding: 20px 16px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: all 0.3s ease;
}

.journey-card-small:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
}

.journey-number-small {
  width: 32px;
  height: 32px;
  margin: 0 auto 12px;
  background: var(--soft-blue);
  color: var(--brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.journey-card-small h4 {
  font-size: 13px;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}

.journey-details {
  max-width: 800px;
  margin: 0 auto 32px;
  text-align: center;
}

.journey-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* Timeline Section */
.timeline-section {
  margin: 40px 0;
  text-align: left;
}

.timeline-section h3 {
  font-size: 20px;
  margin-bottom: 24px;
  text-align: center;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  background: var(--soft-blue);
  border-radius: var(--radius);
  border-left: 4px solid var(--brand);
}

.timeline-item strong {
  font-size: 15px;
  color: var(--brand);
  min-width: 100px;
}

.timeline-item span {
  font-size: 15px;
  color: var(--muted);
}

/* ========================================
   Page Layouts (Security & NHS Integration)
   ======================================== */

.page-hero {
  text-align: center;
  padding: 80px 0 60px;
  max-width: 800px;
  margin: 0 auto;
}

.page-hero h1 {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.page-hero .hero-subtitle {
  font-size: 20px;
  color: var(--muted);
  line-height: 1.6;
}

.content-section {
  padding: 40px 0;
}

.content-box {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.intro-text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text);
  margin: 0;
}

/* Compliance Section */
.compliance-section {
  padding: 60px 0;
}

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.compliance-card {
  padding: 32px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.compliance-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.compliance-card h3 {
  font-size: 22px;
  margin-bottom: 16px;
}

.compliance-card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 20px;
}

.compliance-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.compliance-list li {
  padding: 10px 0;
  padding-left: 28px;
  position: relative;
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
}

.compliance-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

/* Security Technical Section */
.security-tech-section {
  padding: 60px 0;
  background: var(--soft-blue);
  margin: 60px -20px;
  padding-left: 20px;
  padding-right: 20px;
}

.security-features {
  display: grid;
  gap: 24px;
  max-width: 900px;
  margin: 40px auto 0;
}

.security-feature {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.feature-icon-lg {
  font-size: 36px;
  flex-shrink: 0;
}

.feature-content h3 {
  font-size: 18px;
  margin: 0 0 12px 0;
}

.feature-content p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

/* Governance Section */
.governance-section {
  padding: 60px 0;
}

.governance-content {
  max-width: 900px;
  margin: 0 auto;
}

.governance-intro {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text);
  text-align: center;
  margin-bottom: 40px;
}

.governance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.governance-item {
  padding: 24px;
  background: var(--soft-blue);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.governance-item strong {
  font-size: 16px;
  color: var(--text);
}

.governance-item span {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.page-cta {
  text-align: center;
  padding: 80px 0;
}

.page-cta h2 {
  font-size: 32px;
  margin-bottom: 16px;
}

.page-cta p {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 32px;
}

/* NHS Integration Page */
.integrations-overview {
  padding: 60px 0;
}

.integration-details {
  display: grid;
  gap: 48px;
  margin-top: 40px;
}

.integration-item {
  padding: 40px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.integration-header {
  margin-bottom: 20px;
}

.integration-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}

.integration-badge.blue {
  background: var(--soft-blue);
  color: var(--brand);
}

.integration-badge.green {
  background: var(--soft-teal);
  color: var(--teal);
}

.integration-badge.purple {
  background: #f3f1ff;
  color: var(--purple);
}

.integration-header h3 {
  font-size: 24px;
  margin: 0;
}

.integration-description {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 24px;
}

.integration-capabilities h4 {
  font-size: 16px;
  margin-bottom: 16px;
  color: var(--text);
}

.capability-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.capability-list li {
  padding: 12px 0;
  padding-left: 32px;
  position: relative;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

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

.capability-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
  font-size: 18px;
}

.capability-list strong {
  color: var(--text);
}

.integration-status {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--soft-blue);
  border-radius: var(--radius);
}

.status-badge {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge.live {
  background: var(--soft-teal);
  color: var(--teal);
}

.status-note {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* Standards Section */
.standards-section {
  padding: 60px 0;
  background: var(--soft-blue);
  margin: 60px -20px;
  padding-left: 20px;
  padding-right: 20px;
}

.standards-content {
  max-width: 900px;
  margin: 0 auto;
}

.standards-intro {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text);
  text-align: center;
  margin-bottom: 40px;
}

.standards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.standard-card {
  padding: 28px;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.standard-card h3 {
  font-size: 18px;
  margin: 0 0 12px 0;
}

.standard-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

/* Benefits Section */
.benefits-section {
  padding: 60px 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.benefit-card {
  padding: 32px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
}

.benefit-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.benefit-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.benefit-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

/* ========================================
   Responsive Adjustments - New Pages
   ======================================== */

@media (max-width: 1024px) {
  .compliance-grid,
  .governance-grid,
  .standards-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-hero h1 {
    font-size: 36px;
  }

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

  .content-box {
    padding: 28px;
  }

  .compliance-card,
  .integration-item,
  .benefit-card {
    padding: 24px;
  }

  .security-feature {
    flex-direction: column;
    text-align: center;
  }

  .security-tech-section,
  .standards-section {
    margin-left: -20px;
    margin-right: -20px;
  }
}

/* ========================================
   Contact Page
   ======================================== */

.contact-form-section {
  padding: 60px 0;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info h2 {
  font-size: 28px;
  margin-bottom: 16px;
}

.contact-info > p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 32px;
}

.contact-details {
  display: grid;
  gap: 24px;
}

.contact-detail-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.detail-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.detail-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-content strong {
  font-size: 15px;
  color: var(--text);
}

.detail-content span {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.contact-form-wrapper {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-form {
  display: grid;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: white;
  transition: border-color 0.2s;
}

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

.form-group input:invalid:not(:placeholder-shown),
.form-group select:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
  border-color: #dc3545;
}

.form-group input:valid:not(:placeholder-shown),
.form-group select:valid,
.form-group textarea:valid:not(:placeholder-shown) {
  border-color: #28a745;
}

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

.checkbox-label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.checkbox-label input[type="checkbox"] {
  margin-top: 4px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.form-actions {
  display: flex;
  justify-content: flex-start;
}

.form-message {
  padding: 16px;
  border-radius: var(--radius);
  font-size: 15px;
  text-align: center;
  margin-top: 16px;
}

.form-message.success {
  background: var(--soft-teal);
  color: var(--teal);
  border: 1px solid var(--teal);
}

.form-message.error {
  background: #fff0f0;
  color: #d32f2f;
  border: 1px solid #d32f2f;
}

.form-message.info {
  background: var(--soft-blue);
  color: var(--brand);
  border: 1px solid var(--brand);
}

/* Why Contact Section */
.why-contact-section {
  padding: 80px 0;
  background: var(--soft-blue);
  margin: 60px -20px 0;
  padding-left: 20px;
  padding-right: 20px;
  text-align: center;
}

.why-contact-section h2 {
  font-size: 32px;
  margin-bottom: 48px;
}

.why-contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.why-contact-item {
  padding: 32px 24px;
  background: white;
  border-radius: var(--radius-lg);
  text-align: center;
}

.why-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.why-contact-item h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.why-contact-item p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* Contact Page Responsive */
@media (max-width: 1024px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

@media (max-width: 768px) {
  .contact-form-wrapper {
    padding: 28px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .why-contact-grid {
    grid-template-columns: 1fr;
  }

  .why-contact-section {
    margin-left: -20px;
    margin-right: -20px;
  }
}
