/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #282459;
  line-height: 1.7em;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

h1, h2, h3, h4 {
  font-family: 'Comfortaa', cursive;
  color: #e6326d;
  font-weight: 700;
  line-height: 1.4em;
}

p {
  margin-bottom: 1em;
}

.container {
  width: 80%;
  max-width: 1080px;
  margin: 0 auto;
}

/* ===== Top Bar ===== */
.top-bar {
  background-image: url('../images/gradient-bg.jpg');
  background-size: cover;
  background-color: #000;
  padding: 8px 0;
}

.top-bar .container {
  text-align: right;
}

.top-bar a {
  color: #fff;
  font-family: 'Comfortaa', cursive;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.top-bar a:hover {
  opacity: 0.8;
}

/* ===== Header / Navigation ===== */
.site-header {
  background-image: url('../images/gradient-bg.jpg');
  background-size: cover;
  background-color: #000;
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 12px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.site-logo {
  margin-right: 30px;
}

.site-logo img {
  max-height: 60px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0;
}

.nav-menu li {
  position: relative;
}

.nav-menu li a {
  color: #fff;
  font-family: 'Comfortaa', cursive;
  font-size: 15px;
  font-weight: 700;
  padding: 10px 14px;
  display: block;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.nav-menu li a:hover {
  opacity: 0.8;
}

/* Dropdown */
.has-dropdown .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #000;
  border: 1px solid #29245C;
  min-width: 200px;
  z-index: 100;
  padding: 8px 0;
}

.has-dropdown:hover .dropdown {
  display: block;
}

.dropdown li a {
  padding: 8px 20px;
  font-size: 14px;
}

.dropdown li a:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  margin-left: auto;
}

.mobile-menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: #fff;
  transition: transform 0.3s, opacity 0.3s;
}

.mobile-menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ===== Hero Section ===== */
.hero {
  background-image: url('../images/gradient-bg.jpg'), linear-gradient(90deg, #7a3ce3 0%, #f2295b 100%);
  background-size: cover;
  background-position: center;
  padding: 80px 0 60px;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-text {
  flex: 1;
  min-width: 0;
}

.hero-text h2 {
  font-size: 50px;
  color: #fff;
  margin-bottom: 20px;
}

.hero-text h2 em {
  font-style: italic;
}

.hero-text p {
  color: #fff;
  font-size: 16px;
  line-height: 1.7em;
  margin-bottom: 30px;
}

.hero-image {
  flex: 1;
  min-width: 0;
}

.hero-image img {
  border-radius: 0 200px 0 0;
  width: 100%;
  object-fit: cover;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-family: 'Comfortaa', cursive;
  font-weight: 700;
  font-size: 20px;
  padding: 0.3em 1em;
  border-radius: 12px;
  transition: all 300ms ease;
  cursor: pointer;
  text-align: center;
  border: 2px solid transparent;
  line-height: 1.7em;
}

.btn-primary {
  background-color: #c32987;
  color: #fff;
  border-color: #fff;
}

.btn-primary:hover {
  background-color: #a82275;
  border-radius: 0;
}

.btn-secondary {
  background-color: #fff;
  color: #000;
  border-color: #29245C;
}

.btn-secondary:hover {
  background-color: #f0f0f0;
  border-radius: 0;
}

.btn-outline-light {
  background-color: #c32987;
  color: #fff;
  border-color: #fff;
}

.btn-outline-light:hover {
  background-color: #a82275;
  border-radius: 0;
}

/* ===== What is Tender Copilot Section ===== */
.what-is-tc {
  background-color: #29245c;
  padding: 80px 0;
}

.what-is-tc .container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.what-is-tc-text {
  flex: 1;
  min-width: 0;
}

.what-is-tc-text p.section-label {
  color: #fff;
  font-size: 16px;
  margin-bottom: 8px;
  font-weight: 400;
}

.what-is-tc-text p.section-body {
  color: #fff;
  font-size: 16px;
  line-height: 1.7em;
}

.what-is-tc-text em {
  font-style: italic;
}

.what-is-tc-image {
  flex: 1;
  min-width: 0;
}

/* ===== Stats / Circle Counters ===== */
.stats-section {
  padding: 80px 0;
  background: #fff;
}

.stats-grid {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.circle-counter {
  text-align: center;
  width: 200px;
}

.circle-counter svg {
  width: 130px;
  height: 130px;
  transform: rotate(-90deg);
}

.circle-bg {
  fill: none;
  stroke: rgba(41, 36, 92, 0.1);
  stroke-width: 8;
}

.circle-progress {
  fill: none;
  stroke: #29245C;
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.1s;
}

.circle-counter .circle-wrap {
  position: relative;
  display: inline-block;
}

.circle-counter .circle-number-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Comfortaa', cursive;
  font-weight: 700;
  font-size: 36px;
  color: #29245C;
}

.circle-counter .circle-number-wrap .percent-sign {
  font-size: 24px;
}

.circle-counter h3 {
  font-family: 'Comfortaa', cursive;
  font-size: 16px;
  color: #29245C;
  margin-top: 15px;
  font-weight: 700;
  line-height: 1.4em;
}

/* ===== CTA Banner ===== */
.cta-banner {
  background-image: url('../images/gradient-bg.jpg'), linear-gradient(90deg, #7a3ce3 0%, #f2295b 100%);
  background-size: cover;
  background-position: center;
  padding: 60px 0;
  text-align: center;
}

.cta-banner h2 {
  color: #fff;
  font-size: 36px;
  margin-bottom: 25px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner h2 span {
  text-decoration: underline;
}

/* ===== Feature Sections ===== */
.feature-section {
  padding: 80px 0;
}

.feature-section .container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.feature-text {
  flex: 1;
  min-width: 0;
}

.feature-text h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #e6326d;
  line-height: 1.3em;
}

.feature-text h1 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #e6326d;
  line-height: 1.3em;
}

.feature-text p {
  font-size: 16px;
  line-height: 1.7em;
  color: #282459;
}

.feature-image {
  flex: 1;
  min-width: 0;
}

.feature-section.alt .container {
  flex-direction: row-reverse;
}

/* Chat to Docs section - white bg with light tint */
.feature-chat-to-docs {
  background-color: #fff;
}

/* Lightning Draft section */
.feature-lightning-draft {
  background-color: #f9f9fb;
}

/* Bid Library section with divider */
.feature-bid-library {
  position: relative;
  padding-top: 100px;
}

.section-divider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.section-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

.section-divider .shape-fill {
  fill: #f9f9fb;
}

/* ===== Final CTA Section ===== */
.final-cta {
  background-image: url('../images/gradient-bg.jpg'), linear-gradient(90deg, #7a3ce3 0%, #f2295b 100%);
  background-size: cover;
  background-position: center;
  padding: 80px 0;
}

.final-cta .container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.final-cta-text {
  flex: 1;
  min-width: 0;
}

.final-cta-text h2 {
  color: #fff;
  font-size: 40px;
  margin-bottom: 25px;
}

.final-cta-image {
  flex: 1;
  min-width: 0;
}

/* ===== Demo Section ===== */
.demo-section {
  padding: 80px 0;
  background: #29245c;
}

.demo-section .container {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

.demo-text {
  flex: 2;
  min-width: 0;
}

.demo-text h2 {
  color: #fff;
  font-size: 42px;
  margin-bottom: 15px;
}

.demo-text p {
  color: #fff;
  font-size: 16px;
  line-height: 1.7em;
}

.demo-form-wrap {
  flex: 3;
  min-width: 0;
}

.demo-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.demo-form .form-row {
  display: flex;
  gap: 15px;
}

.demo-form input,
.demo-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}

.demo-form input::placeholder,
.demo-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.demo-form input:focus,
.demo-form textarea:focus {
  border-color: #e6326d;
}

.demo-form textarea {
  min-height: 120px;
  resize: vertical;
}

.demo-form .btn {
  align-self: flex-start;
  padding: 12px 40px;
}

/* ===== Footer ===== */
.site-footer {
  background-color: #1a1744;
  padding: 60px 0 0;
  color: #fff;
}

.footer-columns {
  display: flex;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col {
  flex: 1;
}

.footer-col h4 {
  font-family: 'Comfortaa', cursive;
  font-size: 20px;
  color: #fff;
  margin-bottom: 15px;
  font-weight: 700;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 2;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #e6326d;
}

.footer-logo {
  text-align: center;
  padding: 30px 0;
}

.footer-logo img {
  max-height: 50px;
  margin: 0 auto;
}

.footer-copyright {
  text-align: center;
  padding: 20px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7em;
}

.footer-badges {
  background: #13103a;
  padding: 40px 0;
}

.footer-badges .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
}

.footer-badges img {
  max-height: 80px;
  width: auto;
}

/* ===== Cookie Banner ===== */
#cookie-banner {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #1a1744;
  color: #fff;
  padding: 20px 25px;
  border-radius: 12px;
  z-index: 9999;
  max-width: 400px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  flex-direction: column;
  gap: 15px;
  font-size: 14px;
  line-height: 1.5;
}

#cookie-banner .cookie-logo img {
  max-height: 30px;
}

#cookie-banner .cookie-actions {
  display: flex;
  gap: 10px;
}

#cookie-banner .btn {
  font-size: 13px;
  padding: 8px 20px;
}

/* ===== Scroll Animations ===== */
.fade-in,
.fade-left,
.fade-right,
.fade-bottom {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-bottom {
  transform: translateY(40px);
}

.fade-left {
  transform: translateX(-40px);
}

.fade-right {
  transform: translateX(40px);
}

.fade-in.animated,
.fade-left.animated,
.fade-right.animated,
.fade-bottom.animated {
  opacity: 1;
  transform: translate(0, 0);
}

/* ===== Responsive: Tablet (768-980px) ===== */
@media (max-width: 980px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .header-inner {
    justify-content: space-between;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #000;
    padding: 15px 0;
    margin-top: 10px;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu li a {
    padding: 12px 20px;
  }

  .has-dropdown .dropdown {
    position: static;
    border: none;
    padding-left: 20px;
    display: none;
  }

  .has-dropdown.dropdown-open .dropdown {
    display: block;
  }

  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-text h2 {
    font-size: 36px;
  }

  .what-is-tc .container {
    flex-direction: column;
  }

  .feature-section .container,
  .feature-section.alt .container {
    flex-direction: column;
  }

  .final-cta .container {
    flex-direction: column;
    text-align: center;
  }

  .demo-section .container {
    flex-direction: column;
  }

  .footer-columns {
    flex-direction: column;
    gap: 30px;
  }

  .stats-grid {
    gap: 40px;
  }

  .container {
    width: 90%;
  }
}

/* ===== Responsive: Mobile (<=767px) ===== */
@media (max-width: 767px) {
  .hero {
    padding: 50px 0 40px;
  }

  .hero-text h2 {
    font-size: 28px;
  }

  .feature-text h2,
  .feature-text h1 {
    font-size: 26px;
  }

  .cta-banner h2 {
    font-size: 26px;
  }

  .final-cta-text h2 {
    font-size: 28px;
  }

  .demo-text h2 {
    font-size: 30px;
  }

  .stats-grid {
    gap: 30px;
  }

  .circle-counter {
    width: 150px;
  }

  .circle-counter svg {
    width: 100px;
    height: 100px;
  }

  .circle-counter .circle-number-wrap {
    font-size: 28px;
  }

  .demo-form .form-row {
    flex-direction: column;
  }

  .footer-badges .container {
    flex-direction: column;
    gap: 30px;
  }

  .btn {
    font-size: 16px;
  }

  .container {
    width: 92%;
  }

  .top-bar {
    display: none;
  }
}

/* ==========================================================================
   FORMS, PAGES & LEAD-CAPTURE COMPONENTS (added for self-hosted forms)
   ========================================================================== */

/* ----- Nav CTA highlight ----- */
.nav-menu li a.nav-cta {
  background: #c32987;
  border-radius: 8px;
  margin-left: 6px;
  border: 2px solid #fff;
}
.nav-menu li a.nav-cta:hover {
  background: #a82275;
  opacity: 1;
}

/* ----- Shared field / form UX ----- */
.field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.field-error {
  display: block;
  color: #ffd2df;
  font-size: 13px;
  min-height: 0;
  line-height: 1.4;
}

.field.has-error input,
.field.has-error textarea {
  border-color: #ff5c8a !important;
  background: rgba(255, 92, 138, 0.08);
}

/* Honeypot — visually hidden, kept in the layout for bots to find */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Submit button spinner + loading state */
.js-lead-form button[type="submit"] {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: tc-spin 0.7s linear infinite;
}
.js-lead-form.is-loading .btn-spinner {
  display: inline-block;
}
.js-lead-form.is-loading button[type="submit"] {
  opacity: 0.85;
  cursor: progress;
}
@keyframes tc-spin {
  to { transform: rotate(360deg); }
}

/* Status message under a form */
.form-status {
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 500;
  min-height: 1.2em;
}
.form-status:empty {
  min-height: 0;
  margin: 0;
}
.form-status.is-success {
  color: #7ef2b0;
}
.form-status.is-error {
  color: #ffd2df;
}
.form-status.is-pending {
  color: rgba(255, 255, 255, 0.75);
}

/* Demo section extras */
.demo-benefits {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}
.demo-benefits li {
  color: #fff;
  font-size: 15px;
  padding: 6px 0 6px 28px;
  position: relative;
  line-height: 1.5;
}
.demo-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 14px;
  height: 8px;
  border-left: 2px solid #e6326d;
  border-bottom: 2px solid #e6326d;
  transform: rotate(-45deg);
}

/* ----- Page hero (contact / careers / thank-you / 404) ----- */
.page-hero {
  background-image: url('../images/gradient-bg.jpg'), linear-gradient(90deg, #7a3ce3 0%, #f2295b 100%);
  background-size: cover;
  background-position: center;
  padding: 70px 0 60px;
  text-align: center;
}
.page-hero h1 {
  color: #fff;
  font-size: 44px;
  margin-bottom: 16px;
}
.page-hero p {
  color: #fff;
  font-size: 17px;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7em;
}
.simple-hero {
  padding: 90px 0 100px;
}
.thank-you-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* ----- Contact page ----- */
.contact-section {
  padding: 70px 0;
  background: #fff;
}
.contact-section .container {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}
.contact-info {
  flex: 2;
  min-width: 0;
}
.contact-info h2 {
  font-size: 30px;
  margin-bottom: 12px;
}
.contact-info > p {
  color: #282459;
  margin-bottom: 24px;
}
.contact-detail {
  margin-bottom: 22px;
}
.contact-detail h4 {
  font-size: 16px;
  color: #29245c;
  margin-bottom: 4px;
}
.contact-detail p {
  color: #555;
  font-size: 15px;
  margin: 0;
  line-height: 1.6;
}
.contact-detail a {
  color: #c32987;
  font-weight: 600;
}
.contact-detail a:hover {
  text-decoration: underline;
}
.contact-form-wrap {
  flex: 3;
  min-width: 0;
  background: #29245c;
  padding: 36px;
  border-radius: 16px;
}

/* ----- Careers page ----- */
.careers-perks {
  padding: 60px 0 10px;
  background: #fff;
}
.careers-perks .container {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}
.careers-perks .perk {
  flex: 1;
  min-width: 220px;
  background: #f7f6fb;
  border: 1px solid #eceaf5;
  border-radius: 14px;
  padding: 26px;
}
.careers-perks .perk h3 {
  font-size: 19px;
  color: #29245c;
  margin-bottom: 10px;
}
.careers-perks .perk p {
  color: #555;
  font-size: 15px;
  margin: 0;
  line-height: 1.6;
}
.careers-form-section {
  padding: 60px 0 80px;
  background: #fff;
}
.careers-form-section .container {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}
.careers-form-intro {
  flex: 2;
  min-width: 0;
}
.careers-form-intro h2 {
  font-size: 30px;
  margin-bottom: 12px;
}
.careers-form-intro p {
  color: #555;
  line-height: 1.7;
}
.careers-form-wrap {
  flex: 3;
  min-width: 0;
  background: #29245c;
  padding: 36px;
  border-radius: 16px;
}
.form-hint {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  margin: -4px 0 4px;
}

/* Shared: dark-card forms (contact + careers) reuse demo-form field styling */
.contact-form,
.careers-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form .form-row,
.careers-form .form-row {
  display: flex;
  gap: 15px;
}
.contact-form label,
.careers-form label {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}
.contact-form input,
.contact-form textarea,
.careers-form input,
.careers-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder,
.careers-form input::placeholder,
.careers-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}
.contact-form input:focus,
.contact-form textarea:focus,
.careers-form input:focus,
.careers-form textarea:focus {
  border-color: #e6326d;
  background: rgba(255, 255, 255, 0.16);
}
.contact-form textarea,
.careers-form textarea {
  min-height: 130px;
  resize: vertical;
}
.contact-form .btn,
.careers-form .btn {
  align-self: flex-start;
  padding: 12px 40px;
}
/* Demo form: keep the message textarea consistent */
.demo-form .field textarea {
  min-height: 110px;
}

/* ----- Newsletter band ----- */
.newsletter-section {
  background: #211d4d;
  padding: 46px 0;
}
.newsletter-section .container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.newsletter-text {
  flex: 1;
  min-width: 260px;
}
.newsletter-text h3 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 6px;
}
.newsletter-text p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  margin: 0;
}
.newsletter-form {
  flex: 1;
  min-width: 280px;
}
.newsletter-input-row {
  display: flex;
  gap: 10px;
}
.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 15px;
  outline: none;
}
.newsletter-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.55);
}
.newsletter-form input[type="email"]:focus {
  border-color: #e6326d;
}
.newsletter-form .btn {
  font-size: 16px;
  padding: 12px 26px;
  white-space: nowrap;
}
.newsletter-form .form-status {
  margin-top: 10px;
}

/* ----- Responsive tweaks for new sections ----- */
@media (max-width: 980px) {
  .contact-section .container,
  .careers-form-section .container {
    flex-direction: column;
  }
  .careers-perks .container {
    flex-direction: column;
  }
  .newsletter-section .container {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .page-hero h1 {
    font-size: 32px;
  }
  .page-hero p {
    font-size: 15px;
  }
  .contact-form-wrap,
  .careers-form-wrap {
    padding: 24px;
  }
  .contact-form .form-row,
  .careers-form .form-row {
    flex-direction: column;
  }
  .newsletter-input-row {
    flex-direction: column;
  }
}

/* =====================================================================
   Interior content pages (features, pricing, about, faq, security, legal)
   Shared vocabulary so every rebuilt page matches the site design system.
   Tokens: headings Comfortaa #e6326d; body Roboto #282459; deep #29245c.
   ===================================================================== */

.page-section { padding: 70px 0; }
.page-section.alt { background: #f6f5fb; }
.page-section .section-intro { max-width: 720px; margin: 0 auto 10px; text-align: center; }
.page-section .section-intro h2 { font-size: 30px; margin-bottom: 14px; }
.page-section .section-intro p { color: #4a4570; font-size: 17px; }
.content-narrow { max-width: 780px; margin: 0 auto; }

/* Long-form prose (legal, about, security copy) */
.prose { color: #3a3663; }
.prose > p:first-child.lead,
.prose .lead { font-size: 18px; color: #4a4570; margin-bottom: 1.4em; }
.prose h2 { font-size: 25px; margin: 34px 0 12px; }
.prose h3 { font-size: 19px; color: #29245c; font-family: 'Comfortaa', cursive; margin: 26px 0 10px; }
.prose p { margin-bottom: 1em; line-height: 1.75em; }
.prose ul, .prose ol { margin: 0 0 1.1em 1.3em; }
.prose li { margin-bottom: 0.5em; line-height: 1.7em; }
.prose a { color: #e6326d; text-decoration: underline; }
.prose strong { color: #29245c; }
.legal-meta { color: #8a86a8; font-size: 14px; margin-bottom: 8px; }

/* Feature / value grids */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 26px; margin-top: 44px; }
.feature-card { background: #fff; border: 1px solid #ece9f6; border-radius: 14px; padding: 28px; box-shadow: 0 6px 24px rgba(41, 36, 92, 0.06); }
.feature-card .fc-icon { font-size: 28px; margin-bottom: 12px; display: block; }
.feature-card h3 { color: #29245c; font-size: 19px; font-family: 'Comfortaa', cursive; margin-bottom: 10px; }
.feature-card p { color: #4a4570; margin: 0; }

/* FAQ — native <details>/<summary>, no JS needed */
.faq-list { max-width: 820px; margin: 44px auto 0; }
.faq-item { border-bottom: 1px solid #e5e2f0; }
.faq-item summary { cursor: pointer; padding: 18px 0; font-family: 'Comfortaa', cursive; font-weight: 700; color: #29245c; font-size: 17px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: #e6326d; font-size: 24px; line-height: 1; flex: none; }
.faq-item[open] summary::after { content: '\2013'; }
.faq-item .faq-answer { padding: 0 0 20px; color: #4a4570; }
.faq-item .faq-answer p:last-child { margin-bottom: 0; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; margin-top: 46px; align-items: stretch; }
.pricing-card { background: #fff; border: 1px solid #ece9f6; border-radius: 16px; padding: 34px 28px; text-align: center; display: flex; flex-direction: column; }
.pricing-card.featured { border: 2px solid #e6326d; box-shadow: 0 12px 36px rgba(230, 50, 109, 0.14); }
.pricing-card h3 { color: #29245c; font-size: 20px; font-family: 'Comfortaa', cursive; }
.pricing-card .price { font-family: 'Comfortaa', cursive; color: #e6326d; font-size: 38px; font-weight: 700; margin: 14px 0 4px; }
.pricing-card .price-note { color: #8a86a8; font-size: 14px; margin-bottom: 22px; }
.pricing-features { list-style: none; text-align: left; margin: 0 0 26px; padding: 0; }
.pricing-features li { padding: 8px 0 8px 28px; position: relative; color: #4a4570; }
.pricing-features li::before { content: '\2713'; position: absolute; left: 0; color: #e6326d; font-weight: 700; }
.pricing-card .btn { margin-top: auto; }

/* Team / leadership */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 30px; margin-top: 44px; }
.team-member { text-align: center; }
.team-member .avatar { width: 108px; height: 108px; border-radius: 50%; background: linear-gradient(135deg, #29245c, #e6326d); margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; color: #fff; font-family: 'Comfortaa', cursive; font-size: 30px; font-weight: 700; }
.team-member h3 { color: #29245c; font-size: 18px; font-family: 'Comfortaa', cursive; margin-bottom: 4px; }
.team-member .role { color: #8a86a8; margin: 0; font-size: 14px; }

@media (max-width: 767px) {
  .page-section { padding: 48px 0; }
  .page-section .section-intro h2 { font-size: 25px; }
  .prose h2 { font-size: 22px; }
}

