/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    background-attachment: fixed;
    color: #E0E0E0;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Modern glassmorphism background elements */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 25% 25%, rgba(0, 168, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 75% 75%, rgba(0, 120, 212, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
    z-index: -1;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Bar */
.navbar {
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 168, 255, 0.2);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #00A8FF;
    text-decoration: none;
}

.nav-logo a {
    text-decoration: none;
    color: inherit;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #FFFFFF !important;
    text-decoration: none !important;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    background: none !important;
    border: none !important;
    background-color: transparent !important;
    background-image: none !important;
}

.nav-link:hover {
    color: #00A8FF !important;
    background: rgba(0, 168, 255, 0.1) !important;
    background-color: rgba(0, 168, 255, 0.1) !important;
    background-image: none !important;
    text-decoration: none !important;
}

.nav-link.active {
    color: #00A8FF !important;
    text-decoration: none !important;
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
}

.nav-link:visited {
    color: #FFFFFF !important;
    text-decoration: none !important;
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
}

.nav-link:focus {
    color: #FFFFFF !important;
    text-decoration: none !important;
    outline: 2px solid #00A8FF;
    outline-offset: 2px;
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #E0E0E0;
    margin: 3px 0;
    transition: 0.3s;
}

/* Ad Banner */
.ad-banner {
    margin-top: 80px;
    background-color: #1E1E1E;
    padding: 10px 0;
    text-align: center;
    border-bottom: 1px solid #333;
}

.ad-placeholder {
    color: #888;
    font-size: 0.9rem;
}

/* Main Content */
.main-content {
    margin-top: 20px;
}

/* Hero Section */
.hero-section {
    padding: 4rem 0;
    text-align: center;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #00A8FF, #0078D4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #B0B0B0;
    margin-bottom: 3rem;
    font-weight: 400;
}

/* Password Display Container */
.password-display-container {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.password-display {
    background: rgba(30, 30, 30, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(0, 168, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.password-display:focus-within {
    border-color: #00A8FF;
    box-shadow: 0 8px 32px rgba(0, 168, 255, 0.2);
    transform: translateY(-2px);
}

.password-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #E0E0E0;
    font-size: 1.2rem;
    font-family: 'Courier New', monospace;
    outline: none;
    padding: 0.5rem;
}

.password-actions {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    background: linear-gradient(135deg, #00A8FF, #0078D4);
    border: none;
    color: white;
    padding: 1rem;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 168, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.action-btn:hover::before {
    left: 100%;
}

.action-btn:hover {
    background: linear-gradient(135deg, #0078D4, #005A9B);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 168, 255, 0.4);
}

.action-btn:active {
    transform: translateY(-1px) scale(1.02);
}

/* Password Strength */
.password-strength {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.strength-label {
    font-weight: 600;
    min-width: 140px;
}

.strength-bar {
    flex: 1;
    height: 8px;
    background-color: #333;
    border-radius: 4px;
    overflow: hidden;
}

.strength-fill {
    height: 100%;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.strength-text {
    font-weight: 600;
    min-width: 100px;
    text-align: right;
}

/* HIBP Status */
.hibp-status {
    margin-bottom: 1rem;
}

.hibp-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hibp-indicator.secure {
    background-color: rgba(34, 197, 94, 0.1);
    color: #22C55E;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.hibp-indicator.compromised {
    background-color: rgba(239, 68, 68, 0.1);
    color: #EF4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.hibp-indicator.checking {
    background-color: rgba(251, 191, 36, 0.1);
    color: #FBBF24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.hibp-indicator.default {
    background-color: rgba(107, 114, 128, 0.1);
    color: #6B7280;
    border: 1px solid rgba(107, 114, 128, 0.3);
}

/* Customization Panel */
.customization-panel {
    background: rgba(30, 30, 30, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.customization-panel:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.customization-panel h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    color: #00A8FF;
}

.option-group {
    margin-bottom: 2rem;
}

.option-label {
    display: block;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #E0E0E0;
}

/* Length Control */
.length-control {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.length-slider {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: #333;
    outline: none;
    -webkit-appearance: none;
}

.length-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #00A8FF;
    cursor: pointer;
    transition: all 0.3s ease;
}

.length-slider::-webkit-slider-thumb:hover {
    background: #0078D4;
    transform: scale(1.1);
}

.length-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #00A8FF;
    cursor: pointer;
    border: none;
}

.length-input {
    width: 80px;
    padding: 0.75rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid #00A8FF;
    border-radius: 8px;
    color: #FFFFFF;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.length-input:focus {
    outline: none;
    border-color: #0078D4;
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(0, 168, 255, 0.3);
}

/* Checkbox Grid */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.checkbox-item:hover {
    background-color: rgba(0, 168, 255, 0.1);
}

.checkbox-item input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #555;
    border-radius: 4px;
    margin-right: 0.75rem;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-item input[type="checkbox"]:checked + .checkmark {
    background-color: #00A8FF;
    border-color: #00A8FF;
}

.checkbox-item input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 14px;
}

/* Generate Button */
.generate-btn {
    width: 100%;
    background: linear-gradient(135deg, #00A8FF, #0078D4, #005A9B);
    background-size: 200% 200%;
    border: none;
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
    box-shadow: 0 8px 32px rgba(0, 168, 255, 0.3);
    position: relative;
    overflow: hidden;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.generate-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.generate-btn:hover::before {
    left: 100%;
}

.generate-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 168, 255, 0.4);
    animation-duration: 1s;
}

.generate-btn:active {
    transform: translateY(-2px) scale(1.01);
}

/* Affiliate Section */
.affiliate-section {
    padding: 4rem 0;
    background: rgba(26, 26, 26, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.affiliate-card {
    background: rgba(30, 30, 30, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 4rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.affiliate-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.affiliate-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #E0E0E0;
}

.affiliate-card p {
    font-size: 1.1rem;
    color: #B0B0B0;
    margin-bottom: 2rem;
}

.password-managers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.manager-link {
    text-decoration: none;
    color: inherit;
}

.manager-item {
    background: rgba(42, 42, 42, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid rgba(0, 168, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.manager-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 168, 255, 0.1), transparent);
    transition: left 0.6s;
}

.manager-item:hover::before {
    left: 100%;
}

.manager-item:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: #00A8FF;
    box-shadow: 0 16px 40px rgba(0, 168, 255, 0.3);
}

.manager-logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00A8FF, #0078D4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.manager-info h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #E0E0E0;
}

.manager-info p {
    color: #B0B0B0;
    font-size: 0.9rem;
    margin: 0;
}

/* Trust Section */
.trust-section {
    padding: 4rem 0;
}

.trust-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #E0E0E0;
}

.trust-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.trust-item {
    text-align: center;
    padding: 2rem;
}

.trust-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00A8FF, #0078D4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.trust-item h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #E0E0E0;
}

.trust-item p {
    color: #B0B0B0;
    font-size: 1rem;
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: #1A1A1A;
    padding: 3rem 0 1rem;
    border-top: 1px solid #333;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #00A8FF;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: #B0B0B0;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #B0B0B0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #00A8FF;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #888;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: #1E1E1E;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .password-display {
        flex-direction: column;
        gap: 1rem;
    }

    .password-actions {
        width: 100%;
        justify-content: center;
    }

    .password-strength {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .strength-label,
    .strength-text {
        min-width: auto;
    }

    .length-control {
        flex-direction: column;
        gap: 1rem;
    }

    .checkbox-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .customization-panel {
        padding: 1.5rem;
    }

    .affiliate-card {
        padding: 2rem;
    }

    .manager-item {
        flex-direction: column;
        text-align: center;
    }

    .trust-features {
        gap: 2rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.pulse {
    animation: modernPulse 2s ease-in-out infinite;
}

@keyframes modernPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 32px rgba(0, 168, 255, 0.3);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 12px 40px rgba(0, 168, 255, 0.4);
    }
}

/* Scroll-triggered animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays */
.scroll-reveal:nth-child(1) { transition-delay: 0.1s; }
.scroll-reveal:nth-child(2) { transition-delay: 0.2s; }
.scroll-reveal:nth-child(3) { transition-delay: 0.3s; }
.scroll-reveal:nth-child(4) { transition-delay: 0.4s; }

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #333;
    border-radius: 50%;
    border-top-color: #00A8FF;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


/* Article Styles - Improved Readability */
.article-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
    background: #ffffff;
    border-radius: 0;
    border: none;
    margin-top: 0;
    min-height: 100vh;
}

.article-header {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    text-align: center;
    padding: 3rem 2rem 2rem 2rem;
    margin-bottom: 0;
    border-bottom: none;
}

.breadcrumb {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: white;
    text-decoration: underline;
}

.article-header h1 {
    font-size: 2.5rem;
    margin: 1rem 0;
    color: white;
    font-weight: 700;
    line-height: 1.2;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.article-meta span {
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: 500;
}

.difficulty.beginner {
    background: rgba(76, 175, 80, 0.3);
    border-color: rgba(76, 175, 80, 0.5);
    color: #e8f5e8;
}

.difficulty.intermediate {
    background: rgba(255, 152, 0, 0.3);
    border-color: rgba(255, 152, 0, 0.5);
    color: #fff3e0;
}

.difficulty.advanced {
    background: rgba(244, 67, 54, 0.3);
    border-color: rgba(244, 67, 54, 0.5);
    color: #ffebee;
}

.article-content {
    line-height: 1.7;
    font-size: 1.1rem;
    color: #333333;
    padding: 3rem 2rem;
    background: white;
}

.article-content h2 {
    font-size: 2rem;
    margin: 3rem 0 1.5rem 0;
    color: #1e3c72;
    font-weight: 700;
    border-bottom: 3px solid #e3f2fd;
    padding-bottom: 0.5rem;
}

.article-content h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
    color: #2a5298;
    font-weight: 600;
}

.article-content h4 {
    font-size: 1.3rem;
    margin: 1.5rem 0 0.8rem 0;
    color: #1976d2;
    font-weight: 600;
}

.article-content p {
    margin-bottom: 1.5rem;
    color: #444444;
    line-height: 1.8;
}

.article-content ul, .article-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.8rem;
    color: #444444;
    line-height: 1.6;
}

.article-content strong {
    color: #1e3c72;
    font-weight: 600;
}

.article-content a {
    color: #1976d2;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    font-weight: 500;
}

.article-content a:hover {
    border-bottom-color: #1976d2;
    color: #0d47a1;
}

.content-section {
    margin: 3rem 0;
    padding: 2.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.article-intro {
    font-size: 1.2rem;
    color: #2c3e50;
    background: linear-gradient(135deg, #e3f2fd, #f3e5f5);
    padding: 2rem;
    border-radius: 12px;
    border-left: 5px solid #1976d2;
    margin-bottom: 3rem;
    font-weight: 500;
    line-height: 1.6;
}

.article-navigation {
    display: flex;
    justify-content: space-between;
    margin: 4rem 2rem 2rem 2rem;
    gap: 1rem;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
}

.nav-button {
    padding: 1rem 1.5rem;
    background: white;
    border: 2px solid #1976d2;
    border-radius: 8px;
    color: #1976d2;
    text-decoration: none;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-button:hover {
    background: #1976d2;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.nav-button.prev {
    text-align: left;
}

.nav-button.next {
    text-align: right;
}

.related-articles {
    margin: 0 2rem 2rem 2rem;
    padding: 2.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.related-articles h3 {
    color: #1e3c72;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.related-card {
    padding: 2rem;
    background: white;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.related-card:hover {
    background: white;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #1976d2;
}

.related-card h4 {
    color: #1e3c72;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.related-card p {
    color: #666666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.related-card .read-time {
    color: #888888;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Table Styles for Better Readability */
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.article-content th {
    background: #1e3c72;
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.article-content td {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    color: #444444;
}

.article-content tr:nth-child(even) {
    background: #f8f9fa;
}

.article-content tr:hover {
    background: #e3f2fd;
}

/* Code and Blockquote Styles */
.article-content code {
    background: #f8f9fa;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: #d63384;
    border: 1px solid #e9ecef;
}

.article-content blockquote {
    border-left: 4px solid #1976d2;
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: #f8f9fa;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #555555;
}

/* Special Article Elements */
.factor-grid, .manager-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.factor-card, .manager-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.factor-card h3, .manager-card h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

/* Responsive Design for Articles */
@media (max-width: 768px) {
    .article-header {
        padding: 2rem 1rem 1.5rem 1rem;
    }
    
    .article-header h1 {
        font-size: 2rem;
    }
    
    .article-content {
        padding: 2rem 1rem;
    }
    
    .article-content h2 {
        font-size: 1.6rem;
    }
    
    .article-navigation {
        flex-direction: column;
        margin: 2rem 1rem;
        padding: 1.5rem;
    }
    
    .related-articles {
        margin: 0 1rem 2rem 1rem;
        padding: 1.5rem;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .factor-grid, .manager-comparison {
        grid-template-columns: 1fr;
    }
}

/* Logo image styling */
.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
}

.tool-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    margin-right: 1rem;
}

/* Specific logo background colors to match brand colors */
.tool-logo.nordpass {
    background: linear-gradient(135deg, #4FD1C7, #00A8CC);
}

.tool-logo.onepassword {
    background: linear-gradient(135deg, #0070F3, #0052CC);
}

.tool-logo.bitwarden {
    background: linear-gradient(135deg, #175DDC, #1252CC);
}

.tool-logo.dashlane {
    background: linear-gradient(135deg, #00B386, #008F6B);
}

/* Manager logo image styling for affiliate section */
.manager-logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 6px;
}

.manager-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    margin-right: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Educational Content Section */
.educational-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 80px 0;
    color: white;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.content-main h2 {
    color: #64b5f6;
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.content-main h3 {
    color: #90caf9;
    font-size: 1.8rem;
    margin: 30px 0 15px 0;
    border-bottom: 2px solid #42a5f5;
    padding-bottom: 10px;
}

.content-main h4 {
    color: #bbdefb;
    font-size: 1.3rem;
    margin: 20px 0 10px 0;
}

.content-main p {
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.content-main ul {
    margin: 15px 0;
    padding-left: 20px;
}

.content-main li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.security-criteria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.criteria-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.criteria-item h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #64b5f6;
    margin-bottom: 15px;
}

.criteria-item i {
    font-size: 1.2rem;
    color: #42a5f5;
}

.best-practices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.practice-do, .practice-dont {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.practice-do h4 {
    color: #4caf50;
    display: flex;
    align-items: center;
    gap: 10px;
}

.practice-dont h4 {
    color: #f44336;
    display: flex;
    align-items: center;
    gap: 10px;
}

.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.quick-tips, .security-stats {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.quick-tips h3, .security-stats h3 {
    color: #64b5f6;
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 2px solid #42a5f5;
    padding-bottom: 10px;
}

.tip-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.tip-item i {
    color: #ffc107;
    font-size: 1.2rem;
    margin-top: 2px;
    min-width: 20px;
}

.tip-item p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.stat-item {
    text-align: center;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #ff5722;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #e3f2fd;
    line-height: 1.3;
}

/* Responsive Design for Educational Content */
@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .security-criteria {
        grid-template-columns: 1fr;
    }
    
    .best-practices {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .content-main h2 {
        font-size: 2rem;
    }
    
    .content-main h3 {
        font-size: 1.5rem;
    }
    
    .educational-section {
        padding: 60px 0;
    }
}

/* Company and Legal Section Styles */
.company-section, .legal-section {
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.company-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.company-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.company-item h4 {
    color: #4FC3F7;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.company-item p {
    color: #E0E0E0;
    margin: 0;
    font-size: 0.9rem;
}

.legal-info {
    margin: 1rem 0;
}

.legal-info p {
    margin: 0.5rem 0;
    color: #E0E0E0;
}

.legal-info strong {
    color: #4FC3F7;
}

.legal-info a {
    color: #4FC3F7;
    text-decoration: none;
}

.legal-info a:hover {
    text-decoration: underline;
}

.contact-info small {
    display: block;
    color: #B0B0B0;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

@media (max-width: 768px) {
    .company-details {
        grid-template-columns: 1fr;
    }
    
    .company-section, .legal-section {
        padding: 1rem;
    }
}

/* FAQ Section Styles */
.faq-item {
    margin-bottom: 1.5rem;
}

.faq-item h3 {
    color: #4FC3F7;
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: #E0E0E0;
    margin: 0;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

thead {
    background-color: rgba(255, 255, 255, 0.1);
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

th {
    color: #4FC3F7;
}

td {
    color: #E0E0E0;
}

@media (max-width: 768px) {
    th, td {
        padding: 0.5rem;
    }
}
