﻿/* Vulnerability Management Page Styles */

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, hsl(var(--background)), hsl(var(--muted) / 0.3), hsl(var(--background)));
    padding: 5rem 0 8rem;
}

.hero-background {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to right, rgba(128, 128, 128, 0.04) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(128, 128, 128, 0.04) 1px, transparent 1px);
    background-size: 14px 24px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-text {
    display: flex;
    flex-direction: column;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-description {
    font-size: 1.25rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-buttons .btn {
    width: fit-content;
    flex: 0 0 auto;
    white-space: nowrap;
    border-radius: 0.375rem;
}

.hero-image {
    position: relative;
}

.hero-image-glow {
    position: absolute;
    inset: 0;
    background-color: hsl(var(--primary) / 0.1);
    filter: blur(60px);
    border-radius: 50%;
}

.hero-img {
    position: relative;
    width: 100%;
    border-radius: 0;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid hsl(var(--border));
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 0.8s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 0.8s ease-out 0.2s backwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Trust Bar */
.trust-bar {
    border-top: 1px solid hsl(var(--border));
    border-bottom: 1px solid hsl(var(--border));
    background-color: hsl(var(--muted) / 0.3);
    padding: 2rem 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .trust-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.trust-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.trust-value {
    font-size: 1.875rem;
    font-weight: 700;
    color: hsl(var(--primary));
}

.trust-label {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-muted {
    background-color: hsl(var(--muted) / 0.3);
}

.section-header {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 4rem;
}

.section-title-center {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-description-center {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.7;
}

/* Two Column Grid */
.two-col-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .two-col-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.product-content {
    display: flex;
    flex-direction: column;
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background-color: hsl(var(--primary) / 0.1);
    color: hsl(var(--primary));
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    width: fit-content;
}

.badge-icon {
    width: 1rem;
    height: 1rem;
}

/* Product Images */
.product-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.product-img {
    width: 100%;
    border-radius: 0;
    border: 1px solid hsl(var(--border));
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-card {
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 0;
    padding: 2rem;
    transition: all 0.3s;
}

.feature-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background-color: hsl(var(--primary) / 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-icon svg {
    width: 1.75rem;
    height: 1.75rem;
    color: hsl(var(--primary));
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-description {
    color: hsl(var(--muted-foreground));
    line-height: 1.7;
}

/* Page Content Buttons (scoped to avoid header conflicts) */
main .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 0.375rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    width: fit-content;
}

main .btn-primary {
    background-color: hsl(var(--foreground));
    color: hsl(var(--background));
}

main .btn-primary:hover {
    background-color: hsl(var(--primary));
}

main .btn-outline {
    background-color: transparent;
    color: hsl(var(--foreground));
    border: 1px solid hsl(var(--border));
}

main .btn-outline:hover {
    background-color: hsl(var(--muted) / 0.5);
}

main .btn-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* Intelligence Section */
.intelligence-section {
    background: linear-gradient(135deg, hsl(var(--primary) / 0.05), hsl(var(--background)), hsl(var(--background)));
}

.intelligence-content {
    display: flex;
    flex-direction: column;
}

.intelligence-btn {
    margin-top: 1.5rem;
    width: fit-content;
    flex: 0 0 auto;
    white-space: nowrap;
    border-radius: 0.375rem;
}

.intelligence-image {
    position: relative;
}

.intelligence-image-glow {
    position: absolute;
    inset: 0;
    background-color: hsl(var(--primary) / 0.1);
    filter: blur(60px);
    border-radius: 50%;
}

.intelligence-img {
    position: relative;
    width: 100%;
    border-radius: 0;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid hsl(var(--border));
}

/* Tabs */
.tabs {
    max-width: 80rem;
    margin: 0 auto;
}

.tabs-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 3rem;
    border-bottom: 1px solid hsl(var(--border));
}

.tab-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: hsl(var(--muted-foreground));
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
}

.tab-trigger:hover {
    color: hsl(var(--foreground));
}

.tab-trigger.active {
    color: hsl(var(--primary));
    border-bottom-color: hsl(var(--primary));
}

.tab-icon {
    width: 1rem;
    height: 1rem;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-card {
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 0;
    padding: 1.5rem;
}

.tab-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .tab-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.tab-text {
    display: flex;
    flex-direction: column;
}

.tab-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.tab-description {
    color: hsl(var(--muted-foreground));
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.tab-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tab-list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.check-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: hsl(var(--success));
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.tab-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-img {
    width: 100%;
    border-radius: 0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid hsl(var(--border));
}

.api-showcase {
    background-color: hsl(var(--muted));
    border-radius: 0;
    padding: 2rem;
    border: 1px solid hsl(var(--border));
}

.api-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.api-icon {
    width: 2rem;
    height: 2rem;
    color: hsl(var(--primary));
}

.api-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.api-description {
    color: hsl(var(--muted-foreground));
    margin-bottom: 1rem;
}

.api-code {
    background-color: hsl(var(--background));
    padding: 1rem;
    border-radius: 0;
    border: 1px solid hsl(var(--border));
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, hsl(var(--primary) / 0.05), hsl(var(--background)), hsl(var(--primary) / 0.05));
}

.cta-content {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 3rem;
    }
}

.cta-description {
    font-size: 1.25rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.7;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.cta-buttons .btn {
    width: fit-content;
    flex: 0 0 auto;
    white-space: nowrap;
    border-radius: 0.375rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title-center,
    .section-title,
    .cta-title {
        font-size: 2rem;
    }
    
    .tabs-list {
        grid-template-columns: 1fr;
    }
    
    .tab-trigger {
        border-bottom: 1px solid hsl(var(--border));
    }
}
