:root {
  --brand-primary: #615da3;
  --brand-accent: #f3796a;
  --text-dark: #1b2129;
  --text-muted: #4d5560;
  --bg-soft: #f8f8ff;
  --card-border: rgba(97, 93, 163, 0.15);
}

body {
  font-family: "Open Sans", sans-serif;
  color: var(--text-dark);
  background: #ffffff;
  line-height: 1.6;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo-mark {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--brand-primary);
}

.logo-mark img {
  height: 36px;
}

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

.nav-links a {
  font-weight: 600;
  color: var(--text-dark);
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--brand-primary);
}

.btn-primary,
.btn-secondary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-primary {
  background: linear-gradient(120deg, var(--brand-primary), #534ea2);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(97, 93, 163, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(97, 93, 163, 0.32);
}

.btn-secondary {
  background: var(--brand-accent);
  color: #1b2129;
  box-shadow: 0 10px 28px rgba(243, 121, 106, 0.28);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(243, 121, 106, 0.36);
}

.btn-ghost {
  border: 1px solid var(--brand-primary);
  color: var(--brand-primary);
  background: transparent;
}

.btn-ghost:hover {
  background: rgba(97, 93, 163, 0.08);
}

.section {
  padding: 4rem 0;
}

.section .section-heading {
  max-width: 720px;
  margin-bottom: 2rem;
}

.section .section-heading h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.section .section-heading p {
  color: var(--text-muted);
}

.container-custom {
  width: min(1200px, 94vw);
  margin: 0 auto;
}

.hero {
  position: relative;
  padding: 5rem 0 4rem;
  background: radial-gradient(circle at 12% 20%, rgba(243, 121, 106, 0.1), transparent 30%),
    radial-gradient(circle at 80% 10%, rgba(97, 93, 163, 0.12), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #fdfbff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.25rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(97, 93, 163, 0.12);
  color: var(--brand-primary);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.stat-box {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.04);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.card {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.04);
}

.card h3 {
  margin-bottom: 0.35rem;
}

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

.tag {
  display: inline-flex;
  background: rgba(243, 121, 106, 0.12);
  color: #c94d3a;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.2px;
  font-size: 0.9rem;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-left: 1.1rem;
}

.list li {
  position: relative;
  color: var(--text-muted);
}

.list li::before {
  content: '•';
  position: absolute;
  left: -1rem;
  color: var(--brand-accent);
  font-weight: bold;
}

.highlight-card {
  border-left: 4px solid var(--brand-primary);
}

.section-accent {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.04);
}

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

.logo-placeholder {
  border: 1px dashed var(--card-border);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  color: var(--text-muted);
  background: #fff;
}

.footer {
  padding: 3rem 0 2rem;
  background: linear-gradient(180deg, #fdfbff 0%, #ffffff 100%);
  border-top: 1px solid var(--card-border);
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}

.footer small {
  color: var(--text-muted);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: start;
}

.form-card {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.04);
}

.form-card label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.form-card input,
.form-card textarea,
.form-card select {
  width: 100%;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.case-meta,
.blog-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pill {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(97, 93, 163, 0.12);
  color: var(--brand-primary);
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial {
  font-style: italic;
  color: var(--text-dark);
}

.cta-banner {
  background: linear-gradient(120deg, rgba(97, 93, 163, 0.12), rgba(243, 121, 106, 0.18));
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.04);
}

@media (max-width: 768px) {
  .nav-links {
    gap: 0.65rem;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}
