/* FocusCadence - Bespoke Kinetic Health Architecture CSS (fc-*) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

:root {
  --fc-primary: #0f172a;
  --fc-primary-slate: #1e293b;
  --fc-accent: #10b981;
  --fc-accent-hover: #059669;
  --fc-accent-light: #ecfdf5;
  --fc-bg: #f8fafc;
  --fc-card: #ffffff;
  --fc-border: #e2e8f0;
  --fc-text: #334155;
  --fc-muted: #64748b;
  --fc-heading: #0f172a;
  --fc-radius: 12px;
  --fc-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --fc-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
}

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

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--fc-bg);
  color: var(--fc-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--fc-heading);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

a:hover {
  color: var(--fc-primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.fc-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Nav */
.fc-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--fc-border);
}

.fc-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.fc-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fc-nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}

.fc-nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--fc-slate);
  padding: 8px 4px;
  position: relative;
}

.fc-nav-link:hover, .fc-nav-link.active {
  color: var(--fc-accent);
}

.fc-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--fc-primary);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: 8px;
  transition: all 0.2s ease;
  min-height: 44px;
}

.fc-nav-cta:hover {
  background-color: var(--fc-accent);
  transform: translateY(-1px);
}

/* Mobile Toggle */
.fc-mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--fc-border);
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
}

/* Buttons */
.fc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  min-height: 48px;
  border: 1px solid transparent;
}

.fc-btn-primary {
  background-color: var(--fc-accent);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.fc-btn-primary:hover {
  background-color: var(--fc-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.fc-btn-outline {
  background: transparent;
  color: var(--fc-primary) !important;
  border-color: var(--fc-border);
}

.fc-btn-outline:hover {
  border-color: var(--fc-primary);
  background-color: #f1f5f9;
}

/* Badges */
.fc-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: var(--fc-accent-light);
  color: var(--fc-accent-hover);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Split-Screen Hero (A-G Profile) */
.fc-hero-section {
  padding: 70px 0 90px;
  background: linear-gradient(180deg, #ffffff 0%, var(--fc-bg) 100%);
  border-bottom: 1px solid var(--fc-border);
}

.fc-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.fc-hero-content h1 {
  font-size: 3.1rem;
  line-height: 1.15;
  margin: 18px 0 22px;
  color: var(--fc-primary);
}

.fc-hero-lead {
  font-size: 1.2rem;
  color: var(--fc-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.fc-hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 40px;
}

.fc-hero-meta {
  display: flex;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--fc-border);
}

.fc-meta-item strong {
  display: block;
  font-size: 1.6rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--fc-primary);
}

.fc-meta-item span {
  font-size: 0.85rem;
  color: var(--fc-muted);
}

.fc-hero-visual {
  position: relative;
}

.fc-hero-img-wrap {
  border-radius: var(--fc-radius);
  overflow: hidden;
  box-shadow: var(--fc-shadow-lg);
  border: 1px solid var(--fc-border);
}

/* Section styling */
.fc-section {
  padding: 80px 0;
}

.fc-section-light {
  background-color: #ffffff;
  border-top: 1px solid var(--fc-border);
  border-bottom: 1px solid var(--fc-border);
}

.fc-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.fc-section-header h2 {
  font-size: 2.3rem;
  margin: 12px 0 16px;
}

.fc-section-header p {
  font-size: 1.1rem;
  color: var(--fc-muted);
}

/* Cards Grid */
.fc-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.fc-card {
  background: var(--fc-card);
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius);
  padding: 36px 30px;
  box-shadow: var(--fc-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--fc-shadow-lg);
  border-color: #cbd5e1;
}

.fc-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background-color: var(--fc-accent-light);
  color: var(--fc-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.fc-card h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.fc-card p {
  color: var(--fc-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* Calculator Box */
.fc-calc-wrapper {
  background: #ffffff;
  border: 1px solid var(--fc-border);
  border-radius: 16px;
  box-shadow: var(--fc-shadow-lg);
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.fc-calc-form h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.fc-calc-desc {
  color: var(--fc-muted);
  margin-bottom: 28px;
  font-size: 0.95rem;
}

.fc-form-group {
  margin-bottom: 20px;
}

.fc-form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fc-slate);
  margin-bottom: 8px;
}

.fc-form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--fc-border);
  border-radius: 8px;
  font-size: 1rem;
  background-color: #f8fafc;
  font-family: inherit;
  transition: border-color 0.2s;
  min-height: 46px;
}

.fc-form-input:focus {
  outline: none;
  border-color: var(--fc-accent);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.fc-calc-results {
  background: #0f172a;
  color: #ffffff;
  border-radius: 12px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.fc-res-title {
  color: #94a3b8;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.fc-res-metric {
  font-size: 3rem;
  font-weight: 800;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #10b981;
  margin: 12px 0 6px;
}

.fc-res-label {
  font-size: 1.15rem;
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: 18px;
}

.fc-res-breakdown {
  border-top: 1px solid #334155;
  padding-top: 20px;
  margin-top: 20px;
}

.fc-res-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.95rem;
  color: #cbd5e1;
}

.fc-res-item strong {
  color: #ffffff;
}

/* Editorial / Content Deep Pages (450-700 words) */
.fc-content-layout {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 56px;
  margin-top: 40px;
}

.fc-content-body {
  background: #ffffff;
  border: 1px solid var(--fc-border);
  border-radius: 16px;
  padding: 48px;
  box-shadow: var(--fc-shadow);
}

.fc-content-body h2 {
  font-size: 1.85rem;
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}

.fc-content-body h2:first-of-type {
  margin-top: 0;
}

.fc-content-body h3 {
  font-size: 1.35rem;
  margin: 28px 0 12px;
}

.fc-content-body p {
  font-size: 1.05rem;
  color: #334155;
  line-height: 1.8;
  margin-bottom: 20px;
}

.fc-content-body ul, .fc-content-body ol {
  margin: 16px 0 24px 24px;
}

.fc-content-body li {
  margin-bottom: 10px;
  color: #334155;
  line-height: 1.7;
}

.fc-quote-box {
  background: #f0fdf4;
  border-left: 4px solid var(--fc-accent);
  padding: 24px 28px;
  margin: 32px 0;
  border-radius: 0 10px 10px 0;
}

.fc-quote-box p {
  font-size: 1.1rem;
  font-style: italic;
  color: #166534;
  margin-bottom: 8px;
}

.fc-quote-box cite {
  font-size: 0.88rem;
  font-weight: 600;
  color: #15803d;
  font-style: normal;
}

/* Tables */
.fc-table-responsive {
  overflow-x: auto;
  margin: 32px 0;
}

.fc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  text-align: left;
}

.fc-table th {
  background: #0f172a;
  color: #ffffff;
  padding: 14px 18px;
  font-weight: 600;
}

.fc-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--fc-border);
  color: #334155;
}

.fc-table tr:nth-child(even) {
  background-color: #f8fafc;
}

/* Sidebar */
.fc-sidebar-widget {
  background: #ffffff;
  border: 1px solid var(--fc-border);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 28px;
  box-shadow: var(--fc-shadow);
}

.fc-sidebar-widget h4 {
  font-size: 1.15rem;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--fc-border);
}

.fc-sidebar-list {
  list-style: none;
}

.fc-sidebar-list li {
  margin-bottom: 12px;
}

.fc-sidebar-list a {
  color: var(--fc-slate);
  font-weight: 500;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fc-sidebar-list a:hover {
  color: var(--fc-accent);
}

/* Editorial Board / Team */
.fc-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.fc-team-card {
  background: #ffffff;
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius);
  overflow: hidden;
  box-shadow: var(--fc-shadow);
}

.fc-team-img-wrap {
  width: 100%;
  height: 240px;
  overflow: hidden;
  background-color: #0f172a;
}

.fc-team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fc-team-info {
  padding: 24px;
}

.fc-team-role {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fc-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.fc-team-info h4 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.fc-team-info p {
  font-size: 0.92rem;
  color: var(--fc-muted);
  line-height: 1.6;
}

/* Footer */
.fc-footer {
  background-color: #0f172a;
  color: #94a3b8;
  padding: 70px 0 30px;
  border-top: 1px solid #1e293b;
}

.fc-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 56px;
}

.fc-footer-col h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 22px;
  letter-spacing: 0.02em;
}

.fc-footer-desc {
  font-size: 0.92rem;
  line-height: 1.7;
  margin-top: 16px;
  color: #94a3b8;
}

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

.fc-footer-links li {
  margin-bottom: 12px;
}

.fc-footer-links a {
  color: #94a3b8;
  font-size: 0.92rem;
  transition: color 0.2s;
}

.fc-footer-links a:hover {
  color: #ffffff;
}

.fc-footer-legal-box {
  background: #1e293b;
  border-radius: 8px;
  padding: 18px;
  font-size: 0.85rem;
  line-height: 1.6;
  border: 1px solid #334155;
  color: #cbd5e1;
}

.fc-footer-legal-box strong {
  color: #ffffff;
}

.fc-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid #1e293b;
  font-size: 0.88rem;
}

/* Cookie Banner */
.fc-cookie-bar {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 580px;
  background: #0f172a;
  color: #ffffff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  z-index: 999;
  display: none;
  border: 1px solid #334155;
}

.fc-cookie-content {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
  color: #cbd5e1;
}

.fc-cookie-actions {
  display: flex;
  gap: 12px;
}

/* Responsive */
@media (max-width: 992px) {
  .fc-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .fc-grid-3, .fc-team-grid {
    grid-template-columns: 1fr;
  }
  .fc-calc-wrapper {
    grid-template-columns: 1fr;
  }
  .fc-content-layout {
    grid-template-columns: 1fr;
  }
  .fc-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .fc-nav-menu {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--fc-border);
    box-shadow: var(--fc-shadow-lg);
  }
  .fc-nav-menu.fc-active {
    display: flex;
  }
  .fc-mobile-toggle {
    display: block;
  }
  .fc-hero-content h1 {
    font-size: 2.2rem;
  }
  .fc-footer-grid {
    grid-template-columns: 1fr;
  }
  .fc-footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
