/* MS Cloud Ninja - Clean Global Design System */

/* Navigation Styles */
.navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(229, 231, 235, 1);
    z-index: 50;
    transition: all 0.3s ease;
}

.dark .navbar {
    background: rgba(17, 24, 39, 0.9);
    border-bottom-color: rgba(75, 85, 99, 1);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.navbar-brand .logo {
    height: 2.5rem;
    width: 2.5rem;
    border-radius: 0.5rem;
}

.navbar-brand .brand-text {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, #059669 0%, #3b82f6 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    display: inline-block;
}

.dark .navbar-brand .brand-text {
    background: linear-gradient(135deg, #10b981 0%, #60a5fa 100%);
    background-clip: text !important;
    -webkit-background-clip: text !important;
    color: transparent !important;
}

.nav-link {
    color: #374151;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    padding: 0.5rem 0;
}

.dark .nav-link {
    color: #d1d5db;
}

.nav-link:hover {
    color: #059669;
    text-decoration: none;
}

.dark .nav-link:hover {
    color: #34d399;
}

.dark-mode-toggle {
    padding: 0.5rem;
    border-radius: 0.5rem;
    background: #f3f4f6;
    color: #6b7280;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dark .dark-mode-toggle {
    background: #1f2937;
    color: #9ca3af;
}

.dark-mode-toggle:hover {
    background: #e5e7eb;
}

.dark .dark-mode-toggle:hover {
    background: #374151;
}

.mobile-menu {
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
}

.dark .mobile-menu {
    background: #111827;
    border-top-color: #374151;
}

.mobile-menu .nav-link {
    display: block;
    padding: 0.5rem 0.75rem;
    margin: 0.25rem 0;
}

/* Hero Pattern Background */
.hero-pattern {
    background: linear-gradient(135deg, #16a085 0%, #2c3e50 25%, #0078d4 50%, #8e44ad 75%, #e74c3c 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    padding-top: 5rem;
    padding-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.hero-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Main Content Layout */
.main-content {
    max-width: 64rem;
    margin: 0 auto;
    padding: 3rem 1rem;
}

/* Content Cards */
.content-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 3rem;
}

.dark .content-card {
    background: #1f2937;
}

/* Section Titles */
.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #8b5cf6;
    padding-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.dark .section-title {
    color: white;
}

/* Author Bio */
.author-bio {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-top: 3rem;
}

.dark .author-bio {
    background: #1f2937;
}

.author-avatar {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    object-fit: cover;
}

/* Share Section */
.share-section {
    text-align: center;
    margin-top: 2rem;
}

.share-button {
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin: 0 0.5rem;
    border: none;
    cursor: pointer;
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.scroll-animate-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.scroll-animate-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease;
}

.scroll-animate-right.animate {
    opacity: 1;
    transform: translateX(0);
}

.scroll-animate-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s ease;
}

.scroll-animate-scale.animate {
    opacity: 1;
    transform: scale(1);
}

.scroll-animate-fade {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.scroll-animate-fade.animate {
    opacity: 1;
}

/* Responsive Design */
@media (min-width: 640px) {
    .main-content {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 768px) {
    .content-card {
        padding: 2rem;
    }
}

@media (min-width: 1024px) {
    .main-content {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}