/**
 * Homepage v3 — Premium SaaS landing (Stripe / Linear / Vercel style)
 */

.page-home,
.page-public,
.layout-auth,
.layout-portal,
.layout-guest {
    --hv3-accent: var(--primary);
    --hv3-accent-2: var(--secondary);
    --hv3-text: var(--text);
    --hv3-muted: var(--text-muted);
    --hv3-border: var(--border);
    --hv3-surface: var(--bg-card);
    --hv3-bg: var(--bg-app);
    --hv3-section-py: clamp(2.75rem, 5vw, 4rem);
    --hv3-section-head-mb: clamp(1.5rem, 3vw, 2.25rem);
}

.hv3-container {
    width: 100%;
    max-width: 76rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}
@media (min-width: 768px) { .hv3-container { padding: 0 2rem; } }

.hv3-section { padding: var(--hv3-section-py) 0; }
.hv3-section-head { text-align: center; max-width: 42rem; margin: 0 auto var(--hv3-section-head-mb); }
.hv3-section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--hv3-text);
    margin-bottom: 0.75rem;
}
.hv3-section-sub {
    font-size: clamp(1.0625rem, 2vw, 1.25rem);
    line-height: 1.65;
    color: var(--hv3-muted);
}

/* Buttons */
.hv3-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--btn-gap, 0.5rem);
    min-height: var(--btn-height, 2.5rem);
    padding: var(--btn-padding-y, 0.625rem) var(--btn-padding-x, 1.25rem);
    border-radius: var(--btn-radius, 0.75rem);
    font-size: var(--btn-font-size, 0.875rem);
    font-weight: var(--btn-font-weight, 600);
    line-height: var(--btn-line-height, 1.25);
    box-sizing: border-box;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}
.hv3-btn:hover { transform: translateY(-1px); }
.hv3-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #5B21B6, #A21CAF);
    box-shadow: 0 8px 24px -6px rgba(91,33,182, 0.5);
}
.hv3-btn-primary:hover { box-shadow: 0 12px 32px -8px rgba(91,33,182, 0.55); }
.hv3-btn-ghost {
    color: #334155;
    background: #fff;
    border-color: var(--hv3-border);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.hv3-btn-ghost:hover { border-color: #CBD5E1; background: #F8FAFC; }
.hv3-btn-sm {
    min-height: var(--btn-height, 2.5rem);
    padding: var(--btn-padding-y, 0.625rem) var(--btn-padding-x, 1.25rem);
    font-size: var(--btn-font-size, 0.875rem);
}
.hv3-btn-block { width: 100%; }
.hv3-btn-white { color: #2E1065; background: #fff; }
.hv3-btn-white:hover { box-shadow: 0 8px 24px -8px rgba(0,0,0,0.2); }
.hv3-btn-outline-white { color: #fff; border-color: rgba(255,255,255,0.35); background: transparent; }
.hv3-btn-outline-white:hover { background: rgba(255,255,255,0.1); }

.hv3-gradient-text {
    background: linear-gradient(135deg, #5B21B6 0%, #A21CAF 50%, #A21CAF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hv3-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4375rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #4C1D95;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(224, 231, 255, 0.9);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 16px rgba(91,33,182, 0.1);
}
.hv3-badge-dot {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

/* ── HERO (dominant) ── */
.hv3-hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    padding: clamp(4rem, 8vh, 5.5rem) 0 clamp(2rem, 4vh, 3rem);
    overflow: hidden;
}
.hv3-hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

/* Animated gradient */
.hv3-hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        125deg,
        #F5F0FF 0%,
        #FBF8FF 20%,
        #EDE9FE 40%,
        #FCE7F3 60%,
        #FFF7E8 80%,
        #F5F0FF 100%
    );
    background-size: 300% 300%;
    animation: hv3GradientShift 18s ease infinite;
}
@keyframes hv3GradientShift {
    0%, 100% { background-position: 0% 50%; }
    33% { background-position: 100% 0%; }
    66% { background-position: 50% 100%; }
}

.hv3-hero-mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 15% 10%, rgba(91,33,182, 0.18), transparent 55%),
        radial-gradient(ellipse 55% 45% at 95% 15%, rgba(227, 163, 59, 0.14), transparent 50%),
        radial-gradient(ellipse 50% 40% at 50% 100%, rgba(162,28,175, 0.08), transparent 55%);
}
.hv3-hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(15,23,42,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(15,23,42,0.025) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 95% 85% at 50% 20%, #000 15%, transparent 72%);
}
.hv3-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    animation: hv3OrbPulse 12s ease-in-out infinite;
}
.hv3-hero-orb-1 { width: 36rem; height: 36rem; top: -12rem; right: -10rem; background: rgba(124,58,237,0.22); }
.hv3-hero-orb-2 { width: 28rem; height: 28rem; bottom: -8rem; left: -8rem; background: rgba(214,31,122,0.12); animation-delay: -4s; }
.hv3-hero-orb-3 { width: 20rem; height: 20rem; top: 35%; left: 25%; background: rgba(162,28,175,0.12); animation-delay: -8s; }
@keyframes hv3OrbPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.08); opacity: 0.85; }
}

/* Floating shapes */
.hv3-hero-shapes { position: absolute; inset: 0; }
.hv3-shape {
    position: absolute;
    border: 1px solid rgba(91,33,182, 0.12);
    animation: hv3ShapeDrift 20s ease-in-out infinite;
}
.hv3-shape-ring {
    width: 8rem;
    height: 8rem;
    top: 18%;
    right: 8%;
    border-radius: 50%;
    border-width: 2px;
    border-color: rgba(124,58,237, 0.15);
}
.hv3-shape-diamond {
    width: 4rem;
    height: 4rem;
    bottom: 22%;
    left: 6%;
    transform: rotate(45deg);
    background: linear-gradient(135deg, rgba(91,33,182,0.06), transparent);
    animation-delay: -6s;
}
.hv3-shape-blob {
    width: 12rem;
    height: 12rem;
    top: 60%;
    right: 20%;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    background: rgba(37, 99, 235, 0.04);
    animation-delay: -12s;
}
@keyframes hv3ShapeDrift {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(6deg); }
}

/* Particles */
.hv3-particles { position: absolute; inset: 0; }
.hv3-particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(91,33,182, 0.35);
    animation: hv3ParticleFloat 8s ease-in-out infinite;
}
.hv3-particle-1  { width: 4px; height: 4px; top: 12%; left: 8%; animation-delay: 0s; }
.hv3-particle-2  { width: 6px; height: 6px; top: 25%; left: 22%; animation-delay: -1s; background: rgba(37,99,235,0.3); }
.hv3-particle-3  { width: 3px; height: 3px; top: 8%; left: 45%; animation-delay: -2s; }
.hv3-particle-4  { width: 5px; height: 5px; top: 18%; right: 18%; animation-delay: -3s; }
.hv3-particle-5  { width: 4px; height: 4px; top: 35%; left: 5%; animation-delay: -4s; }
.hv3-particle-6  { width: 7px; height: 7px; top: 42%; right: 8%; animation-delay: -5s; background: rgba(162,28,175,0.25); }
.hv3-particle-7  { width: 3px; height: 3px; top: 55%; left: 15%; animation-delay: -1.5s; }
.hv3-particle-8  { width: 5px; height: 5px; top: 48%; right: 28%; animation-delay: -2.5s; }
.hv3-particle-9  { width: 4px; height: 4px; bottom: 30%; left: 10%; animation-delay: -3.5s; }
.hv3-particle-10 { width: 6px; height: 6px; bottom: 25%; right: 12%; animation-delay: -4.5s; }
.hv3-particle-11 { width: 3px; height: 3px; bottom: 40%; left: 35%; animation-delay: -5.5s; }
.hv3-particle-12 { width: 5px; height: 5px; top: 70%; right: 5%; animation-delay: -6s; }
.hv3-particle-13 { width: 4px; height: 4px; top: 62%; left: 48%; animation-delay: -7s; }
.hv3-particle-14 { width: 8px; height: 8px; bottom: 15%; left: 55%; animation-delay: -2s; opacity: 0.5; }
.hv3-particle-15 { width: 3px; height: 3px; top: 30%; left: 72%; animation-delay: -8s; }
.hv3-particle-16 { width: 5px; height: 5px; bottom: 50%; right: 35%; animation-delay: -3s; }
.hv3-particle-17 { width: 4px; height: 4px; top: 78%; left: 25%; animation-delay: -4s; }
.hv3-particle-18 { width: 6px; height: 6px; top: 15%; right: 42%; animation-delay: -6.5s; background: rgba(16,185,129,0.35); }
@keyframes hv3ParticleFloat {
    0%, 100% { transform: translate(0, 0); opacity: 0.6; }
    25% { transform: translate(8px, -12px); opacity: 1; }
    50% { transform: translate(-6px, -20px); opacity: 0.7; }
    75% { transform: translate(10px, -8px); opacity: 0.9; }
}

.hv3-hero-inner { position: relative; z-index: 1; width: 100%; }
.hv3-hero-layout {
    display: grid;
    gap: 2rem;
    align-items: center;
}
@media (min-width: 1024px) {
    .hv3-hero-layout { grid-template-columns: 0.95fr 1.05fr; gap: 2.5rem 3rem; align-items: center; }
}
.hv3-hero-copy {
    text-align: center;
    position: relative;
}
@media (min-width: 1024px) {
    .hv3-hero-copy {
        text-align: left;
        padding: 0.5rem 0;
    }
}

/* Hero eyebrow badge */
.hv3-hero-eyebrow { margin-bottom: 1.5rem; }
.hv3-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.875rem 0.5rem 0.5rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(199, 210, 254, 0.85);
    box-shadow: 0 4px 20px -8px rgba(91,33,182, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.hv3-hero-badge-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #fff;
    background: linear-gradient(135deg, #5B21B6, #A21CAF);
    box-shadow: 0 4px 12px -4px rgba(91,33,182, 0.55);
    flex-shrink: 0;
}
.hv3-hero-badge-text {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.375rem 0.625rem;
    text-align: left;
}
.hv3-hero-badge-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #334155;
    letter-spacing: -0.01em;
}
.hv3-hero-badge-price {
    display: inline-flex;
    align-items: center;
    padding: 0.1875rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #4C1D95;
    background: #F5F0FF;
    border: 1px solid #EBE1FD;
}

.hv3-hero-title {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: clamp(2.125rem, 5.2vw, 2.875rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.08;
    color: var(--hv3-text);
    margin: 0 0 1rem;
}
@media (min-width: 1024px) {
    .hv3-hero-title { font-size: 3.5rem; gap: 0.125rem; margin-bottom: 1.125rem; }
}
@media (min-width: 1280px) {
    .hv3-hero-title { font-size: 4.25rem; line-height: 1.04; }
}
.hv3-hero-title-line { display: block; }
.hv3-hero-title-accent {
    display: block;
    color: #334155;
}
.hv3-hero-title-accent .hv3-gradient-text {
    display: inline;
}

.hv3-hero-lead {
    font-size: clamp(1.0625rem, 2.1vw, 1.25rem);
    line-height: 1.75;
    color: #475569;
    margin: 0 auto 1.25rem;
    max-width: 32rem;
    letter-spacing: -0.01em;
}
@media (min-width: 1024px) {
    .hv3-hero-lead { margin-left: 0; margin-right: 0; margin-bottom: 1.5rem; }
}

/* Hero feature chips */
.hv3-hero-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.625rem;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 22rem;
}
@media (min-width: 480px) {
    .hv3-hero-features {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        max-width: 28rem;
        gap: 0.5rem;
    }
}
@media (min-width: 1024px) {
    .hv3-hero-features { margin-left: 0; margin-right: 0; max-width: none; }
}
.hv3-hero-features li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 0.5rem;
    border-radius: 0.875rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 2px 12px -6px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(8px);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.hv3-hero-features li:hover {
    transform: translateY(-2px);
    border-color: #D9C6FB;
    box-shadow: 0 8px 24px -10px rgba(91,33,182, 0.2);
}
.hv3-hero-feature-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    color: #fff;
}
.hv3-hero-feature-icon-invite { background: linear-gradient(135deg, #5B21B6, #7C3AED); }
.hv3-hero-feature-icon-rsvp { background: linear-gradient(135deg, #2563EB, #3B82F6); }
.hv3-hero-feature-icon-qr { background: linear-gradient(135deg, #0D9488, #14B8A6); }
.hv3-hero-feature-icon-analytics { background: linear-gradient(135deg, #A21CAF, #C026D3); }
.hv3-hero-feature-label {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #475569;
}
@media (min-width: 640px) {
    .hv3-hero-feature-label { font-size: 0.75rem; }
}

.hv3-hero-cta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}
@media (min-width: 480px) {
    .hv3-hero-cta {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.875rem;
    }
}
@media (min-width: 1024px) {
    .hv3-hero-cta { justify-content: flex-start; margin-bottom: 2rem; }
}
.hv3-btn-hero {
    min-height: var(--btn-height, 2.5rem);
    padding: var(--btn-padding-y, 0.625rem) var(--btn-padding-x, 1.25rem);
    font-size: var(--btn-font-size, 0.875rem);
    border-radius: var(--btn-radius, 0.75rem);
    box-shadow: 0 12px 32px -10px rgba(91,33,182, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.hv3-btn-hero i { font-size: 0.75rem; transition: transform 0.2s ease; }
.hv3-btn-hero:hover i { transform: translateX(3px); }
.hv3-btn-hero-secondary {
    min-height: var(--btn-height, 2.5rem);
    padding: var(--btn-padding-y, 0.625rem) var(--btn-padding-x, 1.25rem);
    font-size: var(--btn-font-size, 0.875rem);
    border-radius: var(--btn-radius, 0.75rem);
    background: rgba(255, 255, 255, 0.88);
    border-color: #E2E8F0;
    box-shadow: 0 2px 8px -4px rgba(15, 23, 42, 0.08);
}
.hv3-btn-hero-secondary i { font-size: 0.8125rem; color: #5B21B6; }
.hv3-btn-hero-secondary:hover {
    background: #fff;
    border-color: #D9C6FB;
    box-shadow: 0 8px 20px -10px rgba(91,33,182, 0.18);
}

.hv3-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    justify-content: center;
    max-width: 28rem;
}
@media (min-width: 1024px) {
    .hv3-trust-row { justify-content: flex-start; margin-left: 0; max-width: none; }
}
.hv3-trust-row li {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #64748B;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 9999px;
}
@media (min-width: 640px) {
    .hv3-trust-row li { font-size: 0.8125rem; }
}
.hv3-trust-row i {
    font-size: 0.6875rem;
    color: #5B21B6;
}

/* 3D scene */
.hv3-hero-visual { width: 100%; }
.hv3-scene-3d {
    position: relative;
    min-height: clamp(22rem, 52vh, 32rem);
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1400px;
    perspective-origin: 50% 45%;
}
.hv3-scene-glow {
    position: absolute;
    width: 70%;
    height: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%);
    background: radial-gradient(ellipse, rgba(91,33,182,0.2) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 0;
}
.hv3-scene-floor {
    position: absolute;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
    height: 2.5rem;
    background: radial-gradient(ellipse, rgba(15,23,42,0.12) 0%, transparent 70%);
    filter: blur(12px);
    z-index: 0;
}

/* 3D invitation stack */
.hv3-invite-stack {
    position: relative;
    z-index: 2;
    transform-style: preserve-3d;
    transform: rotateY(-14deg) rotateX(10deg);
    transition: transform 0.6s cubic-bezier(0.34, 1.2, 0.64, 1);
}
.hv3-hero-visual:hover .hv3-invite-stack {
    transform: rotateY(-6deg) rotateX(4deg) translateY(-6px);
}
.hv3-invite-layer.hv3-invite-back {
    position: absolute;
    inset: 0;
    border-radius: 1.25rem;
    background: linear-gradient(145deg, #E2E8F0, #CBD5E1);
    transform: translateZ(-40px) translateX(12px) translateY(12px) scale(0.96);
    box-shadow: 0 20px 40px -16px rgba(15,23,42,0.2);
}
.hv3-invite-3d {
    position: relative;
    width: clamp(16rem, 38vw, 22rem);
    border-radius: 1.25rem;
    background: #fff;
    border: 1px solid rgba(255,255,255,0.9);
    box-shadow:
        0 0 0 1px rgba(15,23,42,0.04),
        0 4px 6px rgba(15,23,42,0.04),
        0 24px 48px -12px rgba(15,23,42,0.18),
        0 48px 96px -24px rgba(91,33,182,0.15);
    overflow: hidden;
    transform: translateZ(20px);
    transform-style: preserve-3d;
}
.hv3-invite-3d-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, rgba(255,255,255,0.45) 0%, transparent 40%, transparent 60%, rgba(255,255,255,0.15) 100%);
    pointer-events: none;
    z-index: 3;
}
.hv3-invite-3d-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #F5F0FF, #DBEAFE);
}
.hv3-invite-3d-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hv3-invite-live {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.3125rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    background: rgba(15,23,42,0.7);
    backdrop-filter: blur(8px);
}
.hv3-invite-live i { font-size: 0.375rem; color: #34D399; }
.hv3-invite-3d-body { padding: 1.25rem 1.375rem 1.5rem; text-align: center; }
.hv3-invite-eyebrow {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: #5B21B6;
    margin-bottom: 0.375rem;
}
.hv3-invite-event {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.375rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 0.25rem;
}
.hv3-invite-names { font-size: 1rem; font-weight: 600; color: #5B21B6; margin-bottom: 0.875rem; }
.hv3-invite-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    font-size: 0.8125rem;
    color: #64748B;
}
.hv3-invite-meta li { padding: 0.2rem 0; }
.hv3-invite-meta i { margin-right: 0.375rem; color: #94A3B8; }
.hv3-invite-cta {
    display: block;
    padding: 0.625rem;
    border-radius: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #5B21B6, #A21CAF);
    box-shadow: 0 8px 20px -8px rgba(91,33,182,0.5);
}
.hv3-invite-shadow {
    position: absolute;
    bottom: -1.5rem;
    left: 10%;
    right: 10%;
    height: 2rem;
    background: radial-gradient(ellipse, rgba(15,23,42,0.2) 0%, transparent 70%);
    transform: translateZ(-60px);
    filter: blur(8px);
}

/* Floating metric cards */
.hv3-float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.125rem;
    min-width: 10.5rem;
    border-radius: 1rem;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow:
        0 0 0 1px rgba(15,23,42,0.04),
        0 20px 48px -12px rgba(15,23,42,0.18);
    z-index: 4;
    animation: hv3Float 5s ease-in-out infinite;
}
.hv3-float-label {
    display: block;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94A3B8;
    margin-bottom: 0.125rem;
}
.hv3-float-card strong.hv3-float-val {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.hv3-float-sub { font-size: 0.6875rem; color: #64748B; }
.hv3-float-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #fff;
    flex-shrink: 0;
}
.hv3-float-icon-purple { background: linear-gradient(135deg, #A21CAF, #5B21B6); box-shadow: 0 8px 16px -6px rgba(91,33,182,0.5); }
.hv3-float-icon-blue { background: linear-gradient(135deg, #2563EB, #0EA5E9); box-shadow: 0 8px 16px -6px rgba(37,99,235,0.45); }
.hv3-float-icon-indigo { background: linear-gradient(135deg, #5B21B6, #7C3AED); box-shadow: 0 8px 16px -6px rgba(91,33,182,0.45); }
.hv3-float-icon-dark { background: linear-gradient(135deg, #1E293B, #0F172A); box-shadow: 0 8px 16px -6px rgba(15,23,42,0.4); }

.hv3-float-1 { top: 2%; left: -4%; animation-delay: 0s; z-index: 5; }
.hv3-float-2 { top: 6%; right: -6%; animation-delay: 1.2s; z-index: 5; }
.hv3-float-3 { bottom: 14%; left: -8%; animation-delay: 2.4s; z-index: 5; }
.hv3-float-4 { bottom: 6%; right: -4%; animation-delay: 0.6s; z-index: 5; }
@keyframes hv3Float {
    0%, 100% { transform: translateY(0) translateZ(30px); }
    50% { transform: translateY(-14px) translateZ(40px); }
}

@media (min-width: 1024px) {
    .hv3-float-1 { top: 4%; left: 0; }
    .hv3-float-2 { top: 8%; right: 0; }
    .hv3-float-3 { bottom: 16%; left: -2%; }
    .hv3-float-4 { bottom: 8%; right: 0; }
    .hv3-invite-3d { width: 22rem; }
}

@media (max-width: 1023px) {
    .hv3-scene-3d { min-height: 20rem; perspective: 1000px; }
    .hv3-invite-stack { transform: rotateY(-8deg) rotateX(6deg); }
    .hv3-float-card {
        min-width: 9rem;
        padding: 0.625rem 0.875rem;
        transform: scale(0.92);
    }
    .hv3-float-1 { top: 0; left: 0; }
    .hv3-float-2 { top: 0; right: 0; }
    .hv3-float-3 { bottom: 0; left: 0; }
    .hv3-float-4 { bottom: 0; right: 0; }
    .hv3-float-card strong.hv3-float-val { font-size: 1.0625rem; }
}

@media (max-width: 639px) {
    .hv3-hero { min-height: auto; padding-top: 4.5rem; }
    .hv3-float-card { display: none; }
    .hv3-invite-stack { transform: none; }
    .hv3-shape-ring, .hv3-shape-diamond { display: none; }
}

/* ── SOCIAL PROOF ── */
.hv3-social { padding-top: 0; margin-top: 0; position: relative; z-index: 2; }
.hv3-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
@media (min-width: 768px) { .hv3-stat-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } }
.hv3-stat-card {
    padding: 1.25rem 1rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid var(--hv3-border);
    box-shadow: 0 4px 24px -8px rgba(15,23,42,0.08);
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hv3-stat-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px -12px rgba(91,33,182,0.12); }
.hv3-stat-icon {
    width: 2.5rem;
    height: 2.5rem;
    margin: 0 auto 0.75rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #5B21B6;
    background: #F5F0FF;
}
.hv3-stat-num {
    display: block;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--hv3-text);
    margin-bottom: 0.25rem;
}
.hv3-stat-label { font-size: 0.8125rem; color: var(--hv3-muted); }

/* ── BENEFITS ── */
.hv3-benefits {
    position: relative;
    background: #fff;
    overflow: hidden;
}
.hv3-benefits-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 45% 50% at 0% 0%, rgba(91,33,182, 0.05) 0%, transparent 70%),
        radial-gradient(ellipse 40% 45% at 100% 100%, rgba(37, 99, 235, 0.04) 0%, transparent 70%);
}
.hv3-benefits .hv3-container {
    position: relative;
    z-index: 1;
}
.hv3-benefits-top {
    max-width: 40rem;
    margin: 0 auto var(--hv3-section-head-mb);
    text-align: center;
}
.hv3-benefits-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.875rem;
    padding: 0.375rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #4C1D95;
    background: rgba(238, 242, 255, 0.9);
    border: 1px solid #EBE1FD;
}
.hv3-benefits-eyebrow i { font-size: 0.6875rem; }
.hv3-benefits-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--hv3-text);
    margin: 0 0 0.75rem;
}
.hv3-benefits-sub {
    margin: 0;
    font-size: clamp(0.9375rem, 1.8vw, 1.0625rem);
    line-height: 1.7;
    color: var(--hv3-muted);
}
.hv3-benefit-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}
@media (min-width: 640px) {
    .hv3-benefit-grid { grid-template-columns: repeat(2, 1fr); gap: 1.125rem; }
}
@media (min-width: 1024px) {
    .hv3-benefit-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}
.hv3-benefit-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.375rem 1.25rem 1.25rem;
    border-radius: 1rem;
    border: 1px solid #E2E8F0;
    background: #fff;
    box-shadow: 0 4px 16px -10px rgba(15, 23, 42, 0.1);
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.34, 1.2, 0.64, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}
.hv3-benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--benefit-color), color-mix(in srgb, var(--benefit-color) 60%, #fff));
    opacity: 0.85;
}
.hv3-benefit-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--benefit-color) 30%, #E2E8F0);
    box-shadow: 0 16px 36px -16px color-mix(in srgb, var(--benefit-color) 25%, transparent);
}
.hv3-benefit-num {
    position: absolute;
    top: 0.875rem;
    right: 1rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #E2E8F0;
    line-height: 1;
}
.hv3-benefit-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.0625rem;
    color: var(--benefit-color);
    background: color-mix(in srgb, var(--benefit-color) 12%, #fff);
    border: 1px solid color-mix(in srgb, var(--benefit-color) 18%, #fff);
    margin-bottom: 1rem;
    transition: transform 0.25s ease, background 0.25s ease;
}
.hv3-benefit-card:hover .hv3-benefit-icon {
    transform: scale(1.05);
    background: color-mix(in srgb, var(--benefit-color) 18%, #fff);
}
.hv3-benefit-title {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--hv3-text);
    margin: 0 0 0.5rem;
    letter-spacing: -0.01em;
    padding-right: 1.5rem;
}
.hv3-benefit-desc {
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--hv3-muted);
    margin: 0;
}

/* ── SHOWCASE ── */
.hv3-showcase { background: var(--hv3-bg); }
.hv3-showcase-row {
    display: grid;
    gap: 2rem;
    align-items: center;
    margin-bottom: clamp(2rem, 5vw, 3rem);
}
.hv3-showcase-row:last-child { margin-bottom: 0; }
@media (min-width: 1024px) {
    .hv3-showcase-row { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .hv3-showcase-row-reverse .hv3-showcase-media { order: 2; }
    .hv3-showcase-row-reverse .hv3-showcase-copy { order: 1; }
}
.hv3-showcase-media {
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid var(--hv3-border);
    box-shadow: 0 24px 64px -24px rgba(15,23,42,0.2);
}
.hv3-showcase-img { width: 100%; height: auto; display: block; aspect-ratio: 16/11; object-fit: cover; }
.hv3-showcase-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 1rem; color: var(--hv3-text); }
.hv3-showcase-desc { font-size: 1.0625rem; line-height: 1.7; color: var(--hv3-muted); margin-bottom: 1.5rem; }
.hv3-showcase-feats { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.625rem; }
.hv3-showcase-feats li { display: flex; align-items: center; gap: 0.625rem; font-size: 0.9375rem; color: #334155; }
.hv3-showcase-feats i { color: #10B981; font-size: 0.75rem; }

/* ── TEMPLATES ── */
.hv3-templates {
    position: relative;
    background: linear-gradient(180deg, #FAFBFC 0%, #FFFFFF 50%, #FBF8FF 100%);
    border-top: 1px solid var(--hv3-border);
    overflow: hidden;
}
.hv3-templates-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 50% 40% at 10% 0%, rgba(91,33,182, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse 40% 35% at 90% 100%, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
}
.hv3-templates .hv3-container {
    position: relative;
    z-index: 1;
}

/* Header */
.hv3-templates-top {
    max-width: 40rem;
    margin: 0 auto var(--hv3-section-head-mb);
    text-align: center;
}
.hv3-templates-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.875rem;
    padding: 0.375rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #4C1D95;
    background: rgba(238, 242, 255, 0.9);
    border: 1px solid #EBE1FD;
}
.hv3-templates-eyebrow i { font-size: 0.6875rem; }
.hv3-templates-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--hv3-text);
    margin: 0 0 0.75rem;
}
.hv3-templates-sub {
    margin: 0;
    font-size: clamp(0.9375rem, 1.8vw, 1.0625rem);
    line-height: 1.7;
    color: var(--hv3-muted);
}

/* Category cards — 4 columns = 2 rows (8 categories) */
.hv3-cat-scroll {
    margin-bottom: 1.75rem;
}
.hv3-cat-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.625rem;
}
@media (min-width: 768px) {
    .hv3-cat-row {
        gap: 0.875rem;
        max-width: 52rem;
        margin: 0 auto;
    }
}
.hv3-cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 5rem;
    padding: 0.75rem 0.375rem;
    border-radius: 0.875rem;
    text-decoration: none;
    text-align: center;
    background: #fff;
    border: 1px solid #E2E8F0;
    box-shadow: 0 2px 8px -6px rgba(15, 23, 42, 0.1);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.hv3-cat-card:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--cat-color) 35%, #E2E8F0);
    box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--cat-color) 30%, transparent);
    background: color-mix(in srgb, var(--cat-color) 4%, #fff);
}
.hv3-cat-card-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    color: var(--cat-color);
    background: color-mix(in srgb, var(--cat-color) 14%, #fff);
    border: 1px solid color-mix(in srgb, var(--cat-color) 18%, #fff);
    flex-shrink: 0;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.hv3-cat-card:hover .hv3-cat-card-icon {
    transform: scale(1.06);
    background: color-mix(in srgb, var(--cat-color) 20%, #fff);
    border-color: color-mix(in srgb, var(--cat-color) 28%, #fff);
}
.hv3-cat-card-name {
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--hv3-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (min-width: 768px) {
    .hv3-cat-card {
        min-height: 5.75rem;
        padding: 1rem 0.5rem;
    }
    .hv3-cat-card-name {
        font-size: 0.8125rem;
    }
}

/* Template grid */
.hv3-tpl-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    width: 100%;
    min-width: 0;
}
/* Two columns on phones (a single column of 3:4 cards made the page ~4 screens longer); one column only on very narrow screens. */
@media (max-width: 339px) {
    .hv3-tpl-grid { grid-template-columns: 1fr; }
}
@media (min-width: 768px) {
    .hv3-tpl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
}
@media (min-width: 1024px) {
    .hv3-tpl-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.hv3-tpl-card {
    display: flex;
    flex-direction: column;
    border-radius: 1rem;
    border: 1px solid rgba(226, 232, 240, 0.95);
    overflow: hidden;
    background: #fff;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 16px -8px rgba(15, 23, 42, 0.1);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.2, 0.64, 1);
}
.hv3-tpl-card:hover {
    transform: translateY(-4px);
    border-color: #D9C6FB;
    box-shadow: 0 20px 40px -20px rgba(91,33,182, 0.22);
}
.hv3-tpl-media {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: linear-gradient(145deg, #F1F5F9, #E2E8F0);
}
.hv3-tpl-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s cubic-bezier(0.34, 1.2, 0.64, 1);
}
.hv3-tpl-card:hover .hv3-tpl-media img { transform: scale(1.06); }
.hv3-tpl-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, transparent 30%, rgba(15, 23, 42, 0.55) 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
}
.hv3-tpl-card:hover .hv3-tpl-overlay { opacity: 1; }
.hv3-tpl-preview {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
    transform: translateY(6px);
    transition: transform 0.25s ease;
}
.hv3-tpl-card:hover .hv3-tpl-preview { transform: translateY(0); }
.hv3-tpl-tier {
    position: absolute;
    top: 0.625rem;
    left: 0.625rem;
    z-index: 2;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #4C1D95;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #EBE1FD;
    box-shadow: 0 2px 8px -4px rgba(15, 23, 42, 0.15);
}
.hv3-tpl-body {
    padding: 0.875rem 1rem 1rem;
    border-top: 1px solid #F1F5F9;
}
.hv3-tpl-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.375rem;
}
.hv3-tpl-cat {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94A3B8;
}
.hv3-tpl-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--hv3-text);
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hv3-tpl-price {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #5B21B6;
    white-space: nowrap;
}

/* Footer link */
.hv3-templates-foot {
    margin-top: 1.75rem;
    text-align: center;
}
.hv3-templates-foot-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #4C1D95;
    text-decoration: none;
    background: #F5F0FF;
    border: 1px solid #EBE1FD;
    transition: gap 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.hv3-templates-foot-link:hover {
    gap: 0.625rem;
    background: #EBE1FD;
    border-color: #D9C6FB;
    transform: translateY(-1px);
}
.hv3-templates-foot-link i {
    font-size: 0.6875rem;
    transition: transform 0.2s ease;
}
.hv3-templates-foot-link:hover i { transform: translateX(2px); }

/* ── TIMELINE ── */
.hv3-timeline-section { background: var(--hv3-bg); }
.hv3-timeline {
    display: grid;
    gap: 1.5rem;
    position: relative;
}
@media (min-width: 1024px) {
    .hv3-timeline {
        grid-template-columns: repeat(5, 1fr);
        gap: 0;
    }
    .hv3-timeline::before {
        content: '';
        position: absolute;
        top: 1.75rem;
        left: 10%;
        right: 10%;
        height: 2px;
        background: linear-gradient(90deg, #EBE1FD, #5B21B6, #EBE1FD);
        z-index: 0;
    }
}
.hv3-timeline-step {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 0.5rem;
}
.hv3-timeline-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 1rem;
    border-radius: 50%;
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #5B21B6, #A21CAF);
    box-shadow: 0 8px 24px -8px rgba(91,33,182,0.5);
}
.hv3-timeline-title { font-size: 1rem; font-weight: 600; color: var(--hv3-text); margin-bottom: 0.5rem; }
.hv3-timeline-desc { font-size: 0.8125rem; line-height: 1.6; color: var(--hv3-muted); margin: 0; }

/* ── ANALYTICS ── */
.hv3-analytics { background: #fff; }
.hv3-analytics-grid {
    display: grid;
    gap: 1.5rem;
}
@media (min-width: 1024px) { .hv3-analytics-grid { grid-template-columns: 1fr 1.4fr; } }
.hv3-analytics-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.hv3-metric-card {
    padding: 1.25rem;
    border-radius: 1rem;
    border: 1px solid var(--hv3-border);
    background: var(--hv3-bg);
}
.hv3-metric-label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: #94A3B8; }
.hv3-metric-val { display: block; font-size: 1.75rem; font-weight: 700; color: var(--hv3-text); margin: 0.375rem 0; letter-spacing: -0.02em; }
.hv3-metric-trend { font-size: 0.75rem; font-weight: 600; color: #059669; }
.hv3-metric-trend.up i { margin-right: 0.25rem; }
.hv3-analytics-charts { display: grid; gap: 1rem; }
@media (min-width: 640px) { .hv3-analytics-charts { grid-template-columns: 1fr 1fr; } }
.hv3-chart-card {
    padding: 1.25rem;
    border-radius: 1rem;
    border: 1px solid var(--hv3-border);
    background: #fff;
    box-shadow: 0 4px 24px -8px rgba(15,23,42,0.06);
}
.hv3-chart-title { font-size: 0.875rem; font-weight: 600; color: #334155; margin-bottom: 1rem; }
.hv3-chart-canvas-wrap { position: relative; height: 12rem; }

/* ── PRICING ── */
.hv3-pricing { background: var(--hv3-bg); }
.hv3-price-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
    align-items: stretch;
}
@media (min-width: 768px) { .hv3-price-grid { grid-template-columns: repeat(3, 1fr); } }
.hv3-price-card {
    position: relative;
    padding: 2rem 1.75rem;
    border-radius: 1.25rem;
    border: 1px solid var(--hv3-border);
    background: #fff;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hv3-price-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px -16px rgba(15,23,42,0.1); }
.hv3-price-popular {
    border: 2px solid transparent;
    background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #5B21B6, #A21CAF, #A21CAF) border-box;
    box-shadow: 0 24px 56px -20px rgba(91,33,182,0.25);
    transform: scale(1.02);
}
@media (min-width: 768px) { .hv3-price-popular { transform: scale(1.05); } }
.hv3-price-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.3125rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
    background: linear-gradient(135deg, #5B21B6, #A21CAF);
    box-shadow: 0 4px 12px -4px rgba(91,33,182,0.5);
}
.hv3-price-name { font-size: 1.25rem; font-weight: 700; color: var(--hv3-text); margin-bottom: 1rem; }
.hv3-price-block { margin-bottom: 1.5rem; }
.hv3-price-amount { font-size: 2.5rem; font-weight: 700; letter-spacing: -0.03em; color: var(--hv3-text); }
.hv3-price-period { display: block; font-size: 0.875rem; color: var(--hv3-muted); margin-top: 0.25rem; }
.hv3-price-feats {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}
.hv3-price-feats li { display: flex; align-items: flex-start; gap: 0.625rem; font-size: 0.9375rem; color: #475569; }
.hv3-price-feats i { color: #10B981; margin-top: 0.2rem; font-size: 0.75rem; }
.hv3-pricing-note { text-align: center; margin-top: 2rem; font-size: 0.875rem; color: var(--hv3-muted); }
.hv3-pricing-note a { color: #5B21B6; font-weight: 600; }

/* ── TESTIMONIALS ── */
.hv3-testimonials {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #FAFBFC 0%, #F7F2FF 45%, #FAFBFC 100%);
}
.hv3-testimonials-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.hv3-testimonials-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
}
.hv3-testimonials-orb-1 {
    width: 28rem;
    height: 28rem;
    top: -8rem;
    right: -6rem;
    background: rgba(124,58,237, 0.18);
}
.hv3-testimonials-orb-2 {
    width: 22rem;
    height: 22rem;
    bottom: -6rem;
    left: -4rem;
    background: rgba(37, 99, 235, 0.12);
}
.hv3-testimonials-inner { position: relative; z-index: 1; }
.hv3-testimonials-layout {
    display: grid;
    gap: 2rem;
    align-items: start;
}
@media (min-width: 1024px) {
    .hv3-testimonials-layout {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        gap: 2.5rem 3rem;
        align-items: center;
    }
}
.hv3-testimonials-intro { max-width: 32rem; }
@media (min-width: 1024px) {
    .hv3-testimonials-intro { position: sticky; top: 6rem; }
}
.hv3-badge-light {
    color: #4C1D95;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(199, 210, 254, 0.9);
    box-shadow: 0 1px 2px rgba(91,33,182, 0.06);
}
.hv3-badge-light i { font-size: 0.625rem; opacity: 0.85; }
.hv3-testimonials-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--hv3-text);
    margin: 1rem 0 0.875rem;
}
.hv3-testimonials-sub {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--hv3-muted);
    margin: 0 0 1.25rem;
}
.hv3-test-trust {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.hv3-test-rating-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.125rem 1.25rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--hv3-border);
    box-shadow: 0 8px 32px -16px rgba(91,33,182, 0.14);
}
.hv3-test-rating-num {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--hv3-text);
}
.hv3-test-rating-meta { min-width: 0; }
.hv3-test-rating-label {
    display: block;
    margin-top: 0.375rem;
    font-size: 0.8125rem;
    color: var(--hv3-muted);
}
.hv3-test-social-proof {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 0.25rem;
}
.hv3-test-social-proof p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #475569;
}
.hv3-test-social-proof strong { color: var(--hv3-text); font-weight: 700; }
.hv3-test-avatar-stack {
    display: flex;
    flex-shrink: 0;
}
.hv3-test-stack-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
    margin-left: -0.625rem;
}
.hv3-test-stack-avatar:first-child { margin-left: 0; }
.hv3-testimonials-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}
@media (min-width: 640px) {
    .hv3-testimonials-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}
.hv3-test-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1.5rem;
    border-radius: 1.25rem;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 4px 24px -12px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s cubic-bezier(0.34, 1.2, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}
.hv3-test-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, #5B21B6, #7C3AED, #A21CAF);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.hv3-test-card:hover {
    transform: translateY(-4px);
    border-color: #D9C6FB;
    box-shadow: 0 20px 48px -20px rgba(91,33,182, 0.18);
}
.hv3-test-card:hover::before { opacity: 1; }
.hv3-test-card-mark {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    font-size: 2.5rem;
    line-height: 1;
    color: #F5F0FF;
    pointer-events: none;
}
.hv3-test-card-mark i { color: #EBE1FD; opacity: 0.9; }
.hv3-test-stars {
    display: flex;
    gap: 0.1875rem;
    color: #E3A33B;
    font-size: 0.8125rem;
    margin-bottom: 1rem;
}
.hv3-test-stars-lg { font-size: 0.9375rem; margin-bottom: 0; }
.hv3-test-quote {
    flex: 1;
    font-size: 1rem;
    line-height: 1.75;
    color: #334155;
    margin: 0 0 1.5rem;
    font-style: normal;
}
@media (min-width: 1024px) {
    .hv3-test-quote { font-size: 1.03125rem; }
}
.hv3-test-author {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid #F1F5F9;
}
.hv3-test-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px #F5F0FF;
}
.hv3-test-author-meta { min-width: 0; }
.hv3-test-author-meta strong {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.9375rem;
    color: var(--hv3-text);
    margin-bottom: 0.125rem;
}
.hv3-test-verified { font-size: 0.8125rem; color: #5B21B6; }
.hv3-test-author-meta span {
    display: block;
    font-size: 0.8125rem;
    color: var(--hv3-muted);
}
.hv3-test-company {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    margin-top: 0.5rem;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #4C1D95;
    background: #F5F0FF;
    border: 1px solid #EBE1FD;
}
.hv3-test-company i { font-size: 0.5625rem; opacity: 0.85; }

/* ── FAQ ── */
.hv3-faq { background: var(--hv3-bg); }
.hv3-faq-list { max-width: 48rem; margin: 0 auto; }
.hv3-faq-item {
    border: 1px solid var(--hv3-border);
    border-radius: 0.875rem;
    margin-bottom: 0.75rem;
    background: #fff;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.hv3-faq-item.open { border-color: #D9C6FB; box-shadow: 0 4px 16px -8px rgba(91,33,182,0.1); }
.hv3-faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.125rem 1.25rem;
    border: none;
    background: transparent;
    font-size: 1rem;
    font-weight: 600;
    color: var(--hv3-text);
    text-align: left;
    cursor: pointer;
}
.hv3-faq-icon { font-size: 0.875rem; color: #5B21B6; transition: transform 0.3s ease; }
.hv3-faq-item.open .hv3-faq-icon { transform: rotate(45deg); }
.hv3-faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.hv3-faq-panel p {
    padding: 0 1.25rem 1.125rem;
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--hv3-muted);
}

/* ── FINAL CTA ── */
.hv3-final-cta { padding-bottom: var(--hv3-section-py); }
.hv3-cta-band {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    background: linear-gradient(135deg, #1C0A3F 0%, #2E1065 40%, #5B21B6 100%);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 32px 64px -24px rgba(46,16,101,0.5);
}
.hv3-cta-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 20%, transparent 75%);
}
.hv3-cta-layout {
    position: relative;
    display: grid;
    gap: 2.5rem;
    padding: clamp(2.5rem, 6vw, 4rem);
    align-items: center;
}
@media (min-width: 1024px) { .hv3-cta-layout { grid-template-columns: 1.2fr 1fr; } }
.hv3-cta-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.15;
}
.hv3-cta-sub { font-size: 1.0625rem; line-height: 1.65; color: rgba(255,255,255,0.75); margin-bottom: 1.75rem; }
.hv3-cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hv3-cta-visuals {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    justify-items: center;
}
.hv3-cta-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem 0.75rem;
    border-radius: 1rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(12px);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    animation: hv3Float 5s ease-in-out infinite;
}
.hv3-cta-preview i { font-size: 1.5rem; margin-bottom: 0.25rem; }
.hv3-cta-preview-invite { animation-delay: 0s; }
.hv3-cta-preview-qr { animation-delay: 1s; }
.hv3-cta-preview-chart { animation-delay: 2s; }

/* ── Animations ── */
.hv3-fade-up {
    animation: hv3FadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hv3-fade-delay { animation-delay: 0.15s; opacity: 0; }
@keyframes hv3FadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
.page-home .section-reveal,
.page-public .section-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.page-home .section-reveal.is-visible,
.page-public .section-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 479px) {
    .hv3-hero-cta .hv3-btn { width: 100%; }
    .hv3-cta-actions .hv3-btn { flex: 1; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .hv3-float-card, .hv3-cta-preview, .hv3-fade-up,
    .hv3-hero-gradient, .hv3-hero-orb, .hv3-particle, .hv3-shape { animation: none; }
    .hv3-invite-stack { transform: none; }
    .page-home .section-reveal,
    .page-public .section-reveal { opacity: 1; transform: none; }
}

/* ══════════════════════════════════════════════════════════
   PUBLIC INNER PAGES — shared with homepage design system
   ══════════════════════════════════════════════════════════ */

/* Page header */
.pub-head {
    position: relative;
    padding: clamp(2.25rem, 5vw, 3.25rem) 0 clamp(1.75rem, 4vw, 2.5rem);
    background: linear-gradient(180deg, #FAFBFC 0%, #FFFFFF 100%);
    border-bottom: 1px solid var(--hv3-border);
    overflow: hidden;
}
.pub-head > .hv3-container {
    width: 100%;
    max-width: 76rem;
    margin-inline: auto;
    padding-inline: 1.25rem;
    box-sizing: border-box;
}
@media (min-width: 768px) {
    .pub-head > .hv3-container { padding-inline: 2rem; }
}
.pub-head-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 50% 80% at 50% 0%, rgba(91,33,182, 0.06) 0%, transparent 70%);
}
.pub-head-inner {
    position: relative;
    z-index: 1;
    max-width: min(40rem, 100%);
    margin: 0 auto;
    text-align: center;
    padding-inline: 0;
}
.pub-head-eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0.3125rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #4C1D95;
    background: #F5F0FF;
    border: 1px solid #EBE1FD;
}
.pub-head-title {
    font-size: clamp(1.75rem, 4.5vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.12;
    color: var(--hv3-text);
    margin: 0 0 0.75rem;
    overflow-wrap: anywhere;
}
.pub-head-sub {
    margin: 0;
    font-size: clamp(0.9375rem, 1.8vw, 1.0625rem);
    line-height: 1.7;
    color: var(--hv3-muted);
    overflow-wrap: anywhere;
}

/* Sections */
.pub-section-white { background: #fff; }
.pub-section-alt { background: #FAFBFC; }
.pub-section-mesh {
    background: #FAFBFC;
    background-image:
        radial-gradient(ellipse 60% 50% at 0% 0%, rgba(91,33,182, 0.04), transparent),
        radial-gradient(ellipse 50% 40% at 100% 0%, rgba(37, 99, 235, 0.03), transparent);
}
.pub-section-head-row {
    display: grid;
    gap: 1.25rem;
    text-align: center;
    max-width: none;
}
@media (min-width: 768px) {
    .pub-section-head-row {
        grid-template-columns: 1fr auto;
        align-items: end;
        text-align: left;
    }
    .pub-section-head-row .hv3-section-sub { margin-left: 0; margin-right: 0; }
}
.pub-section-actions { display: flex; flex-wrap: wrap; gap: 0.625rem; justify-content: center; }
@media (min-width: 768px) {
    .pub-section-actions { justify-content: flex-end; }
}

/* Templates gallery page */
.public-templates-section {
    padding-top: clamp(1.25rem, 3.5vw, 2.25rem);
    overflow-x: clip;
}
.public-templates-section > .hv3-container {
    width: 100%;
    max-width: 76rem;
    margin-inline: auto;
    padding-inline: 1.25rem;
    box-sizing: border-box;
    min-width: 0;
}
@media (min-width: 768px) {
    .public-templates-section > .hv3-container {
        padding-inline: 2rem;
    }
}
.public-templates-section .pub-tpl-filters,
.public-templates-section .pub-tpl-toolbar,
.public-templates-section .pub-templates-grid,
.public-templates-section .pub-tpl-shell,
.public-templates-section .pub-tpl-empty {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

/* Filter shell — mobile/tablet category tiles, desktop pills */
.pub-tpl-shell {
    margin-bottom: 1.25rem;
    padding: 0.75rem;
    border-radius: 1.25rem;
    background: #fff;
    border: 1px solid #E2E8F0;
    box-shadow: 0 10px 28px -20px rgba(91,33,182, 0.28);
}
@media (min-width: 640px) {
    .pub-tpl-shell { padding: 1rem 1.125rem 1.125rem; }
}
@media (min-width: 1024px) {
    .pub-tpl-shell { padding: 1.125rem 1.25rem 1.125rem; }
}

.pub-tpl-shell-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.625rem;
    margin: 0 0 0.75rem;
    padding: 0.125rem 0.125rem 0.75rem;
    border-bottom: 1px solid #F1F5F9;
}
@media (min-width: 640px) {
    .pub-tpl-shell-head {
        margin-bottom: 0.875rem;
        padding-bottom: 0.875rem;
    }
}
.pub-tpl-shell-copy {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    min-width: 0;
    flex: 1 1 auto;
}
.pub-tpl-shell-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.8125rem;
    color: #fff;
    background: linear-gradient(135deg, #5B21B6, #A21CAF);
    box-shadow: 0 8px 18px -10px rgba(91,33,182, 0.65);
}
@media (min-width: 640px) {
    .pub-tpl-shell-icon {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 0.875rem;
    }
}
.pub-tpl-shell-text { min-width: 0; }
.pub-tpl-shell-label {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--hv3-text);
    letter-spacing: -0.015em;
    line-height: 1.25;
}
@media (min-width: 640px) {
    .pub-tpl-shell-label { font-size: 0.9375rem; }
}
.pub-tpl-shell-hint {
    display: none;
    margin: 0.2rem 0 0;
    font-size: 0.75rem;
    color: var(--hv3-muted);
    line-height: 1.4;
}
@media (min-width: 640px) {
    .pub-tpl-shell-hint { display: block; font-size: 0.8125rem; }
}
.pub-tpl-shell-stats {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    flex-shrink: 0;
}
.pub-tpl-shell-stat {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    min-height: 1.75rem;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #4C1D95;
    background: #F5F0FF;
    border: 1px solid #EBE1FD;
}
.pub-tpl-shell-stat i { font-size: 0.5625rem; }
.pub-tpl-shell-stat em { font-style: normal; font-weight: 700; }
.pub-tpl-shell-stat-featured {
    color: #9A6414;
    background: #FFFAEE;
    border-color: #F6DDA2;
}
@media (min-width: 640px) {
    .pub-tpl-shell-stat {
        min-height: 1.875rem;
        padding: 0.25rem 0.625rem;
        font-size: 0.75rem;
    }
}

.pub-tpl-filters {
    margin: 0;
    width: 100%;
}
.pub-tpl-shell .pub-tpl-filters::before,
.pub-tpl-shell .pub-tpl-filters::after { display: none; }

/* Mobile: 3-col vertical tiles + full-width All */
.pub-tpl-chips {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    padding: 0;
}
.pub-tpl-chip-all {
    grid-column: 1 / -1;
}
/* Tablet / iPad: 4 columns */
@media (min-width: 640px) and (max-width: 1023px) {
    .pub-tpl-chips {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.625rem;
    }
    .pub-tpl-chip-all {
        grid-column: span 2;
    }
}
/* Desktop: pill wrap */
@media (min-width: 1024px) {
    .pub-tpl-chips {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .pub-tpl-chip-all { grid-column: auto; }
}

/* Mobile / tablet tile cards */
.pub-tpl-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    min-width: 0;
    min-height: 4.75rem;
    padding: 0.625rem 0.375rem 0.5rem;
    border-radius: 1rem;
    text-decoration: none;
    text-align: center;
    color: var(--hv3-text);
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    box-shadow: none;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, color 0.2s ease;
}
.pub-tpl-chip-all {
    flex-direction: row;
    justify-content: flex-start;
    min-height: 3.25rem;
    padding: 0.625rem 0.875rem;
    text-align: start;
    gap: 0.75rem;
    background: linear-gradient(135deg, #FBF8FF 0%, #F5F0FF 100%);
    border-color: #EBE1FD;
}
@media (min-width: 640px) and (max-width: 1023px) {
    .pub-tpl-chip {
        min-height: 5.25rem;
        padding: 0.75rem 0.5rem 0.625rem;
        border-radius: 1.125rem;
        gap: 0.5rem;
    }
    .pub-tpl-chip-all {
        min-height: 3.5rem;
        padding: 0.75rem 1rem;
    }
}
@media (min-width: 1024px) {
    .pub-tpl-chip,
    .pub-tpl-chip-all {
        display: inline-flex;
        flex-direction: row;
        flex: 0 0 auto;
        align-items: center;
        justify-content: flex-start;
        min-height: 0;
        gap: 0.5rem;
        padding: 0.5rem 0.75rem 0.5rem 0.5rem;
        border-radius: 999px;
        text-align: start;
        background: #F8FAFC;
        border-color: #E2E8F0;
    }
}

.pub-tpl-chip:active {
    transform: scale(0.98);
}
.pub-tpl-chip:hover {
    border-color: color-mix(in srgb, var(--chip-color, #5B21B6) 40%, #E2E8F0);
    background: color-mix(in srgb, var(--chip-color, #5B21B6) 8%, #fff);
    box-shadow: 0 8px 20px -12px color-mix(in srgb, var(--chip-color, #5B21B6) 35%, transparent);
}
@media (min-width: 1024px) {
    .pub-tpl-chip:hover { transform: translateY(-1px); }
}
.pub-tpl-chip.is-active {
    border-color: transparent;
    color: #fff;
    background: linear-gradient(145deg, var(--chip-color, #5B21B6), color-mix(in srgb, var(--chip-color, #5B21B6) 65%, #A21CAF));
    box-shadow: 0 12px 24px -14px color-mix(in srgb, var(--chip-color, #5B21B6) 60%, transparent);
}

.pub-tpl-chip-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    color: var(--chip-color, #5B21B6);
    background: color-mix(in srgb, var(--chip-color, #5B21B6) 14%, #fff);
    border: 1px solid color-mix(in srgb, var(--chip-color, #5B21B6) 20%, #fff);
    flex-shrink: 0;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, border-radius 0.2s ease;
}
@media (min-width: 640px) and (max-width: 1023px) {
    .pub-tpl-chip-icon {
        width: 2.5rem;
        height: 2.5rem;
        border-radius: 0.875rem;
        font-size: 0.9375rem;
    }
}
@media (min-width: 1024px) {
    .pub-tpl-chip-icon {
        width: 1.75rem;
        height: 1.75rem;
        border-radius: 999px;
        font-size: 0.75rem;
    }
}
.pub-tpl-chip.is-active .pub-tpl-chip-icon {
    color: var(--chip-color, #5B21B6);
    background: #fff;
    border-color: transparent;
}

.pub-tpl-chip-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    min-width: 0;
    width: 100%;
}
.pub-tpl-chip-all .pub-tpl-chip-copy {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: auto;
    flex: 1 1 auto;
}
@media (min-width: 1024px) {
    .pub-tpl-chip-copy,
    .pub-tpl-chip-all .pub-tpl-chip-copy {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        width: auto;
        gap: 0.5rem;
        flex: 0 1 auto;
    }
}

.pub-tpl-chip-label {
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
@media (min-width: 640px) {
    .pub-tpl-chip-label { font-size: 0.75rem; }
}
@media (min-width: 1024px) {
    .pub-tpl-chip-label { font-size: 0.8125rem; }
}
.pub-tpl-chip-all .pub-tpl-chip-label { font-size: 0.8125rem; }
@media (min-width: 640px) {
    .pub-tpl-chip-all .pub-tpl-chip-label { font-size: 0.875rem; }
}

.pub-tpl-chip-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    padding: 0.1rem 0.35rem;
    border-radius: 999px;
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--hv3-muted);
    background: #fff;
    border: 1px solid #E2E8F0;
}
@media (min-width: 1024px) {
    .pub-tpl-chip-count {
        min-width: 1.25rem;
        padding: 0.125rem 0.4rem;
        font-size: 0.6875rem;
    }
}
.pub-tpl-chip.is-active .pub-tpl-chip-count {
    color: var(--chip-color, #5B21B6);
    background: #fff;
    border-color: transparent;
}

@media (hover: none) {
    .pub-tpl-chip:hover {
        transform: none;
        box-shadow: none;
        background: #F8FAFC;
        border-color: #E2E8F0;
    }
    .pub-tpl-chip-all:hover {
        background: linear-gradient(135deg, #FBF8FF 0%, #F5F0FF 100%);
        border-color: #EBE1FD;
    }
    .pub-tpl-chip.is-active:hover {
        background: linear-gradient(145deg, var(--chip-color, #5B21B6), color-mix(in srgb, var(--chip-color, #5B21B6) 65%, #A21CAF));
        border-color: transparent;
        box-shadow: 0 12px 24px -14px color-mix(in srgb, var(--chip-color, #5B21B6) 60%, transparent);
    }
}

.pub-tpl-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.625rem 0.875rem;
    margin-bottom: 1.25rem;
    padding: 0.625rem 0.875rem;
    border-radius: 0.875rem;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #E2E8F0;
    backdrop-filter: blur(10px);
    position: sticky;
    top: 5.25rem;
    z-index: 20;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 8px 24px -20px rgba(15, 23, 42, 0.2);
}
@media (min-width: 640px) {
    .pub-tpl-toolbar {
        top: 5.5rem;
        padding: 0.75rem 1rem;
    }
}
@media (min-width: 1024px) {
    .pub-tpl-toolbar { top: 6rem; }
}
.pub-tpl-count {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.375rem 0.625rem;
    font-size: 0.8125rem;
    color: var(--hv3-muted);
    min-width: 0;
    flex: 1 1 auto;
}
@media (min-width: 640px) {
    .pub-tpl-count { font-size: 0.875rem; }
}
.pub-tpl-count-cat {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    max-width: 100%;
    padding: 0.25rem 0.625rem;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--chip-color, #5B21B6);
    background: color-mix(in srgb, var(--chip-color, #5B21B6) 12%, #fff);
    border: 1px solid color-mix(in srgb, var(--chip-color, #5B21B6) 22%, #fff);
}
@media (min-width: 640px) {
    .pub-tpl-count-cat { font-size: 0.75rem; }
}
.pub-tpl-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    flex: 0 0 auto;
    font-size: 0.75rem;
    font-weight: 600;
    color: #5B21B6;
    text-decoration: none;
    padding: 0.375rem 0.75rem;
    border-radius: 999px;
    border: 1px solid #EBE1FD;
    background: #F5F0FF;
    transition: background 0.2s ease, border-color 0.2s ease;
}
@media (min-width: 640px) {
    .pub-tpl-clear { font-size: 0.8125rem; }
}
.pub-tpl-clear:hover {
    background: #EBE1FD;
    border-color: #D9C6FB;
}

.pub-tpl-empty {
    text-align: center;
    padding: clamp(2rem, 6vw, 4rem) 1rem;
    border-radius: 1.25rem;
    border: 1px dashed #D9C6FB;
    background:
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(91,33,182, 0.08), transparent 70%),
        #fff;
}
.pub-tpl-empty-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 1rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #fff;
    background: linear-gradient(135deg, #5B21B6, #A21CAF);
    box-shadow: 0 12px 28px -12px rgba(91,33,182, 0.45);
}
.pub-tpl-empty-title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.125rem, 3vw, 1.25rem);
    font-weight: 700;
    color: var(--hv3-text);
    letter-spacing: -0.02em;
}
.pub-tpl-empty-text {
    margin: 0 auto 1.25rem;
    max-width: 24rem;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--hv3-muted);
}
.pub-tpl-empty .hv3-btn {
    width: 100%;
    max-width: 16rem;
}

/* Gallery grid — overrides legacy .public-templates-grid from style.css */
.public-templates-section .pub-templates-grid.hv3-tpl-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    width: 100%;
    margin: 0;
}
@media (min-width: 560px) {
    .public-templates-section .pub-templates-grid.hv3-tpl-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
    }
}
@media (min-width: 900px) {
    .public-templates-section .pub-templates-grid.hv3-tpl-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.375rem;
    }
}
@media (min-width: 1200px) {
    .public-templates-section .pub-templates-grid.hv3-tpl-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

.public-templates-section .hv3-tpl-card {
    --tpl-accent: #5B21B6;
    position: relative;
    min-width: 0;
    width: 100%;
    border-radius: 1.125rem;
    border: 1px solid #E2E8F0;
    background: #fff;
    box-shadow: 0 8px 28px -20px rgba(15, 23, 42, 0.2);
    overflow: hidden;
}
.public-templates-section .hv3-tpl-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 3;
    background: linear-gradient(90deg, var(--tpl-accent), color-mix(in srgb, var(--tpl-accent) 55%, #A21CAF));
}
.public-templates-section .hv3-tpl-card:hover {
    transform: translateY(-6px);
    border-color: color-mix(in srgb, var(--tpl-accent) 35%, #E2E8F0);
    box-shadow:
        0 22px 48px -24px color-mix(in srgb, var(--tpl-accent) 45%, rgba(15, 23, 42, 0.25));
}
.public-templates-section .hv3-tpl-media {
    aspect-ratio: 3 / 4;
    background:
        linear-gradient(145deg, color-mix(in srgb, var(--tpl-accent) 8%, #F8FAFC), #F5F0FF);
}
.public-templates-section .hv3-tpl-media::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 40%;
    pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.18));
    z-index: 1;
}
.public-templates-section .hv3-tpl-overlay {
    z-index: 2;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 20%, rgba(15, 23, 42, 0.62) 100%);
}
.public-templates-section .hv3-tpl-preview {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.35);
}
.public-templates-section .hv3-tpl-tier {
    top: 0.75rem;
    left: 0.75rem;
    z-index: 3;
}
[dir="rtl"] .public-templates-section .hv3-tpl-tier {
    left: auto;
    right: 0.75rem;
}
.public-templates-section .hv3-tpl-badges {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.375rem;
}
[dir="rtl"] .public-templates-section .hv3-tpl-badges {
    right: auto;
    left: 0.75rem;
    align-items: flex-start;
}
.public-templates-section .hv3-tpl-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    line-height: 1;
    box-shadow: 0 4px 12px -6px rgba(15, 23, 42, 0.35);
}
.public-templates-section .hv3-tpl-badge-featured {
    color: #7A4B0F;
    background: linear-gradient(135deg, #FBEFD3, #F6DDA2);
    border: 1px solid #F4CB6A;
}
.public-templates-section .hv3-tpl-badge-featured i { font-size: 0.5625rem; }
.public-templates-section .hv3-tpl-badge-free {
    color: #065F46;
    background: linear-gradient(135deg, #D1FAE5, #A7F3D0);
    border: 1px solid #6EE7B7;
}
.public-templates-section .hv3-tpl-card-extended .hv3-tpl-body {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    flex: 1;
    padding: 0.875rem 0.875rem 1rem;
    min-width: 0;
    border-top: 1px solid #F1F5F9;
    background: linear-gradient(180deg, #fff 0%, #FAFBFC 100%);
}
@media (min-width: 640px) {
    .public-templates-section .hv3-tpl-card-extended .hv3-tpl-body {
        padding: 1rem 1rem 1.125rem;
    }
}
.public-templates-section .hv3-tpl-meta {
    gap: 0.375rem;
    min-width: 0;
}
.public-templates-section .hv3-tpl-cat {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: color-mix(in srgb, var(--tpl-accent) 75%, #64748B);
}
.public-templates-section .hv3-tpl-price {
    color: var(--tpl-accent);
}
.public-templates-section .hv3-tpl-name {
    font-size: 0.9375rem;
    letter-spacing: -0.015em;
}
@media (min-width: 640px) {
    .public-templates-section .hv3-tpl-name { font-size: 1rem; }
}
.public-templates-section .hv3-tpl-desc {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.55;
    color: var(--hv3-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 559px) {
    .public-templates-section .hv3-tpl-desc { -webkit-line-clamp: 3; }
}
@media (min-width: 560px) and (max-width: 899px) {
    .public-templates-section .hv3-tpl-desc { display: none; }
}
.public-templates-section .hv3-tpl-cta {
    margin-top: auto;
    padding-top: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--tpl-accent);
}
.public-templates-section .hv3-tpl-cta i {
    font-size: 0.625rem;
    transition: transform 0.2s ease;
}
.public-templates-section .hv3-tpl-card-extended:hover .hv3-tpl-cta i {
    transform: translateX(3px);
}
[dir="rtl"] .public-templates-section .hv3-tpl-card-extended:hover .hv3-tpl-cta i {
    transform: translateX(-3px);
}
@media (hover: none) {
    .public-templates-section .hv3-tpl-card .hv3-tpl-overlay {
        opacity: 1;
        background: linear-gradient(180deg, transparent 45%, rgba(15, 23, 42, 0.45) 100%);
    }
    .public-templates-section .hv3-tpl-card .hv3-tpl-preview {
        transform: none;
        font-size: 0.6875rem;
        padding: 0.35rem 0.65rem;
    }
}
@media (max-width: 559px) {
    .public-templates-section .hv3-tpl-preview {
        font-size: 0.75rem;
    }
}

/* Split steps (how it works) */
.pub-split-steps { display: flex; flex-direction: column; gap: clamp(2.5rem, 6vw, 4rem); }
.pub-split-step {
    display: grid;
    gap: 1.5rem;
    align-items: center;
}
@media (min-width: 1024px) {
    .pub-split-step { grid-template-columns: 1fr 1fr; gap: 2.5rem 3rem; }
    .pub-split-step-reverse .pub-split-copy { order: 2; }
    .pub-split-step-reverse .pub-split-media { order: 1; }
}
.pub-split-badge {
    display: inline-block;
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5B21B6;
}
.pub-split-title {
    font-size: clamp(1.375rem, 3vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--hv3-text);
    margin: 0 0 0.75rem;
}
.pub-split-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--hv3-muted);
    margin: 0 0 1.25rem;
}
.pub-split-media {
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--hv3-border);
    box-shadow: 0 16px 48px -24px rgba(15, 23, 42, 0.15);
}
.pub-split-img { width: 100%; height: auto; display: block; aspect-ratio: 3/2; object-fit: cover; }
.pub-split-cta { display: flex; flex-wrap: wrap; gap: 0.625rem; }

/* Features grid */
.public-features-grid,
.hv3-benefit-grid.pub-features-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}
@media (min-width: 640px) {
    .public-features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .public-features-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}

/* Pricing page */
.pub-pricing-grid { margin-bottom: 1.5rem; }
.pub-pricing-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--hv3-muted);
    margin: 0;
}
.pub-pricing-note a { color: #5B21B6; font-weight: 600; text-decoration: none; }
.pub-pricing-note a:hover { text-decoration: underline; }
.public-compare-table-wrap {
    border-radius: 1rem;
    border: 1px solid var(--hv3-border);
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 16px -10px rgba(15, 23, 42, 0.08);
}

/* CTA band */
.pub-cta { padding-top: 0; }
.pub-cta-box {
    padding: clamp(2rem, 5vw, 2.75rem);
    border-radius: 1rem;
    text-align: center;
    background: linear-gradient(135deg, #F5F0FF 0%, #F8FAFC 50%, #EFF6FF 100%);
    border: 1px solid #EBE1FD;
    box-shadow: 0 8px 32px -16px rgba(91,33,182, 0.15);
}
.pub-cta-eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #4C1D95;
}
.pub-cta-title {
    font-size: clamp(1.375rem, 3vw, 1.875rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--hv3-text);
    margin: 0 0 0.625rem;
}
.pub-cta-sub {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--hv3-muted);
    margin: 0 auto 1.25rem;
    max-width: 32rem;
}
.pub-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}
@media (max-width: 479px) {
    .pub-cta-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .pub-cta-actions .hv3-btn {
        width: 100%;
    }
}

/* About page */
.public-about-story {
    display: grid;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2.5rem;
}
@media (min-width: 1024px) {
    .public-about-story { grid-template-columns: 1fr 1fr; gap: 3rem; }
}
.public-about-badge {
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0.3125rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #4C1D95;
    background: #F5F0FF;
    border: 1px solid #EBE1FD;
}
.public-about-story-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--hv3-text);
    margin: 0 0 1rem;
}
.public-about-story p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--hv3-muted);
    margin: 0 0 1rem;
}
.public-about-story img {
    width: 100%;
    border-radius: 1rem;
    border: 1px solid var(--hv3-border);
    box-shadow: 0 16px 48px -24px rgba(15, 23, 42, 0.12);
}
.pub-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
    .pub-stats-grid { grid-template-columns: repeat(4, 1fr); }
}
.pub-stat-card {
    padding: 1.25rem;
    border-radius: 1rem;
    text-align: center;
    background: #fff;
    border: 1px solid var(--hv3-border);
    box-shadow: 0 4px 16px -10px rgba(15, 23, 42, 0.08);
}
.pub-stat-icon {
    width: 2.5rem;
    height: 2.5rem;
    margin: 0 auto 0.75rem;
    border-radius: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #5B21B6;
    background: #F5F0FF;
}
.pub-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--hv3-text);
    margin: 0 0 0.25rem;
}
.pub-stat-label { font-size: 0.8125rem; color: var(--hv3-muted); margin: 0; }
.pub-team-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
    margin-bottom: 2.5rem;
}
@media (min-width: 640px) { .pub-team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pub-team-grid { grid-template-columns: repeat(4, 1fr); } }
.pub-team-card {
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
    background: #fff;
    border: 1px solid var(--hv3-border);
    box-shadow: 0 4px 16px -10px rgba(15, 23, 42, 0.08);
}
.pub-team-avatar {
    width: 4rem;
    height: 4rem;
    border-radius: 999px;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 2px solid #EBE1FD;
}
.pub-team-name { font-size: 1rem; font-weight: 600; color: var(--hv3-text); margin: 0 0 0.25rem; }
.pub-team-role { font-size: 0.8125rem; color: #5B21B6; font-weight: 500; margin: 0 0 0.75rem; }
.pub-team-bio { font-size: 0.8125rem; line-height: 1.6; color: var(--hv3-muted); margin: 0; }
.pub-inline-cta {
    padding: clamp(1.75rem, 4vw, 2.5rem);
    border-radius: 1rem;
    text-align: center;
    background: linear-gradient(135deg, #F5F0FF, #F8FAFC);
    border: 1px solid #EBE1FD;
}
.pub-inline-cta h2 {
    font-size: clamp(1.25rem, 3vw, 1.625rem);
    font-weight: 700;
    color: var(--hv3-text);
    margin: 0 0 0.5rem;
}
.pub-inline-cta p { color: var(--hv3-muted); margin: 0 0 1.25rem; }
.pub-inline-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

/* Contact page */
.page-public .public-contact-panel {
    color: inherit;
    background: #fff;
    border: 1px solid var(--hv3-border);
    box-shadow: 0 4px 16px -10px rgba(15, 23, 42, 0.08);
}
.page-public .public-contact-panel::before { display: none; }
.page-public .public-contact-panel-title {
    font-family: inherit;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--hv3-text);
    margin-bottom: 1.5rem;
}
.page-public .public-contact-list li { color: #475569; font-size: 0.875rem; }
.page-public .public-contact-list i {
    color: #5B21B6;
    background: #F5F0FF;
    border: 1px solid #EBE1FD;
}
.page-public .public-contact-list a { color: #5B21B6; }
.page-public .public-contact-social a {
    color: #64748B;
    background: #F8FAFC;
    border-color: #E2E8F0;
}
.page-public .public-contact-social a:hover {
    background: #5B21B6;
    border-color: #5B21B6;
    color: #fff;
}
.page-public .public-contact-form-card {
    border-radius: 1rem;
    border: 1px solid var(--hv3-border);
    box-shadow: 0 4px 16px -10px rgba(15, 23, 42, 0.08);
}
.page-public .public-contact-form-title {
    font-family: inherit;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--hv3-text);
}

/* Contact page */
.pub-contact-grid {
    display: grid;
    gap: 1.5rem;
    align-items: start;
}
@media (min-width: 960px) {
    .pub-contact-grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr); gap: 2rem; }
}
.pub-contact-aside {
    padding: clamp(1.5rem, 3vw, 2rem);
    border-radius: 1.25rem;
    background: linear-gradient(160deg, #F5F0FF 0%, #F8FAFC 55%, #EFF6FF 100%);
    border: 1px solid #EBE1FD;
    box-shadow: 0 8px 28px -18px rgba(91,33,182, 0.25);
}
.pub-contact-aside-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--hv3-text);
    margin: 0 0 0.5rem;
}
.pub-contact-aside-text {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--hv3-muted);
    margin: 0 0 1.5rem;
}
.pub-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}
.pub-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #475569;
}
.pub-contact-list a {
    color: #5B21B6;
    text-decoration: none;
    font-weight: 500;
}
.pub-contact-list a:hover { text-decoration: underline; }
.pub-contact-list-icon {
    width: 2.25rem;
    height: 2.25rem;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.625rem;
    color: #5B21B6;
    background: #fff;
    border: 1px solid #EBE1FD;
}
.pub-contact-list-icon-wa { color: #059669; }
.pub-contact-social {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #EBE1FD;
}
.pub-contact-social-link {
    width: 2.25rem;
    height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.625rem;
    color: #64748B;
    background: #fff;
    border: 1px solid #E2E8F0;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.pub-contact-social-link:hover {
    background: #5B21B6;
    border-color: #5B21B6;
    color: #fff;
}
.pub-contact-form-card {
    padding: clamp(1.5rem, 3vw, 2rem);
    border-radius: 1.25rem;
    background: #fff;
    border: 1px solid var(--hv3-border);
    box-shadow: 0 8px 28px -18px rgba(15, 23, 42, 0.12);
}
.pub-contact-form-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--hv3-text);
    margin: 0 0 1.25rem;
}
.pub-contact-form { display: flex; flex-direction: column; gap: 1rem; }
.pub-contact-form-row {
    display: grid;
    gap: 1rem;
}
@media (min-width: 640px) {
    .pub-contact-form-row { grid-template-columns: 1fr 1fr; }
}
.pub-contact-field { display: flex; flex-direction: column; gap: 0.375rem; }
.pub-contact-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #334155;
}
.pub-contact-input,
.pub-contact-textarea {
    width: 100%;
    padding: 0.75rem 0.875rem;
    border-radius: 0.75rem;
    border: 1px solid #E2E8F0;
    background: #F8FAFC;
    color: var(--hv3-text);
    font-size: 0.9375rem;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.pub-contact-textarea { resize: vertical; min-height: 8rem; }
.pub-contact-input:focus,
.pub-contact-textarea:focus {
    outline: none;
    border-color: #BE9DF6;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(91,33,182, 0.12);
}
.pub-contact-submit {
    align-self: flex-start;
    margin-top: 0.25rem;
}
@media (max-width: 479px) {
    .pub-contact-submit { width: 100%; justify-content: center; }
}

/* Pricing compare */
.pub-compare-wrap {
    border-radius: 1.25rem;
    border: 1px solid var(--hv3-border);
    background: #fff;
    box-shadow: 0 8px 28px -18px rgba(15, 23, 42, 0.1);
    overflow: hidden;
}
.pub-compare-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.pub-compare-table {
    width: 100%;
    min-width: 36rem;
    border-collapse: collapse;
    font-size: 0.875rem;
}
.pub-compare-table th,
.pub-compare-table td {
    padding: 0.875rem 1rem;
    text-align: start;
    border-bottom: 1px solid #F1F5F9;
    color: #475569;
}
.pub-compare-table thead th {
    background: linear-gradient(180deg, #F5F0FF 0%, #F8FAFC 100%);
    color: var(--hv3-text);
    font-weight: 700;
    white-space: nowrap;
}
.pub-compare-table tbody th {
    font-weight: 600;
    color: var(--hv3-text);
    background: #fff;
}
.pub-compare-table tbody tr:last-child th,
.pub-compare-table tbody tr:last-child td { border-bottom: 0; }
.pub-compare-table tbody tr:hover td,
.pub-compare-table tbody tr:hover th { background: #F8FAFC; }
.pub-compare-yes { color: #059669; }
.pub-compare-no { color: #CBD5E1; }

/* Legal pages */
.pub-legal-layout {
    display: grid;
    gap: 1.5rem;
    align-items: start;
}
@media (min-width: 960px) {
    .pub-legal-layout {
        grid-template-columns: minmax(12rem, 14rem) minmax(0, 1fr);
        gap: 2rem;
    }
}
.pub-legal-toc {
    padding: 1.25rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid var(--hv3-border);
    box-shadow: 0 4px 16px -10px rgba(15, 23, 42, 0.08);
}
@media (min-width: 960px) {
    .pub-legal-toc { position: sticky; top: 5.5rem; }
}
.pub-legal-toc-title {
    margin: 0 0 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748B;
}
.pub-legal-toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}
.pub-legal-toc-list a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.5rem;
    border-radius: 0.5rem;
    font-size: 0.8125rem;
    color: #475569;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.pub-legal-toc-list a span {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #5B21B6;
    background: #F5F0FF;
}
.pub-legal-toc-list a:hover {
    background: #F8FAFC;
    color: #5B21B6;
}
.pub-legal-wrap { max-width: 48rem; margin: 0; min-width: 0; }
.pub-legal-intro {
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
    border-radius: 1rem;
    font-size: 0.9375rem;
    line-height: 1.75;
    color: #475569;
    background: #fff;
    border: 1px solid var(--hv3-border);
}
.pub-legal-blocks { display: flex; flex-direction: column; gap: 0.75rem; }
.pub-legal-block {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid var(--hv3-border);
    scroll-margin-top: 6rem;
}
.pub-legal-num {
    font-size: 0.75rem;
    font-weight: 700;
    color: #D9C6FB;
    flex-shrink: 0;
    padding-top: 0.125rem;
}
.pub-legal-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--hv3-text);
    margin: 0 0 0.5rem;
}
.pub-legal-body {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--hv3-muted);
    margin: 0;
}
.pub-legal-footer {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--hv3-muted);
    background: #F8FAFC;
    border: 1px solid var(--hv3-border);
}
.pub-legal-footer a { color: #5B21B6; font-weight: 600; text-decoration: none; }
.pub-legal-footer a:hover { text-decoration: underline; }

/* Template detail */
.template-detail-section {
    padding-top: clamp(1.25rem, 3vw, 2rem);
    padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
@media (max-width: 767px) {
    .template-detail-section {
        padding-bottom: calc(clamp(2.5rem, 5vw, 3.5rem) + 5.5rem);
    }
}

.pub-tpl-detail-crumb {
    margin-bottom: 1.25rem;
}
.pub-tpl-detail-crumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.375rem 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.8125rem;
    color: var(--hv3-muted);
}
.pub-tpl-detail-crumb-list li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}
.pub-tpl-detail-crumb-list li:not(:last-child)::after {
    content: '/';
    color: #CBD5E1;
    margin-inline-start: 0.125rem;
}
.pub-tpl-detail-crumb-list a {
    color: var(--hv3-muted);
    text-decoration: none;
    transition: color 0.15s ease;
}
.pub-tpl-detail-crumb-list a:hover { color: #5B21B6; }
.pub-tpl-detail-crumb-list li[aria-current="page"] span {
    color: var(--hv3-text);
    font-weight: 600;
    max-width: 14rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pub-tpl-detail {
    display: grid;
    gap: 1.75rem;
    margin-bottom: clamp(2rem, 5vw, 3rem);
}
@media (min-width: 1024px) {
    .pub-tpl-detail {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        gap: 2.5rem 3rem;
        align-items: start;
    }
}

.pub-tpl-detail-gallery {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
@media (min-width: 1024px) {
    .pub-tpl-detail-gallery {
        position: sticky;
        top: 6rem;
    }
}

.pub-tpl-detail-stage {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    background:
        radial-gradient(ellipse 70% 50% at 50% 0%, rgba(91,33,182, 0.1), transparent 65%),
        #F1F5F9;
    border: 1px solid #E2E8F0;
    box-shadow: 0 20px 48px -28px rgba(15, 23, 42, 0.28);
}
.pub-tpl-detail-main {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: object-position 0.35s ease;
}
.pub-tpl-detail-featured {
    position: absolute;
    top: 0.875rem;
    inset-inline-start: 0.875rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #7A4B0F;
    background: rgba(255, 251, 235, 0.95);
    border: 1px solid #F6DDA2;
    box-shadow: 0 8px 20px -12px rgba(15, 23, 42, 0.25);
    backdrop-filter: blur(6px);
}

.pub-tpl-detail-thumbs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.625rem;
}
.pub-tpl-detail-thumb {
    position: relative;
    display: block;
    padding: 0;
    margin: 0;
    border: 2px solid #E2E8F0;
    border-radius: 0.75rem;
    overflow: hidden;
    background: #F8FAFC;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.pub-tpl-detail-thumb:hover {
    transform: translateY(-1px);
    border-color: #D9C6FB;
}
.pub-tpl-detail-thumb.is-active {
    border-color: #5B21B6;
    box-shadow: 0 0 0 3px rgba(91,33,182, 0.15);
}
.pub-tpl-detail-thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}
.pub-tpl-detail-thumb-label {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    padding: 0.35rem 0.4rem;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.7));
}

.pub-tpl-detail-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.pub-tpl-detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.875rem;
}
.pub-tpl-detail-cat {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.3125rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--chip-color, #5B21B6);
    background: color-mix(in srgb, var(--chip-color, #5B21B6) 12%, #fff);
    border: 1px solid color-mix(in srgb, var(--chip-color, #5B21B6) 22%, #fff);
    transition: background 0.15s ease, border-color 0.15s ease;
}
.pub-tpl-detail-cat:hover {
    background: color-mix(in srgb, var(--chip-color, #5B21B6) 18%, #fff);
}
.pub-tpl-detail-free {
    display: inline-flex;
    align-items: center;
    padding: 0.3125rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #047857;
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
}

.pub-tpl-detail-title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.5rem, 3.5vw, 2.125rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--hv3-text);
}
.pub-tpl-detail-desc {
    margin: 0 0 1.25rem;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--hv3-muted);
}

.pub-tpl-detail-price-block {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem 1.25rem;
    margin-bottom: 1.25rem;
    padding: 1rem 1.125rem;
    border-radius: 1rem;
    background:
        radial-gradient(circle at 100% 0%, rgba(91,33,182, 0.12) 0%, transparent 45%),
        linear-gradient(160deg, #F5F0FF 0%, #fff 55%, #FBF8FF 100%);
    border: 1px solid #D9C6FB;
}
.pub-tpl-detail-price-label {
    margin: 0 0 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #7C3AED;
}
.pub-tpl-detail-price-value {
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--hv3-text);
}
.pub-tpl-detail-price-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--hv3-muted);
}
.pub-tpl-detail-price-meta i { color: #5B21B6; }

.pub-tpl-detail-features {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    display: grid;
    gap: 0.625rem;
}
@media (min-width: 640px) {
    .pub-tpl-detail-features { grid-template-columns: 1fr 1fr; }
}
.pub-tpl-detail-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--hv3-text);
    line-height: 1.45;
}
.pub-tpl-detail-features i {
    margin-top: 0.15rem;
    color: #059669;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.pub-tpl-detail-panel {
    padding: 0.25rem 1.125rem;
    margin-bottom: 1.25rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 16px -12px rgba(15, 23, 42, 0.12);
}
.pub-tpl-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 0;
    font-size: 0.875rem;
}
.pub-tpl-detail-row + .pub-tpl-detail-row { border-top: 1px solid #F1F5F9; }
.pub-tpl-detail-row span { color: var(--hv3-muted); }
.pub-tpl-detail-row strong { color: var(--hv3-text); font-weight: 600; text-align: end; }

.pub-tpl-detail-actions {
    display: grid;
    gap: 0.75rem;
}
@media (min-width: 480px) {
    .pub-tpl-detail-actions { grid-template-columns: 1fr 1fr; }
}
.pub-tpl-detail-btn {
    width: 100%;
    white-space: normal;
    text-align: center;
}
@media (min-width: 768px) {
    .pub-tpl-detail-actions .pub-tpl-detail-btn:first-child {
        grid-column: 1 / -1;
    }
}

.pub-tpl-detail-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 1rem 0 0;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: var(--hv3-muted);
}
.pub-tpl-detail-note i {
    margin-top: 0.15rem;
    color: #7C3AED;
    flex-shrink: 0;
}

.pub-tpl-related {
    padding-top: clamp(1.5rem, 4vw, 2.25rem);
    border-top: 1px solid #E2E8F0;
}
.pub-tpl-related .hv3-section-head { margin-bottom: 1.5rem; }
.pub-tpl-related .hv3-tpl-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}
@media (max-width: 339px) {
    .pub-tpl-related .hv3-tpl-grid { grid-template-columns: 1fr; }
}
@media (min-width: 560px) {
    .pub-tpl-related .hv3-tpl-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (min-width: 900px) {
    .pub-tpl-related .hv3-tpl-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.25rem;
    }
}
@media (min-width: 1200px) {
    .pub-tpl-related .hv3-tpl-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.pub-tpl-detail-mobile-bar {
    display: none;
}
@media (max-width: 767px) {
    .pub-tpl-detail-mobile-bar {
        display: block;
        position: fixed;
        inset-inline: 0;
        bottom: 0;
        z-index: 40;
        padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
        background: rgba(255, 255, 255, 0.94);
        border-top: 1px solid #E2E8F0;
        backdrop-filter: blur(16px) saturate(1.3);
        box-shadow: 0 -12px 32px -16px rgba(15, 23, 42, 0.2);
    }
    .pub-tpl-detail-mobile-bar-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        max-width: 76rem;
        margin: 0 auto;
    }
    .pub-tpl-detail-mobile-price span {
        display: block;
        font-size: 0.6875rem;
        font-weight: 600;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: var(--hv3-muted);
    }
    .pub-tpl-detail-mobile-price strong {
        font-size: 1.125rem;
        font-weight: 800;
        color: var(--hv3-text);
        letter-spacing: -0.02em;
    }
    .pub-tpl-detail-mobile-cta {
        flex-shrink: 0;
        padding: 0.75rem 1rem;
        font-size: 0.8125rem;
    }
    .pub-tpl-detail-actions {
        display: grid;
        grid-template-columns: 1fr;
    }
    .pub-tpl-detail-actions .hv3-btn-primary {
        display: none;
    }
}

/* Auth pages — only apply centered wrap when NOT using the split auth layout */
.layout-public .auth-card-wrap {
    min-height: calc(100vh - 5rem);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.25rem;
    background: linear-gradient(180deg, #FAFBFC 0%, #FFFFFF 100%);
}
.layout-auth .auth-card-wrap {
    min-height: 0 !important;
    height: auto;
    display: block;
    padding: 0;
    margin: 0;
    background: transparent;
}
.layout-public .auth-card,
.layout-auth .auth-card {
    width: 100%;
    max-width: 26rem;
    border-radius: 1.25rem;
    border: 1px solid var(--hv3-border, #E2E8F0);
    background: #fff;
}


/* ── Celebrations hosted (live platform numbers; replaces the placeholder testimonials) ── */
.hv3-occasions {
    background:
        radial-gradient(circle at 8% 20%, rgba(91,33,182, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 92% 80%, rgba(37, 99, 235, 0.07) 0%, transparent 42%),
        var(--hv3-bg);
}
.hv3-occ-layout { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .hv3-occ-layout { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 3.5rem; } }
.hv3-occ-pulse {
    width: 0.5rem; height: 0.5rem; border-radius: 999px; background: #10B981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); animation: hv3-occ-pulse 2s infinite;
}
@keyframes hv3-occ-pulse { 70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }
@media (prefers-reduced-motion: reduce) { .hv3-occ-pulse { animation: none; } }
.hv3-occ-title {
    margin: 1rem 0 0.75rem;
    font-size: clamp(1.75rem, 3.6vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--hv3-text);
}
.hv3-occ-sub { margin: 0 0 1.75rem; font-size: 1.0625rem; line-height: 1.7; color: var(--hv3-muted); }
.hv3-occ-bigs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; margin-bottom: 1.5rem; }
.hv3-occ-big {
    padding: 1rem;
    border: 1px solid var(--hv3-border);
    border-radius: 1rem;
    background: var(--hv3-surface);
    box-shadow: var(--shadow-card);
}
.hv3-occ-big strong {
    display: block;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-variant-numeric: tabular-nums;
}
.hv3-occ-big span { font-size: 0.8125rem; color: var(--hv3-muted); }
.hv3-occ-cities-title { margin: 0 0 0.5rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--hv3-muted); }
.hv3-occ-cities { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.hv3-occ-cities li {
    display: inline-flex; align-items: center; gap: 0.35rem;
    padding: 0.35rem 0.75rem; border-radius: 999px;
    background: var(--hv3-surface); border: 1px solid var(--hv3-border);
    font-size: 0.8125rem; color: var(--slate-700);
}
.hv3-occ-cities i { font-size: 0.6875rem; color: var(--primary); }
.hv3-occ-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0.875rem; }
.hv3-occ-card {
    display: flex; align-items: center; gap: 0.9rem;
    padding: 1.1rem 1.15rem;
    border: 1px solid var(--hv3-border);
    border-radius: 1.1rem;
    background: var(--hv3-surface);
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.hv3-occ-card:hover { transform: translateY(-3px); border-color: var(--primary-muted); box-shadow: var(--shadow-lift); }
.hv3-occ-card h3 { margin: 0 0 0.2rem; font-size: 1rem; font-weight: 700; color: var(--hv3-text); }
.hv3-occ-card p { margin: 0; font-size: 0.8125rem; color: var(--hv3-muted); }
.hv3-occ-icon {
    --occ: #5B21B6;
    width: 3rem; height: 3rem; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 0.9rem;
    background: color-mix(in srgb, var(--occ) 12%, #fff);
    color: var(--occ);
    font-size: 1.15rem;
}
.hv3-occ-wedding { --occ: #DB2777; }
.hv3-occ-engagement { --occ: #E11D48; }
.hv3-occ-corporate { --occ: #2563EB; }
.hv3-occ-graduation { --occ: #A21CAF; }
.hv3-occ-birthday { --occ: #EA580C; }
.hv3-occ-baby-shower { --occ: #0D9488; }
.hv3-occ-dinner { --occ: #CA8A04; }
.hv3-occ-private-party { --occ: #5B21B6; }
@media (max-width: 639px) { .hv3-occ-bigs { grid-template-columns: 1fr 1fr 1fr; } .hv3-occ-big { padding: 0.75rem; } }

/* Compact template cards in the 2-column phone grid */
@media (max-width: 339px) {
    .public-templates-section .pub-templates-grid.hv3-tpl-grid { grid-template-columns: 1fr; }
}
@media (max-width: 479px) {
    .hv3-tpl-grid { gap: 0.75rem; }
    .hv3-tpl-body { padding: 0.65rem 0.7rem 0.75rem; }
    .hv3-tpl-name { font-size: 0.8125rem; line-height: 1.3; }
    .hv3-tpl-cat, .hv3-tpl-price { font-size: 0.625rem; }
    .hv3-tpl-tier { font-size: 0.55rem; padding: 0.15rem 0.4rem; }
}

/* Outline button (used on pricing cards) — was referenced but never defined */
.hv3-btn-outline { color: var(--primary, #5B21B6); background: #fff; border-color: var(--primary-muted, #D9C6FB); }
.hv3-btn-outline:hover { background: var(--primary-light, #F5F0FF); border-color: var(--primary, #5B21B6); }

/* Compare table: fit all four plans on phones instead of hiding two behind a sideways scroll */
@media (max-width: 639px) {
    .pub-compare-table { min-width: 0; font-size: 0.75rem; table-layout: fixed; }
    .pub-compare-table th, .pub-compare-table td { padding: 0.65rem 0.4rem; overflow-wrap: anywhere; }
    .pub-compare-table th:first-child, .pub-compare-table td:first-child { padding-inline-start: 0.75rem; width: 32%; }
    .pub-compare-table thead th { white-space: normal; }
}

/* Final CTA (Oct 2026): equal, aligned tiles; no stacked padding after the FAQ */
.hv3-faq + .hv3-final-cta, .hv3-final-cta { padding-top: 0.5rem; }
.hv3-faq { padding-bottom: clamp(2.5rem, 4vw, 3.25rem); }
.hv3-cta-band { background: radial-gradient(ellipse 60% 80% at 85% 20%, rgba(227, 163, 59, 0.18), transparent 60%), radial-gradient(ellipse 50% 70% at 95% 100%, rgba(214, 31, 122, 0.28), transparent 60%), linear-gradient(135deg, #1C0A3F 0%, #2E1065 45%, #5B21B6 100%); }
.hv3-cta-visuals { justify-items: stretch; align-items: stretch; gap: 0.85rem; max-width: 24rem; margin-inline: auto; width: 100%; }
.hv3-cta-preview {
    aspect-ratio: 1 / 1;
    justify-content: center;
    padding: 1rem 0.5rem;
    font-size: 0.8rem;
    text-align: center;
    animation: hv3CtaGlow 4s ease-in-out infinite;
    transition: transform 0.25s ease, background 0.25s ease;
}
.hv3-cta-preview i {
    width: 2.75rem; height: 2.75rem; border-radius: 0.85rem;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.15rem; margin-bottom: 0.35rem;
    background: rgba(255, 255, 255, 0.14);
}
.hv3-cta-preview-qr { border-color: rgba(227, 163, 59, 0.55); }
.hv3-cta-preview-qr i { background: linear-gradient(135deg, #E3A33B, #F2BE4E); color: #1C0A3F; }
.hv3-cta-preview:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.16); }
.hv3-cta-preview-invite, .hv3-cta-preview-qr, .hv3-cta-preview-chart { animation-delay: 0s; }
@keyframes hv3CtaGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } 50% { box-shadow: 0 10px 30px -12px rgba(227, 163, 59, 0.45); } }
@media (max-width: 1023px) { .hv3-cta-visuals { max-width: 20rem; margin-inline: 0; } }
@media (prefers-reduced-motion: reduce) { .hv3-cta-preview { animation: none; } }

/* Inner page header (Oct 2026): brand gradient, breadcrumb, eyebrow, gold rule */
.pub-head { padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2.25rem, 5vw, 3.25rem); background: linear-gradient(180deg, #FBF8FF 0%, #FFFFFF 100%); }
.pub-head-bg {
    background:
        radial-gradient(ellipse 55% 90% at 50% -10%, rgba(91, 33, 182, 0.12) 0%, transparent 70%),
        linear-gradient(rgba(91, 33, 182, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(91, 33, 182, 0.035) 1px, transparent 1px);
    background-size: auto, 44px 44px, 44px 44px;
    mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}
.pub-head-orb { position: absolute; border-radius: 50%; filter: blur(60px); }
.pub-head-orb-gold { width: 18rem; height: 12rem; top: -6rem; inset-inline-start: 8%; background: rgba(227, 163, 59, 0.22); }
.pub-head-orb-magenta { width: 16rem; height: 12rem; bottom: -7rem; inset-inline-end: 6%; background: rgba(214, 31, 122, 0.16); }
.pub-head-inner { max-width: min(44rem, 100%); }
.pub-head-crumbs { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; font-size: 0.8rem; color: var(--hv3-muted); }
.pub-head-crumbs a { color: var(--hv3-muted); text-decoration: none; padding-block: 0.25rem; }
.pub-head-crumbs a:hover { color: #5B21B6; }
.pub-head-crumbs i { font-size: 0.6rem; opacity: 0.6; }
[dir="rtl"] .pub-head-crumbs i { transform: scaleX(-1); }
.pub-head-crumbs span { color: #4C1D95; font-weight: 600; }
.pub-head-eyebrow { display: inline-flex; align-items: center; gap: 0.4rem; margin-bottom: 0.9rem; box-shadow: 0 6px 16px -10px rgba(91, 33, 182, 0.5); background: #fff; }
.pub-head-eyebrow i { color: #C4851C; }
.pub-head-title { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 800; margin-bottom: 0.9rem; }
.pub-head-rule { display: block; width: 4.5rem; height: 4px; margin: 0 auto 1.1rem; border-radius: 999px; background: linear-gradient(90deg, #5B21B6, #D61F7A, #E3A33B); }
.pub-head-sub { max-width: 36rem; margin-inline: auto; }

/* Contact: quick help when no social links are configured */
.pub-contact-quick { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--hv3-border); }
.pub-contact-quick-wa { width: 100%; justify-content: center; background: linear-gradient(135deg, #128C7E, #25D366); box-shadow: 0 8px 20px -10px rgba(18, 140, 126, 0.6); }
.pub-contact-quick-faq { display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem; font-size: 0.875rem; font-weight: 600; color: #5B21B6; text-decoration: none; padding: 0.4rem; }
.pub-contact-quick-faq:hover { text-decoration: underline; }
.pub-head-crumbs { display: flex; justify-content: center; width: 100%; margin-bottom: 0.85rem; }

/* Live stats: four figures in a balanced 2x2 grid */
.hv3-occ-bigs { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; max-width: 30rem; }

/* ── Contact page (Oct 2026): brand panel + form with searchable phone picker ── */
.ct-grid { display: grid; gap: 1.5rem; align-items: start; max-width: 72rem; margin: 0 auto; }
@media (min-width: 1024px) { .ct-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr); gap: 2rem; } }

/* Brand panel */
.ct-panel {
    position: relative; overflow: hidden; border-radius: 1.5rem; padding: clamp(1.5rem, 3vw, 2.1rem);
    color: #fff; display: flex; flex-direction: column; gap: 1.1rem;
    background: radial-gradient(ellipse 70% 55% at 100% 0%, rgba(227,163,59,.22), transparent 60%),
                radial-gradient(ellipse 60% 55% at 0% 100%, rgba(214,31,122,.28), transparent 60%),
                linear-gradient(155deg, #1C0A3F 0%, #2E1065 45%, #4C1D95 100%);
    box-shadow: 0 30px 60px -30px rgba(28, 10, 63, .75);
}
@media (min-width: 1024px) { .ct-panel { position: sticky; top: 6.5rem; } }
.ct-panel-glow { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 18px 18px; mask-image: linear-gradient(180deg, #000, transparent 70%); }
.ct-panel > *:not(.ct-panel-glow) { position: relative; }
.ct-panel-head { display: flex; align-items: flex-start; gap: .9rem; }
.ct-panel-badge { width: 3.1rem; height: 3.1rem; flex-shrink: 0; border-radius: 1rem; display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; color: #F2BE4E; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); }
.ct-panel-eyebrow { display: inline-flex; align-items: center; gap: .4rem; padding: .2rem .6rem; border-radius: 999px; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #F6DDA2; background: rgba(227,163,59,.14); border: 1px solid rgba(227,163,59,.35); }
.ct-panel-title { margin-top: .45rem; font-size: clamp(1.45rem, 2.6vw, 1.9rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.ct-panel-text { color: rgba(255,255,255,.75); line-height: 1.65; font-size: .93rem; }
.ct-panel-reply { align-self: flex-start; display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .8rem; border-radius: 999px; font-size: .78rem; font-weight: 600; color: #6EE7B7; background: rgba(16,185,129,.12); border: 1px solid rgba(16,185,129,.35); }
.ct-panel-reply > span { width: .45rem; height: .45rem; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 4px rgba(52,211,153,.2); }

.ct-channels { list-style: none; margin: .25rem 0 0; padding: 0; display: grid; gap: .65rem; }
.ct-channel {
    display: flex; align-items: center; gap: .85rem; padding: .85rem .95rem; border-radius: 1rem;
    color: #fff; text-decoration: none; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
a.ct-channel:hover { background: rgba(255,255,255,.11); border-color: rgba(242,190,78,.45); transform: translateY(-1px); }
.ct-channel-icon { width: 2.6rem; height: 2.6rem; flex-shrink: 0; border-radius: .8rem; display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; color: #fff; background: linear-gradient(135deg, #7C3AED, #A21CAF); }
.ct-channel-icon.is-wa { background: linear-gradient(135deg, #128C7E, #25D366); }
.ct-channel-icon.is-gold { background: linear-gradient(135deg, #C4851C, #F2BE4E); }
.ct-channel-body { display: flex; flex-direction: column; min-width: 0; }
.ct-channel-label { font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.ct-channel-body strong { font-size: .95rem; font-weight: 700; overflow-wrap: anywhere; }
.ct-channel-go { margin-inline-start: auto; font-size: .8rem; color: rgba(255,255,255,.45); }
[dir="rtl"] .ct-channel-go { transform: scaleX(-1); }
.ct-panel-social { margin-top: .4rem; padding-top: 1.1rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-direction: column; gap: .6rem; }
.ct-panel-social > div { display: flex; gap: .5rem; }
.ct-panel-social a { width: 2.4rem; height: 2.4rem; border-radius: .7rem; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); }
.ct-panel-social a:hover { background: rgba(255,255,255,.16); }

/* Form card */
.ct-form-card { border-radius: 1.5rem; background: #fff; border: 1px solid var(--hv3-border); padding: clamp(1.4rem, 3vw, 2.25rem); box-shadow: 0 24px 50px -36px rgba(28, 10, 63, .45); }
.ct-form-head { margin-bottom: 1.4rem; }
.ct-form-title { font-size: clamp(1.4rem, 2.4vw, 1.75rem); font-weight: 800; color: var(--hv3-text); letter-spacing: -.02em; }
.ct-form-sub { margin-top: .35rem; font-size: .9rem; color: var(--hv3-muted); }
.ct-form { display: flex; flex-direction: column; gap: 1.1rem; }
.ct-row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .ct-row { grid-template-columns: 1fr 1fr; } }
.ct-field { display: flex; flex-direction: column; gap: .45rem; min-width: 0; }
.ct-label { font-size: .84rem; font-weight: 700; color: #1E293B; }
.ct-optional { font-weight: 500; color: var(--hv3-muted); font-size: .76rem; }

.ct-input-wrap { position: relative; }
.ct-input-wrap > i { position: absolute; top: 50%; inset-inline-start: 1rem; transform: translateY(-50%); color: #94A3B8; font-size: .9rem; pointer-events: none; }
.ct-input, .ct-textarea, .ct-phone {
    width: 100%; border: 1px solid #E2E8F0; border-radius: .9rem; background: #F8FAFC; color: var(--hv3-text);
    font-size: .95rem; transition: border-color .2s, box-shadow .2s, background .2s;
}
.ct-input { height: 3.1rem; padding: 0 1rem; padding-inline-start: 2.6rem; }
.ct-input:focus, .ct-textarea:focus, .ct-phone:focus-within, .ct-phone.is-open {
    outline: none; border-color: #9F6EEF; background: #fff; box-shadow: 0 0 0 4px rgba(91,33,182,.1);
}
.ct-input-wrap:focus-within > i { color: #7C3AED; }
.ct-textarea-wrap { position: relative; }
.ct-textarea { min-height: 9rem; padding: .9rem 1rem 1.8rem; resize: vertical; line-height: 1.6; }
.ct-counter { position: absolute; bottom: .6rem; inset-inline-end: .9rem; font-size: .72rem; color: #94A3B8; pointer-events: none; }

/* Phone with searchable country picker */
.ct-phone { position: relative; display: flex; align-items: stretch; height: 3.1rem; }
.ct-phone.is-error { border-color: #EF4444; box-shadow: 0 0 0 4px rgba(239,68,68,.1); }
.ct-cc-native { flex-shrink: 0; width: 7.5rem; border: 0; border-inline-end: 1px solid #E2E8F0; background: transparent; padding: 0 .6rem; font-size: .88rem; color: #4C1D95; }
.ct-cc-btn { display: none; }
.ct-phone.is-enhanced .ct-cc-native { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ct-phone.is-enhanced .ct-cc-btn {
    display: inline-flex; align-items: center; gap: .5rem; flex-shrink: 0; padding: 0 .85rem; border: 0; border-inline-end: 1px solid #E2E8F0;
    background: transparent; color: #1E293B; font-weight: 700; font-size: .92rem; cursor: pointer; border-radius: .9rem 0 0 .9rem;
}
.ct-cc-btn:hover { background: #F5F0FF; }
.ct-flag { width: 22px; height: 16px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(15,23,42,.12); }
.ct-cc-globe { color: #9F6EEF; }
.ct-cc-caret { font-size: .65rem; color: #94A3B8; transition: transform .2s ease; }
.ct-phone.is-open .ct-cc-caret { transform: rotate(180deg); }
.ct-phone-input { flex: 1; min-width: 0; padding: 0 1rem; border: 0; background: transparent; font-size: .95rem; letter-spacing: .02em; color: var(--hv3-text); }
.ct-phone-input:focus { outline: none; }
.ct-cc-pop {
    position: absolute; z-index: 40; top: calc(100% + .45rem); left: 0; width: min(22rem, 100%);
    background: #fff; border: 1px solid #E2E8F0; border-radius: 1rem; padding: .6rem;
    box-shadow: 0 24px 48px -16px rgba(28, 10, 63, .35);
}
.ct-cc-search { position: relative; margin-bottom: .45rem; }
.ct-cc-search i { position: absolute; top: 50%; left: .85rem; transform: translateY(-50%); color: #94A3B8; font-size: .85rem; }
.ct-cc-search input { width: 100%; height: 2.6rem; padding: 0 .85rem 0 2.3rem; border: 1px solid #D9C6FB; border-radius: .7rem; font-size: .88rem; outline: none; }
.ct-cc-search input:focus { border-color: #7C3AED; box-shadow: 0 0 0 3px rgba(91,33,182,.1); }
.ct-cc-list { list-style: none; margin: 0; padding: 0; max-height: 15rem; overflow-y: auto; overscroll-behavior: contain; }
.ct-cc-list li { display: flex; align-items: center; gap: .7rem; padding: .55rem .65rem; border-radius: .6rem; cursor: pointer; font-size: .88rem; color: #334155; }
.ct-cc-list li img { width: 22px; height: 16px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(15,23,42,.1); flex-shrink: 0; }
.ct-cc-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
[dir="rtl"] .ct-cc-name { direction: rtl; text-align: right; }
.ct-cc-dial { font-weight: 700; color: #64748B; font-size: .82rem; }
.ct-cc-list li.is-active { background: #F5F0FF; }
.ct-cc-list li[aria-selected="true"] { background: #EBE1FD; color: #4C1D95; font-weight: 600; }
.ct-cc-list li[aria-selected="true"] .ct-cc-dial { color: #5B21B6; }
.ct-cc-empty { padding: .9rem; text-align: center; font-size: .85rem; color: var(--hv3-muted); }

/* Topics */
.ct-topics { border: 0; margin: 0; padding: 0; }
.ct-topic-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .45rem; }
.ct-topic { position: relative; }
.ct-topic input { position: absolute; opacity: 0; pointer-events: none; }
.ct-topic span { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .9rem; border-radius: 999px; font-size: .82rem; font-weight: 600; color: #4C1D95; background: #F5F0FF; border: 1px solid #EBE1FD; cursor: pointer; transition: all .15s ease; }
.ct-topic span i { color: #9F6EEF; }
.ct-topic span:hover { border-color: #BE9DF6; }
.ct-topic input:checked + span { color: #fff; background: linear-gradient(135deg, #5B21B6, #A21CAF); border-color: transparent; box-shadow: 0 8px 18px -10px rgba(91,33,182,.7); }
.ct-topic input:checked + span i { color: #F2BE4E; }
.ct-topic input:focus-visible + span { outline: 2px solid #5B21B6; outline-offset: 2px; }

.ct-submit {
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem; width: 100%; height: 3.3rem; margin-top: .3rem;
    border: 0; border-radius: .95rem; font-size: 1rem; font-weight: 700; color: #fff; cursor: pointer;
    background: linear-gradient(135deg, #5B21B6 0%, #A21CAF 60%, #D61F7A 100%);
    box-shadow: 0 16px 32px -14px rgba(91,33,182,.75); transition: transform .2s ease, box-shadow .2s ease;
}
.ct-submit:hover { transform: translateY(-1px); box-shadow: 0 20px 36px -14px rgba(91,33,182,.85); }
.ct-form-note { text-align: center; font-size: .78rem; color: var(--hv3-muted); }
.ct-form-note i { color: #9F6EEF; margin-inline-end: .3rem; }
.ct-cc-list { display: flex; flex-direction: column; }
.ct-cc-list li[hidden] { display: none; }

/* ── Website language menu (globe button) ─────────────────────────────── */
.nav-lang { position: relative; }
.nav-lang-btn {
    display: inline-flex; align-items: center; gap: .45rem; height: 2.6rem; padding: 0 .85rem;
    border-radius: 999px; border: 1px solid #E2E8F0; background: #fff; color: #334155;
    font-size: .85rem; font-weight: 700; cursor: pointer; transition: border-color .2s, box-shadow .2s, background .2s;
}
.nav-lang-btn:hover, .nav-lang.is-open .nav-lang-btn { border-color: #D9C6FB; background: #FBF8FF; box-shadow: 0 6px 16px -10px rgba(91,33,182,.5); }
.nav-lang-btn > .fa-globe { color: #7C3AED; }
.nav-lang-current { min-width: 1.4rem; text-align: center; color: #4C1D95; }
.nav-lang-caret { font-size: .6rem; color: #94A3B8; transition: transform .2s ease; }
.nav-lang.is-open .nav-lang-caret { transform: rotate(180deg); }
.nav-lang-menu {
    position: absolute; top: calc(100% + .5rem); inset-inline-end: 0; z-index: 60; min-width: 12rem;
    padding: .4rem; border-radius: 1rem; background: #fff; border: 1px solid #EBE1FD;
    box-shadow: 0 22px 44px -18px rgba(28,10,63,.35); animation: navLangIn .16s ease-out;
}
@keyframes navLangIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.nav-lang-opt { display: flex; align-items: center; gap: .7rem; padding: .6rem .7rem; border-radius: .7rem; color: #334155; font-size: .9rem; font-weight: 600; text-decoration: none; }
.nav-lang-opt:hover, .nav-lang-opt:focus-visible { background: #F5F0FF; color: #4C1D95; outline: none; }
.nav-lang-opt-code { width: 2rem; height: 2rem; flex-shrink: 0; border-radius: .6rem; display: inline-flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 800; color: #5B21B6; background: #F5F0FF; border: 1px solid #EBE1FD; }
.nav-lang-opt.is-active .nav-lang-opt-code { color: #fff; background: linear-gradient(135deg, #5B21B6, #A21CAF); border-color: transparent; }
.nav-lang-opt-name { flex: 1; }
.nav-lang-opt > .fa-check { color: #5B21B6; font-size: .8rem; }
@media (max-width: 479px) { .nav-lang-btn { height: 2.5rem; padding: 0 .65rem; gap: .35rem; } .nav-lang-caret { display: none; } }

/* ── Mobile drawer ─────────────────────────────────────────────────────── */
.public-nav-drawer { display: flex; flex-direction: column; width: min(100vw, 23rem); background: linear-gradient(180deg, #FBF8FF 0%, #FFFFFF 30%); }
.public-nav-drawer-head { border-bottom: 1px solid #EBE1FD !important; background: #fff; }
.public-nav-drawer-close { width: 2.6rem; height: 2.6rem; border-radius: .8rem; border: 1px solid #E2E8F0; background: #fff; color: #475569; display: inline-flex; align-items: center; justify-content: center; }
.public-nav-drawer-close:hover { background: #F5F0FF; color: #5B21B6; border-color: #D9C6FB; }
.public-nav-drawer-body { flex: 1; overflow-y: auto; padding: 1rem 1.1rem 1.25rem; }
.nav-drawer-section { margin: .35rem .35rem .55rem; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #9F6EEF; }
.nav-drawer-section:not(:first-child) { margin-top: 1.4rem; }
.nav-drawer-links { display: flex; flex-direction: column; gap: .3rem; }
.nav-drawer-link {
    display: flex; align-items: center; gap: .85rem; padding: .7rem .75rem; border-radius: .95rem;
    color: #1E293B; font-size: .98rem; font-weight: 600; text-decoration: none; border: 1px solid transparent;
    transition: background .15s ease, border-color .15s ease;
}
.nav-drawer-link:hover { background: #F5F0FF; }
.nav-drawer-link-icon { width: 2.35rem; height: 2.35rem; flex-shrink: 0; border-radius: .75rem; display: inline-flex; align-items: center; justify-content: center; font-size: .9rem; color: #7C3AED; background: #F5F0FF; border: 1px solid #EBE1FD; }
.nav-drawer-link-label { flex: 1; }
.nav-drawer-link-go { font-size: .7rem; color: #CBD5E1; }
[dir="rtl"] .nav-drawer-link-go { transform: scaleX(-1); }
.nav-drawer-link.is-active { background: #fff; border-color: #D9C6FB; box-shadow: 0 8px 20px -14px rgba(91,33,182,.6); color: #4C1D95; }
.nav-drawer-link.is-active .nav-drawer-link-icon { color: #fff; background: linear-gradient(135deg, #5B21B6, #A21CAF); border-color: transparent; }
.nav-drawer-link.is-active .nav-drawer-link-go { color: #7C3AED; }
.nav-drawer-langs { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.nav-drawer-lang { position: relative; display: flex; align-items: center; gap: .6rem; padding: .75rem; border-radius: .95rem; border: 1px solid #E2E8F0; background: #fff; color: #334155; font-weight: 700; font-size: .92rem; text-decoration: none; }
.nav-drawer-lang-code { width: 2.1rem; height: 2.1rem; border-radius: .65rem; display: inline-flex; align-items: center; justify-content: center; font-size: .78rem; font-weight: 800; color: #5B21B6; background: #F5F0FF; }
.nav-drawer-lang.is-active { border-color: #7C3AED; background: #FBF8FF; color: #4C1D95; box-shadow: 0 0 0 3px rgba(124,58,237,.1); }
.nav-drawer-lang.is-active .nav-drawer-lang-code { color: #fff; background: linear-gradient(135deg, #5B21B6, #A21CAF); }
.nav-drawer-lang > .fa-circle-check { position: absolute; top: .45rem; inset-inline-end: .5rem; font-size: .75rem; color: #7C3AED; }
.nav-drawer-foot { padding: 1rem 1.1rem calc(1rem + env(safe-area-inset-bottom)); border-top: 1px solid #EBE1FD; background: #fff; display: flex; flex-direction: column; gap: .55rem; }
.nav-drawer-cta { display: flex; align-items: center; justify-content: center; gap: .55rem; height: 3.1rem; border-radius: .95rem; font-weight: 700; color: #fff; text-decoration: none; background: linear-gradient(135deg, #5B21B6 0%, #A21CAF 60%, #D61F7A 100%); box-shadow: 0 14px 28px -14px rgba(91,33,182,.75); }
[dir="rtl"] .nav-drawer-cta i { transform: scaleX(-1); }
.nav-drawer-login { display: flex; align-items: center; justify-content: center; gap: .5rem; height: 2.9rem; border-radius: .95rem; font-weight: 700; color: #4C1D95; text-decoration: none; border: 1px solid #D9C6FB; background: #fff; }
.nav-drawer-help { display: flex; align-items: center; justify-content: center; gap: .45rem; padding: .35rem; font-size: .82rem; font-weight: 600; color: #128C7E; text-decoration: none; }
.nav-drawer-help i { font-size: 1rem; }

/* ── Homepage banner ───────────────────────────────────────────────────── */
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1.1rem; padding: .4rem .9rem .4rem .7rem;
    border-radius: 999px; font-size: .78rem; font-weight: 700; color: #4C1D95; background: rgba(255,255,255,.85);
    border: 1px solid #EBE1FD; box-shadow: 0 8px 20px -14px rgba(91,33,182,.6); backdrop-filter: blur(6px);
}
.hero-eyebrow-dot { width: .5rem; height: .5rem; border-radius: 50%; background: #E3A33B; box-shadow: 0 0 0 4px rgba(227,163,59,.2); }
.hv3-hero-title { font-size: clamp(2.4rem, 5.6vw, 3.6rem) !important; font-weight: 800 !important; }
.hv3-hero-lead { max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.6rem 0 .8rem; }
.hero-btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; height: 3.2rem; padding: 0 1.4rem; border-radius: 1rem; font-weight: 700; font-size: .98rem; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.hero-btn-primary { color: #fff; background: linear-gradient(135deg, #5B21B6 0%, #A21CAF 60%, #D61F7A 100%); box-shadow: 0 18px 34px -16px rgba(91,33,182,.85); }
.hero-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 40px -16px rgba(91,33,182,.9); }
[dir="rtl"] .hero-btn-primary i { transform: scaleX(-1); }
.hero-btn-ghost { color: #1C0A3F; background: #fff; border: 1px solid #E2E8F0; }
.hero-btn-ghost:hover { border-color: #D9C6FB; background: #FBF8FF; }
.hero-play { width: 1.9rem; height: 1.9rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .65rem; color: #fff; background: linear-gradient(135deg, #E3A33B, #F2BE4E); box-shadow: 0 0 0 5px rgba(227,163,59,.18); }
.hero-note { display: flex; align-items: center; gap: .45rem; font-size: .82rem; color: #64748B; margin-bottom: 1.4rem; }
.hero-note i { color: #10B981; }
.hv3-hero-copy .hv3-hero-features { max-width: none !important; margin: 0 !important; display: flex !important; flex-wrap: wrap; gap: .5rem !important; }
.hv3-hero-copy .hv3-hero-features li { flex-direction: row !important; padding: .4rem .75rem .4rem .45rem !important; border-radius: 999px !important; min-height: 0 !important; gap: .45rem !important; }
.hv3-hero-copy .hv3-hero-feature-icon { width: 1.75rem !important; height: 1.75rem !important; font-size: .75rem !important; border-radius: 50% !important; }
.hv3-hero-copy .hv3-hero-feature-label { font-size: .8rem !important; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.6rem; margin: 1.6rem 0 0; padding-top: 1.3rem; border-top: 1px solid rgba(91,33,182,.12); }
.hero-trust div { display: flex; flex-direction: column-reverse; }
.hero-trust dd { margin: 0; font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; background: linear-gradient(90deg, #5B21B6, #A21CAF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-trust dt { font-size: .76rem; color: #64748B; font-weight: 600; }
@media (max-width: 1023px) {
    .hv3-hero-copy { text-align: center; }
    .hero-actions, .hero-note, .hero-trust, .hv3-hero-copy .hv3-hero-features { justify-content: center; }
    .hv3-hero-lead { margin-inline: auto; }
}
@media (max-width: 479px) {
    .hero-actions { flex-direction: column; }
    .hero-btn { width: 100%; }
    .hero-trust { gap: 1rem; justify-content: space-between; }
    .hero-trust dd { font-size: 1.3rem; }
}

/* Drawer open: hide the floating help buttons (they covered the drawer footer) */
body.public-nav-open .public-float-dock { opacity: 0; pointer-events: none; }
.brand-logo-drawer { height: 2.9rem; }

/* ── Templates gallery (Oct 2026): toolbar + cleaner cards ───────────── */
.tg-toolbar {
    position: sticky; top: 5.25rem; z-index: 20; margin-bottom: 1.75rem; padding: 1rem;
    border-radius: 1.3rem; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid #EBE1FD; box-shadow: 0 18px 40px -30px rgba(28,10,63,.5);
}
.tg-toolbar-top { display: grid; gap: .65rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .tg-toolbar-top { grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; } }
.tg-search { position: relative; display: block; }
.tg-search i { position: absolute; top: 50%; inset-inline-start: 1rem; transform: translateY(-50%); color: #9F6EEF; font-size: .9rem; }
.tg-search input { width: 100%; height: 2.9rem; padding-inline: 2.6rem 1rem; border-radius: .9rem; border: 1px solid #E2E8F0; background: #F8FAFC; font-size: .92rem; color: var(--hv3-text); }
.tg-search input:focus { outline: none; border-color: #9F6EEF; background: #fff; box-shadow: 0 0 0 4px rgba(91,33,182,.1); }
.tg-seg { display: inline-flex; padding: .25rem; border-radius: .9rem; background: #F5F0FF; border: 1px solid #EBE1FD; }
.tg-seg button { display: inline-flex; align-items: center; gap: .35rem; height: 2.35rem; padding: 0 .95rem; border: 0; border-radius: .7rem; background: transparent; font-size: .84rem; font-weight: 700; color: #6D28D9; cursor: pointer; white-space: nowrap; }
.tg-seg button i { color: #C4851C; font-size: .75rem; }
.tg-seg button.is-active { color: #fff; background: linear-gradient(135deg, #5B21B6, #A21CAF); box-shadow: 0 6px 14px -8px rgba(91,33,182,.8); }
.tg-seg button.is-active i { color: #F2BE4E; }
.tg-sort { position: relative; display: block; }
.tg-sort i { position: absolute; top: 50%; inset-inline-start: .9rem; transform: translateY(-50%); color: #9F6EEF; font-size: .8rem; pointer-events: none; }
.tg-sort select { height: 2.9rem; padding-inline: 2.3rem 1rem; border-radius: .9rem; border: 1px solid #E2E8F0; background: #fff; font-size: .86rem; font-weight: 600; color: #334155; cursor: pointer; width: 100%; }
.tg-cats { display: flex; gap: .5rem; margin-top: .85rem; overflow-x: auto; scrollbar-width: none; padding-bottom: .1rem; mask-image: linear-gradient(90deg, #000 92%, transparent); }
.tg-cats::-webkit-scrollbar { display: none; }
[dir="rtl"] .tg-cats { mask-image: linear-gradient(270deg, #000 92%, transparent); }
.tg-cat {
    --c: #5B21B6; flex-shrink: 0; display: inline-flex; align-items: center; gap: .45rem; height: 2.4rem; padding: 0 .95rem;
    border-radius: 999px; border: 1px solid #E2E8F0; background: #fff; font-size: .84rem; font-weight: 600; color: #334155; text-decoration: none; white-space: nowrap;
    transition: border-color .15s, background .15s, color .15s;
}
.tg-cat i { color: var(--c); font-size: .8rem; }
.tg-cat span { min-width: 1.35rem; height: 1.35rem; padding: 0 .35rem; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-size: .7rem; font-weight: 700; color: #64748B; background: #F1F5F9; }
.tg-cat:hover { border-color: color-mix(in srgb, var(--c) 45%, #fff); background: color-mix(in srgb, var(--c) 6%, #fff); }
.tg-cat.is-active { color: #fff; border-color: transparent; background: linear-gradient(135deg, #5B21B6, #A21CAF); box-shadow: 0 8px 18px -10px rgba(91,33,182,.8); }
.tg-cat.is-active i { color: #F2BE4E; }
.tg-cat.is-active span { color: #5B21B6; background: #fff; }
.tg-count { margin-top: .7rem; font-size: .8rem; font-weight: 600; color: #64748B; }
@media (max-width: 899px) {
    .tg-toolbar { top: 4.6rem; padding: .8rem; }
    .tg-toolbar-top { grid-template-columns: minmax(0, 1fr) auto; }
    .tg-search { grid-column: 1 / -1; }
}
@media (max-width: 420px) { .tg-seg button { padding: 0 .6rem; } }

/* Cards */
.tg-grid .hv3-tpl-media { aspect-ratio: 4 / 5; }
.tg-grid .hv3-tpl-card[hidden] { display: none !important; }
.tg-grid .hv3-tpl-card { border-radius: 1.2rem; border: 1px solid #EEF0F6; box-shadow: 0 14px 30px -26px rgba(28,10,63,.5); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.tg-grid .hv3-tpl-card:hover { transform: translateY(-4px); border-color: #D9C6FB; box-shadow: 0 26px 44px -24px rgba(91,33,182,.45); }
.tg-grid .hv3-tpl-badges { top: .7rem; inset-inline-end: .7rem; flex-direction: row; gap: .35rem; }
.tg-grid .hv3-tpl-badge-free { display: none; }
.tg-grid .hv3-tpl-body { padding: 1rem 1.05rem 1.1rem; }
.tg-grid .hv3-tpl-name { font-size: 1.02rem; font-weight: 700; }
.tg-grid .hv3-tpl-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tg-grid .hv3-tpl-cta { display: inline-flex; align-items: center; gap: .4rem; margin-top: .75rem; padding: .45rem .85rem; border-radius: 999px; font-size: .8rem; font-weight: 700; color: var(--tpl-accent); background: color-mix(in srgb, var(--tpl-accent) 9%, #fff); }
.tg-grid .hv3-tpl-card:hover .hv3-tpl-cta { color: #fff; background: var(--tpl-accent); }
.tg-grid .hv3-tpl-price { padding: .15rem .55rem; border-radius: 999px; font-weight: 800; background: color-mix(in srgb, var(--tpl-accent) 10%, #fff); }
.tg-noresults { margin-top: 1rem; }
@media (max-width: 479px) {
    .tg-grid .hv3-tpl-desc, .tg-grid .hv3-tpl-cta { display: none; }
    .tg-grid .hv3-tpl-body { padding: .7rem .75rem .8rem; }
    .tg-grid .hv3-tpl-badge-featured { font-size: 0; padding: .3rem; }
    .tg-grid .hv3-tpl-badge-featured i { font-size: .65rem; }
}
@media (max-width: 899px) { .tg-toolbar { position: static; } }

/* ── Templates page: responsive refinement (all devices) ─────────────── */
/* Compact page header so the gallery starts higher */
.page-templates .pub-head { padding: clamp(1.5rem, 3.5vw, 2.4rem) 0 clamp(1.4rem, 3vw, 2rem); }
.page-templates .pub-head-crumbs { margin-bottom: .55rem; }
.page-templates .pub-head-eyebrow { margin-bottom: .6rem; }
.page-templates .pub-head-title { font-size: clamp(1.8rem, 4.2vw, 2.6rem); margin-bottom: .6rem; }
.page-templates .pub-head-rule { margin-bottom: .8rem; }
.page-templates .public-templates-section { padding-top: clamp(1.5rem, 3vw, 2.25rem); }

/* Toolbar */
.page-templates .tg-toolbar { padding: 1.1rem 1.15rem 1rem; }
.page-templates .tg-cats { flex-wrap: wrap; overflow: visible; mask-image: none; }
.page-templates .tg-count { display: flex; align-items: center; gap: .4rem; }
.page-templates .tg-count::before { content: ''; width: .45rem; height: .45rem; border-radius: 50%; background: #10B981; box-shadow: 0 0 0 3px rgba(16,185,129,.18); }

/* Grid */
.page-templates .tg-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.page-templates .tg-grid .hv3-tpl-media { aspect-ratio: 4 / 3; }
.page-templates .tg-grid .hv3-tpl-media img { transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.page-templates .tg-grid .hv3-tpl-card:hover .hv3-tpl-media img { transform: scale(1.06); }
.page-templates .tg-grid .hv3-tpl-card { display: flex; flex-direction: column; height: 100%; }
.page-templates .tg-grid .hv3-tpl-body { flex: 1; display: flex; flex-direction: column; }
.page-templates .tg-grid .hv3-tpl-cta { margin-top: auto; align-self: flex-start; }
.page-templates .tg-grid .hv3-tpl-desc { margin-bottom: .85rem; }
.page-templates .tg-grid .hv3-tpl-tier { border-radius: 999px; padding: .28rem .6rem; background: rgba(255,255,255,.92); backdrop-filter: blur(6px); box-shadow: 0 4px 10px -6px rgba(15,23,42,.4); }
.page-templates .tg-grid .hv3-tpl-badge-featured { border-radius: 999px; box-shadow: 0 4px 10px -6px rgba(15,23,42,.4); }
.page-templates .tg-grid .hv3-tpl-overlay { background: linear-gradient(180deg, transparent 40%, rgba(28,10,63,.55)); }

/* Large laptops */
@media (max-width: 1279px) {
    .page-templates .tg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
}
/* Tablets */
@media (max-width: 1023px) {
    .page-templates .tg-toolbar-top { grid-template-columns: minmax(0, 1fr) auto; }
    .page-templates .tg-search { grid-column: 1 / -1; }
    .page-templates .tg-sort select { min-width: 11rem; }
}
@media (max-width: 899px) {
    .page-templates .tg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
}
/* Phones */
@media (max-width: 639px) {
    .page-templates .tg-toolbar { padding: .85rem; border-radius: 1.1rem; }
    .page-templates .tg-toolbar-top { grid-template-columns: minmax(0, 1fr); }
    .page-templates .tg-seg { display: grid; grid-template-columns: repeat(3, 1fr); }
    .page-templates .tg-seg button { justify-content: center; }
    .page-templates .tg-sort select { width: 100%; }
    /* chips become one swipeable row on phones */
    .page-templates .tg-cats { flex-wrap: nowrap; overflow-x: auto; margin-inline: -.85rem; padding-inline: .85rem; scroll-padding-inline: .85rem; mask-image: linear-gradient(90deg, #000 88%, transparent); }
    [dir="rtl"] .page-templates .tg-cats { mask-image: linear-gradient(270deg, #000 88%, transparent); }
    .page-templates .tg-grid { gap: .75rem; }
    .page-templates .tg-grid .hv3-tpl-media { aspect-ratio: 1 / 1; }
    .page-templates .tg-grid .hv3-tpl-name { font-size: .88rem; }
    .page-templates .tg-grid .hv3-tpl-meta { flex-wrap: wrap; gap: .25rem; }
    .page-templates .tg-grid .hv3-tpl-tier { font-size: .55rem; padding: .2rem .45rem; }
}
/* Very small phones: one column */
@media (max-width: 359px) {
    .page-templates .tg-grid { grid-template-columns: minmax(0, 1fr); }
    .page-templates .tg-grid .hv3-tpl-media { aspect-ratio: 4 / 3; }
}
@media (min-width: 640px) and (max-width: 1023px) { .page-templates .tg-seg { justify-self: start; } }

/* ── Website responsive pass (Oct 2026 audit: 13 pages × 6 widths × EN/AR) ── */
/* Contact: grid columns must be allowed to shrink below their content width on phones */
.ct-grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .ct-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr); } }
.ct-grid > *, .ct-row > *, .ct-field { min-width: 0; }
.ct-channel-body strong { overflow-wrap: anywhere; }

/* Touch targets on phones/tablets: footer, breadcrumbs, inline links */
@media (max-width: 1023px), (pointer: coarse) {
    .public-footer-links a, .public-footer-legal a { display: inline-block; padding-block: .45rem; }
    .public-footer-links { gap: .15rem !important; }
    .pub-head-crumbs a { padding-block: .5rem; }
    .pub-pricing-note a, .auth-switch a, .auth-form-row a, .auth-link { display: inline-block; padding-block: .45rem; }
    .co-change, .pub-tpl-detail-cat { min-height: 2.25rem; display: inline-flex; align-items: center; }
    .nav-drawer-help { min-height: 2.5rem; }
}

/* Minimum readable sizes for card labels */
.hv3-tpl-tier, .hv3-tpl-badge { font-size: .66rem !important; }
.hv3-tpl-cat, .hv3-tpl-price { font-size: .7rem !important; }
.pub-tpl-detail-thumb-label { font-size: .7rem; }
.ct-panel-eyebrow, .ct-channel-label, .co-eyebrow { font-size: .72rem; }
@media (max-width: 479px) {
    .tg-grid .hv3-tpl-badge-featured { font-size: 0 !important; }
}

/* ── Responsive pass, round 2 (visual review at 390 / 768) ─────────────── */
/* Footer on tablets: brand on top, then Product · Company · Legal in one row */
@media (min-width: 640px) and (max-width: 1023px) {
    .public-footer-simple .public-footer-grid, .public-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
    .public-footer-brand { grid-column: 1 / -1 !important; }
    .public-footer-desc { max-width: 34rem; }
}

/* How it works: image beside text from tablet width; shorter images */
@media (min-width: 700px) {
    .pub-split-step { grid-template-columns: 1fr 1fr; gap: 1.75rem 2rem; }
    .pub-split-step-reverse .pub-split-copy { order: 2; }
    .pub-split-step-reverse .pub-split-media { order: 1; }
}
.pub-split-media img { aspect-ratio: 16 / 11; object-fit: cover; width: 100%; height: auto; }
@media (max-width: 699px) {
    .pub-split-steps { gap: 2.25rem; }
    .pub-split-media img { aspect-ratio: 16 / 9; }
}
/* Feature cards two per row on phones */
@media (max-width: 639px) {
    .public-features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: .7rem !important; }
    .public-features-grid .pub-feature-card { padding: 1rem .9rem; }
    .public-features-grid .pub-feature-card h3 { font-size: .9rem; }
    .public-features-grid .pub-feature-card p { font-size: .78rem; }
}

/* About "why hosts choose us": 2×2 on tablets, 4 across on desktop */
@media (min-width: 640px) and (max-width: 1099px) { .hv3-occ-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .public-about-story ~ * .hv3-occ-grid, .hv3-occ-grid { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); } }

/* Related templates on phones: compact cards (no description / CTA) */
@media (max-width: 479px) {
    .pub-tpl-related .hv3-tpl-desc, .pub-tpl-related .hv3-tpl-cta { display: none; }
    .pub-tpl-related .hv3-tpl-body { padding: .7rem .75rem .8rem; }
    .pub-tpl-related .hv3-tpl-name { font-size: .88rem; }
}

/* ── Template details (Oct 2026): phone preview + clear purchase panel ── */
.td { display: grid; gap: 2rem; align-items: start; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 1024px) { .td { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; } }
.td-visual { min-width: 0; }
@media (min-width: 1024px) { .td-visual { position: sticky; top: 6.5rem; } }
.td-tabs { display: inline-flex; gap: .25rem; padding: .25rem; margin-bottom: 1rem; border-radius: .9rem; background: #F5F0FF; border: 1px solid #EBE1FD; }
.td-tabs button { display: inline-flex; align-items: center; gap: .45rem; height: 2.4rem; padding: 0 1rem; border: 0; border-radius: .7rem; background: transparent; font-size: .85rem; font-weight: 700; color: #6D28D9; cursor: pointer; }
.td-tabs button.is-active { color: #fff; background: linear-gradient(135deg, #5B21B6, #A21CAF); box-shadow: 0 6px 14px -8px rgba(91,33,182,.8); }

.td-stage {
    --td-accent: #5B21B6; position: relative; overflow: hidden; border-radius: 1.6rem; padding: clamp(1.5rem, 4vw, 2.5rem) 1rem;
    display: flex; justify-content: center; min-height: 34rem;
    background: radial-gradient(ellipse 70% 60% at 50% 0%, color-mix(in srgb, var(--td-accent) 22%, transparent), transparent 70%),
                linear-gradient(160deg, #FBF8FF 0%, #F5F0FF 55%, #FFF7E8 100%);
    border: 1px solid #EBE1FD;
}
.td-stage-glow { position: absolute; width: 22rem; height: 22rem; bottom: -10rem; inset-inline-end: -6rem; border-radius: 50%; background: rgba(227,163,59,.18); filter: blur(50px); pointer-events: none; }
.td-featured { position: absolute; top: 1rem; inset-inline-start: 1rem; z-index: 2; display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .7rem; border-radius: 999px; font-size: .72rem; font-weight: 700; color: #7A4B0F; background: linear-gradient(135deg, #FBEFD3, #F6DDA2); box-shadow: 0 6px 14px -8px rgba(122,75,15,.5); }
.td-featured i { color: #C4851C; }

/* Phone mockup */
.td-phone { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: .9rem; }
.td-phone-frame { position: relative; width: min(18.5rem, 78vw); padding: .65rem; border-radius: 2.6rem; background: #120A24; box-shadow: 0 40px 70px -35px rgba(28,10,63,.75), inset 0 0 0 2px rgba(255,255,255,.08); }
.td-phone-notch { position: absolute; top: .65rem; left: 50%; transform: translateX(-50%); width: 6rem; height: 1.3rem; border-radius: 0 0 .9rem .9rem; background: #120A24; z-index: 2; }
.td-phone-screen { border-radius: 2rem; overflow: hidden; background: #fff; aspect-ratio: 9 / 18.5; display: flex; flex-direction: column; }
.td-inv-cover { position: relative; flex: 0 0 46%; background-size: cover; background-position: center; }
.td-inv-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(255,255,255,1) 100%); }
.td-inv-chip { position: absolute; top: 2rem; left: 50%; transform: translateX(-50%); z-index: 1; padding: .2rem .6rem; border-radius: 999px; font-size: .6rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: rgba(28,10,63,.45); backdrop-filter: blur(6px); white-space: nowrap; }
.td-inv-body { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .4rem; padding: .2rem 1rem 1rem; margin-top: -1.5rem; position: relative; z-index: 1; }
.td-inv-kicker { font-size: .62rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--td-accent); }
.td-inv-names { font-family: 'Playfair Display', Georgia, serif; font-size: 1.45rem; font-weight: 700; color: #1C0A3F; line-height: 1.15; }
.td-inv-msg { font-size: .68rem; line-height: 1.5; color: #64748B; }
.td-inv-meta { list-style: none; margin: .2rem 0; padding: 0; display: grid; gap: .2rem; font-size: .66rem; color: #334155; }
.td-inv-meta i { color: var(--td-accent); margin-inline-end: .25rem; }
.td-inv-rsvp { margin-top: .2rem; padding: .45rem 1.6rem; border-radius: 999px; font-size: .7rem; font-weight: 700; color: #fff; background: linear-gradient(135deg, #5B21B6, #A21CAF); box-shadow: 0 8px 16px -10px rgba(91,33,182,.8); }
.td-inv-count { margin-top: auto; display: flex; gap: .4rem; }
.td-inv-count span { display: flex; flex-direction: column; align-items: center; min-width: 2.6rem; padding: .3rem; border-radius: .55rem; background: #F5F0FF; font-size: .8rem; font-weight: 800; color: #4C1D95; }
.td-inv-count small { font-size: .5rem; font-weight: 600; color: #7C3AED; text-transform: uppercase; }
.td-sample-note { display: flex; align-items: center; gap: .4rem; font-size: .76rem; color: #64748B; }
.td-sample-note i { color: #9F6EEF; }
.td-art { position: relative; z-index: 1; width: 100%; display: flex; justify-content: center; }
.td-art img { width: min(100%, 26rem); height: auto; border-radius: 1.2rem; box-shadow: 0 30px 60px -30px rgba(28,10,63,.6); object-fit: cover; }

/* Info column */
.td-info { min-width: 0; display: flex; flex-direction: column; gap: 1.2rem; }
.td-badges { display: flex; flex-wrap: wrap; gap: .5rem; }
.td-cat { --c: #5B21B6; display: inline-flex; align-items: center; gap: .4rem; height: 2.1rem; padding: 0 .85rem; border-radius: 999px; font-size: .8rem; font-weight: 700; color: var(--c); text-decoration: none; background: color-mix(in srgb, var(--c) 10%, #fff); border: 1px solid color-mix(in srgb, var(--c) 25%, #fff); }
.td-tier { display: inline-flex; align-items: center; gap: .4rem; height: 2.1rem; padding: 0 .85rem; border-radius: 999px; font-size: .8rem; font-weight: 700; color: #4C1D95; background: #F5F0FF; border: 1px solid #EBE1FD; }
.td-tier i { color: #9F6EEF; font-size: .72rem; }
.td-tier-premium i, .td-tier-vip i { color: #C4851C; }
.td-tier-vip { color: #7A4B0F; background: linear-gradient(135deg, #FBEFD3, #F6DDA2); border-color: rgba(196,133,28,.35); }
.td-title { font-size: clamp(1.9rem, 4vw, 2.75rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: var(--hv3-text); }
.td-desc { font-size: 1.02rem; line-height: 1.7; color: #475569; }
.td-price { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; padding: 1.1rem 1.25rem; border-radius: 1.1rem; background: #fff; border: 1px solid #EBE1FD; box-shadow: 0 14px 30px -26px rgba(28,10,63,.5); }
.td-price-label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #7C3AED; }
.td-price-value { font-size: 1.8rem; font-weight: 800; letter-spacing: -.02em; color: #1C0A3F; }
.td-plan { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .8rem; border-radius: 999px; font-size: .8rem; font-weight: 600; color: #047857; background: #ECFDF5; border: 1px solid #A7F3D0; }
.td-actions { display: grid; grid-template-columns: 1.4fr 1fr; gap: .65rem; }
.td-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; height: 3.2rem; padding: 0 1rem; border-radius: .95rem; font-size: .95rem; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.td-btn-primary { color: #fff; border: 0; background: linear-gradient(135deg, #5B21B6 0%, #A21CAF 60%, #D61F7A 100%); box-shadow: 0 16px 30px -14px rgba(91,33,182,.8); }
.td-btn-primary:hover { transform: translateY(-2px); }
.td-btn-ghost { color: #4C1D95; background: #fff; border: 1px solid #D9C6FB; }
.td-btn-ghost:hover { background: #FBF8FF; }
.td-login { margin-top: -.4rem; font-size: .85rem; color: #64748B; }
.td-login a { font-weight: 700; color: #5B21B6; text-decoration: none; }
.td-login a:hover { text-decoration: underline; }
.td-box { padding: 1.15rem 1.25rem; border-radius: 1.1rem; background: #fff; border: 1px solid #EEF0F6; }
.td-box-title { font-size: .95rem; font-weight: 800; color: var(--hv3-text); margin-bottom: .8rem; }
.td-included { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
@media (min-width: 560px) { .td-included { grid-template-columns: 1fr 1fr; } }
.td-included li { display: flex; align-items: flex-start; gap: .6rem; font-size: .86rem; line-height: 1.45; color: #334155; }
.td-included li > span { width: 1.9rem; height: 1.9rem; flex-shrink: 0; border-radius: .6rem; display: inline-flex; align-items: center; justify-content: center; font-size: .78rem; color: #7C3AED; background: #F5F0FF; }
.td-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
@media (min-width: 560px) { .td-steps { grid-template-columns: repeat(3, 1fr); } }
.td-steps li { display: flex; align-items: center; gap: .6rem; padding: .75rem .85rem; border-radius: .9rem; background: linear-gradient(180deg, #FBF8FF, #fff); border: 1px solid #EBE1FD; font-size: .8rem; font-weight: 600; color: #334155; line-height: 1.35; }
.td-step-num { width: 1.7rem; height: 1.7rem; flex-shrink: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, #5B21B6, #A21CAF); }

@media (max-width: 639px) {
    .td-stage { min-height: 0; padding: 1.25rem .5rem; }
    .td-tabs { display: flex; }
    .td-tabs button { flex: 1; justify-content: center; padding: 0 .5rem; }
    .td-actions { grid-template-columns: 1fr; }
    .td-price-value { font-size: 1.5rem; }
}
.td-phone-screen { aspect-ratio: 9 / 17; }
.td-inv-count { margin-top: .6rem; }

/* ── Phone fixes (Oct 2026): final CTA band and templates gallery ────────
   The CTA grid used an auto column, so the three square tiles forced it wider
   than a phone and the band clipped the text, buttons and the third tile. */
.hv3-cta-layout { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .hv3-cta-layout { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
.hv3-cta-copy, .hv3-cta-visuals { min-width: 0; }
.hv3-cta-visuals { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hv3-cta-title, .hv3-cta-sub { overflow-wrap: break-word; }
@media (max-width: 639px) {
    .hv3-cta-band { border-radius: 1.25rem; }
    .hv3-cta-layout { gap: 1.5rem; padding: 1.75rem 1.25rem; text-align: center; }
    .hv3-cta-title { font-size: clamp(1.45rem, 6.4vw, 1.75rem); margin-bottom: .7rem; }
    .hv3-cta-sub { font-size: .95rem; margin-bottom: 1.25rem; }
    .hv3-cta-actions { flex-direction: column; gap: .6rem; }
    .hv3-cta-actions .hv3-btn { width: 100%; justify-content: center; }
    .hv3-cta-visuals { max-width: none; margin-inline: 0; gap: .55rem; }
    .hv3-cta-preview { aspect-ratio: auto; padding: .85rem .3rem; font-size: .72rem; border-radius: .85rem; }
    .hv3-cta-preview i { width: 2.25rem; height: 2.25rem; font-size: .95rem; border-radius: .7rem; }
    .hv3-cta-preview span { max-width: 100%; overflow-wrap: anywhere; line-height: 1.25; }
}
@media (max-width: 359px) {
    .hv3-cta-layout { padding: 1.5rem 1rem; }
    .hv3-cta-preview { font-size: .66rem; }
}

/* Templates gallery on phones: chips wrap (nothing hidden off-screen) and each
   template is a full-width row card: image beside name, category and price. */
@media (max-width: 639px) {
    .page-templates .tg-cats { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; mask-image: none; gap: .4rem; }
    [dir="rtl"] .page-templates .tg-cats { mask-image: none; }
}
@media (max-width: 599px) {
    /* Beats .public-templates-section .pub-templates-grid.hv3-tpl-grid (two columns). */
    .page-templates .public-templates-section .tg-grid.hv3-tpl-grid { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
    .page-templates .tg-cat { height: 2.15rem; padding: 0 .7rem; gap: .35rem; font-size: .8rem; }
    .page-templates .tg-cat span { min-width: 1.2rem; height: 1.2rem; font-size: .66rem; }
    .page-templates .tg-grid .hv3-tpl-card { flex-direction: row; align-items: stretch; height: auto; border-radius: 1rem; }
    .page-templates .tg-grid .hv3-tpl-media { flex: 0 0 7.75rem; width: 7.75rem; aspect-ratio: auto; min-height: 7.75rem; }
    .page-templates .tg-grid .hv3-tpl-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
    .page-templates .tg-grid .hv3-tpl-body { flex: 1; min-width: 0; padding: .8rem .9rem; justify-content: center; gap: .3rem; }
    .page-templates .tg-grid .hv3-tpl-name { font-size: .98rem; line-height: 1.3; }
    .page-templates .tg-grid .hv3-tpl-desc { display: -webkit-box; -webkit-line-clamp: 2; margin: 0; font-size: .78rem; line-height: 1.45; }
    .page-templates .tg-grid .hv3-tpl-cta { display: inline-flex; margin-top: .35rem; padding: .3rem .7rem; font-size: .74rem; }
    .page-templates .tg-grid .hv3-tpl-tier { top: .45rem; inset-inline-start: .45rem; font-size: .55rem; padding: .18rem .45rem; }
    .page-templates .tg-grid .hv3-tpl-badges { top: auto; bottom: .45rem; inset-inline-end: .45rem; }
    .page-templates .tg-grid .hv3-tpl-overlay { display: none; }
}

/* ── How It Works (Oct 2026): journey map, host timeline with product illustrations, guest flow ── */
.page-how { --hw-violet: #5B21B6; --hw-magenta: #D61F7A; --hw-gold: #E3A33B; --hw-ink: #1C0A3F; --hw-muted: #64748B; --hw-line: #EBE1FD; }
.hw-hero { position: relative; overflow: hidden; padding: clamp(1.75rem, 4vw, 3rem) 0 clamp(2.25rem, 5vw, 3.75rem); text-align: center; }
.hw-hero-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 70% at 50% -10%, rgba(91,33,182,.18), transparent 60%), radial-gradient(ellipse 40% 50% at 100% 100%, rgba(214,31,122,.1), transparent 60%), linear-gradient(180deg, #F7F2FF, #FBFAFF 70%, #fff); }
.hw-crumbs { display: flex; justify-content: center; align-items: center; gap: .45rem; margin-bottom: .9rem; font-size: .8rem; color: var(--hw-muted); }
.hw-crumbs a { color: inherit; text-decoration: none; }
.hw-crumbs a:hover { color: var(--hw-violet); }
.hw-crumbs i { font-size: .6rem; }
.hw-crumbs span { font-weight: 700; color: var(--hw-violet); }
.hw-eyebrow { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .9rem; border-radius: 999px; font-size: .8rem; font-weight: 700; color: #6D28D9; background: #fff; border: 1px solid var(--hw-line); box-shadow: 0 8px 20px -14px rgba(91,33,182,.5); }
.hw-title { margin: 1rem 0 .7rem; font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 800; letter-spacing: -.03em; color: var(--hw-ink); }
.hw-sub { max-width: 40rem; margin: 0 auto; font-size: clamp(1rem, 1.6vw, 1.12rem); line-height: 1.65; color: var(--hw-muted); }

/* Journey map: four connected chips */
.hw-map { list-style: none; margin: clamp(1.75rem, 4vw, 2.6rem) auto 0; padding: 0; max-width: 54rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.hw-map::before { content: ''; position: absolute; top: 1.85rem; inset-inline: 12.5%; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--hw-violet), var(--hw-magenta), var(--hw-gold)); opacity: .35; }
[dir="rtl"] .hw-map::before { background: linear-gradient(270deg, var(--hw-violet), var(--hw-magenta), var(--hw-gold)); }
.hw-map li { position: relative; display: flex; justify-content: center; }
.hw-map a { display: flex; flex-direction: column; align-items: center; gap: .6rem; padding: 0 .35rem; text-decoration: none; color: var(--hw-ink); }
.hw-map-icon { position: relative; width: 3.7rem; height: 3.7rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 1.15rem; font-size: 1.2rem; color: #fff; background: linear-gradient(135deg, var(--hw-violet), #A21CAF); box-shadow: 0 14px 28px -14px rgba(91,33,182,.8); transition: transform .2s ease; }
.hw-map li:nth-child(2) .hw-map-icon { background: linear-gradient(135deg, #A21CAF, var(--hw-magenta)); }
.hw-map li:nth-child(3) .hw-map-icon { background: linear-gradient(135deg, var(--hw-magenta), #F0567F); }
.hw-map li:nth-child(4) .hw-map-icon { background: linear-gradient(135deg, #D9902A, var(--hw-gold)); }
.hw-map-icon b { position: absolute; top: -.45rem; inset-inline-end: -.45rem; width: 1.4rem; height: 1.4rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; font-size: .7rem; color: var(--hw-violet); background: #fff; box-shadow: 0 4px 10px -4px rgba(15,23,42,.35); }
.hw-map a:hover .hw-map-icon, .hw-map a:focus-visible .hw-map-icon { transform: translateY(-3px); }
.hw-map-label { font-size: .9rem; font-weight: 700; line-height: 1.3; }

/* Sections */
.hw-section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; background: #fff; }
.hw-section-head { max-width: 44rem; margin: 0 auto clamp(1.75rem, 4vw, 2.75rem); text-align: center; }
.hw-section-head h2 { margin: 0 0 .5rem; font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; letter-spacing: -.02em; color: var(--hw-ink); }
.hw-section-head p { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--hw-muted); }
.hw-toggle { display: inline-flex; gap: .25rem; margin-top: 1.25rem; padding: .3rem; border-radius: 999px; background: #F5F0FF; border: 1px solid var(--hw-line); }
.hw-toggle button { display: inline-flex; align-items: center; gap: .45rem; height: 2.6rem; padding: 0 1.2rem; border: 0; border-radius: 999px; background: transparent; font: inherit; font-size: .88rem; font-weight: 700; color: #6D28D9; cursor: pointer; }
.hw-toggle button.is-active { color: #fff; background: linear-gradient(135deg, var(--hw-violet), #A21CAF); box-shadow: 0 10px 20px -12px rgba(91,33,182,.8); }
.hw-panel[hidden] { display: none; }

/* Host timeline */
.hw-steps { list-style: none; margin: 0 auto; padding: 0; max-width: 68rem; display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
.hw-step { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1rem, 3vw, 2.5rem); align-items: center; scroll-margin-top: 6rem; }
.hw-step-rail { position: relative; align-self: stretch; display: flex; justify-content: center; }
.hw-step-rail::before { content: ''; position: absolute; top: -2.25rem; bottom: -2.25rem; width: 2px; background: repeating-linear-gradient(180deg, var(--hw-line) 0 8px, transparent 8px 14px); }
.hw-step:first-child .hw-step-rail::before { top: 50%; }
.hw-step:last-child .hw-step-rail::before { bottom: 50%; }
.hw-step-dot { position: relative; align-self: center; width: 3.25rem; height: 3.25rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 1rem; font-size: 1.05rem; color: #fff; background: linear-gradient(135deg, var(--hw-violet), var(--hw-magenta)); box-shadow: 0 0 0 6px #fff, 0 14px 26px -12px rgba(91,33,182,.7); }
.hw-step-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 0 0 .45rem; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #7C3AED; }
[dir="rtl"] .hw-step-kicker { letter-spacing: 0; }
.hw-step-kicker span { display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .6rem; border-radius: 999px; font-size: .7rem; letter-spacing: 0; text-transform: none; color: #047857; background: #ECFDF5; }
.hw-step-copy h3 { margin: 0 0 .55rem; font-size: clamp(1.35rem, 2.6vw, 1.75rem); font-weight: 800; letter-spacing: -.02em; color: var(--hw-ink); }
.hw-step-desc { margin: 0 0 1rem; font-size: .98rem; line-height: 1.7; color: #475569; }
.hw-points { list-style: none; margin: 0 0 1.2rem; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.hw-points li { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .75rem; border-radius: 999px; font-size: .82rem; font-weight: 600; color: #334155; background: #FAF7FF; border: 1px solid var(--hw-line); }
.hw-points i { color: #10B981; }
.hw-step-copy .hv3-btn i { font-size: .8rem; }
/* Forward arrow follows the reading direction (the site mirrors .fa-arrow-left in RTL, so use right + mirror). */
.site-rtl .hw-fwd, [dir="rtl"] .hw-fwd { transform: scaleX(-1); }

/* Product illustrations (pure HTML/CSS) */
.hw-step-visual { min-width: 0; }
.hw-mock { position: relative; max-width: 26rem; margin-inline: auto; padding: 1.25rem; border-radius: 1.4rem; background: #fff; border: 1px solid #EEE8FB; box-shadow: 0 34px 60px -40px rgba(46,16,101,.55); display: flex; flex-direction: column; gap: .7rem; }
.hw-mock::before { content: ''; position: absolute; inset: -1.1rem; z-index: -1; border-radius: 1.9rem; background: radial-gradient(ellipse at 30% 20%, rgba(91,33,182,.14), transparent 60%), radial-gradient(ellipse at 80% 90%, rgba(227,163,59,.18), transparent 60%); }
.hw-mock-bar { display: flex; gap: .35rem; margin-bottom: .2rem; }
.hw-mock-bar span { width: .55rem; height: .55rem; border-radius: 50%; background: #E2E8F0; }
.hw-mock-bar span:first-child { background: #F87171; }
.hw-mock-bar span:nth-child(2) { background: #FBBF24; }
.hw-mock-bar span:nth-child(3) { background: #34D399; }
.hw-line { display: block; height: .5rem; border-radius: 999px; background: #EEF0F6; }
.w55 { width: 55%; } .w60 { width: 60%; } .w65 { width: 65%; } .w70 { width: 70%; } .w75 { width: 75%; } .w80 { width: 80%; }
.hw-field { display: flex; align-items: center; gap: .65rem; height: 2.6rem; padding: 0 .85rem; border-radius: .75rem; border: 1px solid #E2E8F0; color: #94A3B8; }
.hw-field .hw-line { flex: 0 0 auto; }
.hw-dots { letter-spacing: .15em; color: #94A3B8; }
.hw-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; }
.hw-plans span { padding: .55rem .3rem; border-radius: .7rem; border: 1px solid #E2E8F0; font-size: .75rem; font-weight: 700; text-align: center; color: #475569; }
.hw-plans .is-on { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--hw-violet), #A21CAF); }
.hw-mock-btn { display: block; padding: .7rem; border-radius: .8rem; font-size: .85rem; font-weight: 800; text-align: center; color: #fff; background: linear-gradient(135deg, var(--hw-violet), #A21CAF 60%, var(--hw-magenta)); }
.hw-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .45rem; }
.hw-thumbs span { position: relative; aspect-ratio: 3 / 4; border-radius: .6rem; overflow: hidden; background: #F1F5F9; outline: 2px solid transparent; outline-offset: 2px; }
.hw-thumbs span.is-on { outline-color: var(--hw-violet); }
.hw-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hw-thumbs i { position: absolute; top: .3rem; inset-inline-end: .3rem; width: 1.2rem; height: 1.2rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; font-size: .55rem; color: #fff; background: var(--hw-violet); }
.hw-editor { display: grid; grid-template-columns: 1fr 1.2fr; gap: .6rem; }
.hw-editor-side { display: flex; flex-direction: column; gap: .5rem; padding: .7rem; border-radius: .8rem; background: #FAF7FF; }
.hw-swatches { display: flex; gap: .3rem; }
.hw-swatches i { width: 1.15rem; height: 1.15rem; border-radius: 50%; }
.hw-editor-preview { display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: .8rem .5rem; border-radius: .8rem; text-align: center; background: linear-gradient(180deg, #F5F0FF, #fff); border: 1px solid var(--hw-line); }
.hw-eyebrow-sm { font-size: .55rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #7C3AED; }
.hw-editor-preview strong { font-family: 'Playfair Display', Georgia, serif; font-size: 1rem; color: var(--hw-ink); }
.hw-pill-sm { padding: .2rem .8rem; border-radius: 999px; font-size: .6rem; font-weight: 800; color: #fff; background: var(--hw-violet); }
.hw-guests { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.hw-guests li { display: flex; align-items: center; gap: .6rem; padding: .5rem .6rem; border-radius: .75rem; background: #FAFAFB; border: 1px solid #EEF0F6; font-size: .82rem; font-weight: 600; color: #334155; }
.hw-guests li > i { margin-inline-start: auto; color: #A78BFA; font-size: .75rem; }
.hw-avatar { width: 1.9rem; height: 1.9rem; display: inline-flex; align-items: center; justify-content: center; border-radius: .6rem; font-size: .66rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--hw-violet), #A21CAF); }
.hw-channels { display: flex; flex-wrap: wrap; gap: .4rem; }
.hw-channels span { display: inline-flex; align-items: center; gap: .35rem; padding: .4rem .7rem; border-radius: 999px; font-size: .75rem; font-weight: 700; color: #4C1D95; background: #F5F0FF; }
.hw-channels .is-wa { color: #fff; background: #16A34A; }
.hw-sent { display: inline-flex; align-items: center; gap: .45rem; align-self: flex-start; padding: .45rem .8rem; border-radius: .7rem; font-size: .78rem; font-weight: 700; color: #047857; background: #ECFDF5; }
.hw-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; }
.hw-stats span { display: flex; flex-direction: column; gap: .1rem; padding: .65rem .5rem; border-radius: .8rem; font-size: .7rem; font-weight: 700; color: #64748B; background: #FAFAFB; border: 1px solid #EEF0F6; }
.hw-stats b { font-size: 1.35rem; font-weight: 800; }
.hw-stats .is-acc b { color: #059669; } .hw-stats .is-may b { color: #D97706; } .hw-stats .is-dec b { color: #E11D48; }
.hw-bars { display: flex; height: .55rem; border-radius: 999px; overflow: hidden; background: #EEF0F6; }
.hw-bars i.is-acc { background: #10B981; } .hw-bars i.is-may { background: #F59E0B; } .hw-bars i.is-dec { background: #F43F5E; }
.hw-scan { display: flex; align-items: center; gap: .7rem; padding: .7rem .8rem; border-radius: .9rem; color: #fff; background: linear-gradient(135deg, #1C0A3F, #4C1D95); }
.hw-qr { width: 2.6rem; height: 2.6rem; display: inline-flex; align-items: center; justify-content: center; border-radius: .7rem; font-size: 1.35rem; color: var(--hw-ink); background: #fff; }
.hw-scan-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.hw-scan-copy small { font-size: .74rem; opacity: .8; }
.hw-scan > i { color: #34D399; font-size: 1.2rem; }

/* Guest flow */
.hw-guest-flow { list-style: none; margin: 0 auto; padding: 0; max-width: 68rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; counter-reset: hw; }
.hw-gstep { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hw-gstep:not(:last-child)::after { content: ''; position: absolute; top: 6.4rem; inset-inline-start: calc(50% + 4.6rem); width: calc(100% - 9.2rem + 1.25rem); height: 2px; background: repeating-linear-gradient(90deg, #D9C6FB 0 8px, transparent 8px 14px); }
.hw-phone { width: 9rem; padding: .4rem; border-radius: 1.6rem; background: #1C0A3F; box-shadow: 0 24px 40px -26px rgba(28,10,63,.8); }
.hw-phone-screen { aspect-ratio: 9 / 16; border-radius: 1.25rem; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: .6rem; background: linear-gradient(180deg, #F7F2FF, #fff); }
.hw-chat { width: 100%; }
.hw-bubble { display: block; padding: .55rem .6rem; border-radius: .8rem .8rem .8rem .2rem; font-size: .62rem; line-height: 1.4; text-align: start; color: #14532D; background: #DCFCE7; }
.hw-bubble u { display: block; margin-top: .25rem; color: #1D4ED8; }
.hw-inv { width: 100%; display: flex; flex-direction: column; align-items: center; gap: .3rem; }
.hw-inv img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .6rem; }
.hw-inv strong { font-family: 'Playfair Display', Georgia, serif; font-size: .82rem; color: var(--hw-ink); }
.hw-inv small { font-size: .6rem; color: #64748B; }
.hw-rsvp { display: grid; gap: .4rem; width: 100%; }
.hw-rsvp span { display: flex; align-items: center; justify-content: center; height: 2rem; border-radius: .6rem; color: #64748B; background: #fff; border: 1px solid #E2E8F0; }
.hw-rsvp .is-on { color: #fff; background: #059669; border-color: #059669; }
.hw-pass { display: flex; flex-direction: column; align-items: center; gap: .4rem; padding: .7rem; border-radius: .9rem; background: #fff; border: 2px solid var(--hw-violet); }
.hw-pass i { font-size: 2.6rem; color: var(--hw-ink); }
.hw-pass small { font-size: .58rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #7C3AED; }
.hw-gnum { margin-top: -0.9rem; width: 1.8rem; height: 1.8rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; font-size: .8rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--hw-violet), var(--hw-magenta)); box-shadow: 0 0 0 4px #fff; }
.hw-gstep h3 { display: flex; align-items: center; gap: .45rem; margin: .7rem 0 .35rem; font-size: 1.02rem; font-weight: 800; color: var(--hw-ink); }
.hw-gstep h3 i { color: #7C3AED; }
.hw-gstep h3 .fa-whatsapp { color: #16A34A; }
.hw-gstep p { margin: 0; max-width: 15rem; font-size: .86rem; line-height: 1.55; color: var(--hw-muted); }
.hw-guest-note { display: flex; align-items: center; justify-content: center; gap: .5rem; margin: 2rem auto 0; max-width: 40rem; padding: .8rem 1rem; border-radius: 1rem; font-size: .88rem; color: #4C1D95; background: #F5F0FF; border: 1px solid var(--hw-line); text-align: center; }

/* FAQ */
.hw-faq { background: linear-gradient(180deg, #fff, #FBFAFF); }
.hw-faq-grid { max-width: 52rem; margin: 0 auto; display: grid; gap: .7rem; }
.hw-faq-item { border-radius: 1rem; background: #fff; border: 1px solid #EEE8FB; box-shadow: 0 14px 30px -28px rgba(46,16,101,.5); }
.hw-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; list-style: none; cursor: pointer; font-weight: 700; color: var(--hw-ink); }
.hw-faq-item summary::-webkit-details-marker { display: none; }
.hw-faq-item summary i { flex-shrink: 0; width: 1.8rem; height: 1.8rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; font-size: .75rem; color: var(--hw-violet); background: #F5F0FF; transition: transform .2s ease; }
.hw-faq-item[open] summary i { transform: rotate(45deg); }
.hw-faq-item p { margin: 0; padding: 0 1.2rem 1.1rem; font-size: .93rem; line-height: 1.65; color: #475569; }

/* Responsive */
@media (max-width: 899px) {
    .hw-step { grid-template-columns: 2.75rem minmax(0, 1fr); }
    .hw-step-dot { width: 2.75rem; height: 2.75rem; font-size: .9rem; border-radius: .85rem; align-self: flex-start; }
    .hw-step-visual { grid-column: 2; }
    .hw-mock { margin-inline: 0; }
    .hw-step-rail::before { top: 0; bottom: -2.25rem; }
    .hw-step:first-child .hw-step-rail::before { top: 1.4rem; }
    .hw-step:last-child .hw-step-rail::before { display: none; }
    .hw-guest-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
    .hw-gstep::after { display: none; }
}
@media (max-width: 639px) {
    .hw-map { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.25rem; }
    .hw-map::before { display: none; }
    .hw-map-icon { width: 3.2rem; height: 3.2rem; font-size: 1.05rem; }
    .hw-map-label { font-size: .82rem; }
    .hw-toggle { width: 100%; }
    .hw-toggle button { flex: 1; justify-content: center; padding: 0 .6rem; font-size: .8rem; }
    .hw-step { grid-template-columns: 2.4rem minmax(0, 1fr); gap: .85rem; }
    .hw-step-dot { width: 2.4rem; height: 2.4rem; border-radius: .75rem; box-shadow: 0 0 0 4px #fff, 0 10px 20px -10px rgba(91,33,182,.7); }
    .hw-mock { padding: 1rem; border-radius: 1.15rem; }
    .hw-mock::before { inset: -.6rem; }
    .hw-step-copy .hv3-btn { width: 100%; justify-content: center; }
    .hw-phone { width: 7.5rem; }
    .hw-gstep p { font-size: .8rem; }
    .hw-gstep h3 { font-size: .92rem; flex-direction: column; gap: .25rem; }
}
@media (max-width: 359px) {
    .hw-guest-flow { grid-template-columns: minmax(0, 1fr); }
    .hw-editor { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .hw-map-icon, .hw-faq-item summary i { transition: none; } }
