/* System fonts — no external requests */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --background: hsl(222, 60%, 6%);
  --foreground: hsl(218, 20%, 90%);
  --card: hsl(220, 47%, 8%);
  --card-foreground: hsl(218, 20%, 90%);
  --primary: hsl(263, 84%, 65%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(220, 47%, 12%);
  --secondary-foreground: hsl(218, 20%, 90%);
  --muted: hsl(220, 30%, 14%);
  --muted-foreground: hsl(218, 15%, 55%);
  --accent: hsl(263, 84%, 65%);
  --accent-foreground: hsl(0, 0%, 100%);
  --cta: hsl(142, 71%, 45%);
  --cta-foreground: hsl(220, 60%, 6%);
  --border: hsl(220, 30%, 16%);
  --destructive: hsl(0, 84%, 60%);
  --radius: 0.75rem;
}

html { scroll-behavior: smooth; }
body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}
h1,h2,h3,h4,h5,h6 { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; }
section { scroll-margin-top: 5rem; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
*, *::before, *::after { border-color: var(--border); }

/* Layout */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.shrink-0 { flex-shrink: 0; }
.min-h-screen { min-height: 100vh; }
.w-full { width: 100%; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-xl { max-width: 36rem; }
.max-w-lg { max-width: 32rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.overflow-x-auto { overflow-x: auto; }
.overflow-hidden { overflow: hidden; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-50 { z-index: 50; }
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-x-6 { column-gap: 1.5rem; }
.gap-y-8 { row-gap: 2rem; }
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-1\.5 > * + * { margin-top: 0.375rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-x-1\.5 > * + * { margin-left: 0.375rem; }

/* Spacing */
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.pt-24 { padding-top: 6rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-2 { padding-top: 0.5rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-12 { padding-bottom: 3rem; }
.pb-16 { padding-bottom: 4rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-7 { margin-bottom: 1.75rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.ml-4 { margin-left: 1rem; }
.mr-0 { margin-right: 0; }
.-top-3 { top: -0.75rem; }
.left-1\/2 { left: 50%; }
.-translate-x-1\/2 { transform: translateX(-50%); }
.mt-0\.5 { margin-top: 0.125rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Typography */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.uppercase { text-transform: uppercase; }
.italic { font-style: italic; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.tracking-tight { letter-spacing: -0.025em; }
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-foreground { color: var(--foreground); }
.text-muted-foreground { color: var(--muted-foreground); }
.text-primary { color: var(--primary); }
.text-cta { color: var(--cta); }
.text-background { color: var(--background); }
.text-primary-foreground { color: var(--primary-foreground); }
.text-cta-foreground { color: var(--cta-foreground); }
.text-white { color: white; }
.text-yellow-400 { color: #facc15; }
.text-destructive { color: var(--destructive); }
.hover\:text-primary:hover { color: var(--primary); }
.hover\:text-foreground:hover { color: var(--foreground); }
.hover\:underline:hover { text-decoration: underline; }
.hover\:no-underline:hover { text-decoration: none; }
.underline { text-decoration: underline; }

/* Text gradient */
.text-gradient-primary {
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  background-image: linear-gradient(135deg, hsl(263, 84%, 58%), hsl(263, 84%, 72%));
}
.text-gradient-cta {
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  background-image: linear-gradient(135deg, hsl(142, 71%, 45%), hsl(142, 71%, 60%));
}
.highlight-text {
  background: linear-gradient(to top, hsl(263 84% 58% / 0.25) 0%, hsl(263 84% 58% / 0.25) 35%, transparent 35%);
}

/* Background */
.bg-background { background-color: var(--background); }
.bg-card { background-color: var(--card); }
.bg-secondary { background-color: var(--secondary); }
.bg-muted { background-color: var(--muted); }
.bg-cta { background-color: var(--cta); }
.bg-primary { background-color: var(--primary); }
.bg-cta\/10 { background-color: hsl(142 71% 45% / 0.10); }
.bg-cta\/5 { background-color: hsl(142 71% 45% / 0.05); }
.bg-primary\/10 { background-color: hsl(263 84% 65% / 0.10); }
.bg-primary\/5 { background-color: hsl(263 84% 65% / 0.05); }
.bg-background\/90 { background-color: hsl(222 60% 6% / 0.90); }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-from), var(--tw-gradient-via,transparent), var(--tw-gradient-to,transparent)); }
.from-primary\/10 { --tw-gradient-from: hsl(263 84% 65% / 0.10); }
.via-transparent { --tw-gradient-via: transparent; }
.to-cta\/5 { --tw-gradient-to: hsl(142 71% 45% / 0.05); }
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-from), var(--tw-gradient-via, transparent), var(--tw-gradient-to, transparent)); }
.from-primary\/20 { --tw-gradient-from: hsl(263 84% 65% / 0.20); }
.via-card { --tw-gradient-via: var(--card); }
.to-cta\/10 { --tw-gradient-to: hsl(142 71% 45% / 0.10); }

/* Borders */
.border { border-width: 1px; border-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-y { border-top-width: 1px; border-top-style: solid; border-bottom-width: 1px; border-bottom-style: solid; }
.border-border { border-color: var(--border); }
.border-border\/50 { border-color: hsl(220 30% 16% / 0.5); }
.border-primary { border-color: var(--primary); }
.border-primary\/20 { border-color: hsl(263 84% 65% / 0.2); }
.border-primary\/30 { border-color: hsl(263 84% 65% / 0.3); }
.border-cta\/30 { border-color: hsl(142 71% 45% / 0.3); }
.border-cta\/30 { border-color: hsl(142 71% 45% / 0.3); }
.border-0 { border: none; }

/* Rounded */
.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: calc(var(--radius) - 2px); }
.rounded-lg { border-radius: calc(var(--radius)); }
.rounded-xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }
.rounded-b-xl { border-bottom-left-radius: 1rem; border-bottom-right-radius: 1rem; }

/* Shadow */
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }
.shadow-primary\/5 { box-shadow: 0 0 0 0 hsl(263 84% 65% / 0.05); }
.shadow-primary\/10 { box-shadow: 0 10px 15px -3px hsl(263 84% 65% / 0.1); }

/* Transitions */
.transition-colors { transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease; }
.transition-all { transition: all 0.15s ease; }
.transition-transform { transition: transform 0.15s ease; }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:scale-110:hover { transform: scale(1.10); }
.hover\:bg-secondary:hover { background-color: var(--secondary); }
.hover\:bg-muted:hover { background-color: var(--muted); }
.hover\:bg-primary:hover { background-color: var(--primary); }
.hover\:bg-primary\/40:hover { background-color: hsl(263 84% 65% / 0.4); }
.hover\:border-primary\/30:hover { border-color: hsl(263 84% 65% / 0.30); }
.hover\:border-primary\/40:hover { border-color: hsl(263 84% 65% / 0.40); }
.hover\:shadow-lg:hover { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.hover\:text-primary-foreground:hover { color: var(--primary-foreground); }
.hover\:bg-cta\/90:hover { background-color: hsl(142 71% 45% / 0.9); }

/* Backdrop */
.backdrop-blur-md { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

/* Container */
.container { width: 100%; padding-left: 2rem; padding-right: 2rem; max-width: 1400px; margin-left: auto; margin-right: auto; }

/* Grid */
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Special sizes */
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-8 { height: 2rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-8 { width: 2rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.w-64 { width: 16rem; }
.top-24 { top: 6rem; }
.min-w-0 { min-width: 0; }
.fill-yellow-400 { fill: #facc15; }
.fill-primary { fill: var(--primary); }

/* Forms */
input, select, textarea {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background-color: var(--background);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--foreground);
  font-family: inherit;
  outline: none;
}
input::placeholder, textarea::placeholder { color: var(--muted-foreground); }
input:focus, select:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%23888' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.75rem center; padding-right: 2.5rem; }
label { font-size: 0.875rem; font-weight: 500; margin-bottom: 0.25rem; display: block; color: var(--foreground); }

/* Table */
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 0.75rem 1rem; border-bottom: 1px solid var(--border); }
thead th { font-weight: 600; color: var(--foreground); }
tbody td { color: var(--muted-foreground); }

/* List */
ul.list-disc { padding-left: 1.5rem; }
ul.list-disc li { list-style-type: disc; margin-bottom: 0.25rem; }
ol.list-decimal { padding-left: 1rem; }
ol.list-decimal li { list-style-type: decimal; margin-bottom: 0.5rem; }
.marker\:text-primary li::marker { color: var(--primary); }
.pl-6 { padding-left: 1.5rem; }

/* Prose */
.prose p + p { margin-top: 1.25rem; }
.prose h2 { margin-top: 2rem; margin-bottom: 0.75rem; }
.prose h3 { margin-top: 1.5rem; margin-bottom: 0.5rem; }
strong.text-foreground { color: var(--foreground); }

/* Details/summary */
details { border-radius: 1rem; border: 1px solid var(--border); background-color: var(--background); }
details + details { margin-top: 0.75rem; }
summary { cursor: pointer; padding: 1rem 1.5rem; font-size: 0.875rem; font-weight: 600; list-style: none; color: var(--foreground); }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; float: right; color: var(--primary); font-size: 1.25rem; line-height: 1; }
details[open] summary::after { content: '−'; }
summary:hover { color: var(--primary); }
.details-content { padding: 0 1.5rem 1rem; font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); }

/* Accordion (for template pages) */
.accordion-item { border-radius: 1rem; border: 1px solid var(--border); background-color: var(--card); }
.accordion-item + .accordion-item { margin-top: 0.5rem; }
.accordion-trigger { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 1rem 1.25rem; font-size: 0.875rem; font-weight: 600; color: var(--foreground); background: none; border: none; text-align: left; cursor: pointer; }
.accordion-trigger:hover { color: var(--primary); }
.accordion-trigger .icon { transition: transform 0.2s ease; flex-shrink: 0; margin-left: 0.5rem; }
.accordion-item.open .accordion-trigger .icon { transform: rotate(180deg); }
.accordion-content { display: none; padding: 0 1.25rem 1rem; font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); }
.accordion-item.open .accordion-content { display: block; }

/* Badge */
.badge { display: inline-flex; align-items: center; border-radius: 9999px; border: 1px solid transparent; padding: 0.125rem 0.625rem; font-size: 0.75rem; font-weight: 600; background-color: var(--secondary); color: var(--secondary-foreground); }

/* Step number circles */
.step-num { display: flex; align-items: center; justify-content: center; height: 2rem; width: 2rem; flex-shrink: 0; border-radius: 9999px; background-color: var(--primary); font-size: 0.875rem; font-weight: 700; color: var(--primary-foreground); }

/* SVG icons */
svg { display: inline-block; vertical-align: middle; }

/* Cookie consent */
#cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 50; padding: 0 1rem 1rem; }
#cookie-banner .inner { max-width: 56rem; margin: 0 auto; background-color: var(--card); border: 1px solid var(--border); border-radius: 1rem; padding: 1rem; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }
@media (min-width: 640px) { #cookie-banner .inner { padding: 1.5rem; } }

/* Header */
#site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; border-bottom: 1px solid var(--border); background-color: hsl(222 60% 6% / 0.90); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 1rem; max-width: 1400px; margin: 0 auto; }
.logo span:first-child { color: var(--foreground); }
.logo span:last-child { color: var(--primary); }
.logo { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.025em; display: flex; align-items: center; gap: 0; }
.nav-desktop { display: none; align-items: center; gap: 0.25rem; }
.nav-desktop a { border-radius: 0.5rem; padding: 0.5rem 0.75rem; font-size: 0.875rem; font-weight: 500; color: var(--muted-foreground); transition: background-color 0.15s, color 0.15s; }
.nav-desktop a:hover { background-color: var(--secondary); color: var(--primary); }
.nav-desktop a.active { color: var(--primary); }
.btn-cta-header { display: none; border-radius: 0.5rem; background-color: var(--cta); padding: 0.625rem 1.25rem; font-size: 0.875rem; font-weight: 600; color: var(--cta-foreground); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); transition: transform 0.15s; }
.btn-cta-header:hover { transform: scale(1.05); }
.btn-menu-mobile { display: flex; align-items: center; border-radius: 0.5rem; padding: 0.5rem; color: var(--foreground); background: none; border: none; }
.mobile-menu { display: none; border-top: 1px solid var(--border); background-color: var(--background); }
.mobile-menu.open { display: block; }
.mobile-menu nav { max-width: 1400px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.25rem; padding: 1rem; }
.mobile-menu a { border-radius: 0.5rem; padding: 0.75rem 1rem; font-size: 0.875rem; font-weight: 500; color: var(--muted-foreground); transition: background-color 0.15s; }
.mobile-menu a:hover, .mobile-menu a.active { background-color: var(--secondary); color: var(--primary); }
.mobile-menu .cta-mobile { margin-top: 0.5rem; background-color: var(--cta); color: var(--cta-foreground); text-align: center; font-weight: 600; padding: 0.75rem; }

@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  .btn-cta-header { display: inline-flex; }
  .btn-menu-mobile { display: none; }
  .header-inner { padding: 0.75rem 2rem; }
}

/* Breadcrumb */
.breadcrumb-nav { max-width: 1400px; margin: 0 auto; padding: 6rem 1rem 0.5rem; }
@media (min-width: 1024px) { .breadcrumb-nav { padding: 6rem 2rem 0.5rem; } }
.breadcrumb-list { display: flex; align-items: center; gap: 0.25rem; font-size: 0.75rem; color: var(--muted-foreground); }
.breadcrumb-list a { display: flex; align-items: center; gap: 0.25rem; transition: color 0.15s; }
.breadcrumb-list a:hover { color: var(--primary); }
.breadcrumb-list .current { font-weight: 500; color: var(--foreground); }

/* Footer */
footer { border-top: 1px solid var(--border); background-color: var(--card); }
.footer-inner { max-width: 1400px; margin: 0 auto; padding: 3rem 1rem; }
@media (min-width: 1024px) { .footer-inner { padding: 3rem 2rem; } }
.footer-top { margin-bottom: 2.5rem; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 1.5rem; }
@media (min-width: 640px) { .footer-top { flex-direction: row; align-items: center; } }
.footer-brand p { font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); margin-top: 0.5rem; max-width: 32rem; }
.footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1.5rem; row-gap: 2rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .footer-grid { grid-template-columns: repeat(9, minmax(0, 1fr)); } }
.footer-col h3 { margin-bottom: 0.75rem; font-size: 0.875rem; font-weight: 600; color: var(--foreground); }
.footer-col ul { list-style: none; }
.footer-col li + li { margin-top: 0.375rem; }
.footer-col a { font-size: 0.75rem; color: var(--muted-foreground); transition: color 0.15s; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { margin-top: 2.5rem; border-top: 1px solid var(--border); padding-top: 1.5rem; text-align: center; font-size: 0.75rem; color: var(--muted-foreground); }

/* WhatsApp float button */
#whatsapp-float { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 50; display: flex; align-items: center; gap: 0.5rem; border-radius: 9999px; background-color: var(--cta); padding: 0.75rem 1.25rem; font-size: 0.875rem; font-weight: 600; color: var(--cta-foreground); box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); transition: transform 0.15s; animation: pulse-cta 2s ease-in-out infinite; }
#whatsapp-float:hover { transform: scale(1.10); }
#whatsapp-float span { display: none; }
@media (min-width: 640px) { #whatsapp-float span { display: inline; } }

/* Sidebar (template pages) */
.sidebar-wrapper { display: none; width: 16rem; flex-shrink: 0; }
@media (min-width: 1024px) { .sidebar-wrapper { display: block; } }
.sidebar-sticky { position: sticky; top: 6rem; }
.sidebar-nav { background-color: var(--card); border: 1px solid var(--border); border-radius: 1rem; padding: 1.25rem; }
.sidebar-nav h3 { margin-bottom: 1rem; font-size: 0.875rem; font-weight: 700; color: var(--foreground); }
.sidebar-nav ol { list-style: none; }
.sidebar-nav li + li { margin-top: 0.5rem; }
.sidebar-nav button { display: flex; width: 100%; align-items: flex-start; gap: 0.5rem; border-radius: 0.5rem; padding: 0.375rem 0.5rem; text-align: left; font-size: 0.75rem; color: var(--muted-foreground); background: none; border: none; cursor: pointer; transition: color 0.15s; }
.sidebar-nav button:hover { color: var(--foreground); }
.sidebar-nav button.active { background-color: hsl(263 84% 65% / 0.10); font-weight: 600; color: var(--primary); }
.sidebar-nav button .num { flex-shrink: 0; font-family: ui-monospace, monospace; font-size: 0.625rem; margin-top: 2px; }
.sidebar-cta { background-color: hsl(142 71% 45% / 0.05); border: 1px solid hsl(142 71% 45% / 0.3); border-radius: 1rem; padding: 1.25rem; text-align: center; margin-top: 1.5rem; }
.sidebar-cta p:first-child { font-size: 0.875rem; font-weight: 700; color: var(--foreground); margin-bottom: 0.75rem; }
.sidebar-cta p:last-of-type { font-size: 0.75rem; color: var(--muted-foreground); margin-bottom: 1rem; }

/* Two-column layout */
.two-col { display: flex; gap: 2rem; }
@media (min-width: 1024px) { .two-col { gap: 3rem; } }
.two-col-content { min-width: 0; flex: 1; }

/* Icon circle */
.icon-circle { display: flex; align-items: center; justify-content: center; border-radius: 9999px; background-color: hsl(263 84% 65% / 0.10); color: var(--primary); transition: background-color 0.15s, color 0.15s; }
.icon-circle.lg { height: 3.5rem; width: 3.5rem; }
.icon-circle.md { height: 3rem; width: 3rem; }
.icon-circle:hover { background-color: var(--primary); color: white; }
.icon-square { display: flex; align-items: center; justify-content: center; border-radius: 0.5rem; background-color: hsl(263 84% 65% / 0.10); color: var(--primary); height: 3rem; width: 3rem; }

/* Cards */
.card { border-radius: 1rem; border: 1px solid var(--border); background-color: var(--card); }
.card-bg { border-radius: 1rem; border: 1px solid var(--border); background-color: var(--background); }
.card:hover, .card-bg:hover { border-color: hsl(263 84% 65% / 0.40); }

/* Button styles */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; border-radius: 0.5rem; padding: 0.625rem 1.25rem; font-size: 0.875rem; font-weight: 600; border: none; cursor: pointer; transition: transform 0.15s, background-color 0.15s; font-family: inherit; }
.btn-primary { background-color: var(--primary); color: white; }
.btn-primary:hover { transform: scale(1.05); }
.btn-cta { background-color: var(--cta); color: var(--cta-foreground); }
.btn-cta:hover { transform: scale(1.05); }
.btn-outline { background-color: var(--secondary); color: var(--foreground); border: 1px solid var(--border); }
.btn-outline:hover { background-color: var(--muted); }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; font-weight: 700; border-radius: 0.75rem; }
.btn-sm { padding: 0.375rem 0.75rem; font-size: 0.875rem; }

/* Social proof bar */
.social-proof { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background-color: var(--card); padding: 2rem 0; }
.social-proof-inner { max-width: 1400px; margin: 0 auto; padding: 0 1rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2rem; text-align: center; font-size: 0.875rem; color: var(--muted-foreground); }
@media (min-width: 1024px) { .social-proof-inner { padding: 0 2rem; } }

/* Animations */
@keyframes pulse-cta {
  0%, 100% { box-shadow: 0 0 0 0 hsl(142 71% 45% / 0.4); }
  50% { box-shadow: 0 0 0 12px hsl(142 71% 45% / 0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.animate-float { animation: float 3s ease-in-out infinite; }
.animate-pulse-cta { animation: pulse-cta 2s ease-in-out infinite; }

/* Responsive grid helpers */
@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm\:flex-row { flex-direction: row; }
  .sm\:items-center { align-items: center; }
  .sm\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .sm\:text-5xl { font-size: 3rem; line-height: 1; }
  .sm\:justify-center { justify-content: center; }
  .sm\:inline { display: inline; }
}
@media (min-width: 768px) {
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .lg\:pt-32 { padding-top: 8rem; }
  .lg\:pb-24 { padding-bottom: 6rem; }
  .lg\:pb-16 { padding-bottom: 4rem; }
  .lg\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .lg\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
  .lg\:text-6xl { font-size: 3.75rem; line-height: 1; }
  .lg\:p-8 { padding: 2rem; }
  .lg\:col-span-2 { grid-column: span 2; }
  .lg\:flex-row { flex-direction: row; }
  .lg\:gap-12 { gap: 3rem; }
  .lg\:block { display: block; }
  .lg\:hidden { display: none; }
  .lg\:inline-flex { display: inline-flex; }
  .lg\:flex { display: flex; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1280px) {
  .xl\:grid-cols-9 { grid-template-columns: repeat(9, minmax(0, 1fr)); }
}

/* Prose-invert overrides */
.prose-invert h2, .prose-invert h3 { color: var(--foreground); }
.prose-invert ul li { margin-bottom: 0.25rem; }
.prose-invert strong { color: var(--foreground); }

/* Platforms grid */
.platforms-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
@media (min-width: 640px) { .platforms-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .platforms-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Section content */
.section-content { padding-bottom: 4rem; }
.section-content .container { max-width: 1400px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 1024px) { .section-content .container { padding: 0 2rem; } }

/* Star */
.star-filled { fill: #facc15; color: #facc15; }

/* Check icon */
.check-icon { color: var(--cta); flex-shrink: 0; margin-top: 0.125rem; }

/* Popular badge */
.popular-badge { position: absolute; top: -0.75rem; left: 50%; transform: translateX(-50%); border-radius: 9999px; background-color: hsl(263 84% 45%); padding: 0.25rem 1rem; font-size: 0.75rem; font-weight: 600; color: white; white-space: nowrap; }

/* Responsive: hide elements */
@media (max-width: 639px) {
  .sm\:hidden-mobile { display: none; }
}
