/* Navigation Component */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--clr-border-light);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--clr-blue-600);
  letter-spacing: -.03em;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
}

.nav-links a {
  font-size: .88rem;
  font-weight: 500;
  color: var(--clr-text-secondary);
  transition: color .2s;
}

.nav-links a:hover {
  color: var(--clr-text);
}

.nav-links a.btn-primary {
  color: #fff;
}

.nav-links a.btn-primary:hover {
  color: #fff;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--clr-text);
}

.nav-toggle svg {
  display: block;
}

/* Button Components */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .88rem;
  padding: 10px 24px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all .2s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--clr-blue-600);
  color: #fff;
  box-shadow: 0 1px 3px rgba(28, 86, 254, .3);
}

.btn-primary:hover {
  background: var(--clr-blue-700);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(28, 86, 254, .35);
}

.btn-ghost {
  background: transparent;
  color: var(--clr-blue-600);
  border: 1.5px solid var(--clr-border);
}

.btn-ghost:hover {
  border-color: var(--clr-blue-600);
  background: var(--clr-blue-50);
}

/* Hero Section */
.hero {
  padding: 72px 0 56px;
  background: radial-gradient(ellipse 65% 55% at 15% 0%, rgba(249, 199, 79, .08) 0%, transparent 55%),
              radial-gradient(ellipse 55% 50% at 85% 20%, rgba(244, 132, 95, .06) 0%, transparent 50%),
              radial-gradient(ellipse 50% 60% at 70% 100%, rgba(232, 160, 191, .06) 0%, transparent 50%),
              var(--clr-bg);
  overflow: hidden;
}

.hero-content {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.8vw, 3.4rem);
  letter-spacing: -.035em;
  color: var(--clr-text);
  margin-bottom: 18px;
}

.hero h1 .hero-underline {
  position: relative;
}

/* Pen-stroke underline: rounded left cap, more swoop, tail (right) a bit higher than head (left) */
.hero h1 .hero-underline::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -.12em;
  height: 12px;
  background: linear-gradient(90deg, var(--clr-blue-600) 0%, var(--clr-purple) 100%);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 12' preserveAspectRatio='none'%3E%3Cpath d='M 2.5 3.2 Q 0 5 2.5 8.8 C 45 9.6 55 9.8 100 5.5 L 100 3.5 C 55 4.2 45 4 2.5 3.2 Z' fill='black'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 12' preserveAspectRatio='none'%3E%3Cpath d='M 2.5 3.2 Q 0 5 2.5 8.8 C 45 9.6 55 9.8 100 5.5 L 100 3.5 C 55 4.2 45 4 2.5 3.2 Z' fill='black'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  pointer-events: none;
}

.hero h1 em {
  font-style: normal;
  font-weight: 800;
  background: linear-gradient(135deg, #f9c74f 0%, #f4845f 35%, #e07098 65%, #c8a2d0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--clr-text-secondary);
  max-width: 560px;
  margin: 0 auto 28px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.hero-micro {
  font-size: .82rem;
  color: var(--clr-text-muted);
  letter-spacing: .01em;
}

.hero-micro strong {
  font-weight: 600;
  color: var(--clr-text-secondary);
}

/* Section Components */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--clr-surface-alt);
}

.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--clr-blue-600);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  letter-spacing: -.025em;
  margin-bottom: 14px;
  max-width: 600px;
}

.section-desc {
  font-size: 1.02rem;
  color: var(--clr-text-secondary);
  max-width: 540px;
  line-height: 1.65;
  margin-bottom: 40px;
}

/* FAQ Component */
.faq-list {
  max-width: 680px;
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--clr-border);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 600;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  color: var(--clr-text);
}

.faq-q:hover {
  color: var(--clr-blue-600);
}

.faq-q .chevron {
  transition: transform .25s;
  font-size: 1.1rem;
  color: var(--clr-text-muted);
}

.faq-item.open .faq-q .chevron {
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  font-size: .9rem;
  color: var(--clr-text-secondary);
  line-height: 1.65;
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding-bottom: 18px;
}

/* Footer (combined CTA + legal) */
.footer {
  padding: 80px 0 28px;
  text-align: center;
  background: linear-gradient(160deg, var(--clr-blue-700) 0%, var(--clr-blue-600) 60%, #5a6abf 100%);
  color: #fff;
}

.footer .footer-cta h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 14px;
}

.footer .footer-cta p {
  font-size: 1.05rem;
  opacity: .88;
  max-width: 460px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.footer .footer-cta .btn-primary {
  background: #fff;
  color: var(--clr-blue-600);
}

.footer .footer-cta .btn-primary:hover {
  background: #f0f4ff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .15);
}

.footer .footer-cta .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .3);
}

.footer .footer-cta .btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .08);
}

.footer .footer-bottom {
  margin-top: 48px;
  font-size: .8rem;
  color: rgba(255, 255, 255, .9);
}

.footer .footer-legal {
  opacity: .88;
}

.footer .footer-contact {
  display: inline-block;
  margin-left: 1rem;
  padding: 8px 18px;
  background: rgba(255, 255, 255, .95);
  color: var(--clr-blue-600);
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  transition: background .15s, box-shadow .15s;
}

.footer .footer-contact:hover {
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .15);
}