/* Purpose Technologies LLC — custom styles beyond Tailwind */

html,
body {
    min-height: 100vh;
    overflow-x: hidden;
}

/* Mobile menu needs an opaque background over the particle layer */
#mobile-menu {
    background-color: white !important;
}

#mobile-menu::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: -1;
}

/* Dotted grid used behind the hero */
.grid-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(185, 255, 102, 0.25) 1px, transparent 0);
    background-size: 40px 40px;
}

/* Diagonal hatch inside the industry cards */
.industry-texture {
    background-image: repeating-linear-gradient(45deg,
            rgba(255, 255, 255, 0.35) 0px,
            rgba(255, 255, 255, 0.35) 1px,
            transparent 1px,
            transparent 12px);
}

.industry-card {
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.industry-card:hover {
    transform: translateY(-4px);
}

/* Card lift shared by the services grid */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Nav link underline that wipes in from the left */
.hover-underline {
    position: relative;
}

.hover-underline::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #B9FF66;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.hover-underline:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Long-form article typography (blog + legal pages) */
.prose h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
}

.prose h3 {
    font-size: 1.15rem;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.prose p,
.prose li {
    color: rgba(0, 0, 0, 0.75);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.prose ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.prose a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.prose a:hover {
    color: #95CC52;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
