/*
 * extra.css — additions to the live site's style.css (pbaventures.co.uk)
 * Copyright PBA Ventures
 *
 * Purpose: styles the original static site didn't need — the account link
 * in the menu, the cookie banner's colours, and the software pages
 * (DataVis Studio, telehealth platform): a plain dark hero, FAQ, buy box.
 *
 * Version history
 * | Version | Date       | Author | Notes          |
 * |---------|------------|--------|----------------|
 * | 1.0     | 2026-10-11 | Aman   | First version. |
 */

/* Colours the shared cookie banner (templates/_cookie_notice.html) uses. */
:root { --color-text: #1A1A1A; --color-surface: #FFFFFF; --color-primary: #E65C00; }

nav ul { align-items: center; }
.nav-account { border: 1px solid #E0E0E0; padding: 7px 14px; border-radius: 6px; }
.nav-account:hover { border-color: var(--dark); }

/* A hero without the animated canvas (software pages). */
.hero.hero-plain { background: #070C1A; height: auto; min-height: 420px; color: var(--white); }
.hero.hero-plain .hero-sub { color: rgba(255,255,255,0.78); }

/* Light section with a grey background, for alternating bands. */
.band-light { background: var(--light); padding: 80px 40px; }
.band-white { background: var(--white); padding: 80px 40px; }
.band-inner { max-width: 1100px; margin: 0 auto; }
.band-center { text-align: center; }
.band-center .section-sub { margin-left: auto; margin-right: auto; }

/* Three-up feature cards. */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.info-card { background: var(--white); border: 1.5px solid #E8E8E8; border-radius: 14px; padding: 28px; }
.info-card h3 { font-size: 16px; margin-bottom: 8px; }
.info-card p { font-size: 14px; color: var(--grey); }
.info-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--orange-light); color: var(--orange); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }

/* Chart-type pills. */
.pill-grid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 32px; }
.pill { background: var(--white); border: 1px solid #E0E0E0; border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 500; }

/* Buy box / price cards. */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 860px; margin: 40px auto 0; }
.price-card { background: var(--white); border: 1.5px solid #E8E8E8; border-radius: 16px; padding: 36px; text-align: left; display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--orange); box-shadow: 0 10px 30px rgba(230,92,0,0.12); }
.price-name { font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--grey); }
.price-amount { font-size: 40px; font-weight: 700; letter-spacing: -1px; margin: 6px 0 2px; }
.price-amount small { font-size: 15px; font-weight: 500; color: var(--grey); }
.price-desc { font-size: 14px; color: var(--grey); margin-bottom: 18px; }
.price-card .feature-list { flex: 1; margin-bottom: 24px; }
.price-card .btn-primary, .price-card .btn-outline { text-align: center; justify-content: center; }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 8px; border: 2px solid var(--blue); color: var(--blue); font-weight: 600; text-decoration: none; }
.btn-outline:hover { background: var(--blue); color: var(--white); }
.small-print { font-size: 13px; color: var(--grey); margin-top: 20px; text-align: center; }

/* FAQ with <details> (no script needed). */
.faq-list { max-width: 720px; margin: 32px auto 0; }
.faq-list details { border-bottom: 1px solid #E8E8E8; padding: 16px 0; }
.faq-list summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq-list summary::after { content: "+"; color: var(--orange); font-weight: 700; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { margin-top: 10px; color: var(--grey); font-size: 14px; }

@media (max-width: 900px) {
  .card-grid { grid-template-columns: 1fr 1fr; }
  .price-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .card-grid { grid-template-columns: 1fr; }
  .band-light, .band-white { padding: 56px 20px; }
  nav ul .nav-account { display: none; }
}

/* Legal pages (privacy, terms, cookies). */
.legal { max-width: 760px; }
.legal h2 { font-size: 20px; margin: 28px 0 10px; }
.legal p, .legal li { font-size: 15px; color: #333; margin-bottom: 10px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--orange); }
.legal-table { width: 100%; border-collapse: collapse; margin: 8px 0 14px; font-size: 14px; }
.legal-table th, .legal-table td { text-align: left; padding: 8px; border-bottom: 1px solid #E8E8E8; vertical-align: top; }
.legal-draft { background: #FFF8D6; border: 1px solid #E8C84A; border-radius: 8px; padding: 10px 14px; margin-bottom: 20px; font-size: 14px; }

/* Cookie banner (templates/site/base.html). */
.cookie-notice { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 540px; margin: 0 auto; background: var(--dark); color: var(--white); padding: 16px 20px; border-radius: 12px; font-size: 14px; line-height: 1.5; box-shadow: 0 8px 30px rgba(0,0,0,0.25); z-index: 9999; }
.cookie-notice a { color: #FFB27A; }
.cookie-actions { display: flex; gap: 8px; margin-top: 10px; }
.cookie-actions button { font: inherit; font-size: 13px; font-weight: 600; padding: 7px 16px; border-radius: 8px; cursor: pointer; border: 0; background: var(--orange); color: var(--white); }
.cookie-actions .cookie-reject { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.4); }
