/* Custom CSS for AVG Landing Page */

:root {
    --primary-dark: #0F1B3C;
    --primary-blue: #2D4A6B;
    --accent-green: #00ac7e;
    --text-light: #F8F9FA;
    --text-muted: #6C757D;
    --border-light: rgba(255, 255, 255, 0.1);
    --bs-success-rgb: 0, 208, 132;
    --bs-primary-rgb: 14, 80, 177;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--accent-green);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00B570;
}

/* Navigation */
.navbar {
    background: rgba(15, 27, 60, 0.95) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-light);
}

.navbar.scrolled {
    background: var(--primary-dark) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: white !important;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-green) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1a2742 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(0, 208, 132, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(45, 74, 107, 0.2) 0%, transparent 50%),
        url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.03"><circle cx="30" cy="30" r="2"/></g></g></svg>');
    animation: float 20s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at center bottom, rgba(0, 208, 132, 0.1) 0%, transparent 70%),
        linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Trust Indicators */
.trust-indicators {
    animation: fadeInUp 1s ease-out 0.5s both;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-light);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.trust-badge:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Buttons */
.btn-success {
    background: var(--accent-green);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    padding: 12px 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 208, 132, 0.3);
}

.btn-success:hover {
    background: #00B570;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 208, 132, 0.4);
}

.btn-outline-light {
    border-radius: 50px;
    font-weight: 600;
    padding: 12px 30px;
    border-color: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Laptop Mockup */
.laptop-mockup {
    animation: fadeInRight 1s ease-out;
}

.scanning-indicator {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(0, 208, 132, 0.9);
    border-radius: 8px;
    padding: 10px;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
}

.scan-progress {
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    margin-top: 8px;
    overflow: hidden;
}

.scan-progress::after {
    content: '';
    display: block;
    height: 100%;
    width: 70%;
    background: white;
    border-radius: 2px;
    animation: scan 2s ease-in-out infinite;
}

@keyframes scan {
    0% {
        width: 0%;
    }

    50% {
        width: 70%;
    }

    100% {
        width: 100%;
    }
}

/* Benefit Cards */
.benefit-card {
    padding: 30px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Testimonials */
.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all 0.3s ease;
}

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

.stars i {
    margin-right: 2px;
}

/* Protection Layers Animation */
.protection-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.shield-layers {
    position: relative;
    width: 300px;
    height: 300px;
}

.layer {
    position: absolute;
    border-radius: 50%;
    border: 2px solid;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.5s ease;
    animation: pulse 3s ease-in-out infinite;
}

.layer-1 {
    width: 100%;
    height: 100%;
    border-color: #007bff;
    background: rgba(0, 123, 255, 0.1);
    animation-delay: 0s;
}

.layer-2 {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    border-color: #ffc107;
    background: rgba(255, 193, 7, 0.1);
    animation-delay: 0.5s;
}

.layer-3 {
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    border-color: #17a2b8;
    background: rgba(23, 162, 184, 0.1);
    animation-delay: 1s;
}

.layer-4 {
    width: 40%;
    height: 40%;
    top: 30%;
    left: 30%;
    border-color: var(--accent-green);
    background: rgba(0, 208, 132, 0.1);
    animation-delay: 1.5s;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

.layer i {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.layer span {
    font-size: 0.8rem;
    text-align: center;
}

/* Feature Points */
.feature-point {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-weight: 500;
}

/* Awards */
.award-card {
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.award-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

/* Interface Preview */
.interface-preview {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.interface-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
}

/* Stats Cards */
.stat-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

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

/* FAQ Accordion */
.accordion-button {
    font-weight: 600;
    background: white;
    border: none;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background: var(--accent-green);
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--accent-green);
}

.accordion-item {
    border: 1px solid rgba(0, 0, 0, 0.125);
    margin-bottom: 10px;
    border-radius: 8px;
}

/* Tip Cards */
.tip-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.tip-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.tip-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.tip-card .card-body {
    padding: 24px;
}

/* Footer */
.footer-dark {
    background: var(--primary-dark);
    color: var(--text-light);
    padding: 30px 0;
}

.footer-brand {
    font-size: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-green);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-green);
    color: white;
    transform: translateY(-2px);
}

.newsletter-form .form-control {
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form .btn {
    border-radius: 50px;
}

.app-downloads {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.app-badge img {
    height: 40px;
    border-radius: 8px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--accent-green);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
    }

    .display-3 {
        font-size: 2.5rem;
    }

    .trust-indicators {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .shield-layers {
        width: 250px;
        height: 250px;
    }

    .layer span {
        font-size: 0.7rem;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 80px 0 40px;
    }

    .display-3 {
        font-size: 2rem;
    }

    .btn-lg {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .trust-badge {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}