/* The AI Board — supplementary styles */

/* Mobile nav (alternate header variant used on contact/qualifications) */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(5, 17, 29, 0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255,255,255,0.06); }
.inner-header { max-width: 1400px; margin: 0 auto; }
.top-nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 40px; }
.site-logo, .site-logo svg { min-height: 44px; min-width: 44px; display: flex; align-items: center; }
.site-logo svg { height: 32px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links .nav-link { color: #FAF9F6; font-size: 16px; font-weight: 500; transition: color 0.2s; min-height: 44px; display: inline-flex; align-items: center; }
.nav-links .nav-link:hover, .nav-links .nav-link.active { color: #EB307C; }
.become-centre-btn { background: #EB307C; color: #FAF9F6; padding: 10px 20px; border-radius: 30px; font-size: 16px; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
/* FIX 1: hamburger touch target — handles both .hamburger and .hamburger-menu classes */
.hamburger, .hamburger-menu { display: none; background: none; border: none; cursor: pointer; padding: 10px; min-height: 44px; min-width: 44px; flex-direction: column; align-items: center; justify-content: center; }
.hamburger span, .hamburger-menu span { display: block; width: 24px; height: 2px; background: #FAF9F6; margin: 5px 0; transition: 0.3s; }
.hamburger.open span:nth-child(1), .hamburger-menu.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2), .hamburger-menu.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3), .hamburger-menu.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.mobile-nav { display: none; flex-direction: column; gap: 0; padding: 0; background: rgba(5,17,29,0.98); max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1); }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav ul li { border-bottom: 1px solid rgba(255,255,255,0.1); }
.mobile-nav a, .mobile-nav ul li a { color: #FAF9F6; font-size: 16px; font-weight: 500; padding: 16px 40px; min-height: 44px; display: flex; align-items: center; border-bottom: none; }
.mobile-nav.open { display: flex; max-height: 600px; }

@media (max-width: 1150px) {
  .nav-links { display: none; }
  .hamburger, .hamburger-menu { display: flex; }
  .become-centre-btn { display: none; }
  .top-nav { padding: 14px 24px; }
}

/* Glass cards */
.glass-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.3);
}

/* Accordion */
.accordion-item { border-bottom: 1px solid rgba(255,255,255,0.1); }
.accordion-trigger {
  width: 100%; background: none; border: none; color: #FAF9F6;
  font-family: Optika, sans-serif; font-size: 20px; font-weight: 500;
  text-align: left; padding: 20px 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  transition: color 0.2s;
  min-height: 44px; /* FIX 1 */
}
.accordion-trigger:hover { color: #EB307C; }
.accordion-trigger .acc-icon { transition: transform 0.3s; font-size: 24px; }
.accordion-trigger.open .acc-icon { transform: rotate(45deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1); }
.accordion-body.open { max-height: 500px; }
.accordion-body-inner { padding: 0 0 20px; color: rgba(250,249,246,0.8); line-height: 1.7; font-size: 16px; }

/* Hero — FIX 4: 100dvh fallback */
.hero-section { position: relative; min-height: 100vh; min-height: 100dvh; overflow: hidden; margin-top: -72px; padding-top: 72px; display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s ease; position: absolute; inset: 0; }
.hero-bg img.active { opacity: 1; }
.hero-content { position: relative; z-index: 2; max-width: 1400px; margin: 0 auto; padding: 60px 40px; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(5,17,29,0.85) 0%, rgba(5,17,29,0.4) 100%); z-index: 1; }

/* Hero mobile */
@media (max-width: 900px) {
  .hero-section { min-height: 80vh; min-height: 80dvh; }
  .hero-overlay { background: linear-gradient(135deg, rgba(5,17,29,0.4) 0%, rgba(5,17,29,0.15) 100%) !important; }
  .hero-content { padding: 40px 20px; text-align: center !important; display: flex !important; flex-direction: column !important; align-items: center !important; }
  .hero-content h1 { font-size: 36px; width: 100%; }
  .hero-content p { font-size: 16px; width: 100%; }
  .hero-content .btn-primary { display: flex !important; width: fit-content !important; margin: 0 auto !important; align-self: center !important; justify-content: center !important; align-items: center !important; }
}
@media (max-width: 480px) {
  .hero-section { min-height: auto !important; padding-top: 72px; padding-bottom: 24px; flex-wrap: wrap; gap: 8px; justify-content: center; }
  .hero-bg { position: absolute !important; inset: 0 !important; z-index: 0 !important; }
  .hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0; position: absolute; inset: 0; }
  .hero-bg img.active { opacity: 1 !important; }
  .hero-overlay { background: linear-gradient(135deg, rgba(5,17,29,0.2) 0%, rgba(5,17,29,0) 100%) !important; }
  .hero-content { padding: 32px 20px 16px 20px !important; order: 1; width: 100%; text-align: center !important; display: flex !important; flex-direction: column !important; align-items: center !important; }
  .hero-content h1 { font-size: 28px; width: 100%; text-align: center !important; }
  .hero-content p { text-align: center !important; width: 100%; }
  .hero-content .btn-primary { display: flex !important; width: fit-content !important; margin: 0 auto !important; align-self: center !important; justify-content: center !important; align-items: center !important; }
  .hero-float { position: relative !important; right: auto !important; bottom: auto !important; top: auto !important; order: 2; z-index: 2; }
}

/* Marquee — FIX 2: min 16px */
.marquee-strip { background: #852F80; padding: 16px 0; overflow: hidden; }
.marquee-track { display: flex; gap: 0; animation: marqueeScroll 25s linear infinite; white-space: nowrap; }
.marquee-track span { padding: 0 40px; font-size: 16px; font-weight: 600; color: #FAF9F6; letter-spacing: 2px; text-transform: uppercase; }
.marquee-track .sep { color: rgba(255,255,255,0.5); }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Section headings — FIX 2: min 16px for labels */
.section-label { color: #EB307C; font-size: 16px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 16px; }
.section-title { font-size: 52px; line-height: 1.1; font-weight: 900; color: #FAF9F6; margin-bottom: 24px; }
@media (max-width: 768px) { .section-title { font-size: 36px; } }

/* CTA buttons — FIX 1 + FIX 2 */
.btn-primary { background: #EB307C; color: #FAF9F6; padding: 14px 32px; border-radius: 30px; font-size: 16px; font-weight: 600; letter-spacing: 0.5px; border: 2px solid #EB307C; transition: all 0.3s; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; }
.btn-primary:hover { background: transparent; color: #EB307C; }
.btn-outline { background: transparent; color: #FAF9F6; padding: 14px 32px; border-radius: 30px; font-size: 16px; font-weight: 600; letter-spacing: 0.5px; border: 2px solid rgba(255,255,255,0.4); transition: all 0.3s; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; }
.btn-outline:hover { border-color: #EB307C; color: #EB307C; }

/* Form styles — FIX 1 + FIX 2 */
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-size: 16px; font-weight: 500; color: rgba(250,249,246,0.7); margin-bottom: 8px; letter-spacing: 0.5px; text-transform: uppercase; min-height: 44px; display: flex; align-items: center; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px; color: #FAF9F6; font-family: Optika, sans-serif; font-size: 16px;
  padding: 14px 16px; transition: border-color 0.2s; outline: none;
  min-height: 44px; /* FIX 1 */
}
.form-field input:focus, .form-field textarea:focus { border-color: #EB307C; background: rgba(255,255,255,0.08); }
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field.checkbox-field { display: flex; align-items: flex-start; gap: 12px; }
.form-field.checkbox-field input[type="checkbox"] { width: 44px; height: 44px; flex-shrink: 0; accent-color: #EB307C; }
.form-field.checkbox-field label { text-transform: none; font-size: 16px; color: rgba(250,249,246,0.7); min-height: 44px; }
.form-submit-btn { width: 100%; background: #EB307C; color: #FAF9F6; padding: 16px; border: none; border-radius: 30px; font-family: Optika, sans-serif; font-size: 16px; font-weight: 700; cursor: pointer; transition: opacity 0.2s; letter-spacing: 1px; text-transform: uppercase; min-height: 44px; }
.form-submit-btn:hover { opacity: 0.85; }

/* Team cards — FIX 2 */
.team-card { text-align: center; padding: 32px 24px; }
.team-card .headshot { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; margin: 0 auto 20px; border: 3px solid #EB307C; }
.team-card .headshot img { width: 100%; height: 100%; object-fit: cover; } /* FIX 5: cover is correct for circular crop */
.team-card .role { color: #EB307C; font-size: 16px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px; }
.team-card .name { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.team-card .bio { font-size: 16px; line-height: 1.7; color: rgba(250,249,246,0.7); }

/* Qual cards — FIX 2 */
.qual-card { padding: 40px 32px; transition: transform 0.3s; }
.qual-card:hover { transform: translateY(-4px); }
.qual-card .card-icon { width: 64px; height: 64px; margin-bottom: 24px; }
.qual-card .card-tag { color: #EB307C; font-size: 16px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 12px; }
.qual-card .card-title { font-size: 24px; font-weight: 700; margin-bottom: 16px; line-height: 1.3; }
.qual-card .card-desc { font-size: 16px; line-height: 1.7; color: rgba(250,249,246,0.75); margin-bottom: 24px; }

/* Footer (aiboard variant) */
.site-footer { background: rgba(255,255,255,0.03); border-top: 1px solid rgba(255,255,255,0.08); padding: 80px 40px 40px; margin-top: 80px; }
.footer-inner { max-width: 1400px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 600px) { .footer-top { grid-template-columns: 1fr; } }
.footer-tagline { color: rgba(250,249,246,0.5); font-size: 16px; margin-top: 16px; letter-spacing: 1px; }
.footer-social { display: flex; gap: 12px; margin-top: 24px; }
.footer-social a { opacity: 0.6; transition: opacity 0.2s; min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; }
.footer-social a:hover { opacity: 1; }
.footer-links-col h4 { font-size: 16px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: #EB307C; margin-bottom: 20px; }
.footer-links-col ul { list-style: none; }
.footer-links-col ul li { margin-bottom: 12px; }
.footer-links-col ul li a { color: rgba(250,249,246,0.7); font-size: 16px; transition: color 0.2s; min-height: 44px; display: inline-flex; align-items: center; }
.footer-links-col ul li a:hover { color: #FAF9F6; }
.footer-links-col p { color: rgba(250,249,246,0.7); font-size: 16px; line-height: 1.8; }
.footer-cta-btn { display: inline-flex; align-items: center; justify-content: center; margin-top: 20px; background: #EB307C; color: #FAF9F6; padding: 12px 24px; border-radius: 30px; font-size: 16px; font-weight: 600; transition: opacity 0.2s; min-height: 44px; }
.footer-cta-btn:hover { opacity: 0.85; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 32px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { font-size: 16px; color: rgba(250,249,246,0.4); }
.footer-bottom a { color: rgba(250,249,246,0.5); transition: color 0.2s; min-height: 44px; display: inline-flex; align-items: center; }
.footer-bottom a:hover { color: #EB307C; }

/* Policy page — FIX 1 + FIX 2 */
.policy-btn { display: flex; align-items: center; gap: 16px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 20px 24px; transition: all 0.3s; margin-bottom: 16px; min-height: 44px; }
.policy-btn:hover { background: rgba(235,48,124,0.1); border-color: #EB307C; }
.policy-btn .policy-icon { width: 40px; height: 40px; background: rgba(235,48,124,0.2); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.policy-btn .policy-name { font-size: 16px; font-weight: 600; color: #FAF9F6; }
.policy-btn .policy-meta { font-size: 16px; color: rgba(250,249,246,0.5); margin-top: 4px; }
.policy-btn .download-icon { margin-left: auto; opacity: 0.6; }

/* Insights — FIX 2 */
.article-card { overflow: hidden; transition: transform 0.3s; }
.article-card:hover { transform: translateY(-4px); }
.article-card .card-image { width: 100%; aspect-ratio: 16/9; overflow: hidden; border-radius: 12px 12px 0 0; }
.article-card .card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; } /* FIX 5: cover is correct for card thumbnails */
.article-card:hover .card-image img { transform: scale(1.05); }
.article-card .card-content { padding: 24px; }
.article-card .card-category { color: #EB307C; font-size: 16px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 12px; }
.article-card .card-title { font-size: 20px; font-weight: 700; line-height: 1.3; margin-bottom: 12px; }
.article-card .card-excerpt { font-size: 16px; line-height: 1.7; color: rgba(250,249,246,0.7); }
.article-card .card-meta { font-size: 16px; color: rgba(250,249,246,0.4); margin-top: 16px; }

/* Differentiator grid — FIX 2 */
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .diff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .diff-grid { grid-template-columns: 1fr; } }
.diff-card { padding: 32px 28px; border-radius: 16px; }
.diff-card.highlight { background: linear-gradient(135deg, #852F80 0%, #5B1C9E 100%); }
.diff-card .diff-icon { width: 48px; height: 48px; margin-bottom: 20px; }
.diff-card .diff-title { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.diff-card .diff-desc { font-size: 16px; line-height: 1.7; color: rgba(250,249,246,0.75); }

/* Registration flow — FIX 2 */
.reg-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 768px) { .reg-flow { grid-template-columns: 1fr; } }
.reg-step { text-align: center; padding: 40px 24px; position: relative; }
.reg-step .step-num { width: 56px; height: 56px; border-radius: 50%; background: #EB307C; color: #FAF9F6; font-size: 20px; font-weight: 900; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; }
.reg-step .step-title { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.reg-step .step-desc { font-size: 16px; line-height: 1.7; color: rgba(250,249,246,0.75); }

/* Endorsement form */
.endorsement-form { padding: 48px 40px; }
@media (max-width: 600px) { .endorsement-form { padding: 32px 20px; } }

/* Benefit cards — FIX 2 */
.benefit-card { padding: 32px; text-align: center; }
.benefit-card .benefit-icon { font-size: 40px; margin-bottom: 16px; }
.benefit-card .benefit-title { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.benefit-card .benefit-desc { font-size: 16px; line-height: 1.7; color: rgba(250,249,246,0.75); }

/* Page hero — FIX 4: 100dvh not needed here, but ensure proper spacing */
.page-hero { padding: 88px 0 100px; text-align: center; position: relative; background: linear-gradient(180deg, rgba(5,17,29,0) 0%, #05111D 100%); overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: url('assets/bg-pattern.png') center/cover; opacity: 0.1; }
.page-hero .hero-inner { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.page-hero h1 { font-size: 64px; font-weight: 900; line-height: 1.05; margin-bottom: 24px; }
@media (max-width: 768px) { .page-hero h1 { font-size: 42px; } .page-hero { padding: 48px 0 60px; } }
.page-hero p { font-size: 18px; line-height: 1.7; color: rgba(250,249,246,0.75); max-width: 600px; margin: 0 auto 32px; }

/* General layout */
.container { max-width: 1400px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 768px) { .container { padding: 0 24px; } }
.section { padding: 100px 0; }
@media (max-width: 768px) { .section { padding: 60px 0; } }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 900px) { .grid-2 { grid-template-columns: 1fr; gap: 40px; } }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1100px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-4 { grid-template-columns: 1fr; } }

/* FIX 1: global interactive element touch targets */
.filter-btn { min-height: 44px; }
.search-bar input { min-height: 44px; }
