
        :root {
            --bg-color: #f8fafc;
            --bg-gradient: linear-gradient(135deg, #f0fdf4 0%, #e0f2fe 100%);
            --surface: rgba(255, 255, 255, 0.7);
            --surface-solid: #ffffff;
            --text-main: #0f172a;
            --text-muted: #64748b;
            --primary: #3b82f6;
            --primary-hover: #2563eb;
            --accent: #10b981;
            --border: rgba(148, 163, 184, 0.2);
            --glass-border: rgba(255, 255, 255, 0.5);
            --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
            --radius: 20px;
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        [data-theme="dark"] {
            --bg-color: #0f172a;
            --bg-gradient: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
            --surface: rgba(30, 41, 59, 0.6);
            --surface-solid: #1e293b;
            --text-main: #f8fafc;
            --text-muted: #94a3b8;
            --primary: #60a5fa;
            --primary-hover: #3b82f6;
            --accent: #34d399;
            --border: rgba(248, 250, 252, 0.1);
            --glass-border: rgba(255, 255, 255, 0.05);
            --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Outfit', sans-serif;
        }

        body {
            background: var(--bg-color);
            background-image: var(--bg-gradient);
            color: var(--text-main);
            min-height: 100vh;
            line-height: 1.6;
            transition: var(--transition);
        }

        .glass-panel {
            background: var(--surface);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid var(--glass-border);
            border-radius: var(--radius);
            box-shadow: var(--shadow);
        }

        /* Navbar */
        nav {
            position: sticky;
            top: 0;
            z-index: 50;
            padding: 1rem 0;
        }

        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1.5rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .nav-glass {
            background: var(--surface);
            backdrop-filter: blur(16px);
            border-radius: 100px;
            padding: 0.75rem 1.5rem;
            border: 1px solid var(--glass-border);
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
        }

        .logo {
            font-weight: 800;
            font-size: 1.2rem;
            color: var(--text-main);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .theme-toggle {
            background: none;
            border: none;
            color: var(--text-main);
            cursor: pointer;
            padding: 0.5rem;
            border-radius: 50%;
            transition: var(--transition);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .theme-toggle:hover {
            background: var(--border);
        }

        /* Layout Container */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem 1.5rem;
        }

        /* Hero / Tool Section */
        .hero {
            text-align: center;
            margin-bottom: 2rem;
            padding-top: 2rem;
        }

        .hero h1 {
            font-size: clamp(2.5rem, 5vw, 4rem);
            font-weight: 800;
            line-height: 1.1;
            margin-bottom: 1rem;
            background: linear-gradient(to right, var(--primary), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero p {
            font-size: 1.1rem;
            color: var(--text-muted);
            max-width: 600px;
            margin: 0 auto;
        }

        .app-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
            margin-bottom: 4rem;
        }

        @media (min-width: 992px) {

            .app-grid {
                grid-template-columns: 350px 1fr;
            }
        }

        /* Tool Controls */
        .controls-panel {
            padding: 1.5rem;
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .input-group {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .input-group label {
            font-weight: 600;
            font-size: 0.9rem;
            display: flex;
            justify-content: space-between;
            color: var(--text-main);
        }

        .microcopy {
            font-size: 0.75rem;
            color: var(--text-muted);
            font-weight: 400;
        }

        textarea.main-input {
            width: 100%;
            padding: 1rem;
            border-radius: 12px;
            border: 2px solid var(--border);
            background: var(--surface-solid);
            color: var(--text-main);
            font-size: 1rem;
            resize: vertical;
            min-height: 100px;
            transition: var(--transition);
        }

        textarea.main-input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
        }

        /* Chips */
        .chip-group {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .chip {
            padding: 0.5rem 1rem;
            border-radius: 100px;
            border: 1px solid var(--border);
            background: var(--surface-solid);
            color: var(--text-muted);
            font-size: 0.9rem;
            font-weight: 500;
            cursor: pointer;
            transition: var(--transition);
        }

        .chip:hover {
            border-color: var(--primary);
            color: var(--text-main);
        }

        .chip.active {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
        }

        /* Toggles */
        .toggle-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0.75rem 0;
            border-bottom: 1px solid var(--border);
        }

        .toggle-row:last-child {
            border-bottom: none;
        }

        .toggle-label {
            font-size: 0.95rem;
            font-weight: 500;
            cursor: pointer;
        }

        /* Switch */
        .switch {
            position: relative;
            display: inline-block;
            width: 44px;
            height: 24px;
        }

        .switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        .slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: var(--border);
            transition: .4s;
            border-radius: 34px;
        }

        .slider:before {
            position: absolute;
            content: "";
            height: 18px;
            width: 18px;
            left: 3px;
            bottom: 3px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }

        input:checked+.slider {
            background-color: var(--primary);
        }

        input:checked+.slider:before {
            transform: translateX(20px);
        }

        /* Output Panel */
        .output-panel {
            padding: 1.5rem;
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .output-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .stats {
            display: flex;
            gap: 1rem;
        }

        .stat-item {
            background: var(--surface-solid);
            padding: 0.5rem 1rem;
            border-radius: 8px;
            border: 1px solid var(--border);
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--text-muted);
        }

        .stat-item span {
            color: var(--text-main);
            font-size: 1rem;
        }

        .output-textarea {
            flex-grow: 1;
            width: 100%;
            min-height: 400px;
            padding: 1.5rem;
            border-radius: 12px;
            border: 2px solid var(--border);
            background: var(--surface-solid);
            color: var(--text-main);
            font-size: 1rem;
            font-family: monospace;
            resize: none;
            transition: var(--transition);
        }

        .output-textarea:focus {
            outline: none;
            border-color: var(--primary);
        }

        /* Buttons */
        .btn-group {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
            gap: 1rem;
        }

        .btn {
            padding: 1rem 1.5rem;
            border-radius: 12px;
            font-weight: 700;
            font-size: 1rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            border: none;
            transition: var(--transition);
        }

        .btn-primary {
            background: var(--primary);
            color: white;
            box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
        }

        .btn-primary:hover {
            background: var(--primary-hover);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
        }

        .btn-secondary {
            background: var(--surface-solid);
            color: var(--text-main);
            border: 2px solid var(--border);
        }

        .btn-secondary:hover {
            border-color: var(--primary);
            color: var(--primary);
        }

        /* Live Indicator */
        .live-indicator {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.85rem;
            color: var(--accent);
            font-weight: 600;
        }

        .pulse {
            width: 8px;
            height: 8px;
            background: var(--accent);
            border-radius: 50%;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
            }

            70% {
                box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
            }

            100% {
                box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
            }
        }

        /* History Section */
        .history-section {
            margin-top: 1rem;
            margin-bottom: 4rem;
        }

        .history-title {
            font-size: 1.1rem;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .history-list {
            display: flex;
            gap: 1rem;
            overflow-x: auto;
            padding-bottom: 1rem;
            scrollbar-width: thin;
        }

        .history-card {
            min-width: 200px;
            padding: 1rem;
            border-radius: 12px;
            background: var(--surface-solid);
            border: 1px solid var(--border);
            cursor: pointer;
            transition: var(--transition);
        }

        .history-card:hover {
            border-color: var(--primary);
            transform: translateY(-2px);
        }

        .history-card-text {
            font-weight: 500;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            margin-bottom: 0.25rem;
        }

        .history-card-meta {
            font-size: 0.8rem;
            color: var(--text-muted);
        }

        /* Content Sections */
        .content-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
            margin-bottom: 4rem;
        }

        @media (min-width: 768px) {
            .content-grid {
                grid-template-columns: 1fr 1fr;
            }
        }

        .info-card {
            padding: 2.5rem;
            height: 100%;
        }

        .info-card h2 {
            font-size: 1.75rem;
            margin-bottom: 1rem;
            color: var(--text-main);
        }

        .info-card p {
            color: var(--text-muted);
            margin-bottom: 1.5rem;
        }

        .info-card ul {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .info-card li {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
            color: var(--text-muted);
        }

        .icon-box {
            background: rgba(59, 130, 246, 0.1);
            color: var(--primary);
            width: 32px;
            height: 32px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            font-weight: bold;
        }

        /* SEO Article Section */
        .article-section {
            max-width: 800px;
            margin: 0 auto 4rem;
        }

        .article-section h2 {
            font-size: 2rem;
            margin-top: 2.5rem;
            margin-bottom: 1rem;
            color: var(--text-main);
        }

        .article-section h3 {
            font-size: 1.4rem;
            margin-top: 2rem;
            margin-bottom: 1rem;
        }

        .article-section p {
            color: var(--text-muted);
            margin-bottom: 1.25rem;
            font-size: 1.05rem;
        }

        .article-section blockquote {
            border-left: 4px solid var(--primary);
            padding-left: 1rem;
            margin: 1.5rem 0;
            font-style: italic;
            color: var(--text-main);
            background: rgba(59, 130, 246, 0.05);
            padding: 1rem;
            border-radius: 0 8px 8px 0;
        }

        /* FAQ */
        .faq-section {
            max-width: 800px;
            margin: 0 auto 4rem;
        }

        .faq-section h2 {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 2rem;
        }

        .faq-item {
            margin-bottom: 1rem;
            border-radius: 12px;
            overflow: hidden;
            background: var(--surface-solid);
            border: 1px solid var(--border);
            transition: var(--transition);
        }

        .faq-item:hover {
            border-color: var(--primary);
        }

        .faq-question {
            width: 100%;
            text-align: left;
            padding: 1.25rem 1.5rem;
            background: none;
            border: none;
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--text-main);
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .faq-question::after {
            content: '+';
            font-size: 1.5rem;
            transition: transform 0.3s ease;
            color: var(--primary);
        }

        .faq-item.active .faq-question::after {
            transform: rotate(45deg);
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease-out;
        }

        .faq-answer-inner {
            padding: 0 1.5rem 1.25rem;
            color: var(--text-muted);
        }

        /* Footer */
        footer {
            background: var(--surface-solid);
            border-top: 1px solid var(--border);
            padding: 4rem 1.5rem 2rem;
            text-align: center;
        }

        .footer-logo {
            font-weight: 800;
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: var(--text-main);
        }

        .footer-desc {
            color: var(--text-muted);
            max-width: 400px;
            margin: 0 auto 2rem;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 2rem;
            flex-wrap: wrap;
            margin-bottom: 2rem;
        }

        .footer-links a {
            color: var(--text-main);
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition);
        }

        .footer-links a:hover {
            color: var(--primary);
        }

        .copyright {
            color: var(--text-muted);
            font-size: 0.9rem;
            padding-top: 2rem;
            border-top: 1px solid var(--border);
        }

        /* Utility */
        .hidden {
            display: none !important;
        }
        
          /* Backlinks Marquee Animation */
        .backlinks-container {
            width: 100%;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            gap: 20px;
            padding: 30px 0;
            margin: 20px 0;
            background: rgba(255, 255, 255, 0.02);
            border-radius: 12px;
        }

        .marquee-track {
            display: flex;
            width: max-content;
        }

        .marquee-track.left {
            animation: scroll-left 30s linear infinite;
        }

        .marquee-track.right {
            animation: scroll-right 30s linear infinite;
        }

        /* Pause on hover */
        .backlinks-container:hover .marquee-track {
            animation-play-state: paused;
        }

        .marquee-content {
            display: flex;
            gap: 30px;
            padding-right: 30px;
            align-items: center;
        }

        .marquee-content a {
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.3s ease;
        }

        .marquee-content a:hover {
            transform: scale(1.05);
        }

        .marquee-content img {
            border-radius: 8px;
            object-fit: contain;
        }

        @keyframes scroll-left {
            0% {
                transform: translateX(0);
            }

            100% {
                transform: translateX(-50%);
            }
        }

        @keyframes scroll-right {
            0% {
                transform: translateX(-50%);
            }

            100% {
                transform: translateX(0);
            }
        }

        @media (max-width: 768px) {

            .marquee-track.left,
            .marquee-track.right {
                animation-duration: 20s;
            }

            .marquee-content img {
                height: 40px;
                width: auto;
            }

            .backlinks-container {
                gap: 15px;
            }
        }

    
  