/* ClearGuard — Custom Styles (works alongside Tailwind CDN) */

/* Custom color overrides applied via tailwind.config inline in HTML */

/* Glass card component */
.glass-card {
    background: rgba(19, 29, 47, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(28, 43, 66, 0.5);
    border-radius: 1rem;
    padding: 1.75rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    border-color: rgba(52, 211, 153, 0.35);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5), 0 0 30px -5px rgba(52, 211, 153, 0.08);
    transform: translateY(-2px);
}

/* Primary button */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #34d399, #10b981);
    color: #0b1120;
    font-weight: 700;
    padding: 0.875rem 2rem;
    border-radius: 0.625rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(52, 211, 153, 0.3);
    cursor: pointer;
    border: none;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(52, 211, 153, 0.45);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: scale(0.97) translateY(0);
}

/* Outline button */
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #c0d0e0;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 0.625rem;
    border: 1px solid #2a3f5f;
    transition: all 0.25s ease;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.95rem;
}

.btn-outline:hover {
    background-color: rgba(19, 29, 47, 0.8);
    border-color: #4a6480;
    color: #ffffff;
}

/* Feature icon box */
.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.feature-icon:hover {
    transform: scale(1.1);
}

/* Section badge pill */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    background: rgba(52, 211, 153, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.25);
    color: #34d399;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* Who card */
.who-card {
    background: rgba(19, 29, 47, 0.4);
    border: 1px solid rgba(28, 43, 66, 0.4);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.who-card:hover {
    border-color: rgba(52, 211, 153, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 15px 30px -8px rgba(0, 0, 0, 0.4);
}

/* Hero gradient */
.hero-gradient {
    background: linear-gradient(135deg, #0b1120 0%, rgba(30, 58, 95, 0.4) 50%, #0b1120 100%);
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes float-delayed {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-delayed 8s ease-in-out infinite 2s;
}

.animate-pulse-glow {
    animation: pulse-glow 4s ease-in-out infinite;
}

.animate-fade-in-up {
    animation: fade-in-up 0.8s ease-out forwards;
}

.animate-blink {
    animation: blink 1s step-end infinite;
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* FAQ accordion */
details summary::-webkit-details-marker {
    display: none;
}

details summary {
    list-style: none;
}

details[open] summary .faq-icon {
    transform: rotate(45deg);
}

.faq-icon {
    transition: transform 0.3s ease;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background-color: #34d399;
    color: #0b1120;
}

/* Body base */
body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}