:root {
            --primary-color: #4361ee;
            --primary-dark: #3a56d4;
            --text-color: #2b2d42;
            --text-light: #8d99ae;
            --bg-color: #f5f5f7;
            --card-color: #ffffff;
            --border-color: #e9ecef;
            --success-color: #4cc9f0;
            --warning-color: #f8961e;
            --error-color: #f72585;
            --shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            --radius: 8px;
            --transition: all 0.2s ease;
        }

        .dark-mode {
            --primary-color: #4895ef;
            --primary-dark: #3a7bc8;
            --text-color: #f8f9fa;
            --text-light: #adb5bd;
            --bg-color: #121212;
            --card-color: #1e1e1e;
            --border-color: #2d2d2d;
            --shadow: 0 4px 6px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.5);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.5);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        

        .main-conteiner{
            font-family: 'Inter', sans-serif;
            background-color: var(--bg-color);
            color: var(--text-color);
            line-height: 1.6;
            transition: var(--transition);
            min-height: 100vh;
            padding: 20px;
            
        }

        .container {
            width: 95%;
            margin: 0 auto;
            padding: 0 20px;
        }

        .text-container {
            background-color: var(--bg-color);
            border-radius: 12px;
            padding: 2rem;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
            border: 1px solid var(--border-color);
        }
        
        h1 {
            color: var(--primary-color);
            font-size: 1.8rem;
            margin-bottom: 1.5rem;
            font-weight: 700;
        }
        
        p {
            margin-bottom: 1.25rem;
            font-size: 1.05rem;
        }
        
        ul {
            margin-bottom: 1.5rem;
            padding-left: 1.5rem;
        }
        
        li {
            margin-bottom: 0.5rem;
            position: relative;
        }
        
        .features-list {
            list-style-type: none;
            padding-left: 0;
        }
        
        .feature-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 0.75rem;
        }
        
        .check-icon {
            color: var(--success-color);
            margin-right: 0.75rem;
            font-weight: bold;
            flex-shrink: 0;
            margin-top: 0.2rem;
        }
        
        .highlight {
            background-color: rgba(67, 97, 238, 0.1);
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            font-weight: 500;
        }
        
        .cta {
            font-weight: 600;
            color: var(--primary-color);
        }
        
        @media (max-width: 768px) {
            body {
                padding: 1rem;
            }
            
            .text-container {
                padding: 1.5rem;
            }
        }

        .header-2 {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            padding-top: 20px;
        }

        .logo2 {
            font-size: 24px;
            font-weight: 700;
            color: var(--primary-color);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .logo2-icon {
            width: 30px;
            height: 30px;
            background-color: var(--primary-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
        }

        .theme-toggle {
            background: none;
            border: none;
            cursor: pointer;
            color: var(--text-light);
            font-size: 20px;
            transition: var(--transition);
        }

        .theme-toggle:hover {
            color: var(--primary-color);
        }

        h1 {
            font-size: 2.5rem;
            margin-bottom: 10px;
            font-weight: 700;
            line-height: 1.2;
        }

        .subtitle {
            color: var(--text-light);
            margin-bottom: 30px;
            font-size: 1.1rem;
        }

        .app-container {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 30px;
        }

        @media (max-width: 768px) {
            .app-container {
                grid-template-columns: 1fr;
            }
        }

        .editor-section {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .text-editor {
            position: relative;
        }

        .text-area {
            width: 100%;
            min-height: 300px;
            padding: 20px;
            border-radius: var(--radius);
            border: 1px solid var(--border-color);
            background-color: var(--card-color);
            color: var(--text-color);
            font-family: 'Inter', sans-serif;
            font-size: 16px;
            line-height: 1.6;
            resize: none;
            transition: var(--transition);
            box-shadow: var(--shadow);
        }

        .text-area:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 2px rgba(67, 97, 238, 0.2);
        }

        .text-actions {
            display: flex;
            gap: 10px;
            margin-top: 10px;
        }

        .btn {
            padding: 10px 16px;
            border-radius: var(--radius);
            border: none;
            background-color: var(--primary-color);
            color: white;
            font-weight: 500;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
        }

        .btn:hover {
            background-color: var(--primary-dark);
            transform: translateY(-1px);
        }

        .btn-secondary {
            background-color: var(--border-color);
            color: var(--text-color);
        }

        .btn-secondary:hover {
            background-color: #d1d5db;
        }

        .stats-section {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .stats-card {
            background-color: var(--card-color);
            border-radius: var(--radius);
            padding: 20px;
            box-shadow: var(--shadow);
            transition: var(--transition);
        }

        .stats-card:hover {
            box-shadow: var(--shadow-lg);
        }

        .stats-title {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
        }

        .stat-item {
            display: flex;
            flex-direction: column;
        }

        .stat-value {
            font-size: 24px;
            font-weight: 700;
            color: var(--primary-color);
        }

        .stat-label {
            font-size: 14px;
            color: var(--text-light);
        }

        .progress-container {
            margin-top: 10px;
        }

        .progress-bar {
            height: 6px;
            background-color: var(--border-color);
            border-radius: 3px;
            overflow: hidden;
        }

        .progress-fill {
            height: 100%;
            background-color: var(--primary-color);
            border-radius: 3px;
            transition: width 0.3s ease;
        }

        .keyword-analysis {
            margin-top: 20px;
        }

        .keyword-list {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 10px;
        }

        .keyword-item {
            background-color: var(--border-color);
            padding: 4px 10px;
            border-radius: 20px;
            font-size: 12px;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .keyword-count {
            font-weight: 600;
            color: var(--primary-color);
        }

        .social-limits {
            margin-top: 20px;
        }

        .limit-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 0;
            border-bottom: 1px solid var(--border-color);
        }

        .limit-item:last-child {
            border-bottom: none;
        }

        .limit-info {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .limit-icon {
            width: 24px;
            height: 24px;
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 12px;
        }

        .twitter-icon {
            background-color: #1DA1F2;
        }

        .facebook-icon {
            background-color: #1877F2;
        }

        .instagram-icon {
            background-color: #E4405F;
        }

        .linkedin-icon {
            background-color: #0A66C2;
        }

        .limit-progress {
            width: 100px;
            height: 6px;
            background-color: var(--border-color);
            border-radius: 3px;
            overflow: hidden;
        }

        .limit-fill {
            height: 100%;
            border-radius: 3px;
        }

        .limit-reached .limit-fill {
            background-color: var(--error-color);
        }

        .limit-warning .limit-fill {
            background-color: var(--warning-color);
        }

        .limit-ok .limit-fill {
            background-color: var(--success-color);
        }

        .limit-value {
            font-size: 12px;
            font-weight: 500;
            min-width: 40px;
            text-align: right;
        }

        .limit-reached .limit-value {
            color: var(--error-color);
        }

        .limit-warning .limit-value {
            color: var(--warning-color);
        }

        .limit-ok .limit-value {
            color: var(--success-color);
        }

        .export-options {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .export-btn {
            justify-content: center;
        }

        

        /* Animations */
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }

        .pulse {
            animation: pulse 1.5s infinite;
        }

        /* Tooltip */
        .tooltip {
            position: relative;
            display: inline-block;
        }

        .tooltip .tooltiptext {
            visibility: hidden;
            width: 200px;
            background-color: var(--text-color);
            color: var(--bg-color);
            text-align: center;
            border-radius: 6px;
            padding: 8px;
            position: absolute;
            z-index: 1;
            bottom: 125%;
            left: 50%;
            transform: translateX(-50%);
            opacity: 0;
            transition: opacity 0.3s;
            font-size: 13px;
            font-weight: normal;
        }

        .tooltip:hover .tooltiptext {
            visibility: visible;
            opacity: 1;
        }

        /* Responsive adjustments */
        @media (max-width: 480px) {
            h1 {
                font-size: 1.8rem;
            }
            
            .text-actions {
                flex-direction: column;
            }
            
            .btn {
                width: 100%;
                justify-content: center;
            }
            
            .stats-grid {
                grid-template-columns: 1fr;
            }
        }

        .header-2 {
            text-align: center;
            margin-bottom: 3rem;
        }
        h1 {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 0.5rem;
        }
        h2 {
            color: var(--secondary);
            margin-top: 2rem;
            font-size: 1.8rem;
        }
        .highlight {
            background: rgba(46, 204, 113, 0.1);
            padding: 0.2rem 0.4rem;
            border-radius: 4px;
        }
        .pros-cons {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
            margin: 2rem 0;
        }
        .card {
            background: #252526;
            border-radius: var(--border-radius);
            padding: 1.5rem;
            border-top: 3px solid var(--primary);
        }
        .cons .card {
            border-top-color: var(--error);
        }
        ul {
            padding-left: 1.2rem;
        }
        li {
            margin-bottom: 0.5rem;
        }
        .tips {
            background: rgba(52, 152, 219, 0.1);
            padding: 1.5rem;
            border-radius: var(--border-radius);
            margin: 2rem 0;
        }
        
        @media (max-width: 768px) {
            .pros-cons {
                grid-template-columns: 1fr;
            }
        }

/* ===== ARTICLE SPECIFIC STYLES - NO BODY STYLES ===== */
#textanalysis-guide-article {
      width: 95%;
      margin: 0 auto;
      padding: 2rem 1.5rem 3rem 1.5rem;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    }

    /* Hero Section */
    .textanalysis-guide-hero {
      text-align: center;
      margin-bottom: 2.5rem;
      padding: 2rem 1.5rem;
      background: linear-gradient(135deg, #4361ee 0%, #4cc9f0 100%);
      border-radius: 32px;
      box-shadow: 0 12px 30px rgba(67, 97, 238, 0.3);
    }

    .textanalysis-guide-hero h2 {
      font-size: 2.6rem;
      font-weight: 800;
      color: white;
      margin-bottom: 1rem;
      letter-spacing: -0.02em;
      font-family: 'Playfair Display', serif;
    }

    .textanalysis-guide-hero .textanalysis-hero-sub {
      font-size: 1.2rem;
      color: rgba(255, 255, 255, 0.9);
      max-width: 720px;
      margin: 0 auto;
      line-height: 1.5;
    }

    .textanalysis-guide-meta {
      display: flex;
      justify-content: center;
      gap: 2rem;
      color: rgba(255, 255, 255, 0.8);
      font-weight: 500;
      margin-top: 1.2rem;
      flex-wrap: wrap;
    }

    .textanalysis-guide-meta span i {
      margin-right: 0.5rem;
    }

    /* Main Content */
    .textanalysis-main-content {
      background: white;
      border-radius: 28px;
      padding: 2rem 2rem 2.5rem 2rem;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
      border: 1px solid rgba(67, 97, 238, 0.15);
    }

    .textanalysis-main-content h2 {
      font-size: 1.8rem;
      font-weight: 700;
      margin-top: 2rem;
      margin-bottom: 1rem;
      color: #4361ee;
      border-left: 5px solid #4cc9f0;
      padding-left: 1rem;
      font-family: 'Playfair Display', serif;
    }

    .textanalysis-main-content h2:first-of-type {
      margin-top: 0;
    }

    .textanalysis-main-content h3 {
      font-size: 1.35rem;
      font-weight: 600;
      margin: 1.5rem 0 0.75rem 0;
      color: #4cc9f0;
    }

    .textanalysis-main-content p {
      font-size: 1.05rem;
      color: #2d3748;
      margin-bottom: 1.2rem;
      line-height: 1.6;
    }

    .textanalysis-main-content ul, .textanalysis-main-content ol {
      margin: 1rem 0 1.2rem 1.8rem;
      color: #2d3748;
      line-height: 1.6;
    }

    .textanalysis-main-content li {
      margin-bottom: 0.5rem;
    }

    .textanalysis-highlight-box {
      background: linear-gradient(135deg, rgba(67, 97, 238, 0.08), rgba(76, 201, 240, 0.05));
      border-left: 6px solid #4cc9f0;
      padding: 1.25rem 1.5rem;
      border-radius: 20px;
      margin: 1.75rem 0;
    }

    .textanalysis-pro-tip {
      background: rgba(76, 201, 240, 0.1);
      border-radius: 20px;
      padding: 1.2rem 1.5rem;
      margin: 1.5rem 0;
      display: flex;
      gap: 1rem;
      align-items: flex-start;
      border: 1px solid rgba(67, 97, 238, 0.3);
    }

    .textanalysis-pro-tip i {
      font-size: 1.8rem;
      color: #4361ee;
    }

    .textanalysis-stats-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 1.2rem;
      margin: 2rem 0;
    }

    .textanalysis-stat-card {
      background: #f5f7fa;
      border-radius: 20px;
      padding: 1.2rem;
      text-align: center;
      transition: all 0.2s;
      border: 1px solid rgba(67, 97, 238, 0.2);
    }

    .textanalysis-stat-card .stat-number {
      font-size: 2rem;
      font-weight: 800;
      color: #4361ee;
      margin-bottom: 0.25rem;
    }

    .textanalysis-quote-block {
      background: #f5f7fa;
      padding: 1.5rem;
      border-radius: 24px;
      text-align: center;
      font-style: italic;
      margin: 1.5rem 0;
      border: 1px solid rgba(67, 97, 238, 0.2);
    }

    .textanalysis-quote-block i {
      font-size: 2rem;
      color: #4cc9f0;
      margin-bottom: 0.5rem;
      display: inline-block;
    }

    .textanalysis-table-wrapper {
      overflow-x: auto;
      margin: 1.5rem 0;
    }

    .textanalysis-limits-table {
      width: 100%;
      border-collapse: collapse;
      background: #f5f7fa;
      border-radius: 16px;
      overflow: hidden;
    }

    .textanalysis-limits-table th, .textanalysis-limits-table td {
      padding: 12px 16px;
      text-align: left;
      border-bottom: 1px solid rgba(67, 97, 238, 0.2);
    }

    .textanalysis-limits-table th {
      background: rgba(67, 97, 238, 0.1);
      font-weight: 600;
      color: #4361ee;
    }

    .textanalysis-limits-table tr:hover {
      background: rgba(76, 201, 240, 0.05);
    }

    .textanalysis-applications-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1.2rem;
      margin: 1.5rem 0;
    }

    .textanalysis-application-card {
      background: #f5f7fa;
      border-radius: 16px;
      padding: 1.2rem;
      border: 1px solid rgba(67, 97, 238, 0.2);
      transition: all 0.2s;
    }

    .textanalysis-application-card:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 20px rgba(67, 97, 238, 0.1);
    }

    .textanalysis-application-title {
      font-weight: 700;
      color: #4361ee;
      margin-bottom: 0.5rem;
      font-size: 1.1rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .textanalysis-footer-note {
      margin-top: 2.5rem;
      text-align: center;
      font-size: 0.85rem;
      color: #718096;
      border-top: 1px solid #e2e8f0;
      padding-top: 2rem;
    }

    @media (max-width: 768px) {
      .textanalysis-guide-hero h2 {
        font-size: 2rem;
      }
      .textanalysis-main-content {
        padding: 1.5rem;
      }
      #textanalysis-guide-article {
        padding: 1rem;
      }
    }