@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
}

.gradient-bg {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
}

.gradient-bg-alt {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
}

.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.section-padding {
    padding: 80px 0;
}

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

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

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

/* Feature icons */
.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: white;
    font-size: 28px;
    margin: 0 auto 1.5rem;
}

/* Security badge */
.security-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(30, 64, 175, 0.1);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e40af;
}

/* Stats counter */
.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to right, #1e40af, #1e3a8a);
    color: white;
    padding: 1.5rem 1rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cookie-banner.hidden {
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;
}

.cookie-banner-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.cookie-banner-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex: 1;
    width: 100%;
}

.cookie-banner-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.cookie-banner-text {
    flex: 1;
}

.cookie-banner-text h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cookie-banner-text p {
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
}

.cookie-banner-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.cookie-link {
    color: #bfdbfe;
    text-decoration: underline;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.cookie-link:hover {
    color: white;
}

.cookie-accept-btn {
    background: white;
    color: #1e40af;
    padding: 0.625rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    font-size: 0.875rem;
}

.cookie-accept-btn:hover {
    background: #f3f4f6;
    transform: translateY(-1px);
}

.cookie-accept-btn:active {
    transform: translateY(0);
}

@media (min-width: 768px) {
    .cookie-banner-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .cookie-banner-content {
        width: auto;
    }

    .cookie-banner-actions {
        width: auto;
        justify-content: flex-end;
    }

    .cookie-accept-btn {
        white-space: nowrap;
    }
}

/* Network Animation Canvas */
#network-canvas {
    pointer-events: auto;
    opacity: 0.4;
}

@media (max-width: 768px) {
    #network-canvas {
        opacity: 0.3;
    }
}

/* Anime.js Animation Support */
.hero-word {
    display: inline-block;
    margin: 0 0.15em;
}

.feature-card {
    opacity: 0;
    transform: translateY(60px);
}

.feature-card.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth hover effects */
.hero-btn {
    transform-origin: center;
    will-change: transform;
}

.feature-card .inline-flex {
    will-change: transform;
}
