/* ==========================================================================
   PlanDesk — Company Profile Site
   Plain vanilla CSS, no build step, no external dependencies.
   ========================================================================== */

:root {
  --color-primary: #5b2e8f;
  --color-primary-dark: #3e1f63;
  --color-primary-light: #f2ecfa;
  --color-accent: #8b5fbf;
  --color-text: #17171b;
  --color-text-soft: #5c5c66;
  --color-bg: #ffffff;
  --color-bg-alt: #f7f6fa;
  --color-border: #e6e4ec;
  --radius: 12px;
  --max-width: 1140px;
  --shadow: 0 10px 30px rgba(91, 46, 143, 0.10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

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

h1, h2, h3, h4 { margin: 0 0 12px; line-height: 1.25; font-weight: 700; }
p { margin: 0 0 12px; color: var(--color-text-soft); }

a { color: inherit; text-decoration: none; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 10px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover { background: var(--color-primary-dark); transform: translateY(-1px); }
.btn-outline {
  border-color: var(--color-border);
  color: var(--color-text);
  background: transparent;
}
.btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 25px;
  font-weight: 800;
  color: var(--color-text);
  white-space: nowrap;
}
.logo span { color: var(--color-primary); }
.logo-mark {
  display: block;
  height: 40px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
/* Header logo: bigger, with the tail intentionally overflowing past the header edge */
.header-inner .logo-mark {
  height: 84px;
  position: relative;
  top: 14px;
  z-index: 2;
}

.nav-desktop {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.nav-desktop a {
  font-weight: 700;
  font-size: 15px;
  color: var(--color-text-soft);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.nav-desktop a:hover { color: var(--color-primary); }

.nav-cta { white-space: nowrap; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 8px 24px 20px;
  border-top: 1px solid var(--color-border);
}
.nav-mobile a {
  padding: 12px 0;
  font-weight: 700;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
}
.nav-mobile a:last-child { border-bottom: none; }

body.nav-open .nav-mobile { display: flex; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--color-primary-light) 0%, #ffffff 100%);
  padding: 96px 0 88px;
  text-align: center;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.hero-blob-1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(91, 46, 143, 0.16) 0%, rgba(91, 46, 143, 0) 70%);
  top: -140px;
  left: -120px;
}
.hero-blob-2 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(23, 23, 27, 0.10) 0%, rgba(23, 23, 27, 0) 70%);
  bottom: -160px;
  right: -100px;
}
.hero-inner { position: relative; z-index: 1; }
.hero-inner { max-width: 860px; margin: 0 auto; }
.hero h1 { font-size: 44px; margin-bottom: 18px; }
.hero-sub { font-size: 18px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-highlights {
  list-style: none;
  display: flex;
  gap: 12px 28px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 36px 0 0;
  padding: 0;
}
.hero-highlights li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
}
.hero-highlights li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}

/* Stats */
.stats { background: var(--color-primary-dark); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 40px 24px;
}
.stat {
  text-align: center;
  color: #fff;
  padding: 8px;
}
.stat-number {
  display: block;
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

/* CTA Banner */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  padding: 72px 0;
  text-align: center;
}
.cta-blob {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  top: -200px;
  right: -120px;
  pointer-events: none;
}
.cta-banner-inner { position: relative; z-index: 1; max-width: 620px; margin: 0 auto; }
.cta-banner h2 { color: #fff; font-size: 30px; }
.cta-banner p { color: rgba(255, 255, 255, 0.85); font-size: 17px; margin-bottom: 28px; }
.btn-light {
  background: #fff;
  color: var(--color-primary-dark);
}
.btn-light:hover { background: var(--color-bg-alt); transform: translateY(-1px); }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--color-bg-alt); }

.section-heading { max-width: 640px; margin-bottom: 44px; }
.section-heading.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-heading h2 { font-size: 32px; }
.section-sub { font-size: 16px; }

.about-inner { max-width: 780px; }
.about-text {
  font-size: 17px;
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
}
.about-list-label {
  font-weight: 700;
  color: var(--color-text);
  margin: 24px 0 10px;
}
.about-list {
  columns: 2;
  column-gap: 24px;
}
.about-list li { break-inside: avoid; }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(91, 46, 143, 0.16);
}
.service-card h3 { font-size: 20px; }
.service-subtitle { font-size: 13px; font-weight: 500; color: var(--color-text-soft); }
.service-list {
  list-style: none;
  margin: 4px 0 14px;
  padding: 0;
}
.service-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--color-text-soft);
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary-light);
  border: 2px solid var(--color-primary);
}
.service-note {
  font-size: 13px;
  font-style: italic;
  color: var(--color-text-soft);
  margin: 0;
}
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.service-icon svg { width: 26px; height: 26px; }

/* For Participants */
#participants .section-heading { max-width: 900px; }
.participant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-bottom: 40px;
}
.participant-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.participant-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(91, 46, 143, 0.16);
}
.participant-card h3 { font-size: 20px; }
.participant-cta { text-align: center; }

/* Process (How It Works) */
.process-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.process-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}
.process-item:last-child { border-bottom: none; }
.process-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-item h3 { font-size: 17px; margin-bottom: 4px; }
.process-item p { margin: 0; font-size: 14px; }

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}
.feature { text-align: center; }
.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
}
.feature:hover .feature-icon {
  transform: scale(1.08);
  background: var(--color-primary);
  color: #fff;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 17px; }
.feature p { font-size: 14px; margin: 0; }

/* FAQ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 18px 22px;
  transition: border-color 0.2s ease;
}
.faq-item:hover { border-color: var(--color-primary); }
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  color: var(--color-text);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--color-primary);
  flex-shrink: 0;
  transition: transform 0.15s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin: 14px 0 0;
  font-size: 15px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  display: block;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
a.contact-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.contact-card .service-icon { margin: 0 auto 16px; }
.contact-card h3 { font-size: 16px; margin-bottom: 4px; }
.contact-card p { margin: 0; font-size: 14px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.ndis-badge {
  height: 28px;
  width: auto;
  opacity: 0.85;
}
.footer-inner p { margin: 0; font-size: 14px; }
.footer-logo { font-size: 18px; }

/* Blog */
.blog-card { display: flex; flex-direction: column; }
.blog-card p { flex: 1; }
.blog-card-link { color: var(--color-primary); font-weight: 700; font-size: 14px; }

.blog-container { max-width: 720px; margin: 0 auto; }
.blog-breadcrumb { font-size: 14px; margin-bottom: 20px; }
.blog-breadcrumb a { color: var(--color-primary); font-weight: 600; }
.blog-breadcrumb a:hover { text-decoration: underline; }
.blog-article h1 { font-size: 36px; margin-top: 4px; }
.blog-meta { font-size: 14px; color: var(--color-text-soft); margin-bottom: 32px; }
.blog-article h2 { font-size: 24px; margin-top: 40px; }
.blog-article p { font-size: 17px; line-height: 1.7; }

.blog-table-wrap { overflow-x: auto; margin: 20px 0; }
.blog-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.blog-table th, .blog-table td {
  text-align: left;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
}
.blog-table th { background: var(--color-bg-alt); font-weight: 700; }

.blog-cta {
  margin-top: 48px;
  padding: 32px;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  text-align: center;
}
.blog-cta p { font-weight: 700; color: var(--color-text); margin-bottom: 16px; }

/* Responsive */
@media (max-width: 860px) {
  .nav-desktop, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero h1 { font-size: 32px; }
  .hero-sub { font-size: 16px; }
  .section { padding: 64px 0; }

  .stats-grid { grid-template-columns: 1fr; gap: 28px; }
  .stat-number { font-size: 34px; }
  .cta-banner h2 { font-size: 24px; }

  .blog-article h1 { font-size: 28px; }
}
