
:root {
    --primary-gradient: linear-gradient(135deg, #3b82f6, #06b6d4, #8b5cf6);
    --bg-dark: #111827;
    --bg-darker: #0f172a;
    --glass-bg: rgba(17, 24, 39, 0.8);
    --border-light: rgba(255, 255, 255, 0.1);
    --accent-blue: #06b6d4;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-darker);
    color: white;
    overflow-x: hidden;
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.glass-effect {
    backdrop-filter: blur(16px);
    background: var(--glass-bg);
    border: 1px solid var(--border-light);
}

.navbar-custom {
    backdrop-filter: blur(16px);
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid var(--border-light);
}

.navbar-brand-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    }
    to {
        box-shadow: 0 0 30px rgba(59, 130, 246, 0.8), 0 0 40px rgba(59, 130, 246, 0.3);
    }
}

.hero-section {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(6, 182, 212, 0.05), rgba(139, 92, 246, 0.1));
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(rgba(59, 130, 246, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.05) 1px, transparent 1px);
    background-size: 80px 80px;
}

.btn-gradient {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    border: none;
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    background: linear-gradient(135deg, #2563eb, #0891b2);
    transform: scale(1.05);
}

/* Language Switcher */
.language-switcher {
    position: relative;
}

.language-btn {
    background: var(--glass-bg);
    border: 1px solid var(--border-light);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.language-btn:hover {
    border-color: #06b6d4;
    color: #06b6d4;
}

.language-btn.active {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    border-color: transparent;
}

.flag-icon {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    display: inline-block;
}

.flag-en {
    background: linear-gradient(45deg, #012169 25%, #fff 25%, #fff 50%, #c8102e 50%, #c8102e 75%, #fff 75%);
}

.flag-es {
    background: linear-gradient(0deg, #c60b1e 33%, #ffc400 33%, #ffc400 66%, #c60b1e 66%);
}

/* Blog Specific Styles */
.article-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.article-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-blue);
}

.article-card:hover::before {
    transform: scaleX(1);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #9ca3af;
}

.category-tag {
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.category-ai {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
}

.category-cloud {
    background: rgba(139, 92, 246, 0.2);
    color: #c4b5fd;
}

.category-governance {
    background: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
}

.category-security {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

.category-strategy {
    background: rgba(245, 158, 11, 0.2);
    color: #fcd34d;
}

.article-excerpt {
    color: #d1d5db;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.read-more-btn {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    color: #67e8f9;
    gap: 1rem;
}

.featured-article {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(6, 182, 212, 0.05));
    border: 2px solid rgba(59, 130, 246, 0.3);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-gradient);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.filter-pill {
    padding: 0.5rem 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--border-light);
    border-radius: 50px;
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.filter-pill:hover,
.filter-pill.active {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    color: white;
    border-color: transparent;
}

.search-box {
    background: var(--glass-bg);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 0.75rem 1rem 0.75rem 3rem;
    color: white;
    width: 100%;
    max-width: 400px;
}

.search-box:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.search-box::placeholder {
    color: #6b7280;
}

.search-container {
    position: relative;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
}

.section-bg-alt {
    background: linear-gradient(135deg, var(--bg-dark), var(--bg-darker));
}

.newsletter-section {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(6, 182, 212, 0.05));
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    margin-top: 4rem;
}

.newsletter-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    color: white;
    margin-right: 1rem;
    flex: 1;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-input::placeholder {
    color: #9ca3af;
}

.breadcrumb-custom {
    background: transparent;
    padding: 0;
    margin-bottom: 2rem;
}

.breadcrumb-custom .breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #6b7280;
}

.breadcrumb-custom .breadcrumb-item a {
    color: var(--accent-blue);
    text-decoration: none;
}

.breadcrumb-custom .breadcrumb-item.active {
    color: #9ca3af;
}

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

    .article-card {
        padding: 1.5rem;
    }

    .filter-pills {
        justify-content: center;
    }

    .newsletter-section {
        padding: 2rem;
    }

    .newsletter-input {
        margin-right: 0;
        margin-bottom: 1rem;
        width: 100%;
    }
}
