/* ScanseQR Static Site Styles */

html {
  scroll-behavior: smooth;
}

:root {
  --primary-color: #ff6900;
  --primary-dark: #e55a00;
  --text-color: #ffffff;
  --bg-dark: #0a0e27;
  --bg-darker: #050812;
  --font-primary: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

body {
  font-family: var(--font-primary);
  background-color: var(--bg-dark);
  color: var(--text-color);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
header {
  background-color: var(--bg-darker);
  padding: 1rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-section img {
  height: 48px;
  width: auto;
}

.logo-section h1 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin: 0;
}

.logo-section a {
  text-decoration: none;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 1rem;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}

nav a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s;
}

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

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: var(--text-color);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  font-size: 1rem;
  transition: background-color 0.3s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--primary-dark);
}

/* Ensure header buttons keep button styling on hover */
nav a.btn,
nav a.btn:hover {
  color: var(--text-color);
}

.btn-secondary {
  background-color: transparent;
  border: 1px solid var(--text-color);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-outline {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: transparent;
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  font-size: 1rem;
  border: 1px solid var(--primary-color);
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--text-color);
  border-color: var(--primary-dark);
}

/* Main Content */
main {
  flex: 1;
  padding: 2rem 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
  min-height: 60vh;
}

.hero-content h1,
.hero-content h2 {
  font-family: var(--font-heading);
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Footer */
/* Footer */
footer {
  background-color: var(--bg-darker);
  padding: 3rem 2rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.footer-section h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: normal;
}

.footer-section h3 a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-color);
  text-decoration: none;
}

.footer-section h3 img {
  height: 32px;
  width: auto;
}

.footer-section nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
}

.footer-section a {
  color: var(--text-color);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer-section a:hover {
  opacity: 1;
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.social-links a {
  display: block;
}

.social-links img {
  width: 32px;
  height: 32px;
  display: block;
}

/* Content Pages */
.content-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0 3rem;
}

.tradie-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.content-page h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.content-page h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.content-page p {
  margin-bottom: 1rem;
  opacity: 0.9;
}

.content-page ul,
.content-page ol {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.content-page li {
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.content-page p a {
  color: var(--primary-dark);
}

.content-page p a:hover{
  color: var(--text-color);
}

/* Forms */
form {
  max-width: 600px;
  margin: 2rem 0;
}

.form-group {
  margin-bottom: 1.5rem;
}

form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

form input,
form textarea,
form select {
  width: 100%;
  padding: 0.75rem;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: var(--text-color);
  font-family: var(--font-primary);
  font-size: 1rem;
}

form input:focus,
form textarea:focus,
form select:focus {
  outline: none;
  border-color: var(--primary-color);
}

form select option {
  background-color: var(--bg-dark);
  color: var(--text-color);
  padding: 0.5rem;
}

form select option:hover,
form select option:focus {
  background-color: var(--primary-color);
}

form textarea {
  min-height: 150px;
  resize: vertical;
}

/* Multi-section form styles */
.form-section {
  margin-bottom: 3rem;
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-section h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-color);
}

.form-section h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* File upload styles */
form input[type="file"] {
  padding: 0.5rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  cursor: pointer;
}

form input[type="file"]:hover {
  border-color: var(--primary-color);
  background-color: rgba(255, 255, 255, 0.08);
}

form input[type="file"]::file-selector-button {
  padding: 0.5rem 1rem;
  background-color: var(--primary-color);
  color: var(--text-color);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  margin-right: 1rem;
  transition: background-color 0.3s;
}

form input[type="file"]::file-selector-button:hover {
  background-color: var(--primary-dark);
}

form small {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
}

/* Checkbox group styles */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: normal;
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin: 0;
  cursor: pointer;
  accent-color: var(--primary-color);
}

/* Door section styles */
.door-section {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: rgba(255, 255, 255, 0.02);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.door-section h3 {
  margin-top: 0;
  margin-bottom: 1rem;
}

/* Secondary button style */
.btn-secondary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-color);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  font-size: 1rem;
  transition: background-color 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  font-family: var(--font-primary);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: var(--primary-color);
}

/* Blog */
.blog-list {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.blog-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-item h3 {
  font-family: var(--font-heading);
  margin-bottom: 0.5rem;
}

.blog-item a {
  color: var(--text-color);
  text-decoration: none;
}

.blog-item a:hover {
  color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-content h2 {
    font-size: 2rem;
  }

  nav ul {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .header-container {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }
}

/* Skip to content link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-color);
  color: var(--text-color);
  padding: 8px;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

/* Utility Classes */
.contact-info {
  margin-top: 3rem;
}

/* HTMX Indicator */
.htmx-indicator {
  display: none;
}

.htmx-request .htmx-indicator {
  display: inline;
}

/* Form Response Messages */
#form-response {
  margin-top: 1rem;
}

#form-response .error {
  padding: 1rem;
  background-color: rgba(220, 53, 69, 0.2);
  border: 1px solid rgba(220, 53, 69, 0.5);
  border-radius: 4px;
  color: #ff6b6b;
}

#form-response .success {
  padding: 1rem;
  background-color: rgba(40, 167, 69, 0.2);
  border: 1px solid rgba(40, 167, 69, 0.5);
  border-radius: 4px;
  color: #51cf66;
}

/* Alert / notice box */
.alert-box {
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background-color: rgba(255, 255, 255, 0.06);
  padding: 1.5rem 1.75rem;
}

.alert-box h2 {
  margin-bottom: 0.75rem;
}

.alert-box p:last-of-type {
  margin-bottom: 0;
}

/* Tradie Page Styles */
.subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.section {
  margin-bottom: 3rem;
}

.section h2 {
  margin-bottom: 1.5rem;
}

.section p {
  line-height: 1.7;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.section p:last-child {
  margin-bottom: 0;
}

.section-list {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

.section-list li {
  margin-bottom: 0.75rem;
}

.section-cta {
  margin-top: 3rem;
}

/* Extra breathing room after final CTA on homepage */
main .section:last-of-type {
  margin-bottom: 4.5rem;
}

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

.feature-item {
  padding: 1.5rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary-color);
}

.feature-item p {
  margin-bottom: 0;
  opacity: 0.9;
}

.testimonial {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
  margin-top: 1.5rem;
}

.testimonial-text {
  font-size: 1.125rem;
  font-style: italic;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.testimonial-author {
  font-weight: 500;
  margin-bottom: 0;
  opacity: 0.8;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.pricing-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.pricing-description {
  margin-bottom: 1.5rem;
  opacity: 0.9;
  font-size: 0.95rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
  margin: 2rem 0 0.5rem;
  line-height: 1;
}

.pricing-currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-color);
  opacity: 0.9;
}

.pricing-amount {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
}

.pricing-period {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-color);
  opacity: 0.9;
}

.pricing-amount-large {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 2rem 0 0.5rem;
  display: block;
}

.pricing-period-text {
  margin-bottom: 2rem;
  opacity: 0.8;
  font-size: 0.95rem;
}

.pricing-features {
  list-style: none;
  margin: 2rem 0;
  padding: 0;
  text-align: left;
}

.pricing-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  opacity: 0.9;
  position: relative;
  padding-left: 1.5rem;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.pricing-card-popular {
  position: relative;
  border: 2px solid var(--primary-color);
  background-color: rgba(255, 105, 0, 0.08);
  transform: scale(1.05);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-color);
  color: var(--text-color);
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-card .btn {
  margin-top: 1.5rem;
  width: 100%;
}

.how-it-works {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.step {
  text-align: center;
  padding: 1.5rem;
}

.step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary-color);
}

.step p {
  margin-bottom: 0;
  opacity: 0.9;
}

/* Tradie Hero Section */
.tradie-hero {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.tradie-hero-image {
  order: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tradie-hero-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(255, 105, 0, 0.2);
}

.tradie-hero-content {
  order: 1;
}

.tradie-hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.tradie-hero-content .subtitle {
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.tradie-hero-content .lead {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
  .tradie-hero {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .tradie-hero-image {
    order: 1;
  }

  .tradie-hero-image img {
    max-width: 300px;
  }
  
  .tradie-hero-content {
    order: 2;
  }

  .tradie-hero-content h1 {
    font-size: 2rem;
  }

  .tradie-hero-content .subtitle {
    font-size: 1.125rem;
  }

  .tradie-hero-content .lead {
    font-size: 1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .cta-buttons .btn {
    width: 100%;
    text-align: center;
  }
  
  .features-grid,
  .pricing-grid,
  .how-it-works {
    grid-template-columns: 1fr;
  }

  .pricing-card-popular {
    transform: scale(1);
  }

  .pricing-amount {
    font-size: 2.5rem;
  }

  .pricing-currency {
    font-size: 1.25rem;
  }

  .pricing-period {
    font-size: 1.25rem;
  }
}

/* ================================
   Segment Landing Page Styles
   ================================ */

.segment-hero {
  padding: 4rem 0 3rem;
  max-width: 800px;
}

.segment-hero h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.segment-hero .subtitle {
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.segment-hero .lead {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.trust-badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(255, 105, 0, 0.45);
  border-radius: 20px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 105, 0, 0.07);
}

.compliance-note {
  background-color: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--primary-color);
  padding: 1.25rem 1.5rem;
  border-radius: 0 6px 6px 0;
  margin-top: 2rem;
}

.compliance-note p {
  font-size: 0.95rem;
  margin-bottom: 0;
  opacity: 0.85;
}

.section-cta-block {
  background-color: rgba(255, 105, 0, 0.07);
  border: 1px solid rgba(255, 105, 0, 0.25);
  border-radius: 8px;
  padding: 2.5rem;
  text-align: center;
  margin-top: 1rem;
}

.section-cta-block h2 {
  margin-bottom: 0.75rem;
}

.section-cta-block p {
  margin-bottom: 1.5rem;
  opacity: 0.85;
}

/* ================================
   Segments Review Page
   ================================ */

.preview-notice {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.segments-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.segment-card {
  display: grid;
  grid-template-columns: 160px 1fr 200px;
  gap: 1.5rem;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background-color: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  text-decoration: none;
  color: var(--text-color);
  transition: border-color 0.2s, background-color 0.2s;
}

.segment-card:hover {
  border-color: rgba(255, 105, 0, 0.4);
  background-color: rgba(255, 255, 255, 0.07);
}

.segment-card-route {
  font-family: monospace;
  font-size: 0.9rem;
  color: var(--primary-color);
}

.segment-card-info h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.segment-card-info p {
  font-size: 0.875rem;
  opacity: 0.65;
  margin: 0;
}

.segment-card-audience {
  font-size: 0.8rem;
  opacity: 0.45;
  text-align: right;
  line-height: 1.5;
}

/* Segments review page helpers */
.segments-intro {
  opacity: 0.7;
  margin-bottom: 0.5rem;
}

.segments-note {
  opacity: 0.55;
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

.segments-reviewer-notes {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.segments-reviewer-notes h2 {
  margin-bottom: 1rem;
}

.segments-reviewer-notes ul {
  margin-left: 1.5rem;
}

.segments-reviewer-notes li {
  opacity: 0.75;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

/* Footer brand row (logo + text inline) */
.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-brand-row img {
  height: 32px;
  width: auto;
  display: block;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.footer-brand-text span {
  font-size: 0.78rem;
  opacity: 0.45;
  line-height: 1.4;
}

/* Footer sector links */
.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-links-col-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.4;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.footer-links-col a {
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .segment-hero h1 {
    font-size: 2.1rem;
  }

  .segment-hero .subtitle {
    font-size: 1.1rem;
  }

  .segment-card {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .segment-card-audience {
    display: none;
  }

  .segment-card-route {
    font-size: 0.85rem;
  }
}

/* ================================
   Strata Rich Landing Page
   ================================ */

/* Sticky demo bar (strata page: sits below segment nav — see .strata-page) */
.sticky-demo-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 199;
  background-color: var(--bg-darker);
  border-bottom: 1px solid rgba(255, 105, 0, 0.3);
  padding: 0.6rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transform: translateY(-100%);
  transition: transform 0.25s ease;
  pointer-events: none;
}

.sticky-demo-bar.visible {
  transform: translateY(0);
  pointer-events: auto;
}

.sticky-demo-bar-text {
  font-size: 0.875rem;
  opacity: 0.7;
}

.sticky-demo-bar .btn {
  padding: 0.4rem 1rem;
  font-size: 0.875rem;
}


.strata-refactor-link-wrap {
  margin-top: 1.25rem;
}

/* Hero visual placeholder */
.hero-visual {
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 105, 0, 0.3);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
  text-align: center;
  padding: 2rem;
}

.hero-visual-icon {
  font-size: 2.5rem;
  line-height: 1;
  opacity: 0.3;
}

/* Hero trust line */
.hero-trust-line {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1.5rem;
  row-gap: 0.35rem;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  opacity: 0.55;
}

.hero-trust-line span::before {
  content: "✓  ";
  color: var(--primary-color);
  opacity: 1;
}

/* Persona selector */
.persona-selector {
  margin-bottom: 4rem;
}

.persona-selector-heading {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.45;
  font-weight: 600;
  margin-bottom: 1rem;
}

.persona-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.persona-card {
  display: block;
  padding: 1.5rem 1.5rem 2.5rem;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-color);
  position: relative;
  transition: border-color 0.2s, background-color 0.2s, transform 0.15s;
}

.persona-card:hover {
  border-color: rgba(255, 105, 0, 0.5);
  background-color: rgba(255, 105, 0, 0.06);
  transform: translateY(-2px);
}

.persona-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-color);
}

.persona-card p {
  font-size: 0.85rem;
  opacity: 0.55;
  margin: 0;
  line-height: 1.5;
}

.persona-card-arrow {
  position: absolute;
  bottom: 1rem;
  right: 1.25rem;
  color: var(--primary-color);
  opacity: 0.45;
  font-size: 1.1rem;
  transition: opacity 0.2s, transform 0.15s;
}

.persona-card:hover .persona-card-arrow {
  opacity: 1;
  transform: translateY(3px);
}

/* Social proof */
.social-proof {
  margin-bottom: 4rem;
}

.pull-quote-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.pull-quote {
  background-color: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-top: 3px solid var(--primary-color);
  padding: 1.75rem;
}

.pull-quote-text {
  font-size: 1rem;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1rem;
  opacity: 0.88;
}

.pull-quote-text::before {
  content: "\201C";
  color: var(--primary-color);
  font-size: 1.4em;
  line-height: 0;
  vertical-align: -0.35em;
  margin-right: 0.1em;
}

.pull-quote-text::after {
  content: "\201D";
  color: var(--primary-color);
  font-size: 1.4em;
  line-height: 0;
  vertical-align: -0.35em;
  margin-left: 0.1em;
}

.pull-quote-attribution {
  font-size: 0.85rem;
  line-height: 1.5;
  opacity: 0.55;
}

.pull-quote-name {
  display: block;
  font-weight: 600;
  opacity: 1;
  color: var(--text-color);
  margin-bottom: 0.15rem;
}

.logo-strip-placeholder {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1.5rem 2rem;
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.3;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Feature tags */
.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.feature-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  font-size: 0.78rem;
  opacity: 0.65;
}

/* Soft callout */
.soft-callout {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  padding: 1.1rem 1.5rem;
  margin-top: 2rem;
  font-size: 0.875rem;
  opacity: 0.7;
  line-height: 1.6;
}

.soft-callout a {
  color: var(--primary-color);
}

/* Persona sections */
.persona-section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 3rem;
  margin-bottom: 3.5rem;
  scroll-margin-top: 70px;
}

.persona-section-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.persona-section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.persona-section p {
  margin-bottom: 1rem;
  opacity: 0.88;
  line-height: 1.7;
}

.persona-section-quote {
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--primary-color);
  border-radius: 0 6px 6px 0;
  padding: 1.1rem 1.5rem;
  margin-top: 2rem;
  font-size: 0.875rem;
  opacity: 0.55;
  font-style: italic;
  line-height: 1.65;
}

/* Compliance section */
.compliance-section {
  margin-bottom: 4rem;
}

.compliance-section > p {
  opacity: 0.85;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.compliance-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  padding: 1.25rem 1rem 1rem;
  text-align: center;
}

.compliance-item-state {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.compliance-item-act {
  font-size: 0.72rem;
  opacity: 0.5;
  line-height: 1.5;
  display: block;
}

.compliance-closing {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

/* Inline email capture */
.email-capture {
  background: rgba(255, 105, 0, 0.06);
  border: 1px solid rgba(255, 105, 0, 0.2);
  border-radius: 8px;
  padding: 1.75rem 2rem;
  margin-top: 1.5rem;
}

.email-capture h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text-color);
}

.email-capture-subtext {
  font-size: 0.825rem;
  opacity: 0.55;
  margin-bottom: 1rem;
  display: block;
}

.email-capture form {
  margin: 0;
  max-width: none;
}

.email-capture-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.email-capture-row input {
  flex: 1 1 180px;
  min-width: 0;
  padding: 0.6rem 0.9rem;
  font-size: 0.9rem;
}

.email-capture-row .btn {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
}

/* Integration cards */
.integration-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

.integration-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  padding: 1.75rem;
}

.integration-card-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.6rem;
  display: block;
}

.integration-card p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin: 0;
  line-height: 1.7;
}

/* Final CTA section */
.final-cta-section {
  background: rgba(255, 105, 0, 0.07);
  border: 1px solid rgba(255, 105, 0, 0.2);
  border-radius: 8px;
  padding: 3rem 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
}

.final-cta-section h2 {
  font-size: 1.85rem;
  margin-bottom: 0.75rem;
}

.final-cta-section > p {
  opacity: 0.8;
  max-width: 520px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.final-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.btn-ghost {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}

.btn-ghost:hover {
  color: var(--text-color);
  border-color: rgba(255, 255, 255, 0.6);
  background-color: rgba(255, 255, 255, 0.06);
}

/* Responsive - strata page extras */
@media (max-width: 900px) {
  .compliance-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .sticky-demo-bar-text {
    display: none;
  }

  .persona-cards {
    grid-template-columns: 1fr;
  }

  .pull-quote-pair {
    grid-template-columns: 1fr;
  }

  .compliance-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .integration-cards {
    grid-template-columns: 1fr;
  }

  .final-cta-section h2 {
    font-size: 1.5rem;
  }

  .final-cta-buttons {
    flex-direction: column;
  }

  .email-capture-row {
    flex-direction: column;
  }

  .persona-section h2 {
    font-size: 1.65rem;
  }
}


/* ================================================
   Screenshot callout - product UI screenshot in page
   ================================================ */

.screenshot-callout {
  margin: 2.5rem 0 1rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
}

.screenshot-callout img {
  width: 100%;
  height: auto;
  display: block;
}

.screenshot-callout figcaption {
  padding: 0.6rem 1rem;
  font-size: 0.75rem;
  opacity: 0.4;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-style: italic;
  line-height: 1.5;
}


/* ================================================
   Segment landing pages (Residential, Commercial, Medical, Coworking, Education)
   ================================================ */

/* Custom sticky nav */
.residential-nav,
.commercial-nav,
.medical-nav,
.coworking-nav,
.education-nav,
.strata-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--bg-darker);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.75rem 2rem;
}

.residential-nav-inner,
.commercial-nav-inner,
.medical-nav-inner,
.coworking-nav-inner,
.education-nav-inner,
.strata-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem 1.5rem;
}

.residential-nav-logo,
.commercial-nav-logo,
.medical-nav-logo,
.coworking-nav-logo,
.education-nav-logo,
.strata-nav-logo {
  justify-self: start;
}

.residential-fragment-anchor,
.commercial-fragment-anchor,
.medical-fragment-anchor,
.coworking-fragment-anchor,
.education-fragment-anchor,
.strata-fragment-anchor {
  display: block;
  height: 0;
  scroll-margin-top: 72px;
}

.residential-product-note {
  font-size: 0.8rem;
  opacity: 0.45;
  font-style: italic;
  line-height: 1.55;
  margin: 1rem 0 0;
}

.residential-site-footer,
.commercial-site-footer,
.medical-site-footer,
.coworking-site-footer,
.education-site-footer,
.strata-site-footer {
  margin-top: 3rem;
}

.residential-footer-grid,
.commercial-footer-grid,
.medical-footer-grid,
.coworking-footer-grid,
.education-footer-grid,
.strata-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, auto);
  gap: 2rem;
  align-items: flex-start;
}

.residential-footer-brand .footer-brand-text a,
.commercial-footer-brand .footer-brand-text a,
.medical-footer-brand .footer-brand-text a,
.coworking-footer-brand .footer-brand-text a,
.education-footer-brand .footer-brand-text a,
.strata-footer-brand .footer-brand-text a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.residential-footer-brand .footer-brand-text a:hover,
.commercial-footer-brand .footer-brand-text a:hover,
.medical-footer-brand .footer-brand-text a:hover,
.coworking-footer-brand .footer-brand-text a:hover,
.education-footer-brand .footer-brand-text a:hover,
.strata-footer-brand .footer-brand-text a:hover {
  color: var(--primary-color);
}

.residential-footer-legal nav ul,
.commercial-footer-legal nav ul,
.medical-footer-legal nav ul,
.coworking-footer-legal nav ul,
.education-footer-legal nav ul,
.strata-footer-legal nav ul {
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}

.residential-footer-social,
.commercial-footer-social,
.medical-footer-social,
.coworking-footer-social,
.education-footer-social,
.strata-footer-social {
  margin-top: 1rem;
}

@media (max-width: 900px) {
  .residential-footer-grid,
  .commercial-footer-grid,
  .medical-footer-grid,
  .coworking-footer-grid,
  .education-footer-grid,
  .strata-footer-grid {
    grid-template-columns: 1fr;
  }
}

.residential-nav-logo img,
.commercial-nav-logo img,
.medical-nav-logo img,
.coworking-nav-logo img,
.education-nav-logo img,
.strata-nav-logo img {
  height: 36px;
  width: auto;
  display: block;
}

.residential-nav-links,
.commercial-nav-links,
.medical-nav-links,
.coworking-nav-links,
.education-nav-links,
.strata-nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-self: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.residential-nav-links a,
.commercial-nav-links a,
.medical-nav-links a,
.coworking-nav-links a,
.education-nav-links a,
.strata-nav-links a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.875rem;
  opacity: 0.6;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.residential-nav-links a:hover,
.commercial-nav-links a:hover,
.medical-nav-links a:hover,
.coworking-nav-links a:hover,
.education-nav-links a:hover,
.strata-nav-links a:hover {
  opacity: 1;
}

.residential-nav-actions,
.commercial-nav-actions,
.medical-nav-actions,
.coworking-nav-actions,
.education-nav-actions,
.strata-nav-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-self: end;
  flex-shrink: 0;
}

.residential-nav-actions .btn,
.commercial-nav-actions .btn,
.medical-nav-actions .btn,
.coworking-nav-actions .btn,
.education-nav-actions .btn,
.strata-nav-actions .btn {
  padding: 0.45rem 1.1rem;
  font-size: 0.875rem;
}

.residential-nav-actions .btn-ghost,
.commercial-nav-actions .btn-ghost,
.medical-nav-actions .btn-ghost,
.coworking-nav-actions .btn-ghost,
.education-nav-actions .btn-ghost,
.strata-nav-actions .btn-ghost {
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
}

/* Hero - wider text column */
.residential-hero,
.commercial-hero,
.medical-hero,
.coworking-hero,
.education-hero,
.strata-hero {
  grid-template-columns: 2.5fr 1fr;
}

/* Scroll offset for sticky segment nav */
.residential-anchor,
.commercial-anchor,
.medical-anchor,
.coworking-anchor,
.education-anchor,
.strata-anchor {
  scroll-margin-top: 64px;
}

/* Subtle pull quotes - discreet, typographic only */
.residential-quotes,
.commercial-quotes,
.medical-quotes,
.coworking-quotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 1rem;
}

.residential-quote,
.commercial-quote,
.medical-quote,
.coworking-quote {
  position: relative;
}

.residential-quote-text,
.commercial-quote-text,
.medical-quote-text,
.coworking-quote-text {
  font-size: 1rem;
  font-style: italic;
  line-height: 1.75;
  opacity: 0.75;
  margin-bottom: 1rem;
  padding-left: 1.75rem;
  position: relative;
}

.residential-quote-text::before,
.commercial-quote-text::before,
.medical-quote-text::before,
.coworking-quote-text::before {
  content: "\201C";
  position: absolute;
  left: 0;
  top: -0.15em;
  color: var(--primary-color);
  font-size: 2.2em;
  line-height: 1;
  opacity: 0.45;
  font-style: normal;
}

.residential-quote-attribution,
.commercial-quote-attribution,
.medical-quote-attribution,
.coworking-quote-attribution {
  font-size: 0.75rem;
  opacity: 0.35;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-left: 1.75rem;
}

/* Medical page: three testimonial cards */
.medical-quotes-trio {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* Soft attribution line (refactor.red integrations) */
.soft-attribution {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.8rem;
  font-style: italic;
  opacity: 0.4;
  line-height: 1.6;
}

.soft-attribution a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* How-it-works steps - residential variant */
.residential-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

.residential-step {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 1rem;
  align-items: start;
}

.residential-step-number {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--primary-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.residential-step-content strong {
  display: block;
  margin-bottom: 0.4rem;
  opacity: 0.9;
}

.residential-step-content p {
  font-size: 0.9rem;
  opacity: 0.65;
  line-height: 1.6;
}

/* Segment landing closing line (how it works / data note) */
.residential-data-note,
.commercial-data-note,
.medical-data-note,
.coworking-data-note,
.education-data-note,
.strata-data-note {
  font-size: 0.8rem;
  opacity: 0.4;
  margin-top: 2rem;
  font-style: italic;
}

/* Responsive - segment landing nav & heroes */
@media (max-width: 900px) {
  .residential-nav-links,
  .commercial-nav-links,
  .medical-nav-links,
  .coworking-nav-links,
  .education-nav-links,
  .strata-nav-links {
    display: none;
  }

  .residential-hero,
  .commercial-hero,
  .medical-hero,
  .coworking-hero,
  .education-hero,
  .strata-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .residential-nav,
  .commercial-nav,
  .medical-nav,
  .coworking-nav,
  .education-nav,
  .strata-nav {
    padding: 0.65rem 1rem;
  }

  .residential-quotes,
  .commercial-quotes,
  .medical-quotes,
  .coworking-quotes {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 0;
  }

  .residential-quote-text,
  .commercial-quote-text,
  .medical-quote-text,
  .coworking-quote-text {
    font-size: 0.95rem;
  }
}

/* Coworking: hero visual and customer logo strip */
.coworking-hero-visual.tradie-hero-image {
  align-self: stretch;
}

.strata-hero-visual.tradie-hero-image {
  align-self: stretch;
}

.coworking-logo-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 1rem 1.25rem;
  padding: 1.25rem 0 2.75rem;
  margin-top: 0.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.coworking-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 200px;
  max-width: min(320px, 100%);
  min-height: 5.5rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(165deg, #f8f9fb 0%, #eef0f4 100%);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 8px 28px rgba(0, 0, 0, 0.35);
}

.coworking-logo-item img {
  display: block;
  max-height: 72px;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 1;
}

@media (max-width: 768px) {
  .coworking-logo-strip {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0 2.25rem;
  }

  .coworking-logo-item {
    flex: 0 1 auto;
    width: 100%;
    max-width: 280px;
    min-height: 5rem;
    padding: 0.85rem 1.25rem;
  }

  .coworking-logo-item img {
    max-height: 64px;
  }
}

/* Education landing: hero visual and scenario callouts (not testimonials) */
.education-hero-visual.tradie-hero-image {
  align-self: stretch;
}

.education-scenario {
  margin: 1.75rem 0 0.25rem;
  padding: 1.2rem 1.35rem;
  border-radius: 0 10px 10px 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid var(--primary-color);
  background: rgba(255, 105, 0, 0.07);
}

.education-scenario p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  font-style: italic;
  opacity: 0.88;
}
