/*
 * Modern CSS for the AccelPath AI workshop site
 *
 * The palette uses a dark background with bright accents to evoke
 * technology and innovation. CSS variables make it easy to adjust
 * colours in one place. The layout is responsive and mobile‑friendly.
 */

:root {
  --colour-bg: #0a192f;                /* page backdrop */
  --colour-surface: rgba(255,255,255,0.08);
  --colour-surface-2: rgba(255,255,255,0.14);
  --colour-primary: #38c4d2;           /* bright turquoise */
  --colour-primary-dark: #28a9b7;      /* deeper turquoise */
  --colour-white: #f8fbff;
  --colour-secondary: #28a9b7; 
  --colour-muted: #a6b6d4;
  --colour-text: #f8fbff; /* or simply white: #ffffff */
  --radius: 18px;
  --max-width: 1200px;
}

/* Global resets and typography */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Karla', 'Montserrat', sans-serif;
    line-height: 1.6;
    background-color: var(--colour-bg);
    color: var(--colour-text);
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0.5em;
    color: var(--colour-white);
}

.navbar .logo img { 
    height: 100px; 
    width: auto; 
    display: block; }

.nav-links a.active[aria-current="page"] { 
    font-weight: 700; 
    position: relative; }

.nav-links a.active[aria-current="page"]::after {
    content: ""; 
    position: absolute; 
    left: 0; 
    right: 0; 
    bottom: -6px; 
    height: 2px; 
    background: #23b5d3;
}

p {
  margin-bottom: 1em;
  color: var(--colour-muted);
  font-size: clamp(1rem, 0.95rem + 0.6vw, 1.25rem); /* ~20px → 24px */
  line-height: 1.65;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
}

a {
    color: var(--colour-primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Navigation */
.navbar {
    width: 100%;
    background-color: rgba(10, 25, 47, 0.9);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: fixed;
    min-height: 80px;
    top: 0;
    left: 0;
    z-index: 1000;
    backdrop-filter: blur(8px);
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--colour-primary);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--colour-text);
    transition: color var(--transition-speed);
}

.nav-links a:hover {
    color: var(--colour-primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 60vh;    /* shorter hero, still responsive */
    padding-bottom: 0rem; /* optional padding at the bottom */
    background-image: linear-gradient(rgba(10, 25, 47, 0.7), rgba(10, 25, 47, 0.8)), url('images/ai_hero2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    text-align: center;
    color: var(--colour-white);
    position: relative;
    margin-bottom: 1rem;
}

.hero-proof {
  display:flex; gap:.75rem; 
  justify-content:center; 
  list-style:none; 
  padding:0; 
  margin:1rem 0 1.25rem;
  font-size:0.95rem; 
  color: var(--ap-muted);
}

.hero-proof li::before {
    content:"• "; 
    opacity:.6; 
}

.hero-trust { 
    margin-top:.5rem; 
    font-size:.9rem; 
    color:var(--ap-muted); 
}

.hero-overlay {
    max-width: 800px;
}

.hero-title {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 0.5em;
}

.hero-subtitle {
    font-size: 1.25rem; /* slightly larger for legibility */
    font-weight: 500;   /* more weight for clarity */
    line-height: 1.75;  /* more breathing room */
    letter-spacing: 0.25px; /* improve character separation */
    color: #e8edf6;     /* lighter than var(--colour-muted) for better contrast */
    max-width: 700px;   /* prevent overly long lines */
    margin: 0 auto 1.75em; /* center + better spacing */
}

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

/* Spacing scale */
:root {
  --space-xxs: 4px;
  --space-xs: 8px;
  --space-s: 12px;
  --space-m: 16px;
  --space-l: 24px;
  --space-xl: 32px;
}

/* Stack that controls rhythm under subheader */
.hero-support {
  display: grid;
  gap: var(--space-l);              /* consistent vertical rhythm */
  margin-top: var(--space-l);
}

/* Benefits as an inline checklist */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-s);
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
}

.benefit-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 12px 14px;
  border-radius: 999px;             /* pill */
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  font-size: 0.95rem;
  color: var(--ap-text, #e6f1ff);
  text-align: center;
}

/* Accessible check icon (pure CSS) */
.benefit-item .check {
  width: 18px; height: 18px; flex: 0 0 18px;
  border-radius: 50%;
  background: var(--ap-primary, #23b5d3);
  position: relative;
}
.benefit-item .check::after {
  content: "";
  position: absolute; left: 5px; top: 3px;
  width: 6px; height: 10px;
  border-right: 2px solid #0d192e;
  border-bottom: 2px solid #0d192e;
  transform: rotate(45deg);
}

.benefit-item:hover {
    transform: translateY(-2px);
    background-color: rgba(35, 181, 211, 0.15); /* subtle blue tint on hover */
}

.benefit-item .check {
    width: 20px; /* bigger circle */
    height: 20px;
    background: var(--colour-primary);
}

/* CTA block with tight but breathable spacing */
.hero-ctas {
  display: flex;
  justify-content: center;
  gap: var(--space-m);
}

/* Trust line */
.hero-trust {
  margin-top: -4px;                 /* micro-adjust to tighten after CTAs */
  font-size: 0.92rem;
  color: var(--ap-muted, #c7d5ef);
  text-align: center;
}

/* Responsive: collapse benefits to 2 then 1 columns */
@media (max-width: 900px) {
  .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-item { justify-content: flex-start; }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: background-color var(--transition-speed), transform var(--transition-speed);
}

.btn-primary {
    background-color: var(--colour-primary);
    color: var(--colour-bg);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background-color: var(--colour-primary-dark);
    color: var(--colour-bg); /* keep contrast */
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--colour-primary);
    border: 2px solid var(--colour-primary);
}

.btn-secondary:hover {
    background-color: var(--colour-primary);
    color: var(--colour-bg);
    transform: translateY(-2px);
}

/* Sections */
.section {
    padding: 5rem 1rem;
}

.section.alt {
    background-color: var(--colour-surface);
}

/* Improve body text readability */
.section p,
.reasons-grid p {
    font-size: 1.05rem; /* bigger than default */
    line-height: 1.75;  /* more breathing room */
    color: #d9e2ec;     /* light gray, high contrast but softer than #fff */
}

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

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

.reason-item {
    background-color: var(--colour-bg);
    border: 1px solid var(--colour-surface);
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    transition: transform var(--transition-speed), background-color var(--transition-speed);
}

.reason-item:hover {
    transform: translateY(-4px);
    background-color: var(--colour-surface);
}

.reason-icon {
    font-size: 2.5rem;
    color: var(--colour-primary);
    margin-bottom: 0.75rem;
}

/* Agenda list */
.agenda-list {
    list-style: none;
    margin-top: 1.5rem;
    padding-left: 0;
}

.agenda-list li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    color: var(--colour-muted);
}

.agenda-list li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    top: 0.2rem;
    color: var(--colour-primary);
    font-size: 1.2rem;
}

.agenda-title {
    color: var(--colour-white);
    font-weight: 600;
}

/* Whitepaper section */
.whitepaper-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

.whitepaper-text {
    flex: 1 1 300px;
}

.whitepaper-image {
    flex: 1 1 300px;
}

.whitepaper-image img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

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

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

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--colour-white);
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border-radius: var(--radius);
    border: 1px solid var(--colour-surface);
    background-color: var(--colour-bg);
    color: var(--colour-text);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--colour-primary);
    box-shadow: 0 0 0 2px rgba(35, 181, 211, 0.3);
}

.contact-form button {
    grid-column: span 2;
    justify-self: start;
    margin-top: 1rem;
}

.globe-fallback {
  display: none; /* hidden by default when JS is running */
}

/* Footer */
.footer {
    background-color: var(--colour-surface);
    padding: 2rem 1rem;
    text-align: center;
}

.footer-content p {
    color: var(--colour-muted);
    margin-bottom: 0.5rem;
}

.footer-content a {
    color: var(--colour-primary);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .nav-links {
        display: none; /* hide nav links on small screens for simplicity */
    }
}

/* Impact (Globe) Section */
.impact-section {
    position: relative;
    background: radial-gradient(circle at 50% 25%, rgba(35, 181, 211, 0.2), var(--colour-surface) 70%);
    overflow: hidden;
}

.impact-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.impact-text {
    flex: 1 1 300px;
    max-width: 500px;
}

.impact-text h2 {
    margin-bottom: 0.5rem;
}

.impact-text p {
    color: var(--colour-muted);
}

.impact-visual {
    flex: 1 1 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.globe-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
    height: auto;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.globe-wrapper canvas,
.globe-wrapper .globe-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius);
    object-fit: cover;
}

.globe-wrapper .globe-fallback {
    /* The fallback image is shown when the canvas is empty */
    z-index: 0;
}

.globe-wrapper canvas {
    z-index: 1;
    background: transparent !important;
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--colour-primary);
    margin-bottom: 0.3rem;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--colour-muted);
    margin-bottom: 0;
}

/* --- Place this entire block at the very END of styles.css --- */

/* 2) HERO SUBTITLE – accessibility/readability improvements */
.hero .hero-subtitle {
  font-size: 1.5rem;               /* larger for better legibility */
  font-weight: 500;
  line-height: 1.85;
  letter-spacing: 0.25px;
  color: #e8edf6;
  max-width: 750px;
  margin: 0 auto 1.75em;
}

/* Force nested emphasis to match the new color (in case other rules target <strong>/<em>) */
.hero .hero-subtitle, 
.hero .hero-subtitle strong, 
.hero .hero-subtitle em {
  color: #e8edf6 !important;       /* last‑resort guard against stale overrides */
}

@media (max-width: 768px) {
  .hero .hero-subtitle {
    font-size: 1.3rem;
    line-height: 1.75;
    margin-bottom: 1.5em;
  }
}

/* 3) BENEFIT ITEMS – stronger contrast and subtle interactivity */
.benefit-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 16px 18px;               /* bigger touch target */
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: 1.05rem;                /* slightly larger text */
  font-weight: 500;
  color: var(--colour-white);
  transition: transform 0.2s ease, background-color 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-2px);
  background-color: rgba(35, 181, 211, 0.2);
}

.benefit-item .check {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 50%;
  background: var(--colour-primary);
}

.benefit-item .check::after {
  left: 6px;
  top: 4px;
  width: 6px;
  height: 10px;
}

#about p {
  font-size: clamp(1.0625rem, calc(1rem + 0.5vw), 1.5rem); /* raise max if you want bigger */
  line-height: 1.7;
}

.mobile-menu[hidden]{ display:none !important; }
.mobile-menu{ position:fixed; inset:0; display:none; align-items:flex-start; justify-content:flex-end; background:rgba(8,14,28,.55); backdrop-filter:blur(6px); z-index:10000; }
.mobile-menu.open{ display:flex; }
.mobile-sheet{ width:min(86vw,420px); margin:calc(env(safe-area-inset-top,0px) + 12px) 12px 12px auto; padding:12px; border-radius:18px; border:1px solid rgba(255,255,255,.09); background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); box-shadow:0 30px 60px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.08); }
.mobile-link{ display:block; padding:14px 12px; margin:6px 0; border-radius:12px; color:#e7f0ff; text-decoration:none; font-weight:800; font-family:Montserrat,system-ui,sans-serif; text-align:center; border:1px solid rgba(255,255,255,.08); }
.mobile-link:hover{ background:rgba(255,255,255,.06); }
.mobile-close{ display:block; width:100%; margin-top:6px; padding:12px; border-radius:12px; border:0; font-weight:800; cursor:pointer; background:linear-gradient(180deg,#38c4d2,#28a9b7); color:#06101a; }
body.no-scroll{ overflow:hidden; }

/* ---------- PRICING (modern cards) ---------- */

/* Ensure pricing section text and heading are centered */
#pricing .container {
  text-align: center;
}

#pricing h2 {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
}

/* Responsive grid: 1–3 columns depending on viewport width */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  width: 100%;
}

/* Each pricing card uses a glassy panel effect */
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 2rem 1.75rem 2.5rem;
  border: 1px solid var(--colour-surface-2);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--colour-surface),
                              rgba(255,255,255,0.03));
  backdrop-filter: saturate(150%) blur(6px);
  -webkit-backdrop-filter: saturate(150%) blur(6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.35),
              inset 0 1px 0 rgba(255,255,255,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.45),
              inset 0 1px 0 rgba(255,255,255,0.1);
}

/* “Popular” badge at top-right of each card */
.pricing-card .badge {
  position: absolute;
  top: -12px;
  right: 16px;
  padding: 0.25rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 12px;
  background: linear-gradient(180deg,
              var(--colour-primary), var(--colour-primary-dark));
  color: #06101a;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* Plan header and subhead */
.plan-header {
  margin-bottom: 1.2rem;
}

.plan-name {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.plan-sub {
  font-size: 1rem;
  color: var(--colour-muted);
  margin-bottom: 0.0rem;
}

/* Price formatting; use .discount or .plan-contact to override colour/size */
.plan-price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--colour-white);
  margin: 0rem 0 0rem;
}

.plan-price .currency {
  font-size: 1.5rem;
  vertical-align: top;
}

.plan-price.discount {
  font-size: 2rem;
  color: var(--colour-white);
  margin-bottom: 1rem;
}

.plan-price.plan-contact {
  font-size: 1.2rem;
  color: var(--colour-white);
  margin-bottom: 1rem;
}

.plan-price.plan-contact a {
  color: var(--colour-white);
  font-weight: 600;
}

/* Features list – left‑aligned text with turquoise bullets */
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  flex: 1 1 auto;
}

.plan-features li {
  position: relative;
  padding-left: 2.1rem;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  color: var(--colour-white);
}

/* Turquoise bullet */
.plan-features li .check {
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: linear-gradient(180deg,
              var(--colour-primary), var(--colour-primary-dark));
  display: inline-block;
  content: '';
}

/* CTA button inside each card */
.plan-cta {
  display: inline-block;
  align-self: center;
  padding: 0.8rem 1.6rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  border-radius: 30px;
  background: linear-gradient(180deg,
              var(--colour-primary), var(--colour-primary-dark));
  color: #06101a;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  box-shadow: 0 6px 12px rgba(56,196,210,0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.plan-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(56,196,210,0.5);
}

.plan-cta:active {
  transform: translateY(0);
  box-shadow: 0 4px 8px rgba(56,196,210,0.4);
}

/* Small guarantee note */
.guarantee-pill {
  margin-top: auto;
  font-size: 0.8rem;
  color: #94b8d9;
  text-align: center;
}


.video-embed {
  position: relative;
  width: 100%;
  max-width: 960px;   /* how wide it can grow on desktop */
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

.video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Reset & style the hamburger toggle */
.nav-toggle{
  appearance:none;
  -webkit-appearance:none;
  background:transparent;
  border:0;
  padding:8px;
  margin-left:auto;
  display:inline-flex;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  cursor:pointer;
}
.nav-toggle:focus{ outline:none; }

/* The three lines */
.nav-toggle .bar{
  display:block;
  width:24px;
  height:2px;
  background: var(--colour-white);
  border-radius:2px;
}

/* Desktop vs mobile visibility */
@media (min-width:900px){
  .nav-toggle{ display:none; }
  .nav-links{ display:flex; } /* keep desktop links visible */
}
@media (max-width:899px){
  .nav-toggle{ display:inline-flex; }
  .nav-links{ display:none; } /* hide desktop links under 900px */
}

