:root {
  --primary: #1a1f36;
  --accent: #f6c95c;
  --accent-hover: #ffd272;
  --light-bg: #f7f7f8;
  --text: #1f2937;
  --muted: #6b7280;
  --white: #ffffff;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'DM Sans', 'Inter', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(26, 31, 54, 0.06);
  --shadow-md: 0 4px 20px rgba(26, 31, 54, 0.08);
  --shadow-lg: 0 8px 32px rgba(26, 31, 54, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--light-bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* ========== Homepage V2 Global Styles ========== */

.homepage-v2 .section {
  padding: 6rem 2rem;
}

.homepage-v2 .section-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.75rem;
  text-align: center;
}

.homepage-v2 .section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 3rem;
  text-align: center;
  line-height: 1.2;
}

.homepage-v2 .section-title.text-left {
  text-align: left;
}

/* ========== Buttons V2 ========== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

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

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--primary);
  color: var(--white);
}

.btn-secondary:hover {
  background: #2a3150;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.1rem;
}

.btn-full {
  width: 100%;
}

/* ========== Layout & Containers ========== */

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

.section {
  background: var(--light-bg);
  padding: 5rem 2rem;
  position: relative;
  z-index: 2;
}

/* ========== Typography ========== */

h1,
h2,
h3 {
  font-family: var(--font-heading);
  color: var(--primary);
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* ========== Navigation ========== */

.site-header {
  background: #1a1f36;
  position: sticky;
  top: 0;
  z-index: 999;
  color: white;
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
}

.brand-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.logo-accent {
  color: var(--accent);
}

.desktop-nav {
  display: flex;
  gap: 2rem;
}

.desktop-nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.desktop-nav a:hover {
  color: var(--accent);
}

.nav-cta {
  background: var(--accent);
  color: var(--primary) !important;
  padding: 0.4rem 1rem;
  border-radius: 6px;
}

.hamburger {
  font-size: 1.5rem;
  display: none;
  cursor: pointer;
  color: white;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: #1a1f36;
  padding: 1rem 2rem;
}

.mobile-nav a {
  color: white;
  text-decoration: none;
  padding: 0.8rem 0;
  border-top: 1px solid #2e334f;
}

/* ========== Hero ========== */

.hero {
  position: relative;
  height: 100vh;
  color: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 2rem;
  background: url('assets/img/image2.webp') center center / cover no-repeat fixed;
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, #1a1f36 0%, rgba(26, 31, 54, 0.7) 12%, rgba(26, 31, 54, 0.0) 25%);
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26, 31, 54, 0) 90%, #f7f7f8 100%);
  z-index: 0;
  pointer-events: none;
}

.hero>.container {
  z-index: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.headline {
  font-size: 4rem;
  font-weight: 700;
  max-width: 900px;
  margin-bottom: 1.2rem;
  background: linear-gradient(90deg, #ffffff, #f6c95c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

@supports not (-webkit-background-clip: text) {
  .headline {
    color: #ffffff;
  }
}

.subhead {
  font-size: 1.5rem;
  color: white;
  max-width: 720px;
  padding: 1rem 1.5rem;
  background: linear-gradient(to right, rgba(26, 31, 54, 0.85), rgba(26, 31, 54, 0.65));
  border-radius: 12px;
}

.cta-btn {
  background: var(--accent);
  color: var(--primary);
  padding: 1.1rem 2.8rem;
  font-weight: 600;
  font-size: 1.25rem;
  text-decoration: none;
  border-radius: 12px;
  transition: background 0.3s;
}

.cta-btn:hover {
  background: #ffd272;
}

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('assets/img/image2.webp') center center / cover no-repeat;
  background-attachment: fixed;
  /* optional parallax feel */
}

.hero-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 0 2rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, #1a1f36 0%, rgba(26, 31, 54, 0.7) 15%, rgba(26, 31, 54, 0.0) 30%);
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26, 31, 54, 0) 90%, #f7f7f8 100%);
  z-index: 1;
  pointer-events: none;
}

/* ========== Homepage V2 Hero ========== */

.homepage-v2 .hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.homepage-v2 .hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 2rem;
}

.homepage-v2 .hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.homepage-v2 .hero-subhead {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.homepage-v2 .hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.homepage-v2 .hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

.homepage-v2 .trust-item strong {
  color: var(--accent);
}

.homepage-v2 .trust-divider {
  color: rgba(255, 255, 255, 0.3);
}

/* ========== Audience Section ========== */

.section-audience {
  background: var(--white);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.audience-card {
  background: var(--light-bg);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.audience-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.audience-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.audience-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.audience-card p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

/* ========== Problem Section ========== */

.section-problem {
  background: linear-gradient(180deg, var(--light-bg) 0%, #eef0f3 100%);
}

.problem-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.problem-content .section-title {
  margin-bottom: 1.5rem;
}

.problem-list {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.problem-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 1rem;
  color: var(--text);
  font-size: 1.05rem;
}

.problem-list li::before {
  content: "✗";
  position: absolute;
  left: 0;
  color: #dc2626;
  font-weight: 600;
}

.problem-cta {
  font-size: 1.1rem;
  color: var(--primary);
  padding: 1rem;
  background: rgba(246, 201, 92, 0.15);
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
}

.problem-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.visual-card {
  background: var(--white);
  padding: 1.5rem 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  width: 100%;
  max-width: 280px;
}

.visual-header {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.visual-bar {
  height: 12px;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

.bar-full {
  background: linear-gradient(90deg, #94a3b8, #64748b);
  width: 100%;
}

.bar-partial {
  background: linear-gradient(90deg, #f87171, #ef4444);
  width: 35%;
}

.bar-accent {
  background: linear-gradient(90deg, var(--accent), #ffd272);
  width: 100%;
}

.visual-label {
  font-size: 0.85rem;
  color: var(--muted);
}

.visual-connector {
  font-size: 2rem;
  font-weight: 700;
  color: var(--muted);
}

/* ========== Services Section V2 ========== */

.section-services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto 2.5rem;
}

.services-grid-6 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1200px;
}

@media (max-width: 900px) {
  .services-grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-grid-6 {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: var(--light-bg);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.services-cta {
  text-align: center;
}

/* ========== Comparison Section ========== */

.section-compare {
  background: var(--light-bg);
}

.compare-table {
  max-width: 800px;
  margin: 0 auto 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.compare-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.compare-col {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  background: var(--primary);
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.compare-col-highlight {
  background: var(--accent);
  color: var(--primary);
}

.compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.compare-row:last-child {
  border-bottom: none;
}

.compare-cell {
  padding: 1rem 1.5rem;
  font-size: 0.95rem;
  background: var(--white);
  color: var(--muted);
  text-align: center;
}

.compare-cell-highlight {
  background: rgba(246, 201, 92, 0.08);
  color: var(--primary);
  font-weight: 500;
}

.compare-tagline {
  text-align: center;
  font-size: 1.2rem;
  color: var(--primary);
}

/* ========== Proof Section ========== */

.section-proof {
  background: var(--white);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto 2.5rem;
}

.proof-card {
  background: var(--light-bg);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  border-top: 4px solid var(--accent);
}

.proof-metric {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.proof-label {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.proof-quote {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 1rem;
}

.proof-author {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}

.proof-cta {
  text-align: center;
}

/* ========== Process Section V2 ========== */

.section-process {
  background: var(--light-bg);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.homepage-v2 .process-step {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.step-content h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ========== FAQ Section V2 ========== */

.section-faq {
  background: var(--white);
}

.faq-accordion {
  max-width: 700px;
  margin: 0 auto;
}

.homepage-v2 .faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.homepage-v2 .faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  text-align: left;
}

.homepage-v2 .faq-question:hover {
  color: var(--accent);
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--muted);
  transition: transform 0.2s;
}

.homepage-v2 .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.homepage-v2 .faq-answer p {
  padding-bottom: 1.25rem;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
}

.homepage-v2 .faq-item.active .faq-answer {
  max-height: 500px;
}

.homepage-v2 .faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* ========== Final CTA Section ========== */

.section-final-cta {
  background: var(--primary);
  padding: 5rem 2rem;
}

.final-cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.final-cta-content h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.final-cta-content p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

/* ========== Contact Section V2 ========== */

.section-contact {
  background: var(--light-bg);
}

.homepage-v2 .contact-intro {
  text-align: center;
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.homepage-v2 .contact-intro a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.homepage-v2 .contact-intro a:hover {
  text-decoration: underline;
}

.contact-form {
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  font-family: var(--font-body);
  border: 1.5px solid #e5e7eb;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form button {
  margin-top: 0.5rem;
}

.form-success {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--primary);
}

/* ========== Services ========== */

.services.section {
  background: linear-gradient(to bottom, #f8f9fa, #f0f2f5);
}

.service-heading {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--primary);
  text-align: center;
  margin: 1.5rem auto 0.5rem;
}

.service-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding: 2rem 1.5rem;
  flex-direction: row;
  flex-wrap: wrap;
  margin-bottom: 9rem;
  /* adds significant vertical gap between services */
}

.service-row.reverse {
  flex-direction: row-reverse;
}

.service-img,
.service-text {
  flex: 1;
  max-width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: left;
}

.service-img img {
  width: 90%;
  max-width: 500px;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  object-fit: cover;
}

.service-text {
  padding: 1rem 2rem;
  flex-direction: column;
  display: flex;
}

.service-text h3 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.service-text p {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 480px;
}

.service-description {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 1rem;
  max-width: 600px;
}

.comparison-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  gap: 2rem;
  padding: 2rem 1.5rem;
  margin-bottom: 7rem;
  /* large vertical space between sections */
  text-align: center;
}

.comparison-image {
  flex: 1 1 320px;
  max-width: 380px;
}

.comparison-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.comparison-caption {
  margin-top: 0.8rem;
  font-size: 1rem;
  color: var(--muted);
}

.comparison-heading {
  text-align: center;
  font-size: 1.8rem;
  margin: 2.5rem auto 1rem;
  color: var(--primary);
  font-family: var(--font-heading);
}

.transition-label {
  text-align: center;
  margin: 0.5rem 0 0.5rem;
  font-size: 1.4rem;
  font-weight: 600;
  color: #1a1f36;
  transition: all 0.4s ease-in;
}

.transition-label span {
  color: #f6c95c;
}

/* ========== Workflow, About, Testimonials ========== */

/* Workflow: Desktop timeline image */
.workflow .timeline {
  display: none;
}

.workflow-image {
  padding: 2rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.workflow-image img {
  width: 100%;
  max-width: 1200px;
  max-height: 90vh;
  height: auto;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

/* Mobile layout for process breakdown */
.process-mobile {
  display: none;
  flex-direction: column;
  gap: 2rem;
  margin-top: 3rem;
}

.process-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: nowrap;
}

.process-step {
  background: var(--white);
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
  text-align: center;
  flex: 1 1 45%;
  max-width: 160px;
}

.process-step img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
  margin: 0;
}

.arrow {
  font-size: 1.5rem;
  color: var(--accent);
  text-align: center;
  font-weight: bold;
}

.arrow.down {
  margin: 1rem auto;
  display: block;
  font-size: 2rem;
}

.timeline .step {
  background: #ffffff;
  padding: 1.5rem 2rem;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.04);
  font-size: 1.1rem;
  color: var(--text);
}

.about .lead {
  max-width: 720px;
  margin: auto;
  font-size: 1.2rem;
  color: var(--muted);
  text-align: center;
}

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

.about-point {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.about-point h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 1rem;
  text-align: center;
}

.about-point p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.5;
}

.testimonial-grid {
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 1rem 0;
}

.testimonial-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  font-style: italic;
  min-width: 320px;
  max-width: 360px;
  flex: 0 0 auto;
  scroll-snap-align: center;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
}

.testimonial-card p {
  margin-bottom: 1rem;
  color: #374151;
  font-size: 1.05rem;
}

.testimonial-card span {
  font-weight: 600;
  font-style: normal;
  color: var(--primary);
  font-size: 0.95rem;
}

/* ========== Contact Form ========== */

form {
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  max-width: 480px;
  margin: auto;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

input,
textarea {
  padding: 1rem;
  font-size: 1rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  font-family: var(--font-body);
}

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

button {
  background: var(--primary);
  color: white;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

button:hover {
  background: var(--accent);
  color: var(--primary);
}

.contact .contact-intro {
  text-align: center;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  color: var(--text);
}

/* ========== Footer ========== */

.site-footer {
  background: #1a1f36;
  color: white;
  padding: 3rem 2rem;
  font-size: 0.95rem;
  position: relative;
  z-index: 2;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  width: 48px;
  height: 48px;
}

.footer-brand h4 {
  margin: 0;
  font-size: 1.2rem;
  font-family: var(--font-heading);
  color: var(--accent);
}

.footer-brand p {
  margin: 0.2rem 0 0;
  color: #e5e7eb;
}

.footer-links h5 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.3rem;
}

.footer-links a {
  color: #e5e7eb;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

.link-wrapper {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-logo-circle-frame {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--accent);
  flex-shrink: 0;
}

.nav-logo {
  width: 90%;
  height: auto;
  object-fit: contain;
  display: block;
}

.logo-circle-frame {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #ffffff;
  /* or use var(--white) */
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--accent);
  margin-right: 1rem;
}

.footer-logo {
  width: 80%;
  height: auto;
  object-fit: contain;
}

.copyright {
  background-color: #ffffff;
  /* or var(--bg) */
  text-align: center;
  padding: 1rem 0;
  font-size: 0.9rem;
  color: var(--muted);
  position: relative;
  z-index: 2;
  margin: 0 auto;
}

.legal-page {
  padding: 5rem 2rem;
  background: #ffffff;
  color: var(--text);
}

.legal-page h1 {
  font-size: 2.4rem;
  color: var(--primary);
  font-family: var(--font-heading);
  margin-bottom: 1rem;
  text-align: center;
}

.legal-page h2 {
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
  text-align: left;
}

.legal-page p,
.legal-page li {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
}

.legal-page ul {
  list-style-type: disc;
  margin-left: 1.5rem;
}

.legal-page a {
  color: var(--accent);
  text-decoration: underline;
}

/* ========== Resources ========== */

.page-hero {
  padding: 4rem 2rem 2rem;
  text-align: center;
  background: linear-gradient(to bottom, #f8f9fa, #f0f2f5);
}

.page-hero h1 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.page-hero p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.1rem;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.resource-card {
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.resource-card h2 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  text-align: left;
}

.resource-card p {
  color: var(--muted);
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.resource-card a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.resource-card a:hover {
  text-decoration: underline;
}

.case-study-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.case-study-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.case-study-card a {
  display: block;
  padding: 2rem;
  text-decoration: none;
  color: inherit;
}

.case-study-card h2 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  text-align: left;
}

.case-study-meta {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.case-study-metric {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
}

.blog-list {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.blog-list article {
  background: #fff;
  padding: 1.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.04);
  margin-bottom: 1.5rem;
}

.blog-list article h2 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  text-align: left;
}

.blog-list article p {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.blog-list article a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.blog-list article a:hover {
  text-decoration: underline;
}

.case-study-page section {
  margin-bottom: 2.5rem;
}

.case-study-page h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-align: left;
}

.case-study-page .results-graph {
  max-width: 100%;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin: 1rem 0;
}

.breadcrumb {
  font-size: 0.95rem;
  color: var(--muted);
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.breadcrumb a {
  color: var(--accent);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ========== Blog post & content blocks ========== */

.blog-post-container {
  padding-top: 1rem;
  padding-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.blog-post-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.blog-post-subtitle {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.blog-featured-image {
  margin: 0 0 1.5rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.blog-featured-image img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.blog-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.blog-published-date {
  font-size: 0.95rem;
  color: var(--muted);
}

.blog-author {
  margin: 0;
  padding: 0;
  border: none;
}

.blog-author-inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.blog-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.blog-author-name {
  font-weight: 600;
  color: var(--primary);
  display: block;
}

.blog-author-role {
  font-size: 0.95rem;
  color: var(--muted);
  display: block;
  margin-top: 0.15rem;
}

.blog-author-bio {
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 0.5rem;
  line-height: 1.5;
}

.blog-content-wrapper {
  padding-top: 0.5rem;
}

.legal-page.blog-content-wrapper {
  padding: 0 0 2rem;
  background: transparent;
}

.blog-content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
}

.blog-content-empty {
  color: var(--muted);
  font-style: italic;
}

/* Rich text inside .blog-content (from Contentful) */
.blog-content p {
  margin-bottom: 1.25rem;
  color: var(--text);
}

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

.blog-content h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  text-align: left;
}

.blog-content h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--primary);
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  text-align: left;
}

.blog-content ul,
.blog-content ol {
  margin: 1rem 0 1.25rem 1.5rem;
  padding-left: 0.5rem;
}

.blog-content li {
  margin-bottom: 0.5rem;
}

.blog-content a {
  color: var(--accent);
  text-decoration: underline;
}

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

.blog-content strong {
  font-weight: 600;
  color: var(--primary);
}

.blog-content blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem 1rem 1.5rem;
  border-left: 4px solid var(--accent);
  background: linear-gradient(to right, rgba(246, 201, 92, 0.08), transparent);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text);
}

.blog-content pre,
.blog-content code {
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
  font-size: 0.9em;
}

.blog-content code {
  padding: 0.15em 0.4em;
  background: rgba(26, 31, 54, 0.06);
  border-radius: 6px;
  color: var(--primary);
}

.blog-content pre {
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  background: var(--primary);
  color: #e5e7eb;
  border-radius: 12px;
  overflow-x: auto;
  line-height: 1.5;
}

.blog-content pre code {
  padding: 0;
  background: none;
  color: inherit;
}

/* Content block wrappers (by type) */
.content-block {
  margin-bottom: 2rem;
}

.content-block:last-child {
  margin-bottom: 0;
}

.content-block--text {
  max-width: 100%;
}

.content-block--image .content-block-figure,
.content-block--image figure {
  margin: 1.5rem 0;
}

.content-block--image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.content-block--image figcaption {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: var(--muted);
  text-align: center;
}

.content-block--quote {
  margin: 2rem 0;
}

.content-block--quote .content-block-figure {
  margin: 0;
}

.content-block--list {
  padding-left: 0;
}

.content-block--code pre {
  margin: 0;
}

.content-block--full {
  max-width: 100%;
  width: 100%;
}

.content-block--cta {
  margin: 2.5rem 0;
  padding: 1.5rem 1.75rem;
  background: linear-gradient(135deg, rgba(26, 31, 54, 0.04), rgba(246, 201, 92, 0.08));
  border-radius: 12px;
  border-left: 4px solid var(--accent);
}

.cta-block-heading {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.cta-block-desc {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.content-block--cta .cta-btn {
  display: inline-block;
  font-size: 1rem;
  padding: 0.6rem 1.25rem;
  background: var(--accent);
  color: var(--primary) !important;
}

/* ========== Blog FAQs ========== */

.blog-faqs {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.faqs-heading {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  text-align: left;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 1.25rem 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.faq-answer {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
}

.faq-answer p {
  margin-bottom: 0.5rem;
}

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

.faq-answer a {
  color: var(--accent);
  text-decoration: underline;
}

.faq-answer a:hover {
  color: var(--primary);
}

.content-block-figure {
  margin: 1.5rem 0;
}

.content-block-figure img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.content-block-figure figcaption {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}

/* ========== Scroll Animations ========== */

.fade-in,
.fade-left,
.fade-right,
.fade-up,
.slide-in-left,
.slide-in-right {
  opacity: 0;
  transition: all 0.8s ease;
}

.fade-in,
.fade-up {
  transform: translateY(40px);
}

.fade-left,
.slide-in-left {
  transform: translateX(-60px);
}

.fade-right,
.slide-in-right {
  transform: translateX(60px);
}

.fade-in.visible,
.fade-left.visible,
.fade-right.visible,
.fade-up.visible,
.slide-in-left.visible,
.slide-in-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ========== Responsive ========== */

@media (max-width: 768px) {
  .headline {
    font-size: 2.4rem;
    line-height: 1.2;
  }

  .subhead {
    font-size: 1.2rem;
    padding: 0.8rem 1rem;
    margin-bottom: 2rem;
  }

  .cta-btn {
    font-size: 1.05rem;
    padding: 1rem 2rem;
  }

  .section {
    padding-top: 4rem;
  }

  .desktop-nav {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .mobile-nav.active {
    display: flex;
  }

  .service-row,
  .service-row.reverse {
    flex-direction: column;
    min-height: auto;
    gap: 2rem;
    padding: 3rem 1.5rem;
  }

  .service-img,
  .service-text {
    max-width: 100%;
    flex: 1 1 100%;
    text-align: center;
  }

  .service-text h3 {
    font-size: 1.6rem;
  }

  .service-text p {
    font-size: 1.05rem;
  }

  .comparison-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 1rem;
    margin-bottom: 4rem;
  }

  .comparison-image {
    max-width: 100%;
    margin-bottom: 0.5rem;
  }

  .transition-label {
    font-size: 1.1rem;
    margin: 0;
    /* ✨ remove extra space above/below */
    line-height: 1.4;
  }

  .comparison-caption {
    font-size: 0.95rem;
    margin-top: 0.5rem;
  }

  .workflow-image {
    display: none;
  }

  .process-mobile {
    display: flex;
  }

  .process-row {
    flex-wrap: wrap;
    justify-content: space-around;
  }

  .arrow.right {
    display: none;
  }

  .process-step {
    max-width: 48%;
  }

  .arrow.down {
    margin: 1rem 0;
  }

  .testimonial-grid {
    flex-direction: column;
    align-items: center;
  }

  .testimonial-card {
    max-width: 90%;
  }

  .grid {
    flex-direction: column;
    align-items: center;
  }

  .timeline .step {
    font-size: 1rem;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-brand {
    flex-direction: column;
  }

  .blog-post-title {
    font-size: 1.6rem;
  }

  .blog-post-subtitle {
    font-size: 1rem;
  }

  .blog-content {
    font-size: 1rem;
  }

  .blog-content h2 {
    font-size: 1.35rem;
    margin-top: 2rem;
  }

  .blog-content h3 {
    font-size: 1.15rem;
  }

  /* Homepage V2 Responsive */
  .homepage-v2 .section {
    padding: 4rem 1.5rem;
  }

  .homepage-v2 .section-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  .homepage-v2 .hero-content {
    padding: 1.5rem;
  }

  .homepage-v2 .hero-headline {
    font-size: 1.9rem;
  }

  .homepage-v2 .hero-subhead {
    font-size: 1.05rem;
  }

  .homepage-v2 .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .homepage-v2 .hero-ctas .btn {
    width: 100%;
    max-width: 280px;
  }

  .homepage-v2 .hero-trust {
    flex-direction: column;
    gap: 0.5rem;
  }

  .homepage-v2 .trust-divider {
    display: none;
  }

  .problem-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .problem-visual {
    order: -1;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .visual-card {
    max-width: 160px;
  }

  .visual-connector {
    font-size: 1.5rem;
  }

  .audience-grid,
  .services-grid,
  .proof-grid,
  .process-timeline {
    grid-template-columns: 1fr;
  }

  .compare-col,
  .compare-cell {
    padding: 0.85rem 1rem;
    font-size: 0.85rem;
  }

  .proof-metric {
    font-size: 2.5rem;
  }

  .final-cta-content h2 {
    font-size: 1.7rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 1.75rem;
  }
}