/* Nervous System Reset - Custom Styles (Tailwind companion) */

/* Breathing animation */
@keyframes breathe {
    0%, 100% { transform: scale(1); opacity: 0.15; }
    50% { transform: scale(1.15); opacity: 0.25; }
}
.breathe { animation: breathe 6s ease-in-out infinite; }
.breathe-delay { animation: breathe 6s ease-in-out 3s infinite; }

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #0A4C6D 0%, #4aa8c7 50%, #A8B9A5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glass effect */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Card hover lift */
.card-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(10, 76, 109, 0.15);
}

/* FAQ accordion */
details summary { cursor: pointer; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details[open] .faq-icon { transform: rotate(45deg); }
details[open] .faq-answer { animation: fadeIn 0.3s ease; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: none; }
}

/* Hero overlay */
.hero-overlay {
    background: linear-gradient(180deg, rgba(2,27,39,0.85) 0%, rgba(10,76,109,0.7) 50%, rgba(10,76,109,0.9) 100%);
}

/* Noise texture */
.noise { position: relative; }
.noise::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    pointer-events: none;
}

/* Scroll indicator bounce */
@keyframes bounce-gentle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}
.scroll-indicator { animation: bounce-gentle 2s ease-in-out infinite; }

/* Popular badge pulse */
@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(10, 76, 109, 0.3); }
    70% { box-shadow: 0 0 0 10px rgba(10, 76, 109, 0); }
    100% { box-shadow: 0 0 0 0 rgba(10, 76, 109, 0); }
}
.pulse { animation: pulse-ring 2s ease infinite; }

/* Blog image fallback gradient */
.blog-img-wrap {
    background: linear-gradient(135deg, #0A4C6D 0%, #4aa8c7 50%, #A8B9A5 100%);
}

/* Prose styling for legal/content pages */
.prose h2 { font-size: 1.5rem; font-weight: 700; margin-top: 2.5rem; margin-bottom: 1rem; color: #1f2937; }
.prose h3 { font-size: 1.25rem; font-weight: 600; margin-top: 2rem; margin-bottom: 0.75rem; color: #1f2937; }
.prose p { margin-bottom: 1rem; line-height: 1.75; color: #4b5563; }
.prose ul, .prose ol { margin-bottom: 1rem; padding-left: 1.5rem; color: #4b5563; }
.prose li { margin-bottom: 0.5rem; line-height: 1.75; }
.prose strong { color: #1f2937; }
.prose a { color: #0A4C6D; text-decoration: underline; }
.prose a:hover { color: #083f5b; }
.prose hr { border: none; border-top: 1px solid #e5e7eb; margin: 3rem 0; }

/* Screenreader-only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Print styles */
@media print {
    nav, footer, .signup-form, button { display: none; }
}
