        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        :root {
            --primary-color: #2563eb;
            --secondary-color: #0ea5e9;
            --success-color: #10b981;
            --warning-color: #f59e0b;
            --danger-color: #ef4444;
            --text-primary: #1f2937;
            --text-secondary: #6b7280;
            --bg-primary: #ffffff;
            --bg-secondary: #f9fafb;
            --border-color: #e5e7eb;
            --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
            --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
            --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
        }
        
        body.dark-mode {
            --text-primary: #f9fafb;
            --text-secondary: #d1d5db;
            --bg-primary: #111827;
            --bg-secondary: #1f2937;
            --border-color: #374151;
        }
        
        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            line-height: 1.6;
            color: var(--text-primary);
            background: var(--bg-secondary);
            transition: background 0.3s ease, color 0.3s ease;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        header {
            background: var(--bg-primary);
            box-shadow: var(--shadow-sm);
            position: sticky;
            top: 0;
            z-index: 100;
            transition: background 0.3s ease;
        }
        
        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1.25rem 0;
            flex-wrap: wrap;
            gap: 1rem;
        }
        
        h1 {
            font-size: 1.75rem;
            font-weight: 700;
            color: var(--primary-color);
        }
        
        .theme-toggle {
            background: var(--bg-secondary);
            border: 1px solid var(--border-color);
            padding: 0.5rem 1rem;
            border-radius: 8px;
            cursor: pointer;
            font-size: 0.875rem;
            transition: all 0.2s;
            font-weight: 500;
            color: var(--text-primary);
        }
        
        .theme-toggle:hover {
            background: var(--primary-color);
            color: white;
            border-color: var(--primary-color);
        }
        
        .hero {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            color: white;
            padding: 3rem 0;
            text-align: center;
        }
        
        .hero h2 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            font-weight: 700;
        }
        
        .hero p {
            font-size: 1.125rem;
            opacity: 0.95;
            max-width: 700px;
            margin: 0 auto 2rem;
        }
        
        .toc {
            background: var(--bg-primary);
            padding: 2rem;
            border-radius: 12px;
            margin: 2rem 0;
            box-shadow: var(--shadow-md);
        }
        
        .toc h3 {
            margin-bottom: 1rem;
            color: var(--text-primary);
            font-size: 1.5rem;
        }
        
        .toc-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1rem;
        }
        
        .toc-link {
            padding: 0.75rem 1rem;
            background: var(--bg-secondary);
            border-radius: 8px;
            text-decoration: none;
            color: var(--text-primary);
            transition: all 0.2s;
            border: 1px solid var(--border-color);
            display: block;
        }
        
        .toc-link:hover {
            background: var(--primary-color);
            color: white;
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }
        
        .intro-section {
            background: var(--bg-primary);
            padding: 3rem 2rem;
            border-radius: 12px;
            margin: 2rem 0;
            box-shadow: var(--shadow-md);
            line-height: 1.8;
        }
        
        .intro-section h2 {
            color: var(--primary-color);
            margin-bottom: 1.5rem;
            font-size: 2rem;
        }
        
        .intro-section p {
            margin-bottom: 1rem;
            color: var(--text-secondary);
            font-size: 1.05rem;
        }
        
        .intro-section ul {
            margin: 1.5rem 0 1.5rem 2rem;
        }
        
        .intro-section li {
            margin-bottom: 0.75rem;
            color: var(--text-secondary);
        }
        
        .tool-section {
            background: var(--bg-primary);
            padding: 2.5rem;
            border-radius: 12px;
            margin: 2rem 0;
            box-shadow: var(--shadow-md);
            scroll-margin-top: 100px;
        }
        
        .tool-section h2 {
            color: var(--primary-color);
            margin-bottom: 0.5rem;
            font-size: 1.875rem;
        }
        
        .tool-description {
            color: var(--text-secondary);
            margin-bottom: 1.5rem;
            font-size: 0.95rem;
        }
        
        .input-group {
            margin-bottom: 1.5rem;
        }
        
        label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 600;
            color: var(--text-primary);
            font-size: 0.95rem;
        }
        
        input[type="text"],
        input[type="url"],
        textarea {
            width: 100%;
            padding: 0.75rem;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            font-size: 1rem;
            transition: all 0.2s;
            background: var(--bg-secondary);
            color: var(--text-primary);
            font-family: inherit;
        }
        
        input:focus,
        textarea:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
        }
        
        textarea {
            min-height: 150px;
            resize: vertical;
        }
        
        .btn {
            padding: 0.75rem 1.5rem;
            border: none;
            border-radius: 8px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            display: inline-block;
            text-decoration: none;
            text-align: center;
        }
        
        .btn-primary {
            background: var(--primary-color);
            color: white;
        }
        
        .btn-primary:hover {
            background: #1d4ed8;
            transform: translateY(-1px);
            box-shadow: var(--shadow-md);
        }
        
        .btn-secondary {
            background: var(--bg-secondary);
            color: var(--text-primary);
            border: 1px solid var(--border-color);
        }
        
        .btn-secondary:hover {
            background: var(--border-color);
        }
        
        .btn-small {
            padding: 0.5rem 1rem;
            font-size: 0.875rem;
        }
        
        .btn-group {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
            margin-top: 1rem;
        }
        
        .output-box {
            background: var(--bg-secondary);
            padding: 1.5rem;
            border-radius: 8px;
            margin-top: 1.5rem;
            border: 1px solid var(--border-color);
            display: none;
        }
        
        .output-box.active {
            display: block;
        }
        
        .keyword-list,
        .idea-list {
            list-style: none;
        }
        
        .keyword-item,
        .idea-item {
            padding: 0.75rem;
            background: var(--bg-primary);
            margin-bottom: 0.5rem;
            border-radius: 6px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border: 1px solid var(--border-color);
        }
        
        .meta-preview {
            margin-top: 1rem;
            padding: 1rem;
            background: var(--bg-primary);
            border-radius: 6px;
            border: 1px solid var(--border-color);
        }
        
        .meta-title {
            color: #1a0dab;
            font-size: 1.25rem;
            margin-bottom: 0.25rem;
            font-weight: 500;
        }
        
        .meta-url {
            color: #006621;
            font-size: 0.875rem;
            margin-bottom: 0.5rem;
        }
        
        .meta-desc {
            color: #545454;
            font-size: 0.875rem;
            line-height: 1.5;
        }
        
        .char-count {
            font-size: 0.875rem;
            color: var(--text-secondary);
            margin-top: 0.25rem;
        }
        
        .char-count.warning {
            color: var(--warning-color);
            font-weight: 600;
        }
        
        .social-links {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
            margin-top: 1rem;
        }
        
        .social-card {
            background: var(--bg-primary);
            padding: 1rem;
            border-radius: 8px;
            border: 1px solid var(--border-color);
            text-align: center;
        }
        
        .social-card h4 {
            margin-bottom: 0.75rem;
            color: var(--text-primary);
        }
        
        .social-card a {
            display: inline-block;
            padding: 0.5rem 1rem;
            background: var(--primary-color);
            color: white;
            text-decoration: none;
            border-radius: 6px;
            font-size: 0.875rem;
            margin-bottom: 0.5rem;
            transition: all 0.2s;
        }
        
        .social-card a:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-sm);
        }
        
        .backlink-directory {
            max-height: 600px;
            overflow-y: auto;
            margin-top: 1rem;
        }
        
        .backlink-item {
            background: var(--bg-primary);
            padding: 1rem;
            border-radius: 8px;
            margin-bottom: 0.75rem;
            border: 1px solid var(--border-color);
        }
        
        .backlink-header {
            display: flex;
            justify-content: space-between;
            align-items: start;
            margin-bottom: 0.5rem;
            flex-wrap: wrap;
            gap: 0.5rem;
        }
        
        .backlink-name {
            font-weight: 600;
            color: var(--primary-color);
            font-size: 1.05rem;
        }
        
        .backlink-category {
            font-size: 0.75rem;
            padding: 0.25rem 0.75rem;
            background: var(--secondary-color);
            color: white;
            border-radius: 12px;
        }
        
        .backlink-actions {
            display: flex;
            gap: 0.5rem;
            margin-top: 0.75rem;
            flex-wrap: wrap;
        }
        
        .score-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
            margin-top: 1rem;
        }
        
        .score-card {
            background: var(--bg-primary);
            padding: 1.5rem;
            border-radius: 8px;
            text-align: center;
            border: 1px solid var(--border-color);
        }
        
        .score-value {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--primary-color);
            margin: 0.5rem 0;
        }
        
        .score-label {
            color: var(--text-secondary);
            font-size: 0.875rem;
            font-weight: 600;
        }
        
        .tips-box {
            background: #fef3c7;
            border-left: 4px solid var(--warning-color);
            padding: 1rem;
            border-radius: 6px;
            margin-top: 1rem;
        }
        
        .tips-box h4 {
            color: #92400e;
            margin-bottom: 0.5rem;
        }
        
        .tips-box ul {
            margin-left: 1.5rem;
            color: #78350f;
        }
        
        .tips-box li {
            margin-bottom: 0.25rem;
        }
        
        footer {
            background: var(--bg-primary);
            padding: 2rem 0;
            margin-top: 4rem;
            text-align: center;
            border-top: 1px solid var(--border-color);
        }
        
        .footer-nav {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin-bottom: 1rem;
            flex-wrap: wrap;
        }
        
        .footer-nav a {
            color: var(--text-secondary);
            text-decoration: none;
            transition: color 0.2s;
        }
        
        .footer-nav a:hover {
            color: var(--primary-color);
        }
        
        .toast {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            background: var(--success-color);
            color: white;
            padding: 1rem 1.5rem;
            border-radius: 8px;
            box-shadow: var(--shadow-lg);
            transform: translateY(150%);
            transition: transform 0.3s ease;
            z-index: 1000;
        }
        
        .toast.show {
            transform: translateY(0);
        }
        
        .filter-buttons {
            display: flex;
            gap: 0.5rem;
            margin-bottom: 1rem;
            flex-wrap: wrap;
        }
        
        .filter-btn {
            padding: 0.5rem 1rem;
            border: 1px solid var(--border-color);
            background: var(--bg-secondary);
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.2s;
            font-size: 0.875rem;
            color: var(--text-primary);
        }
        
        .filter-btn.active {
            background: var(--primary-color);
            color: white;
            border-color: var(--primary-color);
        }
        
        /* Navigation Menu */
        .main-nav {
            display: flex;
            gap: 2rem;
            align-items: center;
            flex-wrap: wrap;
        }
        
        .nav-links {
            display: flex;
            gap: 1.5rem;
            list-style: none;
            flex-wrap: wrap;
        }
        
        .nav-links a {
            color: var(--text-primary);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.2s;
            font-size: 0.95rem;
        }
        
        .nav-links a:hover {
            color: var(--primary-color);
        }
        
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--text-primary);
        }
        
        /* Language Switcher */
        .language-switcher {
            position: relative;
        }
        
        .language-btn {
            background: var(--bg-secondary);
            border: 1px solid var(--border-color);
            padding: 0.5rem 1rem;
            border-radius: 8px;
            cursor: pointer;
            font-size: 0.875rem;
            transition: all 0.2s;
            font-weight: 500;
            color: var(--text-primary);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .language-btn:hover {
            background: var(--border-color);
        }
        
        .language-dropdown {
            position: absolute;
            top: 100%;
            right: 0;
            margin-top: 0.5rem;
            background: var(--bg-primary);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            box-shadow: var(--shadow-lg);
            max-height: 400px;
            overflow-y: auto;
            display: none;
            z-index: 1000;
            min-width: 200px;
        }
        
        .language-dropdown.active {
            display: block;
        }
        
        .language-option {
            padding: 0.75rem 1rem;
            cursor: pointer;
            transition: background 0.2s;
            color: var(--text-primary);
            border-bottom: 1px solid var(--border-color);
        }
        
        .language-option:last-child {
            border-bottom: none;
        }
        
        .language-option:hover {
            background: var(--bg-secondary);
        }
        
        .language-option.active {
            background: var(--primary-color);
            color: white;
        }
        
        /* Scroll to Top Button */
        .scroll-top-btn {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            background: var(--primary-color);
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            border: none;
            cursor: pointer;
            font-size: 1.5rem;
            display: none;
            align-items: center;
            justify-content: center;
            box-shadow: var(--shadow-lg);
            transition: all 0.3s;
            z-index: 999;
        }
        
        .scroll-top-btn.visible {
            display: flex;
        }
        
        .scroll-top-btn:hover {
            background: #1d4ed8;
            transform: translateY(-5px);
        }
        
        /* Footer Enhancements */
        .footer-logo {
            font-size: 2rem;
            margin-bottom: 1rem;
        }
        
        .footer-social {
            display: flex;
            gap: 1rem;
            justify-content: center;
            margin: 1.5rem 0;
        }
        
        .social-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            background: var(--bg-secondary);
            color: var(--text-primary);
            text-decoration: none;
            font-size: 1.25rem;
            transition: all 0.3s;
            border: 1px solid var(--border-color);
        }
        
        .social-btn:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-md);
        }
        
        .social-btn.facebook:hover {
            background: #1877f2;
            color: white;
            border-color: #1877f2;
        }
        
        .social-btn.twitter:hover {
            background: #1da1f2;
            color: white;
            border-color: #1da1f2;
        }
        
        .social-btn.instagram:hover {
            background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
            color: white;
            border-color: #e6683c;
        }
        
        .da-badge {
            display: inline-block;
            padding: 0.25rem 0.5rem;
            background: var(--success-color);
            color: white;
            border-radius: 4px;
            font-size: 0.75rem;
            font-weight: 600;
            margin-left: 0.5rem;
        }
        
        @media (max-width: 768px) {
            .hero h2 {
                font-size: 1.75rem;
            }
            
            .hero p {
                font-size: 1rem;
            }
            
            .tool-section {
                padding: 1.5rem;
            }
            
            h1 {
                font-size: 1.25rem;
            }
            
            .btn-group {
                flex-direction: column;
            }
            
            .btn {
                width: 100%;
            }
            
            .toast {
                left: 1rem;
                right: 1rem;
            }
            
            .nav-links {
                display: none;
                flex-direction: column;
                width: 100%;
                gap: 0.5rem;
            }
            
            .nav-links.active {
                display: flex;
            }
            
            .mobile-menu-btn {
                display: block;
            }
            
            .main-nav {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .scroll-top-btn {
                bottom: 1rem;
                right: 1rem;
                width: 45px;
                height: 45px;
            }
        }
        
        .loading {
            display: inline-block;
            width: 1rem;
            height: 1rem;
            border: 2px solid rgba(255,255,255,0.3);
            border-radius: 50%;
            border-top-color: white;
            animation: spin 0.6s linear infinite;
        }
        
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        
        ::-webkit-scrollbar {
            width: 8px;
            height: 8px;
        }
        
        ::-webkit-scrollbar-track {
            background: var(--bg-secondary);
        }
        
        ::-webkit-scrollbar-thumb {
            background: var(--border-color);
            border-radius: 4px;
        }
        
        ::-webkit-scrollbar-thumb:hover {
            background: var(--text-secondary);
        }

/* Professional Footer Styles - V3 */
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding: 3rem 0 2rem;
    text-align: left;
}

.footer-section h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    letter-spacing: 0.5px;
}

.footer-brand {
    max-width: 350px;
}

.footer-brand .footer-logo {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.footer-brand h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.footer-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.footer-links .footer-nav,
.footer-legal .footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links .footer-nav a,
.footer-legal .footer-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.95rem;
    padding-left: 0;
    display: block;
}

.footer-links .footer-nav a:hover,
.footer-legal .footer-nav a:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

.footer-connect .footer-social {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    justify-content: flex-start;
}

.footer-contact {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-top: 1rem;
}

.footer-contact strong {
    color: var(--text-primary);
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

.footer-contact a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s;
}

.footer-contact a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    margin-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.6;
}

/* Responsive Footer */
@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section h4 {
        text-align: center;
    }
    
    .footer-links .footer-nav,
    .footer-legal .footer-nav {
        align-items: center;
    }
    
    .footer-connect .footer-social {
        justify-content: center;
    }
    
    .footer-links .footer-nav a:hover,
    .footer-legal .footer-nav a:hover {
        padding-left: 0;
    }
}

/* Header Email Contact - V3 */
.header-email {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
    margin-right: 1rem;
    white-space: nowrap;
}

.header-email:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.header-email svg {
    flex-shrink: 0;
}

@media (max-width: 968px) {
    .header-email {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .header-email svg {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 640px) {
    .header-email {
        display: none;
    }
}

/* ============================================================================
   SHARE & FOLLOW BUTTONS STYLES (Added for Share & Follow feature)
   ============================================================================ */

/* Social button enhancements for share and follow */
.social-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.6rem;
    min-width: 50px;
    transition: all 0.3s ease;
}

.social-btn span {
    display: block;
    font-size: 0.75rem;
    margin-top: 0.3rem;
    font-weight: 500;
}

/* LinkedIn specific styles */
.social-btn.linkedin,
.social-btn.linkedin-follow {
    background: linear-gradient(135deg, #0077b5 0%, #00a0dc 100%);
}

.social-btn.linkedin:hover,
.social-btn.linkedin-follow:hover {
    background: linear-gradient(135deg, #005885 0%, #0077b5 100%);
    transform: translateY(-3px);
}

/* Email specific styles */
.social-btn.email {
    background: linear-gradient(135deg, #666 0%, #888 100%);
}

.social-btn.email:hover {
    background: linear-gradient(135deg, #444 0%, #666 100%);
    transform: translateY(-3px);
}

/* Instagram follow button */
.social-btn.instagram-follow {
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
}

.social-btn.instagram-follow:hover {
    background: linear-gradient(135deg, #6b2a94 0%, #d01818 50%, #e09835 100%);
    transform: translateY(-3px);
}

/* Facebook follow button */
.social-btn.facebook-follow {
    background: linear-gradient(135deg, #1877f2 0%, #42b72a 100%);
}

.social-btn.facebook-follow:hover {
    background: linear-gradient(135deg, #145dbf 0%, #369e22 100%);
    transform: translateY(-3px);
}

/* Twitter follow button */
.social-btn.twitter-follow {
    background: linear-gradient(135deg, #1da1f2 0%, #14c7d6 100%);
}

.social-btn.twitter-follow:hover {
    background: linear-gradient(135deg, #0d8bd9 0%, #0fb0bf 100%);
    transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .social-btn {
        padding: 0.5rem;
        min-width: 45px;
    }
    
    .social-btn span {
        font-size: 0.7rem;
    }
}

/* Contextual internal links styling */
.contextual-internal-links {
    animation: fadeIn 0.6s ease-in;
}

.contextual-internal-links a {
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.contextual-internal-links a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

