/* ==========================================================================
   Homepage showcase, SEO tool pages and practical guide
   ========================================================================== */

.showcase-section {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 9vw, 112px) 0;
  background:
    radial-gradient(circle at 88% 10%, rgba(22, 184, 166, .08), transparent 34%),
    linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 50%, #FFFFFF 100%);
  border-bottom: 1px solid var(--border);
}

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
  gap: clamp(32px, 6vw, 78px);
  align-items: center;
}

.showcase-media {
  position: relative;
  overflow: hidden;
  min-height: 400px;
  border-radius: 32px;
  background: #F3F6FA;
  box-shadow: 0 42px 90px -38px rgba(20, 43, 73, .55);
}

.showcase-media img,
.showcase-media video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  object-position: 50% 42%;
  background: #F3F6FA;
}

.showcase-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 28% 24%, rgba(22, 184, 166, .14), transparent 46%);
  opacity: .5;
  animation: showcase-glow 18s ease-in-out infinite;
  pointer-events: none;
}

@keyframes showcase-glow {
  0%,
  100% {
    opacity: .35;
  }
  50% {
    opacity: .7;
  }
}

.showcase-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 43, 73, .03) 30%, rgba(20, 43, 73, .44) 100%);
  pointer-events: none;
}

.showcase-badge {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  color: var(--ink-2);
  font-size: .72rem;
  font-weight: 800;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.showcase-badge .status-dot {
  background: #0F8F82;
}

.showcase-card {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 17px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 18px 42px -20px rgba(20, 43, 73, .55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.showcase-card-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--gradient);
  color: #FFFFFF;
}

.showcase-card-icon svg {
  width: 19px;
  height: 19px;
}

.showcase-card strong,
.showcase-card span {
  display: block;
}

.showcase-card strong {
  color: var(--ink);
  font-size: .84rem;
}

.showcase-card span {
  margin-top: 2px;
  color: var(--muted);
  font-size: .73rem;
}

.showcase-card-meta {
  margin-left: auto;
  flex: none;
  padding: 5px 9px;
  border-radius: 999px;
  background: #E6F5F3;
  color: #0F8F82 !important;
  font-size: .68rem !important;
  font-weight: 800;
}

.showcase-copy h2 {
  max-width: 620px;
  margin-top: 15px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.045em;
}

.showcase-copy > p {
  max-width: 590px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.showcase-list {
  display: grid;
  gap: 11px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.showcase-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-2);
  font-size: .91rem;
  font-weight: 600;
}

.showcase-list .trust-icon {
  margin-top: 1px;
}

.showcase-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 27px;
}

.showcase-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 30px;
  padding-top: 23px;
  border-top: 1px solid var(--border);
}

.showcase-metric strong,
.showcase-metric span {
  display: block;
}

.showcase-metric strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -.04em;
}

.showcase-metric span {
  color: var(--muted-2);
  font-size: .72rem;
  font-weight: 600;
}

/* Tool landing pages */

.landing-page .page-hero {
  padding-bottom: clamp(42px, 6vw, 62px);
}

.landing-page .page-title {
  max-width: 900px;
}

.landing-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 600;
}

.landing-breadcrumb a {
  color: var(--violet-dark);
  text-decoration: none;
}

.landing-breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.landing-breadcrumb svg {
  width: 13px;
  height: 13px;
  color: var(--muted-2);
}

.landing-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.landing-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.landing-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, .7);
  color: var(--ink-2);
  font-size: .72rem;
  font-weight: 700;
}

.landing-chip svg {
  width: 14px;
  height: 14px;
  color: var(--violet);
}

.landing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 330px);
  gap: clamp(30px, 5vw, 58px);
  align-items: start;
}

.landing-main > section + section {
  margin-top: 42px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}

.landing-main h2,
.landing-side h2,
.guide-tool h2,
.guide-section h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  letter-spacing: -.035em;
}

.landing-main > p,
.landing-intro {
  margin-top: 14px;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.8;
}

.landing-steps {
  display: grid;
  gap: 13px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: fn-step;
}

.landing-steps li {
  position: relative;
  counter-increment: fn-step;
  padding: 17px 18px 17px 58px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: .91rem;
  line-height: 1.6;
}

.landing-steps li::before {
  content: counter(fn-step, decimal-leading-zero);
  position: absolute;
  top: 15px;
  left: 17px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--gradient);
  color: #FFFFFF;
  font-size: .68rem;
  font-weight: 800;
}

.landing-caveat {
  display: flex;
  gap: 11px;
  margin-top: 20px;
  padding: 15px 17px;
  border: 1px solid #f0e0c8;
  border-radius: 14px;
  background: #fffaf2;
  color: #7a4a00;
  font-size: .83rem;
  line-height: 1.65;
}

.landing-caveat svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.landing-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.landing-benefit {
  padding: 17px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
}

.landing-benefit-icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  margin-bottom: 10px;
  border-radius: 10px;
  background: var(--violet-soft);
  color: var(--violet);
}

.landing-benefit-icon svg {
  width: 17px;
  height: 17px;
}

.landing-benefit strong {
  display: block;
  margin-bottom: 5px;
  font-size: .86rem;
}

.landing-benefit p {
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.6;
}

.landing-side {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: grid;
  gap: 14px;
}

.landing-side-card {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #FFFFFF;
  box-shadow: var(--shadow-md);
}

.landing-side-card--gradient {
  background: var(--gradient-soft);
}

.landing-side-card h2 {
  margin-top: 9px;
  font-size: 1.2rem;
}

.landing-side-card p {
  margin-top: 9px;
  color: var(--muted);
  font-size: .83rem;
  line-height: 1.65;
}

.landing-side-card .btn {
  width: 100%;
  margin-top: 16px;
}

.landing-side-list {
  display: grid;
  gap: 8px;
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
}

.landing-side-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: .79rem;
  font-weight: 700;
  text-decoration: none;
}

.landing-side-list a:hover {
  background: var(--violet-soft);
  color: var(--violet-dark);
}

.landing-side-list svg {
  width: 14px;
  height: 14px;
  flex: none;
}

.landing-faq {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.landing-faq details {
  padding: 0 17px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #FFFFFF;
}

.landing-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 0;
  font-size: .88rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.landing-faq summary::-webkit-details-marker {
  display: none;
}

.landing-faq summary svg {
  width: 17px;
  height: 17px;
  flex: none;
  color: var(--violet);
  transition: transform .2s ease;
}

.landing-faq details[open] summary svg {
  transform: rotate(180deg);
}

.landing-faq p {
  margin: 0 0 17px;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.72;
}

.landing-cta {
  margin-top: 46px;
  padding: clamp(30px, 5vw, 46px);
  border-radius: 26px;
  background: linear-gradient(118deg, #142B49 0%, #142B49 48%, #16B8A6 100%);
  color: #FFFFFF;
  box-shadow: 0 34px 70px -34px rgba(20, 43, 73, .65);
}

.landing-cta h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -.04em;
}

.landing-cta p {
  max-width: 650px;
  margin-top: 10px;
  color: rgba(255, 255, 255, .82);
  font-size: .92rem;
}

.landing-cta .btn {
  margin-top: 20px;
}

.landing-cta .btn-primary {
  background: #FFFFFF;
  color: var(--violet-dark);
  box-shadow: none;
}

.related-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 17px;
}

.related-tools a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: .76rem;
  font-weight: 700;
  text-decoration: none;
}

.related-tools a:hover {
  border-color: var(--violet);
  color: var(--violet-dark);
}

/* Practical guide */

.guide-hero .page-title {
  max-width: 900px;
}

.guide-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}

.guide-toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  max-height: calc(100vh - var(--header-h) - 48px);
  overflow-y: auto;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.guide-toc h2 {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.guide-toc ol {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: guide-toc;
}

.guide-toc a {
  display: flex;
  gap: 9px;
  padding: 7px 8px;
  border-radius: 8px;
  color: var(--ink-2);
  font-size: .77rem;
  font-weight: 650;
  text-decoration: none;
}

.guide-toc a::before {
  counter-increment: guide-toc;
  content: counter(guide-toc, decimal-leading-zero);
  color: var(--muted-2);
  font-size: .66rem;
  font-weight: 800;
}

.guide-toc a:hover {
  background: var(--violet-soft);
  color: var(--violet-dark);
}

.guide-tools {
  display: grid;
  gap: 22px;
}

.guide-tool {
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
}

.guide-tool-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.guide-tool-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--violet-soft);
  color: var(--violet);
}

.guide-tool-icon svg {
  width: 22px;
  height: 22px;
}

.guide-tool-head h2 {
  font-size: 1.32rem;
}

.guide-tool-head p {
  margin-top: 5px;
  color: var(--muted);
  font-size: .85rem;
}

.guide-tool .landing-steps {
  margin-top: 17px;
}

.guide-tool-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 17px;
  padding-top: 15px;
  border-top: 1px solid var(--border);
}

.guide-tool-foot p {
  max-width: 540px;
  color: var(--muted-2);
  font-size: .76rem;
}

.dash-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.guide-tool-foot .dash-actions {
  margin-top: 0;
}

.guide-section {
  margin-top: 48px;
  padding-top: 38px;
  border-top: 1px solid var(--border);
}

.guide-section > p {
  max-width: 760px;
  margin-top: 12px;
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.8;
}

.guide-faq {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

/* About and legal notice */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
}

.about-copy h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -.04em;
}

.about-copy > p {
  margin-top: 14px;
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.8;
}

.about-values {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.about-value {
  display: flex;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: #FFFFFF;
}

.about-value-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 37px;
  height: 37px;
  border-radius: 10px;
  background: var(--violet-soft);
  color: var(--violet);
}

.about-value-icon svg {
  width: 18px;
  height: 18px;
}

.about-value h3 {
  margin-bottom: 4px;
  font-size: .88rem;
}

.about-value p {
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.6;
}

.about-card {
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--gradient-soft);
}

.about-card h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.4rem;
  letter-spacing: -.03em;
}

.about-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.7;
}

.about-facts {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.about-fact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--ink-2);
  font-size: .8rem;
}

.about-fact:last-child {
  border-bottom: 0;
}

.about-fact strong {
  color: var(--ink);
}

.legal-draft-note {
  display: flex;
  gap: 10px;
  margin: 22px 0 0;
  padding: 14px 16px;
  border: 1px solid #f0e0c8;
  border-radius: 13px;
  background: #fffaf2;
  color: #7a4a00;
  font-size: .82rem;
  line-height: 1.65;
}

.legal-draft-note svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

@media (max-width: 1020px) {
  .showcase-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .showcase-media {
    min-height: 340px;
  }

  .showcase-media img,
  .showcase-media video {
    min-height: 340px;
  }

  .landing-layout {
    grid-template-columns: 1fr;
  }

  .landing-side {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-layout {
    grid-template-columns: 1fr;
  }

  .guide-toc {
    position: static;
    max-height: none;
  }

  .guide-toc ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .showcase-media,
  .showcase-media img,
  .showcase-media video {
    min-height: 300px;
  }

  .showcase-card {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .showcase-metrics {
    grid-template-columns: 1fr;
  }

  .landing-side {
    grid-template-columns: 1fr;
  }

  .landing-benefits {
    grid-template-columns: 1fr;
  }

  .guide-toc ol {
    grid-template-columns: 1fr;
  }

  .guide-tool-head {
    align-items: flex-start;
  }

  .landing-page .landing-hero-actions .btn,
  .showcase-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

.lang-switch a {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-decoration: none;
}

.lang-switch a:hover {
  color: var(--ink);
}

.lang-switch a[aria-current="page"] {
  background: #FFFFFF;
  color: var(--ink);
  box-shadow: 0 1px 5px rgba(20, 43, 73, .13);
}
